Time synchronization method, device, computer readable medium and electronic device

By utilizing the message transfer mechanism between AF and SMS-SC in the 5G system to send time synchronization instructions to user equipment, the problem of time synchronization control of user equipment in the 5G system is solved, and precise time synchronization of user equipment is achieved, which is suitable for Industrial automation manufacturing applications.

CN111525973BActive Publication Date: 2024-08-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010210081.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-23
Publication Date
2024-08-30
Estimated Expiration
2040-03-23

AI Technical Summary

Technical Problem

In the time-sensitive network of the 5G system, how to effectively control the time synchronization operation of user equipment, especially in industrial automation manufacturing applications that require precise time control, it is difficult to achieve time synchronization control of user equipment with existing technology.

Method used

Send a trigger delivery service request message to SMS-SC through AF, including the identification of the target user equipment and the time-sensitive network TSN trigger container, requesting SMS-SC to send the short message of the TSN trigger container to the target user equipment so that it can trigger the container based on the TSN Perform time synchronization operations.

Benefits of technology

It achieves effective control of the time synchronization operation of user equipment, supports uplink and downlink TSN time synchronization, and 5G network time domain synchronization, and is suitable for real-time industrial production fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111525973B
    Figure CN111525973B
Patent Text Reader

Abstract

The embodiments of the present application provide a time synchronization method, device, computer-readable medium and electronic device. The time synchronization method includes: receiving a trigger transmission service request message sent by an AF, wherein the trigger transmission service request message includes an identifier of a target user device and a time-sensitive network TSN trigger container, wherein the TSN trigger container is used to indicate a TSN time synchronization trigger condition; sending a submission trigger message to an SMS‑SC, wherein the submission trigger message is used to request the SMS‑SC to send a short message containing the TSN trigger container to the target user device, so that the target user device performs a TSN time synchronization operation based on the TSN trigger container. The technical solution of the embodiments of the present application can achieve effective control of the time synchronization operation of the user device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer and communication technology, and in particular to a time synchronization method, device, computer-readable medium and electronic device. Background Art

[0002] The R16 (Release 16) version of the 5G (5th Generation) system introduced the Time Sensitive Network (TSN) Time Sensitive Communication (TSC) to enable the 5G system to support industrial automation manufacturing applications with precise time control. In this technical context, how to achieve time synchronization control of user devices has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present application provide a time synchronization method, apparatus, computer-readable medium, and electronic device, thereby enabling effective control of the time synchronization operation of a user device at least to a certain extent.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a time synchronization method is provided, comprising: receiving a trigger transmission service request message sent by an AF (Application Function), wherein the trigger transmission service request message includes an identifier of a target user device and a time sensitive network TSN trigger container, wherein the TSN trigger container is used to indicate a TSN time synchronization trigger condition; sending a submission trigger message to an SMS-SC (Short Message Service-Service Centre), wherein the submission trigger message is used to request the SMS-SC to send a short message including the TSN trigger container to the target user device, so that the target user device performs a TSN time synchronization operation based on the TSN trigger container.

[0006] According to one aspect of an embodiment of the present application, a time synchronization method is provided, including: receiving a short message sent by SMS-SC, the short message containing a TSN trigger container, the TSN trigger container being used to indicate a TSN time synchronization trigger condition; and performing a TSN time synchronization operation based on information contained in the TSN trigger container.

[0007] According to one aspect of an embodiment of the present application, a time synchronization method is provided, including: receiving a submission trigger message, the submission trigger message being used to request sending a short message containing a TSN trigger container to a target user device, the TSN trigger container being used to indicate a TSN time synchronization trigger condition; generating the short message, and sending the short message to the target user device, so that the target user device performs a TSN time synchronization operation based on the TSN trigger container.

[0008] According to one aspect of an embodiment of the present application, a time synchronization device is provided, including: a first receiving unit, configured to receive a trigger transmission service request message sent by an application function entity AF, the trigger transmission service request message including an identifier of a target user equipment and a time sensitive network TSN trigger container, the TSN trigger container being used to indicate a TSN time synchronization trigger condition; a first sending unit, configured to send a submission trigger message to a short message service center SMS-SC, the submission trigger message being used to request the SMS-SC to send a short message including the TSN trigger container to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container.

[0009] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is also configured to: convert the identifier of the target user device from an external identifier to a network identifier, wherein, if the identifier of the target user device includes the external identifier of a single user device, the external identifier of the single user device is converted into the network identifier of the single user device; if the identifier of the target user device includes external group identifiers corresponding to multiple user devices, the external group identifier is converted into a list of network identifiers of the multiple user devices.

[0010] In some embodiments of the present application, based on the aforementioned scheme, if the identifier of the target user equipment includes external group identifiers corresponding to multiple user equipment, the first sending unit is configured to: send a submission trigger message to the SMS-SC for each user equipment in the network identifier list.

[0011] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is configured as follows: when it is determined according to the configuration of the operator network that the network open function entity NEF controls the time for the target user equipment to perform the TSN time synchronization operation, if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed immediately, or the trigger transmission service request message does not contain the user equipment trigger time information, then immediately send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed after a predetermined time, then after receiving the predetermined time of the trigger transmission service request message, send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed at a specified time point, then when the current time reaches the specified time point, send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed at a specified time point, then when the current time reaches the specified time point, send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then immediately send a submission trigger message to the SMS-SC.

[0012] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is configured to: when it is determined according to the configuration of the operator network that the SMS-SC controls the time for the TSN time synchronization operation of the target user equipment, send a submission trigger message containing short message transmission time information to the SMS-SC, and the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message; or send a submission trigger message containing TSN activation time information to the SMS-SC, and the TSN activation time information is set in the TSN trigger container.

[0013] In some embodiments of the present application, based on the aforementioned scheme, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user device to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user device to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user device to perform a TSN time synchronization operation at a specified time point; if the TSN trigger container does not contain the TSN activation time information, the TSN trigger container is used to instruct the target user device to perform a TSN time synchronization operation immediately after receiving the short message.

[0014] In some embodiments of the present application, based on the aforementioned scheme, if the submission trigger message contains short message transmission time information, the short message transmission time information is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message, or to instruct the SMS-SC to send the short message after a predetermined time after receiving the submission trigger message, or to instruct the SMS-SC to send the short message at a specified time point, wherein the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message; if the submission trigger message does not contain the short message transmission time information, the submission trigger message is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message.

[0015] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container includes the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0016] According to one aspect of an embodiment of the present application, a time synchronization device is provided, including: a second receiving unit, configured to receive a short message sent by SMS-SC, wherein the short message contains a TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition; a processing unit, configured to perform a TSN time synchronization operation based on the information contained in the TSN trigger container.

[0017] In some embodiments of the present application, based on the above scheme, the TSN trigger container contains second field information for indicating whether it is an activation operation or a deactivation operation; the processing unit is configured to: if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, then immediately establish a PDU (Protocol Data Unit, protocol data unit) session for TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation after the scheduled time of receiving the short message, then a PDU session is established after the scheduled time of receiving the short message to perform the TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, a PDU session is established to perform the TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, then a PDU session is immediately established to perform the TSN time synchronization operation; if the TSN trigger container does not contain TSN activation time information, and the second field information indicates an activation operation, then a PDU session is immediately established to perform the TSN time synchronization operation.

[0018] In some embodiments of the present application, based on the aforementioned scheme, the processing unit establishes a PDU session to perform a TSN time synchronization operation after receiving the short message at the scheduled time, including: after receiving the short message at the scheduled time, detecting whether the user device is in an idle state; if it is detected that the user device is in an idle state, executing the service request process, and after establishing a signaling connection with the AMF (Access and Mobility Management Function), establishing a PDU session to perform a TSN time synchronization operation; if it is detected that the user device is in a connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0019] In some embodiments of the present application, based on the aforementioned scheme, the processing unit establishes a PDU session to perform a TSN time synchronization operation when the current time reaches the specified time point, including: when the current time reaches the specified time point, detecting whether the user device is in an idle state; if it is detected that the user device is in an idle state, executing the service request process, and after establishing a signaling connection with the access and mobility management function entity AMF, establishing a PDU session to perform a TSN time synchronization operation; if it is detected that the user device is in a connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0020] In some embodiments of the present application, based on the aforementioned scheme, the PDU session establishment request sent when establishing the PDU session includes the following parameters, and the following parameters and parameter values ​​come from the TSN trigger container contained in the short message: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating that it is an activation operation, network slice information, and data network name.

[0021] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container contains second field information for indicating whether it is an activation operation or a deactivation operation; the processing unit is configured as follows: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, then the PDU session is released immediately or a PDU session modification process is initiated immediately; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation after a predetermined time after receiving the short message, then the PDU session is released or a PDU session modification process is initiated after the predetermined time after receiving the short message. ; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, the PDU session is released or a PDU session modification process is initiated; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, the PDU session is immediately released or a PDU session modification process is initiated; If the TSN trigger container does not contain TSN activation time information, and the second field information indicates a deactivation operation, the PDU session is immediately released or a PDU session modification process is initiated.

[0022] In some embodiments of the present application, based on the aforementioned scheme, the processing unit initiates a PDU session modification process, including: generating a PDU session modification request, the PDU session modification request including an identifier of a target TSN clock domain that needs to be deactivated; sending the PDU session modification request to an SMF (Session Management Function) so that the SMF instructs the user plane function entity to stop forwarding the TSN time synchronization data of the target TSN clock domain to the user device that sends the PDU session modification request.

[0023] In some embodiments of the present application, based on the aforementioned scheme, the PDU session established by the user equipment supports time synchronization operations of multiple TSN clock domains; the processing unit is configured to: if the target TSN clock domain, network slice information and data network name contained in the TSN trigger container that need to be deactivated respectively match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, and the target TSN clock domain that needs to be deactivated indicated by the TSN trigger container is not the last TSN clock domain in the PDU session, then initiate the PDU session modification process; if the target TSN clock domain, network slice information and data network name contained in the TSN trigger container that need to be deactivated respectively match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, and the target TSN clock domain that needs to be deactivated indicated by the TSN trigger container is the last TSN clock domain in the PDU session, then release the PDU session.

[0024] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container includes the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0025] According to one aspect of an embodiment of the present application, a time synchronization device is provided, including: a third receiving unit, configured to receive a submission trigger message, the submission trigger message is used to request to send a short message containing a TSN trigger container to a target user device, the TSN trigger container is used to indicate a TSN time synchronization trigger condition; a second sending unit, configured to generate the short message and send the short message to the target user device, so that the target user device performs a TSN time synchronization operation based on the TSN trigger container.

[0026] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is configured as follows: if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent immediately, or the submission trigger message does not contain the short message transmission time information, then the short message is immediately transmitted to the target user device; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent after a predetermined time, then the short message is transmitted to the target user device after the predetermined time of receiving the submission trigger message; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, then when the current time reaches the specified time point, the short message is transmitted to the target user device; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, but the current time has exceeded the specified time point, then the short message is immediately transmitted to the target user device.

[0027] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the time synchronization method as described in the above embodiment is implemented.

[0028] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the time synchronization method as described in the above embodiments.

[0029] In the technical solutions provided in some embodiments of the present application, AF sends a trigger transmission service request message to SMS-SC, and then SMS-SC sends a short message containing a TSN trigger container to the target user equipment, so that the target user equipment can be controlled to perform TSN time synchronization operation based on the TSN trigger container, thereby realizing effective control of the time synchronization operation of a user equipment or a group of user equipment.

[0030] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0032] Figure 1 A schematic diagram of a time synchronization process is shown;

[0033] Figure 2 A schematic diagram of the architecture of a 5G system supporting time synchronization in an external time domain is shown;

[0034] Figure 3 A schematic diagram of the architecture of a time synchronization requirement proposed in the 5G R17 standard is shown;

[0035] Figure 4 A flow chart of a time synchronization method according to an embodiment of the present application is shown;

[0036] Figure 5 A flow chart of a time synchronization method according to an embodiment of the present application is shown;

[0037] Figure 6 A flow chart of a time synchronization method according to an embodiment of the present application is shown;

[0038] Figure 7 A flowchart of a UE controlling a TSN time synchronization activation operation according to an embodiment of the present application is shown;

