CN114731266B - Clock information synchronization method and device, first node, terminal and storage medium - Google Patents

Clock information synchronization method and device, first node, terminal and storage medium Download PDF

Info

Publication number
CN114731266B
CN114731266B CN202080080265.0A CN202080080265A CN114731266B CN 114731266 B CN114731266 B CN 114731266B CN 202080080265 A CN202080080265 A CN 202080080265A CN 114731266 B CN114731266 B CN 114731266B
Authority
CN
China
Prior art keywords
terminal
information
tsn
node
terminals
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202080080265.0A
Other languages
Chinese (zh)
Other versions
CN114731266A (en
Inventor
付喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN114731266A publication Critical patent/CN114731266A/en
Application granted granted Critical
Publication of CN114731266B publication Critical patent/CN114731266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a clock information synchronization method and device, a first node, a terminal and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: acquiring terminal information of each terminal in the communication system; determining a target terminal from the terminals according to the terminal information of each terminal, wherein the target terminal is a terminal serving as a TSN clock node of a main time sensitive network; and sending a master node notification to the target terminal, wherein the master node notification is used for instructing the target terminal to synchronize TSN clock information to other terminals except the target terminal in the communication system. The scheme can realize TSN clock synchronization in the scene of using the terminal as a master TSN clock node.

Description

时钟信息同步方法、装置、第一节点、终端及存储介质Clock information synchronization method, device, first node, terminal and storage medium

技术领域Technical Field

本申请涉及通信技术领域,特别涉及一种时钟信息同步方法、装置、第一节点、终端及存储介质。The present application relates to the field of communication technology, and in particular to a clock information synchronization method, device, first node, terminal and storage medium.

背景技术Background technique

在工业互联网(Industrial Internet of Things,IIOT)中,基于时延和可靠性的传输需求,引入了时间敏感性网络(Time Sensitive Network,TSN)网络的概念。In the Industrial Internet of Things (IIOT), the concept of Time Sensitive Network (TSN) is introduced based on the transmission requirements of latency and reliability.

在相关技术中,通常以网络作为主TSN时钟节点(master TSN clock node),UE作为辅TSN时钟节点(slave TSN clock node),由网络侧(比如基站)提供信息供终端与之同步。In related technologies, the network is usually used as the master TSN clock node, and the UE is used as the slave TSN clock node. The network side (such as the base station) provides information for the terminal to synchronize with.

然而,相关技术中的TSN时钟同步方案仅支持以网络作为主TSN时钟节点,UE作为辅TSN时钟节点的场景,导致TSN时钟同步的应用场景较窄。However, the TSN clock synchronization solution in the related art only supports the scenario where the network is used as the main TSN clock node and the UE is used as the auxiliary TSN clock node, resulting in a narrow application scenario of TSN clock synchronization.

发明内容Summary of the invention

本申请实施例提供了一种时钟信息同步方法、装置、第一节点、终端及存储介质。所述技术方案如下:The embodiment of the present application provides a clock information synchronization method, device, first node, terminal and storage medium. The technical solution is as follows:

一方面,本申请实施例提供了一种时钟信息同步方法,所述方法由第一节点执行,所述第一节点是通信系统中的网络侧节点设备,所述方法包括:On the one hand, an embodiment of the present application provides a clock information synchronization method, the method is performed by a first node, the first node is a network side node device in a communication system, and the method includes:

获取所述通信系统中的各个终端的终端信息;Acquiring terminal information of each terminal in the communication system;

根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;Determine a target terminal from the terminals according to the terminal information of each terminal, the target terminal being a terminal serving as a master time-sensitive network TSN clock node;

向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。A master node notification is sent to the target terminal, where the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

另一方面,本申请实施例提供了一种时钟信息同步方法,所述方法由终端执行,所述方法包括:On the other hand, an embodiment of the present application provides a clock information synchronization method, which is executed by a terminal and includes:

接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;receiving a master node notification sent by the first node, wherein the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The TSN clock information of the terminal is synchronized to other terminals in the communication system except the terminal.

另一方面,本申请实施例提供了一种时钟信息同步方法,所述方法由第一节点执行,所述第一节点是通信系统中的终端侧节点设备,所述方法包括:On the other hand, an embodiment of the present application provides a clock information synchronization method, the method is performed by a first node, the first node is a terminal side node device in a communication system, and the method includes:

获取所述通信系统中的各个终端的终端信息;Acquiring terminal information of each terminal in the communication system;

根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;Determine a target terminal from the terminals according to the terminal information of each terminal, the target terminal being a terminal serving as a master time-sensitive network TSN clock node;

向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。Send terminal indication information to the base station, wherein the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

另一方面,本申请实施例提供了一种时钟信息同步方法,其特征在于,所述方法由终端执行,所述方法包括:On the other hand, an embodiment of the present application provides a clock information synchronization method, characterized in that the method is executed by a terminal, and the method includes:

接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;receiving a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The TSN clock information of the terminal is synchronized to other terminals in the communication system except the terminal.

再一方面,本申请实施例提供了一种时钟信息同步装置,所述装置用于第一节点中,所述第一节点是通信系统中的网络侧的节点,所述装置包括:On the other hand, an embodiment of the present application provides a clock information synchronization device, the device is used in a first node, the first node is a node on the network side of a communication system, and the device includes:

终端信息获取模块,用于获取所述通信系统中的各个终端的终端信息;A terminal information acquisition module, used to acquire terminal information of each terminal in the communication system;

目标终端确定模块,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;A target terminal determination module, configured to determine a target terminal from the terminals according to the respective terminal information of the terminals, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

通知发送模块,用于向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。A notification sending module is used to send a master node notification to the target terminal, wherein the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

再一方面,本申请实施例提供了一种时钟信息同步装置,用于终端中,所述装置包括:On the other hand, an embodiment of the present application provides a clock information synchronization device, used in a terminal, the device comprising:

通知接收模块,用于接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;A notification receiving module, configured to receive a master node notification sent by a first node, wherein the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in a communication system;

时钟信息同步模块,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。A clock information synchronization module is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

再一方面,本申请实施例提供了一种时钟信息同步装置,所述装置用于第一节点中,所述第一节点是通信系统中的终端侧节点设备,所述装置包括:On the other hand, an embodiment of the present application provides a clock information synchronization device, the device is used in a first node, the first node is a terminal side node device in a communication system, and the device includes:

终端信息获取模块,用于获取所述通信系统中的各个终端的终端信息;A terminal information acquisition module, used to acquire terminal information of each terminal in the communication system;

目标终端确定模块,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;A target terminal determination module, configured to determine a target terminal from the terminals according to the respective terminal information of the terminals, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

指示信息发送模块,用于向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。An indication information sending module is used to send terminal indication information to a base station, wherein the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

再一方面,本申请实施例提供了一种时钟信息同步装置,其特征在于,所述装置用于终端中,所述装置包括:On the other hand, an embodiment of the present application provides a clock information synchronization device, characterized in that the device is used in a terminal, and the device includes:

通知接收模块,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;A notification receiving module, configured to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

时钟信息同步模块,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。A clock information synchronization module is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

还一方面,本申请实施例提供了一种终端,所述终端包括处理器、存储器和收发器,所述存储器存储有计算机程序,所述计算机程序用于被所述处理器执行,以实现上述时钟信息同步方法。On the other hand, an embodiment of the present application provides a terminal, which includes a processor, a memory and a transceiver, wherein the memory stores a computer program, and the computer program is used to be executed by the processor to implement the above-mentioned clock information synchronization method.

还一方面,本申请实施例提供了一种第一节点,所述第一节点包括处理器、存储器和收发器,所述存储器存储有计算机程序,所述计算机程序用于被所述处理器执行,以实现上述时钟信息同步方法。On the other hand, an embodiment of the present application provides a first node, which includes a processor, a memory and a transceiver, wherein the memory stores a computer program, and the computer program is used to be executed by the processor to implement the above-mentioned clock information synchronization method.

又一方面,本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述时钟信息同步方法。On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned clock information synchronization method.

又一方面,本申请提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行上述时钟信息同步方法。On the other hand, the present application provides a computer program product, which, when executed on a terminal, enables the terminal to execute the above-mentioned clock information synchronization method.

本申请实施例提供的技术方案可以带来如下有益效果:The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

第一节点根据各个终端的终端信息确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,以触发目标终端将TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。When the first node determines each terminal in the communication system or specific terminals as the target terminal of the main time-sensitive network TSN clock node based on the terminal information of each terminal, it sends a master node notification to the target terminal to trigger the target terminal to synchronize the TSN clock information to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1是本申请一个实施例提供的网络架构的示意图;FIG1 is a schematic diagram of a network architecture provided by an embodiment of the present application;

图2是本申请一个实施例提供的时钟信息同步方法的流程图;FIG2 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图3是本申请一个实施例提供的时钟信息同步方法的流程图;FIG3 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图4是本申请一个实施例提供的时钟信息同步方法的流程图;FIG4 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图5是本申请一个实施例提供的时钟信息同步方法的流程图;FIG5 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图6是本申请一个实施例提供的时钟信息同步方法的流程图;FIG6 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图7是本申请一个实施例提供的时钟信息同步方法的流程图;FIG7 is a flow chart of a clock information synchronization method provided by an embodiment of the present application;

图8是本申请一个实施例提供的时钟信息同步装置的框图;FIG8 is a block diagram of a clock information synchronization device provided by an embodiment of the present application;

图9是本申请一个实施例提供的时钟信息同步装置的框图;FIG9 is a block diagram of a clock information synchronization device provided by an embodiment of the present application;

图10是本申请一个实施例提供的时钟信息同步装置的框图;FIG10 is a block diagram of a clock information synchronization device provided by an embodiment of the present application;

图11是本申请一个实施例提供的时钟信息同步装置的框图;FIG11 is a block diagram of a clock information synchronization device provided by an embodiment of the present application;

图12是本申请一个实施例提供的终端的结构示意图;FIG12 is a schematic diagram of the structure of a terminal provided by an embodiment of the present application;

图13是本申请一个实施例提供的第一节点的结构示意图;FIG13 is a schematic diagram of the structure of a first node provided by an embodiment of the present application;

图14是本申请一个实施例提供的终端的结构示意图;FIG14 is a schematic diagram of the structure of a terminal provided by an embodiment of the present application;

图15是本申请一个实施例提供的第一节点的结构示意图。FIG. 15 is a schematic diagram of the structure of a first node provided in an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

请参考图1,其示出了本申请一个实施例提供的通信系统的网络架构的示意图。该网络架构可以包括:终端10和基站20。Please refer to FIG1 , which shows a schematic diagram of a network architecture of a communication system provided by an embodiment of the present application. The network architecture may include: a terminal 10 and a base station 20 .

终端10的数量通常为多个,每一个基站20所管理的小区内可以分布一个或多个终端10。终端10可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,本申请实施例中,上面提到的设备统称为终端。The number of terminals 10 is usually multiple, and one or more terminals 10 may be distributed in the cell managed by each base station 20. The terminal 10 may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc. For the convenience of description, in the embodiments of the present application, the above-mentioned devices are collectively referred to as terminals.

基站20是一种部署在接入网中用以为终端10提供无线通信功能的装置。基站20可以包括各种形式的宏基站,微基站,中继站,接入点等等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在5G NR系统中,称为gNodeB或者gNB。随着通信技术的演进,“基站”这一名称可能会变化。为方便描述,本申请实施例中,上述为终端10提供无线通信功能的装置统称为基站。The base station 20 is a device deployed in the access network to provide wireless communication functions for the terminal 10. The base station 20 may include various forms of macro base stations, micro base stations, relay stations, access points, etc. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in the 5G NR system, it is called gNodeB or gNB. With the evolution of communication technology, the name "base station" may change. For the convenience of description, in the embodiments of the present application, the above-mentioned devices that provide wireless communication functions for the terminal 10 are collectively referred to as base stations.

可选的,图1中未示出的是,上述网络架构还包括其它网络设备,比如:中心控制节点(Central network control,CNC)、接入和移动性管理功能(Access and MobilityManagement Function,AMF)设备、会话管理功能(Session management function,SMF)或者用户面功能(User Plane Function,UPF)设备等等。Optionally, what is not shown in Figure 1 is that the above network architecture also includes other network devices, such as: a central control node (CNC), an access and mobility management function (AMF) device, a session management function (SMF) or a user plane function (UPF) device, etc.

本公开实施例中的“5G NR系统”也可以称为5G系统或者NR系统,但本领域技术人员可以理解其含义。本公开实施例描述的技术方案可以适用于5G NR系统,也可以适用于5GNR系统后续的演进系统。The "5G NR system" in the embodiments of the present disclosure may also be referred to as a 5G system or an NR system, but those skilled in the art may understand its meaning. The technical solution described in the embodiments of the present disclosure may be applicable to a 5G NR system or to a subsequent evolution system of the 5G NR system.

R16 5G IIoT中需求支持工业自动化(Factory automation),传输自动化(Transport Industry),智能电力(Electrical Power Distribution)等业务在5G系统的传输。在TSN网络中,5C网络作为TSN桥(TSN bridge),为TSN网络和业务提供服务。针对这一点,NR系统需要提供更低的时延保证,和更高的时钟同步精度,以便工业自动化业务在5G网络中传输的时候,机械操作的每一个点的操作和接续精准,且是符合时间要求的。R16 5G IIoT requires support for the transmission of services such as factory automation, transport industry, and electrical power distribution in the 5G system. In the TSN network, the 5C network acts as a TSN bridge to provide services for the TSN network and services. To this end, the NR system needs to provide lower latency guarantees and higher clock synchronization accuracy, so that when industrial automation services are transmitted in the 5G network, the operation and connection of each point of mechanical operation are accurate and meet the time requirements.

在R16主要支持以网络作为master TSN clock node,UE作为slave TSN clocknode的场景,相应的TSN时钟信息,从基站通知给UE,UE与基站进行同步。R16 mainly supports the scenario where the network acts as the master TSN clock node and the UE acts as the slave TSN clocknode. The corresponding TSN clock information is notified from the base station to the UE, and the UE is synchronized with the base station.

基于这一假设,并且,基于TSN业务传输的需求,TSN业务在5G内传输时,需要UE和基站同步,相应的基站提供参考时间信息给UE,使得UE和基站同步。进一步的,为达到1us的时间精度,网络通知TSN时间同步信息和更精准的时间同步精度信息,该参考时钟信息包含在TimeReferenceInfo IE中。可以通过广播或单播发送给UE,时间同步精度的粒度为10ns。Based on this assumption and the requirements of TSN service transmission, when TSN services are transmitted within 5G, UE and base station synchronization is required, and the corresponding base station provides reference time information to UE so that UE and base station are synchronized. Furthermore, in order to achieve a time accuracy of 1us, the network notifies TSN time synchronization information and more accurate time synchronization accuracy information. The reference clock information is included in the TimeReferenceInfo IE. It can be sent to the UE via broadcast or unicast, and the granularity of time synchronization accuracy is 10ns.

在R16主要支持以网络作为master TSN clock node,UE作为slave TSN clocknode的场景,由网络提供信息供UE与之同步。而在R17需要支持UE作为master TSN clocknode的场景。由于服务小区内存在多个UE,且不同UE的时钟精度不同,时钟本振不同,设备误差不同等,将导致选择哪个UE作为mater TSN clock node是一件需要确定的事情,否则将造成系统TSN不同步的问题,或者同步精度不足的问题。R16 mainly supports the scenario where the network is used as the master TSN clock node and the UE is used as the slave TSN clocknode, and the network provides information for the UE to synchronize with it. R17 needs to support the scenario where the UE is used as the master TSN clocknode. Since there are multiple UEs in the service cell, and the clock accuracy, clock local oscillator, and device errors of different UEs are different, it is necessary to determine which UE to choose as the master TSN clock node, otherwise it will cause the system TSN to be out of sync or the synchronization accuracy to be insufficient.

而本申请后续实施例提出了一种在支持UE作为master TSN clock node的场景下的时钟同步方案,从而扩展TSN时钟同步的应用场景。The subsequent embodiments of the present application propose a clock synchronization solution in a scenario supporting UE as a master TSN clock node, thereby expanding the application scenarios of TSN clock synchronization.

下面,将结合几个示例性实施例,对本申请技术方案进行介绍说明。The technical solution of the present application will be introduced and explained below in conjunction with several exemplary embodiments.

请参考图2,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构对应的通信系统中的第一节点执行,该第一节点是上述通信系统中的网络侧节点设备,该方法可以包括如下几个步骤:Please refer to FIG. 2, which shows a flowchart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to a first node in a communication system corresponding to the network architecture shown in FIG. 1. The first node is a network-side node device in the above communication system. The method may include the following steps:

步骤201,获取通信系统中的各个终端的终端信息。Step 201: Acquire terminal information of each terminal in the communication system.

步骤202,根据各个终端各自的终端信息,从各个终端中确定出目标终端,该目标终端是通信系统中的各个终端或者特定的各个终端中,作为主时间敏感性网络TSN时钟节点的终端。Step 202: determine a target terminal from among the terminals according to the terminal information of each terminal. The target terminal is a terminal that serves as a master time-sensitive network TSN clock node among the terminals in the communication system or among specific terminals.

可选的,上述各个终端可以是基站服务的小区中的全部终端。Optionally, the above-mentioned terminals may be all terminals in a cell served by the base station.

可选的,上述各个终端可以是基站服务的小区中的部分终端,比如,支持TSN业务的终端,例如,支持某些指定的TSN业务的终端。Optionally, the above-mentioned terminals may be some terminals in a cell served by the base station, such as terminals supporting TSN services, for example, terminals supporting certain designated TSN services.

可选的,上述目标终端可以是由基站在各个终端中确定的,或者,该目标终端也可以是由基站之外的节点确定设备在各个终端中确定出之后通知给基站。Optionally, the target terminal may be determined in each terminal by the base station, or the target terminal may be determined in each terminal by a node determination device other than the base station and then notified to the base station.

可选的,上述目标终端可以是由基站在至少一个特定终端中确定的,或者,该目标终端也可以是由基站之外的节点确定设备在至少一个特定终端中确定出之后通知给基站。Optionally, the target terminal may be determined by the base station in at least one specific terminal, or the target terminal may be determined by a node determination device outside the base station in at least one specific terminal and then notified to the base station.

步骤203,向该目标终端发送主节点通知。Step 203: Send a master node notification to the target terminal.

其中,该主节点通知用于指示目标终端将TSN时钟信息同步给通信系统中除了目标终端之外的其它终端。The master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

其中,该主节点通知用于通知该目标终端是主TSN时钟节点。The master node notification is used to notify the target terminal that it is a master TSN clock node.

可选的,基站除了向该目标终端发送主节点通知之外,也可以向通信系统中的各个终端中,除了该目标终端之外的其它终端发送该主节点通知;或者,基站除了向该目标终端发送主节点通知之外,也可以向通信系统中的主节点支持的TSN业务对应的各个终端中,除了该目标终端之外的其它终端发送该主节点通知。Optionally, in addition to sending the master node notification to the target terminal, the base station may also send the master node notification to each terminal in the communication system, except the target terminal; or, in addition to sending the master node notification to the target terminal, the base station may also send the master node notification to each terminal corresponding to the TSN service supported by the master node in the communication system, except the target terminal.

可选的,如果该第一节点是基站或者UPF设备时,第一节点还可以接收该目标终端发送的TSN时钟信息,并将该TSN时钟信息发送给该通信系统中,除了目标终端之外的其它终端。Optionally, if the first node is a base station or a UPF device, the first node may also receive TSN clock information sent by the target terminal, and send the TSN clock information to other terminals in the communication system except the target terminal.

其中,上述TSN时钟信息也可以称为TSN参考时钟信息,是用于由上述各个终端之间进行时钟同步的信息。The TSN clock information may also be referred to as TSN reference clock information, which is information used for clock synchronization between the above-mentioned terminals.

可选的,该TSN时钟信息可以包括TSN时间,TSN时钟域标识,TSN类型至少之一。Optionally, the TSN clock information may include at least one of TSN time, TSN clock domain identifier, and TSN type.

可选的,该TSN时钟信息可以包括TSN时间、不精确度、参考系统帧号referenceSFN、时间信息类型time info Type、TSN时钟域标识以及传播时延补偿信息中的至少一种。Optionally, the TSN clock information may include at least one of TSN time, inaccuracy, reference system frame number referenceSFN, time information type time info Type, TSN clock domain identifier, and propagation delay compensation information.

其中,TSN时间可以包括到达时间,离开时间,参考时间中的至少一种。The TSN time may include at least one of an arrival time, a departure time, and a reference time.

可选的,基站/UPF设备接收到该TSN时钟信息之后,可以通过该TSN时钟信息与目标终端进行时钟同步。Optionally, after receiving the TSN clock information, the base station/UPF device can perform clock synchronization with the target terminal through the TSN clock information.

可选的,目标终端可以建立特定的数据无线承载(Data Radio Bearer,DRB)或特定的服务质量流(Quality of Service flow,QoS flow),以支持该目标终端发送TSN时钟信息给基站/UPF设备。Optionally, the target terminal may establish a specific data radio bearer (DRB) or a specific quality of service flow (QoS flow) to support the target terminal to send TSN clock information to the base station/UPF device.

在本申请实施例中,基站/UPF设备接收到目标终端发送的TSN时钟信息后,可以将TSN时钟信息发送给通信系统中,除了目标终端之外的其它终端,或者,除了目标终端外对应该TSN时钟信息的TSN的其他相关终端,以便其它终端与基站以及目标终端之间进行时钟同步。In an embodiment of the present application, after the base station/UPF device receives the TSN clock information sent by the target terminal, it can send the TSN clock information to other terminals in the communication system except the target terminal, or other related terminals of TSN corresponding to the TSN clock information except the target terminal, so as to synchronize the clocks between other terminals and the base station and the target terminal.

综上所述,本申请实施例所示的方案,第一节点根据各个终端的终端信息确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,以触发目标终端将TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines each terminal in the communication system or specific terminals as the target terminal of the main time-sensitive network TSN clock node based on the terminal information of each terminal, the master node notification is sent to the target terminal to trigger the target terminal to synchronize the TSN clock information to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal serves as the main TSN clock node.

请参考图3,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构的终端中,该方法可以包括如下几个步骤:Please refer to FIG. 3 , which shows a flowchart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to a terminal in the network architecture shown in FIG. 1 . The method may include the following steps:

步骤301,接收第一节点发送的主节点通知,该主节点通知是该第一节点确定出该终端是目标终端时发送的;该目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端。Step 301, receiving a master node notification sent by a first node, where the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in a communication system.

步骤302,将该终端的TSN时钟信息同步给该通信系统中除了该终端之外的其它终端。Step 302: Synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

请参考图4,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构对应的通信系统中的第一节点执行,该第一节点是上述通信系统中的终端侧节点设备,该方法可以包括如下几个步骤:Please refer to FIG. 4, which shows a flowchart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to a first node in a communication system corresponding to the network architecture shown in FIG. 1. The first node is a terminal side node device in the above communication system. The method may include the following steps:

步骤401,获取该通信系统中的各个终端的终端信息。Step 401: Acquire terminal information of each terminal in the communication system.

步骤402,根据该各个终端各自的终端信息,从该各个终端中确定出目标终端,该目标终端是作为主时间敏感网络TSN时钟节点的终端。Step 402: determine a target terminal from the terminals according to the terminal information of each terminal, where the target terminal is a terminal that serves as a master time-sensitive network TSN clock node.

步骤403,向基站发送终端指示信息,该终端指示信息用于指示该基站向该目标终端发送该主节点通知,该主节点通知用于指示该目标终端将TSN时钟信息同步给该通信系统中除了该目标终端之外的其它终端。Step 403, sending terminal indication information to the base station, the terminal indication information is used to instruct the base station to send the master node notification to the target terminal, the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

综上所述,本申请实施例所示的方案,第一节点根据各个终端的终端信息确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,以触发目标终端将TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines each terminal in the communication system or specific terminals as the target terminal of the main time-sensitive network TSN clock node based on the terminal information of each terminal, the master node notification is sent to the target terminal to trigger the target terminal to synchronize the TSN clock information to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal serves as the main TSN clock node.

请参考图5,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构的终端中,该方法可以包括如下几个步骤:Please refer to FIG. 5 , which shows a flow chart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to a terminal in the network architecture shown in FIG. 1 . The method may include the following steps:

步骤501,接收基站发送的主节点通知;该主节点通知是该基站接收到终端指示信息时发送的;该终端指示信息是第一节点确定出该终端是目标终端时发送给该基站的;该目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端。Step 501, receiving a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system.

步骤502,将该终端的TSN时钟信息同步给该通信系统中除了该终端之外的其它终端。Step 502: Synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

其中,本申请各个实施例所示的方案中,目标终端可以由包括基站在内的网络侧节点设备来确定,也可以由系统中的终端侧节点设备来确定。本申请后续实施例将分别以这两种情况为例进行说明。Among them, in the schemes shown in various embodiments of the present application, the target terminal can be determined by a network side node device including a base station, or by a terminal side node device in the system. The subsequent embodiments of the present application will be described using these two situations as examples.

请参考图6,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构中,由图1中的第一节点和终端交互执行,该第一节点是网络侧节点设备,该方法可以包括如下几个步骤:Please refer to FIG. 6, which shows a flowchart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to the network architecture shown in FIG. 1, and is interactively executed by the first node and the terminal in FIG. 1. The first node is a network-side node device. The method may include the following steps:

步骤601,第一节点获取通信系统中的各个终端的终端信息。Step 601: The first node obtains terminal information of each terminal in the communication system.

可选的,该第一节点可以是基站、中心控制节点CNC、接入和移动性管理功能AMF设备或者会话管理功能SMF设备。Optionally, the first node may be a base station, a central control node CNC, an access and mobility management function AMF device, or a session management function SMF device.

可选的,上述终端信息可以从基站、TSN设备、核心网、CNC或者各个终端处获得。Optionally, the above terminal information can be obtained from a base station, TSN equipment, core network, CNC or each terminal.

步骤602,第一节点根据各个终端各自的终端信息确定目标终端,该目标终端是通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的终端。Step 602: The first node determines a target terminal according to terminal information of each terminal. The target terminal is a terminal that serves as a master time-sensitive network TSN clock node among each terminal or specific terminals in the communication system.

可选的,该终端信息包括终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;Optionally, the terminal information includes at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information;

该终端能力信息用于指示对应的终端是否支持高精度时钟,以及,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;The terminal capability information is used to indicate whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has at least one of the capabilities of being a master TSN clock node;

该TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,是否建立或可建立特定的DRB/QoS flow,以及,对应的终端支持或将传输的TSN业务的业务特征,是否具有目标终端标识中的至少一种。The TSN service information is used to indicate whether the corresponding terminal supports or will transmit TSN services, whether a specific DRB/QoS flow is established or can be established, and whether the service characteristics of the TSN services supported or transmitted by the corresponding terminal have at least one of the target terminal identifiers.

该终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification.

例如,第一节点可以通过上述终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的某一种终端信息确定符合条件的一个终端作为目标终端。For example, the first node may determine a terminal that meets the conditions as the target terminal through one of the terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information.

比如,第一节点可以根据各个终端的终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的终端中的某一种终端,作为上述目标终端。For example, the first node may select a terminal that supports high-precision clocks and has the ability to serve as a master TSN clock node as the target terminal according to the terminal capability information of each terminal.

或者,第一节点也可以根据各个终端的TSN业务信息,筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的终端中的某一个终端作为目标终端。Alternatively, the first node may also select, according to the TSN service information of each terminal, a terminal that supports the TSN service and/or a terminal whose service characteristics of the TSN service meet the specified characteristics as the target terminal.

或者,第一节点也可以根据各个终端的小区覆盖信息,筛选出属于指定小区的终端中的某一个终端作为目标终端。Alternatively, the first node may also select a terminal among the terminals belonging to the designated cell as the target terminal according to the cell coverage information of each terminal.

或者,第一节点也可以根据各个终端的终端移动信息,筛选出位置固定或者移动速度较慢的终端中的某一个终端作为目标终端。Alternatively, the first node may also select a terminal with a fixed position or a slow moving speed as the target terminal according to the terminal movement information of each terminal.

或者,第一节点也可以根据各个终端的终端位置信息,筛选出处于某一固定的地理范围内的终端中的某一个终端作为目标终端。Alternatively, the first node may also select a terminal from among the terminals within a certain fixed geographical range as the target terminal according to the terminal location information of each terminal.

或者,第一节点也可以根据各个终端的终端标识信息,筛选出具有指定的终端标识的终端作为目标终端。Alternatively, the first node may also filter out a terminal with a specified terminal identification as the target terminal according to the terminal identification information of each terminal.

当上述终端信息包含两种或者两种以上信息时,第一节点也可以按照预设的筛选顺序,依次按照两种或者两种以上信息进行目标终端的筛选。When the terminal information includes two or more types of information, the first node may also screen the target terminal according to the two or more types of information in sequence according to a preset screening order.

以上述终端信息包括终端能力信息和TSN业务信息为例,第一节点可以首先根据终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合,然后从第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合,再从第二终端集合中确定出一个终端作为目标终端。Taking the above-mentioned terminal information including terminal capability information and TSN service information as an example, the first node can first screen out a first terminal set that supports high-precision clocks and has the ability to serve as a main TSN clock node based on the terminal capability information, and then screen out a second terminal set that supports TSN services and/or whose service characteristics of TSN services meet specified characteristics from the first terminal set, and then determine a terminal from the second terminal set as the target terminal.

可选的,该第一节点是CNC、接入和移动性管理功能AMF设备,会话管理功能SMF或者用户面功能UPF设备中的任意一种。Optionally, the first node is any one of a CNC, an access and mobility management function AMF device, a session management function SMF or a user plane function UPF device.

步骤603,第一节点向目标终端发送主节点通知,相应的,目标终端接收该主节点通知。Step 603: The first node sends a master node notification to the target terminal, and correspondingly, the target terminal receives the master node notification.

可选的,当第一节点是基站时,基站可以通过广播和/或专用无线资源控制(RadioResource Control,RRC)消息的方式,将该主节点通知发送给目标终端。Optionally, when the first node is a base station, the base station may send the master node notification to the target terminal by means of broadcast and/or dedicated radio resource control (Radio Resource Control, RRC) messages.

可选的,基站也可以通过非接入层(Non-Access Stratum,NAS)消息等,由非接入层(如AMF)通知给目标终端。Optionally, the base station may also notify the target terminal through a non-access stratum (NAS) message or the like, through a non-access stratum (such as AMF).

可选的,该第一节点可以将上述主节点通知发送给该基站或服务小区下的所有终端,或,该第一节点可以将上述主节点通知发送执行/支持TSN业务的终端。Optionally, the first node may send the master node notification to all terminals under the base station or the service cell, or the first node may send the master node notification to terminals that execute/support TSN services.

可选的,当第一节点是CNC、AMF、SMF或者UPF设备时,第一节点可以向基站发送终端指示信息,该终端指示信息用于指示基站向目标终端发送主节点通知。Optionally, when the first node is a CNC, AMF, SMF or UPF device, the first node may send terminal indication information to the base station, where the terminal indication information is used to instruct the base station to send a master node notification to the target terminal.

可选的,该终端指示信息包括:Optionally, the terminal indication information includes:

该目标终端的终端标识、该目标终端所在的服务小区标识,该目标终端所在的服务基站标识、该目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及该目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier that establishes or will establish the transmission of TSN clock information, the QoS flow identifier that establishes or will establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

步骤604,目标终端生成TSN时钟信息。Step 604: The target terminal generates TSN clock information.

可选的,该TSN时钟信息包括:TSN时间(包括参考时间,如time)、不精确度、参考系统帧号reference SFN、时间信息类型time info Type以及TSN时钟域标识中的至少一种。Optionally, the TSN clock information includes: at least one of: TSN time (including reference time, such as time), imprecision, reference system frame number reference SFN, time information type time info Type and TSN clock domain identifier.

可选的,该TSN时钟信息还包括:时延补偿指示信息,该时延补偿指示信息用于指示传播时延是否补偿。Optionally, the TSN clock information also includes: delay compensation indication information, where the delay compensation indication information is used to indicate whether propagation delay is compensated.

可选的,该TSN时钟信息可以包括TSN时间(如到达时间,离开时间等),TSN时钟域标识,TSN类型至少之一。Optionally, the TSN clock information may include at least one of TSN time (such as arrival time, departure time, etc.), TSN clock domain identifier, and TSN type.

可选的,目标终端建立或利用建立的特定的DRB或特定的QoS flow,以支持该目标终端发送TSN时钟信息给基站。Optionally, the target terminal establishes or utilizes an established specific DRB or a specific QoS flow to support the target terminal to send TSN clock information to the base station.

可选的,目标终端在接收到基站发送的主节点通知后,确定自己被选为作为master TSN clock node,则目标终端即生成TSN时钟信息。Optionally, after receiving the master node notification sent by the base station, the target terminal determines that it is selected as the master TSN clock node, and then the target terminal generates TSN clock information.

步骤605,目标终端将终端信息同步给通信系统中除了目标终端之外的其它终端。相应的,其它终端接收该TSN时钟信息。Step 605: The target terminal synchronizes the terminal information to other terminals in the communication system except the target terminal. Correspondingly, the other terminals receive the TSN clock information.

在一种可能的实现方式中,目标终端可以将TSN时钟信息发送给基站或者用户面功能UPF设备,以便基站或者UPF设备将TSN时钟信息发送给其它终端。In a possible implementation, the target terminal may send the TSN clock information to the base station or the user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to other terminals.

或者,在另一种可能的实现方式中,目标终端可以通过直连通信方式将TSN时钟信息发送给其它终端。Alternatively, in another possible implementation, the target terminal may send the TSN clock information to other terminals through a direct communication method.

可选的,目标终端可以将TSN时钟信息周期性的同步给其它终端。Optionally, the target terminal may periodically synchronize TSN clock information to other terminals.

可选的,目标终端也可以在检测到指定触发条件时,将TSN时钟信息同步给所述其它终端。Optionally, the target terminal may also synchronize the TSN clock information to the other terminals when a specified trigger condition is detected.

可选的,该TSN时钟信息包括:参考时间、不精确度、参考系统帧号reference SFN、时间信息类型time info Type以及TSN时钟域标识中的至少一种。Optionally, the TSN clock information includes: at least one of a reference time, an imprecision, a reference system frame number reference SFN, a time information type time info Type, and a TSN clock domain identifier.

可选的,该TSN时钟信息还包括:时延补偿指示信息,该时延补偿指示信息用于指示传播时延是否补偿。可选的,目标终端在接收到基站发送的主节点通知后,确定自己被选为作为master TSN clock node,则目标终端即向基站发送TSN时钟信息。可选的,首次发送的该TSN时钟信息,可以承载在专用RRC消息中。Optionally, the TSN clock information also includes: delay compensation indication information, which is used to indicate whether the propagation delay is compensated. Optionally, after receiving the master node notification sent by the base station, the target terminal determines that it is selected as the master TSN clock node, and then the target terminal sends the TSN clock information to the base station. Optionally, the TSN clock information sent for the first time can be carried in a dedicated RRC message.

目标终端在首次发送上述TSN时钟信息之后,还可以按照一定周期向其它终端同步更新的TSN时钟信息。可选的,当通过基站小时按其它终端同步该TSN时钟信息时,该更新的TSN时钟信息,可以承载在专用RRC消息,MAC CE,或者物理层信令中的任意一种中。After the target terminal sends the above TSN clock information for the first time, it can also synchronize the updated TSN clock information to other terminals at a certain period. Optionally, when the TSN clock information is synchronized with other terminals by the base station, the updated TSN clock information can be carried in any one of the dedicated RRC messages, MAC CE, or physical layer signaling.

可选的,TSN时钟信息可以包括TSN时间(如到达时间,离开时间等),TSN时钟域标识,TSN类型至少之一。Optionally, the TSN clock information may include at least one of TSN time (such as arrival time, departure time, etc.), TSN clock domain identifier, and TSN type.

目标终端建立或利用建立的特定的DRB或特定的QoS flow,以支持该目标终端发送TSN时钟信息给基站。利用该DRB或QoS flow,目标终端将首次,或,后续的TSN信息发送给网络。The target terminal establishes or utilizes a specific DRB or a specific QoS flow established to support the target terminal to send TSN clock information to the base station. Using the DRB or QoS flow, the target terminal sends the first or subsequent TSN information to the network.

可选的,上述更新的TSN时钟信息也可以由事件触发,比如,TSN时钟信息到达,或者TSN时钟信息更新,或者TSN时钟信息变更事件,或者TSN时钟信息变更粒度大于或等于门限事件等等。Optionally, the updated TSN clock information may also be triggered by an event, such as TSN clock information arrival, or TSN clock information update, or TSN clock information change event, or TSN clock information change granularity greater than or equal to a threshold event, etc.

可选的,当第一节点是基站或者UPF设备时,第一节点可以接收目标终端发送的TSN时钟信息;并将该TSN时钟信息发送给通信系统中除了目标终端之外的其它终端。相应的,其它终端接收该TSN时钟信息。Optionally, when the first node is a base station or a UPF device, the first node may receive TSN clock information sent by the target terminal, and send the TSN clock information to other terminals except the target terminal in the communication system. Accordingly, the other terminals receive the TSN clock information.

可选的,当第一节点是基站时,第一节点可以接收目标终端周期性发送的所述TSN时钟信息;Optionally, when the first node is a base station, the first node may receive the TSN clock information periodically sent by the target terminal;

或者,or,

当第一节点是基站时,第一节点可以接收目标终端在检测到指定触发条件时发送的TSN时钟信息。When the first node is a base station, the first node may receive TSN clock information sent by the target terminal when a specified trigger condition is detected.

可选的,该第一节点可以通过基站的广播(如SIB9)和/或专用RRC消息,将TSN时钟信息通知给通信系统中,除了目标终端之外的其它终端。相应的,其它终端可以通过广播(如SIB9)和/或专用RRC消息接收该TSN时钟信息。Optionally, the first node may notify other terminals in the communication system, except the target terminal, of the TSN clock information through a broadcast (such as SIB9) and/or a dedicated RRC message of the base station. Accordingly, other terminals may receive the TSN clock information through a broadcast (such as SIB9) and/or a dedicated RRC message.

可选的,基站通过专用DRB或特定QoS flow,将接收到的TSN时钟信息,发送给其他终端。Optionally, the base station sends the received TSN clock information to other terminals through a dedicated DRB or a specific QoS flow.

可选的,如果基站不是上述第一节点,则基站接收到该TSN时钟信息之后,还根据该TSN时钟信息与该目标终端进行TSN时钟同步。Optionally, if the base station is not the first node mentioned above, after receiving the TSN clock information, the base station also performs TSN clock synchronization with the target terminal according to the TSN clock information.

在另一种可能的实现方式中,目标终端可以向上述各个终端中的其它终端发送TSN时钟信息,也就是说,上述TSN时钟信息也可以由目标终端将上述TSN时钟信息直接发送给其它终端。比如,目标终端可以通过直连通信sidelink方式将上述TSN时钟信息发送给其它终端。In another possible implementation, the target terminal may send TSN clock information to other terminals among the above terminals, that is, the target terminal may also send the TSN clock information directly to other terminals. For example, the target terminal may send the TSN clock information to other terminals via a direct communication sidelink.

在另一种可能的实现方式中,当目标终端将上述TSN时钟信息发送给UPF设备,由UPF设备将该TSN时钟信息发送给上述其它终端时,UPF可以将目标终端发送的上述TSN时钟信息直接发送给上述其它终端,或者,UPF也可以对目标终端发送的上述TSN时钟信息进行修正后,发送给上述其他终端。In another possible implementation, when the target terminal sends the above-mentioned TSN clock information to the UPF device, and the UPF device sends the TSN clock information to the above-mentioned other terminals, the UPF can directly send the above-mentioned TSN clock information sent by the target terminal to the above-mentioned other terminals, or the UPF can also modify the above-mentioned TSN clock information sent by the target terminal and send it to the above-mentioned other terminals.

步骤606,其它终端根据该TSN时钟信息与目标终端进行时钟同步。Step 606: Other terminals perform clock synchronization with the target terminal according to the TSN clock information.

在本申请实施例中,若终端未被选为作为master TSN clock node,则终端在接收到接收基站/UPF设备发送的TSN时钟信息后,根据该TSN时钟信息与基站/UPF设备以及目标终端进行时间同步。所述基站/UPF设备发送的时钟信息可以承载在以下信息至少之一:广播(如SIB9),专用RRC消息,专用DRB或特定QoS flow中。In an embodiment of the present application, if the terminal is not selected as a master TSN clock node, the terminal performs time synchronization with the base station/UPF device and the target terminal according to the TSN clock information after receiving the TSN clock information sent by the receiving base station/UPF device. The clock information sent by the base station/UPF device can be carried in at least one of the following information: broadcast (such as SIB9), dedicated RRC message, dedicated DRB or specific QoS flow.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

此外,本申请实施例中由网络侧节点设备确定作为master TSN clock node的目标终端的方案,网络侧可以有更多的信息确定选择一个合适的终端,保证了5G系统受控于网络的需求,同时保证系统TSN同步以及同步精度的需求。In addition, in the embodiment of the present application, the network side node device determines the solution of the target terminal as the master TSN clock node, and the network side can have more information to determine and select a suitable terminal, ensuring that the 5G system is controlled by the network requirements while ensuring the system TSN synchronization and synchronization accuracy requirements.

其中,上述第一节点也可以是通信系统中的终端侧节点设备,也就是说,由各个终端中的指定终端或者指定终端组来确定目标终端。The first node mentioned above may also be a terminal-side node device in the communication system, that is, the target terminal is determined by a designated terminal or a designated terminal group among the terminals.

请参考图7,其示出了本申请一个实施例提供的时钟信息同步方法的流程图,该方法可应用于图1所示的网络架构中,由图1中的第一节点和终端交互执行,该第一节点是终端侧节点设备,以第一节点是通信系统中的各个终端中的指定终端或者指定终端组为例,该方法可以包括如下几个步骤:Please refer to FIG. 7, which shows a flowchart of a clock information synchronization method provided by an embodiment of the present application. The method can be applied to the network architecture shown in FIG. 1, and is interactively executed by the first node and the terminal in FIG. 1. The first node is a terminal-side node device. Taking the first node as a designated terminal or a designated terminal group among the terminals in the communication system as an example, the method may include the following steps:

步骤701,第一节点获取通信系统中的各个终端的终端信息。Step 701: The first node obtains terminal information of each terminal in the communication system.

其中,当本申请实施例所示的方案由指定终端执行,即第一节点是指定终端时,该指定终端可以是:上述各个终端中第一个传输TSN业务的终端;或者,该各个终端中地理位置固定的终端;或者,该各个终端中由基站指示的终端;或者,该各个终端中由基站之外的网络侧设备确定的终端;或者,各个终端中建立或支持特定DRB或QoS flow的终端;或者,各个终端中具有指定的终端标识的终端。Among them, when the scheme shown in the embodiment of the present application is executed by a designated terminal, that is, the first node is the designated terminal, the designated terminal may be: the first terminal among the above-mentioned terminals that transmits TSN services; or, a terminal with a fixed geographical location among the terminals; or, a terminal indicated by a base station among the terminals; or, a terminal determined by a network-side device other than the base station among the terminals; or, a terminal among the terminals that establishes or supports a specific DRB or QoS flow; or, a terminal with a designated terminal identifier among the terminals.

可选的,其中,当本申请实施例所示的方案由指定终端组执行,即该第一节点是指定终端组时,该指定终端组为:该各个终端之间协商确定的终端组;或者,该各个终端中由基站指示的终端组;或者,该各个终端中由基站之外的网络侧设备确定的终端组。Optionally, when the scheme shown in the embodiment of the present application is executed by a designated terminal group, that is, the first node is the designated terminal group, the designated terminal group is: a terminal group determined by negotiation between the terminals; or, a terminal group among the terminals indicated by the base station; or, a terminal group among the terminals determined by a network side device other than the base station.

其中,该基站之外的网络侧设备可以是CNC、AMF设备或者SMF设备等等。Among them, the network side equipment other than the base station can be a CNC, an AMF device or an SMF device, etc.

步骤702,第一节点根据各个终端各自的终端信息,从各个终端中确定出目标终端。Step 702: The first node determines a target terminal from among the terminals according to the terminal information of each terminal.

其中,该目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端。The target terminal is a terminal that serves as a main time-sensitive network TSN clock node among various terminals in the communication system.

步骤703,第一节点向基站发送终端指示信息;相应的,基站接收该终端指示信息。Step 703: The first node sends terminal indication information to the base station; correspondingly, the base station receives the terminal indication information.

其中,该终端指示信息用于指示基站向目标终端发送主节点通知,主节点通知用于指示目标终端将TSN时钟信息同步给通信系统中除了目标终端之外的其它终端。The terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

其中,指定终端或者指定终端组确定目标终端的方式,与上述图6所示实施例中网络侧节点设备确定目标终端的方式类似,即根据各个终端的终端信息,从各个终端中确定出目标终端,此处不再赘述。Among them, the method of determining the target terminal by a specified terminal or a specified terminal group is similar to the method of determining the target terminal by the network side node device in the embodiment shown in Figure 6 above, that is, the target terminal is determined from each terminal based on the terminal information of each terminal, which will not be repeated here.

其中,上述各个终端的终端信息,可以由指定终端或者指定终端组从基站,核心网,CNC或者指定终端或者指定终端组之外的其它终端处获得。Among them, the terminal information of the above-mentioned terminals can be obtained by the designated terminal or the designated terminal group from the base station, the core network, the CNC or other terminals outside the designated terminal or the designated terminal group.

其中,该终端指示信息包括:The terminal indication information includes:

该目标终端的终端标识、该目标终端所在的服务小区标识、该目标终端所在的服务基站标识、该目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识以及该目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

可选的,第一节点还可以向CNC、AMF设备、SMF设备或者用户面功能UPF设备中的至少一个发送终端指示信息。Optionally, the first node may also send terminal indication information to at least one of the CNC, AMF device, SMF device or user plane function UPF device.

步骤704,基站向相关设备发送主节点通知,相应的,相关设备接收该主节点通知。Step 704: The base station sends a master node notification to the relevant device, and correspondingly, the relevant device receives the master node notification.

可选的,基站可以通过广播和/或专用RRC消息的方式,将该主节点通知发送给目标终端。Optionally, the base station may send the master node notification to the target terminal by means of broadcast and/or dedicated RRC message.

可选的,基站也可以通过NAS消息等,由非接入层(如AMF)通知给目标终端。Optionally, the base station may also notify the target terminal through a NAS message or the like through a non-access layer (such as AMF).

可选的,该基站可以将上述主节点通知发送给该基站或服务小区下的所有终端,或,该基站可以将上述主节点通知发送执行/支持TSN业务的终端。Optionally, the base station may send the master node notification to all terminals under the base station or the service cell, or the base station may send the master node notification to the terminals that execute/support TSN services.

可选的,基站还可以向CNC、AMF设备、SMF设备或者UPF设备中的至少一个发送上述终端指示信息。Optionally, the base station may also send the above-mentioned terminal indication information to at least one of the CNC, AMF device, SMF device or UPF device.

步骤705,目标终端生成TSN时钟信息。Step 705: The target terminal generates TSN clock information.

可选的,该TSN时钟信息包括:参考时间、不精确度、参考系统帧号reference SFN、时间信息类型time info Type以及TSN时钟域标识中的至少一种。Optionally, the TSN clock information includes: at least one of a reference time, an imprecision, a reference system frame number reference SFN, a time information type time info Type, and a TSN clock domain identifier.

可选的,该TSN时钟信息还包括:时延补偿指示信息,该时延补偿指示信息用于指示传播时延是否补偿。Optionally, the TSN clock information also includes: delay compensation indication information, where the delay compensation indication information is used to indicate whether propagation delay is compensated.

可选的,TSN时钟信息可以包括TSN时间(如到达时间,离开时间等),TSN时钟域标识,TSN类型至少之一。Optionally, the TSN clock information may include at least one of TSN time (such as arrival time, departure time, etc.), TSN clock domain identifier, and TSN type.

可选的,目标终端建立或利用建立的特定的DRB或特定的QoS flow,以支持该目标终端发送TSN时钟信息给基站。Optionally, the target terminal establishes or utilizes an established specific DRB or a specific QoS flow to support the target terminal to send TSN clock information to the base station.

可选的,目标终端在接收到基站发送的主节点通知后,确定自己被选为作为master TSN clock node,则目标终端即生成TSN时钟信息。Optionally, after receiving the master node notification sent by the base station, the target terminal determines that it is selected as the master TSN clock node, and then the target terminal generates TSN clock information.

步骤706,目标终端将TSN时钟信息同步给通信系统中除了目标终端之外的其它终端。Step 706: The target terminal synchronizes the TSN clock information to other terminals in the communication system except the target terminal.

可选的,目标终端可以将TSN时钟信息周期性的同步给所述其它终端;Optionally, the target terminal may periodically synchronize TSN clock information to the other terminals;

或者,or,

目标终端可以在检测到指定触发条件时,将TSN时钟信息同步给其它终端。The target terminal can synchronize TSN clock information to other terminals when a specified trigger condition is detected.

比如,以目标终端通过基站将TSN时钟信息同步给其它终端为例,目标终端向该基站发送TSN时钟信息,相应的,基站接收目标终端发送的该TSN时钟信息。之后,基站将该TSN时钟信息发送给该通信系统中,除了目标终端之外的其它终端,相应的,其它终端接收该TSN时钟信息。For example, taking the example of the target terminal synchronizing TSN clock information to other terminals through the base station, the target terminal sends TSN clock information to the base station, and correspondingly, the base station receives the TSN clock information sent by the target terminal. Afterwards, the base station sends the TSN clock information to other terminals in the communication system except the target terminal, and correspondingly, the other terminals receive the TSN clock information.

可选的,终端向该基站周期性发送TSN时钟信息,相应的,基站接收该目标终端周期性发送的该TSN时钟信息。Optionally, the terminal periodically sends TSN clock information to the base station, and correspondingly, the base station receives the TSN clock information periodically sent by the target terminal.

可选的,该TSN时钟信息包括:参考时间、不精确度、参考系统帧号reference SFN、时间信息类型time info Type以及TSN时钟域标识中的至少一种。Optionally, the TSN clock information includes: at least one of a reference time, an imprecision, a reference system frame number reference SFN, a time information type time info Type, and a TSN clock domain identifier.

可选的,该TSN时钟信息还包括:时延补偿指示信息,该时延补偿指示信息用于指示传播时延是否补偿。Optionally, the TSN clock information also includes: delay compensation indication information, where the delay compensation indication information is used to indicate whether propagation delay is compensated.

可选的,目标终端在接收到基站发送的主节点通知后,确定自己被选为作为master TSN clock node,则目标终端即向基站发送TSN时钟信息。可选的,首次发送的该TSN时钟信息,可以承载在专用RRC消息中。Optionally, after receiving the master node notification sent by the base station, the target terminal determines that it is selected as the master TSN clock node, and then the target terminal sends TSN clock information to the base station. Optionally, the TSN clock information sent for the first time can be carried in a dedicated RRC message.

目标终端在首次发送上述TSN时钟信息之后,还可以按照一定周期向基站发送更新的TSN时钟信息。可选的,该更新的TSN时钟信息,可以承载在专用RRC消息,MAC CE,或者物理层信令中的任意一种中。After sending the TSN clock information for the first time, the target terminal may also send updated TSN clock information to the base station at a certain period. Optionally, the updated TSN clock information may be carried in any one of a dedicated RRC message, MAC CE, or physical layer signaling.

可选的,TSN时钟信息可以包括TSN时间(如到达时间,离开时间等),TSN时钟域标识,TSN类型至少之一。Optionally, the TSN clock information may include at least one of TSN time (such as arrival time, departure time, etc.), TSN clock domain identifier, and TSN type.

目标终端建立或利用建立的特定的DRB或特定的QoS flow,以支持该目标终端发送TSN时钟信息给基站。利用该DRB或QoS flow,将首次,或,后续的TSN信息发送给网络。The target terminal establishes or utilizes a specific DRB or a specific QoS flow established to support the target terminal to send TSN clock information to the base station. The DRB or QoS flow is used to send the first or subsequent TSN information to the network.

可选的,上述更新的TSN时钟信息也可以由事件触发,比如,TSN时钟信息到达,或者TSN时钟信息更新,或者TSN时钟信息变更事件,或者TSN时钟信息变更粒度大于或等于门限事件等等。Optionally, the updated TSN clock information may also be triggered by an event, such as TSN clock information arrival, or TSN clock information update, or TSN clock information change event, or TSN clock information change granularity greater than or equal to a threshold event, etc.

可选的,在本申请实施例中,目标终端也可以向该各个终端中的其它终端发送主节点指示信息,该主节点指示信息,该主节点指示信息用于指示该终端是作为主时间敏感网络TSN时钟节点的终端。Optionally, in an embodiment of the present application, the target terminal may also send master node indication information to other terminals among the terminals, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node.

比如,目标终端可以通过直连通信sidelink向该各个终端中的其它终端发送主节点指示信息。For example, the target terminal may send the master node indication information to other terminals among the terminals through the direct communication sidelink.

可选的,当上述目标终端不是指定终端,或者不属于指定终端组时,上述其它终端可以包含上述指定终端或者指定终端组。Optionally, when the target terminal is not a designated terminal or does not belong to a designated terminal group, the other terminals may include the designated terminal or designated terminal group.

可选的,该基站可以通过广播(如SIB9)和/或专用RRC消息,将TSN时钟信息通知给通信系统中,除了目标终端之外的其它终端。相应的,其它终端可以通过广播(如SIB9)和/或专用RRC消息接收该TSN时钟信息。Optionally, the base station may notify other terminals in the communication system, except the target terminal, of the TSN clock information through broadcast (such as SIB9) and/or dedicated RRC messages. Accordingly, other terminals may receive the TSN clock information through broadcast (such as SIB9) and/or dedicated RRC messages.

可选的,基站通过专用DRB或特定QoS flow,将接受到的TSN时钟信息,发送给其他终端。Optionally, the base station sends the received TSN clock information to other terminals through a dedicated DRB or a specific QoS flow.

可选的,基站接收到该TSN时钟信息之后,还根据该TSN时钟信息与该目标终端进行TSN时钟同步。Optionally, after receiving the TSN clock information, the base station further performs TSN clock synchronization with the target terminal according to the TSN clock information.

在另一种可能的实现方式中,也可以由目标终端将上述TSN时钟信息直接发送给其它终端。比如,目标终端可以通过直连通信sidelink方式将上述TSN时钟信息发送给其它终端。In another possible implementation, the target terminal may directly send the TSN clock information to other terminals. For example, the target terminal may send the TSN clock information to other terminals via a sidelink direct communication.

在另一种可能的实现方式中,目标终端也可以将上述TSN时钟信息发送给UPF设备,由UPF设备将该TSN时钟信息发送给上述其它终端。相应的,UPF可以将目标终端发送的上述TSN时钟信息直接发送给上述其它终端,或者,UPF也可以对目标终端发送的上述TSN时钟信息进行修正后,发送给上述其他终端。In another possible implementation, the target terminal may also send the TSN clock information to the UPF device, and the UPF device may send the TSN clock information to the other terminals. Accordingly, the UPF may directly send the TSN clock information sent by the target terminal to the other terminals, or the UPF may modify the TSN clock information sent by the target terminal and send it to the other terminals.

步骤707,其它终端根据该TSN时钟信息与目标终端进行时钟同步。Step 707: other terminals perform clock synchronization with the target terminal according to the TSN clock information.

在本申请实施例中,若终端未被选为作为master TSN clock node,则终端在接收到接收基站发送的TSN时钟信息后,根据该TSN时钟信息与基站以及目标终端进行时间同步。所述基站发送的时钟信息可以承载在以下信息至少之一:广播(如SIB9),专用RRC消息,专用DRB或特定QoS flow中。In an embodiment of the present application, if the terminal is not selected as a master TSN clock node, the terminal performs time synchronization with the base station and the target terminal according to the TSN clock information after receiving the TSN clock information sent by the receiving base station. The clock information sent by the base station can be carried in at least one of the following information: broadcast (such as SIB9), dedicated RRC message, dedicated DRB or specific QoS flow.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

此外,本申请实施例中由指定终端/指定终端组确定作为master TSN clock node的目标终端的方案,可以提供更灵活、实时的master TSN clock node选择方式。In addition, in the embodiment of the present application, the solution of determining the target terminal as the master TSN clock node by the designated terminal/designated terminal group can provide a more flexible and real-time master TSN clock node selection method.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

请参考图8,其示出了本申请一个实施例提供的时钟信息同步装置的框图。该装置具有实现上述时钟信息同步方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的第一节点,也可以设置在第一节点中;该第一节点可以是网络侧节点设备。如图8所示,该装置可以包括:Please refer to Figure 8, which shows a block diagram of a clock information synchronization device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned clock information synchronization method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the first node introduced above, or it can be set in the first node; the first node can be a network side node device. As shown in Figure 8, the device may include:

终端信息获取模块801,用于获取所述通信系统中的各个终端的终端信息;The terminal information acquisition module 801 is used to acquire the terminal information of each terminal in the communication system;

目标终端确定模块802,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;A target terminal determination module 802 is used to determine a target terminal from the terminals according to the terminal information of each terminal, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

通知发送模块803,用于向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。The notification sending module 803 is used to send a master node notification to the target terminal, where the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

可选的,所述第一节点为基站、中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备。Optionally, the first node is a base station, a central control node CNC, an access and mobility management function AMF device, a session management function SMF device, or a user plane function UPF device.

可选的,所述通知发送模块803,用于当所述第一节点是CNC、AMF设备、SMF设备或者UPF设备时,向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送所述主节点通知。Optionally, the notification sending module 803 is used to send terminal indication information to the base station when the first node is a CNC, an AMF device, an SMF device or a UPF device, and the terminal indication information is used to instruct the base station to send the master node notification to the target terminal.

可选的,所述终端指示信息包括:Optionally, the terminal indication information includes:

所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

可选的,所述装置还包括:Optionally, the device further comprises:

时钟信息接收模块,用于当所述第一节点是基站或者UPF设备时,接收所述目标终端发送的所述TSN时钟信息;A clock information receiving module, used for receiving the TSN clock information sent by the target terminal when the first node is a base station or a UPF device;

时钟信息发送模块,用于将所述TSN时钟信息发送给所述通信系统中除了所述目标终端之外的其它终端。The clock information sending module is used to send the TSN clock information to other terminals in the communication system except the target terminal.

可选的,所述时钟信息接收模块,用于,Optionally, the clock information receiving module is used to:

接收所述目标终端周期性发送的所述TSN时钟信息;Receiving the TSN clock information periodically sent by the target terminal;

或者,or,

接收所述目标终端在检测到指定触发条件时发送的所述TSN时钟信息。The TSN clock information sent by the target terminal when a specified trigger condition is detected is received.

可选的,所述终端信息包括终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;Optionally, the terminal information includes at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information;

所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;The terminal capability information is used to indicate whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has at least one of the capabilities of being a master TSN clock node;

所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit;

所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification.

综上所述,本申请实施例所示的方案,第一节点根据各个终端的终端信息确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,以触发目标终端将TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines each terminal in the communication system or specific terminals as the target terminal of the main time-sensitive network TSN clock node based on the terminal information of each terminal, the master node notification is sent to the target terminal to trigger the target terminal to synchronize the TSN clock information to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal serves as the main TSN clock node.

请参考图9,其示出了本申请一个实施例提供的时钟信息同步装置的框图。该装置具有实现上述时钟信息同步方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的终端,也可以设置在终端中。如图9所示,该装置可以包括:Please refer to Figure 9, which shows a block diagram of a clock information synchronization device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned clock information synchronization method example, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be the terminal introduced above, or it can be set in the terminal. As shown in Figure 9, the device may include:

通知接收模块901,用于接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;The notification receiving module 901 is used to receive a master node notification sent by the first node, where the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

时钟信息同步模块902,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The clock information synchronization module 902 is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

可选的,所述时钟信息同步模块902,用于,Optionally, the clock information synchronization module 902 is used to:

将所述TSN时钟信息发送给基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to a base station or a user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal;

或者,or,

通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication.

可选的,所述装置还包括:Optionally, the device further comprises:

主节点指示模块,用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。The master node indication module is used to send master node indication information to the other terminals, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node.

可选的,所述时钟信息同步模块,用于,Optionally, the clock information synchronization module is used to:

将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals;

或者,or,

在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

请参考图10,其示出了本申请一个实施例提供的时钟信息同步装置的框图。该装置具有实现上述时钟信息同步方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的第一节点,也可以设置在第一节点中;该第一节点可以是终端侧节点设备。如图10所示,该装置可以包括:Please refer to Figure 10, which shows a block diagram of a clock information synchronization device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned clock information synchronization method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the first node introduced above, or it can be set in the first node; the first node can be a terminal side node device. As shown in Figure 10, the device may include:

终端信息获取模块1001,用于获取所述通信系统中的各个终端的终端信息;The terminal information acquisition module 1001 is used to acquire the terminal information of each terminal in the communication system;

目标终端确定模块1002,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;A target terminal determination module 1002 is used to determine a target terminal from the terminals according to the terminal information of each terminal, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

指示信息发送模块1003,用于向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。The indication information sending module 1003 is used to send terminal indication information to the base station, and the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

可选的,当所述第一节点是指定终端时,所述指定终端为:Optionally, when the first node is a designated terminal, the designated terminal is:

所述各个终端中第一个传输TSN业务的终端;A first terminal among the terminals that transmits a TSN service;

或者,所述各个终端中地理位置固定的终端;Or, a terminal with a fixed geographical location among the terminals;

或者,所述各个终端中由基站指示的终端;Or, a terminal indicated by a base station among the terminals;

或者,所述各个终端中由基站之外的网络侧设备确定的终端;Or, a terminal among the terminals determined by a network-side device other than a base station;

或者,所述各个终端中建立或支持特定DRB或QoS flow的终端;Alternatively, a terminal among the terminals that establishes or supports a specific DRB or QoS flow;

或者,所述各个终端中具有指定的终端标识的终端。Alternatively, a terminal having a designated terminal identifier among the terminals.

可选的,当所述第一节点是指定终端组时,所述指定终端组为:Optionally, when the first node is a designated terminal group, the designated terminal group is:

所述各个终端之间协商确定的终端组;A terminal group determined by negotiation between the terminals;

或者,所述各个终端中由基站指示的终端组;Or, a terminal group indicated by the base station among the terminals;

或者,所述各个终端中由基站之外的网络侧设备确定的终端组。Alternatively, the terminal group among the terminals is determined by a network side device other than the base station.

可选的,所述指示信息发送模块1003,还用于,Optionally, the indication information sending module 1003 is further used to:

向CNC、AMF设备、SMF设备或者用户面功能UPF设备中的至少一个发送所述终端指示信息。The terminal indication information is sent to at least one of the CNC, AMF device, SMF device or user plane function UPF device.

可选的,所述终端指示信息包括:Optionally, the terminal indication information includes:

所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

可选的,所述终端信息包括终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;Optionally, the terminal information includes at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information;

所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;The terminal capability information is used to indicate whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has at least one of the capabilities of being a master TSN clock node;

所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit;

所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification.

综上所述,本申请实施例所示的方案,第一节点根据各个终端的终端信息确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,以触发目标终端将TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines each terminal in the communication system or specific terminals as the target terminal of the main time-sensitive network TSN clock node based on the terminal information of each terminal, the master node notification is sent to the target terminal to trigger the target terminal to synchronize the TSN clock information to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal serves as the main TSN clock node.

请参考图11,其示出了本申请一个实施例提供的时钟信息同步装置的框图。该装置具有实现上述时钟信息同步方法示例的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的终端,也可以设置在终端中。如图11所示,该装置可以包括:Please refer to Figure 11, which shows a block diagram of a clock information synchronization device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned clock information synchronization method example, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be the terminal introduced above, or it can be set in the terminal. As shown in Figure 11, the device may include:

通知接收模块1101,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;The notification receiving module 1101 is used to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

时钟信息同步模块1102,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The clock information synchronization module 1102 is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

可选的,所述时钟信息同步模块1102,用于,Optionally, the clock information synchronization module 1102 is used to:

将所述TSN时钟信息发送给所述基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to the base station or the user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal;

或者,or,

通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication.

可选的,所述装置还包括:Optionally, the device further comprises:

主节点指示模块,用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。The master node indication module is used to send master node indication information to the other terminals, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node.

可选的,所述时钟信息同步模块1102,用于,Optionally, the clock information synchronization module 1102 is used to:

将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals;

或者,or,

在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals.

综上所述,本申请实施例所示的方案,第一节点在确定通信系统中的各个终端或特定的各个终端中,作为主时间敏感网络TSN时钟节点的目标终端时,向目标终端发送主节点通知,目标终端响应于接收到该主节点通知,将终端的TSN时钟信息同步给通信系统中,除了目标终端之外的其它终端或其他相关终端,从而实现在由终端作为主TSN时钟节点的场景下的TSN时钟同步。To summarize, in the scheme shown in the embodiment of the present application, when the first node determines that each terminal or specific terminals in the communication system are the target terminals of the main time-sensitive network TSN clock node, the first node sends a master node notification to the target terminal. In response to receiving the master node notification, the target terminal synchronizes the TSN clock information of the terminal to other terminals or other related terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in the scenario where the terminal is used as the main TSN clock node.

需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。One point that needs to be explained is that, when the device provided in the above embodiment realizes its function, it only uses the division of the above-mentioned functional modules as an example. In actual application, the above-mentioned functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

请参考图12,其示出了本申请一个实施例提供的终端120的结构示意图。该终端120可以包括:处理器121、接收器122、发射器123、存储器124和总线125。Please refer to FIG12 , which shows a schematic diagram of the structure of a terminal 120 provided in an embodiment of the present application. The terminal 120 may include: a processor 121 , a receiver 122 , a transmitter 123 , a memory 124 and a bus 125 .

处理器121包括一个或者一个以上处理核心,处理器121通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 121 includes one or more processing cores. The processor 121 executes various functional applications and information processing by running software programs and modules.

接收器122和发射器123可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 122 and the transmitter 123 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

存储器124通过总线125与处理器121相连。The memory 124 is connected to the processor 121 via a bus 125 .

存储器124可用于存储计算机程序,处理器121用于执行该计算机程序,以实现上述方法实施例中的终端执行的各个步骤。The memory 124 may be used to store a computer program, and the processor 121 may be used to execute the computer program to implement each step performed by the terminal in the above method embodiment.

此外,存储器124可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编程只读存储器(PROM)。In addition, the memory 124 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).

