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

Through the collaborative work between AF, NEF, UDM and AMF, TSN configuration creation request and activation request are used to achieve time synchronization control of user equipment in the 5G system, solving the problem of time synchronization control in the 5G system and ensuring time Synchronization accuracy and consistency.

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

Patent Information

Application Number
CN202010210082.8
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 5G systems, how to effectively control the time synchronization of user equipment has become an urgent problem to be solved, especially in industrial automation manufacturing applications that support precise time control.

Method used

The AF sends a TSN configuration creation request to NEF, NEF sends a TSN authorization request to UDM, UDM sends a TSN activation request to AMF, and AMF sends control signaling to the target user equipment to implement TSN time synchronization operation. This method contains the identification of the target user equipment and information used to indicate TSN time synchronization triggering conditions, including TSN clock domain identification, uplink or downlink synchronization, activation or deactivation operations, network slicing information and data network name, and if necessary Specify synchronization time.

Benefits of technology

It achieves effective control over the time synchronization operation of user equipment, ensures the accuracy and consistency of TSN time synchronization in the 5G system, and is suitable for a variety of time synchronization requirements, including synchronization operations at immediate, scheduled time and designated time points.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111490842B
    Figure CN111490842B
Patent Text Reader

Abstract

The embodiments of the present application provide a time synchronization method, apparatus, computer-readable medium and electronic device. The time synchronization method includes: receiving a TSN configuration creation request sent by an AF, wherein the TSN configuration creation request includes an identifier of a target user device and first information indicating a TSN time synchronization trigger condition; sending a TSN authorization request to the UDM, wherein the TSN authorization request is used to request the UDM to send a TSN activation request including the first information to the AMF registered by the target user device after confirming the authorization, so as to send a control signaling for performing a TSN time synchronization operation to the target user device through the AMF. The technical solution of the embodiments of the present application can realize 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 equipment (UE) 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, including: receiving a TSN configuration creation request sent by an AF (Application Function), wherein the TSN configuration creation request includes an identifier of a target user device and first information for indicating a TSN time synchronization trigger condition; sending a TSN authorization request to a UDM (Unified Data Manager), wherein the TSN authorization request is used to request the UDM to send a TSN activation request including the first information to an AMF (Access and Mobility Management Function) registered with the target user device after confirming the authorization, so as to send a control signaling for performing a TSN time synchronization operation to the target user device through the AMF.

[0006] According to one aspect of an embodiment of the present application, a time synchronization method is provided, including: receiving a TSN authorization request, the TSN authorization request being used to request updating user subscription data of a target user device; after confirming authorization to update the user subscription data of the target user device, sending a TSN activation request to the AMF to which the target user device is registered based on the TSN activation subscription data contained in the updated user subscription data, so as to instruct the AMF to send a control signaling for performing a TSN time synchronization operation to the target user device, the TSN activation request containing first information for indicating a TSN time synchronization trigger condition.

[0007] According to one aspect of an embodiment of the present application, a time synchronization method is provided, including: receiving a TSN activation request sent by a UDM, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition; based on the first information, sending a control signaling to a target user device corresponding to a current AMF to control the target user device to perform a TSN time synchronization operation.

[0008] According to one aspect of an embodiment of the present application, a time synchronization method is provided, including: receiving a control signaling sent by an AMF, wherein the control signaling includes first information for indicating a TSN time synchronization trigger condition; and performing a TSN time synchronization operation based on the control signaling and the first information.

[0009] 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 time-sensitive network TSN configuration creation request sent by an application function entity AF, wherein the TSN configuration creation request includes an identifier of a target user device and first information for indicating a TSN time synchronization trigger condition; a first sending unit, configured to send a TSN authorization request to a unified data management entity UDM, wherein the TSN authorization request is used to request the UDM to send a TSN activation request including the first information to the AMF registered with the target user device after confirming the authorization, so as to send a control signaling for performing a TSN time synchronization operation to the target user device through the AMF.

[0010] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit is also configured to: before sending a TSN authorization request to the unified data management entity UDM, 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.

[0011] 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 TSN authorization request to the UDM for each user equipment in the network identification list.

[0012] In some embodiments of the present application, based on the aforementioned scheme, the first information used to indicate the TSN time synchronization trigger condition includes: a TSN clock domain identifier, a first field information used to indicate whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information used to indicate whether it is an activation operation or a deactivation operation, network slice information, and a data network name; wherein, if the first information also includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or is used to indicate that a TSN time synchronization operation is performed after a predetermined time, or is used to indicate that a TSN time synchronization operation is performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is performed immediately.

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

[0014] 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 TSN authorization request, the TSN authorization request being used to request updating user subscription data of a target user device; a second sending unit, configured to, after confirming authorization to update the user subscription data of the target user device, send a TSN activation request to the AMF to which the target user device is registered, according to the TSN activation subscription data included in the updated user subscription data, to instruct the AMF to send control signaling for performing a TSN time synchronization operation to the target user device, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition.

[0015] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is configured to: if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed immediately, or the TSN authorization request does not contain the TSN activation time information, then immediately send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed after a predetermined time, then after receiving the predetermined time of the TSN authorization request, send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then immediately send the TSN activation request to the AMF to which the target user equipment is registered.

[0016] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit is configured to: send a TSN activation request containing TSN activation time information to the AMF to which the target user equipment is registered.

[0017] In some embodiments of the present application, based on the aforementioned scheme, if it is detected that there is a first target user equipment registered with multiple AMFs, the second sending unit is configured to: send the TSN activation request to the first AMF among the multiple AMFs whose access network complies with the 3GPP (3rd Generation Partnership Project) standard, and indicate that the activation is unsuccessful in the activation response fed back by the first AMF, or when the PDU (Protocol Data Unit) session registration message for the first target user equipment fed back by the SMF (Session Management Function) is not received, send the TSN activation request to the second AMF among the multiple AMFs whose access network does not comply with the 3GPP standard; or send the TSN activation request to the multiple AMFs at the same time, and indicate that the activation is unsuccessful in the activation responses fed back by the multiple AMFs, or when the PDU session registration message for the first target user equipment fed back by the SMF is not received within the set time, resend the TSN activation request to the multiple AMFs.

[0018] 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 TSN activation request sent by a UDM, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition; a third sending unit, configured to send a control signaling to a target user equipment corresponding to a current AMF based on the first information, so as to control the target user equipment to perform a TSN time synchronization operation.

[0019] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit is configured to: detect whether the target user equipment is in a connection management idle state; if it is detected that the target user equipment is in a connection management idle state, initiate a network-triggered service request process to establish a signaling connection with the target user equipment; if it is detected that the target user equipment is in a connection management connected state, execute a process of sending control signaling to the target user equipment corresponding to the current AMF.

[0020] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit is configured as follows: if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session establishment instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session establishment instruction is sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the first information does not contain TSN activation time information, and the second field information indicates an activation operation, then a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session.

[0021] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, the third sending unit is further configured to: if the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the TSN remaining activation time arrives; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is an activation operation, network slice information, a data network name, and TSN activation time information whose indicated time value is the TSN remaining activation time, and the TSN remaining activation time is the difference between the predetermined time and the time that has passed.

[0022] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, the third sending unit is further configured to: if the current time has not reached the specified time point, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the current time reaches the specified time point; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is an activation operation, network slice information, a data network name, and the indicated time value is the TSN activation time information at the specified time point.

[0023] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit is configured as: if the target user equipment is registered to a new AMF, the context information of the TSN synchronization activation is transmitted to the new AMF through a user equipment context transfer message; if a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF by creating a user equipment context request.

[0024] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit is configured as: if the second field information indicates an activation operation, then a PDU session establishment instruction including TSN activation time information is sent to the target user equipment, and the TSN activation time information comes from the first information.

[0025] In some embodiments of the present application, based on the aforementioned scheme, the PDU session establishment instruction includes the following parameters, and the following parameters and parameter values ​​come from the first 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 that it is an activation operation, network slice information, and data network name.

[0026] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit is configured as: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; If the SN activation time information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0027] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit is configured as follows: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session release process is initiated immediately 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 first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release process is initiated or a PDU session modification process is initiated after the predetermined time of receiving the TSN activation request; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release process is initiated or a PDU session modification process is initiated after the predetermined time of receiving the TSN activation request; If the TSN activation time information contained in the first information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session release process is initiated 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 first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then a PDU session release process is initiated immediately or a PDU session modification process is initiated; if the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, then a PDU session release process is initiated immediately or a PDU session modification process is initiated.

[0028] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit initiates a PDU session release process or initiates a PDU session modification process, including: generating PDU session update information, the PDU session update information including an identifier of the target TSN clock domain that needs to be deactivated; sending the PDU session update information to SMF (Session Management Function) so that the SMF instructs 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 target user equipment.

[0029] 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; if the target TSN clock domain, network slice information and data network name to be deactivated contained in the first information 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 to be deactivated 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 to be deactivated contained in the first information 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 to be deactivated is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

[0030] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, the third sending unit is further configured to: if the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is a deactivation operation, network slice information, a data network name, and TSN activation time information whose indicated time value is the TSN remaining activation time, and the TSN remaining activation time is the difference between the predetermined time and the time that has passed.

[0031] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, the third sending unit is further configured to: if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is a deactivation operation, network slice information, a data network name, and the indicated time value is the TSN activation time information at the specified time point.

[0032] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit is configured as: if the second field information indicates a deactivation operation, then a PDU session release instruction or a PDU session modification instruction containing TSN activation time information is sent to the target user equipment, and the TSN activation time information comes from the first information.

[0033] In some embodiments of the present application, based on the aforementioned scheme, the PDU session release instruction or the PDU session modification instruction includes the following parameters, and the following parameters and parameter values ​​come from the first 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 that it is a deactivation operation, network slice information, and data network name.

[0034] According to one aspect of an embodiment of the present application, a time synchronization device is provided, including: a fourth receiving unit, configured to receive a control signaling sent by an AMF, wherein the control signaling includes first information for indicating a TSN time synchronization trigger condition; and a processing unit, configured to perform a TSN time synchronization operation based on the control signaling and the first information.

[0035] In some embodiments of the present application, based on the aforementioned scheme, the control signaling includes a PDU session establishment instruction, and the first information includes second field information for indicating an activation operation; the processing unit is configured to: if the first information does not include TSN activation time information, then upon receiving the PDU session establishment instruction, immediately establish a PDU session for TSN time synchronization operation; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session establishment instruction, then immediately establish a PDU session for TSN time synchronization operation; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session establishment instruction If the user equipment performs a TSN time synchronization operation after receiving the scheduled time of the PDU session establishment instruction, then a PDU session is established to perform the TSN time synchronization operation after receiving the scheduled time of the PDU session establishment instruction; if the first information contains TSN activation time information, and the TSN activation time information 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 the TSN time synchronization operation; if the first information contains TSN activation time information, and the TSN activation time information 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 the TSN time synchronization operation.

[0036] In some embodiments of the present application, based on the aforementioned scheme, the processing unit establishes a PDU session to perform TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, including: after receiving the predetermined time of the PDU session establishment instruction, detecting whether the user device is in a connection management idle state; if it is detected that the user device is in a connection management idle state, executing the service request process, and after establishing a signaling connection with the AMF, establishing a PDU session to perform TSN time synchronization operation; if it is detected that the user device is in a connection management connected state, directly establishing a PDU session to perform TSN time synchronization operation.

[0037] 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 a connection management idle state; if it is detected that the user device is in a connection management idle state, executing a service request process, and after establishing a signaling connection with the AMF, establishing a PDU session to perform a TSN time synchronization operation; if it is detected that the user device is in a connection management connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0038] 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 first 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 that it is an activation operation, network slice information, and data network name.

[0039] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is further configured to: when TSN activation time information is included in the first information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, if the time of receiving the PDU session establishment instruction does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then a PDU session is established based on the new AMF to perform a TSN time synchronization operation after the predetermined time of receiving the PDU session establishment instruction.

[0040] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is further configured as: when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session is established based on the new AMF to perform a TSN time synchronization operation.

[0041] In some embodiments of the present application, based on the aforementioned scheme, the control signaling includes a PDU session release instruction or a PDU session modification instruction, and the first information includes second field information for indicating a deactivation operation; the processing unit is configured as: if the first information does not include TSN activation time information, then upon receiving the PDU session release instruction or the PDU session modification instruction, immediately initiate a PDU session release process or initiate a PDU session modification process; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session release instruction or the PDU session modification instruction, then immediately initiate a PDU session release process or initiate a PDU session modification process; if the first information includes TSN activation time information, and the TSN activation time information indicates The user equipment performs a TSN time synchronization operation after receiving the PDU session release instruction or the PDU session modification instruction at the scheduled time, then initiates a PDU session release process or a PDU session modification process after receiving the PDU session release instruction or the PDU session modification instruction at the scheduled time; if the first information contains TSN activation time information, and the TSN activation time information 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, initiates a PDU session release process or initiates a PDU session modification process; if the first information contains TSN activation time information, and the TSN activation time information 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, then immediately initiates a PDU session release process or initiates a PDU session modification process.

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

[0043] 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; if the target TSN clock domain, network slice information and data network name to be deactivated contained in the first information 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 to be deactivated 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 to be deactivated contained in the first information 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 to be deactivated is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

[0044] In some embodiments of the present application, based on the aforementioned scheme, the processing unit is further configured to: when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session release instruction or the PDU session modification instruction, if the time of receiving the PDU session release instruction or the PDU session modification instruction does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, then after receiving the predetermined time of the PDU session release instruction or the PDU session modification instruction, a PDU session release process is initiated based on the new AMF or a PDU session modification process is initiated; when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, if the current time does not reach the specified time point, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session release process is initiated based on the new AMF or a PDU session modification process is initiated.

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

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

[0047] In the technical solutions provided in some embodiments of the present application, AF sends a TSN configuration creation request to NEF (Network Exposure Function), NEF sends a TSN authorization request to UDM, UDN sends a TSN activation request to AMF, and AMF sends a control signaling to the target UE, so that the target UE can be controlled to perform TSN time synchronization operations based on the relevant conditions triggered by the TSN, thereby realizing effective control of the time synchronization operations of a user device or a group of user devices.

[0048] 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

[0049] 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:

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

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

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

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

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

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

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

[0057] Figure 8 A flowchart of a TSN time synchronization activation operation performed by UDM control according to an embodiment of the present application is shown;

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

[0059] Fig.10 A flowchart of an AMF control operation for activating TSN time synchronization according to an embodiment of the present application is shown;

[0060] Fig.11 A flowchart of an AMF control for performing a TSN time synchronization deactivation operation according to an embodiment of the present application is shown;

[0061] Fig.12 A flowchart of a UE controlling a TSN time synchronization activation operation according to an embodiment of the present application is shown;

[0062] Fig.13 A flowchart of a UE controlling a TSN time synchronization deactivation operation according to an embodiment of the present application is shown;

[0063] Fig.14 A flowchart showing the process of UE registering with a new AMF, in which the old AMF transfers context information to the new AMF;

[0064] Fig.15 A flowchart showing the transmission of context information from the old AMF to the new AMF during network switching;

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

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

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

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

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

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

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

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