[0039] Figure 8 A flowchart of a UE controlling a TSN time synchronization deactivation operation according to an embodiment of the present application is shown;

[0040] Fig. 9 A flowchart of SMS-SC control for TSN time synchronization activation operation according to an embodiment of the present application is shown;

[0041] Fig.10 A flowchart of SMS-SC control for TSN time synchronization deactivation operation according to an embodiment of the present application is shown;

[0042] Fig.11 A flowchart of a TSN time synchronization activation operation performed by NEF control according to an embodiment of the present application is shown;

[0043] Fig.12 A flowchart of a TSN time synchronization deactivation operation performed by NEF control according to an embodiment of the present application is shown;

[0044] Fig.13 A block diagram of a time synchronization device according to an embodiment of the present application is shown;

[0045] Fig.14 A block diagram of a time synchronization device according to an embodiment of the present application is shown;

[0046] Fig.15A block diagram of a time synchronization device according to an embodiment of the present application is shown;

[0047] Fig.16 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0048] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of example embodiments to those skilled in the art.

[0049] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the present application.

[0050] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0051] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0052] In the related art, clock difference measurement can be implemented using PTP (Precision Time Protocol, defined by IEEE (Institute of Electrical and Electronics Engineers) 1588 protocol) / gPTP (generalized Precision Time Protocol, defined by IEEE 802.1AS protocol) messages and algorithms.

[0053] exist Figure 1In the time synchronization process shown, the time data receiver (here assumed to be ES (End Station, which is a device connected to a LAN or MAN and acts as the source and / or destination of traffic carried on the LAN or MAN)) measures the clock difference (Offset, hereinafter abbreviated as O) and delay (hereinafter abbreviated as D) between the time data packet received and the TSN clock domain A based on the method defined by the IEEE 1588v2 protocol.

[0054] Among them, the clock difference and delay are realized through some processes and algorithms, involving the following formulas:

[0055] O=Offset=(t2+t3-t1-t4) / 2;

[0056] t2=t1+D+O;

[0057] A = t2 - t1 = D + O;

[0058] B = t4 - t3 = DO;

[0059] Delay D = (A + B) / 2;

[0060] Offset O = (AB) / 2;

[0061] t4=t3-O+D.

[0062] In the above formula, A and B are intermediate variables; t1 is the time value of TSN clock domain A carried in the Sync message or Follow_up message; t2 and t3 are the time values ​​of the local clock of the terminal station, and t2 represents the time value of the local clock corresponding to when the ES receives the Sync message, and t3 represents the time value of the local clock corresponding to when the ES sends the Delay_Req message; D represents the transmission delay value of the Sync message from TSN clock domain A to ES; t4 is the time value of TSN clock domain A corresponding to when TSN clock domain A receives the Delay_Req message.

[0063] After measuring the clock difference Offset between the local clock of the terminal station and TSN clock domain A, as well as any one of the delays Delay, the ES can use any of these parameters to set its time, thereby achieving time synchronization between the local time of the ES and the master clock of TSN clock domain A. This is an algorithm for time synchronization between an ES in TSN clock domain A and its master clock.

[0064] In order to ensure the stability of the time accuracy of ES, that is, after a period of time, the time of ES will differ more and more from the time of the master clock of clock domain A, the above measurement process is repeated regularly to ensure that the time of ES differs from the time of the master clock of clock domain A within a certain range. Since there are many ES in a clock domain, if each ES interacts with the master clock in this way, the implementation cost of the master clock will be greatly increased, and the stability and accuracy of its clock will be affected. In order to simplify this measurement process, the master clock only periodically sends Sync (optionally also sends Follow_up) messages with the destination address as a multicast address, and no longer interacts with ES in a two-way signaling manner. The network that transmits these messages accurately calculates the transmission delay of the Sync (optionally also Follow_up) message from the master clock to the ES, so that the ES can achieve time synchronization with the master clock based on the delay provided by the network and the time value of the master clock on the Sync (optionally also Follow_up) message. The specific implementation method can refer to the IEEE 802.1AS protocol.

[0065] Figure 2 A schematic diagram of the architecture of a 5G system supporting time synchronization in an external time domain (Time Domain) is shown.

[0066] like Figure 2 As shown, the 5G system is integrated into the TSN system as a TSN bridge. This "logical" TSN bridge includes a TSN converter for user plane interaction between the TSN system and the 5G system. The 5GS (5G system) TSN converter function includes DS-TT (Device Side TSN Translator) and NW-TT (Network TSN Translator). The UE (User Equipment) in the 5G system is connected to one or more ES in the TSN DN (Data Network) outside the 5G system through DS-TT. The UPF is connected to one or more ES in the TSN DN through NW-TT.

[0067] In order to implement the TSN synchronization mechanism, the entire end-to-end 5G system can be regarded as an IEEE802.1AS time aware system. Figure 2 As shown in the figure, there are two time synchronization domains, namely the 5G time domain and the TSN time domain. The 5G system has its own time system (such as GPS (Global Positioning System) time). Figure 25G GM (5G Grand Master, 5G internal master clock) is used to represent the clock domain of the 5G system (i.e., the 5G time domain).

[0068] Figure 2 The gNB in ​​the 5G system represents a 5G base station. All devices in the 5G system are synchronized to the 5G clock domain. The devices in the 5G system include: UPF (User Plane Function), SMF (Session Management Function), UE, DS-TT, NW-TT, NG RAN (NG Radio Access Network), etc. The NG interface is the interface between the radio access network and the 5G core network.

[0069] like Figure 2 As shown in the figure, the clock source of the external TSN Time Domain is outside the UPF. The ES device on the UE side of TSN is connected to the UE through DS-TT, accessed to the 5G network, and then accessed to the external TSN network through the UPF and the NW-TT on the UPF to synchronize time with the TSN clock source.

[0070] Figure 2 In the 5G network, the time synchronization message is sent by TSN GM through downlink (DL) data, that is, it is sent through the user plane of the UE. The downlink data including the time synchronization message of TSN GM first reaches the NW-TT / UPF, enters the 5G system, then reaches the UE and its DS-TT, and finally reaches the ES on the UE side.

[0071] TSN GM marks the current time in the originTimestamp field of the time synchronization message it sends. When the user plane of the UE transmits this time synchronization message, NW-TT marks the reception time of the downlink data it receives on this time synchronization message, and updates the CorrectionField field value in this data packet to the original CorrectionField field value plus the transmission delay value between NW-TT and the Ethernet Bridge Port (port) that sends this message to NW-TT. The transmission delay between NW-TT and this port can be Figure 1The method shown or obtained by other means. Before forwarding the downlink data to the ES, the DS-TT subtracts the reception time added by NW-TT to the downlink data from its current time, thereby obtaining the transmission delay value of this time synchronization message in the entire 5G system, and adds this delay value to the previous transmission time from the TSN master clock to NW-TT (in the CorrectionField domain of the received time synchronization message) to obtain the updated transmission delay value, and adds this updated transmission delay value to the CorrectionField domain of the time synchronization message (that is, the total transmission delay of this message), and deletes the reception time marked by NW-TT before. Then send this modified time synchronization message to the ES.

[0072] According to the delay value marked by DS-TT on the time synchronization message (i.e., the CorrectionField value on the time synchronization message), ES directly adds the delay value on the time synchronization message to the transmission delay between DS-TT and ES (the transmission delay between ES and DS-TT can be Figure 1 The total transmission delay of the time synchronization message from the TSN master clock to the ES can be obtained by adding the originTimestamp field value on the time synchronization message to obtain a calculated time value, and then the clock is set to the calculated time value, thereby realizing the time synchronization between the ES on the UE side and the TSN GM.

[0073] Figure 3 A schematic diagram of the architecture of a time synchronization requirement proposed in the 5G R17 standard is shown.

[0074] exist Figure 2 In the 5G standard, the ES on the UE side needs to synchronize time to the TSN GM on the UPF / NW-TT side. Figure 3 As shown, the TSN GM, i.e., the master clock of TSN, is on the UE1 side, so that the ES and other UEs (e.g. Figure 3 The ES on UE2 in the example needs to synchronize time with the TSN GM on the UE1 side. That is, the TSN GM sends the time synchronization message uplink through the user plane of UE1 and then reaches the UPF.

[0075] For TSN ES outside UPF, it is sent through NW-TT. Figure 3 For the ES on UE2 in the lower left corner, the UPF is sent to UE2 via UE2’s downlink data, and then sent to the TSN ES via UE2’s DS-TT.

[0076] exist Figure 3 In the example, UE1's DS-TT records the time when UE1 receives the uplink (UL) data packet including the time synchronization message sent by TSN GM, and adds the reception time to the UL time synchronization message packet. At the same time, the CorrectionField field value in this data packet is updated to the original CorrectionField field value plus the transmission delay value between DS-TT and TSN GM. The transmission delay between DS-TT and TSN GM can be calculated by Figure 1 The method shown or obtained by other means. NW-TT subtracts the reception time marked by UE1DS-TT on the packet from the time it receives the UL data packet to obtain the transmission delay value of the entire UL data packet in the 5G system, and adds this delay value to the previous transmission time from the TSN master clock to the UE1 DS-TT (in the CorrectionField of the received time synchronization message) to obtain the updated transmission delay value, and adds the updated transmission delay value to the CorrectionField of the UL synchronization message data packet, and deletes the reception time label marked by UE1's DS-TT. Then, this UL data packet is sent to the TSNES connected to the NW-TT on the right (including TSN ESs in TSN time domain 1 and TSN time domain 2). Based on Figure 2 In the method introduced, the TSN ES connected to the NW-TT on the right side directly adds the delay value on the time synchronization message to the transmission delay between NW-TT and this TSN ES according to the delay value marked by NW-TT on the time synchronization message (that is, the CorrectionField field value on the time synchronization message), and the total transmission delay of the synchronization message from the TSN master clock to the TSN ES connected to the NW-TT can be obtained. This total transmission delay plus the originTimestamp field value on the time synchronization message can obtain a calculated time value, and then its clock is set to this calculated time value, thereby realizing the time synchronization between the TSN ES on the NW-TT side and the TSN GM on the UE1 side.

[0077] If the time synchronization message is to be sent to the TSN ES of UE2, the UPF will simultaneously send the time synchronization message to UE2 through the user plane of UE2, and then reach the DS-TT of UE2. Similarly, the UE2 DS-TT subtracts the reception time marked by UE1 DS-TT on the downlink synchronization message data packet from the time it receives the downlink data packet containing the time synchronization message, and obtains the transmission delay value of the entire data packet including the time synchronization message in the 5G system, and adds the transmission delay value with the previous transmission time from the TSN master clock to the UE1 DS-TT (in the CorrectionField field of the received time synchronization message) to obtain the updated transmission delay value, and marks the updated transmission delay value in the CorrectionField field of the DL data packet containing the time synchronization message, and deletes the reception time tag marked by UE1 DS-TT, and then sends this DL data packet to the TSN ES on the UE2 DS-TT. Similarly, according to the method described above, the TSN ES on the UE2 DS-TT can achieve time synchronization with the TSN GM on the UE1 side.

[0078] It should be noted that: Figure 3 In the figure, the solid arrow indicates gPTP by ingressDS-TT; the dotted arrow indicates locally switched gPTP by ingressDS-TT.

[0079] Due to the diversity of deployments, Figure 3 The DS-TT of UE1 in the example is connected to both TSN GM Domain 1 and TSN GMDomain 2. However, it is also possible that the DS-TT of UE1 is connected to TSN GM Domain 1, while the DS-TT of UE X is connected to TSN GM Domain 2. Figure 3 The DS-TT of UE2 in the figure is connected to only one EndStation of TSN GM Domain, but it is also possible that the DS-TT of UE2 can be connected to multiple End Stations, each End Station corresponds to a different TSN GM Domain. In short, the DS-TT of a UE can be connected to one or more GMs or End Stations of different TSN GMDomains; the DS-TT of a UE can be connected to a GM of TSN GM Domain X and an End Station of TSN GM Domain Y at the same time, or other connection methods.

[0080] Under the above technical background, how to make a specific UE or a specific group of UEs or all UEs immediately (simultaneously) (de)synchronize to a time domain, or how to make a specific UE or a specific group of UEs or all UEs (simultaneously) (de)synchronize to a time domain at a specific time is a technical problem that needs to be solved urgently. Therefore, the embodiment of the present application proposes that the AF uses the Device Trigger technology to send a message containing a trigger condition to a UE or a group of UEs to trigger the UE to activate or deactivate TSN time synchronization, and at the same time, the time requirement for the UE to perform TSN time synchronization can be added to the trigger condition.

[0081] The implementation details of the technical solution of the embodiment of the present application are described in detail below:

[0082] Figure 4 The flowchart of a time synchronization method according to an embodiment of the present application is shown. The time synchronization method can be executed by a network exposure function (NEF) entity. Figure 4 As shown, the time synchronization method at least includes steps S410 to S420, which are described in detail as follows:

[0083] In step S410, a triggered transmission service request message sent by an application function entity AF is received, wherein the triggered transmission service request message includes an identifier of a target user equipment and a time sensitive network TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition.

[0084] In one embodiment of the present application, the target user equipment is a user equipment that needs to be triggered by TSN time synchronization. The TSN trigger container may include at least the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0085] It should be noted that: the TSN clock domain identifier is used to identify the TSN clock domain that needs to be synchronized; the first field information is used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, for example, the first value of the first field information indicates uplink TSN synchronization, and the second value of the first field information indicates downlink TSN synchronization; the second field information is used to indicate whether it is an activation operation or a deactivation operation, for example, the first value of the second field information indicates an activation operation, and the second value of the second field information indicates a deactivation operation; the network slice information can be Single Network Slice Selection Assistance Information, abbreviated as S-NSSAI, which is used to identify a network slice; the data network name is Data Network Name, abbreviated as DNN.

[0086] In step S420, a submit trigger message is sent to the short message service center SMS-SC, where the submit trigger message is used to request the SMS-SC to send a short message containing a TSN trigger container to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container.

[0087] In one embodiment of the present application, before sending a submission trigger message to the SMS-SC, the NEF may convert the identifier of the target user device from an external identifier to a network identifier, wherein, if the identifier of the target user device includes the external identifier of a single user device, the external identifier of the single user device is converted into the network identifier of the single user device; if the identifier of the target user device includes external group identifiers corresponding to multiple user devices, the external group identifier is converted into a list of network identifiers of multiple user devices.

[0088] It should be noted that the external identifier of the user equipment may be, for example, a mobile phone number, etc. The network identifier of the user equipment may be, for example, IMSI (International Mobile Subscriber Identity), GPSI (Generic Public Subscription Identifier), SUPI (Subscription Permanent Identifier), etc.

[0089] In one embodiment of the present application, if the identifier of the target user device includes external group identifiers corresponding to multiple user devices, then since the result after conversion is a network identifier list of multiple user devices, when sending a submission trigger message to the SMS-SC, it is necessary to send a submission trigger message to the SMS-SC separately for each user device in the network identifier list.

[0090] In one embodiment of the present application, the AF can decide whether the UE or the network side controls the timing of the UE performing the TSN time synchronization operation. For example, if the triggered transmission service request message sent by the AF contains the user equipment trigger time information, it means that the AF decides that the network side controls the timing of the UE performing the TSN time synchronization operation; if the TSN trigger container in the triggered transmission service request message sent by the AF contains the TSN activation time information, it means that the AF decides that the UE controls the timing of the UE performing the TSN time synchronization operation.

[0091] In addition, when the AF decides that the network side controls the timing of the UE's TSN time synchronization operation, it is the operator who decides whether the time control is performed by the NEF or the SMS-SC.

[0092] In one embodiment of the present application, if it is determined according to the configuration of the operator network that the NEF controls the time for the target user equipment to perform the TSN time synchronization operation, the NEF can control the time for the UE to perform the TSN time synchronization operation by controlling the timing of sending a submission trigger message to the SMS-SC. Specifically as follows:

[0093] 1) If the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is to be performed immediately, or the trigger transmission service request message does not contain the user equipment trigger time information, the NEF can immediately send a submission trigger message to the SMS-SC to trigger the SMS-SC to immediately send a short message to the target UE, and the UE immediately performs a TSN time synchronization operation after receiving the short message (it should be noted that the UE's TSN time synchronization operation includes an activation operation and a deactivation operation, which can be specifically determined based on the value of the second field information contained in the TSN trigger container).

[0094] 2) If the user equipment triggering time information contained in the triggering transmission service request message indicates that the user equipment triggering operation is to be performed after a predetermined time, the NEF may send a submit triggering message to the SMS-SC after receiving the predetermined time of the triggering transmission service request message. In this case, since the NEF performs time control, the SMS-SC immediately sends a short message to the target UE after receiving the submit triggering message, and the UE immediately performs a TSN time synchronization operation after receiving the short message.