在示例性实施例中,所述终端包括处理器、存储器和收发器(该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息);In an exemplary embodiment, the terminal includes a processor, a memory, and a transceiver (the transceiver may include a receiver and a transmitter, the receiver is used to receive information, and the transmitter is used to send information);

所述收发器,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;The transceiver is used to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

所述收发器,还用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The transceiver is further used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

在一种可能的实现方式中,在将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端时,所述收发器,用于,In a possible implementation, when synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal, the transceiver is used to:

将所述TSN时钟信息发送给基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to a base station or a user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal;

或者,or,

通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication.

在一种可能的实现方式中,所述收发器,还用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。In a possible implementation, the transceiver is further used to send master node indication information to the other terminal, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node.

在一种可能的实现方式中,在将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端时,所述收发器,用于,In a possible implementation, when synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal, the transceiver is used to:

将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals;

或者,or,

在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals.

请参考图13,其示出了本申请一个实施例提供的第一节点130的结构示意图,该第一节点是通信系统中的网络侧节点设备。该基站130可以包括:处理器131、接收器132、发射器133、存储器134和总线135。Please refer to Figure 13, which shows a schematic diagram of the structure of a first node 130 provided in an embodiment of the present application, the first node is a network-side node device in a communication system. The base station 130 may include: a processor 131, a receiver 132, a transmitter 133, a memory 134 and a bus 135.

