WO2021232952A1 - Method for processing tsn time synchronization service, and device - Google Patents

Method for processing tsn time synchronization service, and device Download PDF

Info

Publication number
WO2021232952A1
WO2021232952A1 PCT/CN2021/084444 CN2021084444W WO2021232952A1 WO 2021232952 A1 WO2021232952 A1 WO 2021232952A1 CN 2021084444 W CN2021084444 W CN 2021084444W WO 2021232952 A1 WO2021232952 A1 WO 2021232952A1
Authority
WO
WIPO (PCT)
Prior art keywords
time synchronization
message
tsn
information
tsn time
Prior art date
Application number
PCT/CN2021/084444
Other languages
French (fr)
Chinese (zh)
Inventor
陶源
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2021232952A1 publication Critical patent/WO2021232952A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular to a method and device for processing a time-sensitive network (Time Sensitive Network, TSN) time synchronization service.
  • TSN Time Sensitive Network
  • the 5th generation mobile communication technology (5G) system can open time synchronization capabilities to application functions (AF), and activate or deactivate TSN time synchronization services based on AF requests.
  • the main method is to create configuration activation information before establishing a Protocol Data Unit (PDU) session, and initiate a time synchronization process through a User Plan Function (UPF) after the PDU session is established.
  • the way of deactivation is that the AF requests the deletion of Unified Data Management (UDM) configuration information and releases the PDU session.
  • UDM Unified Data Management
  • the synchronization method general precise time protocol (gPTP) or PTP) method.
  • An objective of the embodiments of the present disclosure is to provide a method and device for processing TSN time synchronization services, so as to solve the problem that related technologies cannot dynamically configure the time synchronization activation state for existing PDU sessions.
  • the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to the policy control function PCF, and is characterized in that it includes:
  • the first message sent by the application function AF is acquired, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • the PCC rule is sent to the session management function SMF, so that the SMF informs the user plane function UPF or the terminal UE to activate or deactivate TSN time synchronization, and/or, according to the PCC rule, send the UE policy to the terminal UE .
  • the first message carries one or more of the following combinations:
  • One or a group of UE identities One or a group of UE identities
  • the sending the PCC rule to the session management function SMF includes:
  • the UE policy is sent to the UE, including:
  • the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
  • the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to AF, and includes:
  • a first message is sent to the PCF, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • the first message carries one or more of the following combinations:
  • One or a group of UE identities One or a group of UE identities
  • the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to SMF, including:
  • the PCC rule is obtained by the PCF according to a first message
  • the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  • the notifying UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rule includes:
  • the PDU session modification process is initiated according to the PCC rules, and the UPF and/or UE are notified to activate or deactivate the TSN time synchronization or update the information for activating the TSN time synchronization.
  • the notifying UPF and/or UE to activate time synchronization includes:
  • the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
  • embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to UDM, and includes:
  • the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
  • the acquiring the second message from the AF includes:
  • the NEF After the second message is authorized by the NEF, the NEF sends the second message to the UDM.
  • the method further includes:
  • the third message includes: TSN time synchronization information created or updated by the UDM,
  • the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  • the TSN time synchronization information includes one or more of the following combinations:
  • the first message carries one or more of the following combinations:
  • One or a group of UE identities One or a group of UE identities
  • embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to AF, and the method includes:
  • the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
  • the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to SMF, including:
  • the third message includes: TSN time synchronization information created or updated by the UDM,
  • the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  • the method further includes:
  • the notifying UPF and/or UE to activate time synchronization includes:
  • the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
  • an embodiment of the present disclosure provides a PCF, including:
  • the first sending module is configured to obtain the first message sent by the AF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • an embodiment of the present disclosure provides a PCF, including: a first transceiver and a first processor;
  • the first transceiver sends and receives data under the control of the first processor
  • the first processor reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain the first message sent by the AF, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • an embodiment of the present disclosure provides an AF, including:
  • the third sending module is configured to send a first message to the PCF before or after the PDU session is established, the first message requesting the creation, update or deletion of TSN time synchronization information.
  • an embodiment of the present disclosure provides an AF, including: a second transceiver and a second processor;
  • the second transceiver sends and receives data under the control of the second processor
  • the second processor reads the program in the memory to perform the following operations: before or after the PDU session is established, send a first message to the PCF, the first message requesting the creation, update or deletion of TSN time synchronization information.
  • an SMF including:
  • the first receiving module is used to receive PCC rules from the PCF;
  • the notification module is used to notify the UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rules;
  • the PCC rule is obtained by the PCF according to a first message
  • the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  • an embodiment of the present disclosure provides an SMF, including: a third transceiver and a third processor;
  • the third transceiver sends and receives data under the control of the third processor
  • the third processor reads the program in the memory to perform the following operations: receive PCC rules from the PCF; according to the PCC rules, notify the UPF and/or UE to activate or deactivate TSN time synchronization;
  • the PCC rule is obtained by the PCF according to a first message
  • the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  • an embodiment of the present disclosure provides a UDM, including:
  • the first obtaining module is configured to obtain a second message from the AF after the PDU session is established, the second message requesting the UDM to create, or update, or delete TSN time synchronization information;
  • the second processing module is configured to obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
  • an embodiment of the present disclosure provides a UDM, including: a fourth transceiver and a fourth processor;
  • the fourth transceiver sends and receives data under the control of the fourth processor
  • the fourth processor reads the program in the memory to perform the following operations: after the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete TSN time synchronization information; According to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
  • an embodiment of the present disclosure provides an AF, including:
  • the fourth sending module is used to send a second message to UDM after the PDU session is established;
  • the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
  • an embodiment of the present disclosure provides an AF, including: a fifth transceiver and a fifth processor;
  • the fifth transceiver sends and receives data under the control of the fifth processor
  • the fifth processor reads the program in the memory to perform the following operations: after the PDU session is established, send a second message to the UDM; wherein the first message requests the UDM to create or update TSN time synchronization information, or The second message requests deletion of TSN time synchronization information.
  • an embodiment of the present disclosure provides an SMF, including:
  • the second receiving module is configured to receive a third message from the UDM after the PDU session is established; where the third message includes: TSN time synchronization information created or updated by the UDM, or the third message notification The TSN time synchronization information of the SMF deleted by the UDM.
  • an embodiment of the present disclosure provides an SMF, including: a sixth transceiver and a sixth processor;
  • the sixth transceiver sends and receives data under the control of the sixth processor
  • the sixth processor reads the program in the memory to perform the following operations: after the PDU session is established, receive a third message from the UDM; wherein, the third message includes: TSN time synchronization information created or updated by the UDM Or, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  • an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • a communication device including: a processor, a memory, and a program stored on the memory and capable of running on the processor.
  • the program is executed by the processor,
  • the implementation includes the steps of the method described above.
  • embodiments of the present disclosure provide a readable storage medium with a program stored on the readable storage medium, and when the program is executed by a processor, the steps including the method described above are implemented.
  • the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured.
  • Figure 1 is a schematic diagram of the bridge structure in the 5G system
  • FIGS. 2a and 2b are schematic diagrams of time synchronization of TSN End Station through 5G system
  • FIG. 3 is one of the flowcharts of the method for processing TSN time synchronization service in an embodiment of the disclosure
  • FIG. 5 is the third flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure
  • FIG. 6 is the fourth flow chart of the method for processing TSN time synchronization service in an embodiment of the disclosure.
  • FIG. 7 is the fifth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure.
  • FIG. 8 is the sixth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure.
  • FIG. 9 is the seventh flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure.
  • FIG. 10 is the eighth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure.
  • FIG. 11 is one of the schematic diagrams of the PCF in the embodiment of the disclosure.
  • FIG. 12 is the second schematic diagram of the PCF in the embodiment of the disclosure.
  • FIG. 13 is one of schematic diagrams of AF in an embodiment of the disclosure.
  • FIG. 14 is the second schematic diagram of AF in an embodiment of the disclosure.
  • FIG. 15 is one of the schematic diagrams of SMF in an embodiment of the disclosure.
  • FIG. 16 is the second schematic diagram of SMF in an embodiment of the disclosure.
  • FIG. 17 is one of the schematic diagrams of UDM in an embodiment of the disclosure.
  • FIG. 18 is the second schematic diagram of UDM in an embodiment of the disclosure.
  • FIG. 19 is one of schematic diagrams of AF in an embodiment of the disclosure.
  • FIG. 20 is the second schematic diagram of AF in an embodiment of the disclosure.
  • FIG. 21 is the third schematic diagram of SMF in an embodiment of the disclosure.
  • FIG. 22 is the fourth schematic diagram of SMF in an embodiment of the disclosure.
  • FIG. 23 is a schematic diagram of a communication device in an embodiment of the disclosure.
  • 5G and TSN can coexist in factory deployments and meet major requirements such as the flexibility of 5G and the extremely low latency of TSN. But it is foreseeable that 5G TSN technology will be widely used in industrial control, machine manufacturing, high-definition audio and video transmission and other fields.
  • 5G TSN technology has transformation requirements for terminals, base stations, transmission and core networks.
  • Terminals and User Plan Function need to support TSN Translator (TT) functions.
  • the 5G system (5G System, 5GS) can be regarded as a bridge, consisting of a UPF (PDU session anchor (PSA)) side port, the user plane tunnel between the UE and the UPF, and the device
  • PDA PDU session anchor
  • DS-TT Side TSN Translator
  • CNC Centralized Network Configuration, centralized network configuration, can be applied to network equipment (bridge).
  • CUC Centralized User Configuration, centralized user configuration, can be applied to user equipment (End Station).
  • AMF Access and Mobility Management Function, access and mobility management functions, registration, connection management, etc.
  • UPF User Plan Function
  • user plane function The external PDU session node interconnected with the data network, message routing and forwarding.
  • SMF Session Management Function, session management function. Session establishment and deletion, user plane selection and control, UE IP allocation, etc.
  • TSN AF Application Function, application function. Interact with the 3GPP core network to provide services. Based on the deployment of operators, trusted AFs can directly interact with related NFs, while untrusted AFs cannot directly interact with NFs. Instead, they should use the external disclosure framework through NEF.
  • TSN AF is the AF that represents the interaction between the TSN domain (including CUC/CNC) and the control plane of the 5G system.
  • PCF Policy Control Function, policy control function. Support a unified policy framework to manage network behaviors and provide policy rules for the control plane NF to execute.
  • UDM Unified Data Management, unified data management. Store UE information, such as subscription information, and information about established PDU sessions.
  • NEF Network Exposure Function, network opening function. Provides functions that safely expose the services and capabilities provided by the 3GPP network to external networks.
  • UDR Unified Data Repository, unified database UDR.
  • 5G defines Application Function, which sends an AF request (Request) to the non-trusted domain (NEF) or to the trusted domain (PCF), which includes the target data network name (Data Network Name, DNN), application ID, N6 routing requirements, and application A series of parameters such as location.
  • PCF generates policy control and charging (PCC) rules for the target PDU session (PDU Session) service flow according to these information parameters provided by AF, combined with its own policy control, and selects an appropriate UPF for it through SMF .
  • TSN AF can represent the TSN domain (including CUC/CNC) to interact with the 5G system control plane.
  • the 5G system serves as a transparent transmission bridge of the TSN network, and the entire 5G system is regarded as a time-aware system. It is required that UE/DS-TT and UPF/Network-Side TNS Translator (NW-TT) can implement TSN Translator and meet all functions defined by IEEE802.1AS, for example, support Precision Time Protocol (Precision Time Protocol, PTP), timestamp, best master clock algorithm (Best Master Clock Algorithm, BMCA), etc.
  • 3GPP 3rd Generation Partnership Project
  • the internal clock (5G GM) that realizes the synchronization of the UE, gNB, and UPF to the 5G system maintains the synchronization of the network entity and synchronizes with the TSN domain, which has achieved end-to-end downlink and uplink time synchronization.
  • FIGS 2a and 2b are schematic diagrams of time synchronization between the TSN End Stations at both ends through the 5G system.
  • the 5G system needs to receive the synchronization message ((g)PTP) sent from the time source (End Station) of the TSN. Update time information.
  • all time information update processing is currently at the edge of the 5G system, that is, DS-TT or NW-TT is used for processing.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • LTE Long Time Evolution
  • LTE-A Long Time Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single Carrier Frequency Single-carrier Frequency-Division Multiple Access
  • the terms “system” and “network” are often used interchangeably.
  • the CDMA system can implement radio technologies such as CDMA2000 and Universal Terrestrial Radio Access (UTRA).
  • UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants.
  • the TDMA system can implement radio technologies such as the Global System for Mobile Communication (GSM).
  • OFDMA system can realize such as Ultra Mobile Broadband (UMB), Evolved UTRA (Evolution-UTRA, E-UTRA), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Flash-OFDM, etc. Radio technology.
  • UMB Ultra Mobile Broadband
  • Evolution-UTRA Evolved UTRA
  • E-UTRA IEEE 802.11
  • WiMAX IEEE 802.16
  • IEEE 802.20 Flash-OFDM
  • Flash-OFDM Flash-OFDM
  • LTE and more advanced LTE are new UMTS versions that use E-UTRA.
  • UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project” (3GPP).
  • CDMA2000 and UMB are described in documents from an organization named “3rd Generation Partnership Project 2" (3GPP2).
  • the techniques described in this article can be used for the systems and radio technologies mentioned above, as well as other systems and radio technologies.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be a PCF, and the specific steps include: step 301, step 302, and step 303.
  • Step 301 Before or after the establishment of the PDU session, obtain the first message sent by the AF, the first message requesting the creation, update or deletion of TSN time synchronization information;
  • Step 302 Obtain a policy control and charging (Policy Control and Charging, PCC) rule according to the first message;
  • Step 303 Send the PCC rule to the SMF, so that the SMF informs the user plane function UPF or the terminal UE to activate or deactivate the TSN time synchronization, and/or send the UE policy to the UE according to the PCC rule.
  • the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) Clock identification, which can indicate a TSN domain clock (indicating different clocks according to the TSN domain number), or a 5G system clock, for example, if the clock identification indicates 5GS, select 5GS clock; (6 ) Clock accuracy; (7) Synchronization information; (8) Activation or deactivation information.
  • TSN time synchronization information such as activation state, clock accuracy, and time source for one or a group of UEs, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT. In this way, flexible time configuration and management of one or a group of UEs are realized, and time deterministic communication is guaranteed.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be an AF, and the specific steps include: step 401.
  • Step 401 Send a first message to the PCF before or after the PDU session is established, the first message requesting the creation, update or deletion of TSN time synchronization information.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • TSN time synchronization information such as activation state, clock accuracy, and time source for one or a group of UEs, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT. In this way, flexible time configuration and management of one or a group of UEs are realized, and time deterministic communication is guaranteed.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be SMF, and the specific steps include: step 501 and step 502.
  • Step 501 Receive PCC rules from PCF
  • Step 502 According to the PCC rules, notify UPF and/or UE to activate or deactivate TSN time synchronization;
  • the PCC rule is obtained by the PCF according to the first message
  • the third message is sent by the AF to the PCF before or after the PDU session is established
  • the first message requests the creation, update or deletion of TSN time Synchronization information.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • the SMF initiates the PDU session modification process according to the PCC rules, and informs the UPF and/or UE to activate or deactivate TSN time synchronization or update the information of activating TSN time synchronization, for example, update the time accuracy and synchronize to different TSN domains. .
  • the activation time synchronization indication information includes one or more of the following combinations:
  • the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be UDM, and includes: step 601 and step 602.
  • Step 601 After the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete TSN time synchronization information;
  • the second message can request to create or update TSN time synchronization information, that is, the second message can request to activate TSN time synchronization information, or the second message can also request to delete existing TSN time synchronization information, that is, the second message
  • the message can request the deactivation of TSN time synchronization information.
  • the TSN time synchronization information includes subscription information
  • the second request requests UDM to create, update, or delete the subscription information.
  • the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
  • Step 602 Obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
  • the acquiring the second message from the AF specifically includes: the AF sending the second message to the network opening function NEF, and after the second message is authorized by the NEF, the NEF sends the The UDM sends the second message.
  • the method shown in FIG. 6 may further include: sending a third message to SMF; wherein, the third message includes: TSN time synchronization information created or updated by the UDM, Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  • the TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type, for example, Internet Protocol (Internet Protocol, IP), Ethernet (Ethernet); (4) synchronization information; (5) clock accuracy; (6) uplink or downlink synchronization information; (7) activation or deactivation information.
  • the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) data network name (DNN); (3) single Network slice selection auxiliary information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
  • the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be AF, and the specific steps include: step 701.
  • Step 701 After the PDU session is established, send a second message to UDM;
  • the second message requests the UDM to create or update TSN time synchronization information, or the second message requests to delete TSN time synchronization information.
  • the TSN time synchronization information includes subscription information
  • the second request requests UDM to create, update, or delete the subscription information.
  • the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
  • the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured.
  • an embodiment of the present disclosure provides a method for processing a TSN time synchronization service.
  • the execution subject of the method may be an SMF, and the specific steps include: step 801.
  • Step 801 After the PDU session is established, receive a second message from UDM;
  • the second message includes: TSN time synchronization information created or updated by the UDM, or the second message notifies the TSN time synchronization information of the SMF to be deleted by the UDM.
  • the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) data network name (DNN); (3) single Network slice selection auxiliary information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
  • the method before step 501, the method further includes:
  • the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
  • the method further includes: initiating a PDU session modification process, informing the UPF and/or UE to activate or deactivate TSN time synchronization; or, initiating a PDU session release process.
  • the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured.
  • Embodiment 1 By adding subscription information in UDM, AF dynamically configures and activates TSN time synchronization information.
  • Step 0 to Step 13 Refer to Figure 9, including: Step 0 to Step 13.
  • Step 0 UE/DS-TT obtains time source TSN domain 1 GM clock, 5GS GM clock; UPF/NW-TT obtains TSN domain 2 GM clock, TSN domain 3 GM clock, 5GS GM clock.
  • Step 1 The UE establishes a PDU session to the TSN network.
  • Step 2 SMF calls Nudm_SDM_Subscriberequest to subscribe to UDM for subscription information updates for one or a group of UEs or a specific TSN domain (domain).
  • the contract information can include one or more of the following combinations:
  • S-NSSAI Single Network Slice Selection Assistance Information
  • UE identifiers such as: Generic Public Subscription Identifier (GPSI)
  • GPSI Generic Public Subscription Identifier
  • PDU session type such as: Internet Protocol (IP), Ethernet (Ethernet)
  • IP Internet Protocol
  • Ethernet Ethernet
  • Step 3 The AF calls the Nnef_ParameterProvision_Create or Nnef_ParameterProvision_Update service operation to send the creation or update information of the TSN time synchronization parameter to the NEF, requesting to create or update the contract information in the UDM.
  • the parameters in the subscription information may include one or more of the following:
  • Step 4 If the information provided by the AF is authorized by the NEF, the NEF will send the creation/update subscription request information (Nnef_ParameterProvision_Create/Update Request) to the UDM.
  • Nnef_ParameterProvision_Create/Update Request the creation/update subscription request information
  • Step 5 If the information provided by AF is authorized by UDM, UDM creates/updates contract information accordingly.
  • Solution 1 Add subscription information for TSN Domain in UDM, including the subscription information described in step 2;
  • Solution 2 Add new parameters to the 5G VN Group (virtual network group) information in UDM, including one or more of the following combinations: (1) TSN domain number; (2) clock accuracy; (3) UL/DL Synchronization information; (4) Activation/deactivation indication; (5) Synchronization information (PTP or (g)PTP, this parameter is only for the time source of 5GS GM clock).
  • 5G VN Group virtual network group
  • Step 6 UDM replies to NEF with create/update subscription response information (Nudm_ParameterProvision_Create/Update Response).
  • Step 7 NEF replies Nnef_ParameterProvision_Create/Update Response to AF.
  • Step 8 UDM calls the Nudm_SDM_Notification Notify service operation to notify the SMF of updated TSN time synchronization information, which includes the created/updated TSN time synchronization information.
  • Step 9 The SMF initiates the PDU session modification process and informs the UPF/UE to activate time synchronization.
  • the SMF initiates the PDU session modification process and informs the UPF/UE to activate time synchronization.
  • SMF When AF requests uplink time synchronization, SMF will activate time synchronization through NAS-SM information (if the requested PDU session type is IP or request to generate PTP synchronization frame), or through Port Management Information Container (PMIC)
  • PMIC Port Management Information Container
  • the indication information is sent to the UE (DS-TT), and the indication information contains the time source to be synchronized to (for example, TSN domain 1 GM clock, 5GS GM clock);
  • SMF sends the activation time synchronization indication information to UPF (NW-TT) through the N4 Session Modification request information or the PMIC included in the information, and the indication information contains the time source that needs to be synchronized ( For example, TSN domain 2 GM clock, 5GS GM clock).
  • Step 10 The DS-TT/NW-TT sends a synchronization frame (PTP/gPTP) according to the received time synchronization information, and realizes the uplink/downlink time synchronization through the uplink and downlink time synchronization mechanism in the related technology.
  • PTP/gPTP synchronization frame
  • Step 11 AF calls the Nnef_ParameterProvision_Delete service operation to NEF, sends TSN time synchronization information deletion information, and deletes existing time synchronization information.
  • Step 12 Same as Step 4 and Step 5. After being authorized, UDM deletes the subscription information accordingly, and informs SMF that the subscription information has been deleted.
  • Step 13 SMF performs one of the following operations:
  • the SMF initiates the PDU session modification process, and notifies the UE through NAS-SM or PMIC, or notifies the UPF through N4 Session Modification to activate TSN time synchronization. For example, no more operations related to time synchronization maintenance.
  • Embodiment 2 The method of AF affecting routing is used to request activation of TSN time synchronization, and time synchronization information is dynamically configured.
  • Step 0 UE/DS-TT obtains time source TSN domain 1 GM clock, 5GS GM clock, UPF/NW-TT obtains TSN domain 2 GM clock, TSN domain 3 GM clock, 5GS GM clock.
  • Step 1 AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request.
  • the request information includes one or a combination of the following: (1) one or a group of UE identification (such as GPSI); (2) PDU session type (such as: IP, Ethernet); (3) TSN time Synchronization activation indication; (4) TSN domain number/5GS; (5) clock accuracy; (6) synchronization information (PTP or (g) PTP, this parameter is only for information such as the time source is 5GS GM clock).
  • Step 2 AF sends request information to NEF, NEF stores the AF request to UDR, PCF subscribes to the UDR for changes in the AF request, and obtains the information requested by the AF from the notification information. Alternatively, the AF sends the information directly to the PCF.
  • Step 3 The PCF generates a new PCC rule according to the AF request, including the information requested by the AF in step 2.
  • Step 4a PCF sends PCC rules to SMF by calling Npcf_SMPolicyControl_UpdateNotify;
  • Step 4b If uplink synchronization is requested, the UE policy is updated according to the PCC rules, and the updated UE policy is sent to the UE through the UE configuration update process.
  • steps 1-4a and 4b occur before the establishment of the PDU session.
  • Step 5 The UE initiates the process of establishing a PDU session to the TSN network.
  • SMF selects the corresponding PCF and informs UPF/UE to activate time synchronization, including:
  • Method 1 When AF requests uplink time synchronization, SMF will activate the time through NAS-SM information (if the request PDU session type is IP or request to generate PTP synchronization frame), or through Port Management Information Container (PMIC)
  • the synchronization indication information is sent to the UE (DS-TT).
  • the activation time synchronization indication information may include the time source to be synchronized (for example, TSN domain 1 GM clock, 5GS GM clock);
  • Method 2 When AF requests downlink time synchronization, SMF sends the activation time synchronization indication information to UPF (NW-TT) through the N4 Session Modification request information or the PMIC included in the information, and the indication information contains the time source that needs to be synchronized.
  • UPF NW-TT
  • N4 Session Modification request information or the PMIC included in the information contains the time source that needs to be synchronized.
  • Steps 6a, 6b DS-TT/NW-TT sends a synchronization frame (PTP/gPTP) according to the received time synchronization information, and realizes uplink/downlink time synchronization through the uplink and downlink time synchronization mechanism in related technologies.
  • PTP/gPTP synchronization frame
  • Step 7 AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request
  • the requested information can include one or a combination of the following: (1) one or a group of UE identifiers (such as GPSI); (2) PDU session identifier; (3) synchronization parameters that need to be updated, for example, TSN domain number /5GS, clock accuracy, UL/DL synchronization information.
  • UE identifiers such as GPSI
  • PDU session identifier such as PDU session identifier
  • synchronization parameters that need to be updated, for example, TSN domain number /5GS, clock accuracy, UL/DL synchronization information.
  • steps 1-7 are to establish a PDU session according to the information requested by the AF, and indicate the process of different activated TSN time synchronization.
  • Step 8 AF sends request information to NEF, NEF stores the AF request to UDR, PCF subscribes to the UDR for changes in the AF request, and obtains the information requested by the AF from the notification information. Or AF directly sends the information to PCF.
  • Step 9 The PCF generates a new PCC rule or updates an existing PCC rule according to the AF request, including the information requested by the AF in step 7.
  • Step 10 PCF sends PCC rules to SMF by calling Npcf_SMPolicyControl_UpdateNotify.
  • Step 11 The SMF initiates the PDU session modification process according to the PCC rules and notifies the UPF/UE to activate time synchronization, the same as the method 1) and the method 2) of step 5.
  • step 7-11 is to update the synchronization state of the PDU session in the related technology after the PDU session is established.
  • Step 12 AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request.
  • the requested information may include one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) PDU session identifiers; (3) ) Deactivate the logo.
  • Step 13 Same as steps 2-4, send the information requested by AF to SMF.
  • Step 14 SMF performs one of the following operations:
  • the SMF initiates the PDU session modification process, and notifies the UE through NAS-SM or PMIC, or notifies the UPF through N4 Session Modification to activate TSN time synchronization. For example, no more operations related to time synchronization maintenance.
  • steps 12-14 are to deactivate the synchronization state of the PDU session in the related technology after the PDU session is established.
  • an embodiment of the present disclosure provides a PCF
  • the PCF 1100 includes:
  • the first sending module 1101 is configured to obtain the first message sent by the AF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • the PCF 1100 may further include: a first processing module 1102, configured to obtain PCC rules according to the first message;
  • the second sending module 1103 is configured to send the PCC rules to the SMF, so that the SMF notifies the UPF or the UE to activate or deactivate the TSN time synchronization, and/or, according to the PCC rules, send the UE policies to the UE.
  • the second sending module 1103 sends the PCC rule to the SMF by calling Npcf_SMPolicyControl_UpdateNotify; or, according to the PCC rule, the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • the PCF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 3 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • the PCF 1200 includes: a first transceiver 1201 and a first processor 1202;
  • the first transceiver 1201 sends and receives data under the control of the first processor 1202;
  • the first processor 1202 reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain the first message sent by the AF, and the first message requests the creation, update or deletion of TSN time synchronization information.
  • the first processor 1202 further performs the following operations: obtain PCC rules according to the first message; send the PCC rules to the SMF, so that the SMF notifies the UPF or UE to activate or deactivate Activate TSN time synchronization, and/or, according to PCC rules, send the UE policy to the UE.
  • the PCC rule is sent to the SMF by calling Npcf_SMPolicyControl_UpdateNotify; or, the UE policy is updated according to the PCC rule, and the updated UE policy is sent to the UE through the UE configuration update process.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • the PCF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 3 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • an embodiment of the present disclosure provides an AF, and the AF1300 includes:
  • the third sending module 1301 is configured to send a first message to the PCF before or after the PDU session is established, the first message requesting to create, update or delete TSN time synchronization information.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • the AF provided in the embodiment of the present disclosure may execute the method embodiment shown in FIG. 4, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • the AF1400 includes a second transceiver 1401 and a second processor 1402;
  • the second transceiver 1401 sends and receives data under the control of the second processor 1402;
  • the second processor 1402 reads the program in the memory to perform the following operations: before or after the PDU session is established, send a first message to the PCF, the first message requesting the creation, update or deletion of TSN time synchronization information.
  • the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
  • the AF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG. 4 above, and its implementation principle and technical effect are similar, and the details are not repeated here in this embodiment.
  • an embodiment of the present disclosure provides an SMF
  • the SMF 1500 includes:
  • the first receiving module 1501 is configured to receive PCC rules from the PCF;
  • the notification module 1502 is configured to notify the UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rules;
  • the PCC rule is obtained by the PCF according to a first message
  • the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  • the notification module 1502 is further configured to initiate a PDU session modification process according to the PCC rules, and notify the UPF and/or UE to activate or deactivate TSN time synchronization.
  • the notification module 1502 is further configured to send the activation time synchronization indication information to the UE; and/or, send the activation time synchronization indication information to the UPF;
  • the activation time synchronization indication information includes one or more of the following combinations:
  • the SMF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 5, and its implementation principles and technical effects are similar, and details are not described in this embodiment here.
  • the SMF 1600 includes a third transceiver 1601 and a third processor 1602;
  • the third transceiver 1601 sends and receives data under the control of the third processor 1602;
  • the third processor 1602 reads the program in the memory to perform the following operations: receive the PCC rule from the PCF; according to the PCC rule, notify the UPF and/or UE to activate or deactivate the TSN time synchronization;
  • the PCC rule is obtained by the PCF according to a first message
  • the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  • the third processor 1602 reads the program in the memory and performs the following operations: sending the activation time synchronization indication information to the UE; and/or, sending the activation time synchronization indication information to the UPF;
  • the activation time synchronization indication information includes one or more of the following combinations:
  • the SMF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 5, and its implementation principles and technical effects are similar, and details are not described in this embodiment here.
  • an embodiment of the present disclosure provides a UDM, and the UDM 1700 includes:
  • the first obtaining module 1701 is configured to obtain a second message from the AF before or after the PDU session is established, the first message requesting the UDM to create, update, or delete TSN time synchronization information;
  • the second processing module 1702 is configured to obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
  • UDM1700 further includes:
  • the fifth sending module is configured to send a third message to the SMF; wherein the third message includes: TSN time synchronization information created or updated by the UDM, or the third message informs the SMF that the SMF is used by the TSN time synchronization information deleted by UDM.
  • TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type; (4) synchronization information; (5) clock Accuracy; (6) Uplink or downlink synchronization information; (7) Activation or deactivation information.
  • the first message may carry one or more of the following combinations: (1) one or a group of UE identifiers; (2) data network name (DNN); (3) single network slice selection assistance Information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
  • the UDM provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 6 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • the UDM 1800 includes: a fourth transceiver 1801 and a fourth processor 1802;
  • the fourth transceiver 1801 sends and receives data under the control of the fourth processor 1802;
  • the fourth processor 1802 reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete the TSN time Synchronization information; according to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the first message.
  • the fourth processor 1802 reads the program in the memory and performs the following operations: sending a third message to the SMF; wherein, the third message includes: the TSN time created or updated by the UDM Synchronization information, or the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  • the TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type, for example, Internet Protocol (Internet Protocol, IP), Ethernet (Ethernet); (4) synchronization information; (5) clock accuracy; (6) uplink or downlink synchronization information; (7) activation or deactivation information.
  • the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers; (2) data network name (DNN); (3) single network slice selection assistance Information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
  • the UDM provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 6 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • an embodiment of the present disclosure provides an AF, and the AF1900 includes:
  • the fourth sending module 1901 is configured to send a second message to the UDM before or after the PDU session is established;
  • the second message requests the UDM to create or update TSN time synchronization information, or the second message requests to delete TSN time synchronization information.
  • the AF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 7 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • the AF2000 includes: a fifth transceiver 2001 and a fifth processor 2002;
  • the fifth transceiver 2001 sends and receives data under the control of the fifth processor 2002;
  • the fifth processor 2002 reads the program in the memory to perform the following operations: before or after the PDU session is established, send a second message to the UDM; wherein, the second message requests the UDM to create or update TSN time synchronization information , Or the second message requests to delete the TSN time synchronization information.
  • the AF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 7 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • an embodiment of the present disclosure provides an SMF
  • the SMF 2100 includes:
  • the second receiving module 2101 is configured to receive a third message from the UDM before or after the PDU session is established; wherein, the third message includes: TSN time synchronization information created or updated by the UDM, or the first Three messages notify the TSN time synchronization information of the SMF deleted by the UDM.
  • the SMF2100 further includes:
  • the initiation module is used to initiate the PDU session modification process, and notify the UPF and/or UE to activate or deactivate the TSN time synchronization; or, initiate the PDU session release process.
  • the SMF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG. 8 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
  • the SMF 2200 includes: a sixth transceiver 2201 and a sixth processor 2202;
  • the sixth transceiver 2201 sends and receives data under the control of the sixth processor 2202;
  • the sixth processor 2202 reads the program in the memory to perform the following operations: before or after the PDU session is established, receive a third message from the UDM; wherein, the third message includes: the TSN created or updated by the UDM Time synchronization information, or the third message notifies the SMF of the TSN time synchronization information deleted by the UDM.
  • the sixth processor 2202 reads the program in the memory and also performs the following operations: initiate a PDU session modification process, notify the UPF and/or UE to activate or deactivate TSN time synchronization; or initiate PDU session release process.
  • the SMF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG.
  • FIG. 23 is a structural diagram of a communication device applied in an embodiment of the present disclosure.
  • a communication device 2300 includes: a processor 2301, a transceiver 2302, a memory 2303, and a bus interface, where:
  • the communication device 2300 further includes: a program that is stored in the memory 2303 and can run on the processor 2301. When the program is executed by the processor 2301, the step.
  • the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 2301 and various circuits of the memory represented by the memory 2303 are linked together.
  • the bus architecture can also link various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein.
  • the bus interface provides the interface.
  • the transceiver 2302 may be a plurality of components, including a transmitter and a receiver, and provide a unit for communicating with various other devices on the transmission medium. It should be understood that the transceiver 2302 is an optional component.
  • the processor 2301 is responsible for managing the bus architecture and general processing, and the memory 2303 can store data used by the processor 2301 when performing operations.
  • the communication device provided in the embodiment of the present disclosure can execute the method embodiments shown in FIG. 3 to FIG. 10, and the implementation principles and technical effects are similar, and the details are not described herein again in this embodiment.
  • the steps of the method or algorithm described in conjunction with the disclosure of the present disclosure may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
  • the software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disks, mobile hard disks, read-only optical disks, or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the core network interface device.
  • the processor and the storage medium may also exist as discrete components in the core network interface device.
  • the functions described in the present disclosure can be implemented by hardware, software, firmware, or any combination thereof.
  • these functions can be stored in a readable medium or transmitted as one or more instructions or codes on the readable medium.
  • the readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
  • the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the embodiments of the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • each module is only a division of logical functions, and can be fully or partially integrated into a physical entity during actual implementation, or can be physically separated.
  • these modules can all be implemented in the form of software called by processing elements; they can also be implemented in the form of hardware; some modules can be implemented in the form of calling software by processing elements, and some of the modules can be implemented in the form of hardware.
  • the determining module may be a separately established processing element, or it may be integrated in a chip of the above-mentioned device for implementation.
  • it may also be stored in the memory of the above-mentioned device in the form of program code, which is determined by a certain processing element of the above-mentioned device.
  • each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
  • each module, unit, sub-unit or sub-module may be one or more integrated circuits configured to implement the above method, for example: one or more application specific integrated circuits (ASIC), or one or Multiple microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Provided in embodiments of the present disclosure are a method for processing a TSN time synchronization service, and a device, the method comprising: before or after establishment of a PDU session, obtaining a first message sent by an AF, said first message requesting creating, updating, or deleting TSN time synchronization information.

