Method for determining timestamp, terminal device, access network node, core network device

By using the clock of the first access network node or cell as the reference clock when the terminal device is connected to multiple access network nodes or cells, the problem of data incoming and outgoing timestamp synchronization in 5GS is solved and the time synchronization accuracy is improved. It meets the low latency and high clock synchronization requirements of TSN services in 5G systems.

CN114303428BActive Publication Date: 2024-09-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980099923.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-20
Publication Date
2024-09-13
Estimated Expiration
2039-11-20

AI Technical Summary

Technical Problem

In 5GS-supported time-sensitive networks (TSN), when terminal devices are connected to multiple base stations at the same time, how to set the reference clock for data incoming timestamps and data outgoing timestamps is a challenge, especially in asynchronous networks that cannot be effectively synchronized.

Method used

By using the clock of the first access network node or the first cell as the reference clock when the terminal device is connected to multiple access network nodes or cells, it is used to set the data in time stamp and data out time stamp, thus solving the synchronization error. problem.

Benefits of technology

It realizes the effective setting of timestamps in asynchronous networks, meets the requirements for time synchronization accuracy, and ensures low latency and high clock synchronization accuracy of TSN services in the 5G system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114303428B
    Figure CN114303428B
Patent Text Reader

Abstract

The present invention discloses a method for determining a timestamp, a terminal device, an access network node, a core network device, a chip, a computer-readable storage medium, a computer program product and a computer program. The method comprises: the terminal device adopts the clock of a first access network node or a first cell as a reference clock; the terminal device is connected to at least two access network nodes or at least two cells at the same time; the terminal device sets a data input timestamp and a data output timestamp based on the reference clock.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for determining a timestamp, a terminal device, an access network node, a core network device, a chip, a computer-readable storage medium, a computer program product, and a computer program. Background Art

[0002] In communication systems, TA (timing advance) is usually used to compensate for propagation delay. Terminal devices have different ways of obtaining TA in idle and connected states. In the use of 5GS to support time-sensitive networks (TSN), the TSN clock needs to be synchronized. The current synchronization mechanism requires that a reference clock be used in 5GS to set the data input timestamp and data output timestamp. In some scenarios, the terminal may be connected to different base stations at the same time, but how to set the reference clock for the data input timestamp and data output timestamp in this scenario is a problem that needs to be solved. Summary of the invention

[0003] To solve the above technical problems, embodiments of the present invention provide a method for determining a timestamp, a terminal device, an access network node, a core network device, a chip, a computer-readable storage medium, a computer program product, and a computer program.

[0004] In a first aspect, a method for determining a timestamp is provided, comprising:

[0005] The terminal device uses a clock of a first access network node or a first cell as a reference clock, and the terminal device is simultaneously connected to at least two access network nodes or simultaneously connected to at least two cells;

[0006] The terminal device sets a data input timestamp and a data output timestamp based on the reference clock.

[0007] In a second aspect, a method for determining a timestamp is provided, comprising:

[0008] When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the main access network node determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; the reference clock is used to set the data input timestamp and the data output timestamp.

[0009] In a third aspect, a method for determining a timestamp is provided, comprising:

[0010] When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the core network device determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; the reference clock is used to set the data input timestamp and the data output timestamp.

[0011] In a fourth aspect, a terminal device is provided, wherein the terminal device is connected to at least two access network nodes at the same time or is connected to at least two cells at the same time, and the terminal device includes:

[0012] The first processing unit adopts the clock of the first access network node or the first cell as a reference clock; and sets a data input timestamp and a data output timestamp based on the reference clock.

[0013] In a fifth aspect, an access network node is provided, including:

[0014] The second processing unit determines that the terminal device uses the clock of the first access network node or the first cell as a reference clock when the terminal device is connected to at least two access network nodes or at least two cells at the same time; the reference clock is used to set the data input timestamp and the data output timestamp.

[0015] In a sixth aspect, a core network device is provided, including:

[0016] The third processing unit determines that, when the terminal device is connected to at least two access network nodes or at least two cells at the same time, the terminal device uses the clock of the first access network node or the first cell as a reference clock; the reference clock is used to set the data input timestamp and the data output timestamp.

[0017] In a seventh aspect, a terminal device is provided, comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0018] The memory is used to store computer programs, and the processor is used to call and run the computer program stored in the memory to execute the steps of the aforementioned method.

[0019] In an eighth aspect, an access network node is provided, comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0020] The memory is used to store computer programs, and the processor is used to call and run the computer program stored in the memory to execute the steps of the aforementioned method.

[0021] In a ninth aspect, a core network device is provided, comprising: a processor and a memory for storing a computer program that can be run on the processor,

[0022] The memory is used to store computer programs, and the processor is used to call and run the computer program stored in the memory to execute the steps of the aforementioned method.