处理器131包括一个或者一个以上处理核心,处理器131通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 131 includes one or more processing cores. The processor 131 executes various functional applications and information processing by running software programs and modules.

接收器132和发射器133可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 132 and the transmitter 133 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

存储器134通过总线135与处理器131相连。The memory 134 is connected to the processor 131 via a bus 135 .

存储器134可用于存储计算机程序,处理器131用于执行该计算机程序,以实现上述方法实施例中的基站执行的各个步骤。The memory 134 may be used to store a computer program, and the processor 131 may be used to execute the computer program to implement each step performed by the base station in the above method embodiment.

此外,存储器134可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编程只读存储器(PROM)。In addition, the memory 134 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).

在示例性实施例中,所述基站包括处理器、存储器和收发器(该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息);In an exemplary embodiment, the base station includes a processor, a memory, and a transceiver (the transceiver may include a receiver and a transmitter, the receiver is used to receive information, and the transmitter is used to send information);

所述处理器,用于获取所述通信系统中的各个终端的终端信息;The processor is used to obtain terminal information of each terminal in the communication system;

所述处理器,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;The processor is configured to determine a target terminal from the terminals according to the terminal information of each terminal, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

所述收发器,用于向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。The transceiver is used to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

在一种可能的实现方式中,所述第一节点为基站、中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备。In a possible implementation, the first node is a base station, a central control node CNC, an access and mobility management function AMF device, a session management function SMF device, or a user plane function UPF device.