Description

处理TSN时间同步服务的方法及设备Method and equipment for processing TSN time synchronization service
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年5月21日在中国提交的中国专利申请号No.202010437603.3的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010437603.3 filed in China on May 21, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开实施例涉及通信技术领域,具体涉及一种处理时间敏感网络(Time Sensitive Network,TSN)时间同步服务的方法及设备。The embodiments of the present disclosure relate to the field of communication technology, and in particular to a method and device for processing a time-sensitive network (Time Sensitive Network, TSN) time synchronization service.
背景技术Background technique
第五代移动通信技术(5th generation,5G)系统能够向应用功能(Application Function,AF)开放时间同步能力,以及基于AF请求实现激活或去激活TSN时间同步服务。主要方法是在协议数据单元(Protocol Data Unit,PDU)会话建立前先创建配置激活信息,在PDU会话建立后通过用户面功能(User Plan Function,UPF)发起时间同步流程。去激活的方式是AF请求将统一数据管理(Unified Data Management,UDM)配置信息删除,并释放PDU会话。The 5th generation mobile communication technology (5G) system can open time synchronization capabilities to application functions (AF), and activate or deactivate TSN time synchronization services based on AF requests. The main method is to create configuration activation information before establishing a Protocol Data Unit (PDU) session, and initiate a time synchronization process through a User Plan Function (UPF) after the PDU session is established. The way of deactivation is that the AF requests the deletion of Unified Data Management (UDM) configuration information and releases the PDU session.
然而,相关技术无法对已有PDU会话动态配置时间同步激活状态,并且缺少在签约信息中动态配置支持的时间精度,同步的方式(通用精确时间协议(general precise time protocol,gPTP)或者PTP)的方法。However, related technologies cannot dynamically configure the time synchronization activation state for existing PDU sessions, and lack the time accuracy supported by the dynamic configuration in the subscription information. The synchronization method (general precise time protocol (gPTP) or PTP) method.
发明内容Summary of the invention
本公开实施例的一个目的在于提供一种处理TSN时间同步服务的方法及设备,解决相关技术无法对已有PDU会话动态配置时间同步激活状态的问题。An objective of the embodiments of the present disclosure is to provide a method and device for processing TSN time synchronization services, so as to solve the problem that related technologies cannot dynamically configure the time synchronization activation state for existing PDU sessions.
第一方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于策略控制功能PCF,其特征在于,包括:In the first aspect, the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to the policy control function PCF, and is characterized in that it includes:
在协议数据单元PDU会话建立之前或之后,获取应用功能AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。Before or after the protocol data unit PDU session is established, the first message sent by the application function AF is acquired, and the first message requests the creation, update or deletion of TSN time synchronization information.
可选地,根据所述第一消息,得到策略控制和计费PCC规则;Optionally, obtain policy control and charging PCC rules according to the first message;
将所述PCC规则发送给会话管理功能SMF,以使所述SMF通知用户面功能UPF或终端UE激活或去激活TSN时间同步,和/或,根据所述PCC规则,将UE策略发送给终端UE。The PCC rule is sent to the session management function SMF, so that the SMF informs the user plane function UPF or the terminal UE to activate or deactivate TSN time synchronization, and/or, according to the PCC rule, send the UE policy to the terminal UE .
可选地,所述第一消息中携带以下一项或多项组合:Optionally, the first message carries one or more of the following combinations:
一个或一组UE标识;One or a group of UE identities;
PDU会话类型;PDU session type;
TSN时间同步激活指示;TSN time synchronization activation indication;
TSN域编号;TSN domain number;
时钟标识;Clock logo
时钟精度;Clock accuracy;
上行或下行同步信息;Uplink or downlink synchronization information;
同步信息;Synchronization information;
激活或去激活信息。Activation or deactivation information.
可选地,所述将所述PCC规则发送给会话管理功能SMF包括:Optionally, the sending the PCC rule to the session management function SMF includes:
通过调用Npcf_SMPolicyControl_UpdateNotify将所述PCC规则发送到SMF;或者,Send the PCC rule to SMF by calling Npcf_SMPolicyControl_UpdateNotify; or,
根据PCC规则,将UE策略发送给UE,包括:According to the PCC rules, the UE policy is sent to the UE, including:
根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。According to the PCC rules, the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
第二方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于AF,包括:In the second aspect, the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to AF, and includes:
在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。Before or after the PDU session is established, a first message is sent to the PCF, and the first message requests the creation, update or deletion of TSN time synchronization information.
可选地,所述第一消息中携带以下一项或多项组合:Optionally, the first message carries one or more of the following combinations:
一个或一组UE标识;One or a group of UE identities;
PDU会话类型;PDU session type;
TSN时间同步激活指示;TSN time synchronization activation indication;
TSN域编号;TSN domain number;
时钟标识;Clock logo
时钟精度;Clock accuracy;
上行或下行同步信息;Uplink or downlink synchronization information;
同步信息;Synchronization information;
激活或去激活信息。Activation or deactivation information.
第三方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于SMF,包括:In the third aspect, the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to SMF, including:
从PCF接收PCC规则;Receive PCC rules from PCF;
根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;According to the PCC rules, notify UPF and/or UE to activate or deactivate TSN time synchronization;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
可选地,所述根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步,包括:Optionally, the notifying UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rule includes:
根据所述PCC规则发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步或更新激活TSN时间同步的信息。The PDU session modification process is initiated according to the PCC rules, and the UPF and/or UE are notified to activate or deactivate the TSN time synchronization or update the information for activating the TSN time synchronization.
可选地,所述通知UPF和/或UE激活时间同步,包括:Optionally, the notifying UPF and/or UE to activate time synchronization includes:
将激活时间同步指示信息发送给UE;Sending the activation time synchronization indication information to the UE;
和/或,and / or,
将激活时间同步指示信息发送给UPF;Send the activation time synchronization instruction information to UPF;
其中,所述激活时间同步指示信息中包含需要同步到的时间源的信息和/或TSN时间同步激活指示。Wherein, the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
第四方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于UDM,包括:In a fourth aspect, embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to UDM, and includes:
在PDU会话建立之后,从应用功能AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;After the PDU session is established, obtain a second message from the application function AF, the second message requesting the UDM to create, or update, or delete the TSN time synchronization information;
根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。According to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
可选地,所述从所述AF获取第二消息包括:Optionally, the acquiring the second message from the AF includes:
AF将所述第二消息发送至网络开放功能NEF,AF sends the second message to the network opening function NEF,
所述第二消息被所述NEF授权后,所述NEF向所述UDM发送所述第二消息。After the second message is authorized by the NEF, the NEF sends the second message to the UDM.
可选地,所述方法还包括:Optionally, the method further includes:
向SMF发送第三消息;Send the third message to SMF;
其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,Wherein, the third message includes: TSN time synchronization information created or updated by the UDM,
或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
可选地,所述TSN时间同步信息包括以下一项或多项组合:Optionally, the TSN time synchronization information includes one or more of the following combinations:
TSN域编号;TSN domain number;
时钟标识;Clock logo
PDU会话类型;PDU session type;
同步信息;时钟精度;Synchronization information; clock accuracy;
上行或下行同步信息;Uplink or downlink synchronization information;
激活或去激活信息。Activation or deactivation information.
可选地,所述第一消息中携带以下一项或多项组合:Optionally, the first message carries one or more of the following combinations:
一个或一组UE标识;One or a group of UE identities;
数据网络名称;Data network name;
单一网络切片选择辅助信息;Single network slice selection auxiliary information;
TSN域编号;TSN domain number;
时钟标识;Clock logo
时钟精度;Clock accuracy;
上行或下行同步信息;Uplink or downlink synchronization information;
激活或去激活信息;Activation or deactivation information;
同步信息。Synchronization information.
第五方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于AF,所述方法包括:In a fifth aspect, embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to AF, and the method includes:
在PDU会话建立之后,向UDM发送第二消息;After the PDU session is established, send a second message to UDM;
其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第一消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
第六方面,本公开实施例提供一种处理TSN时间同步服务的方法,应用于SMF,包括:In the sixth aspect, the embodiments of the present disclosure provide a method for processing TSN time synchronization service, which is applied to SMF, including:
在PDU会话建立之后,从UDM接收第三消息;After the PDU session is established, receive the third message from UDM;
其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,Wherein, the third message includes: TSN time synchronization information created or updated by the UDM,
或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
可选地,所述方法还包括:Optionally, the method further includes:
发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步;Initiate the PDU session modification process and notify the UPF and/or UE to activate or deactivate TSN time synchronization;
或者,or,
发起PDU会话释放过程。Initiate the PDU session release process.
可选地,所述通知UPF和/或UE激活时间同步,包括:Optionally, the notifying UPF and/or UE to activate time synchronization includes:
将激活时间同步指示信息发送给UE;Sending the activation time synchronization indication information to the UE;
和/或,and / or,
将激活时间同步指示信息发送给UPF;Send the activation time synchronization instruction information to UPF;
其中,所述激活时间同步指示信息中包含需要同步到的时间源的信息和/或TSN时间同步激活指示。Wherein, the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
第七方面,本公开实施例提供一种PCF,包括:In a seventh aspect, an embodiment of the present disclosure provides a PCF, including:
第一发送模块,用于在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first sending module is configured to obtain the first message sent by the AF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time synchronization information.
第八方面,本公开实施例提供一种PCF,包括:第一收发机和第一处理器;In an eighth aspect, an embodiment of the present disclosure provides a PCF, including: a first transceiver and a first processor;
所述第一收发机在所述第一处理器的控制下发送和接收数据;The first transceiver sends and receives data under the control of the first processor;
所述第一处理器读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first processor reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain the first message sent by the AF, and the first message requests the creation, update or deletion of TSN time synchronization information.
第九方面,本公开实施例提供一种AF,包括:In a ninth aspect, an embodiment of the present disclosure provides an AF, including:
第三发送模块,用于在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The third sending module is configured to send a first message to the PCF before or after the PDU session is established, the first message requesting the creation, update or deletion of TSN time synchronization information.
第十方面,本公开实施例提供一种AF,包括:第二收发机和第二处理器;In a tenth aspect, an embodiment of the present disclosure provides an AF, including: a second transceiver and a second processor;
所述第二收发机在所述第二处理器的控制下发送和接收数据;The second transceiver sends and receives data under the control of the second processor;
所述第二处理器读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The second processor reads the program in the memory to perform the following operations: before or after the PDU session is established, send a first message to the PCF, the first message requesting the creation, update or deletion of TSN time synchronization information.
第十一方面,本公开实施例提供一种SMF,包括:In an eleventh aspect, an embodiment of the present disclosure provides an SMF, including:
第一接收模块,用于从PCF接收PCC规则;The first receiving module is used to receive PCC rules from the PCF;
通知模块,用于根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The notification module is used to notify the UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rules;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
第十二方面,本公开实施例提供一种SMF,包括:第三收发机和第三处理器;In a twelfth aspect, an embodiment of the present disclosure provides an SMF, including: a third transceiver and a third processor;
所述第三收发机在所述第三处理器的控制下发送和接收数据;The third transceiver sends and receives data under the control of the third processor;
所述第三处理器读取存储器中的程序执行以下操作:从PCF接收PCC规则;根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The third processor reads the program in the memory to perform the following operations: receive PCC rules from the PCF; according to the PCC rules, notify the UPF and/or UE to activate or deactivate TSN time synchronization;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
第十三方面,本公开实施例提供一种UDM,包括:In a thirteenth aspect, an embodiment of the present disclosure provides a UDM, including:
第一获取模块,用于在PDU会话建立之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;The first obtaining module is configured to obtain a second message from the AF after the PDU session is established, the second message requesting the UDM to create, or update, or delete TSN time synchronization information;
第二处理模块,用于根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。The second processing module is configured to obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
第十四方面,本公开实施例提供一种UDM,包括:第四收发机和第四处 理器;In a fourteenth aspect, an embodiment of the present disclosure provides a UDM, including: a fourth transceiver and a fourth processor;
所述第四收发机在所述第四处理器的控制下发送和接收数据;The fourth transceiver sends and receives data under the control of the fourth processor;
所述第四处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。The fourth processor reads the program in the memory to perform the following operations: after the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete TSN time synchronization information; According to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
第十五方面,本公开实施例提供一种AF,包括:In a fifteenth aspect, an embodiment of the present disclosure provides an AF, including:
第四发送模块,用于在PDU会话建立之后,向UDM发送第二消息;The fourth sending module is used to send a second message to UDM after the PDU session is established;
其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第一消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
第十六方面,本公开实施例提供一种AF,包括:第五收发机和第五处理器;In a sixteenth aspect, an embodiment of the present disclosure provides an AF, including: a fifth transceiver and a fifth processor;
所述第五收发机在所述第五处理器的控制下发送和接收数据;The fifth transceiver sends and receives data under the control of the fifth processor;
所述第五处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,向UDM发送第二消息;其中,所述第一消息请求所述UDM创建或更新TSN时间同步信息,或者所述第二消息请求删除TSN时间同步信息。The fifth processor reads the program in the memory to perform the following operations: after the PDU session is established, send a second message to the UDM; wherein the first message requests the UDM to create or update TSN time synchronization information, or The second message requests deletion of TSN time synchronization information.
第十七方面,本公开实施例提供一种SMF,包括:In a seventeenth aspect, an embodiment of the present disclosure provides an SMF, including:
第二接收模块,用于在PDU会话建立之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The second receiving module is configured to receive a third message from the UDM after the PDU session is established; where the third message includes: TSN time synchronization information created or updated by the UDM, or the third message notification The TSN time synchronization information of the SMF deleted by the UDM.
第十八方面,本公开实施例提供一种SMF,包括:第六收发机和第六处理器;In an eighteenth aspect, an embodiment of the present disclosure provides an SMF, including: a sixth transceiver and a sixth processor;
所述第六收发机在所述第六处理器的控制下发送和接收数据;The sixth transceiver sends and receives data under the control of the sixth processor;
所述第六处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The sixth processor reads the program in the memory to perform the following operations: after the PDU session is established, receive a third message from the UDM; wherein, the third message includes: TSN time synchronization information created or updated by the UDM Or, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
第十九方面,本公开实施例提供一种通信设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理 器执行时实现包括如上所述的方法的步骤。In a nineteenth aspect, an embodiment of the present disclosure provides a communication device, including: a processor, a memory, and a program stored on the memory and capable of running on the processor. When the program is executed by the processor, The implementation includes the steps of the method described above.
第二十方面,本公开实施例提供一种可读存储介质,所述可读存储介质上存储有程序,所述程序被处理器执行时实现包括如上所述的方法的步骤。In a twentieth aspect, embodiments of the present disclosure provide a readable storage medium with a program stored on the readable storage medium, and when the program is executed by a processor, the steps including the method described above are implemented.
在本公开实施例中,可以基于AF请求激活(创建或更新)/去激活(删除)一个或一组UE的TSN时间同步服务,实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured. Source and other TSN time synchronization information, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT, so as to realize flexible time configuration and management for one or a group of UEs, and ensure time deterministic communication.
附图说明Description of the drawings
通过阅读下文可选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出可选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:By reading the detailed description of the optional embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only used for the purpose of showing alternative embodiments, and are not considered as a limitation to the present disclosure. Also, throughout the drawings, the same reference symbols are used to denote the same components. In the attached picture:
图1为5G系统中的网桥结构示意图;Figure 1 is a schematic diagram of the bridge structure in the 5G system;
图2a和2b为TSN End Station通过5G系统实现时间同步的示意图;Figures 2a and 2b are schematic diagrams of time synchronization of TSN End Station through 5G system;
图3为本公开实施例中的处理TSN时间同步服务的方法的流程图之一;FIG. 3 is one of the flowcharts of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图4为本公开实施例中的处理TSN时间同步服务的方法的流程图之二;4 is the second flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图5为本公开实施例中的处理TSN时间同步服务的方法的流程图之三;FIG. 5 is the third flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图6为本公开实施例中的处理TSN时间同步服务的方法的流程图之四;FIG. 6 is the fourth flow chart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图7为本公开实施例中的处理TSN时间同步服务的方法的流程图之五;FIG. 7 is the fifth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图8为本公开实施例中的处理TSN时间同步服务的方法的流程图之六;FIG. 8 is the sixth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图9为本公开实施例中的处理TSN时间同步服务的方法的流程图之七;FIG. 9 is the seventh flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图10为本公开实施例中的处理TSN时间同步服务的方法的流程图之八;FIG. 10 is the eighth flowchart of the method for processing TSN time synchronization service in an embodiment of the disclosure;
图11为本公开实施例中的PCF的示意图之一;FIG. 11 is one of the schematic diagrams of the PCF in the embodiment of the disclosure;
图12为本公开实施例中的PCF的示意图之二;FIG. 12 is the second schematic diagram of the PCF in the embodiment of the disclosure;
图13为本公开实施例中的AF的示意图之一;FIG. 13 is one of schematic diagrams of AF in an embodiment of the disclosure;
图14为本公开实施例中的AF的示意图之二;FIG. 14 is the second schematic diagram of AF in an embodiment of the disclosure;
图15为本公开实施例中的SMF的示意图之一;FIG. 15 is one of the schematic diagrams of SMF in an embodiment of the disclosure;
图16为本公开实施例中的SMF的示意图之二;FIG. 16 is the second schematic diagram of SMF in an embodiment of the disclosure;
图17为本公开实施例中的UDM的示意图之一;FIG. 17 is one of the schematic diagrams of UDM in an embodiment of the disclosure;
图18为本公开实施例中的UDM的示意图之二;FIG. 18 is the second schematic diagram of UDM in an embodiment of the disclosure;
图19为本公开实施例中的AF的示意图之一;FIG. 19 is one of schematic diagrams of AF in an embodiment of the disclosure;
图20为本公开实施例中的AF的示意图之二;FIG. 20 is the second schematic diagram of AF in an embodiment of the disclosure;
图21为本公开实施例中的SMF的示意图之三;FIG. 21 is the third schematic diagram of SMF in an embodiment of the disclosure;
图22为本公开实施例中的SMF的示意图之四;FIG. 22 is the fourth schematic diagram of SMF in an embodiment of the disclosure;
图23为本公开实施例中的通信设备的示意图。FIG. 23 is a schematic diagram of a communication device in an embodiment of the disclosure.
具体实施方式Detailed ways
目前,电气和电子工程师学会(Institute of Electrical and Electronics Engineers,IEEE)802.1时间敏感网络(Time Sensitive Network,TSN)正成为工业4.0聚合网络的标准以太网技术。5G和TSN可以在工厂部署中共存,并满足主要需求,比如5G的灵活性和TSN的极低延迟。但可以预见的是,5G TSN技术将广泛应用于工业控制、机器制造、高清音视频传输等领域。Currently, the Institute of Electrical and Electronics Engineers (IEEE) 802.1 Time Sensitive Network (TSN) is becoming the standard Ethernet technology for Industry 4.0 converged networks. 5G and TSN can coexist in factory deployments and meet major requirements such as the flexibility of 5G and the extremely low latency of TSN. But it is foreseeable that 5G TSN technology will be widely used in industrial control, machine manufacturing, high-definition audio and video transmission and other fields.
5G TSN技术对终端、基站、传输和核心网均有改造要求,终端和用户面功能(User Plan Function,UPF)需要支持TSN转换器(TSN Translator,TT)功能。5G系统(5G System,5GS)可以看作一个网桥(Bridge),由一个UPF(PDU会话锚点(PDU session anchor,PSA))侧的端口,UE与UPF之间的用户面隧道,以及设备侧TSN转换器(Device-Side TSN Translator,DS-TT)侧的端口组成。图1是以5GS呈现为Bridge的系统架构,主要网络功能介绍如下:5G TSN technology has transformation requirements for terminals, base stations, transmission and core networks. Terminals and User Plan Function (UPF) need to support TSN Translator (TT) functions. The 5G system (5G System, 5GS) can be regarded as a bridge, consisting of a UPF (PDU session anchor (PSA)) side port, the user plane tunnel between the UE and the UPF, and the device The port composition of the side TSN converter (Device-Side TSN Translator, DS-TT) side. Figure 1 shows the system architecture of 5GS as Bridge. The main network functions are introduced as follows:
CNC:Centralized Network Configuration,中心化网络配置,能应用到网络设备(网桥)。CNC: Centralized Network Configuration, centralized network configuration, can be applied to network equipment (bridge).
CUC:Centralized User Configuration,中心化用户配置,能应用到用户设备(End Station)。CUC: Centralized User Configuration, centralized user configuration, can be applied to user equipment (End Station).
AMF:Access and Mobility Management Function,接入与移动性管理功能,注册、连接管理等。AMF: Access and Mobility Management Function, access and mobility management functions, registration, connection management, etc.
UPF:User Plan Function,用户面功能。与数据网络互连的外部PDU会 话节点,报文路由和转发。UPF: User Plan Function, user plane function. The external PDU session node interconnected with the data network, message routing and forwarding.
SMF:Session Management Function,会话管理功能。会话建立、删除,用户面选择与控制,UE IP分配等。SMF: Session Management Function, session management function. Session establishment and deletion, user plane selection and control, UE IP allocation, etc.
AF:Application Function,应用功能。与3GPP核心网交互以提供业务。基于运营商部署情况,可信AF可以与相关NF进行直接交互,而非可信AF不能直接与NF交互,而应使用对外公开框架通过NEF进行。TSN AF则是代表TSN域(包括CUC/CNC)与5G系统控制面交互的AF。AF: Application Function, application function. Interact with the 3GPP core network to provide services. Based on the deployment of operators, trusted AFs can directly interact with related NFs, while untrusted AFs cannot directly interact with NFs. Instead, they should use the external disclosure framework through NEF. TSN AF is the AF that represents the interaction between the TSN domain (including CUC/CNC) and the control plane of the 5G system.
PCF:Policy Control Function,策略控制功能。支持统一的策略框架,以管理网络行为,提供策略规则,以便控制面NF执行。PCF: Policy Control Function, policy control function. Support a unified policy framework to manage network behaviors and provide policy rules for the control plane NF to execute.
UDM:Unified Data Management,统一数据管理。存储UE的信息,例如签约信息,已建立PDU会话的信息。UDM: Unified Data Management, unified data management. Store UE information, such as subscription information, and information about established PDU sessions.
NEF:Network Exposure Function,网络开放功能。提供安全地将3GPP网络提供的业务和能力暴露给外部网络相关的功能。NEF: Network Exposure Function, network opening function. Provides functions that safely expose the services and capabilities provided by the 3GPP network to external networks.
UDR:Unified Data Repository,统一数据库UDR。签约信息(或者称为签约数据)的存储,以及UDM FE对签约信息的检索。策略信息的存储,以及PCF对策略信息的检索。UDR: Unified Data Repository, unified database UDR. The storage of contract information (or called contract data) and the retrieval of contract information by UDM FE. The storage of strategy information and the retrieval of strategy information by PCF.
5G定义了Application Function,它向非授信域(NEF)或者向授信域(PCF)发送AF请求(Request),其中包含目标数据网络名称(Data Network Name,DNN)、应用ID、N6路由需求、应用位置等一系列参数。PCF根据AF提供的这些信息参数,结合自身策略控制,为目标PDU会话(PDU Session)业务流生成策略控制和计费(Policy Control and Charging,PCC)规则,并通过SMF为其选择一个合适的UPF。TSN AF可代表TSN域(包括CUC/CNC)与5G系统控制面交互。5G defines Application Function, which sends an AF request (Request) to the non-trusted domain (NEF) or to the trusted domain (PCF), which includes the target data network name (Data Network Name, DNN), application ID, N6 routing requirements, and application A series of parameters such as location. PCF generates policy control and charging (PCC) rules for the target PDU session (PDU Session) service flow according to these information parameters provided by AF, combined with its own policy control, and selects an appropriate UPF for it through SMF . TSN AF can represent the TSN domain (including CUC/CNC) to interact with the 5G system control plane.
基于第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)标准,5G系统作为TSN网络的一个透明传输的网桥(Bridge),整个5G系统被视为一个时间感知系统。要求UE/DS-TT与UPF/网络侧TSN转换器(Network-Side TNS Translator,NW-TT)能够实现TSN Translator,满足IEEE802.1AS定义的所有功能,例如,支持精确时间协议(Precision Time Protocol,PTP),时间戳,最佳主时钟算法(Best Master Clock Algorithm,BMCA)等。 实现UE、gNB、UPF同步到5G系统的内部时钟(5G GM)保持网络实体的同步性,并且与TSN域的同步,已达到端到端的下行与上行的时间同步。Based on the 3rd Generation Partnership Project (3GPP) standard, the 5G system serves as a transparent transmission bridge of the TSN network, and the entire 5G system is regarded as a time-aware system. It is required that UE/DS-TT and UPF/Network-Side TNS Translator (NW-TT) can implement TSN Translator and meet all functions defined by IEEE802.1AS, for example, support Precision Time Protocol (Precision Time Protocol, PTP), timestamp, best master clock algorithm (Best Master Clock Algorithm, BMCA), etc. The internal clock (5G GM) that realizes the synchronization of the UE, gNB, and UPF to the 5G system maintains the synchronization of the network entity and synchronizes with the TSN domain, which has achieved end-to-end downlink and uplink time synchronization.
图2a和图2b为两端TSN End Station通过5G系统实现时间同步的示意图。5G系统作为TSN系统的一个网元,需要接收从TSN的时间源(End Station)发送的同步消息((g)PTP),并根据数据包在5G系统中处理和传输所消耗的时间延时来更新时间信息。并且,所有的时间信息的更新处理目前都是在5G系统的边缘,即由DS-TT或NW-TT来进行处理。Figures 2a and 2b are schematic diagrams of time synchronization between the TSN End Stations at both ends through the 5G system. As a network element of the TSN system, the 5G system needs to receive the synchronization message ((g)PTP) sent from the time source (End Station) of the TSN. Update time information. In addition, all time information update processing is currently at the edge of the 5G system, that is, DS-TT or NW-TT is used for processing.
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本申请的说明书和权利要求书中的术语“包括”以及它的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B,表示包含单独A,单独B,以及A和B都存在三种情况。The term "including" in the specification and claims of this application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to clear Instead, those steps or units listed below may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment. In addition, the use of "and/or" in the description and claims means at least one of the connected objects, such as A and/or B, which means that it includes A alone, B alone, and there are three cases for both A and B.
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本文所描述的技术不限于长期演进型(Long Time Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,并且也可用于各种无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency-Division Multiple Access,SC-FDMA)和其他系统。The technology described in this article is not limited to Long Time Evolution (LTE)/LTE-Advanced (LTE-A) systems, and can also be used in various wireless communication systems, such as Code Division Multiple Access (Code Division). Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single Carrier Frequency Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems.
术语“系统”和“网络”常被可互换地使用。CDMA系统可实现诸如 CDMA2000、通用地面无线电接入(Universal Terrestrial Radio Access,UTRA)等无线电技术。UTRA包括宽带CDMA(Wideband Code Division Multiple Access,WCDMA)和其他CDMA变体。TDMA系统可实现诸如全球移动通信系统(Global System for Mobile Communication,GSM)之类的无线电技术。OFDMA系统可实现诸如超移动宽带(Ultra Mobile Broadband,UMB)、演进型UTRA(Evolution-UTRA,E-UTRA)、IEEE 802.11(Wi-Fi)、IEEE 802.16(WiMAX)、IEEE 802.20、Flash-OFDM等无线电技术。UTRA和E-UTRA是通用移动电信系统(Universal Mobile Telecommunications System,UMTS)的部分。LTE和更高级的LTE(如LTE-A)是使用E-UTRA的新UMTS版本。UTRA、E-UTRA、UMTS、LTE、LTE-A以及GSM在来自名为“第三代伙伴项目”(3rd Generation Partnership Project,3GPP)的组织的文献中描述。CDMA2000和UMB在来自名为“第三代伙伴项目2”(3GPP2)的组织的文献中描述。本文所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。The terms "system" and "network" are often used interchangeably. The CDMA system can implement radio technologies such as CDMA2000 and Universal Terrestrial Radio Access (UTRA). UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. The TDMA system can implement radio technologies such as the Global System for Mobile Communication (GSM). OFDMA system can realize such as Ultra Mobile Broadband (UMB), Evolved UTRA (Evolution-UTRA, E-UTRA), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Flash-OFDM, etc. Radio technology. UTRA and E-UTRA are part of Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (such as LTE-A) are new UMTS versions that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2). The techniques described in this article can be used for the systems and radio technologies mentioned above, as well as other systems and radio technologies.
参见图3,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为PCF,具体步骤包括:步骤301、步骤302和步骤303。Referring to FIG. 3, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be a PCF, and the specific steps include: step 301, step 302, and step 303.
步骤301:在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息;Step 301: Before or after the establishment of the PDU session, obtain the first message sent by the AF, the first message requesting the creation, update or deletion of TSN time synchronization information;
步骤302:根据所述第一消息,得到策略控制和计费(Policy Control and Charging,PCC)规则;Step 302: Obtain a policy control and charging (Policy Control and Charging, PCC) rule according to the first message;
步骤303:将所述PCC规则发送给SMF,以使所述SMF通知用户面功能UPF或终端UE激活或去激活TSN时间同步,和/或,根据PCC规则,将UE策略发送给UE。Step 303: Send the PCC rule to the SMF, so that the SMF informs the user plane function UPF or the terminal UE to activate or deactivate the TSN time synchronization, and/or send the UE policy to the UE according to the PCC rule.
比如,通过调用Npcf_SMPolicyControl_UpdateNotify将所述PCC规则发送到SMF;For example, sending the PCC rule to SMF by calling Npcf_SMPolicyControl_UpdateNotify;
或者,根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。Or, according to the PCC rules, the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4) TSN域编号;(5)时钟标识,该时钟标识可以指示某个TSN域时钟(根据TSN域编号指示不同的时钟),或者5G系统时钟,比如,该时钟标识指示5GS则选择5GS时钟;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some implementations, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) Clock identification, which can indicate a TSN domain clock (indicating different clocks according to the TSN domain number), or a 5G system clock, for example, if the clock identification indicates 5GS, select 5GS clock; (6 ) Clock accuracy; (7) Synchronization information; (8) Activation or deactivation information.
在本公开实施例中,可以实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, it is possible to dynamically configure TSN time synchronization information such as activation state, clock accuracy, and time source for one or a group of UEs, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT. In this way, flexible time configuration and management of one or a group of UEs are realized, and time deterministic communication is guaranteed.
参见图4,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为AF,具体步骤包括:步骤401。Referring to FIG. 4, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be an AF, and the specific steps include: step 401.
步骤401:在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。Step 401: Send a first message to the PCF before or after the PDU session is established, the first message requesting the creation, update or deletion of TSN time synchronization information.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
在本公开实施例中,可以实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, it is possible to dynamically configure TSN time synchronization information such as activation state, clock accuracy, and time source for one or a group of UEs, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT. In this way, flexible time configuration and management of one or a group of UEs are realized, and time deterministic communication is guaranteed.
参见图5,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为SMF,具体步骤包括:步骤501和步骤502。Referring to FIG. 5, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be SMF, and the specific steps include: step 501 and step 502.
步骤501:从PCF接收PCC规则;Step 501: Receive PCC rules from PCF;
步骤502:根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;Step 502: According to the PCC rules, notify UPF and/or UE to activate or deactivate TSN time synchronization;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第三消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to the first message, the third message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4) TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
在一些实施方式中,SMF根据PCC规则发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步或更新激活TSN时间同步的信息,例如,更新时间精度,同步到不同的TSN域。In some embodiments, the SMF initiates the PDU session modification process according to the PCC rules, and informs the UPF and/or UE to activate or deactivate TSN time synchronization or update the information of activating TSN time synchronization, for example, update the time accuracy and synchronize to different TSN domains. .
比如:将激活时间同步指示信息发送给UE;和/或,将激活时间同步指示信息发送给UPF;For example: sending the activation time synchronization indication information to the UE; and/or, sending the activation time synchronization indication information to the UPF;
其中,所述激活时间同步指示信息中包含以下一项或多项组合:Wherein, the activation time synchronization indication information includes one or more of the following combinations:
(1)需要同步到的时间源的信息;(1) The information of the time source that needs to be synchronized;
(2)TSN时间同步激活指示;(2) TSN time synchronization activation indication;
(3)同步精度;(3) Synchronization accuracy;
(4)上行或下行同步信息。(4) Uplink or downlink synchronization information.
在本公开实施例中,可以基于AF请求激活(创建或更新)/去激活(删除)一个或一组UE的TSN时间同步服务,实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured. Source and other TSN time synchronization information, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT, so as to realize flexible time configuration and management for one or a group of UEs, and ensure time deterministic communication.
参见图6,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为UDM,包括:步骤601和步骤602。Referring to FIG. 6, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be UDM, and includes: step 601 and step 602.
步骤601:在PDU会话建立之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;Step 601: After the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete TSN time synchronization information;
也就是,第二消息可以请求创建或更新TSN时间同步信息,也就是第二消息可以请求激活TSN时间同步信息,或者,第二消息也可以请求删除已有的TSN时间同步信息,也就是第二消息可以请求去激活TSN时间同步信息。That is, the second message can request to create or update TSN time synchronization information, that is, the second message can request to activate TSN time synchronization information, or the second message can also request to delete existing TSN time synchronization information, that is, the second message The message can request the deactivation of TSN time synchronization information.
可选地,TSN时间同步信息包含签约信息,该第二请求请求UDM创建、更新或删除签约信息。Optionally, the TSN time synchronization information includes subscription information, and the second request requests UDM to create, update, or delete the subscription information.
可选地,签约信息中的参数包括以下一项或多项组合:(1)GPSI;(2)DNN;(3)S-NSSAI;(4)TSN域编号(domain number)/5GS;(5)时钟精度;(6)UL/DL同步信息;(7)激活/去激活指示;(8)同步信息(PTP或(g) PTP,此参数只针对时间源为5GS GM clock);(9)PDU会话类型。Optionally, the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
步骤602:根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。Step 602: Obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
在一些实施方式中,所述从所述AF获取第二消息具体包括:AF将所述第二消息发送至网络开放功能NEF,所述第二消息被所述NEF授权后,所述NEF向所述UDM发送所述第二消息。In some implementation manners, the acquiring the second message from the AF specifically includes: the AF sending the second message to the network opening function NEF, and after the second message is authorized by the NEF, the NEF sends the The UDM sends the second message.
在一些实施方式中,在步骤602之后,图6所示的方法还可以包括:向SMF发送第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。In some embodiments, after step 602, the method shown in FIG. 6 may further include: sending a third message to SMF; wherein, the third message includes: TSN time synchronization information created or updated by the UDM, Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
在一些实施方式中,TSN时间同步信息可以包括以下一项或多项组合:(1)TSN域编号;(2)时钟标识;(3)PDU会话类型,比如,网际互连协议(Internet Protocol,IP),以太网(Ethernet);(4)同步信息;(5)时钟精度;(6)上行或下行同步信息;(7)激活或去激活信息。In some embodiments, the TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type, for example, Internet Protocol (Internet Protocol, IP), Ethernet (Ethernet); (4) synchronization information; (5) clock accuracy; (6) uplink or downlink synchronization information; (7) activation or deactivation information.
在一些实施方式中,所述第二消息中可以携带以下一项或多项组合:(1)一个或一组UE标识(比如GPSI);(2)数据网络名称(DNN);(3)单一网络切片选择辅助信息;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)上行或下行同步信息;(8)激活或去激活信息;(9)同步信息。In some embodiments, the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) data network name (DNN); (3) single Network slice selection auxiliary information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
在本公开实施例中,可以基于AF请求激活(创建或更新)/去激活(删除)一个或一组UE的TSN时间同步服务,实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured. Source and other TSN time synchronization information, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT, so as to realize flexible time configuration and management for one or a group of UEs, and ensure time deterministic communication.
参见图7,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为AF,具体步骤包括:步骤701。Referring to FIG. 7, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be AF, and the specific steps include: step 701.
步骤701:在PDU会话建立之后,向UDM发送第二消息;Step 701: After the PDU session is established, send a second message to UDM;
其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第二消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the second message requests to delete TSN time synchronization information.
可选地,TSN时间同步信息包含签约信息,该第二请求请求UDM创建、 更新或删除签约信息。Optionally, the TSN time synchronization information includes subscription information, and the second request requests UDM to create, update, or delete the subscription information.
可选地,签约信息中的参数包括以下一项或多项组合:(1)GPSI;(2)DNN;(3)S-NSSAI;(4)TSN域编号(domain number)/5GS;(5)时钟精度;(6)UL/DL同步信息;(7)激活/去激活指示;(8)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock);(9)PDU会话类型。Optionally, the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
在本公开实施例中,可以基于AF请求激活(创建或更新)/去激活(删除)一个或一组UE的TSN时间同步服务,实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured. Source and other TSN time synchronization information, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT, so as to realize flexible time configuration and management for one or a group of UEs, and ensure time deterministic communication.
参见图8,本公开实施例提供一种处理TSN时间同步服务的方法,该方法的执行主体可以为SMF,具体步骤包括:步骤801。Referring to FIG. 8, an embodiment of the present disclosure provides a method for processing a TSN time synchronization service. The execution subject of the method may be an SMF, and the specific steps include: step 801.
步骤801:在PDU会话建立之后,从UDM接收第二消息;Step 801: After the PDU session is established, receive a second message from UDM;
其中,所述第二消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第二消息通知所述SMF由所述UDM删除的TSN时间同步信息。Wherein, the second message includes: TSN time synchronization information created or updated by the UDM, or the second message notifies the TSN time synchronization information of the SMF to be deleted by the UDM.
在一些实施方式中,所述第二消息中可以携带以下一项或多项组合:(1)一个或一组UE标识(比如GPSI);(2)数据网络名称(DNN);(3)单一网络切片选择辅助信息;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)上行或下行同步信息;(8)激活或去激活信息;(9)同步信息。In some embodiments, the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) data network name (DNN); (3) single Network slice selection auxiliary information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
在一些实施方式中,在步骤501之前,所述方法还包括:In some embodiments, before step 501, the method further includes:
向UDM订阅一个或一组UE或特定TSN域的签约信息更新。Subscribe to UDM for subscription information updates for one or a group of UEs or specific TSN domains.
可选地,签约信息中的参数包括以下一项或多项组合:(1)GPSI;(2)DNN;(3)S-NSSAI;(4)TSN域编号(domain number)/5GS;(5)时钟精度;(6)UL/DL同步信息;(7)激活/去激活指示;(8)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock);(9)PDU会话类型。Optionally, the parameters in the subscription information include one or more of the following combinations: (1) GPSI; (2) DNN; (3) S-NSSAI; (4) TSN domain number (domain number)/5GS; (5) ) Clock accuracy; (6) UL/DL synchronization information; (7) Activation/deactivation indication; (8) Synchronization information (PTP or (g) PTP, this parameter is only for the time source of 5GS GM clock); (9) PDU session type.
在一些实施方式中,在步骤501之后,所述方法还包括:发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步;或者,发起PDU会话释放过程。In some embodiments, after step 501, the method further includes: initiating a PDU session modification process, informing the UPF and/or UE to activate or deactivate TSN time synchronization; or, initiating a PDU session release process.
在本公开实施例中,可以基于AF请求激活(创建或更新)/去激活(删除)一个或一组UE的TSN时间同步服务,实现对一个或一组UE动态配置激活状态、时钟精度、时间源等TSN时间同步信息,并通过UE/DS-TT与UPF/NW-TT实现上下行时间同步,从而实现对一个或一组UE进行灵活的时间配置和管理,保障时间确定性通信。In the embodiments of the present disclosure, the TSN time synchronization service of one or a group of UEs can be activated (created or updated)/deactivated (deleted) based on the AF request, so that the activation status, clock accuracy, and time of one or a group of UEs can be dynamically configured. Source and other TSN time synchronization information, and realize uplink and downlink time synchronization through UE/DS-TT and UPF/NW-TT, so as to realize flexible time configuration and management for one or a group of UEs, and ensure time deterministic communication.
下面结合实施例一和实施例二介绍本公开实施例中的处理TSN时间同步服务的方法的流程。The following describes the flow of the method for processing the TSN time synchronization service in the embodiment of the present disclosure in conjunction with the first embodiment and the second embodiment.
实施例一:通过在UDM增加签约信息,AF动态配置激活TSN时间同步信息。Embodiment 1: By adding subscription information in UDM, AF dynamically configures and activates TSN time synchronization information.
参见图9,包括:步骤0~步骤13。Refer to Figure 9, including: Step 0 to Step 13.
步骤0:UE/DS-TT得到时间源TSN domain 1 GM clock,5GS GM clock;UPF/NW-TT得到TSN domain 2 GM clock,TSN domain 3 GM clock,5GS GM clock。Step 0: UE/DS-TT obtains time source TSN domain 1 GM clock, 5GS GM clock; UPF/NW-TT obtains TSN domain 2 GM clock, TSN domain 3 GM clock, 5GS GM clock.
步骤1:UE建立了到TSN网络的PDU会话。Step 1: The UE establishes a PDU session to the TSN network.
步骤2:SMF调用Nudm_SDM_Subscribe request向UDM订阅一个或一组UE或特定TSN域(domain)的签约信息更新。Step 2: SMF calls Nudm_SDM_Subscriberequest to subscribe to UDM for subscription information updates for one or a group of UEs or a specific TSN domain (domain).
签约信息可以包含以下一项或多项组合:The contract information can include one or more of the following combinations:
(1)DNN;(1) DNN;
(2)单一网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI);(2) Single Network Slice Selection Assistance Information (S-NSSAI);
(3)一个或一组UE标识(如:通用公共用户标识符(Generic Public Subscription Identifier,GPSI));(3) One or a group of UE identifiers (such as: Generic Public Subscription Identifier (GPSI));
(4)PDU会话类型(如:网际互连协议(Internet Protocol,IP),以太网(Ethernet));(4) PDU session type (such as: Internet Protocol (IP), Ethernet (Ethernet));
(5)TSN时间同步激活/去激活指示;(5) TSN time synchronization activation/deactivation indication;
(6)TSN domain number/5GS;(6) TSN domain number/5GS;
(7)时钟精度;(7) Clock accuracy;
(8)上行或下行(Up Link/Down Link,UL/DL)同步;(8) Uplink or Downlink (Up Link/Down Link, UL/DL) synchronization;
(9)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock)。(9) Synchronization information (PTP or (g)PTP, this parameter is only for the time source of 5GS GM clock).
步骤3:AF调用Nnef_ParameterProvision_Create或Nnef_ParameterProvision_Update服务操作,向NEF发送TSN时间同步参数的创建或更新信息,请求在UDM创建或更新签约信息。Step 3: The AF calls the Nnef_ParameterProvision_Create or Nnef_ParameterProvision_Update service operation to send the creation or update information of the TSN time synchronization parameter to the NEF, requesting to create or update the contract information in the UDM.
可选地,签约信息中的参数可以包括以下一项或多项:Optionally, the parameters in the subscription information may include one or more of the following:
(1)GPSI;(1) GPSI;
(2)DNN;(2) DNN;
(3)S-NSSAI;(3) S-NSSAI;
(4)TSN域编号(domain number)/5GS;(4) TSN domain number (domain number)/5GS;
(5)时钟精度;(5) Clock accuracy;
(6)UL/DL同步信息;(6) UL/DL synchronization information;
(7)激活/去激活指示;(7) Activation/deactivation instruction;
(8)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock)。(8) Synchronization information (PTP or (g)PTP, this parameter is only for the time source of 5GS GM clock).
步骤4:如果AF提供的信息被NEF授权,则NEF将向UDM发送创建/更新签约请求信息(Nnef_ParameterProvision_Create/Update Request)。Step 4: If the information provided by the AF is authorized by the NEF, the NEF will send the creation/update subscription request information (Nnef_ParameterProvision_Create/Update Request) to the UDM.
步骤5:如果AF提供的信息被UDM授权,UDM相应创建/更新签约信息。Step 5: If the information provided by AF is authorized by UDM, UDM creates/updates contract information accordingly.
可选方案:Alternatives:
方案1)在UDM中增加对于TSN Domain的签约信息,包括步骤2所述的签约信息;Solution 1) Add subscription information for TSN Domain in UDM, including the subscription information described in step 2;
方案2)在UDM中的5G VN Group(虚拟网络组)信息中增加新的参数,包括以下一项或多项组合:(1)TSN domain number;(2)时钟精度;(3)UL/DL同步信息;(4)激活/去激活指示;(5)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock)。Solution 2) Add new parameters to the 5G VN Group (virtual network group) information in UDM, including one or more of the following combinations: (1) TSN domain number; (2) clock accuracy; (3) UL/DL Synchronization information; (4) Activation/deactivation indication; (5) Synchronization information (PTP or (g)PTP, this parameter is only for the time source of 5GS GM clock).
步骤6:UDM向NEF回复创建/更新签约响应信息(Nudm_ParameterProvision_Create/Update Response)。Step 6: UDM replies to NEF with create/update subscription response information (Nudm_ParameterProvision_Create/Update Response).
步骤7:NEF向AF回复Nnef_ParameterProvision_Create/Update Response。Step 7: NEF replies Nnef_ParameterProvision_Create/Update Response to AF.
步骤8:UDM调用Nudm_SDM_Notification Notify服务操作,通知SMF更新的TSN时间同步信息,信息中包括创建/更新的TSN时间同步信息。Step 8: UDM calls the Nudm_SDM_Notification Notify service operation to notify the SMF of updated TSN time synchronization information, which includes the created/updated TSN time synchronization information.
步骤9:SMF发起PDU会话修改过程,通知UPF/UE激活时间同步。包 括:Step 9: The SMF initiates the PDU session modification process and informs the UPF/UE to activate time synchronization. include:
1)当AF请求上行时间同步,则SMF通过NAS-SM信息(如果请求PDU会话类型为IP或请求生成PTP同步帧),或者通过端口管理信息容器(Port Management Information Container,PMIC)将激活时间同步指示信息发送给UE(DS-TT),指示信息中包含需要同步到的时间源(例如,TSN domain 1 GM clock,5GS GM clock);1) When AF requests uplink time synchronization, SMF will activate time synchronization through NAS-SM information (if the requested PDU session type is IP or request to generate PTP synchronization frame), or through Port Management Information Container (PMIC) The indication information is sent to the UE (DS-TT), and the indication information contains the time source to be synchronized to (for example, TSN domain 1 GM clock, 5GS GM clock);
2)当AF请求下行时间同步,则SMF通过N4 Session Modification请求信息或者包含在信息中的PMIC将激活时间同步指示信息发送给UPF(NW-TT),指示信息中包含需要同步到的时间源(例如,TSN domain 2 GM clock,5GS GM clock)。2) When AF requests downlink time synchronization, SMF sends the activation time synchronization indication information to UPF (NW-TT) through the N4 Session Modification request information or the PMIC included in the information, and the indication information contains the time source that needs to be synchronized ( For example, TSN domain 2 GM clock, 5GS GM clock).
步骤10:DS-TT/NW-TT根据接收到的时间同步信息,发送同步帧(PTP/gPTP),通过相关技术中的上下行时间同步机制实现上行/下行时间同步。Step 10: The DS-TT/NW-TT sends a synchronization frame (PTP/gPTP) according to the received time synchronization information, and realizes the uplink/downlink time synchronization through the uplink and downlink time synchronization mechanism in the related technology.
以下为去激活TSN时间同步操作:The following is the deactivation TSN time synchronization operation:
步骤11:AF向NEF调用Nnef_ParameterProvision_Delete服务操作,发送TSN时间同步信息删除信息,删除已有时间同步信息。Step 11: AF calls the Nnef_ParameterProvision_Delete service operation to NEF, sends TSN time synchronization information deletion information, and deletes existing time synchronization information.
步骤12:同步骤4和步骤5,在得到授权后,UDM相应删除签约信息,并通知SMF已删除签约信息。Step 12: Same as Step 4 and Step 5. After being authorized, UDM deletes the subscription information accordingly, and informs SMF that the subscription information has been deleted.
步骤13:SMF执行以下其中一种操作:Step 13: SMF performs one of the following operations:
1)SMF发起PDU会话修改过程,通过NAS-SM或PMIC通知UE,或者通过N4 Session Modification通知UPF去激活TSN时间同步。例如,不再进行时间同步维护的相关操作。1) The SMF initiates the PDU session modification process, and notifies the UE through NAS-SM or PMIC, or notifies the UPF through N4 Session Modification to activate TSN time synchronization. For example, no more operations related to time synchronization maintenance.
2)SMF发起PDU会话释放过程,释放此PDU会话。2) The SMF initiates the PDU session release process and releases the PDU session.
实施例二:通过AF影响路由的方法来请求激活TSN时间同步,动态配置时间同步信息。Embodiment 2: The method of AF affecting routing is used to request activation of TSN time synchronization, and time synchronization information is dynamically configured.
参见图10,包括:步骤0~步骤14。Refer to Figure 10, including: step 0 to step 14.
步骤0:UE/DS-TT得到时间源TSN domain 1 GM clock,5GS GM clock,UPF/NW-TT得到TSN domain 2 GM clock,TSN domain 3 GM clock,5GS GM clock。Step 0: UE/DS-TT obtains time source TSN domain 1 GM clock, 5GS GM clock, UPF/NW-TT obtains TSN domain 2 GM clock, TSN domain 3 GM clock, 5GS GM clock.
步骤1:AF调用Nnef_TrafficInfluence_Create服务操作创建AF请求。Step 1: AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request.
可选地,请求信息中包括以下一项或多项组合:(1)一个或一组UE标识(如:GPSI);(2)PDU会话类型(如:IP,Ethernet);(3)TSN时间同步激活指示;(4)TSN domain number/5GS;(5)时钟精度;(6)同步信息(PTP或(g)PTP,此参数只针对时间源为5GS GM clock)等信息。Optionally, the request information includes one or a combination of the following: (1) one or a group of UE identification (such as GPSI); (2) PDU session type (such as: IP, Ethernet); (3) TSN time Synchronization activation indication; (4) TSN domain number/5GS; (5) clock accuracy; (6) synchronization information (PTP or (g) PTP, this parameter is only for information such as the time source is 5GS GM clock).
步骤2:AF发送请求信息到NEF,NEF存储AF请求到UDR,PCF向UDR订阅AF请求的变化,从通知信息中获得AF请求的信息。或者,AF直接将信息发送到PCF。Step 2: AF sends request information to NEF, NEF stores the AF request to UDR, PCF subscribes to the UDR for changes in the AF request, and obtains the information requested by the AF from the notification information. Alternatively, the AF sends the information directly to the PCF.
步骤3:PCF根据AF请求生成新的PCC规则,包括步骤2中AF请求的信息。Step 3: The PCF generates a new PCC rule according to the AF request, including the information requested by the AF in step 2.
步骤4a:PCF通过调用Npcf_SMPolicyControl_UpdateNotify将PCC规则发送到SMF;Step 4a: PCF sends PCC rules to SMF by calling Npcf_SMPolicyControl_UpdateNotify;
步骤4b:如果请求上行同步,则根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。Step 4b: If uplink synchronization is requested, the UE policy is updated according to the PCC rules, and the updated UE policy is sent to the UE through the UE configuration update process.
可以理解的是,步骤1-4a、4b是发生在PDU会话建立之前的。It is understandable that steps 1-4a and 4b occur before the establishment of the PDU session.
步骤5:UE发起建立到TSN网络的PDU会话过程。Step 5: The UE initiates the process of establishing a PDU session to the TSN network.
在PDU会话建立过程中,SMF选择相应PCF,并通知UPF/UE激活时间同步,包括:During the establishment of a PDU session, SMF selects the corresponding PCF and informs UPF/UE to activate time synchronization, including:
方式1:当AF请求上行时间同步,则SMF通过NAS-SM信息(如果请求PDU会话类型为IP或请求生成PTP同步帧),或者通过端口管理信息容器(Port Management Information Container,PMIC)将激活时间同步指示信息发送给UE(DS-TT),可选地,激活时间同步指示信息中可以包含需要同步到的时间源(例如,TSN domain 1 GM clock,5GS GM clock);Method 1: When AF requests uplink time synchronization, SMF will activate the time through NAS-SM information (if the request PDU session type is IP or request to generate PTP synchronization frame), or through Port Management Information Container (PMIC) The synchronization indication information is sent to the UE (DS-TT). Optionally, the activation time synchronization indication information may include the time source to be synchronized (for example, TSN domain 1 GM clock, 5GS GM clock);
方式2:当AF请求下行时间同步,则SMF通过N4 Session Modification请求信息或包含在信息中的PMIC将激活时间同步指示信息发送给UPF(NW-TT),指示信息中包含需要同步到的时间源(例如,TSN domain 2 GM clock,5GS GM clock)。Method 2: When AF requests downlink time synchronization, SMF sends the activation time synchronization indication information to UPF (NW-TT) through the N4 Session Modification request information or the PMIC included in the information, and the indication information contains the time source that needs to be synchronized. (For example, TSN domain 2 GM clock, 5GS GM clock).
步骤6a、6b:DS-TT/NW-TT根据接收到的时间同步信息,发送同步帧(PTP/gPTP),通过相关技术中的上下行时间同步机制实现上行/下行时间同 步。Steps 6a, 6b: DS-TT/NW-TT sends a synchronization frame (PTP/gPTP) according to the received time synchronization information, and realizes uplink/downlink time synchronization through the uplink and downlink time synchronization mechanism in related technologies.
以下为对TSN时间同步信息更新操作:The following is the update operation of TSN time synchronization information:
步骤7:AF调用Nnef_TrafficInfluence_Create服务操作创建AF请求;Step 7: AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request;
请求的信息中可以包括以下一项或多项组合:(1)一个或一组UE标识(如:GPSI);(2)PDU会话标识;(3)需要更新的同步参数,例如,TSN domain number/5GS,时钟精度,UL/DL同步信息。The requested information can include one or a combination of the following: (1) one or a group of UE identifiers (such as GPSI); (2) PDU session identifier; (3) synchronization parameters that need to be updated, for example, TSN domain number /5GS, clock accuracy, UL/DL synchronization information.
可以理解的是,步骤1-7是根据AF请求的信息建立PDU会话,并指示不同激活TSN时间同步的过程。It is understandable that steps 1-7 are to establish a PDU session according to the information requested by the AF, and indicate the process of different activated TSN time synchronization.
步骤8:AF发送请求信息到NEF,NEF存储AF请求到UDR,PCF向UDR订阅AF请求的变化,从通知信息中获得AF请求的信息。或者AF直接将信息发送到PCF。Step 8: AF sends request information to NEF, NEF stores the AF request to UDR, PCF subscribes to the UDR for changes in the AF request, and obtains the information requested by the AF from the notification information. Or AF directly sends the information to PCF.
步骤9:PCF根据AF请求生成新的PCC规则或更新已有PCC规则,包括步骤7中AF请求的信息。Step 9: The PCF generates a new PCC rule or updates an existing PCC rule according to the AF request, including the information requested by the AF in step 7.
步骤10:PCF通过调用Npcf_SMPolicyControl_UpdateNotify将PCC规则发送到SMF。Step 10: PCF sends PCC rules to SMF by calling Npcf_SMPolicyControl_UpdateNotify.
步骤11:SMF根据PCC规则发起PDU会话修改过程,并通知UPF/UE激活时间同步,同步骤5的方式1)和方式2)。Step 11: The SMF initiates the PDU session modification process according to the PCC rules and notifies the UPF/UE to activate time synchronization, the same as the method 1) and the method 2) of step 5.
需要说明的是,步骤7-11是在PDU会话建立之后,对相关技术中的PDU会话的同步状态进行更新。It should be noted that step 7-11 is to update the synchronization state of the PDU session in the related technology after the PDU session is established.
以下为去激活TSN时间同步操作:The following is the deactivation TSN time synchronization operation:
步骤12:AF调用Nnef_TrafficInfluence_Create服务操作创建AF请求,请求的信息中可以包括以下一项或多项组合:(1)一个或一组UE标识(如:GPSI);(2)PDU会话标识;(3)去激活标识。Step 12: AF calls the Nnef_TrafficInfluence_Create service operation to create an AF request. The requested information may include one or more of the following combinations: (1) one or a group of UE identifiers (such as GPSI); (2) PDU session identifiers; (3) ) Deactivate the logo.
步骤13:同步骤2-4,将AF请求的信息发送至SMF。Step 13: Same as steps 2-4, send the information requested by AF to SMF.
步骤14:SMF执行以下其中一种操作:Step 14: SMF performs one of the following operations:
1)SMF发起PDU会话修改过程,通过NAS-SM或PMIC通知UE,或者通过N4 Session Modification通知UPF去激活TSN时间同步。例如,不再进行时间同步维护的相关操作。1) The SMF initiates the PDU session modification process, and notifies the UE through NAS-SM or PMIC, or notifies the UPF through N4 Session Modification to activate TSN time synchronization. For example, no more operations related to time synchronization maintenance.
2)SMF发起PDU会话释放过程,释放此PDU会话。2) The SMF initiates the PDU session release process and releases the PDU session.
需要说明的是,步骤12-14是在PDU会话建立之后,对相关技术中的PDU会话的同步状态进行去激活。It should be noted that steps 12-14 are to deactivate the synchronization state of the PDU session in the related technology after the PDU session is established.
参见图11,本公开实施例提供一种PCF,该PCF1100包括:Referring to FIG. 11, an embodiment of the present disclosure provides a PCF, and the PCF 1100 includes:
第一发送模块1101,用于在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first sending module 1101 is configured to obtain the first message sent by the AF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time synchronization information.
在一些实施方式中,该PCF1100还可以包括:第一处理模块1102,用于根据所述第一消息,得到PCC规则;In some implementation manners, the PCF 1100 may further include: a first processing module 1102, configured to obtain PCC rules according to the first message;
第二发送模块1103,用于将所述PCC规则发送给SMF,以使所述SMF通知UPF或UE激活或去激活TSN时间同步,和/或,根据PCC规则,将UE策略发送给UE。The second sending module 1103 is configured to send the PCC rules to the SMF, so that the SMF notifies the UPF or the UE to activate or deactivate the TSN time synchronization, and/or, according to the PCC rules, send the UE policies to the UE.
比如,第二发送模块1103通过调用Npcf_SMPolicyControl_UpdateNotify将所述PCC规则发送到SMF;或者,根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。For example, the second sending module 1103 sends the PCC rule to the SMF by calling Npcf_SMPolicyControl_UpdateNotify; or, according to the PCC rule, the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
本公开实施例提供的PCF,可以执行上述图3所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The PCF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 3 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图12,本公开实施例提供一种PCF,该PCF1200包括:第一收发机1201和第一处理器1202;Referring to FIG. 12, an embodiment of the present disclosure provides a PCF. The PCF 1200 includes: a first transceiver 1201 and a first processor 1202;
所述第一收发机1201在所述第一处理器1202的控制下发送和接收数据;The first transceiver 1201 sends and receives data under the control of the first processor 1202;
所述第一处理器1202读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first processor 1202 reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain the first message sent by the AF, and the first message requests the creation, update or deletion of TSN time synchronization information.
在一些实施方式中,所述第一处理器1202还执行以下操作:根据所述第一消息,得到PCC规则;将所述PCC规则发送给SMF,以使所述SMF通知UPF或UE激活或去激活TSN时间同步,和/或,根据PCC规则,将UE策略发送给UE。In some implementation manners, the first processor 1202 further performs the following operations: obtain PCC rules according to the first message; send the PCC rules to the SMF, so that the SMF notifies the UPF or UE to activate or deactivate Activate TSN time synchronization, and/or, according to PCC rules, send the UE policy to the UE.
比如,通过调用Npcf_SMPolicyControl_UpdateNotify将所述PCC规则发送到SMF;或者,根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。For example, the PCC rule is sent to the SMF by calling Npcf_SMPolicyControl_UpdateNotify; or, the UE policy is updated according to the PCC rule, and the updated UE policy is sent to the UE through the UE configuration update process.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
本公开实施例提供的PCF,可以执行上述图3所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The PCF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 3 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图13,本公开实施例提供一种AF,该AF1300包括:Referring to FIG. 13, an embodiment of the present disclosure provides an AF, and the AF1300 includes:
第三发送模块1301,用于在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The third sending module 1301 is configured to send a first message to the PCF before or after the PDU session is established, the first message requesting to create, update or delete TSN time synchronization information.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
本公开实施例提供的AF,可以执行上述图4所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The AF provided in the embodiment of the present disclosure may execute the method embodiment shown in FIG. 4, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图14,本公开实施例提供一种AF,该AF1400包括:第二收发机1401和第二处理器1402;Referring to FIG. 14, an embodiment of the present disclosure provides an AF. The AF1400 includes a second transceiver 1401 and a second processor 1402;
所述第二收发机1401在所述第二处理器1402的控制下发送和接收数据;The second transceiver 1401 sends and receives data under the control of the second processor 1402;
所述第二处理器1402读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The second processor 1402 reads the program in the memory to perform the following operations: before or after the PDU session is established, send a first message to the PCF, the first message requesting the creation, update or deletion of TSN time synchronization information.
在一些实施方式中,所述第一消息中携带以下一项或多项组合:(1)一个或一组UE标识;(2)PDU会话类型;(3)TSN时间同步激活指示;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)同步信息;(8)激活或去激活信息。In some embodiments, the first message carries one or more of the following combinations: (1) one or a group of UE identifiers; (2) PDU session type; (3) TSN time synchronization activation indication; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) synchronization information; (8) activation or deactivation information.
本公开实施例提供的AF,可以执行上述图4所示方法实施例,其实现原 理和技术效果类似,本实施例此处不再赘述。The AF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG. 4 above, and its implementation principle and technical effect are similar, and the details are not repeated here in this embodiment.
参见图15,本公开实施例提供一种SMF,该SMF1500包括:Referring to FIG. 15, an embodiment of the present disclosure provides an SMF, and the SMF 1500 includes:
第一接收模块1501,用于从PCF接收PCC规则;The first receiving module 1501 is configured to receive PCC rules from the PCF;
通知模块1502,用于根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The notification module 1502 is configured to notify the UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rules;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
可选地,通知模块1502进一步用于根据所述PCC规则发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步。Optionally, the notification module 1502 is further configured to initiate a PDU session modification process according to the PCC rules, and notify the UPF and/or UE to activate or deactivate TSN time synchronization.
在一些实施方式中,通知模块1502进一步用于将激活时间同步指示信息发送给UE;和/或,将激活时间同步指示信息发送给UPF;In some embodiments, the notification module 1502 is further configured to send the activation time synchronization indication information to the UE; and/or, send the activation time synchronization indication information to the UPF;
其中,所述激活时间同步指示信息中包含以下一项或多项组合:Wherein, the activation time synchronization indication information includes one or more of the following combinations:
(1)需要同步到的时间源的信息;(1) The information of the time source that needs to be synchronized;
(2)TSN时间同步激活指示;(2) TSN time synchronization activation indication;
(3)同步精度;(3) Synchronization accuracy;
(4)上行或下行同步信息。(4) Uplink or downlink synchronization information.
本公开实施例提供的SMF,可以执行上述图5所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The SMF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 5, and its implementation principles and technical effects are similar, and details are not described in this embodiment here.
参见图16,本公开实施例提供一种SMF,该SMF1600包括:第三收发机1601和第三处理器1602;Referring to FIG. 16, an embodiment of the present disclosure provides an SMF. The SMF 1600 includes a third transceiver 1601 and a third processor 1602;
所述第三收发机1601在所述第三处理器1602的控制下发送和接收数据;The third transceiver 1601 sends and receives data under the control of the third processor 1602;
所述第三处理器1602读取存储器中的程序执行以下操作:从PCF接收PCC规则;根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The third processor 1602 reads the program in the memory to perform the following operations: receive the PCC rule from the PCF; according to the PCC rule, notify the UPF and/or UE to activate or deactivate the TSN time synchronization;
其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
在一些实施方式中,所述第三处理器1602读取存储器中的程序还执行以 下操作:将激活时间同步指示信息发送给UE;和/或,将激活时间同步指示信息发送给UPF;In some embodiments, the third processor 1602 reads the program in the memory and performs the following operations: sending the activation time synchronization indication information to the UE; and/or, sending the activation time synchronization indication information to the UPF;
其中,所述激活时间同步指示信息中包含以下一项或多项组合:Wherein, the activation time synchronization indication information includes one or more of the following combinations:
(1)需要同步到的时间源的信息;(1) The information of the time source that needs to be synchronized;
(2)TSN时间同步激活指示;(2) TSN time synchronization activation indication;
(3)同步精度;(3) Synchronization accuracy;
(4)上行或下行同步信息。(4) Uplink or downlink synchronization information.
本公开实施例提供的SMF,可以执行上述图5所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The SMF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 5, and its implementation principles and technical effects are similar, and details are not described in this embodiment here.
参见图17,本公开实施例提供一种UDM,该UDM1700包括:Referring to FIG. 17, an embodiment of the present disclosure provides a UDM, and the UDM 1700 includes:
第一获取模块1701,用于在PDU会话建立之前或之后,从AF获取第二消息,所述第一消息请求所述UDM创建、或更新、或删除TSN时间同步信息;The first obtaining module 1701 is configured to obtain a second message from the AF before or after the PDU session is established, the first message requesting the UDM to create, update, or delete TSN time synchronization information;
第二处理模块1702,用于根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。The second processing module 1702 is configured to obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
在一些实施方式中,UDM1700还包括:In some embodiments, UDM1700 further includes:
第五发送模块,用于向SMF发送第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The fifth sending module is configured to send a third message to the SMF; wherein the third message includes: TSN time synchronization information created or updated by the UDM, or the third message informs the SMF that the SMF is used by the TSN time synchronization information deleted by UDM.
在一些实施方式中,TSN时间同步信息可以包括以下一项或多项组合:(1)TSN域编号;(2)时钟标识;(3)PDU会话类型;(4)同步信息;(5)时钟精度;(6)上行或下行同步信息;(7)激活或去激活信息。In some embodiments, TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type; (4) synchronization information; (5) clock Accuracy; (6) Uplink or downlink synchronization information; (7) Activation or deactivation information.
在一些实施方式中,所述第一消息中可以携带以下一项或多项组合:(1)一个或一组UE标识;(2)数据网络名称(DNN);(3)单一网络切片选择辅助信息;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)上行或下行同步信息;(8)激活或去激活信息;(9)同步信息。In some embodiments, the first message may carry one or more of the following combinations: (1) one or a group of UE identifiers; (2) data network name (DNN); (3) single network slice selection assistance Information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
本公开实施例提供的UDM,可以执行上述图6所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The UDM provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 6 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图18,本公开实施例提供一种UDM,该UDM1800包括:第四收发 机1801和第四处理器1802;Referring to Fig. 18, an embodiment of the present disclosure provides a UDM. The UDM 1800 includes: a fourth transceiver 1801 and a fourth processor 1802;
所述第四收发机1801在所述第四处理器1802的控制下发送和接收数据;The fourth transceiver 1801 sends and receives data under the control of the fourth processor 1802;
所述第四处理器1802读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第一消息删除已有的TSN时间同步信息。The fourth processor 1802 reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete the TSN time Synchronization information; according to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the first message.
在一些实施方式中,所述第四处理器1802读取存储器中的程序还执行以下操作:向SMF发送第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。In some implementation manners, the fourth processor 1802 reads the program in the memory and performs the following operations: sending a third message to the SMF; wherein, the third message includes: the TSN time created or updated by the UDM Synchronization information, or the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
在一些实施方式中,TSN时间同步信息可以包括以下一项或多项组合:(1)TSN域编号;(2)时钟标识;(3)PDU会话类型,比如,网际互连协议(Internet Protocol,IP),以太网(Ethernet);(4)同步信息;(5)时钟精度;(6)上行或下行同步信息;(7)激活或去激活信息。In some embodiments, the TSN time synchronization information may include one or more of the following combinations: (1) TSN domain number; (2) clock identifier; (3) PDU session type, for example, Internet Protocol (Internet Protocol, IP), Ethernet (Ethernet); (4) synchronization information; (5) clock accuracy; (6) uplink or downlink synchronization information; (7) activation or deactivation information.
在一些实施方式中,所述第二消息中可以携带以下一项或多项组合:(1)一个或一组UE标识;(2)数据网络名称(DNN);(3)单一网络切片选择辅助信息;(4)TSN域编号;(5)时钟标识;(6)时钟精度;(7)上行或下行同步信息;(8)激活或去激活信息;(9)同步信息。In some embodiments, the second message may carry one or more of the following combinations: (1) one or a group of UE identifiers; (2) data network name (DNN); (3) single network slice selection assistance Information; (4) TSN domain number; (5) clock identification; (6) clock accuracy; (7) uplink or downlink synchronization information; (8) activation or deactivation information; (9) synchronization information.
本公开实施例提供的UDM,可以执行上述图6所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The UDM provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 6 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图19,本公开实施例提供一种AF,该AF1900包括:Referring to FIG. 19, an embodiment of the present disclosure provides an AF, and the AF1900 includes:
第四发送模块1901,用于在PDU会话建立之前或之后,向UDM发送第二消息;The fourth sending module 1901 is configured to send a second message to the UDM before or after the PDU session is established;
其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第二消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the second message requests to delete TSN time synchronization information.
本公开实施例提供的AF,可以执行上述图7所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The AF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 7 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图20,本公开实施例提供一种AF,该AF2000包括:第五收发机 2001和第五处理器2002;Referring to FIG. 20, an embodiment of the present disclosure provides an AF. The AF2000 includes: a fifth transceiver 2001 and a fifth processor 2002;
所述第五收发机2001在所述第五处理器2002的控制下发送和接收数据;The fifth transceiver 2001 sends and receives data under the control of the fifth processor 2002;
所述第五处理器2002读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,向UDM发送第二消息;其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第二消息请求删除TSN时间同步信息。The fifth processor 2002 reads the program in the memory to perform the following operations: before or after the PDU session is established, send a second message to the UDM; wherein, the second message requests the UDM to create or update TSN time synchronization information , Or the second message requests to delete the TSN time synchronization information.
本公开实施例提供的AF,可以执行上述图7所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The AF provided in the embodiment of the present disclosure can execute the method embodiment shown in FIG. 7 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图21,本公开实施例提供一种SMF,该SMF2100包括:Referring to FIG. 21, an embodiment of the present disclosure provides an SMF, and the SMF 2100 includes:
第二接收模块2101,用于在PDU会话建立之前或之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The second receiving module 2101 is configured to receive a third message from the UDM before or after the PDU session is established; wherein, the third message includes: TSN time synchronization information created or updated by the UDM, or the first Three messages notify the TSN time synchronization information of the SMF deleted by the UDM.
在一些实施方式中,该SMF2100还包括:In some embodiments, the SMF2100 further includes:
发起模块,用于发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步;或者,发起PDU会话释放过程。The initiation module is used to initiate the PDU session modification process, and notify the UPF and/or UE to activate or deactivate the TSN time synchronization; or, initiate the PDU session release process.
本公开实施例提供的SMF,可以执行上述图8所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The SMF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG. 8 above, and its implementation principles and technical effects are similar, and details are not described herein again in this embodiment.
参见图22,本公开实施例提供一种SMF,该SMF2200包括:第六收发机2201和第六处理器2202;Referring to FIG. 22, an embodiment of the present disclosure provides an SMF. The SMF 2200 includes: a sixth transceiver 2201 and a sixth processor 2202;
所述第六收发机2201在所述第六处理器2202的控制下发送和接收数据;The sixth transceiver 2201 sends and receives data under the control of the sixth processor 2202;
所述第六处理器2202读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The sixth processor 2202 reads the program in the memory to perform the following operations: before or after the PDU session is established, receive a third message from the UDM; wherein, the third message includes: the TSN created or updated by the UDM Time synchronization information, or the third message notifies the SMF of the TSN time synchronization information deleted by the UDM.
在一些实施方式中,所述第六处理器2202读取存储器中的程序还执行以下操作:发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步;或者,发起PDU会话释放过程。In some embodiments, the sixth processor 2202 reads the program in the memory and also performs the following operations: initiate a PDU session modification process, notify the UPF and/or UE to activate or deactivate TSN time synchronization; or initiate PDU session release process.
本公开实施例提供的SMF,可以执行上述图8所示方法实施例,其实现 原理和技术效果类似,本实施例此处不再赘述。The SMF provided by the embodiment of the present disclosure can execute the method embodiment shown in FIG.
请参阅图23,图23是本公开实施例应用的通信设备的结构图,如图23所示,通信设备2300包括:处理器2301、收发机2302、存储器2303和总线接口,其中:Please refer to FIG. 23. FIG. 23 is a structural diagram of a communication device applied in an embodiment of the present disclosure. As shown in FIG. 23, a communication device 2300 includes: a processor 2301, a transceiver 2302, a memory 2303, and a bus interface, where:
在本公开的一个实施例中,通信设备2300还包括:存储在存储器上2303并可在处理器2301上运行的程序,程序被处理器2301执行时实现图3~图10所示实施例中的步骤。In an embodiment of the present disclosure, the communication device 2300 further includes: a program that is stored in the memory 2303 and can run on the processor 2301. When the program is executed by the processor 2301, the step.
在图23中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器2301代表的一个或多个处理器和存储器2303代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机2302可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,可以理解的是,收发机2302为可选部件。In FIG. 23, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 2301 and various circuits of the memory represented by the memory 2303 are linked together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are all known in the art, and therefore, no further descriptions are provided herein. The bus interface provides the interface. The transceiver 2302 may be a plurality of components, including a transmitter and a receiver, and provide a unit for communicating with various other devices on the transmission medium. It should be understood that the transceiver 2302 is an optional component.
处理器2301负责管理总线架构和通常的处理,存储器2303可以存储处理器2301在执行操作时所使用的数据。The processor 2301 is responsible for managing the bus architecture and general processing, and the memory 2303 can store data used by the processor 2301 when performing operations.
本公开实施例提供的通信设备,可以执行上述图3~图10所示方法实施例,其实现原理和技术效果类似,本实施例此处不再赘述。The communication device provided in the embodiment of the present disclosure can execute the method embodiments shown in FIG. 3 to FIG. 10, and the implementation principles and technical effects are similar, and the details are not described herein again in this embodiment.
结合本公开公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、EPROM、EEPROM、寄存器、硬盘、移动硬盘、只读光盘或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of the method or algorithm described in conjunction with the disclosure of the present disclosure may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disks, mobile hard disks, read-only optical disks, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本公开所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件 实现时,可以将这些功能存储在可读介质中或者作为可读介质上的一个或多个指令或代码进行传输。可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能存取的任何可用介质。Those skilled in the art should be aware that, in one or more of the foregoing examples, the functions described in the present disclosure can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a readable medium or transmitted as one or more instructions or codes on the readable medium. The readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上所述的具体实施方式,对本公开的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本公开的具体实施方式而已,并不用于限定本公开的保护范围,凡在本公开的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本公开的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions, and beneficial effects of the present disclosure in further detail. It should be understood that the above descriptions are only specific embodiments of the present disclosure, and are not intended to limit the scope of the present disclosure. The protection scope, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of the present disclosure shall be included in the protection scope of the present disclosure.
本领域内的技术人员应明白,本公开实施例可提供为方法、系统、或计算机程序产品。因此,本公开实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the embodiments of the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本公开实施例是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present disclosure are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are used to generate It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
需要说明的是,应理解以上各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,确定模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上确定模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里所述的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the above division of each module is only a division of logical functions, and can be fully or partially integrated into a physical entity during actual implementation, or can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be implemented in the form of hardware; some modules can be implemented in the form of calling software by processing elements, and some of the modules can be implemented in the form of hardware. For example, the determining module may be a separately established processing element, or it may be integrated in a chip of the above-mentioned device for implementation. In addition, it may also be stored in the memory of the above-mentioned device in the form of program code, which is determined by a certain processing element of the above-mentioned device. Call and execute the functions of the above-identified module. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together or implemented independently. The processing element described here may be an integrated circuit with signal processing capability. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
例如,各个模块、单元、子单元或子模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。For example, each module, unit, sub-unit or sub-module may be one or more integrated circuits configured to implement the above method, for example: one or more application specific integrated circuits (ASIC), or one or Multiple microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc. For another example, when one of the above modules is implemented in the form of processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例,例如除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单 独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。类似地,本说明书以及权利要求中使用“A和B中的至少一个”应理解为“单独A,单独B,或A和B都存在”。The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein are, for example, implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those clearly listed. Those steps or units may include other steps or units that are not clearly listed or are inherent to these processes, methods, products, or equipment. In addition, the use of "and/or" in the description and claims means at least one of the connected objects, such as A and/or B and/or C, which means that it includes A alone, B alone, C alone, and both A and B. Exist, B and C exist, A and C exist, and A, B, and C all exist in 7 cases. Similarly, the use of "at least one of A and B" in this specification and claims should be understood as "A alone, B alone, or both A and B exist".
显然,本领域的技术人员可以对本公开实施例进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开实施例的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. In this way, if these modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and their equivalent technologies, the present disclosure is also intended to include these modifications and variations.