[0095] 3) If the user equipment trigger time information contained in the trigger transmission service request message indicates that the TSN time synchronization operation is to be performed at a specified time point, the NEF sends a submission trigger message to the SMS-SC when the current time reaches the specified time point. Similarly, in this case, since the NEF performs time control, the SMS-SC immediately sends a short message to the target UE after receiving the submission trigger message, and the UE immediately performs the TSN time synchronization operation after receiving the short message.

[0096] 4) If the user equipment trigger time information contained in the trigger transmission service request message indicates that the TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, a submission trigger message is immediately sent to the SMS-SC. In this case, after receiving the submission trigger message, the SMS-SC immediately sends a short message to the target UE, and the UE immediately performs the TSN time synchronization operation after receiving the short message.

[0097] In one embodiment of the present application, if the timing of the UE performing the TSN time synchronization operation is not controlled by the NEF, then after receiving the trigger transmission service request message sent by the AF and performing necessary processing (such as converting the identity of the target UE), the NEF directly sends a submission trigger message to the SMS-SC (if the identity of the target user equipment includes an external group identity corresponding to multiple user equipment, then since the network identity list of multiple user equipment is obtained after the conversion, when sending the submission trigger message to the SMS-SC, it is necessary to send a submission trigger message to the SMS-SC for each user equipment in the network identity list). In this case, the submission trigger message sent to the SMS-SC may include short message transmission time information, and the short message transmission time information is used to indicate the time when the SMS-SC sends the short message to the target UE, so as to indirectly control the timing of the target UE performing the TSN time synchronization operation. Among them, the value of the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message sent by the AF, that is, the NEF can set the short message transmission time information through the user equipment trigger time information.

[0098] In one embodiment of the present application, if the submission trigger message contains short message transmission time information, the short message transmission time information is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message, or to instruct the SMS-SC to send the short message after a predetermined time after receiving the submission trigger message, or to instruct the SMS-SC to send the short message at a specified time point, wherein the short message transmission time information comes from the trigger transmission service request message.

[0099] In one embodiment of the present application, the submission trigger message may not include the short message transmission time information. In this case, the SMS-SC sends the short message to the target UE immediately after receiving the submission trigger message.

[0100] In one embodiment of the present application, if the AF does not require the network (i.e., NEF or SMS-SC) to control the timing of the UE performing the TSN time synchronization operation, but the UE controls the timing of the UE performing the TSN time synchronization operation, then the AF can also add TSN activation time information in the TSN trigger container, and then the trigger message sent by the network to the UE (i.e., the submission trigger message sent by the NEF to the SMS-SC and sent to the UE via SMS) The TSN trigger container also contains TSN activation time information, and the TSN activation time information is used to indicate the timing of the target UE performing the TSN time synchronization operation.

[0101] In one embodiment of the present application, if the TSN trigger container contains TSN activation time information, the TSN activation time information can be used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving a short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point.

[0102] Figure 4 The embodiment shown is explained from the perspective of NEF. Figure 5 The time synchronization method of the embodiment of the present application is described from the perspective of SMS-SC.

[0103] Reference Figure 5 As shown, the time synchronization method can be performed by SMS-SC, and at least includes the following steps S510 to S520, which are described in detail as follows:

[0104] In step S510, a submission trigger message is received, where the submission trigger message is used to request to send a short message including a TSN trigger container to a target user equipment, where the TSN trigger container is used to indicate a TSN time synchronization trigger condition.

[0105] In one embodiment of the present application, SMS-SC can receive a submission trigger message sent by NEF, and the process of NEF sending the submission trigger can refer to the technical solution of the above embodiment. The information contained in the TSN trigger container comes from the trigger transmission service request message sent by AF.

[0106] Similar to the above embodiment, the target user equipment is a user equipment that needs to be triggered by TSN time synchronization. The TSN trigger container may include the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0107] In step S520, a short message is generated and sent to a target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container.

[0108] In one embodiment of the present application, SMS-SC can control the time when the UE performs TSN time synchronization operation by controlling the timing of sending a short message to the target UE. The details are as follows:

[0109] 1) If the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent immediately, or the submission trigger message does not contain the short message transmission time information, the SMS-SC immediately transmits the short message to the target UE, and the target UE performs TSN time synchronization operation immediately after receiving the short message.

[0110] It should be noted that there may be the following situations when the submission trigger message does not contain the short message transmission time information: one is that the NEF has performed time control when sending the submission trigger message. At this time, neither the SMS-SC nor the UE needs to perform time control. The SMS-SC immediately sends a short message to the target UE upon receiving the submission trigger message, and the target UE immediately performs the TSN time synchronization operation after receiving the short message; the other is that neither the NEF nor the SMS-SC performs time control, but the UE performs time control, that is, the UE determines when to perform the TSN time synchronization operation based on the TSN activation time information contained in the received short message; there is also a situation that the NEF, the SMS-SC and the UE do not perform time control. In this case, after receiving the trigger transmission service request message sent by the AF and performing necessary processing (such as converting the identity of the target UE), the NEF directly sends a submission trigger message to the SMS-SC. After receiving the submission trigger message, the SMS-SC immediately sends a short message to the target UE, and the target UE immediately initiates the TSN time synchronization operation after receiving the short message.

[0111] 2) If the short message transmission time information contained in the submission trigger message indicates that the short message is sent after a scheduled time, the SMS-SC transmits the short message to the target UE after receiving the scheduled time of the submission trigger message, and the target UE performs TSN time synchronization operation immediately after receiving the short message.

[0112] 3) If the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, the SMS-SC transmits the short message to the target UE when the current time reaches the specified time point, and the target UE performs TSN time synchronization operation immediately after receiving the short message.

[0113] 4) If the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, but the current time has exceeded the specified time point, the SMS-SC immediately transmits the short message to the target user equipment, and the target UE performs TSN time synchronization operation immediately after receiving the short message.

[0114] The technical solutions of the embodiments of the present application are described above from the perspectives of NEF and SMS-SC. Figure 6 The time synchronization method of the embodiment of the present application is described from the perspective of the UE. Figure 6 As shown, the time synchronization method can be executed by the UE, and at least includes the following steps S610 to S620, which are described in detail as follows:

[0115] In step S610, a short message sent by SMS-SC is received, wherein the short message includes a TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition.

[0116] In one embodiment of the present application, the process of SMS-SC sending a short message can refer to the technical solution of the above embodiment. The information contained in the TSN trigger container comes from the trigger submission request sent by NEF to SMS-SC, and its original source is the trigger transmission service request message sent by AF.

[0117] In one embodiment of the present application, the TSN trigger container contained in the short message may include the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name. Among them, the parameters and parameter values ​​in the TSN trigger container contained in the short message come from the submission trigger message sent by the NEF, and the parameters and parameter values ​​contained in the submission trigger message come from the trigger transmission service request message sent by the AF.

[0118] In step S620, a TSN time synchronization operation is performed based on the information included in the TSN trigger container.

[0119] In an embodiment of the present application, the TSN trigger container includes second field information for indicating whether it is an activation operation or a deactivation operation. The following is an example of the second field information indicating an activation operation and a deactivation operation:

[0120] In one embodiment of the present application, if the second field information indicates an activation operation, the UE may perform the TSN time synchronization operation after receiving the short message in the following situations:

[0121] 1) If the TSN trigger container contains TSN activation time information, the TSN activation time information indicates that the user equipment performs TSN time synchronization operation immediately after receiving the short message, and the second field information indicates the activation operation, then a PDU session is immediately established to perform the TSN time synchronization operation. The UE-initiated PDU session establishment process can refer to Section 4.3.2 of 3GPP (3rd Generation Partnership Project) protocol TS23.502.