在一种可能的实现方式中,当所述第一节点是CNC、AMF设备、SMF设备或者UPF设备时,所述收发器,用于,In a possible implementation, when the first node is a CNC, an AMF device, an SMF device, or a UPF device, the transceiver is used to:

向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送所述主节点通知。Send terminal indication information to a base station, where the terminal indication information is used to instruct the base station to send the master node notification to the target terminal.

在一种可能的实现方式中,所述终端指示信息包括:In a possible implementation manner, the terminal indication information includes:

所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

在一种可能的实现方式中,当所述第一节点是基站或者UPF设备时,所述收发器,还用于,In a possible implementation manner, when the first node is a base station or a UPF device, the transceiver is further configured to:

接收所述目标终端发送的所述TSN时钟信息;Receiving the TSN clock information sent by the target terminal;

将所述TSN时钟信息发送给所述通信系统中除了所述目标终端之外的其它终端。The TSN clock information is sent to other terminals in the communication system except the target terminal.

在一种可能的实现方式中,所述收发器,用于,In a possible implementation, the transceiver is used to:

接收所述目标终端周期性发送的所述TSN时钟信息;Receiving the TSN clock information periodically sent by the target terminal;

或者,or,

接收所述目标终端在检测到指定触发条件时发送的所述TSN时钟信息。The TSN clock information sent by the target terminal when a specified trigger condition is detected is received.