Claims (32)

  1. 一种处理时间敏感网络TSN时间同步服务的方法,应用于策略控制功能PCF,包括:A method for processing time-sensitive network TSN time synchronization service, applied to the policy control function PCF, includes:
    在协议数据单元PDU会话建立之前或之后,获取应用功能AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。Before or after the protocol data unit PDU session is established, the first message sent by the application function AF is acquired, and the first message requests the creation, update or deletion of TSN time synchronization information.
  2. 根据权利要求1所述的方法,还包括:The method according to claim 1, further comprising:
    根据所述第一消息,得到策略控制和计费PCC规则;According to the first message, obtain policy control and charging PCC rules;
    将所述PCC规则发送给会话管理功能SMF,以使所述SMF通知用户面功能UPF或终端UE激活或去激活TSN时间同步,和/或,根据所述PCC规则,将UE策略发送给终端UE。The PCC rule is sent to the session management function SMF, so that the SMF informs the user plane function UPF or the terminal UE to activate or deactivate TSN time synchronization, and/or, according to the PCC rule, send the UE policy to the terminal UE .
  3. 根据权利要求1所述的方法,其中,所述第一消息中携带以下一项或多项组合:The method according to claim 1, wherein the first message carries one or more of the following combinations:
    一个或一组UE标识;One or a group of UE identities;
    PDU会话类型;PDU session type;
    TSN时间同步激活指示;TSN time synchronization activation indication;
    TSN域编号;TSN domain number;
    时钟标识;Clock logo
    时钟精度;Clock accuracy;
    上行或下行同步信息;Uplink or downlink synchronization information;
    同步信息;Synchronization information;
    激活或去激活信息。Activation or deactivation information.
  4. 根据权利要求2所述的方法,其中,所述将所述PCC规则发送给会话管理功能SMF包括:The method according to claim 2, wherein the sending the PCC rule to the session management function SMF comprises:
    通过调用Npcf_SMPolicyControl_UpdateNotify将所述PCC规则发送到SMF;或者,Send the PCC rule to SMF by calling Npcf_SMPolicyControl_UpdateNotify; or,
    根据PCC规则,将UE策略发送给UE,包括:According to the PCC rules, the UE policy is sent to the UE, including:
    根据PCC规则,更新UE策略,将更新的UE策略通过UE配置更新过程发送给UE。According to the PCC rules, the UE policy is updated, and the updated UE policy is sent to the UE through the UE configuration update process.
  5. 一种处理TSN时间同步服务的方法,应用于AF,包括:A method for processing TSN time synchronization service, applied to AF, includes:
    在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。Before or after the PDU session is established, a first message is sent to the PCF, and the first message requests the creation, update or deletion of TSN time synchronization information.
  6. 根据权利要求5所述的方法,其中,所述第一消息中携带以下一项或多项组合:The method according to claim 5, wherein the first message carries one or more of the following combinations:
    一个或一组UE标识;One or a group of UE identities;
    PDU会话类型;PDU session type;
    TSN时间同步激活指示;TSN time synchronization activation indication;
    TSN域编号;TSN domain number;
    时钟标识;Clock logo
    时钟精度;Clock accuracy;
    上行或下行同步信息;Uplink or downlink synchronization information;
    同步信息;Synchronization information;
    激活或去激活信息。Activation or deactivation information.
  7. 一种处理TSN时间同步服务的方法,应用于SMF,包括:A method for processing TSN time synchronization service, applied to SMF, includes:
    从PCF接收PCC规则;Receive PCC rules from PCF;
    根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;According to the PCC rules, notify UPF and/or UE to activate or deactivate TSN time synchronization;
    其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  8. 根据权利要求7所述的方法,其中,所述根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步,包括:The method according to claim 7, wherein the notifying UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rule comprises:
    根据所述PCC规则发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步或更新激活TSN时间同步的信息。The PDU session modification process is initiated according to the PCC rules, and the UPF and/or UE are notified to activate or deactivate the TSN time synchronization or update the information for activating the TSN time synchronization.
  9. 根据权利要求8所述的方法,其中,所述通知UPF和/或UE激活时间同步,包括:The method according to claim 8, wherein said notifying UPF and/or UE to activate time synchronization comprises:
    将激活时间同步指示信息发送给UE;Sending the activation time synchronization indication information to the UE;
    和/或,and / or,
    将激活时间同步指示信息发送给UPF;Send the activation time synchronization instruction information to UPF;
    其中,所述激活时间同步指示信息中包含需要同步到的时间源的信息和/或TSN时间同步激活指示。Wherein, the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
  10. 一种处理TSN时间同步服务的方法,应用于统一数据管理UDM,包括:A method for processing TSN time synchronization service, applied to unified data management UDM, including:
    在PDU会话建立之后,从应用功能AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;After the PDU session is established, obtain a second message from the application function AF, the second message requesting the UDM to create, or update, or delete the TSN time synchronization information;
    根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。According to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
  11. 根据权利要求10所述的方法,其中,所述从所述AF获取第二消息包括:The method according to claim 10, wherein said acquiring a second message from said AF comprises:
    AF将所述第二消息发送至网络开放功能NEF,AF sends the second message to the network opening function NEF,
    所述第二消息被所述NEF授权后,所述NEF向所述UDM发送所述第二消息。After the second message is authorized by the NEF, the NEF sends the second message to the UDM.
  12. 根据权利要求10或11所述的方法,还包括:The method according to claim 10 or 11, further comprising:
    向SMF发送第三消息;Send the third message to SMF;
    其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,Wherein, the third message includes: TSN time synchronization information created or updated by the UDM,
    或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  13. 根据权利要求10-12任一项所述的方法,其中,所述TSN时间同步信息包括以下一项或多项组合:The method according to any one of claims 10-12, wherein the TSN time synchronization information includes one or a combination of the following:
    TSN域编号;TSN domain number;
    时钟标识;Clock logo
    PDU会话类型;PDU session type;
    同步信息;时钟精度;Synchronization information; clock accuracy;
    上行或下行同步信息;Uplink or downlink synchronization information;
    激活或去激活信息。Activation or deactivation information.
  14. 根据权利要求10-12任一项所述的方法,其中,所述第一消息中携带以下一项或多项组合:The method according to any one of claims 10-12, wherein the first message carries one or more of the following combinations:
    一个或一组UE标识;One or a group of UE identities;
    数据网络名称;Data network name;
    单一网络切片选择辅助信息;Single network slice selection auxiliary information;
    TSN域编号;TSN domain number;
    时钟标识;Clock logo
    时钟精度;Clock accuracy;
    上行或下行同步信息;Uplink or downlink synchronization information;
    激活或去激活信息;Activation or deactivation information;
    同步信息。Synchronization information.
  15. 一种处理TSN时间同步服务的方法,应用于AF,所述方法包括:A method for processing TSN time synchronization service, applied to AF, and the method includes:
    在PDU会话建立之后,向UDM发送第二消息;After the PDU session is established, send a second message to UDM;
    其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第一消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
  16. 一种处理TSN时间同步服务的方法,应用于SMF,包括:A method for processing TSN time synchronization service, applied to SMF, includes:
    在PDU会话建立之后,从UDM接收第三消息;After the PDU session is established, receive the third message from UDM;
    其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,Wherein, the third message includes: TSN time synchronization information created or updated by the UDM,
    或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。Alternatively, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  17. 根据权利要求16所述的方法,还包括:The method according to claim 16, further comprising:
    发起PDU会话修改过程,通知UPF和/或UE激活或去激活TSN时间同步;Initiate the PDU session modification process and notify the UPF and/or UE to activate or deactivate TSN time synchronization;
    或者,or,
    发起PDU会话释放过程。Initiate the PDU session release process.
  18. 根据权利要求17所述的方法,其中,所述通知UPF和/或UE激活时间同步,包括:The method according to claim 17, wherein said notifying UPF and/or UE to activate time synchronization comprises:
    将激活时间同步指示信息发送给UE;Sending the activation time synchronization indication information to the UE;
    和/或,and / or,
    将激活时间同步指示信息发送给UPF;Send the activation time synchronization instruction information to UPF;
    其中,所述激活时间同步指示信息中包含需要同步到的时间源的信息和/或TSN时间同步激活指示。Wherein, the activation time synchronization indication information includes the information of the time source to be synchronized to and/or the TSN time synchronization activation indication.
  19. 一种PCF,包括:A type of PCF, including:
    第一发送模块,用于在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first sending module is configured to obtain the first message sent by the AF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time synchronization information.
  20. 一种PCF,包括:第一收发机和第一处理器;A PCF, including: a first transceiver and a first processor;
    所述第一收发机在所述第一处理器的控制下发送和接收数据;The first transceiver sends and receives data under the control of the first processor;
    所述第一处理器读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,获取AF发送的第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The first processor reads the program in the memory to perform the following operations: before or after the PDU session is established, obtain the first message sent by the AF, and the first message requests the creation, update or deletion of TSN time synchronization information.
  21. 一种AF,包括:A type of AF, including:
    第三发送模块,用于在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The third sending module is configured to send a first message to the PCF before or after the PDU session is established, the first message requesting the creation, update or deletion of TSN time synchronization information.
  22. 一种AF,包括:第二收发机和第二处理器;An AF, including: a second transceiver and a second processor;
    所述第二收发机在所述第二处理器的控制下发送和接收数据;The second transceiver sends and receives data under the control of the second processor;
    所述第二处理器读取存储器中的程序执行以下操作:在PDU会话建立之前或之后,向PCF发送第一消息,所述第一消息请求创建、更新或删除TSN时间同步信息。The second processor reads the program in the memory to perform the following operations: before or after the PDU session is established, send a first message to the PCF, the first message requesting the creation, update or deletion of TSN time synchronization information.
  23. 一种SMF,包括:A type of SMF, including:
    第一接收模块,用于从PCF接收PCC规则;The first receiving module is used to receive PCC rules from the PCF;
    通知模块,用于根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The notification module is used to notify the UPF and/or UE to activate or deactivate TSN time synchronization according to the PCC rules;
    其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  24. 一种SMF,包括:第三收发机和第三处理器;An SMF, including: a third transceiver and a third processor;
    所述第三收发机在所述第三处理器的控制下发送和接收数据;The third transceiver sends and receives data under the control of the third processor;
    所述第三处理器读取存储器中的程序执行以下操作:从PCF接收PCC规则;根据所述PCC规则,通知UPF和/或UE激活或去激活TSN时间同步;The third processor reads the program in the memory to perform the following operations: receive PCC rules from the PCF; according to the PCC rules, notify the UPF and/or UE to activate or deactivate TSN time synchronization;
    其中,所述PCC规则是由所述PCF根据第一消息得到的,所述第一消息是AF在PDU会话建立之前或之后发送给PCF的,所述第一消息请求创建、更新或删除TSN时间同步信息。Wherein, the PCC rule is obtained by the PCF according to a first message, the first message is sent by the AF to the PCF before or after the PDU session is established, and the first message requests the creation, update or deletion of TSN time Synchronization information.
  25. 一种UDM,包括:A type of UDM, including:
    第一获取模块,用于在PDU会话建立之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;The first obtaining module is configured to obtain a second message from the AF after the PDU session is established, the second message requesting the UDM to create, or update, or delete TSN time synchronization information;
    第二处理模块,用于根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。The second processing module is configured to obtain the created or updated TSN time synchronization information according to the second message, or delete the existing TSN time synchronization information according to the second message.
  26. 一种UDM,包括:第四收发机和第四处理器;A UDM, including: a fourth transceiver and a fourth processor;
    所述第四收发机在所述第四处理器的控制下发送和接收数据;The fourth transceiver sends and receives data under the control of the fourth processor;
    所述第四处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,从AF获取第二消息,所述第二消息请求所述UDM创建、或更新、或删除TSN时间同步信息;根据所述第二消息,得到创建的或更新的TSN时间同步信息,或者根据所述第二消息删除已有的TSN时间同步信息。The fourth processor reads the program in the memory to perform the following operations: after the PDU session is established, obtain a second message from the AF, the second message requests the UDM to create, or update, or delete TSN time synchronization information; According to the second message, the created or updated TSN time synchronization information is obtained, or the existing TSN time synchronization information is deleted according to the second message.
  27. 一种AF,包括:A type of AF, including:
    第四发送模块,用于在PDU会话建立之后,向UDM发送第二消息;The fourth sending module is used to send a second message to UDM after the PDU session is established;
    其中,所述第二消息请求所述UDM创建或更新TSN时间同步信息,或者所述第一消息请求删除TSN时间同步信息。Wherein, the second message requests the UDM to create or update TSN time synchronization information, or the first message requests to delete TSN time synchronization information.
  28. 一种AF,包括:第五收发机和第五处理器;An AF, including: a fifth transceiver and a fifth processor;
    所述第五收发机在所述第五处理器的控制下发送和接收数据;The fifth transceiver sends and receives data under the control of the fifth processor;
    所述第五处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,向UDM发送第二消息;其中,所述第一消息请求所述UDM创建或更新TSN时间同步信息,或者所述第二消息请求删除TSN时间同步信息。The fifth processor reads the program in the memory to perform the following operations: after the PDU session is established, send a second message to the UDM; wherein the first message requests the UDM to create or update TSN time synchronization information, or The second message requests deletion of TSN time synchronization information.
  29. 一种SMF,包括:A type of SMF, including:
    第二接收模块,用于在PDU会话建立之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The second receiving module is configured to receive a third message from the UDM after the PDU session is established; where the third message includes: TSN time synchronization information created or updated by the UDM, or the third message notification The TSN time synchronization information of the SMF deleted by the UDM.
  30. 一种SMF,包括:第六收发机和第六处理器;An SMF, including: a sixth transceiver and a sixth processor;
    所述第六收发机在所述第六处理器的控制下发送和接收数据;The sixth transceiver sends and receives data under the control of the sixth processor;
    所述第六处理器读取存储器中的程序执行以下操作:在PDU会话建立之后,从UDM接收第三消息;其中,所述第三消息包括:所述UDM创建的或更新的TSN时间同步信息,或者,所述第三消息通知所述SMF由所述UDM删除的TSN时间同步信息。The sixth processor reads the program in the memory to perform the following operations: after the PDU session is established, receive a third message from the UDM; wherein, the third message includes: TSN time synchronization information created or updated by the UDM Or, the third message notifies the TSN time synchronization information of the SMF deleted by the UDM.
  31. 一种通信设备,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现包括如权利要求1至18中任一项所述的方法的步骤。A communication device, comprising: a processor, a memory, and a program stored on the memory and capable of running on the processor, the program being executed by the processor includes any of claims 1 to 18 One of the steps of the method described.
  32. 一种可读存储介质,所述可读存储介质上存储有程序,所述程序被处理器执行时实现包括如权利要求1至18中任一项所述的方法的步骤。A readable storage medium having a program stored on the readable storage medium, and when the program is executed by a processor, the steps including the method according to any one of claims 1 to 18 are realized.