[0122] Among them, the PDU session establishment request sent by the UE when establishing a PDU session may include the following parameters, and the following parameters and parameter values ​​come from the TSN trigger container contained in the short message: TSN clock domain identifier, first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, second field information used to indicate that it is an activation operation, network slice information, and data network name.

[0123] 2) If the TSN trigger container contains TSN activation time information, the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the short message, and the second field information indicates an activation operation, then the UE establishes a PDU session to perform a TSN time synchronization operation after the scheduled time of receiving the short message.

[0124] 3) If the TSN trigger container contains TSN activation time information, the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, and the second field information indicates an activation operation, then when the current time reaches the specified time point, the UE establishes a PDU session to perform a TSN time synchronization operation.

[0125] 4) If the TSN trigger container contains TSN activation time information, the TSN activation time information instructs the user equipment to perform a TSN time synchronization operation at a specified time point, and the second field information indicates an activation operation, but the current time has exceeded the specified time point, the UE immediately establishes a PDU session to perform a TSN time synchronization operation.

[0126] 5) If the TSN trigger container does not contain TSN activation time information, and the second field information indicates that the user equipment performs an activation operation, a PDU session is immediately established to perform a TSN time synchronization operation.

[0127] It should be noted that if the TSN trigger container does not contain TSN activation time information, there may be the following situations: one is that the NEF has performed time control when sending the submission trigger message. At this time, neither the SMS-SC nor the UE needs to perform time control. The SMS-SC immediately sends a short message to the target UE upon receiving the submission trigger message, and the target UE immediately performs TSN time synchronization after receiving the short message; the other is that the NEF does not perform time control, but the SMS-SC performs time control. In this case, after receiving the submission trigger message, the SMS-SC decides when to send the short message to the target UE according to the short message transmission time information contained in the submission trigger message, and the target UE immediately performs TSN time synchronization after receiving the short message; there is another situation that the NEF, SMS-SC and UE do not perform time control. In this case, after receiving the trigger transmission service request message sent by the AF and performing necessary processing (such as converting the identity of the target UE), the NEF directly sends a submission trigger message to the SMS-SC. After receiving the submission trigger message, the SMS-SC immediately sends a short message to the target UE, and the target UE immediately initiates the TSN time synchronization operation after receiving the short message.

[0128] In one embodiment of the present application, if the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the short message, and the second field information indicates the activation operation, the UE can first detect whether the signaling connection with the network is in an idle state after the scheduled time of receiving the short message. If the UE is in a connection management idle state (CM-IDLE state), a service request process (Service Request) is executed to establish a signaling connection with the AMF. After the signaling connection is established, a PDU session can be established to perform a TSN time synchronization operation; if the UE is in a connection management connected state (CM-CONNECTED state), a PDU session can be directly established to perform a TSN time synchronization operation.

[0129] Similarly, if the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, and the second field information indicates an activation operation, the UE can first detect whether the signaling connection with the network is in an idle state when the current time reaches the specified time point. If the UE is in a connection management idle state (CM-IDLE state), a service request process is executed to establish a signaling connection with the AMF. After the signaling connection is established, a PDU session can be established for TSN time synchronization operations; if the UE is in a connection management connected state (CM-CONNECTED state), a PDU session can be directly established for TSN time synchronization operations.

[0130] It should be noted that in the 5GS network architecture, the UE's CM (Connection Management) state includes: CM-IDLE (i.e., idle state) and CM-CONNECTED (i.e., connected state), and the CM reflects the signaling connection characteristics of the UE. Among them, in the idle state (CM-IDLE), there is no NAS (Non-Access Stratum) signaling connection between the UE and the network, for example, it does not include the Radio Resource Control (RRC) connection and the N1-AMF connection; in the connected state (CM-CONNECTED), there is a NAS signaling connection between the UE and the network, including the RRC connection and the N1-AMF connection.

[0131] In one embodiment of the present application, if the second field information indicates a deactivation operation, the UE may perform a TSN time synchronization operation after receiving the short message in the following situations:

[0132] 1) If the TSN trigger container contains TSN activation time information, which indicates that the user equipment performs TSN time synchronization operation immediately after receiving the short message, and the second field information indicates deactivation operation, the PDU session is immediately released or the PDU session modification process is immediately initiated. The UE-initiated PDU session release process can refer to Section 4.3.4.2 of 3GPP protocol TS23.502; the UE-initiated PDU session modification process can refer to Section 4.3.2.2 of 3GPP protocol TS23.502.

[0133] 2) If the TSN trigger container contains TSN activation time information, the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the short message, and the second field information indicates a deactivation operation, then the PDU session is released or the PDU session modification process is initiated after the scheduled time of receiving the short message.

[0134] 3) If the TSN trigger container contains TSN activation time information, which indicates that the user equipment performs TSN time synchronization operation at a specified time point, and the second field information indicates a deactivation operation, then when the current time reaches the specified time point, the PDU session is released or the PDU session modification process is initiated.

[0135] 4) If the TSN trigger container contains TSN activation time information, the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, and the second field information indicates a deactivation operation, but the current time has exceeded the specified time point, the PDU session is immediately released or a PDU session modification process is initiated.

[0136] 5) If the TSN trigger container does not contain TSN activation time information, when the second field information indicates that the user equipment is to perform a deactivation operation, the PDU session is immediately released or a PDU session modification process is initiated.

[0137] It should be noted that, similar to the above embodiment, if the TSN trigger container does not contain TSN activation time information, there may be the following situations: one is that the NEF has performed time control when sending the submission trigger message. At this time, neither the SMS-SC nor the UE needs to perform time control. The SMS-SC immediately sends a short message to the target UE upon receiving the submission trigger message, and the target UE immediately performs a TSN time synchronization operation after receiving the short message; the other is that the NEF does not perform time control, but the SMS-SC performs time control. In this case, after receiving the submission trigger message, the SMS-SC decides when to send the short message to the target UE according to the short message transmission time information contained in the submission trigger message, and the target UE immediately performs a TSN time synchronization operation after receiving the short message; there is also a situation that the NEF, the SMS-SC and the UE do not perform time control. In this case, after receiving the trigger transmission service request message sent by the AF and performing necessary processing (such as converting the identity of the target UE), the NEF directly sends a submission trigger message to the SMS-SC. After receiving the submission trigger message, the SMS-SC immediately sends a short message to the target UE, and the target UE immediately initiates a TSN time synchronization operation after receiving the short message.

[0138] In one embodiment of the present application, if the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the short message, and the second field information indicates a deactivation operation, the UE can first detect whether the signaling connection with the network is in an idle state after the scheduled time of receiving the short message. If the UE is in a connection management idle state (CM-IDLE state), a service request process (Service Request) is executed to establish a signaling connection with the AMF. After the signaling connection is established, a PDU session release process or a PDU session modification process can be initiated; if the UE is in a connection management connected state (CM-CONNECTED state), a PDU session release process or a PDU session modification process can be directly initiated.

[0139] Similarly, if the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, and the second field information indicates a deactivation operation, the UE can first detect whether the signaling connection with the network is in an idle state when the current time reaches the specified time point. If the UE is in a connection management idle state (CM-IDLE state), a service request process is executed to establish a signaling connection with the AMF. After the signaling connection is established, a PDU session release process or a PDU session modification process can be initiated; if the UE is in a connection management connected state (CM-CONNECTED state), a PDU session release process or a PDU session modification process can be directly initiated.

[0140] In one embodiment of the present application, when the UE initiates the PDU session modification process, the PDU session modification request generated by it may include an identifier of the target TSN clock domain that needs to be deactivated, and then after sending the PDU session modification request to the SMF, the SMF can instruct the user plane function entity (User Plane Function, referred to as UPF) to stop forwarding the TSN time synchronization data of the target TSN clock domain to the UE that sends the PDU session modification request.

[0141] In one embodiment of the present application, the PDU session established by the UE may support time synchronization operations for multiple TSN clock domains. In this case, if the target TSN clock domain, network slice information, and data network name to be deactivated contained in the TSN trigger container match the TSN clock domain, network slice information, and data network name of the PDU session established by the target user device, respectively, and the target TSN clock domain to be deactivated indicated by the TSN trigger container is not the last TSN clock domain in the PDU session, then the PDU session modification process is initiated; if the target TSN clock domain, network slice information, and data network name to be deactivated contained in the TSN trigger container match the TSN clock domain, network slice information, and data network name of the PDU session established by the target user device, respectively, and the target TSN clock domain to be deactivated indicated by the TSN trigger container is the last TSN clock domain in the PDU session, then the PDU session release process is initiated to release the PDU session.

[0142] The above embodiments respectively describe the technical solutions of the embodiments of the present application from the perspectives of NEF, SMS-SC and UE. Figures 7 to 12 , the implementation details of the technical solution of the embodiment of the present application are elaborated in detail from the perspective of interaction between various entities.

[0143] In the embodiments of the present application, NEF, SMS-SC and UE can all control the timing of the UE performing TSN time synchronization operations, which are described in detail one by one below:

[0144] 1. Implementation example of UE controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

[0145] like Figure 7 As shown, according to an embodiment of the present application, the process of UE controlling the TSN time synchronization activation operation includes the following steps:

[0146] Step S701a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Figure 7 In step S701a, the DS-TT / UE shown in FIG701 sends an uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; in step S701b, the master clock of TSN domain 2 sends a downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages of step S701a and step S701b are respectively used to perform TSN time synchronization operations of different TSN time domains.

[0147] Step S702: The AF sends a trigger delivery service request message to the NEF.

[0148] In one embodiment of the present application, the specific process of step S702 can refer to step 2 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502. However, the trigger transmission service request message in the embodiment of the present application includes a target ID and a TSN trigger container.

[0149] Wherein, Target ID refers to a specific UE, or a group of UEs. When Target ID refers to a specific UE, Target ID is usually SUPI or IMSI, GPSI or other external application identifiers. When Target ID refers to a group of UEs, Target ID is usually External Group ID.

[0150] The TSN trigger container includes TSN Activation Time, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation / Deactivation Indicator, S-NSSAI and DNN. TSN Activation Time is used to indicate whether to activate (or deactivate) the TSN time synchronization immediately, after X seconds of this message, or at a specified time. Figure 7 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0151] In step S703, NEF performs authorization and local control processing. Specifically, NEF checks whether AF has the right to send trigger requests and whether AF has not exceeded Nnef's quota or trigger submission rate. If this check fails, the reason value of the Nnef_Trigger_Delivery response (step S710) sent by NEF indicates the reason for the failure, and the process stops at this step. Otherwise, the process continues to execute step S704.

[0152] Step S704: NEF sends a Nudm_SDM_Get request to UDM.

[0153] In one embodiment of the present application, the Nudm_SDM_Get request includes the following parameters: IdentifierTranslation (identifier translation), Target ID (target ID) and AF Identifier (AF identifier).

[0154] Step S705: UDM sends a Nudm_SDM_Get response to NEF.

[0155] In one embodiment of the present application, the Nudm_SDM_Get response includes the following parameters: SUPI and optionally MSISDN (Mobile Station International Integrated Service Digital Network Number).

[0156] As mentioned above, the Target ID may refer to a group of UEs. If the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S705 is a SUPI list and an optional MSISDN list. At this time, the following steps S706 to S716 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0157] Step S706: NEF sends a Nudm_UECM_Get(SUPI, SMS) request to UDM to obtain the address of the SMSF (Short Message Service Function) entity.

[0158] Step S707: UDM sends a Nudm_UECM_Get (SMSF ID) response to NEF. SMSF is a functional entity in the 5G system that implements sending and receiving SMS messages to UE.

[0159] Step S708, NEF sends a trigger submission message (GPSI, SUPI, AF Identifier, SMSF ID, SMS Application Port ID, trigger payload (TSN trigger Container), Trigger Indication) to SMS-SC. GPSI and SUPI are the identifiers of UE; AF Identifier is the identifier of AF; SMSF ID is the identifier of SMSF; SMS Application Port ID is used to indicate the application identifier to which UE routes the received SMS; Trigger Indication is used to indicate whether it is a Trigger SMS or other SMS (Trigger SMS is to be routed to a specific application, and the specific application is indicated by SMS Application Port ID).

[0160] Step S709: SMS-SC returns a trigger submission confirmation message to NEF to confirm that SMS-SC has received the message from NEF.