在一种可能的实现方式中,所述终端信息包括终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;In a possible implementation manner, the terminal information includes at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information;

所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;The terminal capability information is used to indicate whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has at least one of the capabilities of being a master TSN clock node;

所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit;

所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification.

请参考图14,其示出了本申请一个实施例提供的终端140的结构示意图。该终端140可以包括:处理器141、接收器142、发射器143、存储器144和总线145。Please refer to FIG14 , which shows a schematic diagram of the structure of a terminal 140 provided in an embodiment of the present application. The terminal 140 may include: a processor 141 , a receiver 142 , a transmitter 143 , a memory 144 and a bus 145 .

处理器141包括一个或者一个以上处理核心,处理器141通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 141 includes one or more processing cores. The processor 141 executes various functional applications and information processing by running software programs and modules.

接收器142和发射器143可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 142 and the transmitter 143 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

存储器144通过总线145与处理器141相连。The memory 144 is connected to the processor 141 via a bus 145 .

存储器144可用于存储计算机程序,处理器141用于执行该计算机程序,以实现上述方法实施例中的终端执行的各个步骤。The memory 144 may be used to store a computer program, and the processor 141 may be used to execute the computer program to implement each step executed by the terminal in the above method embodiment.

此外,存储器144可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编程只读存储器(PROM)。In addition, the memory 144 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).