PCT/CN2021/084444 2020-05-21 2021-03-31 Method for processing tsn time synchronization service, and device WO2021232952A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010437603.3 2020-05-21
CN202010437603.3A CN113709856B (en) 2020-05-21 2020-05-21 Method and device for processing TSN time synchronization service

Publications (1)

Publication Number Publication Date
WO2021232952A1 true WO2021232952A1 (en) 2021-11-25

Family

ID=78645919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/084444 WO2021232952A1 (en) 2020-05-21 2021-03-31 Method for processing tsn time synchronization service, and device

Country Status (2)

Country Link
CN (1) CN113709856B (en)
WO (1) WO2021232952A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185013A1 (en) * 2022-03-26 2023-10-05 华为技术有限公司 Communication method and apparatus
WO2024066922A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Information transmission method, apparatus and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501608A (en) * 2022-03-10 2022-05-13 福建晶一科技有限公司 Method for improving time synchronization precision
WO2024031352A1 (en) * 2022-08-09 2024-02-15 Zte Corporation Method, system and apparatus of enforcing time synchronization

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200059829A1 (en) * 2018-08-17 2020-02-20 Qualcomm Incorporated Signaling timing information for a time sensitive network in a wireless communications system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740624B (en) * 2018-08-13 2024-04-23 诺基亚技术有限公司 Implementation of E2E QoS requirements in supporting TSN-3GPP network integration
CN113556763B (en) * 2019-09-27 2023-05-16 腾讯科技(深圳)有限公司 Method, related equipment and medium for realizing data transmission of time-sensitive network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200059829A1 (en) * 2018-08-17 2020-02-20 Qualcomm Incorporated Signaling timing information for a time sensitive network in a wireless communications system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Study on enhanced support of Industrial Internet of Things (IIoT) in the 5G System (5GS) (Release 17)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 23.700-20, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, no. V0.3.0, 28 January 2020 (2020-01-28), pages 1 - 33, XP051860851 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023185013A1 (en) * 2022-03-26 2023-10-05 华为技术有限公司 Communication method and apparatus
WO2024066922A1 (en) * 2022-09-30 2024-04-04 华为技术有限公司 Information transmission method, apparatus and system

Also Published As

Publication number Publication date
CN113709856A (en) 2021-11-26
CN113709856B (en) 2023-03-28

Similar Documents

Publication Publication Date Title
WO2021232952A1 (en) Method for processing tsn time synchronization service, and device
CN110049070B (en) Event notification method and related equipment
US11805394B2 (en) Context management method and apparatus
JP6908720B2 (en) Core network control plane device selection method and equipment
WO2020224596A1 (en) Communication method and apparatus
JPWO2018230730A1 (en) User equipment, wireless communication system, and wireless communication method
WO2020147565A1 (en) Method and device for calling application program interface
US20210195554A1 (en) System and Method of Multiple Application Functions influence in 5G Networks
WO2019024650A1 (en) Resource configuration method and device
WO2022022691A1 (en) Method and apparatus for managing time synchronization service in tsn
JP2022530333A (en) Communication methods, communication devices, and communication systems
WO2020052463A1 (en) Communication method and network element
WO2020087308A1 (en) Service processing method, device, and storage medium
WO2022001298A1 (en) Communication method and communication apparatus
WO2020142884A1 (en) Method and device for switching between transmission paths
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
WO2023125198A1 (en) Network resource management method and communication apparatus
WO2023077948A1 (en) Communication method and apparatus
WO2023185629A1 (en) Information processing method and apparatus, and communication device and storage medium
WO2023185062A1 (en) Backup method, communication device, and communication system
WO2022165752A1 (en) State switching method, apparatus, device, and storage medium
WO2024032041A1 (en) Communication method and communication apparatus
CN113497734B (en) UPF configuration method, UPF selection method and equipment
WO2023125204A1 (en) Network resource management method and communication apparatus
WO2023231450A1 (en) Time synchronization method and communication apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21808204

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21808204

Country of ref document: EP

Kind code of ref document: A1