[0161] Step S710: NEF sends a triggered delivery response to AF to confirm receipt of the triggered delivery service request message from AF.

[0162] Step S711, SMS-SC transmits a short message to the target UE. The detailed process of this step is described in detail in Section 4.13.3.6 and Section 4.13.3.7 of TS23.502. The basic process is that SMS-SC sends it to SMS-GMSC (Gateway Mobile Switching Center), then to SMSF, then to AMF, and finally reaches UE. If the UE is in CM-IDLE state, AMF also needs to execute the Service Request process initiated by the network, and then send the SMS to the UE. After receiving the SMS, the UE sends a SMS delivery report to SMS-SC through AMF, SMSF, and SMS-GMSC.

[0163] Step S712: SMS-SC sends a short message delivery report to NEF.

[0164] Step S713: NEF sends a trigger transmission notification to AF.

[0165] Among them, in addition to the above-mentioned points that require special attention, the specific process of steps S702 to S713 can refer to steps 2 to 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0166] Step S714: The UE initiates a service request and establishes a signaling connection with the AMF.

[0167] In one embodiment of the present application, after the UE receives the TSN trigger container contained in the short message in step S711 (the TSN trigger container includes the aforementioned TSN Activation Time, TSN Domain ID, UL or DL ​​TSNSynchronization, Activation / Deactivation Indicator, S-NSSAI and DNN), if it is determined that the value of the Activation / Deactivation Indicator is Activation, it is determined that the time indicated by the TSN Activation Time is the activation time.

[0168] If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed immediately, since the UE is still in a connected state at this time, step S714 can be skipped and subsequent steps can be directly executed.

[0169] If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds, the UE determines whether it is in the CM-IDLE state X seconds after receiving the short message in step S711. If it is in the CM-IDLE state, step S714 is executed to initiate the Service Request process, establish a signaling connection with the AMF, and then execute subsequent processes; if the UE is in the CM-CONNECTED state X seconds after receiving the short message in step S711, step S714 can be skipped and subsequent steps can be executed directly.

[0170] If the TSN Activation Time indicates that the TSN time synchronization operation is performed after a specific time point, then after this specific time, the UE determines whether it is in the CM-IDLE state. If it is in the CM-IDLE state, step S714 is executed to initiate the Service Request process, establish a signaling connection with the AMF, and then execute subsequent processes; if the UE is still in a connected state at this specific time point, step S714 can be skipped and subsequent steps can be executed directly.

[0171] It should be noted that: it is assumed here that the UE time is synchronized with the 5G network time (this time synchronization is not TSN time synchronization (TSN time synchronization accuracy is in microseconds, and the synchronization error is less than 1ms), but the UE obtains the current local time from the network through NAS signaling (usually the synchronization accuracy is within 50ms to 1 second).

[0172] Step S715: UE initiates a PDU session establishment process.

[0173] In one embodiment of the present application, the UE may initiate a PDU session establishment process by referring to Section 4.3.2 of 3GPP protocol TS23.502. The PDU Session EstablishmentRequest in the N1 SM container initiated by the UE includes the following parameters: TSN Domain ID, UL or DL ​​TSNSynchronization, Activation, S-NSSAI, and DNN. The PDU session establishment request is transferred to the SMF via the AMF, and the N1 message sent to the AMF also includes the TSN Domain ID, S-NSSAI, and DNN. Then, after the PDU session is established, the SMF provides the S-NSSAI, DNN, and TSN Domain ID when registering with the UDM, so that the UDM knows that it has successfully triggered the UE to perform the TSN activation process by comparing the S-NSSAI, DNN, and TSN Domain ID.

[0174] In step S716a, UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE. In step S716b, UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE. If the TSN Domain ID indicates the 5G Time Domain, in step S716c, UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0175] In one embodiment of the present application, steps S716a to S716c may refer to 3GPP protocol TR23.700-020, at which time UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate TSN time synchronization processing for UE.

[0176] like Figure 8 As shown, according to an embodiment of the present application, the process of UE controlling the TSN time synchronization deactivation operation includes the following steps:

[0177] Step S801a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Figure 8 In step S801e, if the synchronization of the 5G time domain is being performed, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE. Among them, these messages of step S801a to step S801e are respectively used for TSN time synchronization operations of different TSN time domains.

[0178] Step S802: The AF sends a trigger delivery service request message to the NEF.

[0179] In one embodiment of the present application, the process of AF sending a trigger transmission service request message to NEF is similar to Figure 7 The step S702 shown in FIG. Figure 8 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Deactivation.

[0180] Step S803: NEF performs authorization and local control processing. The processing of this step is similar to Figure 7 Step S703 shown in FIG. 1 is not described in detail.

[0181] Step S804: NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 7 Step S704 shown in FIG. 1 is not described in detail again.

[0182] Step S805: UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 7 Step S705 shown in FIG. 1 is not described in detail.

[0183] Similar to the above description, since the Target ID may refer to a group of UEs, if the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S805 is a SUPI list and an optional MSISDN list. At this time, the subsequent steps S806 to S815 are to perform similar operations on each SUPI (ie, each UE) in the list.

[0184] Step S806: NEF sends a Nudm_UECM_Get request to UDM. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0185] Step S807: UDM sends a Nudm_UECM_Get response to NEF. The processing of this step is similar to Figure 7 Step S707 shown in FIG. 1 is not described in detail.

[0186] Step S808: NEF sends a submission trigger message to SMS-SC. The processing of this step is similar to Figure 7 Step S708 shown in FIG. 1 is not described in detail.

[0187] Step S809: SMS-SC returns a trigger submission confirmation message to NEF to confirm that SMS-SC has received the message from NEF.

[0188] Step S810: NEF sends a triggered delivery response to AF to confirm receipt of the triggered delivery service request message from AF.

[0189] Step S811, SMS-SC sends a short message to the target UE. The processing of this step is similar to Figure 7 The step S711 shown in FIG. 1 is not described in detail.

[0190] Step S812: SMS-SC sends a short message delivery report to NEF.

[0191] Step S813: NEF sends a trigger transmission notification to AF.

[0192] Among them, except for the above-mentioned points requiring special attention, the specific process of step S802 to step S813 can refer to step 2 to step 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0193] Step S814: The UE initiates a service request and establishes a signaling connection with the AMF.

[0194] In one embodiment of the present application, after the UE receives the TSN trigger container contained in the short message in step S811 (the TSN trigger container includes the aforementioned TSN Activation Time, TSN Domain ID, UL or DL ​​TSNSynchronization, Activation / Deactivation Indicator, S-NSSAI and DNN), if it is determined that the value of Activation / Deactivation Indicator is Deactivation, it is determined that the time indicated by TSN ActivationTime is the deactivation time.

[0195] If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed immediately, since the UE is still in a connected state at this time, step S814 can be skipped and subsequent steps can be directly executed.

[0196] If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds, the UE determines whether it is in the CM-IDLE state X seconds after receiving the short message in step S811. If it is in the CM-IDLE state, step S814 is executed to initiate the Service Request process, establish a signaling connection with the AMF, and then execute subsequent processes; if the UE is in the CM-CONNECTED state X seconds after receiving the short message in step S811, step S814 can be skipped and subsequent steps can be executed directly.

[0197] If the TSN Activation Time indicates that the TSN time synchronization operation is performed after a specific time point, then after this specific time, the UE determines whether it is in the CM-IDLE state. If it is in the CM-IDLE state, step S814 is executed, the Service Request process is initiated, a signaling connection with the AMF is established, and then subsequent processes are executed; if the UE is still in a connected state at this specific time point, step S814 can be skipped and subsequent steps can be executed directly.

[0198] It should be noted that: it is assumed here that the UE time is synchronized with the 5G network time (this time synchronization is not TSN time synchronization (TSN time synchronization accuracy is in microseconds, and the synchronization error is less than 1ms), but the UE obtains the current local time from the network through NAS signaling (usually the synchronization accuracy is within 50ms to 1 second).

[0199] Step S815: The UE initiates a PDU session release procedure or a PDU session modification procedure.

[0200] In one embodiment of the present application, the UE may initiate a PDU session release process (PDU Session Release) by referring to section 4.3.4.2 of 3GPP protocol TS23.502; the UE may initiate a PDU session modification process (PDU Session Modification) by referring to section 4.3.2.2 of 3GPP protocol TS23.502.

[0201] It should be noted that: since the same PDU session can support different TSN Domains, such as TSNDomain 1 / 2 / 3. If the last TSN Domain is deleted, the PDU session needs to be deleted. In this case, the UE initiates the PDU session release process; if only one TSN Domain is deleted and there are other TSNDomains, in this case, the UE initiates the PDU session modification process.

[0202] In one embodiment of the present application, when a PDU session is released, the SMF will release the functions of the UPF and NW-TT related to the PDU session, that is, the UPF / NW-TT stops forwarding the TSN synchronization data of all TSN Domains to the UE.

[0203] In one embodiment of the present application, the UE includes a new parameter in the initiated PDU Session Modification message (N1SM container (PDU Session Modification Request (Deactivation of TSN DomainID))), namely, the TSN Domain ID to be deactivated. After the SMF receives the TSN Domain ID deactivation, it will instruct the UPF / NW-TT to no longer forward the TSN synchronization data of this TSN Domain to the UE.

[0204] 2. Implementation example of SMS-SC controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

[0205] like Fig. 9 As shown, according to an embodiment of the present application, the process of SMS-SC controlling the TSN time synchronization activation operation includes the following steps:

[0206] Step S901a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Fig. 9 In step S901a, the DS-TT / UE shown in FIG9 sends an uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; in step S901b, the master clock of TSN domain 2 sends a downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages of step S901a and step S901b are respectively used to perform TSN time synchronization operations of different TSN time domains.

[0207] Step S902: The AF sends a trigger delivery service request message to the NEF.

[0208] In one embodiment of the present application, the specific process of step S902 can refer to step 2 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502. However, the trigger transmission service request message in the embodiment of the present application includes a target ID, user equipment trigger time information and a TSN trigger container. The user equipment trigger time information is used to indicate whether to trigger the UE to perform the TSN time synchronization operation immediately, or to trigger the UE to perform the TSN time synchronization operation after X seconds, or to trigger the UE to perform the TSN time synchronization operation at a specified time point. According to the configuration of the operator network, when it is decided to use SMS-SC to perform time control of user equipment triggering, when NEF sends a submission trigger message to SMS-SC, it sets the SMS Delivery Time in the submission trigger message and sets its value to the received user equipment trigger time information. The SMS Delivery Time is used to indicate whether SMS-SC sends a short message immediately, or sends a short message after X seconds of this message, or sends a short message at a specified time point. When the UE receives the triggered short message, it immediately performs the TSN time synchronization operation, thus realizing the TSN time synchronization operation at a specific time.

[0209] Wherein, Target ID refers to a specific UE, or a group of UEs. When Target ID refers to a specific UE, Target ID is usually SUPI or IMSI, GPSI or other external application identifiers. When Target ID refers to a group of UEs, Target ID is usually External Group ID.

[0210] The TSN trigger container contains the following parameters: TSN Domain ID, UL or DL ​​TSN Synchronization, Activation / Deactivation Indicator, S-NSSAI and DNN. Fig. 9 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0211] Step S903: NEF performs authorization and local control processing. The processing of this step is similar to Figure 7 Step S703 shown in FIG. 1 is not described in detail.

[0212] Step S904: NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 7 Step S704 shown in FIG. 1 is not described in detail again.

[0213] Step S905: UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 7 Step S705 shown in FIG. 1 is not described in detail.

[0214] Similar to the above description, since the Target ID may refer to a group of UEs, if the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S905 is a SUPI list and an optional MSISDN list. At this time, the subsequent steps S906 to S915 are to perform similar operations on each SUPI (ie, each UE) in the list.

[0215] Step S906: NEF sends a Nudm_UECM_Get request to UDM. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0216] Step S907: UDM sends a Nudm_UECM_Get response to NEF. The processing of this step is similar to Figure 7 Step S707 shown in FIG. 1 is not described in detail.

[0217] Step S908, NEF sends a submission trigger message to SMS-SC, and the submission trigger message contains the aforementioned SMS Delivery Time. Then, the processing of this step is similar to Figure 7 Step S708 shown in FIG. 1 is not described in detail.