在示例性实施例中,所述终端包括处理器、存储器和收发器(该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息);In an exemplary embodiment, the terminal includes a processor, a memory, and a transceiver (the transceiver may include a receiver and a transmitter, the receiver is used to receive information, and the transmitter is used to send information);

所述收发器,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;The transceiver is used to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system;

所述收发器,还用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端。The transceiver is further used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal.

在一种可能的实现方式中,在将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端时,所述收发器,用于,In a possible implementation, when synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal, the transceiver is used to:

将所述TSN时钟信息发送给基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to a base station or a user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal;

或者,or,

通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication.

在一种可能的实现方式中,所述收发器,还用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。In a possible implementation, the transceiver is further used to send master node indication information to the other terminal, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node.

在一种可能的实现方式中,在将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端时,所述收发器,用于,In a possible implementation, when synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal, the transceiver is used to:

将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals;

或者,or,

在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals.

请参考图15,其示出了本申请一个实施例提供的第一节点150的结构示意图,该第一节点是通信系统中的网络侧节点设备。该基站150可以包括:处理器151、接收器152、发射器153、存储器154和总线155。Please refer to Figure 15, which shows a schematic diagram of the structure of a first node 150 provided in an embodiment of the present application, the first node is a network-side node device in a communication system. The base station 150 may include: a processor 151, a receiver 152, a transmitter 153, a memory 154 and a bus 155.

处理器151包括一个或者一个以上处理核心,处理器151通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 151 includes one or more processing cores. The processor 151 executes various functional applications and information processing by running software programs and modules.

接收器152和发射器153可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 152 and the transmitter 153 may be implemented as a communication component, which may be a communication chip, which may also be called a transceiver.

存储器154通过总线155与处理器151相连。The memory 154 is connected to the processor 151 via a bus 155 .

存储器154可用于存储计算机程序,处理器151用于执行该计算机程序,以实现上述方法实施例中的基站执行的各个步骤。The memory 154 may be used to store a computer program, and the processor 151 may be used to execute the computer program to implement each step performed by the base station in the above method embodiment.

此外,存储器154可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),静态随时存取存储器(SRAM),只读存储器(ROM),磁存储器,快闪存储器,可编程只读存储器(PROM)。In addition, the memory 154 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, and the volatile or non-volatile storage device includes but is not limited to: a magnetic disk or an optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic memory, a flash memory, and a programmable read-only memory (PROM).

在示例性实施例中,所述基站包括处理器、存储器和收发器(该收发器可以包括接收器和发射器,接收器用于接收信息,发射器用于发送信息);In an exemplary embodiment, the base station includes a processor, a memory, and a transceiver (the transceiver may include a receiver and a transmitter, the receiver is used to receive information, and the transmitter is used to send information);

所述处理器,用于获取所述通信系统中的各个终端的终端信息;The processor is used to obtain terminal information of each terminal in the communication system;

所述处理器,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主时间敏感网络TSN时钟节点的终端;The processor is configured to determine a target terminal from the terminals according to the terminal information of each terminal, wherein the target terminal is a terminal serving as a master time-sensitive network TSN clock node;

所述收发器,用于向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。The transceiver is used to send terminal indication information to the base station, and the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal.

在一种可能的实现方式中,当所述第一节点是指定终端时,所述指定终端为:In a possible implementation manner, when the first node is a designated terminal, the designated terminal is:

所述各个终端中第一个传输TSN业务的终端;A first terminal among the terminals that transmits a TSN service;

或者,所述各个终端中地理位置固定的终端;Or, a terminal with a fixed geographical location among the terminals;

或者,所述各个终端中由基站指示的终端;Or, a terminal indicated by a base station among the terminals;

或者,所述各个终端中由基站之外的网络侧设备确定的终端;Or, a terminal among the terminals determined by a network-side device other than a base station;

或者,所述各个终端中建立或支持特定DRB或QoS flow的终端;Alternatively, a terminal among the terminals that establishes or supports a specific DRB or QoS flow;

或者,所述各个终端中具有指定的终端标识的终端。Alternatively, a terminal having a designated terminal identifier among the terminals.

在一种可能的实现方式中,当所述第一节点是指定终端组时,所述指定终端组为:In a possible implementation manner, when the first node is a designated terminal group, the designated terminal group is:

所述各个终端之间协商确定的终端组;A terminal group determined by negotiation among the terminals;

或者,所述各个终端中由基站指示的终端组;Or, a terminal group indicated by the base station among the terminals;

或者,所述各个终端中由基站之外的网络侧设备确定的终端组。Alternatively, the terminal group among the terminals is determined by a network side device other than the base station.

在一种可能的实现方式中,所述收发器,还用于向CNC、AMF设备、SMF设备或者用户面功能UPF设备中的至少一个发送所述终端指示信息。In a possible implementation, the transceiver is also used to send the terminal indication information to at least one of the CNC, AMF device, SMF device or user plane function UPF device.

在一种可能的实现方式中,所述终端指示信息包括:In a possible implementation manner, the terminal indication information includes:

所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal.

在一种可能的实现方式中,所述终端信息包括终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;In a possible implementation manner, the terminal information includes at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information;

所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;The terminal capability information is used to indicate whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has at least one of the capabilities of being a master TSN clock node;

所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit;

所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification.

本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述时钟信息同步方法。An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned clock information synchronization method.

本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述时钟信息同步方法。An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned clock information synchronization method.

本申请还提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得终端执行上述时钟信息同步方法。The present application also provides a computer program product. When the computer program product is run on a terminal, the terminal executes the above-mentioned clock information synchronization method.

本申请还提供了一种计算机程序产品,当计算机程序产品在基站上运行时,使得基站执行上述时钟信息同步方法。The present application also provides a computer program product. When the computer program product runs on a base station, the base station executes the above-mentioned clock information synchronization method.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims (47)