[0023] In a tenth aspect, a chip is provided, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the method described above.

[0024] In an eleventh aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program enables a computer to execute the steps of the method as described above.

[0025] In a twelfth aspect, a computer program product is provided, comprising computer program instructions, which enable a computer to execute the method as described above.

[0026] In a thirteenth aspect, a computer program is provided, wherein the computer program enables a computer to execute the method as described above.

[0027] By adopting the above solution, when the terminal device is connected to multiple access network nodes or multiple cells, it can be determined that the reference clock is set by the clock of the first access network node or the first cell, and then the data input timestamp and the data output timestamp are determined based on the reference clock. This solves the problem that the prior art cannot provide a timestamp setting in an asynchronous network. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1-1 FIG1 is a schematic diagram of a communication system architecture provided by an embodiment of the present invention;

[0029] Figure 1-2 A schematic diagram of a network architecture provided by an embodiment of the present invention;

[0030] Figure 1-3 A schematic diagram of a synchronization error generation scenario provided by an embodiment of the present invention;

[0031] Figure 1-4 A schematic diagram of a synchronization process provided by an embodiment of the present invention;

[0032] Figure 2 A flowchart of a method for determining a timestamp provided by an embodiment of the present invention is shown in FIG1 ;

[0033] Figure 3 A method for determining a timestamp according to an embodiment of the present invention is provided. Figure 2 ;

[0034] Figure 4A method for determining a timestamp according to an embodiment of the present invention is provided. Figure 3 ;

[0035] Figure 5 A schematic diagram of the structure of a terminal device provided in an embodiment of the present invention;

[0036] Figure 6 A schematic diagram of the structure of the access network node provided in an embodiment of the present invention;

[0037] Figure 7 A schematic diagram of the structure of the core network device provided in an embodiment of the present invention;

[0038] Figure 8 A schematic diagram of the structure of a communication device provided in an embodiment of the present invention;

[0039] Fig. 9 is a schematic block diagram of a chip provided in an embodiment of the present application;

[0040] Fig.10 This is a schematic diagram of a communication system architecture provided by an embodiment of the present application. Figure 2 . DETAILED DESCRIPTION

[0041] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present invention, the implementation of the embodiments of the present invention is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not intended to limit the embodiments of the present invention.

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

[0043] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system or 5G system, etc.

[0044] For example, the communication system 100 used in the embodiment of the present application can be as follows: Figure 1-1 As shown. The communication system 100 may include a network device 110, which may be a device that communicates with UE120 (or referred to as a communication terminal or terminal). The network device 110 may provide communication coverage for a specific geographical area, and may communicate with a UE located in the coverage area. Optionally, the network device 110 may be a network device (Base TransceiverStation, BTS) in a GSM system or a CDMA system, or a network device (NodeB, NB) in a WCDMA system, or an evolved network device (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device may be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN), etc.