[0218] Step S909: SMS-SC returns a trigger submission confirmation message to NEF to confirm that SMS-SC has received the message from NEF.

[0219] Step S910: NEF sends a triggered delivery response to AF to confirm receipt of the triggered delivery service request message from AF.

[0220] Step S911, SMS-SC transmits a short message to the target UE.

[0221] In one embodiment of the present application, if the SMS Delivery Time indicates that the SMS-SC receives the trigger message of the submission trigger in step S908 and indicates that the message is sent immediately (note: when there is no SMS Delivery Time parameter, it also means that the message is sent immediately), then step S911 is executed immediately; if the SMS Delivery Time indicates that the message is sent after X seconds, then step S911 is executed X seconds after the trigger message of the submission trigger is received in step S908; if the SMS Delivery Time indicates that the message is sent after a specific time point, then step S911 is executed after the specific time point. Then, the process of SMS-SC transmitting the short message to the target UE in this step is similar to Figure 7 The step S711 shown in FIG. 1 is not described in detail.

[0222] Step S912: SMS-SC sends a short message delivery report to NEF.

[0223] Step S913: NEF sends a trigger transmission notification to AF.

[0224] Among them, in addition to the above-mentioned points that require special attention, the specific process of steps S902 to S913 can refer to steps 2 to 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0225] Step S914: UE initiates a PDU session establishment process. The processing of this step is similar to Figure 7 Step S715 shown in FIG. 1 is not repeated here.

[0226] In step S915a, UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE. In step S915b, UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE. If the TSN Domain ID indicates the 5G Time Domain, in step S915c, UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0227] In one embodiment of the present application, steps S915a to S915c may refer to 3GPP protocol TR23.700-020, at which time UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate TSN time synchronization processing for UE.

[0228] like Fig.10As shown, according to an embodiment of the present application, the process of SMS-SC controlling the TSN time synchronization deactivation operation includes the following steps:

[0229] Step S1001a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Fig.10 DS-TT / UE shown in the figure) sends the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; step S1001b, the master clock of TSN domain 2 sends the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; step S1001c, UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; step S1001d, UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; step S1001e, if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. Among them, these messages from step S1001a to step S1001e are used for UE to perform TSN time synchronization operations in different TSN time domains.

[0230] Step S1002: The AF sends a trigger delivery service request message to the NEF.

[0231] In one embodiment of the present application, the process of AF sending a trigger transmission service request message to NEF is similar to Fig. 9 The step S902 shown in FIG. Fig.10 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Deactivation.

[0232] Step S1003: NEF performs authorization and local control processing. The processing of this step is similar to Figure 7 Step S703 shown in FIG. 1 is not described in detail.

[0233] Step S1004: NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 7 Step S704 shown in FIG. 1 is not described in detail again.

[0234] Step S1005, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 7 Step S705 shown in FIG. 1 is not described in detail.

[0235] Similar to the above description, since the Target ID may refer to a group of UEs, if the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S1005 is a SUPI list and an optional MSISDN list. At this time, the subsequent steps S1006 to S1014 are to perform similar operations on each SUPI (ie, each UE) in the list.

[0236] Step S1006: NEF sends a Nudm_UECM_Get request to UDM. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0237] Step S1007, UDM sends a Nudm_UECM_Get response to NEF. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0238] Step S1008: NEF sends a submission trigger message to SMS-SC. The submission trigger message contains the SMS Delivery Time. For setting the SMS Delivery Time, see Fig. 9 The description of step S902 in FIG. 1 is omitted. Then, the processing of this step is similar to Figure 7 Step S708 shown in FIG. 1 is not described in detail.

[0239] Step S1009, the SMS-SC returns a trigger submission confirmation message to the NEF to confirm that the SMS-SC has received the message from the NEF.

[0240] Step S1010: NEF sends a triggered delivery response to AF to confirm receipt of the triggered delivery service request message from AF.

[0241] Step S1011, SMS-SC transmits a short message to the target UE.

[0242] In one embodiment of the present application, if the SMS Delivery Time indication in the submission trigger message received by SMS-SC in step S1008 indicates immediate sending (note: when there is no SMS Delivery Time parameter, it also means immediate sending), step S1011 is immediately executed; if the SMS Delivery Time indication is to be sent after X seconds, step S1011 is executed X seconds after the submission trigger message is received in step S1008; if the SMS Delivery Time indication is to be sent after a specific time point, step S1011 is executed after the specific time point. Then, the processing process of this step is similar to Figure 7The step S711 shown in FIG. 1 is not described in detail.

[0243] Step S1012: SMS-SC sends a short message delivery report to NEF.

[0244] Step S1013: NEF sends a trigger transmission notification to AF.

[0245] Among them, in addition to the above-mentioned points that require special attention, the specific process of steps S1002 to S1013 can refer to steps 2 to 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0246] Step S1014: The UE initiates a PDU session release process or a PDU session modification process.

[0247] In one embodiment of the present application, the UE-initiated PDU session release process may refer to section 4.3.4.2 of 3GPP protocol TS23.502; the UE-initiated PDU session modification process may refer to section 4.3.2.2 of 3GPP protocol TS23.502.

[0248] It should be noted that: since the same PDU session can support different TSN Domains, such as TSNDomain 1 / 2 / 3. If the last TSN Domain is deleted, the PDU session needs to be deleted. In this case, the UE initiates the PDU session release process; if only one TSN Domain is deleted and there are other TSNDomains, in this case, the UE initiates the PDU session modification process.

[0249] In one embodiment of the present application, when a PDU session is released, the SMF will release the functions of the UPF and NW-TT related to the PDU session, that is, the UPF / NW-TT stops forwarding the TSN synchronization data of all TSN Domains to the UE.

[0250] In one embodiment of the present application, the UE includes a new parameter in the initiated PDU Session Modification message (N1SM container (PDU Session Modification Request (Deactivation of TSN DomainID))), namely, the TSN Domain ID to be deactivated. After the SMF receives the TSN Domain ID deactivation, it will instruct the UPF / NW-TT to no longer forward the TSN synchronization data of this TSN Domain to the UE.

[0251] During the PDU session deletion or PDU session modification process, SMF registers with UDM and notifies it to delete the TSN Domain ID corresponding to S-NSSAI and DNN. In this way, UDM knows that it has successfully triggered the UE to perform the TSN deactivation process by comparing S-NSSAI, DNN and TSN Domain ID.

[0252] 3. Implementation example of NEF controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

[0253] like Fig.11 As shown, according to an embodiment of the present application, the process of NEF controlling the TSN time synchronization activation operation includes the following steps:

[0254] Step S1101a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Fig.11 In the example shown in FIG. 1 , the DS-TT / UE) sends an uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; in step S1101b, the master clock of TSN domain 2 sends a downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages of step S1101a and step S1101b are respectively used to perform TSN time synchronization operations of different TSN time domains.

[0255] Step S1102: The AF sends a trigger delivery service request message to the NEF.

[0256] In one embodiment of the present application, the specific process of step S1102 can refer to step 2 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502. However, the trigger transmission service request message in the embodiment of the present application includes a target ID, user equipment trigger time information and a TSN trigger container. The user equipment trigger time information is used to indicate whether to trigger the UE to perform the TSN time synchronization operation immediately, or to trigger the UE to perform the TSN time synchronization operation after X seconds, or to trigger the UE to perform the TSN time synchronization operation at a specified time point. According to the configuration of the operator network, when it is decided to use NEF to perform time control of user equipment triggering, the NEF determines whether to send a submission trigger message to the SMS-SC immediately, or to send a submission trigger message to the SMS-SC after X seconds, or to send a submission trigger message to the SMS-SC at a specified time point according to the user equipment trigger time information.

[0257] Among them, Target ID refers to a specific UE, or a group of UEs. When the Target ID is a specific UE, the Target ID is usually SUPI or IMSI, GPSI or can be other external application identifiers. When the Target ID refers to a group of UEs, the Target ID is usually External Group ID. The TSN trigger container contains the following parameters: TSN Domain ID, UL or DL ​​TSN Synchronization, Activation / DeactivationIndicator, S-NSSAI and DNN. Activation / Deactivation Indicator

[0258] Step S1103: NEF performs authorization and local control processing. The processing of this step is similar to Figure 7 Step S703 shown in FIG. 1 is not described in detail.

[0259] Step S1104, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 7 Step S704 shown in FIG. 1 is not described in detail again.

[0260] Step S1105, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 7 Step S705 shown in FIG. 1 is not described in detail.

[0261] Similar to the above description, since the Target ID may refer to a group of UEs, if the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S1105 is a SUPI list and an optional MSISDN list. At this time, the subsequent steps S1106 to S1115 are to perform similar operations on each SUPI (ie, each UE) in the list.

[0262] Step S1106: NEF sends a Nudm_UECM_Get request to UDM. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0263] Step S1107, UDM sends a Nudm_UECM_Get response to NEF. The processing of this step is similar to Figure 7 Step S707 shown in FIG. 1 is not described in detail.

[0264] Step S1108: NEF sends a submission trigger message to SMS-SC.

[0265] In one embodiment of the present application, if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1102 indicates that the user equipment triggering operation is to be performed immediately, then step S1108 is executed immediately; if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1102 indicates that the user equipment triggering operation is to be performed after X seconds, then step S1108 is executed X seconds after the triggered transmission service request message is received in step S1102; if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1102 indicates that the user equipment triggering operation is to be performed after a specific time point, then step S1108 is executed after this specific time point. Then, the processing process of this step is similar to Figure 7 Step S708 shown in FIG. 1 is not described in detail.

[0266] Step S1109, the SMS-SC returns a trigger submission confirmation message to the NEF to confirm that the SMS-SC has received the message from the NEF.

[0267] Step S1110 , the NEF sends a triggered delivery response to the AF to confirm receipt of the triggered delivery service request message from the AF.

[0268] Step S1111, SMS-SC transmits a short message to the target UE. The processing of this step is similar to Figure 7 The step S711 shown in FIG. 1 is not described in detail.

[0269] Step S1112: SMS-SC sends a short message delivery report to NEF.

[0270] Step S1113: NEF sends a trigger transmission notification to AF.

[0271] Among them, in addition to the above-mentioned points that require special attention, the specific process of steps S1102 to S1113 can refer to steps 2 to 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0272] Step S1114: UE initiates a PDU session establishment process. The processing of this step is similar to Figure 7 Step S715 shown in FIG. 1 is not repeated here.

[0273] In step S1115a, UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE. In step S1115b, UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE. If the TSN Domain ID indicates the 5G Time Domain, in step S1115c, UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0274] In one embodiment of the present application, steps S1115a to S1115c may refer to 3GPP protocol TR23.700-020, at which time UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate TSN time synchronization processing for UE.

[0275] like Fig.12 As shown, according to an embodiment of the present application, the process of NEF controlling the TSN time synchronization deactivation operation includes the following steps:

[0276] Step S1201a, the master clock of TSN domain 1 is transmitted through a UE (the UE is not Fig.12DS-TT / UE shown in the figure) sends the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; step S1201b, the master clock of TSN domain 2 sends the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; step S1201c, UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; step S1201d, UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; step S1201e, if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. Among them, these messages from step S1201a to step S1201e are used for UE to perform TSN time synchronization operations in different TSN time domains.

[0277] Step S1202: The AF sends a trigger delivery service request message to the NEF.

[0278] In one embodiment of the present application, the process of AF sending a trigger transmission service request message to NEF is similar to Fig.11 The step S1102 shown in FIG. Fig.12 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Deactivation.

[0279] Step S1203: NEF performs authorization and local control processing. The processing of this step is similar to Figure 7 Step S703 shown in FIG. 1 is not described in detail.

[0280] Step S1204: NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 7 Step S704 shown in FIG. 1 is not described in detail again.

[0281] Step S1205, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 7 Step S705 shown in FIG. 1 is not described in detail.

[0282] Similar to the above description, since the Target ID may refer to a group of UEs, if the Target ID refers to a group of UEs, the Target ID is usually an External Group ID, and the response of step S1205 is a SUPI list and an optional MSISDN list. At this time, the subsequent steps S1206 to S1214 are to perform similar operations on each SUPI (ie, each UE) in the list.

[0283] Step S1206, NEF sends a Nudm_UECM_Get request to UDM. The processing of this step is similar to Figure 7 Step S706 shown in FIG. 1 is not described in detail.

[0284] Step S1207, UDM sends a Nudm_UECM_Get response to NEF. The processing of this step is similar to Figure 7 Step S707 shown in FIG. 1 is not described in detail.

[0285] Step S1208: NEF sends a submission trigger message to SMS-SC.

[0286] In one embodiment of the present application, if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1202 indicates that the user equipment triggering operation is to be performed immediately, then step S1208 is executed immediately; if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1202 indicates that the user equipment triggering operation is to be performed after X seconds, then step S1208 is executed X seconds after the triggered transmission service request message is received in step S1202; if the user equipment triggering time information in the triggered transmission service request message received by the NEF in step S1202 indicates that the user equipment triggering operation is to be performed after a specific time point, then step S1208 is executed after this specific time point. Then, the processing process of this step is similar to Figure 7 Step S708 shown in FIG. 1 is not described in detail.

[0287] Step S1209: SMS-SC returns a trigger submission confirmation message to NEF to confirm that SMS-SC has received the message from NEF.

[0288] Step S1210: NEF sends a triggered delivery response to AF to confirm receipt of the triggered delivery service request message from AF.

[0289] Step S1211, SMS-SC transmits a short message to the target UE. The processing of this step is similar to Figure 7 The step S711 shown in FIG. 1 is not described in detail.

[0290] Step S1212: SMS-SC sends a short message delivery report to NEF.

[0291] Step S1213: NEF sends a trigger transmission notification to AF.

[0292] Among them, in addition to the above-mentioned points that require special attention, the specific process of steps S1202 to S1213 can refer to steps 2 to 13 in section 4.13.2.2 The procedure of "Application Triggering" Service in 3GPP protocol TS23.502.

[0293] Step S1214: The UE initiates a PDU session release process or a PDU session modification process.

[0294] In one embodiment of the present application, the UE-initiated PDU session release process may refer to section 4.3.4.2 of 3GPP protocol TS23.502; the UE-initiated PDU session modification process may refer to section 4.3.2.2 of 3GPP protocol TS23.502.

[0295] It should be noted that: since the same PDU session can support different TSN Domains, such as TSNDomain 1 / 2 / 3. If the last TSN Domain is deleted, the PDU session needs to be deleted. In this case, the UE initiates the PDU session release process; if only one TSN Domain is deleted and there are other TSNDomains, in this case, the UE initiates the PDU session modification process.

[0296] In one embodiment of the present application, when a PDU session is released, the SMF will release the functions of the UPF and NW-TT related to the PDU session, that is, the UPF / NW-TT stops forwarding the TSN synchronization data of all TSN Domains to the UE.

[0297] In one embodiment of the present application, the UE includes a new parameter in the initiated PDU Session Modification message (N1SM container (PDU Session Modification Request (Deactivation of TSN DomainID))), namely, the TSN Domain ID to be deactivated. After the SMF receives the TSN Domain ID deactivation, it will instruct the UPF / NW-TT to no longer forward the TSN synchronization data of this TSN Domain to the UE.

[0298] During the PDU session deletion or PDU session modification process, SMF registers with UDM and notifies it to delete the TSN Domain ID corresponding to S-NSSAI and DNN. In this way, UDM knows that it has successfully triggered the UE to perform the TSN deactivation process by comparing S-NSSAI, DNN and TSN Domain ID.

[0299] The technical solution of the above embodiment of the present application can effectively control the time synchronization operation (including TSN synchronization activation and deactivation) of a user device or a group of user devices, and can support uplink and downlink TSN time synchronization, as well as synchronization of the 5G network time domain. Since TSC communication is applied to the field of real-time industrial production, the technical solution of the embodiment of the present application has significant market value.

[0300] The following describes an apparatus embodiment of the present application, which can be used to execute the time synchronization method in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the above-mentioned embodiment of the time synchronization method of the present application.

[0301] Fig.13 A block diagram of a time synchronization device according to an embodiment of the present application is shown. The communication device may be arranged inside a NEF entity.

[0302] Reference Fig.13 As shown, a time synchronization device 1300 according to an embodiment of the present application includes: a first receiving unit 1302 and a first sending unit 1304 .

[0303] Among them, the first receiving unit 1302 is configured to receive a triggered transmission service request message sent by an application function entity AF, wherein the triggered transmission service request message includes an identifier of a target user device and a time-sensitive network TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition; the first sending unit 1304 is configured to send a submission trigger message to a short message service center SMS-SC, and the submission trigger message is used to request the SMS-SC to send a short message containing the TSN trigger container to the target user device, so that the target user device performs a TSN time synchronization operation based on the TSN trigger container.

[0304] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 1304 is also configured to: convert the identifier of the target user device from an external identifier to a network identifier, wherein, if the identifier of the target user device includes the external identifier of a single user device, the external identifier of the single user device is converted into the network identifier of the single user device; if the identifier of the target user device includes external group identifiers corresponding to multiple user devices, the external group identifier is converted into a list of network identifiers of the multiple user devices.

[0305] In some embodiments of the present application, based on the aforementioned scheme, if the identifier of the target user equipment includes external group identifiers corresponding to multiple user equipment, the first sending unit 1304 is configured to: send a submission trigger message to the SMS-SC for each user equipment in the network identifier list.

[0306] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 1304 is configured to: when it is determined according to the configuration of the operator network that the network open function entity NEF controls the time for the target user equipment to perform the TSN time synchronization operation, if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is performed immediately, or the trigger transmission service request message does not contain the user equipment trigger time information, then immediately send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is performed after a predetermined time, then send a submission trigger message to the SMS-SC after receiving the predetermined time of the trigger transmission service request message; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is performed at a specified time point, then when the current time reaches the specified time point, send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is performed at a specified time point, then when the current time reaches the specified time point, send a submission trigger message to the SMS-SC; if the user equipment trigger time information contained in the trigger transmission service request message indicates that the user equipment trigger operation is performed at a specified time point, but the current time has exceeded the specified time point, then immediately send a submission trigger message to the SMS-SC.

[0307] In some embodiments of the present application, based on the above scheme, the first sending unit 1304 is configured to: when it is determined according to the configuration of the operator network that the SMS-SC controls the time of the TSN time synchronization operation of the target user equipment, send a submission trigger message containing short message transmission time information to the SMS-SC, and the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message; or send a submission trigger message containing TSN activation time information to the SMS-SC, and the TSN activation time information is set in the TSN trigger container. .

[0308] In some embodiments of the present application, based on the aforementioned scheme, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user device to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user device to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user device to perform a TSN time synchronization operation at a specified time point; if the TSN trigger container does not contain the TSN activation time information, the TSN trigger container is used to instruct the target user device to perform a TSN time synchronization operation immediately after receiving the short message.

[0309] In some embodiments of the present application, based on the aforementioned scheme, if the submission trigger message contains short message transmission time information, the short message transmission time information is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message, or to instruct the SMS-SC to send the short message after a predetermined time after receiving the submission trigger message, or to instruct the SMS-SC to send the short message at a specified time point, wherein the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message; if the submission trigger message does not contain the short message transmission time information, the submission trigger message is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message.

[0310] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container includes the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0311] Fig.14 A block diagram of a time synchronization device according to an embodiment of the present application is shown. The communication device may be arranged inside a UE.

[0312] Reference Fig.14 As shown, a time synchronization device 1400 according to an embodiment of the present application includes: a second receiving unit 1402 and a processing unit 1404 .

[0313] Among them, the second receiving unit 1402 is configured to receive a short message sent by SMS-SC, the short message contains a TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition; the processing unit 1404 is configured to perform a TSN time synchronization operation based on the information contained in the TSN trigger container.

[0314] In some embodiments of the present application, based on the above scheme, the TSN trigger container contains second field information for indicating whether it is an activation operation or a deactivation operation; the processing unit 1404 is configured to: if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, then immediately establish a PDU (Protocol Data Unit, protocol data unit) session for TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation after the scheduled time of receiving the short message, then a PDU session is established after the scheduled time of receiving the short message to perform the TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, a PDU session is established to perform the TSN time synchronization operation; if the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs the TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, then a PDU session is immediately established to perform the TSN time synchronization operation; if the TSN trigger container does not contain TSN activation time information, and the second field information indicates an activation operation, then a PDU session is immediately established to perform the TSN time synchronization operation.

[0315] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 1404 establishes a PDU session to perform a TSN time synchronization operation after receiving the short message at the scheduled time, including: after receiving the short message at the scheduled time, detecting whether the user device is in an idle state; if the user device is detected to be in an idle state, executing the service request process, and after establishing a signaling connection with the AMF, establishing a PDU session to perform a TSN time synchronization operation; if the user device is detected to be in a connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0316] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 1404 establishes a PDU session to perform a TSN time synchronization operation when the current time reaches the specified time point, including: when the current time reaches the specified time point, detecting whether the user equipment is in an idle state; if it is detected that the user equipment is in an idle state, executing the service request process, and after establishing a signaling connection with the access and mobility management function entity AMF, establishing a PDU session to perform a TSN time synchronization operation; if it is detected that the user equipment is in a connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0317] In some embodiments of the present application, based on the aforementioned scheme, the PDU session establishment request sent when establishing the PDU session includes the following parameters, and the following parameters and parameter values ​​come from the TSN trigger container contained in the short message: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating that it is an activation operation, network slice information, and data network name.

[0318] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container contains second field information for indicating whether it is an activation operation or a deactivation operation; the processing unit 1404 is configured as follows: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, then the PDU session is released immediately or a PDU session modification process is initiated immediately; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation after a predetermined time after receiving the short message, then the PDU session is released after the predetermined time after receiving the short message or a PDU session modification process is initiated. process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, the PDU session is released or the PDU session modification process is initiated; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, the PDU session is immediately released or the PDU session modification process is initiated; if the TSN trigger container does not contain TSN activation time information, and the second field information indicates a deactivation operation, the PDU session is immediately released or the PDU session modification process is initiated.

[0319] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 1404 initiates a PDU session modification process, including: generating a PDU session modification request, the PDU session modification request including an identifier of a target TSN clock domain that needs to be deactivated; sending the PDU session modification request to the SMF, so that the SMF instructs the user plane functional entity to stop forwarding the TSN time synchronization data of the target TSN clock domain to the user equipment that sends the PDU session modification request.

[0320] In some embodiments of the present application, based on the aforementioned scheme, the PDU session established by the user equipment supports time synchronization operations of multiple TSN clock domains; the processing unit 1404 is configured to: if the target TSN clock domain, network slice information and data network name contained in the TSN trigger container that need to be deactivated respectively match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, and the target TSN clock domain indicated by the TSN trigger container that needs to be deactivated is not the last TSN clock domain in the PDU session, then initiate the PDU session modification process; if the target TSN clock domain, network slice information and data network name contained in the TSN trigger container that need to be deactivated respectively match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, and the target TSN clock domain indicated by the TSN trigger container that needs to be deactivated is the last TSN clock domain in the PDU session, then release the PDU session.

[0321] In some embodiments of the present application, based on the aforementioned scheme, the TSN trigger container includes the following information: TSN clock domain identifier, first field information for indicating whether it is uplink TSN synchronization or downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and data network name.

[0322] Fig.15 A block diagram of a time synchronization device according to an embodiment of the present application is shown. The communication device may be arranged inside an SMS-SC.

[0323] Reference Fig.15 As shown, a time synchronization device 1500 according to an embodiment of the present application includes: a third receiving unit 1502 and a second sending unit 1504 .

[0324] Among them, the third receiving unit 1502 is configured to receive a submission trigger message, and the submission trigger message is used to request to send a short message containing a TSN trigger container to the target user equipment, and the TSN trigger container is used to indicate the TSN time synchronization trigger condition; the second sending unit 1504 is configured to generate the short message and send the short message to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container.

[0325] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 1504 is configured as: if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent immediately, or the submission trigger message does not contain the short message transmission time information, then the short message is immediately transmitted to the target user equipment; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent after a predetermined time, then the short message is transmitted to the target user equipment after the predetermined time of receiving the submission trigger message; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, then when the current time reaches the specified time point, the short message is transmitted to the target user equipment; if the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, but the current time has exceeded the specified time point, then the short message is immediately transmitted to the target user equipment.

[0326] Fig.16 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0327] It should be noted that Fig.16 The computer system 1600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0328] like Fig.16 As shown, the computer system 1600 includes a central processing unit (CPU) 1601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1602 or the program loaded from the storage part 1608 to the random access memory (RAM) 1603, such as executing the method described in the above embodiment. In RAM 1603, various programs and data required for system operation are also stored. CPU 1601, ROM 1602 and RAM 1603 are connected to each other through bus 1604. Input / output (I / O) interface 1605 is also connected to bus 1604.

[0329] The following components are connected to the I / O interface 1605: an input section 1606 including a keyboard, a mouse, etc.; an output section 1607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to the I / O interface 1605 as needed. A removable medium 1611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1610 as needed so that a computer program read therefrom is installed into the storage section 1608 as needed.

[0330] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1609, and / or installed from a removable medium 1611. When the computer program is executed by a central processing unit (CPU) 1601, various functions defined in the system of the present application are executed.

[0331] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0332] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0333] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0334] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0335] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0336] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0337] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0338] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A time synchronization method, characterized in that: include: Receiving a triggered transmission service request message sent by an application function entity AF, wherein the triggered transmission service request message includes an identifier of a target user equipment and a time sensitive network TSN trigger container, wherein the TSN trigger container is used to indicate a TSN time synchronization trigger condition; Sending a submission trigger message to a short message service center SMS-SC, wherein the submission trigger message is used to request the SMS-SC to send a short message containing the TSN trigger container to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container; Wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; If the TSN trigger container does not include the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message.

2. The time synchronization method according to claim 1, characterized in that: Before sending the submission trigger message to the short message service center SMS-SC, the time synchronization method further includes: converting the identifier of the target user equipment from an external identifier to a network identifier, wherein: If the identifier of the target user equipment includes an external identifier of a single user equipment, converting the external identifier of the single user equipment into a network identifier of the single user equipment; If the identifier of the target user equipment includes external group identifiers corresponding to multiple user equipments, the external group identifier is converted into a list of network identifiers of the multiple user equipments.

3. The time synchronization method according to claim 2, characterized in that: If the identifier of the target user equipment includes external group identifiers corresponding to multiple user equipments, sending a submission trigger message to a short message service center SMS-SC includes: For each user equipment in the network identification list, a submission trigger message is sent to the SMS-SC respectively.

4. The time synchronization method according to claim 1, characterized in that: If it is determined according to the operator network configuration that the network open function entity NEF controls the time of the target user equipment to perform the TSN time synchronization operation, a submission trigger message is sent to the short message service center SMS-SC, including: If the user equipment triggering time information included in the triggering transmission service request message indicates to immediately perform the user equipment triggering operation, or the triggering transmission service request message does not include the user equipment triggering time information, immediately sending a submit triggering message to the SMS-SC; If the user equipment triggering time information contained in the triggering transmission service request message indicates that the user equipment triggering operation is to be performed after a predetermined time, sending a submit triggering message to the SMS-SC after the predetermined time of receiving the triggering transmission service request message; If the user equipment triggering time information contained in the triggering transmission service request message indicates that the user equipment triggering operation is to be performed at a specified time point, then when the current time reaches the specified time point, a submit triggering message is sent to the SMS-SC; If the user equipment triggering time information contained in the triggering service transmission request message indicates that the user equipment triggering operation is to be performed at a specified time point, but the current time has exceeded the specified time point, a submit triggering message is immediately sent to the SMS-SC.

5. The time synchronization method according to claim 1, characterized in that: Send a submission trigger message to the short message service center SMS-SC, including: If it is determined according to the configuration of the operator network that the SMS-SC controls the time of the TSN time synchronization operation of the target user equipment, a submission trigger message containing short message delivery time information is sent to the SMS-SC, and the short message delivery time information comes from the user equipment trigger time information in the trigger delivery service request message; or A submission trigger message including TSN activation time information is sent to the SMS-SC, and the TSN activation time information is set in the TSN trigger container.

6. The time synchronization method according to claim 1, characterized in that: If the submission trigger message includes short message transmission time information, the short message transmission time information is used to instruct the SMS-SC to send the short message immediately after receiving the submission trigger message, or to instruct the SMS-SC to send the short message after a predetermined time after receiving the submission trigger message, or to instruct the SMS-SC to send the short message at a specified time point, wherein the short message transmission time information comes from the user equipment trigger time information in the trigger transmission service request message; If the submit trigger message does not include the short message transmission time information, the submit trigger message is used to instruct the SMS-SC to send the short message immediately after receiving the submit trigger message.

7. The time synchronization method according to any one of claims 1 to 6, characterized in that: The TSN trigger container includes the following information: TSN clock domain identifier, first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, second field information used to indicate whether it is an activation operation or a deactivation operation, network slice information, and data network name.

8. A time synchronization method, characterized in that: include: Receive a short message sent by SMS-SC, wherein the short message includes a TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition; Performing a TSN time synchronization operation based on the information contained in the TSN trigger container; Wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; If the TSN trigger container does not include the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message.

9. The time synchronization method according to claim 8, characterized in that: The TSN trigger container includes second field information for indicating whether it is an activation operation or a deactivation operation; Performing a TSN time synchronization operation based on the information contained in the TSN trigger container includes: If the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, a protocol data unit PDU session is immediately established to perform a TSN time synchronization operation; If the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation after receiving the short message at a predetermined time, then a PDU session is established to perform a TSN time synchronization operation after receiving the short message at a predetermined time; If the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, a PDU session is established to perform a TSN time synchronization operation; If the second field information indicates an activation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, a PDU session is immediately established to perform a TSN time synchronization operation; If the TSN trigger container does not include TSN activation time information, and the second field information indicates an activation operation, a PDU session is immediately established to perform a TSN time synchronization operation.

10. The time synchronization method according to claim 9, characterized in that: Establishing a PDU session to perform a TSN time synchronization operation after receiving the short message at a predetermined time, including: After a predetermined time of receiving the short message, detecting whether the user equipment is in an idle state; If it is detected that the user equipment is in an idle state, the service request process is executed. After establishing a signaling connection with the access and mobility management function entity AMF, a PDU session is established to perform TSN time synchronization operations; If it is detected that the user equipment is in a connected state, a PDU session is directly established to perform TSN time synchronization operations.

11. The time synchronization method according to claim 9, characterized in that: When the current time reaches the specified time point, a PDU session is established to perform a TSN time synchronization operation, including: When the current time reaches the specified time point, detecting whether the user equipment is in an idle state; If it is detected that the user equipment is in an idle state, the service request process is executed. After establishing a signaling connection with the access and mobility management function entity AMF, a PDU session is established to perform TSN time synchronization operations; If it is detected that the user equipment is in a connected state, a PDU session is directly established to perform TSN time synchronization operations.

12. The time synchronization method according to claim 9, characterized in that: The PDU session establishment request sent when establishing the PDU session includes the following parameters, and the following parameters and parameter values ​​are derived from the TSN trigger container included in the short message: TSN clock domain identifier, first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, second field information used to indicate whether it is an activation operation, network slice information, and data network name.

13. The time synchronization method according to claim 8, characterized in that: The TSN trigger container includes second field information for indicating whether it is an activation operation or a deactivation operation; Performing a TSN time synchronization operation based on the information contained in the TSN trigger container includes: If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the short message, the PDU session is immediately released or a PDU session modification process is immediately initiated; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the short message, then the PDU session is released or a PDU session modification process is initiated after the scheduled time of receiving the short message; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, the PDU session is released or a PDU session modification process is initiated; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the TSN trigger container indicates that the user equipment performs a TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, the PDU session is immediately released or a PDU session modification process is initiated; If the TSN trigger container does not include TSN activation time information, and the second field information indicates a deactivation operation, the PDU session is immediately released or a PDU session modification process is initiated.

14. The time synchronization method according to claim 13, characterized in that: Initiate the PDU session modification process, including: Generate a PDU session modification request, wherein the PDU session modification request includes an identifier of a target TSN clock domain that needs to be deactivated; The PDU session modification request is sent to a session management function entity SMF, so that the SMF instructs the user plane function entity to stop forwarding the TSN time synchronization data of the target TSN clock domain to the user equipment that sends the PDU session modification request.

15. The time synchronization method according to claim 13, characterized in that: The PDU session established by the user equipment supports time synchronization operations in multiple TSN clock domains; If the target TSN clock domain, network slice information and data network name to be deactivated contained in the TSN trigger container match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, respectively, and the target TSN clock domain to be deactivated indicated by the TSN trigger container is not the last TSN clock domain in the PDU session, the PDU session modification process is initiated; If the target TSN clock domain, network slice information and data network name contained in the TSN trigger container that need to be deactivated respectively match the TSN clock domain, network slice information and data network name of the PDU session established by the target user equipment, and the target TSN clock domain indicated by the TSN trigger container that needs to be deactivated is the last TSN clock domain in the PDU session, the PDU session is released.

16. The time synchronization method according to any one of claims 8 to 15, characterized in that: The TSN trigger container includes the following information: TSN clock domain identifier, first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, second field information used to indicate whether it is an activation operation or a deactivation operation, network slice information, and data network name.

17. A time synchronization method, characterized in that: include: Receive a submission trigger message, the submission trigger message is used to request to send a short message containing a TSN trigger container to a target user equipment, the TSN trigger container is used to indicate a TSN time synchronization trigger condition; wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; if the TSN trigger container does not contain the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message; The short message is generated and sent to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container.

18. The time synchronization method according to claim 17, characterized in that: Sending the short message to the target user equipment includes: If the short message transmission time information included in the submit trigger message indicates that the short message is to be sent immediately, or the submit trigger message does not include the short message transmission time information, then immediately transmit the short message to the target user equipment; If the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent after a predetermined time, transmitting the short message to the target user equipment after the predetermined time of receiving the submission trigger message; If the short message transmission time information contained in the submission trigger message indicates that the short message is to be sent at a specified time point, then when the current time reaches the specified time point, the short message is transmitted to the target user equipment; If the short message transmission time information contained in the submit trigger message indicates that the short message is to be sent at a specified time point, but the current time has exceeded the specified time point, the short message is immediately transmitted to the target user equipment.

19. A time synchronization device, characterized in that: include: A first receiving unit is configured to receive a triggered transmission service request message sent by an application function entity AF, wherein the triggered transmission service request message includes an identifier of a target user equipment and a time sensitive network TSN trigger container, wherein the TSN trigger container is used to indicate a TSN time synchronization trigger condition; A first sending unit is configured to send a submission trigger message to a short message service center SMS-SC, wherein the submission trigger message is used to request the SMS-SC to send a short message containing the TSN trigger container to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container; Wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; If the TSN trigger container does not include the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message.

20. A time synchronization device, characterized in that: include: A second receiving unit is configured to receive a short message sent by the SMS-SC, wherein the short message includes a TSN trigger container, and the TSN trigger container is used to indicate a TSN time synchronization trigger condition; a processing unit configured to perform a TSN time synchronization operation based on information contained in the TSN trigger container; Wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; If the TSN trigger container does not include the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message.

21. A time synchronization device, characterized in that: include: A third receiving unit is configured to receive a submission trigger message, wherein the submission trigger message is used to request to send a short message including a TSN trigger container to a target user equipment, wherein the TSN trigger container is used to indicate a TSN time synchronization trigger condition; A second sending unit is configured to generate the short message and send the short message to the target user equipment, so that the target user equipment performs a TSN time synchronization operation based on the TSN trigger container; Wherein, if the TSN trigger container contains TSN activation time information, the TSN activation time information is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation after a predetermined time after receiving the short message, or to instruct the target user equipment to perform a TSN time synchronization operation at a specified time point; If the TSN trigger container does not include the TSN activation time information, the TSN trigger container is used to instruct the target user equipment to perform a TSN time synchronization operation immediately after receiving the short message.

22. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the time synchronization method according to any one of claims 1 to 18 is implemented.

23. An electronic device, characterized in that: include: one or more processors; A storage device, used to store one or more computer programs, when the one or more computer programs are executed by the one or more processors, enables the one or more processors to implement the time synchronization method according to any one of claims 1 to 18.

24. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. A processor of an electronic device reads and executes the computer program from the computer-readable storage medium, so that the electronic device executes the time synchronization method according to any one of claims 1 to 18.