1.一种时钟信息同步方法,其特征在于,所述方法由第一节点执行,所述第一节点是通信系统中的网络侧节点设备,所述方法包括:1. A clock information synchronization method, characterized in that the method is performed by a first node, the first node is a network-side node device in a communication system, and the method comprises: 获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;Acquire terminal information of each terminal in the communication system, wherein the terminal information includes at least one of terminal capability information, time-sensitive network (TSN) service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information; 根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据预设的筛选顺序基于所述终端能力信息、所述TSN业务信息、所述小区覆盖信息、所述终端移动信息、所述终端位置信息以及所述终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;According to the terminal information of each terminal, a target terminal is determined from the terminals, the target terminal being a terminal serving as a master TSN clock node, specifically: determining a terminal that meets the conditions as the target terminal based on at least one of the terminal capability information, the TSN service information, the cell coverage information, the terminal mobility information, the terminal location information, and the terminal identification information according to a preset screening order; 向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。A master node notification is sent to the target terminal, where the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal, thereby realizing TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 2.根据权利要求1所述的方法,其特征在于,所述第一节点为基站、中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备。2. The method according to claim 1 is characterized in that the first node is a base station, a central control node CNC, an access and mobility management function AMF device, a session management function SMF device or a user plane function UPF device. 3.根据权利要求2所述的方法,其特征在于,当所述第一节点是CNC、AMF设备、SMF设备或者UPF设备时,所述向所述目标终端发送主节点通知,包括:3. The method according to claim 2, characterized in that when the first node is a CNC, an AMF device, an SMF device or a UPF device, the sending of a master node notification to the target terminal comprises: 向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送所述主节点通知。Send terminal indication information to a base station, where the terminal indication information is used to instruct the base station to send the master node notification to the target terminal. 4.根据权利要求3所述的方法,其特征在于,所述终端指示信息包括:4. The method according to claim 3, wherein the terminal indication information comprises: 所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的数据无线承载DRB标识、建立或将建立传输TSN时钟信息的服务质量流QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the data radio bearer DRB identifier that establishes or will establish the transmission of TSN clock information, the service quality flow QoS flow identifier that establishes or will establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal. 5.根据权利要求2所述的方法,其特征在于,当所述第一节点是基站或者UPF设备时,所述方法还包括:5. The method according to claim 2, characterized in that when the first node is a base station or a UPF device, the method further comprises: 接收所述目标终端发送的所述TSN时钟信息;Receiving the TSN clock information sent by the target terminal; 将所述TSN时钟信息发送给所述通信系统中除了所述目标终端之外的其它终端。The TSN clock information is sent to other terminals in the communication system except the target terminal. 6.根据权利要求5所述的方法,其特征在于,所述接收所述目标终端发送的所述TSN时钟信息,包括:6. The method according to claim 5, characterized in that the receiving the TSN clock information sent by the target terminal comprises: 接收所述目标终端周期性发送的所述TSN时钟信息;Receiving the TSN clock information periodically sent by the target terminal; 或者,or, 接收所述目标终端在检测到指定触发条件时发送的所述TSN时钟信息。The TSN clock information sent by the target terminal when a specified trigger condition is detected is received. 7.根据权利要求1至6任一所述的方法,其特征在于,所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;7. The method according to any one of claims 1 to 6, characterized in that the terminal capability information is used to indicate at least one of whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has the capability of being a master TSN clock node; 所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit; 所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification. 8.一种时钟信息同步方法,其特征在于,所述方法由终端执行,所述方法包括:8. A clock information synchronization method, characterized in that the method is executed by a terminal, and the method comprises: 接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;receiving a master node notification sent by a first node, wherein the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in a communication system; the first node determines the target terminal according to the following method: determining a terminal that meets the conditions as the target terminal based on at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information according to a preset screening order; 将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The TSN clock information of the terminal is synchronized to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 9.根据权利要求8所述的方法,其特征在于,所述将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,包括:9. The method according to claim 8, characterized in that synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal comprises: 将所述TSN时钟信息发送给基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to a base station or a user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal; 或者,or, 通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication. 10.根据权利要求8所述的方法,其特征在于,所述方法还包括:10. The method according to claim 8, characterized in that the method further comprises: 向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。Sending master node indication information to the other terminal, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node. 11.根据权利要求8所述的方法,其特征在于,所述将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,包括:11. The method according to claim 8, characterized in that synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal comprises: 将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals; 或者,or, 在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals. 12.一种时钟信息同步方法,其特征在于,所述方法由第一节点执行,所述第一节点是通信系统中的终端侧节点设备,所述方法包括:12. A clock information synchronization method, characterized in that the method is performed by a first node, the first node is a terminal side node device in a communication system, and the method comprises: 获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;Acquire terminal information of each terminal in the communication system, wherein the terminal information includes at least one of terminal capability information, time-sensitive network (TSN) service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information; 根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据所述终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合;从所述第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合;从所述第二终端集合中确定出一个终端作为所述目标终端;According to the terminal information of each terminal, a target terminal is determined from the terminals, and the target terminal is a terminal that serves as a master TSN clock node. Specifically: a first terminal set that supports high-precision clocks and has the ability to serve as a master TSN clock node is screened out according to the terminal capability information; a second terminal set that supports TSN services and/or whose service characteristics of TSN services meet specified characteristics is screened out from the first terminal set; and a terminal is determined from the second terminal set as the target terminal; 向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。Send terminal indication information to the base station, wherein the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize the TSN clock information to other terminals in the communication system except the target terminal, so as to realize TSN clock synchronization in the scenario where the target terminal serves as the master TSN clock node. 13.根据权利要求12所述的方法,其特征在于,当所述第一节点是指定终端时,所述指定终端为:13. The method according to claim 12, wherein when the first node is a designated terminal, the designated terminal is: 所述各个终端中第一个传输TSN业务的终端;A first terminal among the terminals that transmits a TSN service; 或者,所述各个终端中地理位置固定的终端;Or, a terminal with a fixed geographical location among the terminals; 或者,所述各个终端中由基站指示的终端;Or, a terminal indicated by a base station among the terminals; 或者,所述各个终端中由基站之外的网络侧设备确定的终端;Or, a terminal among the terminals determined by a network-side device other than a base station; 或者,所述各个终端中建立或支持特定数据无线承载DRB或服务质量流QoS flow的终端;Or, a terminal that establishes or supports a specific data radio bearer DRB or a quality of service flow QoS flow among the terminals; 或者,所述各个终端中具有指定的终端标识的终端。Alternatively, a terminal having a designated terminal identifier among the terminals. 14.根据权利要求12所述的方法,其特征在于,当所述第一节点是指定终端组时,所述指定终端组为:14. The method according to claim 12, characterized in that when the first node is a designated terminal group, the designated terminal group is: 所述各个终端之间协商确定的终端组;A terminal group determined by negotiation among the terminals; 或者,所述各个终端中由基站指示的终端组;Or, a terminal group indicated by the base station among the terminals; 或者,所述各个终端中由基站之外的网络侧设备确定的终端组。Alternatively, the terminal group among the terminals is determined by a network side device other than the base station. 15.根据权利要求12所述的方法,其特征在于,所述方法还包括:15. The method according to claim 12, characterized in that the method further comprises: 向中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备中的至少一个发送所述终端指示信息。The terminal indication information is sent to at least one of the central control node CNC, the access and mobility management function AMF device, the session management function SMF device or the user plane function UPF device. 16.根据权利要求12所述的方法,其特征在于,所述终端指示信息包括:16. The method according to claim 12, wherein the terminal indication information comprises: 所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal. 17.根据权利要求12至16任一所述的方法,其特征在于,所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;17. The method according to any one of claims 12 to 16, characterized in that the terminal capability information is used to indicate at least one of whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has the capability of being a master TSN clock node; 所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit; 所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification. 18.一种时钟信息同步方法,其特征在于,所述方法由终端执行,所述方法包括:18. A clock information synchronization method, characterized in that the method is executed by a terminal, and the method comprises: 接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于所述终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;Receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system; the first node determines the target terminal according to the following method: determine a terminal that meets the conditions as the target terminal based on at least one of the terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information according to a preset screening order; 将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The TSN clock information of the terminal is synchronized to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 19.根据权利要求18所述的方法,其特征在于,所述将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,包括:19. The method according to claim 18, characterized in that synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal comprises: 将所述TSN时钟信息发送给所述基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to the base station or the user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal; 或者,or, 通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication. 20.根据权利要求18所述的方法,其特征在于,所述方法还包括:20. The method according to claim 18, characterized in that the method further comprises: 向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。Sending master node indication information to the other terminal, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node. 21.根据权利要求18所述的方法,其特征在于,所述将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,包括:21. The method according to claim 18, characterized in that synchronizing the TSN clock information of the terminal to other terminals in the communication system except the terminal comprises: 将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals; 或者,or, 在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals. 22.一种时钟信息同步装置,其特征在于,所述装置用于第一节点中,所述第一节点是通信系统中的网络侧的节点,所述装置包括:22. A clock information synchronization device, characterized in that the device is used in a first node, the first node is a node on the network side of a communication system, and the device comprises: 终端信息获取模块,用于获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;A terminal information acquisition module, used to acquire terminal information of each terminal in the communication system, wherein the terminal information includes at least one of terminal capability information, time-sensitive network TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information; 目标终端确定模块,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据所述终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合;从所述第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合;从所述第二终端集合中确定出一个终端作为所述目标终端;The target terminal determination module is used to determine the target terminal from the terminals according to the terminal information of each terminal, and the target terminal is a terminal that serves as a master TSN clock node. Specifically: a first terminal set that supports high-precision clocks and has the ability to serve as a master TSN clock node is screened out according to the terminal capability information; a second terminal set that supports TSN services and/or whose service characteristics of TSN services meet specified characteristics is screened out from the first terminal set; and a terminal is determined from the second terminal set as the target terminal; 通知发送模块,用于向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端。A notification sending module is used to send a master node notification to the target terminal, wherein the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal. 23.根据权利要求22所述的装置,其特征在于,所述第一节点为基站、中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备。23. The device according to claim 22 is characterized in that the first node is a base station, a central control node CNC, an access and mobility management function AMF device, a session management function SMF device or a user plane function UPF device. 24.根据权利要求23所述的装置,其特征在于,24. The device according to claim 23, characterized in that 所述通知发送模块,用于当所述第一节点是CNC、AMF设备、SMF设备或者UPF设备时,向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送所述主节点通知。The notification sending module is used to send terminal indication information to the base station when the first node is a CNC, an AMF device, an SMF device or a UPF device, and the terminal indication information is used to instruct the base station to send the master node notification to the target terminal. 25.根据权利要求24所述的装置,其特征在于,所述终端指示信息包括:25. The device according to claim 24, wherein the terminal indication information comprises: 所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的数据无线承载DRB标识、建立或将建立传输TSN时钟信息的服务质量流QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the data radio bearer DRB identifier that establishes or will establish the transmission of TSN clock information, the service quality flow QoS flow identifier that establishes or will establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal. 26.根据权利要求23所述的装置,其特征在于,所述装置还包括:26. The device according to claim 23, characterized in that the device further comprises: 时钟信息接收模块,用于当所述第一节点是基站或者UPF设备时,接收所述目标终端发送的所述TSN时钟信息;A clock information receiving module, used for receiving the TSN clock information sent by the target terminal when the first node is a base station or a UPF device; 时钟信息发送模块,用于将所述TSN时钟信息发送给所述通信系统中除了所述目标终端之外的其它终端。The clock information sending module is used to send the TSN clock information to other terminals in the communication system except the target terminal. 27.根据权利要求26所述的装置,其特征在于,所述时钟信息接收模块,用于,27. The device according to claim 26, characterized in that the clock information receiving module is used to: 接收所述目标终端周期性发送的所述TSN时钟信息;Receiving the TSN clock information periodically sent by the target terminal; 或者,or, 接收所述目标终端在检测到指定触发条件时发送的所述TSN时钟信息。The TSN clock information sent by the target terminal when a specified trigger condition is detected is received. 28.根据权利要求22至27任一所述的装置,其特征在于,所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;28. The device according to any one of claims 22 to 27, characterized in that the terminal capability information is used to indicate at least one of whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has the capability of being a master TSN clock node; 所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者服务质量流QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or a quality of service flow QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit; 所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification. 29.一种时钟信息同步装置,其特征在于,所述装置用于终端中,所述装置包括:29. A clock information synchronization device, characterized in that the device is used in a terminal, and the device comprises: 通知接收模块,用于接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;A notification receiving module, configured to receive a master node notification sent by a first node, wherein the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in a communication system; the first node determines the target terminal according to the following method: determining a terminal that meets the conditions as the target terminal based on at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information according to a preset screening order; 时钟信息同步模块,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The clock information synchronization module is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in the scenario where the target terminal serves as the main TSN clock node. 30.根据权利要求29所述的装置,其特征在于,所述时钟信息同步模块,用于,30. The device according to claim 29, characterized in that the clock information synchronization module is used to: 将所述TSN时钟信息发送给基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to a base station or a user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal; 或者,or, 通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication. 31.根据权利要求29所述的装置,其特征在于,所述装置还包括:31. The device according to claim 29, characterized in that the device further comprises: 主节点指示模块,用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。The master node indication module is used to send master node indication information to the other terminals, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node. 32.根据权利要求29所述的装置,其特征在于,所述时钟信息同步模块,用于,32. The device according to claim 29, characterized in that the clock information synchronization module is used to: 将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals; 或者,or, 在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals. 33.一种时钟信息同步装置,其特征在于,所述装置用于第一节点中,所述第一节点是通信系统中的终端侧节点设备,所述装置包括:33. A clock information synchronization device, characterized in that the device is used in a first node, the first node is a terminal side node device in a communication system, and the device comprises: 终端信息获取模块,用于获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;A terminal information acquisition module, used to acquire terminal information of each terminal in the communication system, wherein the terminal information includes at least one of terminal capability information, time-sensitive network TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information; 目标终端确定模块,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据所述终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合;从所述第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合;从所述第二终端集合中确定出一个终端作为所述目标终端;The target terminal determination module is used to determine the target terminal from the terminals according to the terminal information of each terminal, and the target terminal is a terminal that serves as a master TSN clock node. Specifically: a first terminal set that supports high-precision clocks and has the ability to serve as a master TSN clock node is screened out according to the terminal capability information; a second terminal set that supports TSN services and/or whose service characteristics of TSN services meet specified characteristics is screened out from the first terminal set; and a terminal is determined from the second terminal set as the target terminal; 指示信息发送模块,用于向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。An indication information sending module is used to send terminal indication information to a base station, wherein the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal, so as to realize TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 34.根据权利要求33所述的装置,其特征在于,当所述第一节点是指定终端时,所述指定终端为:34. The apparatus according to claim 33, wherein when the first node is a designated terminal, the designated terminal is: 所述各个终端中第一个传输TSN业务的终端;A first terminal among the terminals that transmits a TSN service; 或者,所述各个终端中地理位置固定的终端;Or, a terminal with a fixed geographical location among the terminals; 或者,所述各个终端中由基站指示的终端;Or, a terminal indicated by a base station among the terminals; 或者,所述各个终端中由基站之外的网络侧设备确定的终端;Or, a terminal among the terminals determined by a network-side device other than a base station; 或者,所述各个终端中建立或支持特定数据无线承载DRB或服务质量流QoS flow的终端;Or, a terminal that establishes or supports a specific data radio bearer DRB or a quality of service flow QoS flow among the terminals; 或者,所述各个终端中具有指定的终端标识的终端。Alternatively, a terminal having a designated terminal identifier among the terminals. 35.根据权利要求33所述的装置,其特征在于,当所述第一节点是指定终端组时,所述指定终端组为:35. The device according to claim 33, characterized in that when the first node is a designated terminal group, the designated terminal group is: 所述各个终端之间协商确定的终端组;A terminal group determined by negotiation among the terminals; 或者,所述各个终端中由基站指示的终端组;Or, a terminal group indicated by the base station among the terminals; 或者,所述各个终端中由基站之外的网络侧设备确定的终端组。Alternatively, the terminal group among the terminals is determined by a network side device other than the base station. 36.根据权利要求33所述的装置,其特征在于,所述指示信息发送模块,还用于,36. The device according to claim 33, characterized in that the indication information sending module is further used to: 向中心控制节点CNC、接入和移动性管理功能AMF设备、会话管理功能SMF设备或者用户面功能UPF设备中的至少一个发送所述终端指示信息。The terminal indication information is sent to at least one of the central control node CNC, the access and mobility management function AMF device, the session management function SMF device or the user plane function UPF device. 37.根据权利要求33所述的装置,其特征在于,所述终端指示信息包括:37. The device according to claim 33, wherein the terminal indication information comprises: 所述目标终端的终端标识、所述目标终端所在的服务小区标识,所述目标终端所在的服务基站标识、所述目标终端的TSN时钟域标识、建立或将建立传输TSN时钟信息的DRB标识、建立或将建立传输TSN时钟信息的QoS flow标识、以及所述目标终端的TSN业务标识中的至少一项。The terminal identifier of the target terminal, the service cell identifier of the target terminal, the service base station identifier of the target terminal, the TSN clock domain identifier of the target terminal, the DRB identifier for establishing or to establish the transmission of TSN clock information, the QoS flow identifier for establishing or to establish the transmission of TSN clock information, and at least one of the TSN service identifier of the target terminal. 38.根据权利要求33至37任一所述的装置,其特征在于,所述终端能力信息用于指示对应的终端是否支持高精度时钟,对应的终端是否具备作为主TSN时钟节点的能力中的至少一种;38. The device according to any one of claims 33 to 37, characterized in that the terminal capability information is used to indicate at least one of whether the corresponding terminal supports a high-precision clock and whether the corresponding terminal has the capability of being a master TSN clock node; 所述TSN业务信息用于指示对应的终端是否支持或将传输TSN业务,对应的终端是否建立或支持建立特定的DRB或者QoS flow,对应的终端支持或将传输的TSN业务的业务特征中的至少一种;The TSN service information is used to indicate whether the corresponding terminal supports or will transmit the TSN service, whether the corresponding terminal establishes or supports the establishment of a specific DRB or QoS flow, and at least one of the service characteristics of the TSN service that the corresponding terminal supports or will transmit; 所述终端标识信息用于指示对应的终端是否具有指定的终端标识。The terminal identification information is used to indicate whether the corresponding terminal has a specified terminal identification. 39.一种时钟信息同步装置,其特征在于,所述装置用于终端中,所述装置包括:39. A clock information synchronization device, characterized in that the device is used in a terminal, and the device comprises: 通知接收模块,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;A notification receiving module, configured to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system; the first node determines the target terminal according to the following method: determining a terminal that meets the conditions as the target terminal based on at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information according to a preset screening order; 时钟信息同步模块,用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The clock information synchronization module is used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in the scenario where the target terminal serves as the main TSN clock node. 40.根据权利要求39所述的装置,其特征在于,所述时钟信息同步模块,用于,40. The device according to claim 39, characterized in that the clock information synchronization module is used to: 将所述TSN时钟信息发送给所述基站或者用户面功能UPF设备,以便所述基站或者所述UPF设备将所述TSN时钟信息发送给所述其它终端;Sending the TSN clock information to the base station or the user plane function UPF device, so that the base station or the UPF device sends the TSN clock information to the other terminal; 或者,or, 通过直连通信方式将所述TSN时钟信息发送给所述其它终端。The TSN clock information is sent to the other terminal by direct communication. 41.根据权利要求39所述的装置,其特征在于,所述装置还包括:41. The device according to claim 39, characterized in that the device further comprises: 主节点指示模块,用于向所述其它终端发送主节点指示信息,所述主节点指示信息用于指示所述终端是作为主时间敏感网络TSN时钟节点的终端。The master node indication module is used to send master node indication information to the other terminals, where the master node indication information is used to indicate that the terminal is a terminal serving as a master time-sensitive network TSN clock node. 42.根据权利要求39所述的装置,其特征在于,所述时钟信息同步模块,用于,42. The device according to claim 39, characterized in that the clock information synchronization module is used to: 将所述TSN时钟信息周期性的同步给所述其它终端;Periodically synchronizing the TSN clock information to the other terminals; 或者,or, 在检测到指定触发条件时,将所述TSN时钟信息同步给所述其它终端。When a specified trigger condition is detected, the TSN clock information is synchronized to the other terminals. 43.一种第一节点,其特征在于,所述第一节点是通信系统中的网络侧节点设备,所述第一节点包括处理器、存储器和收发器;43. A first node, characterized in that the first node is a network-side node device in a communication system, and the first node includes a processor, a memory, and a transceiver; 所述处理器,用于获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;The processor is used to obtain terminal information of each terminal in the communication system, wherein the terminal information includes at least one of terminal capability information, time-sensitive network TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information; 所述处理器,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据所述终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合;从所述第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合;从所述第二终端集合中确定出一个终端作为所述目标终端;The processor is configured to determine a target terminal from the terminals according to the respective terminal information of the terminals, wherein the target terminal is a terminal serving as a master TSN clock node, specifically: screening out a first terminal set supporting a high-precision clock and having the capability of serving as a master TSN clock node according to the terminal capability information; screening out a second terminal set supporting TSN services and/or whose service characteristics of TSN services meet specified characteristics from the first terminal set; and determining a terminal from the second terminal set as the target terminal; 所述收发器,用于向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The transceiver is used to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal, so as to realize TSN clock synchronization in the scenario where the target terminal serves as the master TSN clock node. 44.一种终端,其特征在于,所述终端包括处理器、存储器和收发器;44. A terminal, characterized in that the terminal comprises a processor, a memory and a transceiver; 所述收发器,用于接收第一节点发送的主节点通知,所述主节点通知是所述第一节点确定出所述终端是目标终端时发送的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;The transceiver is used to receive a master node notification sent by the first node, wherein the master node notification is sent when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system; the first node determines the target terminal according to the following method: determining a terminal that meets the conditions as the target terminal based on at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information according to a preset screening order; 所述收发器,还用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The transceiver is further used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 45.一种第一节点,其特征在于,所述第一节点是通信系统中的终端侧节点设备,所述第一节点包括处理器、存储器和收发器;45. A first node, characterized in that the first node is a terminal side node device in a communication system, and the first node includes a processor, a memory and a transceiver; 所述处理器,用于获取所述通信系统中的各个终端的终端信息,所述终端信息包括终端能力信息、时间敏感网络TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种;The processor is used to obtain terminal information of each terminal in the communication system, where the terminal information includes at least one of terminal capability information, time-sensitive network TSN service information, cell coverage information, terminal mobility information, terminal location information, and terminal identification information; 所述处理器,用于根据所述各个终端各自的终端信息,从所述各个终端中确定出目标终端,所述目标终端是作为主TSN时钟节点的终端,具体的:根据所述终端能力信息筛选出支持高精度时钟,且具备作为主TSN时钟节点的能力的第一终端集合;从所述第一终端集合中筛选出支持TSN业务,和/或,TSN业务的业务特征符合指定特征的第二终端集合;从所述第二终端集合中确定出一个终端作为所述目标终端;The processor is configured to determine a target terminal from the terminals according to the respective terminal information of the terminals, wherein the target terminal is a terminal serving as a master TSN clock node, specifically: screening out a first terminal set supporting a high-precision clock and having the capability of serving as a master TSN clock node according to the terminal capability information; screening out a second terminal set supporting TSN services and/or whose service characteristics of TSN services meet specified characteristics from the first terminal set; and determining a terminal from the second terminal set as the target terminal; 所述收发器,用于向基站发送终端指示信息,所述终端指示信息用于指示所述基站向所述目标终端发送主节点通知,所述主节点通知用于指示所述目标终端将TSN时钟信息同步给所述通信系统中除了所述目标终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The transceiver is used to send terminal indication information to the base station, and the terminal indication information is used to instruct the base station to send a master node notification to the target terminal, and the master node notification is used to instruct the target terminal to synchronize TSN clock information to other terminals in the communication system except the target terminal, so as to realize TSN clock synchronization in the scenario where the target terminal serves as the master TSN clock node. 46.一种终端,其特征在于,所述终端包括处理器、存储器和收发器;46. A terminal, characterized in that the terminal comprises a processor, a memory and a transceiver; 所述收发器,用于接收基站发送的主节点通知;所述主节点通知是所述基站接收到终端指示信息时发送的;所述终端指示信息是第一节点确定出所述终端是目标终端时发送给所述基站的;所述目标终端是通信系统中的各个终端中,作为主时间敏感网络TSN时钟节点的终端;所述第一节点根据以下方法确定所述目标终端:根据预设的筛选顺序基于终端能力信息、TSN业务信息、小区覆盖信息、终端移动信息、终端位置信息以及终端标识信息中的至少一种确定符合条件的一个终端作为所述目标终端;The transceiver is used to receive a master node notification sent by a base station; the master node notification is sent by the base station when receiving terminal indication information; the terminal indication information is sent to the base station when the first node determines that the terminal is a target terminal; the target terminal is a terminal that serves as a master time-sensitive network TSN clock node among various terminals in the communication system; the first node determines the target terminal according to the following method: determining a terminal that meets the conditions as the target terminal based on at least one of terminal capability information, TSN service information, cell coverage information, terminal mobility information, terminal location information and terminal identification information according to a preset screening order; 所述收发器,还用于将所述终端的TSN时钟信息同步给所述通信系统中除了所述终端之外的其它终端,实现由所述目标终端作为主TSN时钟节点的场景下的TSN时钟同步。The transceiver is further used to synchronize the TSN clock information of the terminal to other terminals in the communication system except the terminal, so as to realize TSN clock synchronization in a scenario where the target terminal serves as a master TSN clock node. 47.一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至21任一项所述的时钟信息同步方法。47. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the clock information synchronization method as described in any one of claims 1 to 21.
CN202080080265.0A 2020-02-14 2020-02-14 Clock information synchronization method and device, first node, terminal and storage medium Active CN114731266B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/075381 WO2021159508A1 (en) 2020-02-14 2020-02-14 Clock information synchronization method and device, and first node, terminal, and storage medium