[0045] The communication system 100 also includes at least one UE 120 located within the coverage of the network device 110. As used herein, "UE" includes but is not limited to connecting via a wired line, such as via a Public Switched Telephone Networks (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or via a wireless interface, such as, for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or a device of another UE configured to receive / send communication signals; and / or an Internet of Things (IoT) device. A UE configured to communicate via a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal".

[0046] Optionally, UE120 may perform device-to-device (D2D) communication between the UEs.

[0047] 5G IIoT requires support for the transmission of services such as factory automation, transport automation, and smart electrical power distribution in 5G systems. Based on its transmission requirements for latency and reliability, IIoT introduces the concept of time-sensitive networking (TSN) or TSC. In the TSN network, the 5C network will serve as a TSN bridge (such as Figure 1-2 ) to provide services for TSN networks and services. To this end, the NR system needs to provide lower latency guarantees and higher clock synchronization accuracy. So that when industrial automation services are transmitted in 5G networks, the operation and connection of each point of mechanical operation are accurate and meet the time requirements.

[0048] Based on the requirements of TSN service transmission, TSN services need to meet the time synchronization accuracy requirement of 1us when transmitted in 5G. Whether the time accuracy of 1us can be achieved is as follows Figure 1-3 As shown, from the air interface point of view, the time synchronization accuracy (accuracy) notified by the network is related to the time synchronization accuracy error (delta) on the UE side. The synchronization error on the UE side is determined by RAN1, and its error is related to many factors, such as propagation loss, equipment limitation, etc.

[0049] The time synchronization information and time synchronization accuracy information notified by the network are included in the TimeReferenceInfo IE.

[0050] In some scenarios, propagation delay compensation is required to ensure that the time synchronization accuracy error of the physical layer is within the required range, ultimately ensuring that the TSN service meets the 1us time synchronization accuracy requirement when transmitted within 5G.

[0051] It is necessary to consider the method of implementing transmission delay compensation in scenarios where the distance is greater than 200m. For example, TA can be used to compensate for propagation delay.

[0052] In the communication system, TA is usually used to compensate for the propagation delay. The UE has different ways to obtain TA in the idle state and the connected state. When the UE is in the idle state or inactive state, the time synchronization with the network side is not maintained. Therefore, the UE needs to obtain TA (timing advance) and perform synchronization calibration through the RA process during the initial access process. In the connected state, the UE obtains TA (timing advance) according to the TAC (TA command) sent by the network to perform synchronization calibration. The existing conditions for triggering the RA process are as follows: initial access from the RRC idle state; RRC connection re-establishment process; switching; when in the RRC connected state, the uplink synchronization state is "asynchronous", and uplink or downlink data is transmitted; transmission in the RRC inactive state; To establish time alignment at SCell addition in the secondary cell; request other SI; beam failure recovery.

[0053] Based on the TAC or RA process, the uplink frame transmission advance is (N TA +N TA offset )×T c NTA is related to the TA command indicated in the TAC or RAR. The TA command gives the index for adjusting the timing advance. For the scenario where the TA command is carried in the RAR, N TA =T A ·16·64 / 2 μ , where T A =TA command, its value is: 0, 1, 2, ..., 3846. For the scenario where the TA command is indicated by the dedicated TAC MAC CE, N TA_new =N TA_old +(T A -31)·16·64 / 2 μ, where T A =TA command, its value is: 0, 1, 2, ..., 63. In addition, TC is the minimum time unit of the physical layer, T c =1 / (Δf max ·N f )where Δf max =480·10 3 Hz and N f =4096. The value of NTA offset is shown in Table 1 below.

[0054] Table 1

[0055]

[0056] RAN4 has set requirements for the accuracy of TA adjustment. The minimum requirements are shown in Table 2 below.

[0057] Table 2

[0058]

[0059] In the process of using 5GS to support TSN network, it is necessary to synchronize the TSN clock. The specific synchronization method can be as follows: Figure 1-4 As shown:

[0060] In the figure, when the synchronization messages "SYNC" and "SYNC_Follow_Up" from the downlink arrive at 5GS Ingress, which is usually the TT functional entity of UPF, 5GS Ingress will add the timestamp Ti with the 5GS system clock as the reference clock to the two messages, and then send this message to 5GS Egress, which usually refers to the TT functional entity of the terminal. After 5GS Egress receives this message, it will mark the arrival time Te with the 5GS clock as the reference clock. The synchronization mechanism of the related technology requires that 5GS ingress5GS (5G input end) and 5GS egress (5G output end) have the same reference clock in the 5GS clock to set Ti (data input timestamp) and Te (data output timestamp).

[0061] It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0062] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present invention, the implementation of the embodiments of the present invention is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not intended to limit the embodiments of the present invention.

[0063] The embodiment of the present invention provides a synchronization method, such as Figure 2 As shown, including:

[0064] Step 21: The terminal device uses the clock of the first access network node or the first cell as a reference clock, and the terminal device is simultaneously connected to at least two access network nodes or simultaneously connected to at least two cells.

[0065] Step 22: The terminal device sets a data input timestamp and a data output timestamp based on the reference clock.

[0066] The embodiment of the present invention also provides a synchronization method, such as Figure 3 As shown, including:

[0067] Step 31: When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the main access network node determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; the reference clock is used to set the data input timestamp and the data output timestamp.

[0068] The embodiment of the present invention also provides a synchronization method, such as Figure 4 As shown, including:

[0069] Step 41: When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the core network device determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; the reference clock is used to set the data input timestamp and the data output timestamp.

[0070] In some scenarios, such as NSA (5G non-standalone networking), the terminal may be connected to different base stations at the same time, and the clocks of the two base stations may be out of sync. Therefore, it is currently unclear which reference clock should be used when setting Ti and Te. This embodiment solves the above problem by determining the method of using the clock of the first access network node or the clock of the first cell as the reference clock to determine Ti and Te.

[0071] When 5GS ingress (5G input end) and 5GS egress (5G output end) set the data input timestamp Ti and the data output timestamp Te based on the 5G internal clock, the following reference settings Ti (data input timestamp) and Te (data output timestamp) are adopted.

[0072] Among them, Ti (data input timestamp) and Te (data output timestamp), these two timestamps are synchronized with the reference clock and use the same clock.

[0073] Ti (data input timestamp) indicates the time point when the data arrives at the input end, and Te (data output timestamp) indicates the time point when the data arrives at the output end.

[0074] In the solution provided in this embodiment, 5GS ingress can be UPF / NW-TT (Network-side TSN translator) or UE / DS-TT. 5GS egress can be UE / DS-TT or UPF / NW-TT. The following takes 5GS ingress as UPF / NW-TT and 5GS egress as UE / DS-TT as an example. Of course, the opposite is also possible, but this embodiment will not be exhaustive.

[0075] The first access network node is one of the following:

[0076] Primary access network node, secondary access network node, designated access network node;

[0077] The first cell is one of the following:

[0078] The main cell of the primary access network, the main cell of the auxiliary access network, and the designated cell.

[0079] The at least two access network nodes include the first access network node;

[0080] or,

[0081] The at least two cells include the first cell.

[0082] In combination with the above description, this embodiment is mainly used when the terminal device is connected to two or more cells or multiple base stations at the same time, or resides in two or more cells or base stations at the same time. In this case, the terminal device and the core network device (for example, UPF) that start the time sensitive network (TSN) clock synchronization are processed according to one of the following multiple examples:

[0083] Example 1:

[0084] The first access network node may be a primary access network node or a secondary access network node. Specifically:

[0085] Specifically, the terminal device and the network side both use the clock of the main access network node as the reference clock setting; correspondingly, the network side, such as the core network device or the first access network device, uses the clock of the main access network node as the reference clock. Then the terminal device and the network side both determine the corresponding Ti and Te according to the reference clock.

[0086] Alternatively, the terminal device uses the clock of the auxiliary access network node as the reference clock setting; accordingly, the network side, such as the core network device or the first access network device, uses the clock of the auxiliary access network node as the reference clock. Then the terminal device and the network side determine the corresponding Ti and Te according to the reference clock.

[0087] In this example, the first access network node is a primary access network node or a secondary access network node, which can be determined by both the terminal device and the network side based on the protocol; it can also be indicated by the primary access network node; or it can be indicated by the core network device.

[0088] For example, the pre-agreement determines that the clock of the primary access network node or the secondary access network node is used as the reference clock, so the terminal device and the network side (such as the core network) both use the clock of the primary access network node or the secondary access network node as the reference clock by default.

[0089] Alternatively, if the terminal device itself determines to use the clock of the primary access network node (or the secondary access network node) as the reference clock, then the core network device may be notified through the fifth indication information.

[0090] Alternatively, if the primary access network node determines to use the clock of the primary access network node (or the secondary access network node) as the reference clock, the primary access network can send indication information to the terminal device to notify the use of the clock of the primary access network node (or the secondary access network node) as the reference clock; and the primary access network node can also send the same indication information to the core network device. In this way, the network side and the terminal device can determine the same reference clock.

[0091] Alternatively, if the core network device determines to use the clock of the primary access network node (or the secondary access network node) as the reference clock, the core network device can send an indication message to the terminal device to notify the terminal device to use the clock of the primary access network node (or the secondary access network node) as the reference clock. In this way, the network side and the terminal device can determine the same reference clock.

[0092] Example 2: The first access network node is a designated access network node; or the first cell is a designated cell.

[0093] In this example, the first access network node may be a designated primary access network node, or a designated secondary access network node, or may be a designated other node other than the primary access network node and the secondary access network node. Among them, the other node may be other access network nodes other than the primary access network node and the secondary access network node among the multiple access network nodes currently connected to the terminal device.

[0094] The first cell may be a primary cell of a designated primary access network node, or a primary cell of a designated secondary access network node, or may be a cell of another access network other than the designated primary access network node and the secondary access network node. Among them, the cell of another access network may be a cell of another access network other than the cells of the primary access network and the secondary access network among the multiple cells currently connected by the terminal device.

[0095] That is, the clock of a designated access network node or a designated cell can be set as a reference clock. The terminal equipment and the core network equipment (such as UPF) both set Ti and Te according to the clock of the designated access network node or cell as the reference clock.

[0096] In this example, the following processing is performed:

[0097] Mode 1: The terminal device receives first indication information sent by the primary access network node; wherein the first indication information is used to indicate the first access network node or the first cell. Accordingly, the primary access network node sends the first indication information to the terminal device.

[0098] The first indication information is carried by an RRC message.

[0099] That is, the master access network node determines which access network or cell's clock is used as the reference clock, and notifies the terminal device through the first indication information, for example, through an RRC message. The terminal device can determine which access network node or cell's clock is used as the reference clock by receiving the first indication information.

[0100] In addition, the primary access network node sends third indication information to the core network device;

[0101] The third indication information is used to indicate the first access network node or the first cell to the core network device.

[0102] That is to say, the primary access network node will also send indication information to the core network device. Correspondingly, the core network device will determine which access network node or cell's clock the terminal device will use as the reference clock based on the third indication information sent by the primary access network node, and then determine the data input and data output timestamps corresponding to the terminal device.

[0103] Among them, the core network device is one of the following: access and mobility management function AMF, session management function SMF, and user plane function UPF.

[0104] Preferably, the third indication information ultimately needs to be sent to the UPF side of the core network.

[0105] For example, the primary access network node instructs the SMF of the core network, and then the SMF instructs the UPF;

[0106] Alternatively, the main access network node instructs the AMF of the core network, and then the AMF instructs the SMF and then the UPF.

[0107] Method 2:

[0108] The terminal device receives second indication information sent by the core network device; wherein the second indication information is used to indicate that the clock of the first access network node is used as the reference clock, or to use the clock of the first cell as the reference clock.

[0109] Correspondingly, the core network device sends second indication information to the terminal device; wherein the second indication information is used to indicate the first access network node, or the first cell.

[0110] That is, the core network determines which access network or cell's clock is the reference clock and indicates it to the terminal, for example, through a NAS message. Correspondingly, the core network device determines the reference clock corresponding to the terminal device, and then determines the data input and data output timestamps corresponding to the terminal device.

[0111] The second indication information is carried by a NAS message.

[0112] In this example, the core network device can be AMF, SMF or UPF.

[0113] Furthermore, when the core network device is AMF or SMF, the core network device will send a fourth indication message to UPF to indicate that the clock of the first access network node of the terminal device is used as the reference clock, or the clock of the first cell is used as the reference clock.

[0114] It should also be noted that in this example, a designated access network node or a designated cell is used as the first access network node or the first cell. The designated access network node is one of at least two access network nodes to which the terminal device is connected; and the designated cell is also one of at least two cells to which the terminal device is connected.

[0115] In other words, the designated access network node may be a primary access network node or a secondary access network node, or may be an access network node other than the primary access network node and the secondary access network node among the multiple access network nodes to which the terminal device is currently connected. The designated cell may be a primary cell of a primary access network or a primary cell of a secondary access network, or may be another cell other than the primary cell of the primary access network and the secondary access network among the multiple cells to which the terminal device is currently connected.

[0116] Example 3:

[0117] The first cell may be a primary cell of a primary access network, or the first cell may be a primary cell of a secondary access network.

[0118] That is, the clock of the primary cell of the primary / secondary access network node is used as the reference clock, and both the UE and the UPF use the reference clock of the primary cell of the primary / secondary access network node as the reference clock; and then determine Ti and Te.

[0119] In this example, the determination of which primary cell to use as the first cell may be determined by a pre-agreement, may be indicated by a primary access network node, or may be indicated by a core network device.

[0120] For example, if the pre-agreement determines that the clock of the main cell of the primary access network is used as the reference clock, then the terminal device and the network side (such as the core network) will use the clock of the main cell of the primary access network as the reference clock by default; or, if the pre-agreement determines that the clock of the main cell of the secondary access network is used as the reference clock, then the terminal device and the network side (such as the core network) will use the clock of the main cell of the secondary access network as the reference clock by default.

[0121] Alternatively, if the terminal device itself determines to use the clock of the primary cell of the primary access network as the reference clock, then the core network device may be notified through the fifth indication information.

[0122] Alternatively, if the primary access network node determines to use the clock of the primary cell of the primary access network (or the primary cell of a secondary small access network) as the reference clock, the primary access network can send indication information to the terminal device to notify the use of the clock of the primary cell of the primary access network (or the primary cell of a secondary small access network) as the reference clock; and the primary access network node can also send indication information to the core network device. In this way, the network side and the terminal device can determine the same reference clock.

[0123] Alternatively, if the core network device determines to use the clock of the primary cell of the primary access network (or the primary cell of a secondary small access network) as the reference clock, the core network device can send an indication message to the terminal device to notify the terminal device to use the clock of the primary cell of the primary access network (or the primary cell of a secondary small access network) as the reference clock. In this way, the network side and the terminal device can determine the same reference clock.

[0124] It can be seen that by adopting the above solution, when the terminal device is connected to multiple access network nodes or multiple cells, it can be determined that the reference clock is set by using the clock of the first access network node or the first cell, and then the data input timestamp and the data output timestamp are determined based on the reference clock. This solves the problem that the prior art cannot provide a timestamp setting in an asynchronous network.

[0125] An embodiment of the present invention provides a terminal device, wherein the terminal device is connected to at least two access network nodes or is connected to at least two cells at the same time; Figure 5 As shown, the terminal device includes:

[0126] The first processing unit 51 adopts the clock of the first access network node or the first cell as a reference clock; and sets a data input timestamp and a data output timestamp based on the reference clock.

[0127] The embodiment of the present invention also provides a primary access network node, such as Figure 6 As shown, including:

[0128] The second processing unit 61 determines that the terminal device uses the clock of the first access network node or the first cell as a reference clock when the terminal device is connected to at least two access network nodes or at least two cells at the same time; the reference clock is used to set the data input timestamp and the data output timestamp.

[0129] The embodiment of the present invention also provides a core network device, such as Figure 7 As shown, including:

[0130] The third processing unit 71 determines that the terminal device uses the clock of the first access network node or the first cell as a reference clock when the terminal device is connected to at least two access network nodes or at least two cells at the same time; the reference clock is used to set the data input timestamp and the data output timestamp.

[0131] The first access network node is one of the following:

[0132] Primary access network node, secondary access network node, designated access network node;

[0133] The first cell is one of the following:

[0134] The main cell of the primary access network, the main cell of the auxiliary access network, and the designated cell.

[0135] The primary access network node, the secondary access network node and the designated access network node are included in the at least two access network nodes;

[0136] The cell of the primary access network, the cell of the secondary access network and the designated cell are included in the at least two cells.

[0137] In combination with the above description, the solution provided by this embodiment is described below using multiple examples:

[0138] Example 1:

[0139] The first access network node may be a primary access network node or a secondary access network node. Specifically:

[0140] When the UE is connected to two or more cells or base stations at the same time, or when the UE resides in two or more cells or base stations at the same time, the UE and UPF that start TSN clock synchronization set Ti and Te in one of the following ways.

[0141] Specifically, the terminal device and the network side both use the clock of the main access network node as the reference clock setting; correspondingly, the network side, such as the core network device or the first access network device, uses the clock of the main access network node as the reference clock. Then the terminal device and the network side both determine the corresponding Ti and Te according to the reference clock.

[0142] Alternatively, the terminal device uses the clock of the auxiliary access network node as the reference clock setting; accordingly, the network side, such as the core network device or the first access network device, uses the clock of the auxiliary access network node as the reference clock. Then the terminal device and the network side determine the corresponding Ti and Te according to the reference clock.

[0143] In this example, the first access network node is a primary access network node or a secondary access network node, which can be determined by both the terminal device and the network side based on the protocol; it can also be indicated by the primary access network node; or it can be indicated by the core network device.

[0144] Example 2: The first access network node is a designated access network node; or the first cell is a designated cell.

[0145] That is, the clock of a designated access network node or a designated cell can be set as a reference clock. The terminal equipment and the core network equipment (such as UPF) both set Ti and Te according to the clock of the designated access network node or cell as the reference clock.

[0146] In this example, the designated access network node or designated cell clock is determined in the following manner:

[0147] Mode 1: The terminal device further includes: a first communication unit 52, which receives first indication information sent by a primary access network node; wherein the first indication information is used to indicate the first access network node, or the first cell. Correspondingly, the primary access network node further includes: a second communication unit 62, which sends the first indication information to the terminal device.

[0148] The first indication information is carried by an RRC message.

[0149] In addition, the second communication unit 62 of the primary access network node sends third indication information to the core network device; wherein the third indication information is used to indicate the first access network node or the first cell to the core network device. Accordingly, the core network device also includes: a third communication unit 72, which receives the third indication information sent by the primary access network node.

[0150] Method 2:

[0151] The first communication unit 52 of the terminal device receives second indication information sent by the core network device; wherein the second indication information is used to indicate the first access network node, or the first cell.

[0152] Correspondingly, the third communication unit 72 of the core network device sends a second indication message to the terminal device; wherein the second indication message is used to indicate that the clock of the first access network node is used as the reference clock, or to use the clock of the first cell as the reference clock.

[0153] The second indication information is carried by a NAS message.

[0154] In this example, the core network device can be AMF, SMF or UPF.

[0155] Example 3:

[0156] The first cell may be a primary cell of a primary access network, or the first cell may be a primary cell of a secondary access network.

[0157] That is, the clock of the primary cell of the primary / secondary access network node is used as the reference clock, and both the UE and the UPF use the reference clock of the primary cell of the primary / secondary access network node as the reference clock; and then determine Ti and Te.

[0158] It can be seen that by adopting the above solution, when the terminal device is connected to multiple access network nodes or multiple cells, it can be determined that the reference clock is set by using the clock of the first access network node or the first cell, and then the data input timestamp and the data output timestamp are determined based on the reference clock. This solves the problem that the prior art cannot provide a timestamp setting in an asynchronous network.

[0159] Figure 8 It is a schematic structural diagram of a communication device 900 provided in an embodiment of the present invention. The communication device in this embodiment may specifically be one of the terminal device, access network node, and core network device in the aforementioned embodiments. Figure 8 The communication device 900 shown includes a processor 910. The processor 910 can call and run a computer program from a memory to implement the method in the embodiment of the present invention.

[0160] Optionally, Figure 8 As shown, the communication device 900 may further include a memory 920. The processor 910 may call and run a computer program from the memory 920 to implement the method in the embodiment of the present invention.

[0161] The memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .

[0162] Alternatively, if Figure 8 As shown, the communication device 900 may further include a transceiver 930, and the processor 910 may control the transceiver 930 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.

[0163] The transceiver 930 may include a transmitter and a receiver. The transceiver 930 may further include an antenna, and the number of antennas may be one or more.

[0164] Optionally, the communication device 900 may specifically be a network device according to an embodiment of the present invention, and the communication device 900 may implement corresponding processes implemented by the network device in various methods according to the embodiment of the present invention, which will not be described in detail for the sake of brevity.

[0165] Optionally, the communication device 900 may specifically be a terminal device or a network device of an embodiment of the present invention, and the communication device 900 may implement the corresponding processes implemented by the mobile terminal / terminal device in each method of the embodiment of the present invention, which will not be described in detail here for the sake of brevity.

[0166] Fig. 9 is a schematic structural diagram of a chip according to an embodiment of the present invention. Fig. 9The chip 1000 shown includes a processor 1010, which can call and run a computer program from a memory to implement the method in the embodiment of the present invention.

[0167] Alternatively, if Fig. 9 As shown, the chip 1000 may further include a memory 1020. The processor 1010 may call and run a computer program from the memory 1020 to implement the method in the embodiment of the present invention.

[0168] The memory 1020 may be a separate device independent of the processor 1010 , or may be integrated into the processor 1010 .

[0169] Optionally, the chip 1000 may further include an input interface 1030. The processor 1010 may control the input interface 1030 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0170] Optionally, the chip 1000 may further include an output interface 1040. The processor 1010 may control the output interface 1040 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0171] Optionally, the chip can be applied to one of the terminal devices, access network nodes, and core network devices in the embodiments of the present invention, and the chip can implement the corresponding processes implemented by the terminal device in the various methods of the embodiments of the present invention. For the sake of brevity, they will not be repeated here.

[0172] It should be understood that the chip mentioned in the embodiment of the present invention can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0173] It should be understood that the processor of the embodiment of the present invention may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit in the processor or the instruction in the form of software. The above processor can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined to perform. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0174] It can be understood that the memory in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can 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 can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (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 RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0175] It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiment of the present invention may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiment of the present invention is intended to include but not limited to these and any other suitable types of memory.

[0176] Fig.101 is a schematic block diagram of a communication system 1100 provided in an embodiment of the present application. Fig.10 As shown, the communication system 1100 includes a terminal device 1110 and a network device 1120 .

[0177] The terminal device 1110 can be used to implement the corresponding functions implemented by the UE in the above method, and the network device 1120 can be used to implement the corresponding functions implemented by the network device in the above method. For the sake of brevity, they are not described here. The network device can be one of the aforementioned access network nodes and core network devices.

[0178] An embodiment of the present invention further provides a computer-readable storage medium for storing a computer program.

[0179] Optionally, the computer-readable storage medium can be applied to the network device or terminal device in the embodiments of the present invention, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present invention. For the sake of brevity, they are not repeated here.

[0180] An embodiment of the present invention further provides a computer program product, including computer program instructions.

[0181] Optionally, the computer program product can be applied to the network device or terminal device in the embodiments of the present invention, and the computer program instructions enable the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present invention. For the sake of brevity, they are not repeated here.

[0182] An embodiment of the present invention also provides a computer program.

[0183] Optionally, the computer program may be applied to a network device or a terminal device in an embodiment of the present invention. When the computer program runs on a computer, the computer executes the corresponding processes implemented by the network device in each method of the embodiment of the present invention. For the sake of brevity, they are not described here.

[0184] Those skilled 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 the present invention.

[0185] 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.

[0186] In the several embodiments provided by the present invention, 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.

[0187] 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.

[0188] In addition, each functional unit in each embodiment of the present invention 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.

[0189] 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 invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling 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 each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0190] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for determining a timestamp, comprising: The terminal device uses a clock of a first access network node or a first cell as a reference clock; wherein the terminal device is connected to at least two access network nodes or at least two cells at the same time; the first access network node is one of the following: a primary access network node, a secondary access network node, a designated access network node; or the first cell is one of the following: a primary cell of a primary access network, a primary cell of a secondary access network, a designated cell; The terminal device sets a data input timestamp and a data output timestamp based on the reference clock; The terminal device receives first indication information sent by the primary access network node; wherein the first indication information is used to indicate the first access network node, or the first cell.

2. The method according to claim 1, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

3. The method according to claim 1, wherein: The first indication information is carried by a radio resource control RRC message.

4. The method according to claim 1, wherein: The method further comprises: The terminal device receives second indication information sent by the core network device; The second indication information is used to indicate the first access network node or the first cell.

5. The method according to claim 4, wherein: The core network device is one of the following: access and mobility management function AMF, session management function SMF, and user plane function UPF.

6. The method according to claim 4, wherein: The second indication information is carried by a non-access stratum NAS message.

7. A method for determining a timestamp, comprising: When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the main access network node determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; wherein the first access network node is one of the following: a main access network node, an auxiliary access network node, and a designated access network node; or, the first cell is one of the following: a main cell of the main access network node, a main cell of the auxiliary access network node, and a designated cell; the reference clock is used to set the data input timestamp and the data output timestamp; The main access network node sends first indication information to the terminal device; wherein the first indication information is used to indicate the first access network node, or the first cell.

8. The method according to claim 7, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

9. The method according to claim 7, wherein: The method further comprises: The primary access network node sends third indication information to the core network device; The third indication information is used to indicate the first access network node or the first cell to the core network device.

10. A method for determining a timestamp, comprising: When the terminal device is connected to at least two access network nodes or at least two cells at the same time, the core network device determines that the terminal device uses the clock of the first access network node or the first cell as the reference clock; wherein the first access network node is one of the following: a primary access network node, an auxiliary access network node, a designated access network node; or, the first cell is one of the following: a primary cell of a primary access network node, a primary cell of an auxiliary access network node, a designated cell; the primary access network node is used to send first indication information to the terminal device; wherein the first indication information is used to indicate the first access network node, or the first cell; the reference clock is used to set data input timestamp and data output timestamp.

11. The method according to claim 10, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

12. The method according to claim 10, wherein: The method further comprises: The core network device sends second indication information to the terminal device; The second indication information is used to indicate the first access network node or the first cell.

13. The method according to claim 12, wherein: The second indication information is carried by a NAS message.

14. A terminal device, the terminal device is connected to at least two access network nodes or at least two cells at the same time, the terminal device comprising: A first processing unit adopts a clock of a first access network node or a first cell as a reference clock; and, based on the reference clock, setting a data input timestamp and a data output timestamp; wherein the first access network node is one of the following: a primary access network node, a secondary access network node, and a designated access network node; or, the first cell is one of the following: a primary cell of a primary access network, a primary cell of a secondary access network, and a designated cell; The first communication unit receives first indication information sent by the primary access network node; wherein the first indication information is used to indicate the first access network node, or the first cell.

15. The terminal device according to claim 14, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

16. The terminal device according to claim 14, wherein: The first indication information is carried by a radio resource control RRC message.

17. The terminal device according to claim 14, wherein: The terminal device further includes: The first communication unit receives second indication information sent by the core network device; The second indication information is used to indicate the first access network node or the first cell.

18. The terminal device according to claim 17, wherein: The core network device is one of the following: access and mobility management function AMF, session management function SMF, and user plane function UPF.

19. The terminal device according to claim 17, wherein: The second indication information is carried by a non-access stratum NAS message.

20. An access network node, comprising: A second processing unit, when the terminal device is connected to at least two access network nodes at the same time or is connected to at least two cells at the same time, determines that the terminal device uses a clock of a first access network node or a first cell as a reference clock; wherein the first access network node is one of the following: a primary access network node, an auxiliary access network node, and a designated access network node; or, the first cell is one of the following: a primary cell of a primary access network node, a primary cell of an auxiliary access network node, and a designated cell; the reference clock is used to set a data input timestamp and a data output timestamp; The second communication unit sends first indication information to the terminal device; wherein the first indication information is used to indicate the first access network node, or the first cell.

21. The access network node according to claim 20, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

22. The access network node according to claim 20, wherein: The access network node also includes: The second communication unit sends third indication information to the core network device; The third indication information is used to indicate the first access network node or the first cell to the core network device.

23. A core network device, comprising: The third processing unit determines that the terminal device uses the clock of the first access network node or the first cell as a reference clock when the terminal device is connected to at least two access network nodes or at least two cells at the same time; wherein the first access network node is one of the following: a primary access network node, an auxiliary access network node, a designated access network node; or, the first cell is one of the following: a primary cell of a primary access network node, a primary cell of an auxiliary access network node, a designated cell; the primary access network node is used to send first indication information to the terminal device; wherein the first indication information is used to indicate the first access network node, or the first cell; the reference clock is used to set a data input timestamp and a data output timestamp.

24. The core network device according to claim 23, wherein: The at least two access network nodes include the first access network node; or, The at least two cells include the first cell.

25. The core network device according to claim 23, wherein: The core network device also includes: A third communication unit sends second indication information to the terminal device; The second indication information is used to indicate the first access network node or the first cell.

26. The core network device according to claim 25, wherein: The second indication information is carried by a NAS message.

27. A terminal device, comprising: a processor and a memory for storing a computer program capable of being executed on the processor, The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 6.

28. An access network node, comprising: a processor and a memory for storing a computer program capable of being executed on the processor, The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the steps of the method as described in any one of claims 7 to 9.

29. A core network device, comprising: a processor and a memory for storing a computer program capable of being executed on the processor, The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method as described in any one of claims 10-13.

30. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 13.

31. A computer-readable storage medium, the computer-readable storage medium being used to store a computer program, the computer program causing a computer to execute the steps of the method according to any one of claims 1 to 13.

32. A computer program product comprising computer program instructions, the computer program instructions causing a computer to execute the method according to any one of claims 1 to 13.