[0073] Fig.24 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

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

[0075] 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 application.

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

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

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

[0079] exist Figure 1 In 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.

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

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

[0082] t2=t1+D+O;

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

[0084] B = t4 - t3 = DO;

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

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

[0087] t4=t3-O+D.

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

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

[0090] 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 addition, 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.

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

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

[0093] 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 2 5G 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).

[0094] 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, 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.

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

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

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

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

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

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

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

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

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

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

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

[0106] 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 sends a TSN configuration creation request to the NEF, the NEF sends a TSN authorization request to the UDM, the UDN sends a TSN activation request to the AMF, and the AMF sends a control signaling to the target UE to trigger the UE to perform TSN time synchronization activation or deactivation operations, and at the same time, the time requirement for the UE to perform TSN time synchronization can be added to the trigger condition.

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

[0108] Figure 4 FIG. 1 is a flow chart showing a time synchronization method according to an embodiment of the present application, which can be executed by an NEF. Figure 4 As shown, the time synchronization method at least includes steps S410 to S420, which are described in detail as follows:

[0109] In step S410, a TSN configuration creation request sent by the AF is received, where the TSN configuration creation request includes an identifier of a target user equipment and first information for indicating a TSN time synchronization triggering condition.

[0110] In one embodiment of the present application, the target user equipment is a user equipment that needs to perform TSN time synchronization. The first information used to indicate the TSN time synchronization trigger condition may include 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.

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

[0112] Among them, if the first information used to indicate the TSN time synchronization trigger condition also includes TSN activation time information, the TSN activation time information is used to indicate that the TSN time synchronization operation is to be performed immediately, or to indicate that the TSN time synchronization operation is to be performed after a predetermined time, or to indicate that the TSN time synchronization operation is to be performed at a specified time point; if the first information does not include TSN activation time information, the first information is used to indicate that the TSN time synchronization operation is to be performed immediately.

[0113] In step S420, a TSN authorization request is sent to the UDM, where the TSN authorization request is used to request the UDM to confirm the authorization and then send a TSN activation request containing the first information to the AMF registered with the target user equipment, so as to send a control signaling for performing a TSN time synchronization operation to the target user equipment through the AMF.

[0114] In one embodiment of the present application, before sending a TSN authorization request to the UDM, 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.

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

[0116] 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 network identifier list of multiple user devices is obtained after conversion, when sending a TSN authorization request to the UDM, it is necessary to send a TSN authorization request to the UDM separately for each user device in the network identifier list.

[0117] 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 UDM.

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

[0119] In step S510, a TSN authorization request is received, where the TSN authorization request is used to request to update user subscription data of a target user equipment.

[0120] In one embodiment of the present application, UDM can receive a TSN authorization request sent by NEF, and the process of NEF sending a TSN authorization request can refer to the technical solution of the aforementioned embodiment. After receiving the TSN authorization request, UDM can determine whether NEF is allowed to request to add or modify the UE's subscription data. If allowed, the user equipment subscription data can be added. The user equipment subscription data may include a TSN clock domain identifier, a first field information indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information indicating whether it is an activation operation or a deactivation operation, network slice information, and a data network name. UDM can then perform TSN activation and deactivation operations on the target user equipment based on the information of the user equipment subscription data.

[0121] In step S520, after confirming the authorization to update the user subscription data of the target user equipment, a TSN activation request is sent to the AMF to which the target user equipment is registered according to the TSN activation subscription data contained in the updated user subscription data, so as to instruct the AMF to send control signaling for performing TSN time synchronization operation to the target user equipment, and the TSN activation request includes first information for indicating the TSN time synchronization trigger condition.

[0122] In one embodiment of the present application, the first information included in the TSN activation request comes from the TSN authorization request sent by the NEF, but the original source is the TSN configuration creation request sent by the AF. Similar to the aforementioned embodiment, the target user equipment is a user equipment that requires TSN time synchronization. Among them, the first information 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.

[0123] In one embodiment of the present application, the UDM can control the time when the UE performs the TSN time synchronization operation by controlling the timing of sending a TSN activation request to the AMF to which the target UE is registered. Specifically:

[0124] 1) If the TSN activation time information contained in the TSN authorization request indicates that the TSN time synchronization operation is to be performed immediately, or the TSN authorization request does not contain the TSN activation time information, the TSN activation request is immediately sent to the AMF to which the target user equipment is registered.

[0125] It should be noted that the TSN authorization request does not contain TSN activation time information. There may be the following situations: one is that NEF has performed time control when sending the TSN authorization request. At this time, UDM, AMF and UE do not need to perform time control. UDM immediately sends a TSN activation request to the AMF registered with the target UE upon receiving the TSN authorization request; the other is that NEF, UDM, AMF and UE do not perform time control. In this case, after receiving the TSN configuration creation request sent by AF and performing necessary processing (such as converting the target UE's identity), NEF directly sends a TSN authorization request to UDM. UDM immediately sends a TSN activation request to the AMF registered with the target UE upon receiving the TSN authorization request.

[0126] 2) If the TSN activation time information contained in the TSN authorization request indicates that the TSN time synchronization operation is to be performed after a predetermined time, the UDM sends the TSN activation request to the AMF to which the target user equipment is registered after receiving the predetermined time of the TSN authorization request.

[0127] 3) If the TSN activation time information contained in the TSN authorization request indicates that the TSN time synchronization operation is to be performed at a specified time point, the UDM sends the TSN activation request to the AMF to which the target user equipment is registered when the current time reaches the specified time point.

[0128] 4) If the TSN activation time information contained in the TSN authorization request 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, the UDM immediately sends the TSN activation request to the AMF to which the target user equipment is registered.

[0129] In one embodiment of the present application, the UDM may not control the timing of the TSN time synchronization operation on the UE, that is, after receiving the TSN authorization request, the UDM immediately generates a TSN activation request and sends it to the AMF to which the target UE is registered. In this case, the TSN activation request sent by the UDM to the AMF may contain TSN activation time information, which comes from the TSN authorization request sent by the NEF, but the original source is the TSN configuration creation request sent by the AF to the NEF.

[0130] In one embodiment of the present application, a target UE (for the sake of distinction, the target UE that has registered multiple AMFs with the UDM is referred to as the first target UE) may have registered multiple AMFs with the UDM, such as a first AMF whose access network complies with the 3GPP standard (such as 2G, 3G, 4G, 5G, etc.), and a second AMF whose access network does not comply with the 3GPP standard (such as Wi-Fi). In this case, when the UDM sends a TSN activation request to the AMF registered with the first target UE, it may first send a TSN activation request to the first AMF whose access network complies with the 3GPP standard, and indicate that the activation is not successful in the activation response fed back by the first AMF, or when the PDU session registration message for the first target UE fed back by the SMF is not received, the TSN activation request is sent to the second AMF whose access network does not comply with the 3GPP standard. Alternatively, the UDM may also send TSN activation requests to these multiple AMFs at the same time, and indicate that none of them are successfully activated in the activation responses fed back by these multiple AMFs, or when the PDU session registration message for the first target UE fed back by the SMF is not received within the set time, the TSN activation request is resent to the multiple AMFs.

[0131] Figure 5 The embodiment shown is explained from the perspective of UDM. Figure 6 The time synchronization method of the embodiment of the present application is described from the perspective of AMF.

[0132] Reference Figure 6As shown, the time synchronization method can be performed by AMF, and at least includes the following steps S610 to S620, which are described in detail as follows:

[0133] In step S610, a TSN activation request sent by the UDM is received, where the TSN activation request includes first information for indicating a TSN time synchronization trigger condition.

[0134] In one embodiment of the present application, the process of UDM sending a TSN activation request can refer to the technical solution of the aforementioned embodiment. The first information contained in the TSN activation request comes from the TSN authorization request sent by the NEF, but the original source is the TSN configuration creation request sent by the AF. The first information 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.

[0135] In step S620, based on the first information, a control signaling is sent to a target user equipment corresponding to the current AMF to control the target user equipment to perform a TSN time synchronization operation.

[0136] In one embodiment of the present application, the target user equipment corresponding to the current AMF may be a target user equipment that has a signaling connection with the current AMF, or a target user equipment that has previously established a signaling connection with the current AMF.

[0137] In one embodiment of the present application, when AMF sends control signaling to the target user equipment corresponding to the current AMF, it is necessary to first detect whether the signaling connection between the target user equipment and the network is in a connection management idle state (CM-IDLE state). If it is detected that the target user equipment is in a connection management idle state, it is necessary to initiate a network-triggered service request process (Service Request) to establish a signaling connection with the target user equipment; if it is detected that the target user equipment is in a connection management connected state (CM-CONNECTED state), then control signaling is sent to the target user equipment corresponding to the current AMF. Among them, if the second field information contained in the first information for indicating whether it is an activation operation or a deactivation operation indicates an activation operation, then the control signaling sent by AMF to the corresponding target user equipment may be a PDU session establishment instruction; if the second field information indicates a deactivation operation, then the control signaling sent by AMF to the corresponding target user equipment may be a PDU session release instruction or a PDU session modification instruction.

[0138] 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, such as 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.

[0139] In an embodiment of the present application, the first information included in the TSN activation request may indicate both an activation operation and a deactivation operation. The following describes the activation and deactivation operations in detail:

[0140] In one embodiment of the present application, if the second field information indicates an activation operation, the control signaling sent by the AMF to the corresponding target UE is a PDU session establishment instruction, and the specific sending methods are as follows:

[0141] 1) If the first information contains TSN activation time information, the TSN activation time information indicates that a TSN time synchronization operation is to be performed immediately, and the second field information indicates an activation operation, the AMF immediately sends a PDU session establishment instruction to the target user equipment to instruct the target user equipment to establish a PDU session.

[0142] 2) If the first information contains TSN activation time information, the TSN activation time information indicates that the TSN time synchronization operation is performed after the scheduled time, and the second field information indicates an activation operation, then the AMF sends a PDU session establishment instruction to the target user equipment after receiving the TSN activation request at the scheduled time to instruct the target user equipment to establish a PDU session.

[0143] In this case, if the time when the AMF receives the TSN activation request does not reach the scheduled time, but the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target UE after the TSN remaining activation time arrives. Among them, the context information includes: TSN clock domain identifier, the first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, the second field information used to indicate that it is an activation operation, network slice information, data network name and TSN activation time information. The time value represented by the TSN activation time information is the TSN remaining activation time, and the TSN remaining activation time is the difference between the scheduled time and the time that has passed. The technical solution of this embodiment ensures that the TSN time synchronization process is carried out normally even if the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process.

[0144] It should be noted that if the target UE registers with a new AMF, the original AMF can transmit the context information of TSN synchronization activation to the new AMF through the user equipment context transfer message (Namf_Communication_UEContextTransfer); if a new AMF is selected for the target user equipment during the network switching process, the original AMF can transmit the context information of TSN synchronization activation to the new AMF through the create user equipment context request (Namf_Communication_CreateUEContext Request).

[0145] 3) If the first information contains TSN activation time information, the TSN activation time information indicates that a TSN time synchronization operation is performed 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 AMF sends a PDU session establishment instruction to the target user equipment to instruct the target user equipment to establish a PDU session.

[0146] In this case, if the current time has not reached the specified time point, but the target user equipment has registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the current time reaches the specified time point; wherein the context information includes: 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, data network name and TSN activation time information. Among them, the value represented by the TSN activation time information is the specified time point. The technical solution of this embodiment can also ensure the normal progress of TSN time synchronization processing during the TSN time synchronization processing, even if the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process.

[0147] Similarly, if the target UE registers with a new AMF, the original AMF can transfer the context information of TSN synchronization activation to the new AMF through the user equipment context transfer message (Namf_Communication_UEContextTransfer); if a new AMF is selected for the target user equipment during the network switching process, the original AMF can transfer the context information of TSN synchronization activation to the new AMF through the create user equipment context request (Namf_Communication_CreateUEContext Request).

[0148] 4) If the first information contains TSN activation time information, which indicates that a TSN time synchronization operation is to be performed 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 AMF immediately sends a PDU session establishment instruction to the target user equipment to instruct the target user equipment to establish a PDU session.

[0149] 5) If the first information does not contain TSN activation time information, and the second field information indicates an activation operation, the AMF immediately sends a PDU session establishment instruction to the target user equipment to instruct the target user equipment to establish a PDU session.

[0150] It should be noted that the first information in the TSN activation request does not include the TSN activation time information. There may be the following situations: one is that the NEF has performed time control when sending the TSN authorization request. At this time, UDM, AMF and UE do not need to perform time control. When UDM receives the TSN authorization request, it immediately sends a TSN activation request to the AMF registered with the target UE. After receiving the TSN activation request, AMF immediately sends control signaling to the corresponding target UE; the other is that NEF does not perform time control, but UDM performs time control. In this case, UDM performs time control according to the TSN activation time contained in the received TSN authorization request. The information determines when to send the TSN activation request to AMF. After receiving the TSN activation request, AMF immediately sends control signaling to the corresponding target UE. There is also a situation where NEF, UDM, AMF and UE do not perform time control. In this case, after receiving the TSN configuration creation request sent by AF and performing necessary processing (such as converting the identity of the target UE), NEF directly sends a TSN authorization request to UDM. When receiving the TSN authorization request, UDM immediately sends a TSN activation request to the AMF registered with the target UE. After receiving the TSN activation request, AMF immediately sends control signaling to the corresponding target UE.

[0151] In one embodiment of the present application, the PDU session establishment instruction sent by the AMF may include the following parameters: 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, network slice information, and data network name. These parameters and their values ​​come from the first information contained in the TSN activation request received by the AMF.

[0152] In one embodiment of the present application, if the second field information indicates an activation operation, the AMF may also send a PDU session establishment instruction containing TSN activation time information to the corresponding target UE, and the value of the TSN activation time information comes from the first information contained in the TSN activation request received by the AMF. In this embodiment, the AMF does not perform a time control operation, but sends a PDU session establishment instruction containing TSN activation time information to the target UE to instruct the target UE to initiate a PDU session establishment process at the corresponding time.

[0153] In one embodiment of the present application, if the second field information indicates a deactivation operation, the control signaling sent by the AMF to the corresponding target UE is a PDU session release instruction or a PDU session modification instruction, and the specific sending methods are as follows:

[0154] 1) If the first information contains TSN activation time information, the TSN activation time information indicates that a TSN time synchronization operation is to be performed immediately, and the second field information indicates a deactivation operation, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0155] 2) If the first information contains TSN activation time information, the TSN activation time information indicates that a TSN time synchronization operation is performed after a predetermined time, and the second field information indicates a deactivation operation, then a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0156] In this case, if the time when the AMF receives the TSN activation request does not reach the scheduled time, but the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF sends a PDU session release instruction or a PDU session modification instruction to the target user equipment after the TSN remaining activation time arrives. Among them, the context information includes: TSN clock domain identifier, the first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, the second field information used to indicate that it is a deactivation operation, network slice information, data network name and TSN activation time information. The time value represented by the TSN activation time information is the TSN remaining activation time, and the TSN remaining activation time is the difference between the scheduled time and the time that has passed. The technical solution of this embodiment enables the normal progress of the TSN time synchronization process to be guaranteed even if the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process. Among them, the signaling for sending context information can refer to the technical solution of the aforementioned embodiment and will not be repeated.

[0157] 3) If the first information contains TSN activation time information, which indicates that a TSN time synchronization operation is to be performed at a specified time point, and the second field information indicates a deactivation operation, then when the current time reaches the specified time point, a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0158] In this case, if the current time has not reached the specified time point, but the target user equipment has registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF sends a PDU session release instruction or a PDU session modification instruction to the target UE after the current time reaches the specified time point. The context information includes: 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 a deactivation operation, network slice information, data network name and TSN activation time information. Among them, the time value represented by the TSN activation time information is a specified time point. Among them, the signaling for sending context information can refer to the technical solution of the aforementioned embodiment and will not be repeated.

[0159] 4) If the first information contains TSN activation time information, which indicates that a TSN time synchronization operation is to be performed at a specified time point, and the second field information indicates a deactivation operation, but the current time has exceeded the specified time point, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0160] 5) If the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0161] In one embodiment of the present application, the PDU session release instruction or the PDU session modification instruction includes the following parameters: 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 a deactivation operation, network slice information, and data network name. These parameters and parameter values ​​are derived from the first information.

[0162] In the aforementioned embodiment, after the AMF sends a PDU session release instruction or a PDU session modification instruction to the corresponding target UE, the target UE initiates the PDU session release process or initiates the PDU session modification process.

[0163] In other embodiments of the present application, the AMF may also directly initiate a PDU session release process and a modification process, as follows:

[0164] 1) If the first information contains TSN activation time information, the TSN activation time information indicates that the TSN time synchronization operation is to be performed immediately, and the second field information indicates a deactivation operation, the AMF immediately initiates a PDU session release process or initiates a PDU session modification process.

[0165] 2) If the first information contains TSN activation time information, the TSN activation time information indicates that the TSN time synchronization operation is performed after the scheduled time, and the second field information indicates a deactivation operation, then a PDU session release process is initiated or a PDU session modification process is initiated after the scheduled time of receiving the TSN activation request.

[0166] Similar to the aforementioned embodiment, in this case, if the time when the AMF receives the TSN activation request does not reach the scheduled time, but the target UE is registered with a new AMF or a new AMF is selected for the target UE during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF initiates a PDU session release process or initiates a PDU session modification process after the TSN remaining activation time arrives. Among them, the context information includes: TSN clock domain identifier, the first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, the second field information used to indicate whether it is a deactivation operation, network slice information, data network name and TSN activation time information. The time value indicated by the TSN activation time information is the TSN remaining activation time, and the TSN remaining activation time is the difference between the scheduled time and the time that has passed. Among them, the signaling for sending context information can refer to the technical solution of the aforementioned embodiment and will not be repeated.

[0167] 3) If the first information contains TSN activation time information, which indicates that a TSN time synchronization operation is to be performed at a specified time point, and the second field information indicates a deactivation operation, then when the current time reaches the specified time point, a PDU session release process is initiated or a PDU session modification process is initiated.

[0168] Similar to the aforementioned embodiment, in this case, if the current time has not reached the specified time point, but the target user equipment has registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the original AMF can transmit the context information of the TSN synchronization activation to the new AMF, so that the new AMF initiates a PDU session release process or initiates a PDU session modification process after the current time reaches the specified time point. The context information includes: 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 a deactivation operation, network slice information, data network name and TSN activation time information. The time value indicated by the TSN activation time information is a specified time point. Among them, the signaling for sending context information can refer to the technical solution of the aforementioned embodiment and will not be repeated.

[0169] 4) If the first information contains TSN activation time information, which indicates that the TSN time synchronization operation is to be performed at a specified time point, and the second field information indicates a deactivation operation, but the current time has exceeded the specified time point, then the PDU session release process is immediately initiated or the PDU session modification process is initiated.

[0170] 5) If the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, a PDU session release process is immediately initiated or a PDU session modification process is initiated.

[0171] In one embodiment of the present application, the AMF initiates a PDU session release process or initiates a PDU session modification process to generate PDU session update information, which includes an identifier of the target TSN clock domain that needs to be deactivated, and then sends the PDU session update information 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 target user equipment.

[0172] In one embodiment of the present application, the PDU session established by the user equipment supports time synchronization operations for multiple TSN clock domains. In this case, if the target TSN clock domain, network slice information, and data network name that need to be deactivated contained in the first information 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 that needs to be deactivated is not the last TSN clock domain in the PDU session, then the AMF can initiate a PDU session modification process; if the target TSN clock domain, network slice information, and data network name that need to be deactivated contained in the first information 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 that needs to be deactivated is the last TSN clock domain in the PDU session, then the AMF can initiate a PDU session release process.

[0173] In one embodiment of the present application, if the second field information indicates a deactivation operation, the AMF may also send a PDU session release instruction or a PDU session modification instruction containing TSN activation time information to the corresponding target UE, and the value of the TSN activation time information comes from the first information contained in the TSN activation request received by the AMF. In this embodiment, the AMF does not perform a time control operation, but sends a PDU session release instruction or a PDU session modification instruction containing TSN activation time information to the target UE to instruct the target UE to initiate a PDU session release process or a PDU session modification process at the corresponding time.

[0174] Figure 6 The embodiment shown is explained from the perspective of AMF. Figure 7 The time synchronization method of the embodiment of the present application is described from the perspective of UE.

[0175] Reference Figure 7 As shown, the time synchronization method can be executed by the UE, and at least includes the following steps S710 to S720, which are described in detail as follows:

[0176] In step S710, a control signaling sent by the AMF is received, where the control signaling includes first information for indicating a TSN time synchronization triggering condition.

[0177] In one embodiment of the present application, the process of AMF sending control signaling can refer to the technical solution of the aforementioned embodiment, and the control signaling includes a PDU session establishment instruction, a PDU session release instruction, and a PDU session modification instruction. The first information contained in the control signaling comes from the TSN activation request sent by the UDM, but the original source is the TSN configuration creation request sent by the AF. The first information 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.

[0178] In step S720, a TSN time synchronization operation is performed based on the control signaling and the first information.

[0179] In an embodiment of the present application, if the second field information included in the first information indicates an activation operation, then the control signaling is a PDU session establishment instruction. In this case, the process of performing TSN time synchronization operation based on the control signaling and the first information has the following situations:

[0180] 1) If the first information does not contain TSN activation time information, the UE will immediately establish a PDU session to perform TSN time synchronization operation upon receiving the PDU session establishment instruction. Among them, the PDU session establishment process initiated by the UE when establishing the PDU session can refer to Section 4.3.2 of the 3GPP protocol TS23.502. The PDU session establishment request sent by the UE when establishing the PDU session contains the following parameters, and the following parameters and parameter values ​​come from the first information: TSN clock domain identifier, the first field information used to indicate whether it is uplink TSN synchronization or downlink TSN synchronization, the second field information used to indicate that it is an activation operation, network slice information, and data network name.

[0181] It should be noted that the first information in the control signaling does not include the TSN activation time information. There may be the following situations: one is that NEF has performed time control when sending the TSN authorization request. At this time, UDM, AMF and UE do not need to perform time control. UDM immediately sends a TSN activation request to the AMF registered with the target UE upon receiving the TSN authorization request. After receiving the TSN activation request, AMF immediately sends a PDU session establishment instruction to the corresponding target UE; the other is that NEF does not perform time control, but UDM performs time control. In this case, UDM decides when to send the TSN activation request to AMF based on the TSN activation time information contained in the received TSN authorization request. After receiving the TSN activation request, AMF immediately sends a PDU session establishment instruction to the corresponding target UE; another is that NEF and UDM DM does not perform time control, but AMF performs time control. In this case, AMF decides when to send a PDU session establishment instruction to the UE based on the TSN activation time information contained in the received TSN activation request. After receiving the PDU session establishment instruction, the UE immediately establishes a PDU session to perform TSN time synchronization operations. There is also a situation where NEF, UDM, AMF and UE do not perform time control. In this case, after receiving the TSN configuration creation request sent by AF and performing necessary processing (such as converting the target UE's identity), NEF directly sends a TSN authorization request to UDM. When UDM receives the TSN authorization request, it immediately sends a TSN activation request to the AMF registered with the target UE. After receiving the TSN activation request, AMF immediately sends a PDU session establishment instruction to the corresponding target UE.

[0182] 2) If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment should perform TSN time synchronization operation immediately after receiving the PDU session establishment instruction, the UE immediately establishes a PDU session to perform TSN time synchronization operation.

[0183] 3) If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, the UE establishes a PDU session and performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction.

[0184] 4) If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, the UE establishes a PDU session to perform a TSN time synchronization operation when the current time reaches the specified time point.

[0185] 5) If the first information includes TSN activation time information, and the TSN activation time information 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 UE immediately establishes a PDU session to perform a TSN time synchronization operation.

[0186] In one embodiment of the present application, if the second field information indicates an activation operation, the TSN activation time information in the first information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction. Then, after receiving the predetermined time of the PDU session establishment instruction, the UE can first detect whether it is in a connection management idle state. If the UE is in a connection management 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 connection state, a PDU session can be directly established to perform a TSN time synchronization operation.

[0187] In one embodiment of the present application, if the second field information indicates an activation operation, the TSN activation time information in the first information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, then if the time of receiving the PDU session establishment instruction does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, a PDU session is established based on the new AMF after the predetermined time of receiving the PDU session establishment instruction to perform a TSN time synchronization operation. That is, the UE registers with a new AMF or the network switching selects a new AMF for the UE, which does not affect the UE's TSN time synchronization operation.

[0188] Similarly, if the second field information indicates an activation operation, and the TSN activation time information in the first information 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 UE can first detect whether it is in a connection management idle state. If the UE is in a connection management 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 to perform a TSN time synchronization operation; if the UE is in a connection management connected state, a PDU session can be directly established to perform a TSN time synchronization operation.

[0189] If the second field information indicates an activation operation, and the TSN activation time information in the first information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, then if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session is established based on the new AMF to perform a TSN time synchronization operation.

[0190] In an embodiment of the present application, if the second field information included in the first information indicates a deactivation operation, then the control signaling is a PDU session release instruction or a PDU session modification instruction. In this case, the process of performing TSN time synchronization operation based on the control signaling and the first information has the following situations:

[0191] 1) If the first information does not include TSN activation time information, the UE immediately initiates a PDU session release process or a PDU session modification process upon receiving a PDU session release instruction or a PDU session modification instruction. The UE may refer to Section 4.3.4.2 of 3GPP protocol TS23.502 for initiating a PDU session release process; the UE may refer to Section 4.3.2.2 of 3GPP protocol TS23.502 for initiating a PDU session modification process.

[0192] 2) If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs TSN time synchronization operation immediately after receiving the PDU session release instruction or the PDU session modification instruction, the UE immediately initiates the PDU session release process or initiates the PDU session modification process.

[0193] 3) If the first information contains TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving a scheduled time of a PDU session release instruction or a PDU session modification instruction, the UE initiates a PDU session release process or initiates a PDU session modification process after receiving the scheduled time of the PDU session release instruction or the PDU session modification instruction.

[0194] 4) If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs TSN time synchronization operation at a specified time point, the UE initiates a PDU session release process or initiates a PDU session modification process when the current time reaches the specified time point.

[0195] 5) If the first information contains TSN activation time information, and the TSN activation time information indicates that the user equipment performs TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, the UE immediately initiates a PDU session release process or initiates a PDU session modification process.

[0196] In one embodiment of the present application, when the UE initiates a PDU session modification process, the PDU session modification request generated by it includes 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 functional entity to stop forwarding the TSN time synchronization data of the target TSN clock domain to the UE that sent the PDU session modification request.

[0197] 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 that need to be deactivated contained in the first information 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 that needs to be deactivated is not the last TSN clock domain in the PDU session, then the UE initiates the PDU session modification process; if the target TSN clock domain, network slice information, and data network name that need to be deactivated contained in the first information 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 that needs to be deactivated is the last TSN clock domain in the PDU session, then the UE initiates the PDU session release process.

[0198] In one embodiment of the present application, if the second field information indicates a deactivation operation, the TSN activation time information in the first information indicates that the user equipment performs a TSN time synchronization operation after receiving a scheduled time of a PDU session release instruction or a PDU session modification instruction, then if the time when the UE receives the PDU session release instruction or the PDU session modification instruction does not reach the scheduled time, and the UE registers to a new AMF or a new AMF is selected for the UE during the network switching process, then after receiving the scheduled time of the PDU session release instruction or the PDU session modification instruction, a PDU session release process is initiated or a PDU session modification process is initiated based on the new AMF.

[0199] If the second field information indicates a deactivation operation, and the TSN activation time information in the first information indicates that the UE performs a TSN time synchronization operation at a specified time point, then if the current time has not reached the specified time point, and the UE registers with a new AMF or a new AMF is selected for the UE during network switching, the UE initiates a PDU session release process or a PDU session modification process based on the new AMF when the current time reaches the specified time point. That is, the UE registers with a new AMF or the network switching selects a new AMF for the UE, which does not affect the UE's TSN time synchronization operation.

[0200] The above embodiments respectively describe the technical solutions of the embodiments of the present application from the perspectives of NEF, UDM, AMF and UE. Figures 8 to 15 , 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.

[0201] In the embodiments of the present application, the UDM, AMF and UE can all control the timing of the TSN time synchronization operation of the UE, which are described in detail one by one below:

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

[0203] like Figure 8 As shown, according to an embodiment of the present application, the process of UDM control for TSN time synchronization activation operation includes the following steps:

[0204] Step S801: AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 by a UE (the UE is not Figure 8 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT, and the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0205] In one embodiment of the present application, the specific process of step S801 can refer to step 1 in section 6.8.3.1 "procedure for AF Requested TSN SynchronizationActivation" in the 3GPP protocol TS23.700-20V0.3.0. Among them, the TSN configuration creation request in the embodiment of the present application includes Target ID, TSN Activation Time, TSN DomainID, UL or DL ​​TSN Synchronization, Activation / Deactivation Indicator, S-NSSAI, and DNN. Figure 8 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0206] Wherein, Target ID refers to a specific UE, or a group of UEs. When Target ID is a specific UE, Target ID is usually SUPI or IMSI, GPSI or can be other external application identifiers. When Target ID refers to a group of UEs, Target ID is usually External Group ID. TSN ActivationTime is used to indicate whether to perform TSN time synchronization activation (or deactivation) operation immediately, or to perform TSN time synchronization activation (or deactivation) operation after X seconds of this message, or to perform TSN time synchronization activation (or deactivation) operation at a specified time point.

[0207] Step S802: NEF performs processing. In one embodiment of the present application, the specific process of step S802 may refer to step 2 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0208] Step S803a, NEF sends a Nudm_SDM_Get request to UDM.

[0209] 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).

[0210] Step S803b: UDM sends a Nudm_SDM_Get response to NEF.

[0211] 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).

[0212] 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 S803b is a SUPI list and an optional MSISDN list. At this time, the following steps S804 to S813 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0213] Step S804: NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Activation (indicating activation operation), S-NSSAI, and DNN.

[0214] Step S805: UDM performs processing.

[0215] In one embodiment of the present application, after receiving the TSN authorization request, the UDM can determine whether the NEF is allowed to request to add or modify the UE's subscription data. If allowed, the user equipment subscription data can be added. The user equipment subscription data may include a TSN clock domain identifier, a first field information indicating whether it is uplink TSN synchronization or downlink TSN synchronization, a second field information indicating whether it is an activation operation or a deactivation operation, network slice information, and a data network name. Then, the UDM can perform TSN activation and deactivation operations on the target user equipment based on the information of the user equipment subscription data.

[0216] Step S806: UDM returns a TSN authorization response to NEF.

[0217] Step S807: NEF returns a TSN configuration creation response to AF.

[0218] In one embodiment of the present application, the specific process of step S804 to step S807 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0219] Step S808: UDM sends a TSN activation request to AMF.

[0220] In one embodiment of the present application, the TSN activation request includes relevant parameters in the TSN authorization request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating an activation operation), S-NSSAI, and DNN.

[0221] If the TSN Activation Time included in the TSN authorization request indicates that the TSN time synchronization operation is to be performed immediately, the UDM immediately sends a TSN activation request to the AMF whose SUPI is registered with the UDM of a UE (if the Target ID in step S801 refers to a single UE, then only a single UE; if the Target ID in step S801 refers to a group ID, then to each UE separately), and this TSN activation request includes TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, DNN, etc. In this case, there is no order between step S808 and step S806 and step S807.

[0222] If the TSN Activation Time indicates that the TSN time synchronization operation will be performed after X seconds, the UDM sends a TSN activation request X seconds after receiving the TSN authorization request.

[0223] When the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after a specific time point, the UDM sends a TSN activation request after the specific time point. (If the specific time point is earlier than the current time point, the UDM sends the TSN activation request immediately).

[0224] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually up to two). In this case, the UDM may first send a message to the AMF whose RAT (Radio Access Technology) is 3GPP. If the registration message for the PDU session of the UE sent by the SMF is not received in step S811, or the TSN activation response fed back by the AMF to the UDM in step S812 indicates that the activation is not successful (the AMF may send a TSN activation response indicating that the activation is not successful when it is determined that the PDU session is not established successfully), then the message may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that none of them are successfully activated in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs when the PDU session registration message for the UE fed back by the SMF is not received within the set time.

[0225] Step S809: AMF initiates a network-triggered service request.

[0226] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0227] Step S810: AMF sends a PDU session establishment instruction to the UE.

[0228] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to establish a PDU session. The PDU session establishment instruction includes: TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, and DNN.

[0229] Step S811: UE initiates a PDU session establishment process.

[0230] 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, during the PDU session establishment process, 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.

[0231] Step S812: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully activated by feeding back a TSN activation response to UDM.

[0232] Step S813a, if the TSN Domain ID is TSN clock domain 1, the UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE; Step S813b, if the TSN Domain ID is TSN clock domain 2, the UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE; Step S813c, if the TSN Domain ID indicates the 5G Time Domain, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0233] In one embodiment of the present application, steps S813a to S813c can refer to 3GPP protocol TR23.700-020. After TSN time synchronization is successfully activated, UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate UE to perform TSN time synchronization processing.

[0234] like Fig. 9 As shown, according to an embodiment of the present application, the process of performing a TSN time synchronization deactivation operation by UDM control includes the following steps:

[0235] Step S901, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 through a UE (the UE is not Fig. 9 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0236] In one embodiment of the present application, the specific process of step S901 is similar to Figure 8 Step S801 in Fig. 9 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Deactivation.

[0237] Step S902: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0238] Step S903a, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 8 Step S803a shown in FIG. 8 is not described in detail again.

[0239] Step S903b, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 8 Step S803b shown in FIG. 8 is not described in detail.

[0240] Similar to the above description, 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 S903b is a SUPI list and an optional MSISDN list. At this time, the following steps S904 to S912 can perform similar operations on each SUPI (i.e., each UE) in the list.

[0241] Step S904, NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0242] Step S905: UDM performs processing. The processing of this step is similar to Figure 8 Step S805 shown in FIG. 1 is not described in detail here.

[0243] Step S906: UDM returns a TSN authorization response to NEF.

[0244] Step S907: NEF returns a TSN configuration creation response to AF.

[0245] In one embodiment of the present application, the specific process of step S904 to step S907 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0246] Step S908: UDM sends a TSN activation request to AMF.

[0247] In one embodiment of the present application, the TSN activation request includes relevant parameters in the TSN authorization request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0248] If the TSN Activation Time in the TSN authorization request received by the UDM indicates that the TSN time synchronization operation is to be performed immediately, the UDM immediately sends a TSN activation request to the AMF whose SUPI is registered to the UDM (if the Target ID in step S901 refers to a single UE, then only a single UE; if the Target ID in step S901 refers to a group ID, then to each UE separately), and this TSN activation request contains TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation, S-NSSAI, DNN, etc. In this case, there is no order between step S908 and step S906 and step S907.

[0249] If the TSN Activation Time indicates that the TSN time synchronization operation will be performed after X seconds, the UDM sends a TSN activation request X seconds after receiving the TSN authorization request.

[0250] When the TSN Activation Time indicates that the TSN time synchronization operation is performed after a specific time point, the UDM sends a TSN activation request after the specific time point (if the specific time point is earlier than the current time point, the UDM sends the TSN activation request immediately).

[0251] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually up to two). In this case, the UDM may first send a TSN activation request to the AMF whose RAT is 3GPP. If the update context message for the PDU session of the UE sent by the SMF is not received in step S911a or step S911b, or the TSN activation response fed back by the AMF to the UDM in step S912 indicates that the deactivation is not successful (the AMF may send a TSN activation response indicating that the deactivation is not successful when it is determined that the PDU session is not released successfully or modified successfully), then the TSN activation request may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that the deactivation is not successful in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs when the update context message for the PDU session of the UE fed back by the SMF is not received within the set time.

[0252] Step S909, AMF initiates a network-triggered service request.

[0253] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0254] If the AMF decides to let the UE initiate the PDU session release or modification process, steps S910 and S911a will be executed, and step S911b will not be executed; if the AMF decides to let the AMF itself initiate the PDU session release or modification process, step S911b will be executed, and steps S910 and S911a will not be executed.

[0255] Step S910: AMF sends a PDU session release or modification instruction to the UE.

[0256] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to release or modify the PDU session. The PDU session release or modification instruction includes: TSN Domain ID, UL or DL ​​TSNSynchronization, Deactivation, S-NSSAI, DNN.

[0257] Step S911a: The UE initiates a PDU session release or modification process.

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

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

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

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

[0262] In step S911a, during the PDU session deletion or PDU session modification process, SMF registers with UDM and notifies the deletion of the TSN Domain ID corresponding to S-NSSAI and DNN. Therefore, UDM knows that it has successfully triggered the UE to perform the TSN deactivation process by comparing S-NSSAI, DNN and TSN Domain ID.

[0263] Step S911b, AMF initiates the PDU session release or modification process. It should be noted that if AMF decides to initiate the PDU session release or modification process by itself, then there is no need to execute Fig. 9 If the AMF decides that the UE initiates the PDU session release or modification procedure, then the Fig. 9 Steps S910 and S911a shown in the figure are performed, while step S911b shown in the figure is not performed.

[0264] In one embodiment of the present application, if the PDU session release or modification process is initiated by AMF, the Nsmf_PDUSession_UpdateSMContext (PDU session-update session management context) message sent by AMF to SMF contains a new parameter, namely, the TSN Domain ID to be deactivated. After receiving the TSN Domain ID deactivation message, SMF will instruct UPF / NW-TT to no longer forward the TSN synchronization data of this TSN Domain to this UE.

[0265] In step S911b, during the PDU session deletion or PDU session modification process, SMF registers with UDM and notifies the deletion of the TSN Domain ID corresponding to S-NSSAI and DNN. Therefore, UDM knows that it has successfully triggered the UE to perform the TSN deactivation process by comparing S-NSSAI, DNN and TSN Domain ID.

[0266] Step S912: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully deactivated by feeding back a TSN activation response to UDM.

[0267] 2. Implementation example of AMF controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

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

[0269] Step S1001, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 by a UE (the UE is not Fig.10 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT, and the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0270] In one embodiment of the present application, the specific process of step S1001 is similar to Figure 8 Step S801 in . Fig.10 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0271] Step S1002: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0272] Step S1003a, NEF sends a Nudm_SDM_Get request to UDM. The specific process of this step is similar to Figure 8 Step S803a in is not repeated here.

[0273] Step S1003b, UDM sends a Nudm_SDM_Get response to NEF. The specific process of this step is similar to Figure 8 Step S803b in is not repeated here.

[0274] Similar to the above description, 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 S1003b is a SUPI list and an optional MSISDN list. At this time, the following steps S1004 to S1013 can perform similar operations on each SUPI (i.e., each UE) in the list.

[0275] Step S1004, NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Activation (indicating activation operation), S-NSSAI, and DNN.

[0276] Step S1005: UDM performs processing. The specific process of this step is similar to Figure 8 Step S805 in will not be repeated here.

[0277] Step S1006: UDM returns a TSN authorization response to NEF.

[0278] Step S1007: NEF returns a TSN configuration creation response to AF.

[0279] In one embodiment of the present application, the specific process of step S1004 to step S1007 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0280] In step S1008, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM, if the Target ID in step S1001 refers to a single UE; if the Target ID in step S1001 refers to a group ID, then each UE is sent separately. The TSN activation request contains the relevant parameters in the TSN authorization request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating the activation operation), S-NSSAI, and DNN. There is no order of precedence between step S1008 and step S1006 and step S1007.

[0281] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually at most two). In this case, the UDM may first send a message to the AMF whose RAT is 3GPP. If the registration message for the PDU session of the UE sent by the SMF is not received in step S1011, or the TSN activation response fed back by the AMF to the UDM in step S1012 indicates that the activation is not successful (the AMF may send a TSN activation response indicating that the activation is not successful when it determines that the PDU session is not established successfully), then the message may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that none of them are successfully activated in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs if the PDU session registration message for the UE fed back by the SMF is not received within the set time.

[0282] Step S1009: AMF initiates a network-triggered service request. The specific process of this step is similar to Figure 8 Step S809 in the above will not be described in detail.

[0283] Step S1010: AMF sends a PDU session establishment instruction to the UE. The PDU session establishment instruction includes: TSNDomain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, and DNN.

[0284] In one embodiment of the present application, if the TSN ActivationTime in the TSN activation request received by the AMF indicates that the TSN time synchronization operation is to be performed immediately, the AMF immediately executes step S1009 and step S1010. If the TSNActivation Time indicates that the TSN time synchronization operation is to be performed after X seconds, the AMF executes step S1009 and step S1010 X seconds after receiving the TSN activation request. If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after a specific time point, the AMF executes step S1009 and step S1010 after reaching this specific time. (If the specific time point is already earlier than the current time point, the AMF immediately executes step S1009 and step S1010).

[0285] It should be noted that: if the UE is in the CM-IDLE state, the AMF can initiate a network-triggered ServiceRequest process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, there is no need to perform step S1009.

[0286] In one embodiment of the present application, if the TSN Activation Time indicates activation after X seconds or indicates that the TSN time synchronization operation is to be performed after a specific time point, but when the activation time has not arrived, if the UE moves to a new AMF, the old AMF needs to pass the trigger condition to the new AMF, such as how long is left for activation and what the specific time point is, so that the new AMF can continue with step S1009 and subsequent steps.

[0287] Specifically, if Fig.14 The flowchart shown is a process in which the old AMF transfers context information to the new AMF during the process of UE registering with a new AMF, including the following steps:

[0288] Step S1401: UE initiates a registration request to an access network.

[0289] Step S1402: The access network selects an AMF.

[0290] Step S1403: The access network entity initiates a registration request to the new AMF.

[0291] Step S1404: The new AMF sends a UE uplink text transfer request (Namf_Communication_UEContextTransfer) to the old AMF.

[0292] Step S1405, the old AMF returns a UE uplink text transfer response (Namf_Communication_UEContextTransfer response) to the new AMF.

[0293] Fig.14 Some other necessary steps are also included, for details, please refer to Section 4.2.2.2 Registration procedures in 3GPP protocol TS23.502. Among them, the old AMF can transmit the trigger condition to the new AMF by returning the UE context transfer response to the new AMF in step S1405. The trigger condition includes: TSNDomain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, DNN, TSN ActivationTime.

[0294] It should be noted that if the activation time is after X seconds, the time transmitted to the new AMF is not the time in the TSN activation request initially received, but the remaining time (i.e. the time in the TSN activation request - the time that has passed).

[0295] like Fig.15 The flowchart shown is a flow chart of the old AMF transmitting context information to the new AMF during network switching, including the following steps:

[0296] Step S1501: After the source access network S-NG-RAN (i.e., Source-NG-RAN) determines to trigger the handover through the N2 interface, it sends a handover confirmation message to the S-AMF (Source-AMF).

[0297] Step S1502, S-AMF selects the target AMF.

[0298] Step S1503, S-AMF sends a create UE context request (Namf_Communication_CreateUEContext Request) to T-AMF (Target-AMF, target AMF).

[0299] Step S1504, T-AMF sends a session management context update request (Namf_PDUSession_UpdateSMContext Request) to SMF.

[0300] Fig.15Some other necessary steps are also included, for details, please refer to Section 4.9.1.3.2 Preparation phase in 3GPP protocol TS23.502. Among them, the old AMF can transmit the trigger condition to the new AMF by sending a create UE context request to the new AMF in step S1503. The trigger condition includes: TSN DomainID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, DNN, TSN Activation Time.

[0301] It should be noted that if the activation time is after X seconds, the time transmitted to the new AMF is not the time in the TSN activation request initially received, but the remaining time (i.e. the time in the TSN activation request - the time that has passed).

[0302] Continue to refer to Fig.10 As shown, in step S1011, the UE initiates a PDU session establishment process. The specific process of this step is similar to Figure 8 Step S811 in will not be repeated here.

[0303] Step S1012: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully activated by feeding back a TSN activation response to UDM.

[0304] Step S1013a, if the TSN Domain ID is TSN clock domain 1, the UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE; Step S1013b, if the TSN Domain ID is TSN clock domain 2, the UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE; Step S1013c, if the TSN Domain ID indicates the 5G Time Domain, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0305] In one embodiment of the present application, steps S1013a to S1013c can refer to 3GPP protocol TR23.700-020. After TSN time synchronization is successfully activated, UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate UE to perform TSN time synchronization processing.

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

[0307] Step S1101, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the NEF through a UE (the UE is not Fig.11 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0308] In one embodiment of the present application, the specific process of step S1101 is similar to Figure 8 Step S801 in Fig.11 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of Activation / DeactivationIndicator is Deactivation.

[0309] Step S1102: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0310] Step S1103a, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 8 Step S803a shown in FIG. 8 is not described in detail again.

[0311] Step S1103b, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 8 Step S803b shown in FIG. 8 is not described in detail.

[0312] Similar to the above description, 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 S1103b is a SUPI list and an optional MSISDN list. At this time, the following steps S1104 to S1112 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0313] Step S1104, NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0314] Step S1105: UDM performs processing. The processing of this step is similar to Figure 8 Step S805 shown in FIG. 1 is not described in detail here.

[0315] Step S1106: UDM returns a TSN authorization response to NEF.

[0316] Step S1107: NEF returns a TSN configuration creation response to AF.

[0317] In one embodiment of the present application, the specific process of step S1104 to step S1107 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0318] In step S1108, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM, if the Target ID in step S1001 refers to a single UE; if the Target ID in step S1001 refers to a group ID, then each UE is sent separately. The TSN activation request contains the relevant parameters in the TSN authorization request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN. Among them, there is no order between step S1008 and step S1006 and step S1007.

[0319] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually up to two). In this case, the UDM may first send a TSN activation request to the AMF whose RAT is 3GPP. If the update context message for the PDU session of the UE sent by the SMF is not received in step S1111a or step S1111b, or the TSN activation response fed back by the AMF to the UDM in step S1112 indicates that the deactivation is not successful (the AMF may send a TSN activation response indicating that the deactivation is not successful when it determines that the PDU session is not released successfully or modified successfully), then the TSN activation request may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that the deactivation is not successful in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs when the update context message for the PDU session of the UE fed back by the SMF is not received within the set time.

[0320] Step S1109, AMF initiates a network-triggered service request.

[0321] Step S1110: AMF sends a PDU session release or modification instruction to the UE. The PDU session release or modification instruction includes: TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation, S-NSSAI, and DNN.

[0322] In one embodiment of the present application, if the TSN ActivationTime in the TSN activation request received by the AMF indicates that the TSN time synchronization operation is to be performed immediately, the AMF immediately executes step S1009 and step S1010. If the TSNActivation Time indicates that the TSN time synchronization operation is to be performed after X seconds, the AMF executes step S1009 and step S1010 X seconds after receiving the TSN activation request. If the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after a specific time point, the AMF executes step S1009 and step S1010 after reaching this specific time. (If the specific time point is already earlier than the current time point, the AMF immediately executes step S1009 and step S1010).

[0323] It should be noted that: if the UE is in the CM-IDLE state, the AMF can initiate a network-triggered ServiceRequest process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, there is no need to perform step S1009.

[0324] In one embodiment of the present application, if the TSN Activation Time indicates deactivation after X seconds or indicates deactivation after a specific time point, but when the deactivation time has not arrived, if the UE moves to a new AMF, the old AMF needs to pass the trigger condition to the new AMF, such as how much time is left for deactivation and what the specific time point is, so that the new AMF can continue with step S1109 and subsequent steps. The specific process can be referred to Fig.14 and Fig.15 , but for Fig.14 For the registration process shown in FIG. 14 , the triggering conditions in the UE context transfer response returned by the old AMF to the new AMF in step S1405 include: TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation, S-NSSAI, DNN, TSN Activation Time. Fig.15 For the switching process shown, the trigger conditions in the create UE context request sent by the old AMF to the new AMF in step S1503 include: TSN Domain ID, UL or DL ​​TSNSynchronization, Deactivation, S-NSSAI, DNN, TSN Activation Time.

[0325] Step S1111a, UE initiates a PDU session release or modification process. The processing of this step is similar to Fig. 9 Step S911a shown in FIG. 1 is not described in detail.

[0326] Step S1111b, AMF initiates the PDU session release or modification process. The processing of this step is similar to Fig. 9 It should be noted that if the AMF decides to initiate the PDU session release or modification process, then there is no need to perform Fig.11 If the AMF decides to let the UE initiate the PDU session release or modification process, steps S1110 and S1111a will be executed, and step S1111b will not be executed.

[0327] In one embodiment of the present application, if the PDU session release or modification process is initiated by AMF, the Nsmf_PDUSession_UpdateSMContext (PDU session-Update session management context) message sent by AMF to SMF contains a new parameter, namely, the TSN Domain ID to be deactivated. After receiving the TSN Domain ID deactivation message, SMF will instruct UPF / NW-TT to no longer forward the TSN synchronization data of this TSN Domain to this UE. Step S1112, AMF feeds back a TSN activation response to UDM. It should be noted that this step is an optional step. If this step is included, AMF can indicate whether the TSN time synchronization is successfully deactivated by feeding back a TSN activation response to UDM.

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

[0329] like Fig.12 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:

[0330] Step S1201, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 by a UE (the UE is not Fig.12 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT, and the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0331] In one embodiment of the present application, the specific process of step S1201 is similar to Figure 8 Step S801 in . Fig.12 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0332] Step S1202: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0333] Step S1203a, NEF sends a Nudm_SDM_Get request to UDM. The specific process of this step is similar to Figure 8 Step S803a in is not repeated here.

[0334] Step S1203b, UDM sends a Nudm_SDM_Get response to NEF. The specific process of this step is similar to Figure 8 Step S803b in is not repeated here.

[0335] Similar to the above description, 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 S1203b is a SUPI list and an optional MSISDN list. At this time, the following steps S1204 to S1214 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0336] Step S1204, NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Activation (indicating activation operation), S-NSSAI, and DNN.

[0337] Step S1205: UDM performs processing. The specific process of this step is similar to Figure 8 Step S805 in will not be repeated here.

[0338] Step S1206: UDM returns a TSN authorization response to NEF.

[0339] Step S1207: NEF returns a TSN configuration creation response to AF.

[0340] In one embodiment of the present application, the specific process of step S1204 to step S1207 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0341] In step S1208, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM, if the Target ID in step S1201 refers to a single UE; if the Target ID in step S1201 refers to a group ID, then to each UE separately. The TSN activation request includes the relevant parameters in the TSN authorization request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating the activation operation), S-NSSAI, and DNN. There is no order of precedence between step S1208 and step S1206 and step S1207.

[0342] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually at most two). In this case, the UDM may first send a message to the AMF whose RAT is 3GPP. If the registration message for the PDU session of the UE sent by the SMF is not received in step S1211, or the TSN activation response fed back by the AMF to the UDM in step S1212 indicates that the activation is not successful (the AMF may send a TSN activation response indicating that the activation is not successful when it determines that the PDU session is not established successfully), then the message may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that none of them are successfully activated in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs if the PDU session registration message for the UE fed back by the SMF is not received within the set time.

[0343] Step S1209, AMF initiates a network-triggered service request.

[0344] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, step S1209 does not need to be performed.

[0345] Step S1210: AMF sends a PDU session establishment instruction to the UE. The PDU session establishment instruction includes: TSNDomain ID, TSN Activation Time, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, and DNN.

[0346] Step S1211, UE initiates a service request process.

[0347] In one embodiment of the present application, if the TSNActivation Time in the PDU session establishment instruction received by the UE indicates that a TSN time synchronization operation is to be performed immediately, then since the UE is still in a connected state, step S1211 can be skipped and subsequent steps can be executed directly.

[0348] 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 PDU session establishment instruction. If so, step S1211 is executed to establish a signaling connection with the AMF, and then subsequent steps are executed; if the UE is still in the connected state, step S1211 is skipped and subsequent steps are executed directly.

[0349] 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 so, execute step S1211 to establish a signaling connection with the AMF, and then execute subsequent steps; if the UE is still in the connected state, skip step S1211 and directly execute subsequent steps.

[0350] In one embodiment of the present application, if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds or indicates that the TSN time synchronization operation is to be performed after a specific time point, but when the activation time has not arrived, if the UE moves to a new AMF, the UE can continue with subsequent steps and this method is not affected.

[0351] 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 (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, and the synchronization accuracy is usually within 50ms to 1 second).

[0352] Step S1212: UE initiates a PDU session establishment process. The specific process of this step is similar to Figure 8 Step S811 in will not be repeated here.

[0353] Step S1213, AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully activated by feeding back a TSN activation response to UDM.

[0354] Step S1214a, if the TSN Domain ID is TSN clock domain 1, the UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE; Step S1214b, if the TSN Domain ID is TSN clock domain 2, the UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE; Step S1214c, if the TSN Domain ID indicates the 5G Time Domain, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0355] In one embodiment of the present application, steps S1214a to S1214c can refer to 3GPP protocol TR23.700-020. After TSN time synchronization is successfully activated, UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate UE to perform TSN time synchronization processing.

[0356] like Fig.13 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:

[0357] Step S1301, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 through a UE (the UE is not Fig.13 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0358] In one embodiment of the present application, the specific process of step S1301 is similar to Figure 8 Step S801 in Fig.11 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of Activation / DeactivationIndicator is Deactivation.

[0359] Step S1302: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0360] Step S1303a, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 8 Step S803a shown in FIG. 8 is not described in detail again.

[0361] Step S1303b, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 8 Step S803b shown in FIG. 8 is not described in detail.

[0362] Similar to the above description, 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 S1303b is a SUPI list and an optional MSISDN list. At this time, the following steps S1304 to S1313 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0363] Step S1304: NEF sends a TSN authorization request to UDM. The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DLTSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0364] Step S1305: UDM performs processing. The specific process of this step is similar to Figure 8 Step S805 in will not be repeated here.

[0365] Step S1306: UDM returns a TSN authorization response to NEF.

[0366] Step S1307: NEF returns a TSN configuration creation response to AF.

[0367] In one embodiment of the present application, the specific process of step S1304 to step S1307 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0368] In step S1308, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM, if the Target ID in step S1001 refers to a single UE; if the Target ID in step S1001 refers to a group ID, then to each UE separately. The TSN activation request includes the relevant parameters in the TSN authorization request, such as Target ID, TSN Activation Time, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN. Among them, there is no order between step S1008 and step S1006 and step S1007.

[0369] It should be noted that: a UE may have multiple AMFs registered on the UDM (usually up to two). In this case, the UDM may first send a TSN activation request to the AMF whose RAT is 3GPP. If the update context message for the PDU session of the UE sent by the SMF is not received in step S1311a or step S1311b, or the TSN activation response fed back by the AMF to the UDM in step S1312 indicates that the deactivation is not successful (the AMF may send a TSN activation response indicating that the deactivation is not successful when it is determined that the PDU session is not released successfully or modified successfully), then the TSN activation request may be sent again to the AMF corresponding to the RAT of Non-3GPP. Of course, the UDM may send TSN activation requests to these multiple AMFs at the same time, and then indicate that the deactivation is not successful in the TSN activation responses fed back by these multiple AMFs, or resend TSN activation requests to these multiple AMFs when the update context message for the PDU session of the UE fed back by the SMF is not received within the set time.

[0370] Step S1309: AMF initiates a network-triggered service request. The processing of this step is similar to Fig.12 Step S1209 shown in FIG. 1 is not described in detail.

[0371] Step S1310: AMF sends a PDU session release or modification instruction to the UE. The PDU session release or modification instruction includes: TSN Domain ID, TSN Activation Time, UL or DL ​​TSN Synchronization, Deactivation, S-NSSAI, and DNN.

[0372] Step S1311, UE initiates a service request process.

[0373] In one embodiment of the present application, if the TSNActivation Time indication in the PDU session release or modification instruction received by the UE is to immediately perform a TSN time synchronization operation, since the UE is still in a connected state, step S1311 can be skipped and subsequent steps can be executed directly.

[0374] If the TSN Activation Time indicates that the TSN time synchronization operation will be performed after X seconds, the UE determines whether it is in the CM-IDLE state X seconds after receiving the PDU session release or modification instruction. If so, execute step S1311 to establish a signaling connection with the AMF, and then execute subsequent steps; if the UE is still in the connected state, skip step S1311 and directly execute subsequent steps.

[0375] 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 so, execute step S1211 to establish a signaling connection with the AMF, and then execute subsequent steps; if the UE is still in the connected state, skip step S1311 and directly execute subsequent steps.

[0376] In one embodiment of the present application, if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds or indicates that the TSN time synchronization operation is to be performed after a specific time point, but when the deactivation time has not arrived, if the UE moves to a new AMF, the UE can continue with subsequent steps and this method is not affected.

[0377] It should be noted that: it is assumed here that the UE time is synchronized with the network time (this time synchronization is not the TSN time synchronization, but the time synchronization obtained by the UE from the network, and the synchronization accuracy is within 1 second).

[0378] Step S1312: UE initiates a PDU session release or modification process. The processing of this step is similar to Fig. 9 Step S911a shown in FIG. 1 is not described in detail.

[0379] Step S1313: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully deactivated by feeding back a TSN activation response to UDM.

[0380] The above embodiments respectively describe the schemes in which the UDM, AMF and UE control the timing of the UE performing TSN time synchronization operations. In other embodiments of the present application, the NEF may also control the timing of the UE performing TSN time synchronization operations. Specifically, there are two embodiments as follows:

[0381] 1. An implementation example of NEF controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

[0382] like Fig.16 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:

[0383] Step S1601, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the NEF through a UE (the UE is not Fig.16 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT, and the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0384] In one embodiment of the present application, the specific process of step S1601 is similar to Figure 8 Step S801 in . Fig.16 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0385] Step S1602: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0386] Step S1603a, NEF sends a Nudm_SDM_Get request to UDM. The specific process of this step is similar to Figure 8 Step S803a in is not repeated here.

[0387] Step S1603b, UDM sends a Nudm_SDM_Get response to NEF. The specific process of this step is similar to Figure 8 Step S803b in is not repeated here.

[0388] Similar to the above description, 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 S1603b is a SUPI list and an optional MSISDN list. At this time, the following steps S1604 to S1613 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0389] Step S1604: NEF sends a TSN authorization request to UDM.

[0390] In one embodiment of the present application, if the TSN Activation Time included in the TSN configuration creation request indicates that the TSN time synchronization operation is to be performed immediately, a TSN authorization request is immediately sent to the UDN; if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds, a TSN authorization request is sent to the UDN X seconds after receiving the TSN configuration creation request; if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed at a specified time point, the NEF sends a TSN authorization request to the UDN at the specified time point (if the specific time point is already earlier than the current time point, the NEF sends the TSN authorization request immediately).

[0391] The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating activation operation), S-NSSAI, and DNN.

[0392] Step S1605: UDM performs processing. The specific process of this step is similar to Figure 8 Step S805 in will not be repeated here.

[0393] Step S1606: UDM returns a TSN authorization response to NEF.

[0394] Step S1607: NEF returns a TSN configuration creation response to AF.

[0395] In one embodiment of the present application, the specific process of step S1604 to step S1607 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0396] In step S1608, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM (if the Target ID in step S1601 refers to a single UE, then it is only a single UE; if the Target ID in step S1601 refers to a group ID, then it is sent to each UE separately). The TSN activation request contains the relevant parameters in the TSN authorization request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating the activation operation), S-NSSAI, and DNN. Among them, there is no order difference between step S1608 and step S1606 and step S1607. If a UE is registered with multiple AMFs on the UDM, the specific sending process can be referred to. Figure 8 The detailed description of step S808 will not be repeated here.

[0397] Step S1609, AMF initiates a network-triggered service request.

[0398] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0399] Step S1610, AMF sends a PDU session establishment instruction to the UE.

[0400] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to establish a PDU session. The PDU session establishment instruction includes: TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, and DNN.

[0401] Step S1611: UE initiates a PDU session establishment process. The specific process of this step is similar to Figure 8 Step S811 in will not be repeated here.

[0402] Step S1612: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully activated by feeding back a TSN activation response to UDM.

[0403] Step S1613a, if the TSN Domain ID is TSN clock domain 1, the UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE; Step S1613b, if the TSN Domain ID is TSN clock domain 2, the UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE; Step S1613c, if the TSN Domain ID indicates the 5G Time Domain, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0404] In one embodiment of the present application, steps S1613a to S1613c can refer to 3GPP protocol TR23.700-020. After TSN time synchronization is successfully activated, UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate UE to perform TSN time synchronization processing.

[0405] like Fig.17 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:

[0406] Step S1701, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 through a UE (the UE is not Fig.17 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0407] In one embodiment of the present application, the specific process of step S1701 is similar to Figure 8 Step S801 in Fig.17 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of Activation / DeactivationIndicator is Deactivation.

[0408] Step S1702: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0409] Step S1703a, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 8 Step S803a shown in FIG. 8 is not described in detail again.

[0410] Step S1703b, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 8 Step S803b shown in FIG. 8 is not described in detail.

[0411] Similar to the above description, 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 S1703b is a SUPI list and an optional MSISDN list. At this time, the following steps S1704 to S1712 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0412] Step S1704: NEF sends a TSN authorization request to UDM.

[0413] In one embodiment of the present application, if the TSN Activation Time included in the TSN configuration creation request indicates that the TSN time synchronization operation is to be performed immediately, a TSN authorization request is immediately sent to the UDN; if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after X seconds, a TSN authorization request is sent to the UDN X seconds after receiving the TSN configuration creation request; if the TSN Activation Time indicates that the TSN time synchronization operation is to be performed at a specified time point, the NEF sends a TSN authorization request to the UDN at the specified time point (if the specific time point is already earlier than the current time point, the NEF sends the TSN authorization request immediately).

[0414] The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0415] Step S1705: UDM performs processing. The processing of this step is similar to Figure 8 Step S805 shown in FIG. 1 is not described in detail here.

[0416] Step S1706: UDM returns a TSN authorization response to NEF.

[0417] Step S1707: NEF returns a TSN configuration creation response to AF.

[0418] In one embodiment of the present application, the specific process of step S1704 to step S1707 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0419] In step S1708, UDM sends a TSN activation request to the AMF whose SUPI is registered to UDM (if the Target ID in step S1701 refers to a single UE, then it is only a single UE; if the Target ID in step S1701 refers to a group ID, then it is sent to each UE separately). The TSN activation request contains the relevant parameters in the TSN authorization request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN. Among them, there is no order difference between step S1708 and step S1706 and step S1707. If a UE has multiple AMFs registered on the UDM, the specific sending process can be referred to. Figure 8 The detailed description of step S808 will not be repeated here.

[0420] Step S1709, AMF initiates a network-triggered service request.

[0421] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0422] Step S1710, AMF sends a PDU session release or modification instruction to the UE.

[0423] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to release or modify the PDU session. The PDU session release or modification instruction includes: TSN Domain ID, UL or DL ​​TSNSynchronization, Deactivation, S-NSSAI, DNN.

[0424] Step S1711a, UE initiates PDU session release or modification process. The processing of this step is similar to Fig. 9 Step S911a shown in FIG. 1 is not described in detail.

[0425] Step S1711b, AMF initiates the PDU session release or modification process. The processing of this step is similar to Fig. 9 It should be noted that if the AMF decides to initiate the PDU session release or modification process by itself, then there is no need to perform Fig.17 If the AMF decides to let the UE initiate the PDU session release or modification process, steps S1710 and S1711a will be executed, and step S1711b will not be executed.

[0426] Step S1712: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully deactivated by feeding back a TSN activation response to UDM.

[0427] 2. Another embodiment of NEF controlling the timing of TSN time synchronization operation (divided into activation process and deactivation process):

[0428] like Fig.18 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:

[0429] Step S1801, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 through a UE (the UE is not Fig.18 The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT, and the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0430] In one embodiment of the present application, the specific process of step S1801 is similar to Figure 8 Step S801 in . Fig.18 The illustrated embodiment is an activation operation of TSN time synchronization, and therefore the value of the Activation / Deactivation Indicator is Activation.

[0431] Step S1802: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0432] Step S1803a, NEF sends a Nudm_SDM_Get request to UDM. The specific process of this step is similar to Figure 8 Step S803a in is not repeated here.

[0433] Step S1803b, UDM sends a Nudm_SDM_Get response to NEF. The specific process of this step is similar to Figure 8 Step S803b in is not repeated here.

[0434] Similar to the above description, 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 S1803b is a SUPI list and an optional MSISDN list. At this time, the following steps S1804 to S1813 need to perform similar operations on each SUPI (i.e., each UE) in the list.

[0435] Step S1804: NEF sends a TSN authorization request to UDM.

[0436] In one embodiment of the present application, the TSN authorization request includes relevant parameters in the TSN configuration creation request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Activation (indicating an activation operation), S-NSSAI, and DNN. The TSN authorization request may also include TSN Activation Time.

[0437] Step S1805: UDM performs processing. The specific process of this step is similar to Figure 8 Step S805 in will not be repeated here.

[0438] Step S1806: UDM returns a TSN authorization response to NEF, which contains information about the AMF in which the UE is registered on the UDM.

[0439] Step S1807: NEF returns a TSN configuration creation response to AF.

[0440] In one embodiment of the present application, the specific process of step S1804 to step S1807 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0441] Step S1808: UDM sends a TSN activation request to AMF.

[0442] In one embodiment of the present application, when NEF sends a TSN activation request to a UE, if the TSN Activation Time contained in the TSN configuration creation request received by NEF indicates that a TSN time synchronization operation is to be performed immediately, then NEF immediately sends a TSN activation request to an AMF whose SUPI is registered to UDM (if the Target ID in step S1801 refers to a single UE, then only a single UE; if the Target ID in step S1801 refers to a group ID, then each UE is sent a TSN activation request. This TSN activation request contains TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, DNN, etc. If a UE is registered with multiple AMFs on the UDM, the specific sending process can refer to Figure 8 The detailed description of step S808 will not be repeated here.

[0443] If the TSN Activation Time indicates that the TSN time synchronization operation will be performed after X seconds, the NEF sends a TSN activation request X seconds after receiving the TSN configuration creation request.

[0444] When the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after a specific time point, the NEF sends a TSN activation request after the specific time point. (If the specific time point is earlier than the current time point, the UDM sends a TSN activation request immediately).

[0445] Step S1809, AMF initiates a network-triggered service request.

[0446] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0447] Step S1810, AMF sends a PDU session establishment instruction to the UE.

[0448] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to establish a PDU session. The PDU session establishment instruction includes: TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, and DNN.

[0449] Step S1811: UE initiates a PDU session establishment process. The specific process of this step is similar to Figure 8 Step S811 in will not be repeated here.

[0450] Step S1812: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully activated by feeding back a TSN activation response to UDM.

[0451] Step S1813a, if the TSN Domain ID is TSN clock domain 1, the UPF / NW-TT sends the gPTP message of TSN clock domain 1 to the UE; Step S1813b, if the TSN Domain ID is TSN clock domain 2, the UPF / NW-TT sends the gPTP message of TSN clock domain 2 to the UE; Step S1813c, if the TSN Domain ID indicates the 5G Time Domain, the UPF / NW-TT sends the gPTP message of the 5G system clock domain to the UE.

[0452] In one embodiment of the present application, steps S1813a to S1813c can refer to 3GPP protocol TR23.700-020. After TSN time synchronization is successfully activated, UPF / NW-TT forwards TSN synchronization related data in different directions according to TSN Domain to facilitate UE to perform TSN time synchronization processing.

[0453] like Fig.19 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:

[0454] Step S1901, AF sends a TSN configuration creation request to NEF. Prior to this, the master clock of TSN domain 1 is connected to the TSN domain 1 through a UE (the UE is not Fig.19The DS-TT / UE shown in the figure can send the uplink gPTP message of TSN clock domain 1 to UPF / NW-TT; the master clock of TSN domain 2 can send the downlink gPTP message of TSN clock domain 2 to UPF / NW-TT through the terminal device; UPF / NW-TT sends the gPTP message of TSN clock domain 1 to UE; UPF / NW-TT sends the gPTP message of TSN clock domain 2 to UE; if the synchronization of 5G time domain is performed, UPF / NW-TT sends the gPTP message of 5G system clock domain to UE. These messages are used to perform TSN time synchronization operations in different TSN time domains.

[0455] In one embodiment of the present application, the specific process of step S1901 is similar to Figure 8 Step S801 in Fig.19 The illustrated embodiment is a deactivation operation of TSN time synchronization, and therefore the value of Activation / DeactivationIndicator is Deactivation.

[0456] Step S1902: NEF performs processing. The specific process of this step is similar to Figure 8 Step S802 in will not be repeated here.

[0457] Step S1903a, NEF sends a Nudm_SDM_Get request to UDM. The processing of this step is similar to Figure 8 Step S803a shown in FIG. 8 is not described in detail again.

[0458] Step S1903b, UDM sends a Nudm_SDM_Get response to NEF. The processing of this step is similar to Figure 8 Step S803b shown in FIG. 8 is not described in detail.

[0459] Similar to the above description, 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 S1903b is a SUPI list and an optional MSISDN list. At this time, the following steps S1904 to S1912 can perform similar operations on each SUPI (i.e., each UE) in the list.

[0460] Step S1904: NEF sends a TSN authorization request to UDM.

[0461] The TSN authorization request includes the relevant parameters in the TSN configuration creation request, such as Target ID, TSN Domain ID, UL or DL ​​TSN Synchronization, Deactivation (indicating a deactivation operation), S-NSSAI, and DNN.

[0462] Step S1905: UDM performs processing. The processing of this step is similar to Figure 8 Step S805 shown in FIG. 1 is not described in detail here.

[0463] Step S1906: UDM returns a TSN authorization response to NEF, which contains information about the AMF on which the UE is registered.

[0464] Step S1907, NEF returns a TSN configuration creation response to AF.

[0465] In one embodiment of the present application, the specific process of step S1904 to step S1907 may refer to step 3 to step 6 in section 6.8.3.1 “procedure for AF Requested TSNSynchronization Activation” in 3GPP protocol TS23.700-20V0.3.0.

[0466] Step S1908: UDM sends a TSN activation request to AMF.

[0467] In one embodiment of the present application, when NEF sends a TSN activation request to a UE, if the TSN Activation Time contained in the TSN configuration creation request received by NEF indicates that a TSN time synchronization operation is to be performed immediately, then NEF immediately sends a TSN activation request to an AMF whose SUPI is registered to UDM (if the Target ID in step S1901 refers to a single UE, then only a single UE; if the Target ID in step S1901 refers to a group ID, then each UE is sent a TSN activation request. This TSN activation request contains TSN Domain ID, UL or DL ​​TSN Synchronization, Activation, S-NSSAI, DNN, etc. If a UE is registered with multiple AMFs on the UDM, the specific sending process can refer to Figure 8 The detailed description of step S808 will not be repeated here.

[0468] If the TSN Activation Time indicates that the TSN time synchronization operation will be performed after X seconds, the NEF sends a TSN activation request X seconds after receiving the TSN configuration creation request.

[0469] When the TSN Activation Time indicates that the TSN time synchronization operation is to be performed after a specific time point, the NEF sends a TSN activation request after the specific time point. (If the specific time point is earlier than the current time point, the UDM sends a TSN activation request immediately).

[0470] Step S1909, AMF initiates a network-triggered service request.

[0471] In one embodiment of the present application, if the UE is in the CM-IDLE state, the AMF may initiate a network-triggered Service Request process to establish a signaling connection between the UE and the AMF. If the UE is already in the CM-CONNECTED state, this step does not need to be performed.

[0472] Step S1910, AMF sends a PDU session release or modification instruction to the UE.

[0473] In one embodiment of the present application, the AMF may send a NAS message to the UE to request the UE to release or modify the PDU session. The PDU session release or modification instruction includes: TSN Domain ID, UL or DL ​​TSNSynchronization, Deactivation, S-NSSAI, DNN.

[0474] Step S1911a, UE initiates PDU session release or modification process. The processing of this step is similar to Fig. 9 Step S911a shown in FIG. 1 is not described in detail.

[0475] Step S1911b, AMF initiates the PDU session release or modification process. The processing of step is similar to Fig. 9 It should be noted that if the AMF decides to initiate the PDU session release or modification process by itself, then there is no need to perform Fig.19 If the AMF decides to let the UE initiate the PDU session release or modification process, steps S1910 and S1911a will be executed, and step S1911b will not be executed.

[0476] Step S1912: AMF feeds back a TSN activation response to UDM. It should be noted that this step is optional. If this step is included, AMF can indicate whether TSN time synchronization is successfully deactivated by feeding back a TSN activation response to UDM.

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

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

[0479] Fig. 20 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.

[0480] Reference Fig. 20 As shown, a time synchronization device 2000 according to an embodiment of the present application includes: a first receiving unit 2002 and a first sending unit 2004 .

[0481] Among them, the first receiving unit 2002 is configured to receive a time-sensitive network TSN configuration creation request sent by an application function entity AF, and the TSN configuration creation request includes an identifier of a target user device and first information for indicating a TSN time synchronization trigger condition; the first sending unit 2004 is configured to send a TSN authorization request to a unified data management entity UDM, and the TSN authorization request is used to request the UDM to send a TSN activation request containing the first information to the AMF registered by the target user device after confirming the authorization, so as to send control signaling for TSN time synchronization operation to the target user device through the AMF.

[0482] In some embodiments of the present application, based on the aforementioned scheme, the first sending unit 2004 is also configured to: before sending a TSN authorization request to the unified data management entity UDM, 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.

[0483] 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 2004 is configured to: send a TSN authorization request to the UDM for each user equipment in the network identification list.

[0484] In some embodiments of the present application, based on the aforementioned scheme, the first information used to indicate the TSN time synchronization trigger condition includes: a TSN clock domain identifier, a first field information used to indicate whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information used to indicate whether it is an activation operation or a deactivation operation, network slice information, and a data network name; wherein, if the first information also includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or is used to indicate that a TSN time synchronization operation is performed after a predetermined time, or is used to indicate that a TSN time synchronization operation is performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is performed immediately.

[0485] Fig.21 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 UDM.

[0486] Reference Fig.21 As shown, a time synchronization device 2100 according to an embodiment of the present application includes: a second receiving unit 2102 and a second sending unit 2104 .

[0487] Among them, the second receiving unit 2102 is configured to receive a TSN authorization request, and the TSN authorization request is used to request to send a TSN activation request containing first information to the AMF to which the target user equipment is registered, and the first information is used to indicate the TSN time synchronization trigger condition; the second sending unit 2104 is configured to generate the TSN activation request, and send the TSN activation request to the AMF to which the target user equipment is registered, so as to instruct the AMF to send a control signaling for performing a TSN time synchronization operation to the target user equipment.

[0488] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 2104 is configured to: if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed immediately, or the TSN authorization request does not contain the TSN activation time information, then immediately send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed after a predetermined time, then after receiving the predetermined time of the TSN authorization request, send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, send the TSN activation request to the AMF to which the target user equipment is registered; if the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then immediately send the TSN activation request to the AMF to which the target user equipment is registered.

[0489] In some embodiments of the present application, based on the aforementioned scheme, the second sending unit 2104 is configured to: send a TSN activation request including TSN activation time information to the AMF to which the target user equipment is registered.

[0490] In some embodiments of the present application, based on the aforementioned scheme, if it is detected that there is a first target user equipment with multiple AMFs registered, the second sending unit 2104 is configured to: send the TSN activation request to the first AMF among the multiple AMFs whose access network complies with the 3GPP standard, and indicate that the activation is unsuccessful in the activation response fed back by the first AMF, or when the PDU session registration message for the first target user equipment fed back by the SMF is not received, send the TSN activation request to the second AMF among the multiple AMFs whose access network does not comply with the 3GPP standard; or send the TSN activation request to the multiple AMFs at the same time, and indicate that the activation is unsuccessful in the activation responses fed back by the multiple AMFs, or when the PDU session registration message for the first target user equipment fed back by the SMF is not received within the set time, re-send the TSN activation request to the multiple AMFs.

[0491] Fig. 22 A block diagram of a time synchronization device according to an embodiment of the present application is shown, and the communication device can be set inside the AMF.

[0492] Reference Fig. 22 As shown, according to an embodiment of the present application, a time synchronization device 2200 includes: a third receiving unit 2202 and a third sending unit 2204 .

[0493] Among them, the third receiving unit 2202 is configured to receive a TSN activation request sent by the UDM, and the TSN activation request contains first information for indicating a TSN time synchronization trigger condition; the third sending unit 2204 is configured to send a control signaling to a target user device corresponding to the current AMF based on the first information to control the target user device to perform a TSN time synchronization operation.

[0494] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit 2204 is configured to: detect whether the target user equipment is in a connection management idle state; if it is detected that the target user equipment is in a connection management idle state, initiate a network-triggered service request process to establish a signaling connection with the target user equipment; if it is detected that the target user equipment is in a connection management connected state, execute a process of sending control signaling to the target user equipment corresponding to the current AMF.

[0495] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit 2204 is configured as: if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session establishment instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation , and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session establishment instruction is sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; if the first information does not contain TSN activation time information, and the second field information indicates an activation operation, a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session.

[0496] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, the third sending unit 2204 is further configured to: if the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the TSN remaining activation time arrives; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is an activation operation, network slice information, a data network name, and TSN activation time information whose indicated time value is the TSN remaining activation time, and the TSN remaining activation time is the difference between the predetermined time and the time that has passed.

[0497] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, the third sending unit 2204 is also configured to: if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the current time reaches the specified time point; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is an activation operation, network slice information, a data network name, and the indicated time value is the TSN activation time information at the specified time point.

[0498] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit 2204 is configured as: if the target user equipment is registered to a new AMF, the context information of the TSN synchronization activation is transmitted to the new AMF through a user equipment context transfer message; if a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF by creating a user equipment context request.

[0499] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit 2204 is configured as: if the second field information indicates an activation operation, then a PDU session establishment instruction including TSN activation time information is sent to the target user equipment, and the TSN activation time information comes from the first information.

[0500] In some embodiments of the present application, based on the aforementioned scheme, the PDU session establishment instruction includes the following parameters, and the following parameters and parameter values ​​come from the first 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 that it is an activation operation, network slice information, and data network name.

[0501] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit 2204 is configured as: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request, to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time If the TSN activation time information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; if the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, then a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

[0502] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit 2204 is configured as follows: if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, then a PDU session release process is initiated immediately 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 first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release process is initiated or a PDU session modification process is initiated after the predetermined time of receiving the TSN activation request; if the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, then a PDU session release process is initiated or a PDU session modification process is initiated after the predetermined time of receiving the TSN activation request; If the information in the second field indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, a PDU session release process is initiated or a PDU session modification process is initiated; if the information in the second field indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, but the current time has exceeded the specified time point, then a PDU session release process is initiated immediately or a PDU session modification process is initiated; if the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, then a PDU session release process is initiated immediately or a PDU session modification process is initiated.

[0503] In some embodiments of the present application, based on the aforementioned scheme, the third sending unit 2204 initiates a PDU session release process or initiates a PDU session modification process, including: generating PDU session update information, the PDU session update information including an identifier of the target TSN clock domain that needs to be deactivated; sending the PDU session update information 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 target user equipment.

[0504] 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; if the target TSN clock domain, network slice information and data network name to be deactivated contained in the first information 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 to be deactivated 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 to be deactivated contained in the first information 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 to be deactivated is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

[0505] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed after a predetermined time, the third sending unit 2204 is further configured to: if the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is a deactivation operation, network slice information, a data network name, and TSN activation time information indicating that the time value indicated is the TSN remaining activation time, and the TSN remaining activation time is the difference between the predetermined time and the time that has passed.

[0506] In some embodiments of the present application, based on the aforementioned scheme, when the second field information indicates an activation operation and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed at a specified time point, the third sending unit 2204 is also configured to: if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; the context information includes: a TSN clock domain identifier, a first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, a second field information for indicating that it is a deactivation operation, network slice information, a data network name, and the indicated time value is the TSN activation time information at the specified time point.

[0507] In some embodiments of the present application, based on the aforementioned scheme, the first information includes second field information for indicating whether it is an activation operation or a deactivation operation; the third sending unit 2204 is configured as: if the second field information indicates a deactivation operation, then a PDU session release instruction or a PDU session modification instruction containing TSN activation time information is sent to the target user equipment, and the TSN activation time information comes from the first information.

[0508] In some embodiments of the present application, based on the aforementioned scheme, the PDU session release instruction or the PDU session modification instruction includes the following parameters, and the following parameters and parameter values ​​come from the first 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 that it is a deactivation operation, network slice information, and data network name.

[0509] Fig.23 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.

[0510] Reference Fig.23 As shown, a time synchronization device 2300 according to an embodiment of the present application includes: a fourth receiving unit 2302 and a processing unit 2304 .

[0511] Among them, the fourth receiving unit 2302 is configured to receive the control signaling sent by the AMF, and the control signaling includes first information for indicating the TSN time synchronization trigger condition; the processing unit 2304 is configured to perform a TSN time synchronization operation based on the control signaling and the first information.

[0512] In some embodiments of the present application, based on the aforementioned scheme, the control signaling includes a PDU session establishment instruction, and the first information includes second field information for indicating an activation operation; the processing unit 2304 is configured to: if the first information does not include TSN activation time information, then upon receiving the PDU session establishment instruction, immediately establish a PDU session to perform a TSN time synchronization operation; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session establishment instruction, then immediately establish a PDU session to perform a TSN time synchronization operation; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session establishment instruction The device performs a TSN time synchronization operation after receiving the scheduled time of the PDU session establishment instruction, then establishes a PDU session to perform the TSN time synchronization operation after receiving the scheduled time of the PDU session establishment instruction; if the first information contains TSN activation time information, and the TSN activation time information indicates that the user device performs a TSN time synchronization operation at a specified time point, then when the current time reaches the specified time point, establish a PDU session to perform the TSN time synchronization operation; if the first information contains TSN activation time information, and the TSN activation time information indicates that the user device performs a TSN time synchronization operation at a specified time point, but the current time has exceeded the specified time point, then immediately establish a PDU session to perform the TSN time synchronization operation.

[0513] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 establishes a PDU session to perform TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, including: after receiving the predetermined time of the PDU session establishment instruction, detecting whether the user equipment is in a connection management idle state; if it is detected that the user equipment is in a connection management idle state, executing the service request process, and after establishing a signaling connection with the AMF, establishing a PDU session to perform TSN time synchronization operation; if it is detected that the user equipment is in a connection management connected state, directly establishing a PDU session to perform TSN time synchronization operation.

[0514] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 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 a connection management idle state; if it is detected that the user device is in a connection management 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 it is detected that the user device is in a connection management connected state, directly establishing a PDU session to perform a TSN time synchronization operation.

[0515] 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 first 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 that it is an activation operation, network slice information, and data network name.

[0516] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 is further configured to: when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, if the time of receiving the PDU session establishment instruction does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then after receiving the predetermined time of the PDU session establishment instruction, a PDU session is established based on the new AMF to perform a TSN time synchronization operation.

[0517] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 is further configured to: when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, if the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session is established based on the new AMF to perform a TSN time synchronization operation.

[0518] In some embodiments of the present application, based on the aforementioned scheme, the control signaling includes a PDU session release instruction or a PDU session modification instruction, and the first information includes second field information for indicating a deactivation operation; the processing unit 2304 is configured to: if the first information does not include TSN activation time information, then upon receiving the PDU session release instruction or the PDU session modification instruction, immediately initiate a PDU session release process or initiate a PDU session modification process; if the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session release instruction or the PDU session modification instruction, then immediately initiate a PDU session release process or initiate a PDU session modification process; if the first information includes TSN activation time information, and the TSN activation time information indicates If the first information indicates that the user equipment performs a TSN time synchronization operation after the scheduled time of receiving the PDU session release instruction or the PDU session modification instruction, then the PDU session release process is initiated or the PDU session modification process is initiated after the scheduled time of receiving the PDU session release instruction or the PDU session modification instruction; if the first information contains TSN activation time information, and the TSN activation time information 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 release process is initiated or the PDU session modification process is initiated; if the first information contains TSN activation time information, and the TSN activation time information 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 release process is initiated immediately or the PDU session modification process is initiated.

[0519] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 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.

[0520] 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; if the target TSN clock domain, network slice information and data network name to be deactivated contained in the first information 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 to be deactivated 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 to be deactivated contained in the first information 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 to be deactivated is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

[0521] In some embodiments of the present application, based on the aforementioned scheme, the processing unit 2304 is further configured to: when the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the PDU session release instruction or the PDU session modification instruction at a predetermined time, if the time of receiving the PDU session release instruction or the PDU session modification instruction does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then upon receiving the PDU session release instruction or the PDU session modification instruction, the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process. After the scheduled time of the DU session modification instruction, a PDU session release process is initiated or a PDU session modification process is initiated based on the new AMF; when the first information contains TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point, if the current time has not reached the specified time point, and the target user equipment is registered to the new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session release process is initiated or a PDU session modification process is initiated based on the new AMF.

[0522] Fig.24 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.

[0523] It should be noted that Fig.24 The computer system 2400 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.

[0524] like Fig.24As shown, the computer system 2400 includes a central processing unit (CPU) 2401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 2402 or the program loaded from the storage part 2408 to the random access memory (RAM) 2403, such as executing the method described in the above embodiment. In the RAM 2403, various programs and data required for system operation are also stored. The CPU 2401, ROM 2402 and RAM 2403 are connected to each other through a bus 2404. An input / output (I / O) interface 2405 is also connected to the bus 2404.

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

[0526] 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 the network through the communication part 2409, and / or installed from the removable medium 2411. When the computer program is executed by the central processing unit (CPU) 2401, various functions defined in the system of the present application are executed.

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

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

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

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

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

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

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

[0534] 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 time-sensitive network TSN configuration creation request sent by an application function entity AF, wherein the TSN configuration creation request includes an identifier of a target user equipment and first information for indicating a TSN time synchronization trigger condition; Sending a TSN authorization request to a unified data management entity UDM, wherein the TSN authorization request is used to request the UDM to send a TSN activation request containing the first information to an access and mobility management entity AMF registered by the target user equipment after confirming the authorization, so as to send a control signaling for performing a TSN time synchronization operation to the target user equipment through the AMF; Wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or to indicate that a TSN time synchronization operation is performed after a predetermined time, or to indicate that a TSN time synchronization operation is performed at a specified time point; If the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is to be performed immediately.

2. The time synchronization method according to claim 1, characterized in that: Before sending the TSN authorization request to the unified data management entity UDM, 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 TSN authorization request to a unified data management entity UDM includes: For each user equipment in the network identification list, a TSN authorization request is sent to the UDM respectively.

4. The time synchronization method according to claim 1, characterized in that: The first information used to indicate the TSN time synchronization trigger condition includes: a TSN clock domain identifier, first field information used to indicate whether it is an uplink TSN synchronization or a downlink TSN synchronization, second field information used to indicate whether it is an activation operation or a deactivation operation, network slice information, and a data network name.

5. The time synchronization method according to any one of claims 1 to 4, characterized in that: The TSN authorization request includes: a TSN clock domain identifier, first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, second field information for indicating whether it is an activation operation or a deactivation operation, network slice information, and a data network name.

6. A time synchronization method, characterized in that: include: Receiving a TSN authorization request, wherein the TSN authorization request is used to request to update user subscription data of a target user device; After confirming the authorization to update the user subscription data of the target user equipment, according to the TSN activation subscription data contained in the updated user subscription data, a TSN activation request is sent to the AMF to which the target user equipment is registered, so as to instruct the AMF to send a control signaling for performing a TSN time synchronization operation to the target user equipment, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition; Wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or to indicate that a TSN time synchronization operation is performed after a predetermined time, or to indicate that a TSN time synchronization operation is performed at a specified time point; If the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is to be performed immediately.

7. The time synchronization method according to claim 6, characterized in that: Sending a TSN activation request to the AMF to which the target user equipment is registered includes: If the TSN activation time information included in the TSN authorization request indicates that a TSN time synchronization operation is to be performed immediately, or the TSN authorization request does not include the TSN activation time information, the TSN activation request is immediately sent to the AMF to which the target user equipment is registered; If the TSN activation time information included in the TSN authorization request indicates that a TSN time synchronization operation is performed after a predetermined time, the TSN activation request is sent to the AMF to which the target user equipment is registered after the predetermined time of receiving the TSN authorization request; If the TSN activation time information contained in the TSN authorization request indicates that a TSN time synchronization operation is to be performed at a specified time point, then when the current time reaches the specified time point, the TSN activation request is sent to the AMF to which the target user equipment is registered; If the TSN activation time information contained in the TSN authorization request 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, the TSN activation request is immediately sent to the AMF to which the target user equipment is registered.

8. The time synchronization method according to claim 6, characterized in that: Sending a TSN activation request to the AMF to which the target user equipment is registered includes: The TSN activation request containing the TSN activation time information is sent to the AMF to which the target user equipment is registered.

9. The time synchronization method according to claim 6, characterized in that: If it is detected that there is a first target user equipment registered with multiple AMFs, a TSN activation request is sent to the AMF to which the target user equipment is registered, including: Send the TSN activation request to a first AMF among the multiple AMFs whose access network complies with the 3GPP standard, and indicate that the activation is unsuccessful in the activation response fed back by the first AMF, or when the protocol data unit PDU session registration message for the first target user equipment fed back by the session management function entity SMF is not received, send the TSN activation request to a second AMF among the multiple AMFs whose access network does not comply with the 3GPP standard; or The TSN activation request is sent to the multiple AMFs at the same time. When the activation responses fed back by the multiple AMFs indicate that none of the activations are successful, or when the PDU session registration message for the first target user equipment fed back by the SMF is not received within the set time, the TSN activation request is resent to the multiple AMFs.

10. A time synchronization method, characterized in that: include: Receive a TSN activation request sent by the UDM, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition; wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or is used to indicate that a TSN time synchronization operation is performed after a predetermined time, or is used to indicate that a TSN time synchronization operation is performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is performed immediately; Based on the first information, a control signaling is sent to a target user equipment corresponding to the current AMF to control the target user equipment to perform a TSN time synchronization operation.

11. The time synchronization method according to claim 10, characterized in that: Sending control signaling to the target user equipment corresponding to the current AMF includes: Detecting whether the target user equipment is in a connection management idle state; If it is detected that the target user equipment is in a connection management idle state, initiating a network-triggered service request process to establish a signaling connection with the target user equipment; If it is detected that the target user equipment is in a connection management connection state, a process of sending control signaling to the target user equipment corresponding to the current AMF is executed.

12. The time synchronization method according to claim 10, characterized in that: The first information includes second field information for indicating whether it is an activation operation or a deactivation operation; Based on the first information, sending control signaling to a target user equipment corresponding to the current AMF includes: If the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; If the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, a PDU session establishment instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to establish a PDU session; If the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed at a specified time point, when the current time reaches the specified time point, a PDU session establishment instruction is sent to the target user equipment to instruct the target user equipment to establish a PDU session; If the second field information indicates an activation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed at a specified time point, but the current time has exceeded the specified time point, a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session; If the first information does not include TSN activation time information, and the second field information indicates an activation operation, a PDU session establishment instruction is immediately sent to the target user equipment to instruct the target user equipment to establish a PDU session.

13. The time synchronization method according to claim 12, characterized in that: When the second field information indicates an activation operation, and the TSN activation time information included in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, If the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the remaining TSN activation time is reached; The context information includes: a TSN clock domain identifier, first field information for indicating whether it is an uplink TSN synchronization or a downlink TSN synchronization, second field information for indicating that it is an activation operation, network slice information, a data network name, and TSN activation time information whose indicated time value is the TSN remaining activation time, and the TSN remaining activation time is the difference between the scheduled time and the time that has passed.

14. The time synchronization method according to claim 12, characterized in that: When the second field information indicates an activation operation, and the TSN activation time information included in the first information indicates that a TSN time synchronization operation is performed at a specified time point, If the current time has not reached the specified time point, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF, so that the new AMF sends a PDU session establishment instruction to the target user equipment after the current time reaches the specified time point; The context information includes: a 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, a data network name, and the indicated time value is the TSN activation time information of the specified time point.

15. The time synchronization method according to claim 13 or 14, characterized in that: If the target user equipment is registered with a new AMF, the context information of the TSN synchronization activation is transmitted to the new AMF via a user equipment context transfer message; If a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF by creating a user equipment context request.

16. The time synchronization method according to claim 10, characterized in that: The first information includes second field information for indicating whether it is an activation operation or a deactivation operation; Based on the first information, sending control signaling to a target user equipment corresponding to the current AMF includes: If the second field information indicates an activation operation, a PDU session establishment instruction including TSN activation time information is sent to the target user equipment, where the TSN activation time information comes from the first information.

17. The time synchronization method according to any one of claims 12 to 14 and 16, characterized in that: The PDU session establishment instruction includes the following parameters, and the following parameters and parameter values ​​are derived from the first 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, network slice information, and data network name.

18. The time synchronization method according to claim 10, characterized in that: The first information includes second field information for indicating whether it is an activation operation or a deactivation operation; Based on the first information, sending control signaling to a target user equipment corresponding to the current AMF includes: If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment after the predetermined time of receiving the TSN activation request to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed at a specified time point, then when the current time reaches the specified time point, a PDU session release instruction or a PDU session modification instruction is sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed at a specified time point, but the current time has exceeded the specified time point, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process; If the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, a PDU session release instruction or a PDU session modification instruction is immediately sent to the target user equipment to instruct the target user equipment to initiate a PDU session release process or a PDU session modification process.

19. The time synchronization method according to claim 18, characterized in that: The PDU session release instruction or the PDU session modification instruction includes the following parameters, and the following parameters and parameter values ​​are derived from the first 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 that it is a deactivation operation, network slice information, and data network name.

20. The time synchronization method according to claim 10, characterized in that: The first information includes second field information for indicating whether it is an activation operation or a deactivation operation; Based on the first information, sending control signaling to a target user equipment corresponding to the current AMF includes: If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is to be performed immediately, a PDU session release process is immediately initiated 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 first information indicates that a TSN time synchronization operation is performed after a predetermined time, a PDU session release process is initiated or a PDU session modification process is initiated after the predetermined time of receiving the TSN activation request; If the second field information indicates a deactivation operation, and the TSN activation time information contained in the first information indicates that a TSN time synchronization operation is performed at a specified time point, then when the current time reaches the specified time point, a PDU session release process is initiated 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 first information indicates that a TSN time synchronization operation is performed at a specified time point, but the current time has exceeded the specified time point, a PDU session release process is immediately initiated or a PDU session modification process is initiated; If the first information does not contain TSN activation time information, and the second field information indicates a deactivation operation, a PDU session release process is immediately initiated or a PDU session modification process is initiated.

21. The time synchronization method according to claim 20, characterized in that: Initiate a PDU session release process or initiate a PDU session modification process, including: Generate PDU session update information, where the PDU session update information includes an identifier of a target TSN clock domain that needs to be deactivated; The PDU session update information 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 target user equipment.

22. The time synchronization method according to claim 20, 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 first information 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 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 that need to be deactivated contained in the first information 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 is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

23. The time synchronization method according to any one of claims 18 to 22, characterized in that: When the second field information indicates a deactivation operation, and the TSN activation time information included in the first information indicates that a TSN time synchronization operation is performed after a predetermined time, If the time of receiving the TSN activation request does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; The context information includes: a 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 a deactivation operation, network slice information, a data network name, and TSN activation time information where the indicated time value is the TSN remaining activation time, and the TSN remaining activation time is the difference between the predetermined time and the time that has passed.

24. The time synchronization method according to any one of claims 18 to 22, characterized in that: When the second field information indicates an activation operation, and the TSN activation time information included in the first information indicates that a TSN time synchronization operation is performed at a specified time point, If the current time does not reach the specified time point, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, the context information of the TSN synchronization activation is transmitted to the new AMF; The context information includes: a 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 a deactivation operation, network slice information, a data network name, and the indicated time value is the TSN activation time information of the specified time point.

25. The time synchronization method according to claim 10, characterized in that: The first information includes second field information for indicating whether it is an activation operation or a deactivation operation; Based on the first information, sending control signaling to a target user equipment corresponding to the current AMF includes: If the second field information indicates a deactivation operation, a PDU session release instruction or a PDU session modification instruction including TSN activation time information is sent to the target user equipment, where the TSN activation time information comes from the first information.

26. A time synchronization method, characterized in that: include: Receive control signaling sent by AMF, wherein the control signaling includes first information for indicating a TSN time synchronization trigger condition; wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or is used to indicate that a TSN time synchronization operation is performed after a predetermined time, or is used to indicate that a TSN time synchronization operation is performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is performed immediately; and a TSN time synchronization operation is performed based on the control signaling and the first information.

27. The time synchronization method according to claim 26, characterized in that: The control signaling includes a PDU session establishment instruction, and the first information includes second field information for indicating an activation operation; Performing a TSN time synchronization operation based on the control signaling and the first information includes: If the first information does not include TSN activation time information, upon receiving the PDU session establishment instruction, a PDU session is immediately established to perform a TSN time synchronization operation; If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session establishment instruction, then a PDU session is immediately established to perform a TSN time synchronization operation; If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, then a PDU session is established to perform a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction; If the first information includes TSN activation time information, and the TSN activation time information 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 first information includes TSN activation time information, and the TSN activation time information 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.

28. The time synchronization method according to claim 27, characterized in that: Establishing a PDU session to perform a TSN time synchronization operation after receiving the PDU session establishment instruction at a predetermined time, including: After a predetermined time of receiving the PDU session establishment instruction, detecting whether the user equipment is in a connection management idle state; If it is detected that the user equipment is in the connection management idle state, the service request process is executed. After establishing a signaling connection with the AMF, a PDU session is established to perform TSN time synchronization operations; If it is detected that the user equipment is in the connection management connection state, a PDU session is directly established to perform TSN time synchronization operations.

29. The time synchronization method according to claim 27, 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 a connection management idle state; If it is detected that the user equipment is in the connection management idle state, the service request process is executed. After establishing a signaling connection with the AMF, a PDU session is established to perform TSN time synchronization operations; If it is detected that the user equipment is in the connection management connection state, a PDU session is directly established to perform TSN time synchronization operations.

30. The time synchronization method according to claim 27, 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 first 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, network slice information, and data network name.

31. The time synchronization method according to claim 27, characterized in that: When the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session establishment instruction, if the time of receiving the PDU session establishment instruction does not reach the predetermined time, and the target user equipment is registered with a new AMF or a new AMF is selected for the target user equipment during the network switching process, a PDU session is established based on the new AMF after receiving the predetermined time of the PDU session establishment instruction to perform a TSN time synchronization operation; The first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point. If the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session is established based on the new AMF to perform a TSN time synchronization operation.

32. The time synchronization method according to claim 26, characterized in that: The control signaling includes a PDU session release instruction or a PDU session modification instruction, and the first information includes second field information for indicating a deactivation operation; Performing a TSN time synchronization operation based on the control signaling and the first information includes: If the first information does not include TSN activation time information, upon receiving the PDU session release instruction or the PDU session modification instruction, a PDU session release process or a PDU session modification process is immediately initiated; If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation immediately after receiving the PDU session release instruction or the PDU session modification instruction, then the PDU session release process or the PDU session modification process is immediately initiated; If the first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation after receiving the predetermined time of the PDU session release instruction or the PDU session modification instruction, then a PDU session release process is initiated or a PDU session modification process is initiated after receiving the predetermined time of the PDU session release instruction or the PDU session modification instruction; If the first information includes TSN activation time information, and the TSN activation time information 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 release process is initiated or a PDU session modification process is initiated; If the first information includes TSN activation time information, and the TSN activation time information 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 release process is immediately initiated or a PDU session modification process is initiated.

33. The time synchronization method according to claim 32, 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 the 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.

34. The time synchronization method according to claim 32, 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 first information 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 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 that need to be deactivated contained in the first information 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 is the last TSN clock domain in the PDU session, the PDU session release process is initiated.

35. The time synchronization method according to claim 32, characterized in that: The first information includes TSN activation time information, and the TSN activation time information indicates that when the user equipment performs a TSN time synchronization operation after receiving the PDU session release instruction or the PDU session modification instruction at a predetermined time, if the time of receiving the PDU session release instruction or the PDU session modification instruction does not reach the predetermined time, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then after receiving the PDU session release instruction or the PDU session modification instruction at a predetermined time, a PDU session release process is initiated based on the new AMF or a PDU session modification process is initiated; The first information includes TSN activation time information, and the TSN activation time information indicates that the user equipment performs a TSN time synchronization operation at a specified time point. If the current time has not reached the specified time point, and the target user equipment is registered to a new AMF or a new AMF is selected for the target user equipment during the network switching process, then when the current time reaches the specified time point, a PDU session release process is initiated based on the new AMF or a PDU session modification process is initiated.

36. A time synchronization device, characterized in that: include: A first receiving unit is configured to receive a time sensitive network TSN configuration creation request sent by an application function entity AF, wherein the TSN configuration creation request includes an identifier of a target user equipment and first information for indicating a TSN time synchronization trigger condition; A first sending unit is configured to send a TSN authorization request to a unified data management entity UDM, wherein the TSN authorization request is used to request the UDM to send a TSN activation request containing the first information to an access and mobility management entity AMF registered by the target user equipment after confirming the authorization, so as to send a control signaling for performing a TSN time synchronization operation to the target user equipment through the AMF; Wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or to indicate that a TSN time synchronization operation is performed after a predetermined time, or to indicate that a TSN time synchronization operation is performed at a specified time point; If the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is to be performed immediately.

37. A time synchronization device, characterized in that: include: A second receiving unit is configured to receive a TSN authorization request, where the TSN authorization request is used to request to send a TSN activation request including first information to the AMF to which the target user equipment is registered, where the first information is used to indicate a TSN time synchronization trigger condition; A second sending unit is configured to generate the TSN activation request, and send the TSN activation request to the AMF to which the target user equipment is registered, so as to instruct the AMF to send a control signaling for performing a TSN time synchronization operation to the target user equipment; Wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or to indicate that a TSN time synchronization operation is performed after a predetermined time, or to indicate that a TSN time synchronization operation is performed at a specified time point; If the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is to be performed immediately.

38. A time synchronization device, characterized in that: include: A third receiving unit is configured to receive a TSN activation request sent by the UDM, wherein the TSN activation request includes first information for indicating a TSN time synchronization trigger condition; wherein, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is performed immediately, or is used to indicate that a TSN time synchronization operation is performed after a predetermined time, or is used to indicate that a TSN time synchronization operation is performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is performed immediately; The third sending unit is configured to send control signaling to the target user equipment corresponding to the current AMF based on the first information to control the target user equipment to perform TSN time synchronization operation.

39. A time synchronization device, characterized in that: include: A fourth receiving unit is configured to receive a control signaling sent by the AMF, where the control signaling includes first information for indicating a TSN time synchronization triggering condition; a processing unit configured to perform a TSN time synchronization operation based on the control signaling and the first information; Among them, if the first information includes TSN activation time information, the TSN activation time information is used to indicate that a TSN time synchronization operation is to be performed immediately, or to indicate that a TSN time synchronization operation is to be performed after a predetermined time, or to indicate that a TSN time synchronization operation is to be performed at a specified time point; if the first information does not include the TSN activation time information, the first information is used to indicate that a TSN time synchronization operation is to be performed immediately.

40. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the time synchronization method as described in any one of claims 1 to 5; or implements the time synchronization method as described in any one of claims 6 to 9; or implements the time synchronization method as described in any one of claims 10 to 25; or implements the time synchronization method as described in any one of claims 26 to 35.

41. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more computer programs, which, when executed by the one or more processors, enables the one or more processors to implement the time synchronization method as described in any one of claims 1 to 5; or implement the time synchronization method as described in any one of claims 6 to 9; or implement the time synchronization method as described in any one of claims 10 to 25; or implement the time synchronization method as described in any one of claims 26 to 35.

42. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor of the electronic device reads and executes the computer program from the computer-readable storage medium, so that the electronic device performs the time synchronization method described in any one of claims 1 to 5; or implements the time synchronization method described in any one of claims 6 to 9; or implements the time synchronization method described in any one of claims 10 to 25; or implements the time synchronization method described in any one of claims 26 to 35.

Citation Information

Cited By

  • Information control method and apparatus, and communications device

    US12786904B2

  • Information control method and apparatus, and communications device

    US20230164713A1