Publications (2)

Publication Number Publication Date
CN114731266A CN114731266A (en) 2022-07-08
CN114731266B true CN114731266B (en) 2024-05-28

Family

ID=77292699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080080265.0A Active CN114731266B (en) 2020-02-14 2020-02-14 Clock information synchronization method and device, first node, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN114731266B (en)
WO (1) WO2021159508A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11641630B2 (en) * 2021-05-18 2023-05-02 Qualcomm Incorporated Time-sensitive networking support over sidelink
CN117981408A (en) * 2022-01-11 2024-05-03 Oppo广东移动通信有限公司 Wireless communication method, terminal device and network device
CN118785351A (en) * 2023-04-06 2024-10-15 华为技术有限公司 Information transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636191A (en) * 2014-11-07 2016-06-01 联想(北京)有限公司 Synchronous source selection method and system, base station and terminal
CN105682215A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Clock synchronization method and device as well as cascaded base station system
WO2020021309A1 (en) * 2018-07-25 2020-01-30 Nokia Solutions And Networks Oy Synchronizing tsn master clocks in wireless networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425321B2 (en) * 2017-04-25 2019-09-24 Keysight Technologies Singapore (Sales) Pte. Ltd. Methods, systems, and computer readable media for testing time sensitive network (TSN) elements
US10444788B2 (en) * 2017-08-22 2019-10-15 Wind River Systems, Inc. Device, system, and method for synchronizing time partition windows
CN110392422B (en) * 2018-04-23 2020-10-09 华为技术有限公司 Method and device for determining clock source
WO2020036399A1 (en) * 2018-08-13 2020-02-20 Samsung Electronics Co., Ltd. Wireless communication network in wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105636191A (en) * 2014-11-07 2016-06-01 联想(北京)有限公司 Synchronous source selection method and system, base station and terminal
CN105682215A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Clock synchronization method and device as well as cascaded base station system
WO2020021309A1 (en) * 2018-07-25 2020-01-30 Nokia Solutions And Networks Oy Synchronizing tsn master clocks in wireless networks

Also Published As

Publication number Publication date
WO2021159508A1 (en) 2021-08-19
CN114731266A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN111211852B (en) Synchronization method and device
US20230141032A1 (en) Apparatus and methods for transmission of timing information
CN114731266B (en) Clock information synchronization method and device, first node, terminal and storage medium
JP2019521535A (en) Communication method, terminal device and network device
US20150111574A1 (en) Relay device, wireless terminal device, communication system and communication method
CN115119153B (en) Frame header compression method of Ethernet frame, communication node and storage medium
CN114631341B (en) Relationship indication for multi-SIM devices
KR101604937B1 (en) Base station, radio terminal, radio communication system, and radio communication method
CN113079547A (en) Method, equipment and device for providing relay service and readable storage medium
EP3525520A1 (en) Method and terminal for network switching
JP2022527780A (en) Communication method and communication device
CN108736999B (en) A time synchronization method and device
CN107113605B (en) Capability information reporting method, device and equipment
US9049579B2 (en) Method and apparatus for setting terminal connection control information in a mobile communication system
CN116250207A (en) Method, system and apparatus for 5G time synchronization
CN118511606A (en) Non-terrestrial wireless communication method, device, and storage medium
US8116268B2 (en) Method for controlling data transmission
EP4399905A2 (en) Data synchronization between active and standby nodes for service continuity
CN114830564B (en) Clock synchronization method, device, equipment and storage medium
CN118891935A (en) Timing edge service from bootstrapped UE through PC5
CN113812182B (en) Method and apparatus for cell or beam selection or reselection
WO2018124278A1 (en) Communication terminal, control device, communication system, and communication method
US11470464B2 (en) Communication apparatus, management apparatus, and methods for controlling the same
CN117579207A (en) Clock synchronization guaranteeing method and device
CN109565775B (en) Method and apparatus for transmitting tracking area information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant