WO2021174399A1 - 时钟同步方法、装置、设备及存储介质 - Google Patents

时钟同步方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2021174399A1
WO2021174399A1 PCT/CN2020/077497 CN2020077497W WO2021174399A1 WO 2021174399 A1 WO2021174399 A1 WO 2021174399A1 CN 2020077497 W CN2020077497 W CN 2020077497W WO 2021174399 A1 WO2021174399 A1 WO 2021174399A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
tsn
clock
master
access network
Prior art date
Application number
PCT/CN2020/077497
Other languages
English (en)
French (fr)
Inventor
付喆
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN202080086430.3A priority Critical patent/CN114830564A/zh
Priority to PCT/CN2020/077497 priority patent/WO2021174399A1/zh
Publication of WO2021174399A1 publication Critical patent/WO2021174399A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements

Definitions

  • This application relates to the field of communication technology, and in particular to a clock synchronization method, device, equipment, and storage medium.
  • TSN Time Sensitive Network
  • R16 supports network devices as master TSN clock nodes (master TSN clock nodes), that is, network devices can determine TSN clock information by themselves.
  • master TSN clock nodes master TSN clock nodes
  • the network device can send TSN clock information to the terminal.
  • the terminal can perform clock synchronization with the network device based on the TSN clock information.
  • R17 proposed to support the terminal as the main TSN clock node, that is, the terminal can determine the TSN clock information by itself.
  • the terminal can determine the TSN clock information by itself.
  • the embodiments of the present application provide a clock synchronization method, device, equipment, and storage medium, which can be used to solve the problem of realizing clock synchronization.
  • the technical solution is as follows:
  • a clock synchronization method which is applied to a first access network device, and the method includes:
  • the terminals in the first terminal group support the same time period-sensitive network TSN service type, and the first information is used by the second access network device to determine a target clock reference terminal, and the target clock reference terminal Used as the first master TSN clock node, the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first master TSN clock node is the The main TSN clock node of the TSN service supported by the first terminal group;
  • the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • a clock synchronization method which is applied to a second access network device, and the method includes:
  • a target clock reference terminal is determined, the target clock reference terminal is used as a first master time zone sensitive network TSN clock node, and the first master TSN clock node is the second access network device Or, the first master TSN clock node is the master TSN clock node of the TSN service supported by the second terminal group under the second access network device;
  • the terminals in the first terminal group support the same TSN service type
  • the terminals in the second terminal group support the same TSN service type
  • the terminals in the second terminal group support the same TSN service type as all the terminals in the second terminal group.
  • the TSN service types supported by the terminals in the first terminal group are the same.
  • a clock synchronization method which is applied to a third access network device, and the method includes:
  • the second clock reference terminal is used as a third main time period sensitive network TSN clock node
  • the third main TSN clock node is the main TSN clock node under the third access network device
  • the third master TSN clock node is the master TSN clock node of the TSN service supported by the third terminal group
  • the target terminal is a newly determined terminal used as the third master TSN clock node
  • the third terminal The group is a terminal group where the second clock reference terminal is located, and the terminals in the third terminal group support the same TSN service type.
  • a clock synchronization method which is applied to a first terminal, and the method includes:
  • the first terminal is used as a first main time period sensitive network TSN clock node, sending TSN clock information to the first access network device;
  • the first master TSN clock node is a master TSN clock node under the first access network device, or the first master TSN clock node is a first terminal group under the first access network device
  • the main TSN clock node of the supported TSN service, and the TSN service types supported by the terminals in the first terminal group are the same.
  • a clock synchronization device configured in a first access network device, and the device includes:
  • a sending module configured to send the first information to the second access network device during the handover process when the terminals in the first terminal group need to be handed over;
  • the terminals in the first terminal group support the same time period-sensitive network TSN service type, and the first information is used by the second access network device to determine a target clock reference terminal, and the target clock reference terminal Used as the first master TSN clock node, the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first master TSN clock node is the The main TSN clock node of the TSN service supported by the first terminal group;
  • the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • a clock synchronization device configured in a second access network device, and the device includes:
  • the receiving module is configured to receive the first information sent by the first access network device, where the first information is that when a terminal in the first terminal group needs to be handed over by the first access network device, in the handover process Sent in
  • the determining module is configured to determine a target clock reference terminal according to the first information, where the target clock reference terminal is used as a first master time period sensitive network TSN clock node, and the first master TSN clock node is the first 2.
  • the master TSN clock node under the access network device, or the first master TSN clock node is the master TSN clock node of the TSN service supported by the second terminal group under the second access network device;
  • the terminals in the first terminal group support the same TSN service type
  • the terminals in the second terminal group support the same TSN service type
  • the terminals in the second terminal group support the same TSN service type as all the terminals in the second terminal group.
  • the TSN service types supported by the terminals in the first terminal group are the same.
  • a clock synchronization device configured in a third access network device, and the device includes:
  • the determining module is used to determine the target terminal in the third terminal group when the second clock reference terminal changes;
  • the second clock reference terminal is used as a third main time period sensitive network TSN clock node
  • the third main TSN clock node is the main TSN clock node under the third access network device
  • the third master TSN clock node is the master TSN clock node of the TSN service supported by the third terminal group
  • the target terminal is a newly determined terminal used as the third master TSN clock node
  • the third terminal The group is a terminal group where the second clock reference terminal is located, and the terminals in the third terminal group support the same TSN service type.
  • a clock synchronization device which is configured in a first terminal, and the device includes:
  • a sending module configured to send TSN clock information to the first access network device when the first terminal is used as a first main time period sensitive network TSN clock node;
  • a receiving module configured to receive the TSN clock information when the first terminal is not used as the first master TSN clock node
  • the first master TSN clock node is a master TSN clock node under the first access network device, or the first master TSN clock node is a first terminal group under the first access network device
  • the main TSN clock node of the supported TSN service, and the TSN service types supported by the terminals in the first terminal group are the same.
  • a communication system including a terminal and an access network device.
  • the terminal includes any of the devices described in the eighth aspect
  • the access network device includes any of the devices described in the fifth aspect, or includes The device of any one of the sixth aspects.
  • a terminal in a tenth aspect, includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement any one of the foregoing fourth aspects The method described.
  • an access network device in an eleventh aspect, includes a processor and a memory, the memory stores at least one instruction, and the at least one instruction is used to be executed by the processor to implement
  • the method described in any one of the above-mentioned first aspect may implement the method described in any one of the above-mentioned second aspect, or the method described in any one of the above-mentioned third aspects may be implemented.
  • a computer-readable storage medium is provided, and instructions are stored on the computer-readable storage medium, and when the instructions are executed by a processor, the method in any one of the foregoing first aspects is implemented, or, The method described in any one of the foregoing second aspect is implemented, or the method described in any one of the foregoing third aspect is implemented.
  • a computer-readable storage medium is provided, and instructions are stored on the computer-readable storage medium, and when the instructions are executed by a processor, the method described in the fourth aspect is implemented.
  • a computer program product containing instructions which when run on a computer, causes the computer to execute the method described in any one of the above-mentioned first aspects, or execute any one of the above-mentioned methods in the second aspect.
  • the method described above, or the method described in any one of the above third aspects is executed.
  • a computer program product containing instructions which when run on a computer, causes the computer to execute the method described in the fourth aspect.
  • the first access network device may send the first information to the second access network device during the handover process
  • the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine a suitable master TSN clock node for clock synchronization during the switching process.
  • Fig. 1 is a schematic diagram of a TSN provided by an exemplary embodiment of the present application
  • Fig. 2 is a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application.
  • Fig. 3 is a flowchart of a clock synchronization method provided by an exemplary embodiment of the present application
  • FIG. 4 is a flowchart of a clock synchronization method provided by another exemplary embodiment of the present application.
  • FIG. 5 is a schematic diagram of a clock synchronization method provided by an exemplary embodiment of the present application.
  • Fig. 6 is a flowchart of a clock synchronization method provided by an exemplary embodiment of the present application.
  • FIG. 7 is a flowchart of a clock synchronization method provided by another exemplary embodiment of the present application.
  • FIG. 8 is a schematic diagram of a clock synchronization method provided by an exemplary embodiment of the present application.
  • FIG. 9 is a flowchart of a clock synchronization method provided by an exemplary embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a clock synchronization device provided by an exemplary embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a clock synchronization device provided by another exemplary embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a clock synchronization device provided by another exemplary embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a clock synchronization device provided by another exemplary embodiment of the present application.
  • Fig. 14 is a schematic structural diagram of a communication device provided by an exemplary embodiment of the present application.
  • IIoT supports FA (Factory Automation), TI (Transport Industry, transmission automation), EPD (Electrical Power Distribution, intelligent power) and other services in the transmission of 5G (5th-Generation, fifth-generation mobile communication technology) systems.
  • IIoT introduced TSN.
  • the 5G network will serve as a TSN bridge (TSN bridge) to provide services for TSN services.
  • TSN bridge TSN bridge
  • the network device is supported as the master TSN clock node, and the terminal as the slave TSN clock node (slave TSN clock node). That is, the network device can determine the TSN clock information by itself.
  • the network device can send the TSN clock information to the terminal. In this way, the terminal can be based on the TSN clock information Clock synchronization with network equipment.
  • the TSN clock information can be sent to the terminal in a manner of broadcast (Broadcast), multicast (Multicast) or unicast (Unicast).
  • the entire handover process is divided into the following three stages:
  • Handover preparation including measurement control and reporting, handover request and handover response. That is, the source network device sends a handover request message to the target network device, and after receiving the handover request message, the target network device may send a handover response message to the source network device, and the handover response message may include a handover command. When the source network device receives the handover response message, it can forward the handover command to the terminal.
  • the terminal can immediately execute the handover process, that is, the terminal can disconnect the connection with the source network device and establish a connection with the target network device.
  • the target network device When the target network device is connected to the terminal, the target network device can execute with AMF (Access and Mobility Management Function, access and mobility management function) and UPF (User Plane Function, user plane function) Path switch, release terminal context.
  • AMF Access and Mobility Management Function, access and mobility management function
  • UPF User Plane Function, user plane function
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access, code division multiple access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex system
  • LTE-A Alvanced Long Term Evolution, advanced long-term evolution
  • NR New Redio, new wireless
  • LTE-U LTE-based access
  • NR-U NR-based access to unlicensed spectrum, NR on unlicensed frequency band
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Worldwide Interoperability for Microwave Access, global interconnected microwave access
  • WLAN Wireless Local Area Networks
  • the communication system 200 applied in the embodiment of the present application is shown in FIG. 2.
  • the communication system 200 may include an access network device 210, and the access network device 210 may be a device that communicates with a terminal 220 (or called a communication terminal or terminal).
  • the access network device 210 can provide communication coverage for a specific geographic area, and can communicate with terminals located in the coverage area.
  • the access network device 210 may be an eNB (Evolutional Node B, evolved base station), or a wireless controller in CRAN (Cloud Radio Access Network, cloud radio access network), or the access network device It can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or an access network device in a future communication system, etc.
  • eNB Evolutional Node B, evolved base station
  • CRAN Cloud Radio Access Network
  • the access network device It can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or an access network device in a future communication system, etc.
  • the communication system 200 also includes at least one terminal 220 located within the coverage area of the access network device 210.
  • the "terminal” used here includes, but is not limited to, connection via wired lines, such as PSTN (Public Switched Telephone Networks), DSL (Digital Subscriber Line), digital cable, and direct cable connection; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, WLAN, digital TV networks such as DVB-H networks, satellite networks, AM-FM broadcast transmitters; and/or another A device of a terminal that is set to receive/send a communication signal; and/or an IoT (Internet of Things, Internet of Things) device.
  • PSTN Public Switched Telephone Networks
  • DSL Digital Subscriber Line
  • wireless interface such as for cellular networks, WLAN, digital TV networks such as DVB-H networks, satellite networks, AM-FM broadcast transmitters; and/or another A device of a terminal that is set to receive/send a communication signal; and/or an IoT (Internet of Things
  • a terminal set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellite or cellular phones; PCS (Personal Communications System) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or GPS (Global Positioning System) receiver; and conventional laptop and/or palm-type receivers or others including radio telephone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal can refer to access terminal, UE (User Equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user Device.
  • the access terminal can be a cellular phone, a cordless phone, SIP (Session Initiation Protocol) phone, WLL (Wireless Local Loop, wireless local loop) station, PDA (Personal Digital Assistant, personal digital processing), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks, or terminals in the future evolution of PLMN, etc.
  • D2D communication may be performed between the terminals 220.
  • the 5G communication system or 5G network may also be referred to as an NR system or NR network.
  • Figure 2 exemplarily shows one access network device and two terminals.
  • the communication system 200 may include multiple access network devices and the coverage of each access network device may include other numbers
  • a terminal for example, in a handover scenario, usually includes a first access network device and a second access network device.
  • the first access network device is the source access network device
  • the second access network device is the target access device.
  • Network equipment that is, the terminal switches from the first access network equipment to the second access network equipment.
  • the communication system 200 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include an access network device 210 and a terminal 220 with communication functions, and the access network device 210 and the terminal 220 may be the specific devices described above, which are not here.
  • the communication device may also include other devices in the communication system 200, such as other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • FIG. 3 is a flowchart of a clock synchronization method according to an exemplary embodiment.
  • the clock synchronization method may be applied to the implementation environment shown in FIG. 2 above.
  • the clock synchronization method may include the following At least part of the content:
  • Step 301 When the terminals in the first terminal group need to be handed over, send the first information to the second access network device during the handover process.
  • the terminals in the first terminal group support the same TSN service type
  • the first information is used by the second access network device to determine the target clock reference terminal
  • the target clock reference terminal is used as the first master TSN clock node
  • the clock node is the master TSN clock node of the second terminal group under the second access network device
  • the first master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • the terminal that needs to be handed over may be one terminal in the first terminal group, or multiple terminals in the first terminal group, or all terminals in the first terminal group, which is not done in this embodiment. limited.
  • the multiple terminals may support the same type of TSN service or different types of TSN services.
  • the terminals that support the same type of TSN service among the multiple terminals can be classified into the same terminal group.
  • the terminals supporting the designated TSN service among the multiple terminals within the coverage area of the first access network device may be classified into the first terminal group.
  • the terminals supporting the designated TSN service among the multiple terminals within the coverage of the second access network device may be classified into the second terminal group.
  • the target clock reference terminal may be included in the terminal that needs to be handed over, or not included in the terminal that needs to be handed over, which is not limited in this embodiment.
  • the second access network device refers to the target access network device, that is, the terminal that needs to be handed over needs to be handed over from the first access network device to the second access network device.
  • the first master TSN clock node may be the master TSN clock node of the second terminal group under the second access network device, and the first master TSN clock node The node may also be the main TSN clock node of the TSN service supported by the first terminal group.
  • each access network device can be based on its own determined master TSN clock node Perform clock synchronization.
  • each access network device corresponds to its own master TSN clock node.
  • the second access network device determines to be used as the second terminal group for clock synchronization according to the first information The main TSN clock node.
  • the target clock reference terminal when used as the first master TSN clock node, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, the second access network The device is synchronized with the target clock reference terminal clock, and the remaining terminals in the second terminal group except the target clock reference terminal are synchronized with the second access network device clock, or the second terminal group except the target clock The other terminals except the reference terminal are directly synchronized with the target clock reference terminal clock. In this case, the clock synchronization of the second terminal group under the TSN service supported by it can be guaranteed.
  • the multiple access network devices can Use the same master TSN clock node.
  • the second access network device determines the TSN to be used as the TSN supported by the first terminal group according to the first information.
  • the main TSN clock node of the service is
  • the target clock reference terminal is used as the first master TSN clock node
  • the first master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group
  • the second access network device can synchronize the clock with the target clock reference terminal, except for the target clock reference terminal in the second terminal group
  • the rest of the terminals can be synchronized with the second access network device, or the remaining terminals in the second terminal group except the target clock reference terminal can directly synchronize the clock with the target clock reference terminal. In this case, it can be ensured that the terminals in the second terminal group are clock synchronized under the TSN service supported by them.
  • the other access network devices among the multiple access network devices can synchronize clocks with the second access network device.
  • any one of the multiple access network devices can be used in its Select one terminal from the terminal group in the coverage area as the master TSN clock node.
  • the first access network device can transfer to the second access network device during the handover process.
  • Send first information to instruct the second access network device to determine the target clock reference terminal through the first information that is, to instruct the second access network device to determine the first master TSN clock node through the first information, so, the first The second access network device may perform clock synchronization with the first master TSN clock node, so as to achieve clock synchronization under the TSN service supported by the target clock reference terminal.
  • the first access network device may determine the first terminal group The terminal in the device needs to be switched from the first access network device to the second access network device. In this way, the first access network device can send the first information to the second access network device during the handover process.
  • the first access network device in the case that the terminals in the first terminal group need to be handed over from the first access network device to the second access network device, the first access network device can connect to the second access network device during the handover process.
  • the network access device sends the first information.
  • the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine a suitable master TSN clock node for clock synchronization during the switching process.
  • FIG. 4 is a flowchart of a clock synchronization method according to an exemplary embodiment.
  • the clock synchronization method may be applied to the implementation environment shown in FIG. 2 above.
  • the clock synchronization method may include the following At least part of the content:
  • Step 401 When the terminals in the first terminal group need to be handed over, send the first information to the second access network device during the handover process.
  • the terminals in the first terminal group support the same TSN service type
  • the first information is used by the second access network device to determine the target clock reference terminal
  • the target clock reference terminal is used as the first master TSN clock node
  • the clock node is the master TSN clock node of the second terminal group under the second access network device
  • the first master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • step 301 in the embodiment of FIG. 3, which will not be repeated here.
  • the first information is carried through the handover request.
  • the first information is sent after receiving an information sending instruction sent by the second access network device, and the information sending instruction is used to instruct the first access network device to send the first information.
  • the handover request may be used to request the second access network device to perform handover with the terminal that needs to be handed under the first access network device.
  • the first access network device may send a handover request to the second access network device.
  • the handover request may carry the first information.
  • the first access network device when the first access network device receives the information sending instruction sent by the second access network device, it indicates that the second access network device can receive the first information. In this case, the first access network device The first information may be sent to the second access network device according to the indication of the information sending instruction.
  • the information sending instruction may be carried in the handover response message.
  • the first access network device receives the handover response message, if it is determined that the handover response message carries the information sending instruction, the first connection
  • the network access device may send the first information to the second access network device according to the indication of the information sending instruction.
  • the terminal to be switched includes the first clock reference terminal, the first clock reference terminal is used as the second master TSN clock node, and the second master TSN clock node is the first access network device.
  • the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the first information includes at least one of the following:
  • the first clock refers to the terminal identifier
  • the specified QoS flow may include specified uplink QoS flow, specified downlink QoS flow, and may also include specified uplink QoS flow and specified downlink QoS flow, which is not limited in this embodiment.
  • the designated wireless data bearer may include a designated uplink wireless data bearer, may also include a designated downlink wireless data bearer, and may also include both a designated uplink wireless data bearer and a designated downlink wireless data bearer, which is not limited in this embodiment.
  • the second master TSN clock node may be the master TSN clock node of the first terminal group under the first access network device, and the second master TSN clock node The node may also be the main TSN clock node of the TSN service supported by the first terminal group.
  • step 301 in the embodiment of FIG. 3, which will not be repeated here.
  • the first access network device is synchronized with the first clock reference terminal clock
  • the first terminal group is excluding the first clock reference terminal
  • Other terminals in the first access network device clock are synchronized with the clock of the first access network device, or other terminals in the first terminal group except the first clock reference terminal may also be directly synchronized with the clock of the first clock reference terminal. In this case, the clock synchronization of the first terminal group under the TSN service supported by it can be guaranteed.
  • the first clock reference terminal identifier may be used by the second access network device to identify the first clock reference terminal among the terminals that need to be handed over.
  • the first clock reference terminal identifier may be an ID (Identity, identity) of the first clock reference terminal.
  • the first clock reference terminal when used as the second master TSN clock node, the first clock reference terminal can establish a designated QoS flow or designated wireless data bearer, so as to pass the designated QoS flow or designated wireless data bearer to the second master TSN.
  • An access network device transmits TSN clock information.
  • the designated QoS flow corresponds to the designated QoS flow identifier.
  • the second access network device can identify the designated QoS flow identifier to determine the designated QoS flow. Therefore, it can switch according to the designated QoS flow. Identify the first clock reference terminal among the terminals.
  • the designated wireless data bearer corresponds to the designated DRB identifier.
  • the second access network device can identify the designated DRB identifier to determine the designated wireless data bearer. Therefore, the designated DRB identifier can be used in the terminal that needs to be handed over. Identify the first clock reference terminal.
  • At least one of the first clock reference terminal identifier, the designated QoS flow identifier, and the designated DRB identifier may be used by the second access network device to identify the first clock reference terminal among the terminals that need to be handed over.
  • the first access network device may send information indicating the first clock reference terminal to the second access network device, for example, the first access network device.
  • the device may send one or more of the first clock reference terminal identifier, the designated QoS flow identifier, and the designated DRB identifier to the second access network device.
  • the first information further includes at least one of the following: a terminal group identifier of the first terminal group, terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, TSN service identifier, and TSN group identifier , TSN clock domain identifier to which it belongs, and TSN time domain identifier to which it belongs.
  • the terminal group identifier of the first terminal group may be used by the second access network device to determine the terminal group to which the terminal that needs to be switched belongs.
  • the terminal group identifier of the first terminal group may be the ID of the first terminal group.
  • the TSN service identifier can be used by the second access network device to determine the TSN service type supported by the terminal that needs to be switched. In this way, the second access network device can switch to the TSN service type supported by the terminal that needs to be switched.
  • the terminals are classified into the corresponding terminal groups.
  • the belonging TSN clock domain identifier may be used by the second access network device to determine the corresponding clock domain during transmission of the TSN service supported by the terminal to be switched.
  • the TSN time domain identifier to which it belongs may be used by the second access network device to determine the corresponding time domain during transmission of the TSN service supported by the terminal that needs to be handed over.
  • the TSN group identifier refers to the identifier of the service group to which the TSN service supported by the terminal to be switched belongs, or the TSN group identifier refers to the TSN service supported by the first terminal group at the second master TSN clock node In the case of the master TSN clock node, the identity of the terminal group formed by all terminals that support the TSN service. It should be noted that the terminals supporting the TSN service may belong to the same access network device, or may belong to different access network devices, which is not limited in this embodiment.
  • the first information sent by the first access network device may include the terminal group identifier of the first terminal group, the first terminal group One or more of the terminal IDs, TSN service IDs, TSN group IDs, TSN clock domain IDs to which they belong, and TSN time domain IDs to which they belong in a terminal group except for the first clock reference terminal. In this way, the first 2.
  • the access network device can obtain the service group attribution information or terminal group attribution information of the terminal that needs to be switched, and attribute the terminal to be switched to the corresponding terminal group or service group.
  • the first information sent by the first access network device may include information for identifying the first clock reference terminal, or Including the terminal group identifier of the first terminal group, the terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, the TSN service identifier, the TSN group identifier, the TSN clock domain identifier to which it belongs, and the TSN time domain to which it belongs.
  • the second access network device can determine the first clock reference terminal among the terminals that need to be handed over, and can obtain more information about the terminals that need to be handed over, so as to identify the terminals that need to be handed over The terminal belongs to the corresponding terminal group or service group.
  • the first access network device may also perform the following operations: Among the terminals that do not need to be handed over, the target terminal establishes a designated QoS flow or designated wireless data bearer, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information. Wherein, the target terminal is a newly determined terminal used as the second master TSN clock node.
  • the terminal to be switched includes the first clock reference terminal
  • the first clock reference terminal if the first clock reference terminal switches to the second access network device, the first clock reference terminal is no longer used as the second master TSN clock node, that is, The first access network device no longer performs clock synchronization with the first clock reference terminal.
  • the first access network device may determine the target terminal among the terminals included in the first terminal group that do not need to be handed over, that is, re-determine the terminal used as the second master TSN clock node.
  • the first access network device can establish a designated QoS flow or a designated wireless data bearer with the target terminal.
  • the target terminal can send a TSN clock to the first access network device through a designated QoS flow or designated wireless data bearer.
  • the first access network device can synchronize the clock with the target terminal according to the TSN clock information.
  • the target terminal is determined by at least one of the following nodes: the first access network device, the core network node, the CNC (Centralized Network Controller, centralized network controller) node, and all the terminals in the first terminal group that do not need to be switched , Any terminal among all terminals in the first terminal group that do not need to be switched, a designated terminal among all terminals in the first terminal group that do not need to be switched, and the first clock reference terminal.
  • the first access network device the core network node
  • the CNC Centralized Network Controller, centralized network controller
  • the core network nodes may include AMF nodes, SMF (Session Management Function, session management function) nodes, etc., which are not limited in this embodiment.
  • AMF Access Management Function
  • SMF Session Management Function, session management function
  • the AMF node can be used for mobility management, and the AMF node can be connected with the terminal.
  • the SMF node can be used for session management, and the SMF node can be connected to the AMF node.
  • the CNC node can be used for unified management of all TSN services in the TSN.
  • the designated terminals of all terminals in the first terminal group that do not need to be handed over may be designated by the first access network device, or may be designated by the core network node, which is not limited in this embodiment.
  • the terminal to be switched includes the first clock reference terminal, the first access network device, the core network node, the CNC node, all the terminals in the first terminal group that do not need to be switched, the first terminal group does not Any terminal among all terminals that need to be switched, a designated terminal among all terminals that do not need to be switched in the first terminal group, and the first clock refers to one or more of the terminals to determine the target terminal.
  • the first access network device can determine the target terminal, or the first access network device and all terminals in the first terminal group that do not need to be handed over.
  • the target terminal is not limited in this embodiment.
  • the terminal that needs to be switched includes the first clock reference terminal, it can be determined that the target terminal is used as the second master TSN clock node among the terminals that do not need to be switched in the first terminal group.
  • the first access network device can Perform clock synchronization with the target terminal, so as to ensure the continuity of clock synchronization under the TSN service supported by the first clock reference terminal in the case of the first clock reference terminal switching.
  • the terminal to be switched includes the first clock reference terminal
  • the first clock reference terminal is used as the main TSN clock node of the TSN service supported by the first terminal group, that is, the TSN service supported by at least one access network device corresponds to
  • the first access network device may only send the first information to the second access network device. In this case, there is no need to re-determine in the first terminal group
  • the target terminal establishes a new designated QoS flow or designated wireless data bearer.
  • the terminal to be switched does not include the first clock reference terminal, the first clock reference terminal is used as the second master TSN clock node, and the second master TSN clock node is the first access network device
  • the next master TSN clock node, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the first information includes: candidate terminal identification, and the candidate terminal is determined by the first access network device from the terminals that need to be handed over.
  • a candidate terminal refers to a candidate terminal relative to the first clock reference terminal, that is, in a case where the first clock reference terminal changes, the candidate terminal can be used as the second master TSN clock node.
  • the candidate terminal identifier can be used by the second access network device to determine the candidate terminal among the terminals that need to be handed over. Further, the candidate terminal can be determined by the second access network device according to a reference strategy, which can be based on actual conditions. Need to be set.
  • the first access network device may select a terminal with a higher clock accuracy as a candidate terminal among the terminals that need to be switched, or may select a terminal with a smaller local oscillator as a candidate terminal among the terminals that need to be switched, or Among the terminals that need to be handed over, a terminal with a higher service quality is selected as a candidate terminal, etc., which is not limited in this embodiment.
  • the first access network device may determine the candidate terminal among the terminals that need to be handed over, and send to the second access network device to indicate the candidate terminal Terminal information.
  • the first access network device may also not acquire candidate terminals from the terminals that need to be switched, which is not limited in this embodiment.
  • the first information further includes at least one of the following: a terminal group identifier of the first terminal group, terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, TSN service identifier, and TSN group identifier , TSN clock domain identifier to which it belongs, and TSN time domain identifier to which it belongs.
  • the first information sent by the first access network device may include the terminal group identification of the first terminal group, One or more of the terminal IDs, TSN service IDs, TSN group IDs, TSN clock domain IDs to which they belong, and TSN time domain IDs to which they belong in the first terminal group except the first clock reference terminal, and so on,
  • the second access network device may obtain the service group attribution information or terminal group attribution information of the terminal that needs to be switched, and attribute the terminal to be switched to the corresponding terminal group or service group.
  • the first information sent by the first access network device may include information for identifying candidate terminals, and may also include the first information.
  • the terminal group identifier of a terminal group, the terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, the TSN service identifier, the TSN group identifier, the TSN clock domain identifier to which it belongs, and the TSN time domain identifier to which it belongs In this way, the second access network device can determine candidate terminals among the terminals that need to be handed over, and can obtain more information about the terminals that need to be handed over, so as to attribute the terminals that need to be handed over to the corresponding Terminal group or business group.
  • the first access network device may also perform the following operations: The terminal performs clock synchronization.
  • the first clock reference terminal can continue to be used as the second clock reference terminal.
  • the master TSN clock node therefore, the first access network device can perform clock synchronization with the first clock reference terminal to ensure clock synchronization under the TSN service supported by the first clock reference terminal.
  • the second master TSN clock node changes at the first time point, a change message is sent to the second access network device, and the change message is used to notify the second access network device of the second The main TSN clock node has changed.
  • the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the change of the second master TSN clock node may include the terminal switching used as the second master TSN clock node, the terminal used as the second master TSN clock node is powered off, and the terminal used as the second master TSN clock node is abnormal.
  • the terminal serving as the second master TSN clock node moves outside the coverage of the first access network device, etc. This embodiment does not limit this.
  • the first access network device may send a change message to the second access network device to notify the second access network device that the first clock reference terminal is no longer used as the second master TSN clock node.
  • the change message may include at least one of the following: a change indication, a TSN service identifier, a first clock reference terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network to which the target terminal belongs.
  • a change indication e.g., a change indication, a TSN service identifier, a first clock reference terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network to which the target terminal belongs
  • the target terminal refers to a newly determined terminal used as the second master TSN clock node.
  • the change indication may be used by the second access network device to determine that the first clock reference terminal is no longer used as the second master TSN clock node.
  • the TSN service identifier may be used by the second access network device to determine the TSN service type supported by the first clock reference terminal.
  • the TSN clock domain identifier to which it belongs may be used by the second access network device to determine the corresponding clock domain during transmission of the TSN service supported by the first clock reference terminal.
  • the first clock reference terminal identifier may be used by the second access network device to determine the first clock reference terminal among the terminals that need to be handed over.
  • the TSN group identifier refers to the identifier of the service group to which the TSN service supported by the first clock reference terminal belongs, or the TSN group identifier refers to the TSN supported by the first terminal group at the second master TSN clock node In the case of the main TSN clock node of the service, the identity of the terminal group formed by all the terminals supporting the TSN service. It should be noted that the terminals supporting the TSN service may belong to the same access network device, or may belong to different access network devices, which is not limited in this embodiment.
  • the change message may include the change instruction, the TSN service identifier, the first clock reference terminal identifier, the TSN clock domain identifier to which it belongs, the serving cell identifier to which the target terminal belongs, the access network device identifier to which the target terminal belongs, and the TSN group identifier. , One or more of the terminal group identification of the first terminal group, and the terminal identifications of other terminals in the first terminal group except the first clock reference terminal identification. In this way, the second access network device can follow the change message , Determine a more suitable terminal as the first master TSN clock node.
  • the first time point includes at least one of the following situations: after the first clock reference terminal used as the second master TSN clock node is changed. After the first access network device sends the handover request. After the first access network device receives the handover response message of the second access network device. It is within the time period after the first access network device sends the handover request to before the first network device sends the handover command to the terminal that needs to be handed over. It is in the time period after the first access network device sends the handover request to before the terminal that needs to handover establishes a connection with the second access network device. Before the first access network device releases the connection with the terminal.
  • the handover command refers to a command sent by the second access network device to instruct the terminal that needs to be handed over to perform handover.
  • the second access network device sends the handover command to the first access network device.
  • the first access network device forwards the switching command to the terminal that needs to be switched.
  • the first clock reference terminal used as the second master TSN clock node is changed, the first clock reference terminal is no longer used as the second TSN clock node, and the first access network device can connect to the second The connected device sends a change message.
  • the first clock reference terminal changes, that is, when the first clock reference terminal is no longer used as the second master TSN clock node, the first access network device
  • the change message can be sent to the second access network device.
  • the first clock reference terminal is changed, that is, when the first clock reference terminal is no longer used as the second master TSN clock node .
  • the first access network device may send a change message to the second access network device.
  • the first clock reference terminal changes, that is, the first clock reference terminal
  • the first access network device may send a change message to the second access network device.
  • the first clock reference terminal changes during the time period before the terminal that needs to handover establishes a connection with the second access network device, that is, the first clock reference
  • the first access network device may send a change message to the second access network device.
  • the first clock reference terminal changes, that is, when the first clock reference terminal is no longer used as the second master TSN clock node, the first access network The device may send a change message to the second access network device.
  • the second access network device can determine in time that the second master TSN clock node has changed, and the second access network device can select the terminal used as the first master TSN clock node on the basis of the change message In this case, the second access network device can perform clock synchronization with the terminal used as the first master TSN clock node.
  • the first access network device can share information with the second access network device, adjacent access network devices of the first access network device, core network nodes, and other access network devices that support the TSN service.
  • the first clock reference terminal sends a change message to one or more of the access network device of the master TSN clock node and the CNC node, which is not limited in this embodiment.
  • the first network device may send the change message when the first clock reference terminal switches, or it may send the change message when the first clock reference terminal is not switched, which is not limited in this embodiment.
  • the first access network device may also perform the following operations:
  • the second master TSN clock node is the master TSN clock node of the first access network device, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the designated QoS flow or designated wireless data bearer can be established by the terminal, or by the core network node, or by the first access network device, which is not limited in this embodiment.
  • the first access network device may determine to be used as the second master TSN clock node terminal in the first terminal group based on whether the terminal corresponds to a designated QoS flow or a designated wireless data bearer.
  • the first access network device determines that the terminal in the first terminal group corresponds to the designated QoS flow or designated wireless data bearer, it can be determined that the terminal can be used as the second master TSN clock node.
  • the first access network device determines that the terminal in the first terminal group does not correspond to the designated QoS flow or designated wireless data bearer, it can be determined that the terminal cannot be used as the second master TSN clock node.
  • the first access network device may determine whether the terminal is capable of establishing a designated QoS flow or a designated wireless data bearer based on the clock accuracy of the terminal, and may also determine whether the terminal is capable of establishing a designated QoS flow or a designated wireless data bearer based on the local oscillator of the terminal.
  • the data bearer can also determine whether the terminal is capable of establishing a designated QoS flow or a designated wireless data bearer based on the quality of service of the terminal, which is not limited in this embodiment.
  • the first access network device can determine that the terminal is capable of establishing a specified QoS flow or a specified wireless data bearer. If the quality of service of the terminal is lower than or equal to the specified quality of service Threshold, the first access network device can determine that the terminal is not capable of establishing a specified QoS flow or a specified wireless data bearer.
  • the specified service instruction threshold can be set according to actual needs.
  • the first access network device determines that the terminal in the first terminal group is capable of establishing a designated QoS flow or a designated wireless data bearer, it can be determined that the terminal can be used as the second master TSN clock node.
  • the first access network device determines that the terminal in the first terminal group is not capable of establishing a designated QoS flow or designated wireless data bearer, it can be determined that the terminal cannot be used as a second master TSN clock node.
  • the designated identifier is the identifier of the terminal used as the second master TSN clock node.
  • the identifier may be pre-configured, or instructed or configured by the network device to the terminal.
  • the identifier may be configured by the CNC node to the terminal, and the identifier may also be configured by the first access network device to the terminal.
  • this embodiment does not limit this.
  • the first access network device determines that the terminal in the first terminal group corresponds to the identifier of the second master TSN clock node, it can determine that the terminal can be used as the second master TSN clock node.
  • the first access network device determines that the terminal in the first terminal group does not correspond to the identifier of the second master TSN clock node, it can be determined that the terminal cannot be used as the second master TSN clock node.
  • the first access network device in the case that the terminals in the first terminal group need to be handed over from the first access network device to the second access network device, the first access network device can connect to the second access network device during the handover process.
  • the network access device sends the first information.
  • the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine the appropriate master TSN clock node for clock synchronization during the switching process to achieve the target clock Refer to the clock synchronization under the TSN service supported by the terminal.
  • the first access network device may send information for identifying the first clock reference terminal to the second access network device.
  • the second access network device may use the first clock reference terminal as a reference to determine the first master TSN clock node.
  • the first access network device can select the target terminal from the terminals that do not need to be handed over included in the first terminal group to serve as the second master TSN clock node, so that the first access network device can communicate with the target node Performing clock synchronization ensures the continuity of clock synchronization under the TSN service supported by the first clock reference terminal.
  • the first access network device may only send the first information to the second access network device, and there is no need to The target terminal is re-determined among the terminals that do not need to be switched included in a terminal group.
  • the first access network device may select candidate terminals from the terminals that need to be handed over, and send the data to the second access network device.
  • the second access network device can use the candidate terminal as a reference to determine the first master TSN clock node.
  • the first information may also not include information for identifying the candidate terminal.
  • the first information may include the first terminal group.
  • the first clock reference terminal can continue to be used as the second master TSN clock node.
  • the first access network device can perform clock synchronization with the first clock reference terminal to ensure that the first clock reference terminal Clock synchronization under supported TSN services.
  • the terminal that needs to be switched includes the first clock reference terminal
  • the first access network device can send the information to the second access network device. Send a change message, so that the second access network device can determine in time that the first clock reference terminal is no longer used as the second master TSN clock node. On this basis, the second access network device can select a more appropriate terminal to be used as the The first master TSN clock node.
  • FIG. 6 is a flowchart of a clock synchronization method according to an exemplary embodiment.
  • the clock synchronization method can be applied to the implementation environment shown in FIG. Executed by the device, the clock synchronization method may include at least part of the following content:
  • Step 601 Receive first information sent by the first access network device, where the first information is sent by the first access network device during the handover process when the terminals in the first terminal group need to be handed over.
  • the terminals in the first terminal group support the same time period sensitive network TSN service types.
  • the second access network device may receive the first access network device sent by the first access network device during the handover process.
  • One information is, when the terminals in the first terminal group need to be handed over from the first access network device to the second access network device, the second access network device may receive the first access network device sent by the first access network device during the handover process.
  • the first information is carried through the handover request.
  • the first information is received after the second access network device sends the information sending instruction, and the information sending instruction is used to instruct the first access network device to send the first information.
  • the handover request may be used to request the second access network device to perform handover with the terminal that needs to be handed under the first access network device.
  • the first information when the second access network device receives the handover request sent by the first access network device, the first information may be obtained in the handover request.
  • the second access network device when the second access network device can receive the first information, the second access network device can send an information sending instruction to the first access network device to instruct the first access network device to send the first information. In this way, the second access network device may receive the first information after sending the information sending instruction.
  • the information sending instruction may be carried in a handover response message.
  • the second access network device may send a handover response message to the first access network device.
  • the second access network device is After sending the handover response message, the first information can be received.
  • the second access network device may also perform the following operation: send the first information to the terminals in the second terminal group under the second access network device.
  • the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • the second access network device may send the first information to the terminals in the second terminal group of the same TSN service type supported by the first terminal group.
  • the second access network device may send the first information to the terminals in the second terminal group in a manner of broadcast, unicast, and dedicated RRC (Radio Resource Control, radio resource control) messages.
  • RRC Radio Resource Control, radio resource control
  • the second access network device may send the first information to the terminals in the second terminal group after the switching of the terminal that needs to be switched is completed, and the second access network device may also be in the switching process of the terminal that needs to be switched.
  • the first information is sent to the terminals in the second terminal group, which is not limited in this embodiment.
  • Step 602 Determine the target clock reference terminal according to the first information, the target clock reference terminal is used as the first master TSN clock node, the first master TSN clock node is the master TSN clock node under the second access network device, or the first A master TSN clock node is the master TSN clock node of the TSN service supported by the second terminal group under the second access network device.
  • the first master TSN clock node may be the master TSN clock node of the second terminal group under the second access network device, and the first master TSN clock node The node may also be the main TSN clock node of the TSN service supported by the second terminal group.
  • step 301 in the embodiment of FIG. 3, which will not be repeated here.
  • the second access network device may determine the target clock reference terminal used as the first master TSN clock node according to the first information. In this way, the second access network device can perform clock synchronization with the target clock reference terminal to achieve clock synchronization under the TSN service supported by the target clock reference terminal.
  • the terminal to be switched if the terminal to be switched is part of the terminal in the first terminal group, the terminal to be switched does not include the first clock reference terminal, and the first clock reference terminal is used as the second master TSN clock Node, the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the first information includes: candidate terminal identification, and the candidate terminal is determined by the first access network device from the terminals that need to be handed over.
  • the first access network device may determine the candidate terminal among the terminals that need to be handed over, and send to the second access network device to indicate the candidate terminal Terminal information.
  • the first information further includes at least one of the following: a terminal group identifier of the first terminal group, terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, TSN service identifier, and TSN group identifier , TSN clock domain identifier to which it belongs, and TSN time domain identifier to which it belongs.
  • the first information sent by the first access network device may include the terminal group identifier of the first terminal group, and the first terminal group.
  • the access network device may obtain the service group attribution information or terminal group attribution information of the terminal that needs to be switched, and attribute the terminal to be switched to the corresponding terminal group or service group.
  • the first information sent by the first access network device may include information for identifying candidate terminals, and may also include the first information.
  • the terminal group identifiers of a terminal group the terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, the TSN service identifier, the TSN group identifier, the TSN clock domain identifier to which it belongs, and the TSN time domain identifier to which it belongs.
  • the second access network device can determine candidate terminals among the terminals that need to be handed over, and can obtain more information about the terminals that need to be handed over, so as to attribute the terminals that need to be handed over to the corresponding Terminal group or business group.
  • the second access network device may also perform at least one of the following operations: determine the candidate terminal as the target clock reference terminal. Establish a designated QoS flow or designated wireless data bearer with the target clock reference terminal, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the specified QoS flow may include specified uplink QoS flow, specified downlink QoS flow, and may also include specified uplink QoS flow and specified downlink QoS flow, which is not limited in this embodiment.
  • the designated wireless data bearer may include a designated uplink wireless data bearer, may also include a designated downlink wireless data bearer, and may also include both a designated uplink wireless data bearer and a designated downlink wireless data bearer, which is not limited in this embodiment.
  • the second access network device may directly determine the candidate terminal as the target clock reference terminal.
  • the handover command sent by the second access network device may include information instructing the candidate terminal to establish a designated QoS flow or a designated wireless data bearer.
  • the second access network device can establish a designated QoS flow or a designated wireless data bearer with the target clock reference terminal, so that the target clock reference terminal can send a TSN to the second access network device through the designated QoS flow or designated wireless data bearer Clock information, the second access network device may perform clock synchronization according to the TSN clock information, so as to implement clock synchronization under the TSN service supported by the terminal with reference to the target clock.
  • the second access network device may not determine the candidate terminal as the target clock reference terminal, that is, the second access network device may determine the terminal currently used as the first master TSN clock node as the target clock The reference terminal, in this case, the second access network device can perform clock synchronization with the target clock reference terminal.
  • the second access network device may also determine the target clock reference terminal according to the capability of the terminal. That is, the second access network device may compare the capabilities of the candidate terminal with the terminal currently serving as the first master TSN clock node, and determine the terminal with stronger capability as the target clock reference terminal.
  • the second access network device may compare the service quality of the candidate terminal with the terminal currently used as the first master TSN clock node, and if the service quality of the candidate terminal is higher, the candidate terminal is determined to be the target clock reference terminal. If the service quality of the terminal currently used as the first master TSN clock node is relatively high, it is determined that the terminal currently used as the first master TSN clock node is the target clock reference terminal.
  • the second access network device may not determine the candidate terminal as the target clock reference terminal, but may directly determine the terminal currently used as the second master TSN clock node as the target clock reference terminal. In this case, the second access network device may perform clock synchronization with the target clock reference terminal, or the second access network device may perform clock synchronization with the access network device to which the target clock reference terminal belongs.
  • the terminals that need to be switched are some of the terminals in the first terminal group, and the terminals that need to be switched include the first clock reference terminal, and the first clock reference terminal is used as the second master TSN clock node,
  • the second master TSN clock node is the master TSN clock node of the first access network device, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the first information includes at least one of the following:
  • the first clock refers to the terminal identifier and specifies the QoS flow identifier
  • the second access network device may receive information indicating the first clock reference terminal. For example, the second access network device may receive the first clock reference terminal. Refer to one or more of the terminal identifier, the designated QoS flow identifier, and the designated DRB identifier.
  • the first information further includes at least one of the following: a terminal group identifier of the first terminal group, terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, TSN service identifier, and TSN group identifier , TSN clock domain identifier to which it belongs, and TSN time domain identifier to which it belongs.
  • the first information may include the terminal group identification of the first terminal group, and the first terminal group except the first clock reference terminal.
  • the second access network device can obtain the requirement
  • the service group attribution information or terminal group attribution information of the switched terminal belongs to the corresponding terminal group or service group.
  • the first information may include information for identifying the first clock reference terminal, and may also include the terminal group of the first terminal group An identifier, one or more of the terminal identifiers of other terminals in the first terminal group except the first clock reference terminal, the TSN service identifier, the TSN group identifier, the TSN clock domain identifier to which it belongs, and the TSN time domain identifier to which it belongs,
  • the second access network device can determine the first clock reference terminal among the terminals that need to be switched, and can obtain more information about the terminals that need to be switched, so as to attribute the terminals that need to be switched to the corresponding terminal group or Business group.
  • the second access network device may also perform at least one of the following operations: determining the first clock reference terminal as the target clock reference terminal. Establish a designated QoS flow or designated wireless data bearer with the target clock reference terminal, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the second access network device may directly determine the first clock reference terminal as the target clock reference terminal.
  • the handover command sent by the second access network device may include information instructing the first clock reference terminal to establish a specified QoS flow or establish a specified wireless data bearer.
  • the second access network device can establish a designated QoS flow or a designated wireless data bearer with the target clock reference terminal, so that the target clock reference terminal can send a TSN to the second access network device through the designated QoS flow or designated wireless data bearer Clock information, the second access network device can perform clock synchronization according to the TSN clock information, so as to implement the target clock reference to the clock synchronization under the TSN service supported by the terminal.
  • the second access network device may not determine the first clock reference terminal as the target clock reference terminal, that is, the second access network device may determine the terminal currently used as the first master TSN clock node It is a target clock reference terminal.
  • the second access network device can synchronize the clock with the target clock reference terminal, or the second access network device can be synchronized with the access network device to which the target clock reference terminal belongs. Perform clock synchronization.
  • the second access network device may also determine the target clock reference terminal according to the capability of the terminal. That is, the second access network device may compare the capabilities of the first clock reference terminal and the terminal currently serving as the first master TSN clock node, and determine the terminal with stronger capability as the target clock reference terminal.
  • the second access network device may compare the service quality of the first clock reference terminal with the terminal currently used as the first master TSN clock node, and if the service quality of the first clock reference terminal is higher, then determine the first clock The reference terminal is the target clock reference terminal. If the service quality of the terminal currently used as the first master TSN clock node is relatively high, it is determined that the terminal currently used as the first master TSN clock node is the target clock reference terminal.
  • the terminal to be switched includes the first clock reference terminal
  • the first clock reference terminal is used as the second master TSN clock node
  • the second master TSN clock node is the first access network device
  • the next master TSN clock node, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the second access network device may also perform the following operations: when the first clock reference terminal changes, receive a change message, where the change message is used to notify the second access network device that the second master TSN clock node has changed.
  • the change of the second master TSN clock node may include the terminal switching used as the second master TSN clock node, the terminal used as the second master TSN clock node is powered off, and the terminal used as the second master TSN clock node is abnormal.
  • the terminal serving as the second master TSN clock node moves outside the coverage of the first access network device, etc. This embodiment does not limit this.
  • the first clock reference terminal used as the second master TSN clock node when the first clock reference terminal used as the second master TSN clock node is changed, the first clock reference terminal is no longer used as the second master TSN clock node, that is, the first access network device does not Then synchronize the clock with the first clock reference terminal.
  • the terminal to be switched includes the first clock reference terminal, if the first clock reference terminal is changed, that is, when the first clock reference terminal is no longer used as the second master TSN clock node, the second access The network device may determine that the first clock reference terminal is no longer used as the first master TSN clock node through the change message sent by the first access network device.
  • the change message may include at least one of the following: a change indication, a TSN service identifier, a first clock reference terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network to which the target terminal belongs.
  • a change indication e.g., a change indication, a TSN service identifier, a first clock reference terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network to which the target terminal belongs
  • the target terminal refers to a newly determined terminal used as the second master TSN clock node.
  • the change indication may be used by the second access network device to determine that the first clock reference terminal is no longer used as the second master TSN clock node.
  • the TSN service identifier may be used by the second access network device to determine the TSN service type supported by the first clock reference terminal.
  • the TSN clock domain identifier to which it belongs may be used by the second access network device to determine the corresponding clock domain during transmission of the TSN service supported by the first clock reference terminal.
  • the first clock reference terminal identifier may be used by the second access network device to determine the first clock reference terminal among the terminals that need to be handed over.
  • the TSN group identifier refers to the identifier of the service group to which the TSN service supported by the first clock reference terminal belongs, or the TSN group identifier refers to the TSN supported by the first terminal group at the second master TSN clock node In the case of the main TSN clock node of the service, the identity of the terminal group formed by all the terminals supporting the TSN service. It should be noted that the terminals supporting the TSN service may belong to the same access network device, or may belong to different access network devices, which is not limited in this embodiment.
  • the change message may include the change instruction, the TSN service identifier, the first clock reference terminal identifier, the TSN clock domain identifier to which it belongs, the serving cell identifier to which the target terminal belongs, the access network device identifier to which the target terminal belongs, and the TSN group identifier. , One or more of the terminal group identification of the first terminal group, and the terminal identifications of other terminals in the first terminal group except the first clock reference terminal identification. In this way, the second access network device can follow the change message , Determine a more suitable terminal as the first master TSN clock node.
  • the second access network device may also perform the following operation: send a change message to the terminals in the second terminal group under the second access network device.
  • the second access network device may send the change message to the terminals of the second terminal group.
  • the terminals in the second terminal group may also determine that the first clock reference terminal is no longer used as the second master TSN clock node.
  • the second access network device may send the change message to the terminals in the second terminal group in a manner of broadcast, unicast, or dedicated RRC message.
  • the terminal to be switched includes the first clock reference terminal
  • the first clock reference terminal is used as the second master TSN clock node
  • the second master TSN clock node is the first access network device
  • the next master TSN clock node, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group.
  • the second access network device can also perform the following operations:
  • the second access network device determines that the terminal to be switched corresponds to a designated QoS flow or a designated wireless data bearer, it can be determined that the terminal can be used as the second master TSN clock node.
  • the second access network device determines that the terminal to be handed over does not correspond to the designated QoS flow or designated wireless data bearer, it can be determined that the terminal cannot be used as the second master TSN clock node.
  • the second access network device determines that the terminal to be handed over is capable of establishing a designated QoS flow or designated wireless data bearer, it can be determined that the terminal can be used as the second master TSN clock node.
  • the second access network device determines that the terminal that needs to be switched is not capable of establishing a designated QoS flow or a designated wireless data bearer, it can be determined that the terminal cannot be used as a second master TSN clock node.
  • the designated identifier is the identifier of the terminal used as the second master TSN clock node.
  • the identifier may be pre-configured, or instructed or configured by the network device to the terminal.
  • the identifier may be configured by the CNC node to the terminal, and the identifier may also be configured by the first access network device to the terminal.
  • this embodiment does not limit this.
  • the second access network device determines that the terminal to be switched corresponds to the identifier of the second master TSN clock node, it can be determined that the terminal can be used as the second master TSN clock node.
  • the second access network device determines that the terminal that needs to be switched does not correspond to the identifier of the second master TSN clock node, it can be determined that the terminal cannot be used as the second master TSN clock node.
  • the second access network device may receive the first information during the handover process In this way, the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine a suitable master TSN clock node for clock synchronization during the switching process.
  • the first information may include related information of the first clock reference terminal, and the second access network device may use the first information to switch between The terminal determines the first clock reference terminal.
  • the second access network device can directly determine the first clock reference terminal as the target clock reference terminal, that is, the first clock reference terminal can be used as the first master TSN clock node.
  • the access network device can perform clock synchronization with the target clock reference terminal.
  • the first information may include related information of the candidate terminal, and the second access network device can use the first information to switch to the terminal that needs to be handed over.
  • Candidate terminals are determined in.
  • the second access network device can directly determine the candidate terminal as the target clock reference terminal, that is, the candidate terminal can be used as the first master TSN clock node, so that the second access network device can communicate with
  • the target clock refers to the terminal for clock synchronization.
  • the second access network device may not determine the candidate terminal as the target clock reference terminal, but may directly determine the terminal currently used as the second master TSN clock node as the target clock reference terminal.
  • the second access network device may receive the change message sent by the first access network device, and so , The second access network device can determine in time that the first clock reference terminal is no longer used as the second master TSN clock node. On this basis, the second access network device can select a more appropriate terminal to be used as the first master TSN clock node.
  • FIG. 7 is a flowchart of a clock synchronization method according to an exemplary embodiment.
  • the clock synchronization method can be applied to the implementation environment shown in FIG.
  • the third access network device can be the first access network device or the second access network device, that is, the third access network device can be the source access network device or the target Access network equipment.
  • the clock synchronization method may include at least part of the following content:
  • Step 701 When the second clock reference terminal is changed, determine the target terminal in the third terminal group.
  • the second clock reference terminal is used as the third master TSN clock node
  • the third master TSN clock node is the master TSN clock node under the third access network device, or the third master TSN clock node is supported by the third terminal group
  • the main TSN clock node of the TSN service the target terminal is the newly determined terminal used as the third main TSN clock node
  • the third terminal group is the terminal group where the second clock reference terminal is located, and the terminals in the third terminal group support
  • the TSN service types are the same.
  • the change of the second master TSN clock node may include the terminal switching used as the second master TSN clock node, the terminal used as the second master TSN clock node is powered off, and the terminal used as the second master TSN clock node is abnormal.
  • the terminal serving as the second master TSN clock node moves outside the coverage of the first access network device, etc. This embodiment does not limit this.
  • the third master TSN clock node may be the master TSN clock node of the third terminal group under the third access network device, and the third master TSN clock node The node may also be the main TSN clock node of the TSN service supported by the third terminal group.
  • step 301 in the embodiment of FIG. 3, which will not be repeated here.
  • the terminal used as the second master TSN clock node when the terminal used as the second master TSN clock node is changed, the terminal is no longer used as the second master TSN clock node, that is, the third access network device is no longer associated with the second master TSN.
  • the terminal of the TSN clock node performs clock synchronization.
  • the third access network device can determine the target terminal in the third terminal group, that is, determine the terminal that can be used as the third master TSN clock node, so that the third access network device can communicate with the target terminal Perform clock synchronization.
  • the third access network device may select the terminal with the highest clock accuracy in the third terminal group as the target terminal, or select the terminal with the smallest local oscillator as the target terminal in the third terminal group, and may also select the terminal with the smallest local oscillator as the target terminal in the third terminal group.
  • the terminal with the highest quality of service is selected from the terminal group as the target terminal, etc., which is not limited in this embodiment.
  • the third access network device may also perform the following operations: establish a designated QoS flow or designated wireless data bearer with the target terminal, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the specified QoS flow may include specified uplink QoS flow, specified downlink QoS flow, and may also include specified uplink QoS flow and specified downlink QoS flow, which is not limited in this embodiment.
  • the designated wireless data bearer may include a designated uplink wireless data bearer, may also include a designated downlink wireless data bearer, and may also include both a designated uplink wireless data bearer and a designated downlink wireless data bearer, which is not limited in this embodiment.
  • the third access network device can establish a designated QoS flow or designated wireless data bearer with the target terminal.
  • the target terminal can send a designated QoS flow or designated wireless data bearer to the first terminal.
  • the access network device sends TSN clock information, and the first access network device can synchronize clocks with the target terminal according to the TSN clock information.
  • the target terminal is determined by at least one of the following nodes: core network node, CNC node, third access network device, all terminals in the third terminal group, any terminal in the third terminal group, The designated terminal in the three terminal group, the second clock reference terminal.
  • the core network nodes may include AMF nodes, SMF nodes, etc., which are not limited in this embodiment.
  • the designated terminal in the third terminal group may be designated by the third access network device, or may be designated by the core network node, which is not limited in this embodiment.
  • the second clock refers to one or more of the terminals to determine the target terminal.
  • the third access network device may determine the target terminal in the third terminal group.
  • the third access network device and the second clock reference terminal may also jointly determine the target terminal in the third terminal group, which is not limited in this embodiment.
  • the second access network device may also perform the following operations: in a case where the target terminal is determined by the third access network device, send a change message to the first node, the change message includes the terminal identifier of the target terminal.
  • the terminal identifier of the target terminal may be used by the first node to determine the target terminal among multiple terminals within the coverage area of the second access network.
  • the terminal identification of the target terminal may be the ID of the target terminal.
  • the third access network device can determine the relevant information of the target terminal, and thus can generate a change message, and the third access network device can Send a change message to the first node to indicate that the second clock reference terminal of the first node has changed, and the first node may, according to the terminal identification of the target terminal included in the change message, be within the coverage of the third access network device Identify the target terminal among multiple terminals.
  • the third access network device may send the change message to the first node in a manner of broadcast, unicast, or dedicated RRC message.
  • the change message also includes at least one of the following: a change instruction, a TSN service identifier, a TSN clock domain identifier to which it belongs, a second clock reference terminal identifier, a serving cell identifier to which the target terminal belongs, and an access network device to which the target terminal belongs.
  • a change instruction a TSN service identifier
  • TSN clock domain identifier to which it belongs
  • second clock reference terminal identifier a serving cell identifier to which the target terminal belongs
  • an access network device to which the target terminal belongs
  • the change indication may be used by the first node to determine that the second clock reference terminal is no longer used as the second master TSN clock node.
  • the TSN service identifier can be used by the first node to determine the TSN service type supported by the target terminal. In this way, if the TSN service type supported by the first node is the same as the TSN service type supported by the target terminal, the first node may be the same as the TSN service type supported by the target terminal.
  • the target terminal performs clock synchronization.
  • the identifier of the TSN clock domain to which it belongs may be used by the first node to determine the corresponding clock domain during transmission of the TSN service supported by the target terminal.
  • the terminal group identifier of the third terminal group may be used by the first node to determine the terminal group to which the target terminal belongs.
  • the terminal group identifier of the third terminal group may be the ID of the third terminal group.
  • the second clock reference terminal identifier may be used by the first node to determine the second clock reference terminal among multiple terminals within the coverage area of the third access network device.
  • the identity of the serving cell to which the target terminal belongs may be used by the first node to determine the serving cell to which the target terminal belongs.
  • the multiple access network devices can use the same master TSN clock node for clock synchronization.
  • the serving cell to which the target terminal belongs may not be the first node The serving cell to which it belongs.
  • the serving cell to which the target terminal belongs is the first 3. Cells within the coverage of the access network equipment. If the target terminal is within the coverage of the second access network device, the serving cell to which the target terminal belongs is a cell within the coverage of the second access network device.
  • the identifier of the access network device to which the target terminal belongs may be used by the first node to determine the access network device to which the target terminal belongs.
  • the multiple access network devices can use the same master TSN clock node for clock synchronization.
  • the access network device to which the target terminal belongs may not be the same.
  • the access network device to which the first node belongs may not be the same.
  • the access network device to which the target terminal belongs It is the third access network device. If the target terminal is within the coverage of the second access network, the access network device to which the target terminal belongs is the second access network device.
  • the TSN group identifier refers to the identifier of the service group to which the TSN service supported by the second clock reference terminal belongs, or the TSN group identifier refers to the TSN supported by the third terminal group at the third master TSN clock node In the case of the main TSN clock node of the service, the identity of the terminal group formed by all the terminals supporting the TSN service. It should be noted that the terminals supporting the TSN service may belong to the same access network device, or may belong to different access network devices, which is not limited in this embodiment.
  • the change message sent by the third access network device may also include a change indication, TSN service identifier, TSN clock domain identifier to which it belongs, second clock reference terminal identifier, and target terminal identifier.
  • the serving cell identity to which the terminal belongs, the access network device identity to which the target terminal belongs, the TSN group identity, the terminal group identity of the third terminal group, and the terminal identities of other terminals in the third terminal group except the second clock reference terminal In this way, the first node can obtain more information about the target terminal.
  • the first node includes at least one of the following: all terminals supporting the TSN service corresponding to the third terminal group, all terminals under the third access network device, all terminals in the third terminal group, and the third terminal group In addition to the target terminal, other terminals, the second clock reference terminal, and the target terminal.
  • the third access network device can provide all terminals supporting the TSN service corresponding to the third terminal group, all terminals under the third access network device, all terminals in the third terminal group, and except for the third terminal group. Terminals other than the target terminal, the second clock reference terminal, and one or more of the target terminals send a change message.
  • the third access network device may send a change message to all terminals under the third access network device, and may also send a change message to the second clock reference terminal and the target terminal, which is not limited in this embodiment.
  • the second access network device may also perform the following operations: the target terminal is composed of all terminals in the third terminal group, any terminal in the third terminal group, the second clock reference terminal, and the first clock If the reference terminal or the designated terminal in the third terminal group is determined, the change message is received, and the change message includes the terminal identifier of the target terminal.
  • the third access network device can pass The change message is received, and the target terminal is determined in the third terminal group.
  • the second access network device may also perform the following operations: send a change message to the first node.
  • the second access network device may send the change message to the first node to instruct the first node that the second clock reference terminal is no longer used as the third master TSN Clock node.
  • the second access network device may also perform the following operations: when the target terminal is determined by a core network node or a CNC node, a change message is received, and the change message includes the terminal identification of the target terminal.
  • the third access network device can receive the change message sent by the core network node, so that the target terminal can be determined in the third terminal group according to the change message.
  • the change message may be sent by the core network node to the third access network device through a NAS (Non-Access Stratum, non-access stratum) message.
  • NAS Non-Access Stratum, non-access stratum
  • the second clock reference terminal when the second clock reference terminal is changed, the second clock reference terminal is no longer used as the third master TSN clock node, that is, the third access network device can no longer reference the second clock The terminal performs clock synchronization.
  • the third access network device may determine the appropriate master TSN clock node to perform clock synchronization in the third terminal group to which the second clock reference terminal belongs.
  • the third access network device may also instruct the second clock reference terminal to release or suspend the specified QoS flow or the specified wireless data bearer.
  • FIG. 9 is a flowchart of a clock synchronization method according to an exemplary embodiment.
  • the clock synchronization method can be applied to the implementation environment shown in FIG. 2 and executed by the first terminal.
  • the clock synchronization method may include at least part of the following content:
  • Step 901 When the first terminal is used as the first master TSN clock node, send TSN clock information to the first access network device.
  • the first master TSN clock node is the master TSN clock node under the first access network device, or the first master TSN clock node is the master TSN clock of the TSN service supported by the first terminal group under the first access network device
  • the TSN service types supported by the terminals in the first terminal group are the same.
  • the first master TSN clock node may be the master TSN clock node of the first terminal group under the first access network device, and the first master TSN clock node The node may also be the main TSN clock node of the TSN service supported by the first terminal group.
  • step 301 in the embodiment of FIG. 3, which will not be repeated here.
  • the first terminal when the first terminal is used as the first master TSN clock node, the first terminal can send TSN clock information to the first access network device, so that the first access network device can perform clock synchronization according to the TSN clock information .
  • the TSN clock information includes at least one of the following: TSN service arrival time, TSN service departure time, TSN time domain identifier to which it belongs, TSN clock domain identifier to which it belongs, time information, time information type, clock synchronization accuracy information, SFN (System Frame Number) information and propagation delay compensation instructions.
  • the TSN service arrival time refers to the transmission start time of the TSN service supported by the first terminal
  • the TSN service departure time refers to the transmission end time of the TSN service supported by the first terminal
  • the identifier of the TSN clock domain to which it belongs may be used by the first access network device to determine the corresponding clock domain during transmission of the TSN service supported by the first terminal.
  • the TSN time domain identifier to which it belongs may be used by the first access network device to determine the corresponding time domain during transmission of the TSN service supported by the first terminal.
  • the clock synchronization accuracy information may be used by the first access network device to determine the clock synchronization accuracy of the first terminal.
  • the time information may be used to indicate time.
  • the time information may be second-level time information, nanosecond-level time information, etc., which is not limited in this embodiment.
  • the time information type can be used by the first access network device to determine the type of time information.
  • the time information type can be a default type, a request type, a response type, etc., which is not limited in this embodiment. .
  • the SFN information may be used by the first access network device to determine the system frame number when the first terminal sends the TSN clock information.
  • the propagation delay compensation indication may be used by the first access network device to determine whether the first terminal performs propagation delay compensation.
  • the first terminal may send TSN service arrival time, TSN service departure time, TSN time domain identifier to which it belongs, TSN clock domain identifier to which it belongs, time information, time information type, and clock synchronization accuracy information to the first access network device.
  • the first terminal may not send the TSN clock information to the first network device, but directly send the TSN clock information to the core network node.
  • the core network node may forward the TSN clock information.
  • the first terminal may also perform the following operation: in a case where the reference event is triggered, send updated TSN clock information to the first access network device. Or, send updated TSN clock information to the first access network device every designated time period.
  • both the reference event and the specified duration can be set according to actual conditions, which is not limited in this embodiment.
  • the first terminal when the reference event is triggered, it can indicate that the TSN clock information has been updated. Therefore, the first terminal can send the updated TSN clock information to the first access network device. In this case, the first terminal can send the updated TSN clock information to the first access network device.
  • the access network device may perform clock synchronization with the first terminal according to the updated TSN clock information.
  • the first terminal when the specified time period has passed since the last time the TSN clock information was sent, it may indicate that the TSN clock information has been updated. Therefore, the first terminal can send the updated TSN clock information to the first access network device. In this case, the first access network device may perform clock synchronization with the first terminal according to the updated TSN clock information.
  • the updated TSN clock information can be carried in designated DRB, designated QoS flow, dedicated RRC message, MAC CE (Medium Access Control Control Element, media access control control element) or physical layer signaling, etc., in this implementation
  • DRB designated DRB
  • QoS flow dedicated RRC message
  • MAC CE Medium Access Control Control Element, media access control control element
  • physical layer signaling etc.
  • the specified QoS flow may include specified uplink QoS flow, specified downlink QoS flow, and may also include specified uplink QoS flow and specified downlink QoS flow, which is not limited in this embodiment.
  • the designated wireless data bearer may include a designated uplink wireless data bearer, may also include a designated downlink wireless data bearer, and may also include both a designated uplink wireless data bearer and a designated downlink wireless data bearer, which is not limited in this embodiment.
  • the triggering of the reference event includes at least one of the following: TSN service arrival, TSN clock information change, and TSN clock information change granularity is greater than or equal to a specified threshold granularity.
  • the specified threshold granularity can be set according to actual conditions, which is not limited in this embodiment.
  • the TSN service when it arrives, it may indicate that the TSN clock information needs to be updated.
  • the first terminal may send the updated TSN clock information to the first access network device.
  • the first access The network device may synchronize with the first terminal according to the updated TSN clock information, so as to realize clock synchronization under the TSN service supported by the first terminal, and ensure the transmission reliability of the TSN service supported by the first terminal.
  • the TSN clock information when the TSN clock information is changed, it may indicate that the TSN clock information needs to be updated.
  • the first terminal may send the updated TSN clock information to the first access network device.
  • the first access The network device may synchronize with the first terminal according to the updated TSN clock information, so as to realize clock synchronization under the TSN service supported by the first terminal.
  • the first terminal may send a notification to the first access network The device sends updated TSN clock information.
  • the first access network device can synchronize with the first terminal according to the updated TSN clock information, so as to achieve clock synchronization under the TSN service supported by the first terminal.
  • the first terminal can Send the updated TSN clock information to the first access network device.
  • the first terminal may not send the updated TSN clock information to the first network device, but directly send the updated TSN clock information to the core network node.
  • the core network node may use the updated TSN clock information to send the updated TSN clock information. Clock information is forwarded.
  • the first terminal is used as the first master TSN clock node, and before sending TSN clock information to the first access network device, the first terminal may also perform the following operations: Establish a designated QoS flow or designated wireless data bearer, and a designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the first terminal may receive the designated QoS flow establishment signaling or the designated wireless data bearer establishment signaling of the first access network device.
  • the first terminal can establish a designated QoS flow or designated wireless data bearer according to the designated QoS flow establishment signaling or designated wireless data bearer establishment signaling, so that the first terminal can use the designated QoS flow or designated wireless data bearer.
  • the wireless data bearer sends TSN clock information to the first access network device.
  • the first terminal when the first terminal is used as the first master TSN clock node, the first terminal may also perform the following operations: when the first master TSN clock node is changed, if the first terminal If it is not the target terminal, release or suspend the specified QoS flow or the specified wireless data bearer.
  • the target terminal is a newly determined terminal used as the first master TSN clock node.
  • the change of the first master TSN clock node may include: the first terminal is switched, the first terminal is powered off, the first terminal is abnormal, the first terminal moves outside the coverage of the first access network device, etc., in this implementation
  • the example does not limit this.
  • the first terminal when the first master TSN clock node changes, the first terminal is no longer used as the first master TSN clock node, that is, the first access network device no longer performs clock synchronization with the first terminal.
  • the first terminal can release the specified QoS flow or the specified wireless data bearer.
  • the first terminal may delete the designated QoS flow or designated wireless data bearer corresponding to the first terminal before the target terminal establishes the designated QoS flow or designated wireless data bearer. In this way, the first terminal cannot send TSN clock information to the first access network device or core network node or other terminals.
  • the first terminal may suspend the designated QoS flow or designated wireless data bearer. That is, the first terminal may suspend use of the designated QoS flow or designated wireless data bearer. In this way, the first terminal cannot send TSN clock information to the first access network device or core network node or other terminals.
  • the target terminal is determined by at least one of the following nodes: core network node, centralized network controller CNC node, first terminal, first access network device, all terminals in the first terminal group, first terminal Any terminal in the group, a designated terminal in the first terminal group, and the first terminal.
  • the core network nodes may include AMF nodes, SMF nodes, etc., which are not limited in this embodiment.
  • the designated terminal in the first terminal group may be designated by the first access network device, or may be designated by the core network node, which is not limited in this embodiment.
  • the core network node when the first clock reference terminal is changed, the core network node, the CNC node, the first terminal, the first access network device, all the terminals in the first terminal group, and the One or more of any terminal, the designated terminal in the first terminal group, and the first terminal determines the target terminal.
  • the first access network device may determine the target terminal in the first terminal group.
  • the first access network device and the first clock reference terminal may also jointly determine the target terminal in the first terminal group, which is not limited in this embodiment.
  • the first terminal may also perform the following operations: determine a change message, where the change message includes the terminal identifier of the target terminal.
  • the first terminal can determine the relevant information of the target terminal, that is, the terminal identification of the target terminal can be determined, and thus the change message can be generated.
  • the target terminal is composed of the core network node, the centralized network controller CNC node, the first terminal, the first access network device, all the terminals in the first terminal group, any terminal in the first terminal group, the first terminal In the case where one or more of the designated terminals in the terminal group are determined, since the first terminal has not directly determined the target terminal, the first terminal cannot determine the relevant information of the target terminal. In this case, the first terminal Can receive change messages.
  • the change message further includes at least one of the following: a change instruction, a TSN service identifier, a first terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network device identifier to which the target terminal belongs,
  • the TSN service identifier can be used by the first terminal to determine the type of TSN service supported by the target terminal.
  • the TSN clock domain identifier to which it belongs may be used by the first terminal to determine the corresponding clock domain during transmission of the TSN service supported by the target terminal.
  • the identity of the serving cell to which the target terminal belongs may be used by the first terminal to determine the serving cell to which the target terminal belongs.
  • the identifier of the access network device to which the target terminal belongs may be used by the first terminal to determine the access network device to which the target terminal belongs.
  • the TSN group identifier refers to the identifier of the terminal group formed by all terminals supporting the TSN service when the first master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. It should be noted that the terminals supporting the TSN service may belong to the same access network device, or may belong to different access network devices, which is not limited in this embodiment.
  • the change message may also include a change indication, TSN service identification, first terminal identification, TSN clock domain identification, service cell identification to which the target terminal belongs, and target terminal identification.
  • TSN service identification a change indication
  • first terminal identification a terminal identification of the target terminal
  • TSN clock domain identification service cell identification to which the target terminal belongs
  • target terminal identification One or more of the access network equipment identifier, the TSN group identifier, the terminal group identifier of the first terminal group, and the terminal identifiers of other terminals in the first terminal group except the first terminal.
  • the first terminal may Get more information about the target terminal.
  • the first terminal may also perform the following operation: send a change message to the first node.
  • the first terminal may send the change message to the first node to indicate that the first node and the first terminal are no longer used as the first master TSN clock node.
  • the first node includes at least one of the following: all terminals supporting the TSN service corresponding to the first terminal group, all terminals under the first access network device, all terminals in the first terminal group, target terminals, and The other terminals in a terminal group except the target terminal.
  • the first terminal can exclude all terminals supporting the TSN service corresponding to the first terminal group, all terminals under the first access network device, all terminals in the first terminal group, target terminals, and the first terminal group.
  • One or more of the terminals other than the target terminal sends a change message.
  • Step 902 When the first terminal is not used as the first master TSN clock node, receive TSN clock information.
  • the first terminal can receive TSN clock information, so that the first terminal can communicate with the first access network based on the TSN clock information.
  • the device performs clock synchronization.
  • the TSN clock information may be carried in designated downlink DRB, designated downlink QoS flow, broadcast message, dedicated RRC message, etc., which is not limited in this embodiment.
  • the first terminal may also perform the following operations: when the first master TSN clock node is changed, if the first master TSN clock node is changed, if the first If the terminal is a target terminal, a designated QoS flow or designated wireless data bearer is established with the first access network device. Wherein, the target terminal is a newly determined terminal used as the first master TSN clock node.
  • the first terminal When the first master TSN clock node changes, the first terminal is no longer used as the first master TSN clock node.
  • the first terminal if the first terminal is the target terminal, that is, if the first terminal is a newly determined terminal used as the first master TSN clock node, the first terminal can establish a specified QoS flow with the first access network device Or a designated wireless data bearer, so that the first terminal can send TSN clock information to the first access network device through the designated QoS flow or designated wireless data bearer.
  • the target terminal is determined by at least one of the following nodes: core network node, CNC node, first access network device, all terminals in the first terminal group, any terminal in the first terminal group, The designated terminal and the first terminal in a terminal group.
  • step 901 in the embodiment in FIG. 9, and details are not repeated here.
  • the first terminal may also perform the following operations: determine a change message, where the change message includes the terminal identifier of the target terminal.
  • step 901 in the embodiment in FIG. 9, and details are not repeated here.
  • the change message further includes at least one of the following: a change instruction, a TSN service identifier, a first terminal identifier, a TSN clock domain identifier to which it belongs, a serving cell identifier to which the target terminal belongs, and an access network device identifier to which the target terminal belongs,
  • step 901 in the embodiment in FIG. 9, and details are not repeated here.
  • the first terminal may also perform the following operation: send a change message to the first node.
  • step 901 in the embodiment in FIG. 9, and details are not repeated here.
  • the first node includes at least one of the following: all terminals supporting the TSN service corresponding to the first terminal group, all terminals under the first access network device, all terminals in the first terminal group, target terminals, and The other terminals in a terminal group except the target terminal.
  • step 901 in the embodiment in FIG. 9, and details are not repeated here.
  • the first terminal may also perform the following operations:
  • the first terminal corresponds to a designated QoS flow or designated wireless data bearer, or the first terminal has the ability to establish a designated QoS flow or designated wireless data bearer, the first terminal is determined to be used as the first master TSN clock node, and the QoS is designated The flow or designated wireless data bearer is used to transmit TSN clock information.
  • the first terminal when the first terminal corresponds to a designated QoS flow or a designated wireless data bearer, it indicates that the first terminal can be used as the first master TSN clock node. When the first terminal does not correspond to the designated QoS flow or designated wireless data bearer, it indicates that the first terminal cannot be used as the first master TSN clock node.
  • the first terminal when the first terminal is capable of establishing a designated QoS flow or designated wireless data bearer, it indicates that the first terminal can be used as the first master TSN clock node.
  • the first terminal When the first terminal is unable to establish a designated QoS flow or designated wireless data bearer, it can be determined that the first terminal cannot be used as the first master TSN clock node.
  • the first terminal receives the designated QoS flow establishment signaling or the designated wireless data bearer establishment signaling, it is determined that the first terminal is used as the first master TSN clock node.
  • the designated QoS flow establishment signaling is used to instruct the first terminal to establish a designated QoS flow
  • the designated wireless data bearer establishment signaling is used to instruct the first terminal to establish a designated wireless data bearer
  • the designated QoS flow or designated wireless data bearer is used to transmit TSN Clock information.
  • the first terminal can determine whether the first terminal can be used as the first master TSN clock node by determining whether to receive the designated QoS flow establishment signaling or the designated wireless data bearer establishment signaling.
  • the first terminal when the first terminal receives the designated QoS flow establishment signaling or the designated wireless data bearer establishment signaling, it indicates that the first terminal can be used as the first master TSN clock node. In this way, the first terminal may establish a specified QoS flow or a specified wireless data bearer based on the specified QoS flow establishment signaling or specified wireless data bearer establishment signaling. In this case, the first terminal may send TSN clock information to the first access network device, and the TSN clock information may be used for clock synchronization between the first access network device and the first terminal.
  • the first terminal when the first terminal does not receive the designated QoS flow establishment signaling or the designated wireless data bearer establishment signaling, it indicates that the first terminal cannot be used as the first master TSN clock node.
  • the first terminal may receive the TSN clock information sent by the first access network device.
  • the first terminal may perform clock synchronization with the first access network device based on the TSN clock information.
  • the first terminal has a designated identifier, it is determined that the first terminal is used as the first master TSN clock node.
  • the designated identifier is the identifier of the terminal used as the first master TSN clock node.
  • the identifier may be pre-configured, or instructed or configured by the network device to the terminal.
  • the identifier may be configured by the CNC node to the terminal, and the identifier may also be configured by the first access network device to the terminal.
  • this embodiment does not limit this.
  • the first terminal can determine whether the first terminal can be used as the first master TSN clock node by determining whether it corresponds to the identifier of the third master TSN clock node.
  • the first terminal when the first terminal corresponds to the identifier of the first master TSN clock node, it can be determined that the terminal can be used as the first master TSN clock node.
  • the first terminal may send TSN clock information to the first access network device, and the TSN clock information may be used for clock synchronization between the first access network device and the first terminal.
  • the first terminal may receive the TSN clock information sent by the first access network device.
  • the first terminal may perform clock synchronization with the first access network device based on the TSN clock information.
  • the first terminal when the first terminal is used as the first master TSN clock node, the first terminal can send TSN clock information to the first access network device. In this way, the first access network device can The TSN clock information performs clock synchronization with the first terminal. In the case that the first terminal is not used as the first master TSN clock node, the first terminal may receive TSN clock information, so that the first terminal may perform clock synchronization with the first access network device based on the TSN clock information.
  • FIG. 10 is a structural diagram of a clock synchronization device according to an exemplary embodiment.
  • the device may be configured in a terminal, and the device may include:
  • the sending module 1010 is configured to send first information to the second access network device in the handover process when the terminals in the first terminal group need to be handed over; wherein, the time period supported by the terminals in the first terminal group
  • the sensitive network TSN has the same service type.
  • the first information is used by the second access network device to determine the target clock reference terminal.
  • the target clock reference terminal is used as the first master TSN clock node, and the first master TSN clock node is the The master TSN clock node of the second terminal group under the second access network device, or the first master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group; the terminals in the second terminal group
  • the supported TSN service types are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group.
  • the terminal to be switched includes a first clock reference terminal, the first clock reference terminal is used as a second master TSN clock node, and the second master TSN clock node is the first interface
  • the main TSN clock node under the networked device, or the second main TSN clock node is the main TSN clock node of the TSN service supported by the first terminal group;
  • the first information includes at least one of the following: a first clock reference terminal Identifier; the designated QoS flow identifier, the QoS flow indicated by the designated QoS flow identifier is used to transmit TSN clock information;
  • the designated wireless data bearer DRB identifier the wireless data bearer indicated by the designated DRB identifier is used to transmit the TSN clock information.
  • the terminal to be switched does not include the first clock reference terminal, the first clock reference terminal is used as the second master TSN clock node, and the second master TSN clock node is the first The main TSN clock node under the access network device, or the second main TSN clock node is the main TSN clock node of the TSN service supported by the first terminal group;
  • the first information includes: a candidate terminal identifier, and the candidate terminal is The first access network device is determined from the terminal that needs to be handed over.
  • the first information further includes at least one of the following: the terminal group identifier of the first terminal group; the information of other terminals in the first terminal group except the first clock reference terminal Terminal ID; TSN service ID; TSN group ID; TSN clock domain ID to which it belongs; TSN time domain ID to which it belongs.
  • the terminals that need to be switched are part of the terminals in the first terminal group, and the terminals that need to be switched include the first clock reference terminal; the device further includes: an establishment module 1020, Establish a designated QoS flow or designated wireless data bearer with a target terminal among the terminals that do not need to be handover included in the first terminal group, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information; where the target terminal is The re-determined terminal is used as the second master TSN clock node.
  • the target terminal is determined by at least one of the following nodes: the first access network device; the core network node; the centralized network controller CNC node; the first terminal group is not All terminals that need to be switched; any one of all terminals in the first terminal group that do not need to be switched; a designated terminal among all terminals that do not need to be switched in the first terminal group; the first clock reference terminal.
  • the terminals that need to be switched are part of the terminals in the first terminal group, and the terminals that need to be switched do not include the first clock reference terminal; the device further includes: a clock synchronization module 1030 , Used for clock synchronization with the first clock reference terminal.
  • the first information is carried by a handover request; or, the first information is sent after receiving an information sending instruction sent by the second access network device Yes, the information sending instruction is used to instruct the first access network device to send the first information.
  • the sending module 1010 is further configured to: if the second master TSN clock node changes at the first time point, send a change message to the second access network device, and the change message is Informing the second access network device that the second master TSN clock node has changed; wherein, the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN The clock node is the main TSN clock node of the TSN service supported by the first terminal group.
  • the first time point includes at least one of the following situations: after the first clock reference terminal used as the second master TSN clock node is changed; in the first access After the network device sends the handover request; after the first access network device receives the handover response message of the second access network device; after the first access network device sends the handover request, to the first network device In the time period before the terminal that needs to switch sends the switching command; in the time period after the first access network device sends the switching request to before the terminal that needs to switch establishes a connection with the second access network device; in the first access network device Before releasing the connection between an access network device and the terminal.
  • the device further includes: a determining module 1040, configured to determine the second master TSN clock node based on whether the terminals in the first terminal group correspond to a designated QoS flow or a designated wireless data bearer Or, the determining module 1040 is configured to determine the second master TSN clock node based on whether the terminals in the first terminal group are capable of establishing the designated QoS flow or the designated wireless data bearer; wherein, the designated QoS flow or The designated wireless data bearer is used to transmit TSN clock information; the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN clock node is supported by the first terminal group The main TSN clock node of the TSN service.
  • a determining module 1040 configured to determine the second master TSN clock node based on whether the terminals in the first terminal group correspond to a designated QoS flow or a designated wireless data bearer
  • the determining module 1040 is configured to determine the second master TSN clock node based on whether
  • the first access network device in the case that the terminals in the first terminal group need to be handed over from the first access network device to the second access network device, the first access network device can connect to the second access network device during the handover process.
  • the network access device sends the first information.
  • the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine the appropriate master TSN clock node for clock synchronization during the switching process to achieve the target clock Refer to the clock synchronization under the TSN service supported by the terminal.
  • the first access network device may send information for identifying the first clock reference terminal to the second access network device.
  • the second access network device may use the first clock reference terminal as a reference to determine the first master TSN clock node.
  • the first access network device can select the target terminal from the terminals that do not need to be handed over included in the first terminal group to serve as the second master TSN clock node, so that the first access network device can communicate with the target node Performing clock synchronization ensures the continuity of clock synchronization under the TSN service supported by the first clock reference terminal.
  • the first access network device may select candidate terminals from the terminals that need to be handed over, and send the data to the second access network device.
  • the second access network device can use the candidate terminal as a reference to determine the first master TSN clock node.
  • the first clock reference terminal can continue to be used as the second master TSN clock node.
  • the first access network device can perform clock synchronization with the first clock reference terminal to ensure that the first clock reference terminal Clock synchronization under supported TSN services.
  • the terminal that needs to be switched includes the first clock reference terminal
  • the first access network device can send the information to the second access network device. Send a change message, so that the second access network device can determine in time that the first clock reference terminal is no longer used as the second master TSN clock node. On this basis, the second access network device can select a more appropriate terminal to be used as the The first master TSN clock node.
  • FIG. 11 is a structural diagram of a clock synchronization device according to an exemplary embodiment.
  • the device may be configured in a terminal, and the device may include:
  • the receiving module 1110 is configured to receive first information sent by a first access network device, where the first information is used by the first access network device when a terminal in the first terminal group needs to be handed over during the handover process Sent
  • the determining module 1120 is configured to determine a target clock reference terminal according to the first information, the target clock reference terminal is used as a first master time zone sensitive network TSN clock node, and the first master TSN clock node is the second access
  • the TSN service types supported by the terminals are the same, the TSN service types supported by the terminals in the second terminal group are the same, and the TSN service types supported by the terminals in the second terminal group are the same as the TSN service types supported by the terminals in the first terminal group. same.
  • the device further includes: a sending module 1130, configured to send the first information to the terminals in the second terminal group.
  • the terminal to be switched includes a first clock reference terminal, the first clock reference terminal is used as a second master TSN clock node, and the second master TSN clock node is the first interface
  • the main TSN clock node under the network access device, or the second main TSN clock node is the main TSN clock node of the TSN service supported by the first terminal group;
  • the receiving module 1110 is also used to: in the first clock reference terminal In the case of a change, a change message is received, and the change message is used to notify the second access network device that the second master TSN clock node has changed.
  • the device further includes: a sending module 1130, configured to send the change message to the terminals in the second terminal group.
  • the terminals that need to be switched are some of the terminals in the first terminal group, and the terminals that need to be switched include the first clock reference terminal, and the first clock reference terminal serves as the second master.
  • TSN clock node, the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group
  • the first information includes at least one of the following: a first clock reference terminal identifier; a designated quality of service flow QoS flow identifier, the QoS flow indicated by the designated QoS flow identifier is used to transmit TSN clock information; the designated wireless data bearer DRB identifier, the The wireless data bearer indicated by the designated DRB identifier is used to transmit the TSN clock information.
  • the device further includes at least one of the following: the determining module 1120 is configured to determine the first clock reference terminal as the target clock reference terminal; and the establishing module 1140 is configured to communicate with the The target clock refers to the terminal establishing a designated QoS flow or designated wireless data bearer, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the terminals that need to be switched are part of the terminals in the first terminal group, and the terminals that need to be switched do not include the first clock reference terminal, and the first clock reference terminal is used as the second clock reference terminal.
  • the master TSN clock node, the second master TSN clock node is the master TSN clock node under the first access network device, or the second master TSN clock node is the master TSN clock of the TSN service supported by the first terminal group Node;
  • the first information includes: candidate terminal identification, the candidate terminal is determined by the first access network device from the terminal that needs to be handed over.
  • the device further includes at least one of the following: the determining module 1120 is configured to determine the candidate terminal as the target clock reference terminal; and the establishing module 1140 is configured to reference the target clock
  • the terminal establishes a designated QoS flow or designated wireless data bearer, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the first information further includes at least one of the following: a terminal group identifier of the first terminal group; other terminals in the first terminal group except the first clock reference terminal TSN service identifier; TSN group identifier; TSN clock domain identifier to which it belongs; TSN time domain identifier to which it belongs.
  • the first information is carried by a handover request; or, the first information is received after the second access network device sends an information sending instruction, and the information sending instruction is used Instruct the first access network device to send the first information.
  • the terminal to be switched includes a first clock reference terminal, the first clock reference terminal is used as a second master TSN clock node, and the second master TSN clock node is the first interface
  • the main TSN clock node of the network access device, or the second main TSN clock node is the main TSN clock node of the TSN service supported by the first terminal group;
  • the determining module 1120 is also used to: based on whether the terminal to be switched Determine the second master TSN clock node corresponding to the designated QoS flow or designated wireless data bearer; or, determine the second master TSN clock based on whether the terminal to be switched is capable of establishing the designated QoS flow or designated wireless data bearer Node; the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the second access network device may receive the first information during the handover process In this way, the second access network device can determine the target clock reference terminal based on the first information. That is, the second access network device may determine the first master TSN clock node based on the first information, and the first master TSN clock node is the master TSN clock node of the second terminal group under the second access network device, or the first The master TSN clock node is the master TSN clock node of the TSN service supported by the first terminal group. In this way, the second access network device can determine a suitable master TSN clock node for clock synchronization during the switching process.
  • the first information may include related information of the first clock reference terminal, and the second access network device may use the first information to switch between The terminal determines the first clock reference terminal.
  • the second access network device can directly determine the first clock reference terminal as the target clock reference terminal, that is, the first clock reference terminal can be used as the first master TSN clock node.
  • the access network device can perform clock synchronization with the target clock reference terminal.
  • the first information may include related information of the candidate terminal, and the second access network device can use the first information to switch to the terminal that needs to be handed over.
  • Candidate terminals are determined in.
  • the second access network device can directly determine the candidate terminal as the target clock reference terminal, that is, the candidate terminal can be used as the first master TSN clock node, so that the second access network device can communicate with
  • the target clock refers to the terminal for clock synchronization.
  • the second access network device may receive the change message sent by the first access network device, and so , The second access network device can determine in time that the first clock reference terminal is no longer used as the second master TSN clock node. On this basis, the second access network device can select a more appropriate terminal to be used as the first master TSN clock node.
  • FIG. 12 is a structural diagram of a clock synchronization device according to an exemplary embodiment.
  • the device may be configured in a terminal, and the device may include:
  • the determining module 1210 is configured to determine the target terminal in the third terminal group when the second clock reference terminal is changed; wherein, the second clock reference terminal is used as the third main time period sensitive network TSN clock node,
  • the third master TSN clock node is the master TSN clock node of the third access network device, or the third master TSN clock node is the master TSN clock node of the TSN service supported by the third terminal group, and the target terminal
  • the third terminal group is the terminal group where the second clock reference terminal is located, and the terminals in the third terminal group support the same TSN service type.
  • the device further includes: an establishment module 1220, configured to establish a designated quality of service flow QoS flow or designated wireless data bearer with the target terminal, and the designated QoS flow or designated wireless data bearer is used for Transmit TSN clock information.
  • an establishment module 1220 configured to establish a designated quality of service flow QoS flow or designated wireless data bearer with the target terminal, and the designated QoS flow or designated wireless data bearer is used for Transmit TSN clock information.
  • the target terminal is determined by at least one of the following nodes: core network node; centralized network controller CNC node; the third access network device; the third terminal group All terminals; any terminal in the third terminal group; a designated terminal in the third terminal group; the second clock reference terminal.
  • the apparatus further includes: a sending module 1230, configured to send a change message to the first node when the target terminal is determined by the third access network device, and the change The message includes the terminal identification of the target terminal.
  • the device further includes: a receiving module 1240, configured to use all terminals in the third terminal group, any terminal in the third terminal group, and the target terminal
  • a receiving module 1240 configured to use all terminals in the third terminal group, any terminal in the third terminal group, and the target terminal
  • the device further includes: a sending module 1230, configured to send the change message to the first node.
  • the device further includes: a receiving module 1240, configured to receive a change message when the target terminal is determined by the core network node or the CNC node, and the change message includes the The terminal ID of the target terminal.
  • the change message further includes at least one of the following: change indication; TSN service identifier; TSN clock domain identifier to which it belongs; the second clock reference terminal identifier; the serving cell to which the target terminal belongs ID; the ID of the access network device to which the target terminal belongs; the TSN group ID; the terminal group ID of the third terminal group; the terminal IDs of other terminals in the third terminal group except the second clock reference terminal.
  • the first node includes at least one of the following: all terminals supporting the TSN service corresponding to the third terminal group; all terminals under the third access network device; the third All terminals in the terminal group; other terminals in the third terminal group except the target terminal; the second clock reference terminal; the target terminal.
  • the second clock reference terminal when the second clock reference terminal is changed, the second clock reference terminal is no longer used as the third master TSN clock node, that is, the third access network device can no longer reference the second clock The terminal performs clock synchronization.
  • the third access network device may determine a suitable master TSN clock node to perform clock synchronization in the third terminal group to which the second clock reference terminal belongs.
  • FIG. 13 is a structural diagram of a clock synchronization device according to an exemplary embodiment.
  • the device may be configured in a terminal, and the device may include:
  • the sending module 1310 is configured to send TSN clock information to the first access network device when the first terminal is used as the first main time period sensitive network TSN clock node;
  • the receiving module 1320 is configured to receive the TSN clock information when the first terminal is not used as the first master TSN clock node;
  • the first master TSN clock node is the master TSN clock node under the first access network device, or the first master TSN clock node is the TSN service supported by the first terminal group under the first access network device
  • the main TSN clock node of the first terminal group supports the same TSN service type.
  • the first terminal is used as the first master TSN clock node
  • the apparatus further includes: an establishment module 1330, configured to establish a specified quality of service flow QoS with the first access network device flow or designated wireless data bearer, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the first terminal is used as the first master TSN clock node
  • the device further includes: a release module 1340, configured to: if the first master TSN clock node is changed If the first terminal is not a target terminal, release or suspend the designated QoS flow or designated wireless data bearer; wherein, the target terminal is a newly determined terminal used as the first master TSN clock node.
  • the first terminal is not used as the first master TSN clock node
  • the device further includes: a stand-up module 1330, configured to: when the first master TSN clock node is changed, If the first terminal is a target terminal, establish a designated QoS flow or designated wireless data bearer with the first access network device; wherein, the target terminal is a newly determined terminal used as the first master TSN clock node.
  • the target terminal is determined by at least one of the following nodes: core network node; centralized network controller CNC node; the first terminal; the first access network device; the first All terminals in a terminal group; any terminal in the first terminal group; a designated terminal in the first terminal group; the first terminal.
  • the device further includes: a determining module 1350, configured to determine a change message, where the change message includes the terminal identifier of the target terminal.
  • the sending module 1310 is further configured to send the change message to the first node.
  • the first node includes at least one of the following: all terminals supporting the TSN service corresponding to the first terminal group; all terminals under the first access network device; the first All terminals in the terminal group; the target terminal; other terminals in the first terminal group except the target terminal.
  • the change message further includes at least one of the following: a change instruction; a TSN service identifier; a first terminal identifier; a TSN clock domain identifier to which the target terminal belongs; an identifier of the serving cell to which the target terminal belongs; The identifier of the access network device to which the target terminal belongs; the TSN group identifier; the terminal group identifier of the first terminal group; the terminal identifiers of other terminals in the first terminal group except the first terminal.
  • the device further includes: a determining module 1350, configured to: if the first terminal corresponds to a designated QoS flow or a designated wireless data bearer, or the first terminal is capable of establishing the designated QoS flow or the designated wireless data bearer, it is determined that the first terminal is used as the first primary TSN clock node, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • a determining module 1350 configured to: if the first terminal corresponds to a designated QoS flow or a designated wireless data bearer, or the first terminal is capable of establishing the designated QoS flow or the designated wireless data bearer, it is determined that the first terminal is used as the first primary TSN clock node, and the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the device further includes: a determining module 1350, configured to determine whether the first terminal uses a designated QoS flow establishment signaling or a designated wireless data bearer establishment signaling.
  • a determining module 1350 configured to determine whether the first terminal uses a designated QoS flow establishment signaling or a designated wireless data bearer establishment signaling.
  • the designated QoS flow establishment signaling is used to instruct the first terminal to establish the designated QoS flow
  • the designated wireless data bearer establishment signaling is used to instruct the first terminal to establish the designated wireless Data bearer
  • the designated QoS flow or designated wireless data bearer is used to transmit TSN clock information.
  • the sending module 1310 is further configured to send updated TSN clock information to the first access network device when the reference event is triggered; or, every designated time period, Send the updated TSN clock information to the first access network device.
  • the triggering of the reference event includes at least one of the following: TSN service arrival; TSN clock information change; TSN clock information change granularity is greater than or equal to the specified threshold granularity.
  • the TSN clock information includes at least one of the following: TSN service arrival time; TSN service departure time; TSN time domain identifier to which it belongs; TSN clock domain identifier to which it belongs; time information; time information Type; clock synchronization accuracy information; system frame number SFN information; propagation delay compensation indication.
  • the first terminal when the first terminal is used as the first master TSN clock node, the first terminal can send TSN clock information to the first access network device. In this way, the first access network device can The TSN clock information performs clock synchronization with the first terminal. In the case that the first terminal is not used as the first master TSN clock node, the first terminal may receive TSN clock information, so that the first terminal may perform clock synchronization with the first access network device based on the TSN clock information.
  • FIG. 14 shows a schematic structural diagram of a communication device provided by an exemplary embodiment of the present application.
  • the communication device may be any one of a first network device, a second network device, a third network device, or a terminal.
  • the communication device includes: a processor 1401, a receiver 1402, a transmitter 1403, a memory 1404, and a bus 1405.
  • the processor 1401 includes one or more processing cores, and the processor 1401 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1402 and the transmitter 1403 may be implemented as a communication component, and the communication component may be a communication chip.
  • the memory 1404 is connected to the processor 1401 through the bus 1405.
  • the memory 1404 may be used to store at least one instruction, and the processor 1401 is used to execute the at least one instruction, so as to implement each step performed by the first IAB base station in the foregoing method embodiments.
  • the memory 1404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof.
  • the volatile or non-volatile storage device includes, but is not limited to: magnetic disks or optical disks, EEPROM (Electrically Erasable Programmable read only memory, electrically erasable programmable read-only memory), EPROM (Erasable Programmable Read-Only Memory, erasable programmable read-only memory), SRAM (Static Random Access Memory, static access memory at any time), ROM (Read Only Memory, magnetic memory, flash memory, PROM (Programmable Read-Only Memory).
  • the present application provides a computer-readable storage medium in which at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the clock synchronization method provided by the foregoing method embodiments.
  • This application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the clock synchronization method provided by the foregoing method embodiments.
  • the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on the computer-readable medium.
  • the computer-readable medium includes a computer storage medium and a communication medium, where the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Landscapes

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

Abstract

一种时钟同步方法、装置、设备及存储介质,涉及通信技术领域。所述方法包括:在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,可以在切换过程中向第二接入网设备发送第一信息,第二接入网设备可以基于该第一信息确定目标时钟参考终端,该目标时钟参考终端用作第一主TSN时钟节点(301)。如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。

Description

时钟同步方法、装置、设备及存储介质 技术领域
本申请涉及通信技术领域,特别涉及一种时钟同步方法、装置、设备及存储介质。
背景技术
为了保证低时延和高可靠传输,IIoT(Industrial Internet of Things,工业物联网)引入了TSN(Time Sensitive Network,时间敏感型网络)。其中,TSN中包括的TSN业务可以有多种,通常,TSN业务在传输时,需要保证支持该TSN业务的终端与该终端对应的基站时钟同步。
为此,R16中支持网络设备作为主TSN时钟节点(master TSN clock node),即网络设备可以自行确定TSN时钟信息。如此,当需要进行时钟同步时,网络设备可以向终端发送TSN时钟信息,在该种情况下,终端可以基于该TSN时钟信息与网络设备进行时钟同步。
近来,R17中提出了支持终端作为主TSN时钟节点,即终端可以自行确定TSN时钟信息。然而当前尚未存在以终端作为主TSN时钟节点来实现时钟同步的方法。
发明内容
本申请实施例提供了一种时钟同步方法、装置、设备及存储介质,可以用于解决实现时钟同步的问题。所述技术方案如下:
第一方面,提供了一种时钟同步方法,应用于第一接入网设备中,所述方法包括:
在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息;
其中,所述第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同,所述第一信息用于所述第二接入网设备确定目标时钟参考终端,所述目标时钟参考终端用作第一主TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
第二方面,提供了一种时钟同步方法,应用于第二接入网设备中,所述方法包括:
接收第一接入网设备发送的第一信息,所述第一信息是由所述第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的;
根据所述第一信息,确定目标时钟参考终端,所述目标时钟参考终端用作第一主时间段敏感型网络TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点;
其中,所述第一终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
第三方面,提供了一种时钟同步方法,应用于第三接入网设备中,所述方法包括:
在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端;
其中,所述第二时钟参考终端用作第三主时间段敏感型网络TSN时钟节点,所述第三主TSN时钟节点为所述第三接入网设备下的主TSN时钟节点,或者,所述第三主TSN时钟节点为所述第三终端组支持的TSN业务的主TSN时钟节点,所述目标终端为重新确定的用作所述第三主TSN时钟节点的终端,所述第三终端组为所述第二时钟参考终端所在的终端组,所述第三终端组中的终端支持的TSN业务类型相同。
第四方面,提供了一种时钟同步方法,应用于第一终端中,所述方法包括:
在所述第一终端用作第一主时间段敏感型网络TSN时钟节点的情况下,向所述第一接入网设备发送TSN时钟信息;
在所述第一终端不是用作所述第一主TSN时钟节点的情况下,接收所述TSN时钟信息;
其中,所述第一主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,所述第一终端组中的终端支持的TSN业务类型相同。
第五方面,提供了一种时钟同步装置,配置于第一接入网设备中,所述装置包括:
发送模块,用于在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息;
其中,所述第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同,所述第一信息用于 所述第二接入网设备确定目标时钟参考终端,所述目标时钟参考终端用作第一主TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
第六方面,提供了一种时钟同步装置,配置于第二接入网设备中,所述装置包括:
接收模块,用于接收第一接入网设备发送的第一信息,所述第一信息是由所述第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的;
确定模块,用于根据所述第一信息,确定目标时钟参考终端,所述目标时钟参考终端用作第一主时间段敏感型网络TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点;
其中,所述第一终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
第七方面,提供了一种时钟同步装置,配置于第三接入网设备中,所述装置包括:
确定模块,用于在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端;
其中,所述第二时钟参考终端用作第三主时间段敏感型网络TSN时钟节点,所述第三主TSN时钟节点为所述第三接入网设备下的主TSN时钟节点,或者,所述第三主TSN时钟节点为所述第三终端组支持的TSN业务的主TSN时钟节点,所述目标终端为重新确定的用作所述第三主TSN时钟节点的终端,所述第三终端组为所述第二时钟参考终端所在的终端组,所述第三终端组中的终端支持的TSN业务类型相同。
第八方面,提供了一种时钟同步装置,配置于第一终端中,所述装置包括:
发送模块,用于在所述第一终端用作第一主时间段敏感型网络TSN时钟节点的情况下,向所述第一接入网设备发送TSN时钟信息;
接收模块,用于在所述第一终端不是用作所述第一主TSN时钟节点的情况下,接收所述TSN时钟信息;
其中,所述第一主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,所述第一终端组中的终端支持的TSN业务类型相同。
第九方面,提供了一种通信系统,包括终端和接入网设备,终端包括第八方面任一所述的装置,接入网设备包括第五方面中任一所述的装置,或者,包括所述第六方面中任一所述的装置。
第十方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现上述第四方面中任一所述的方法。
第十一方面,提供了一种接入网设备,所述接入网设备包括处理器和存储器,所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现上述第一方面中任一所述的方法,或者,实现上述第二方面中任一所述的方法,或者,实现上述第三方面中任一所述的方法。
第十二方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行时实现上述第一方面中任一所述的方法,或者,实现上述第二方面中任一所述的方法,或者,实现上述第三方面中任一所述的方法。
第十三方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行时实现上述第四方面所述的方法。
第十四方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面中任一所述的方法,或者,执行上述第二方面中任一所述的方法,或者,执行上述第三方面中任一所述的方法。
第十五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第四方面所述的方法。
本申请实施例提供的技术方案带来的有益效果至少包括:
在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组 支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的TSN示意图;
图2是本申请一个示例性实施例提供的实施环境的示意图;
图3是本申请一个示例性实施例提供的时钟同步方法的流程图;
图4是本申请另一个示例性实施例提供的时钟同步方法的流程图;
图5是本申请一个示例性实施例提供的时钟同步方法的示意图;
图6是本申请一个示例性实施例提供的时钟同步方法的流程图;
图7是本申请另一个示例性实施例提供的时钟同步方法的流程图;
图8是本申请一个示例性实施例提供的时钟同步方法的示意图;
图9是本申请一个示例性实施例提供的时钟同步方法的流程图;
图10是本申请一个示例性实施例提供的时钟同步装置的结构示意图;
图11是本申请另一个示例性实施例提供的时钟同步装置的结构示意图;
图12是本申请另一个示例性实施例提供的时钟同步装置的结构示意图;
图13是本申请另一个示例性实施例提供的时钟同步装置的结构示意图;
图14是本申请一个示例性实施例提供的通信设备的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
在对本申请实施例提供的时钟同步方法进行详细介绍之前,先对本申请实施例涉及的相关术语和实施环境进行简单介绍。
首先,对本申请实施例涉及的相关术语进行简单介绍。
1、TSN
IIoT中支持FA(Factory Automation,工业自动化),TI(Transport Industry,传输自动化),EPD(Electrical Power Distribution,智能电力)等业务在5G(5th-Generation,第五代移动通信技术)系统的传输。为了保证高可靠性和低时延传输,IIoT引入了TSN。如图1所示,在TSN网络中,5G网络将作为TSN网桥(TSN bridge)为TSN业务提供服务。
在R16中支持以网络设备作为主TSN时钟节点,终端作为从TSN时钟节点(slave TSN clock node)。也就是,网络设备可以自行确定TSN时钟信息,当TSN业务在5G系统内传输,即需要进行TSN业务的时钟同步时,网络设备可以向终端发送TSN时钟信息,如此,终端可以基于该TSN时钟信息与网络设备进行时钟同步。
其中,该TSN时钟信息可以通过广播(Broadcast)、多播(Multicast)或单播(Unicast)的方式发送给终端。
2、小区切换
若正在使用网络服务的终端从一个小区移动到另一个小区,或由于无线传输业务负荷量调整、激活操作维护、设备故障等原因,为了保证通信的连续性和服务的质量,系统要将该终端与源小区的通信链路转换到新的小区上,这个过程就是小区切换。
示例性的,整个切换过程分为以下三个阶段:
(1)切换准备:包括测量控制和汇报,切换请求以及切换响应。也就是,源网络设备向目标网络设备发送切换请求消息,目标网络设备在接收到该切换请求消息后,可以向源网络设备发送切换响应消息,该切换响应消息中可以包括切换命令。在源网络设备接收到该切换响应消息的情况下,可以将切换命令转发给终端。
(2)切换执行:终端在接收到切换命令后,可以立即执行切换过程,即终端可以断开与源网络设备之间的连接,并与目标网络设备建立连接。
(3)切换完成:在目标网络设备与终端建立连接的情况下,目标网络设备可以与AMF(Access and Mobility Management Function,接入和移动管理功能)和UPF(User Plane Function,用户面功能)执行路径切换,释放终端上下文。
接下来,对本申请实施例涉及的实施环境进行简单介绍。
本申请实施例的技术方案可以应用于各种通信系统,例如:GSM(Global System of Mobile communication,全球移动通讯)系统、CDMA(Code Division Multiple Access,码分多址)系统、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)系统、GPRS(General Packet Radio Service,通用分组无线业务)、LTE(Long Term Evolution,长期演进)系统、FDD(Frequency Division Duplex,频分双工)系统、TDD(Time Division Duplex,时分双工)系统、LTE-A(Aadvanced Long Term Evolution,先进的长期演进)系统、NR(New Redio,新无线)系统、NR系统的演进系统、LTE-U(LTE-based access to unlicensed spectrum,非授权频段上的LTE)系统、NR-U(NR-based access to unlicensed spectrum,非授权频段上的NR)系统、UMTS(Universal Mobile Telecommunication System,通用移动通信系统)、WiMAX(Worldwide interoperability for Microwave Access,全球互联微波接入)通信系统、WLAN(Wireless Local Area Networks,无线局域网)、WiFi(Wireless Fidelity,无线保真)、下一代通信系统或其他通信系统等。
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,D2D(Device to Device,设备到设备)通信,M2M(Machine to Machine,机器到机器)通信,MTC(Machine Type Communication,机器类型通信),以及V2V(Vehicle to Vehicle,车辆间)通信等,本申请实施例也可以应用于这些通信系统。
本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
示例性的,本申请实施例应用的通信系统200如图2所示。该通信系统200可以包括接入网设备210,接入网设备210可以是与终端220(或称为通信终端、终端)通信的设备。接入网设备210可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端进行通信。可选地,该接入网设备210可以是eNB(Evolutional Node B,演进型基站),或者是CRAN(Cloud Radio Access Network,云无线接入网络)中的无线控制器,或者该接入网设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来通信系统中的接入网设备等。
该通信系统200还包括位于接入网设备210覆盖范围内的至少一个终端220。作为在此使用的“终端”包括但不限于经由有线线路连接,如经由PSTN(Public Switched Telephone Networks,公共交换电话网络)、DSL(Digital Subscriber Line,数字用户线路)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、WLAN、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端的被设置成接收/发送通信信号的装置;和/或IoT(Internet of Things,物联网)设备。被设置成通过无线接口通信的终端可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的PCS(Personal Communications System,个人通信系统)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或GPS(Global Positioning System,全球定位系统)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端可以指接入终端、UE(User Equipment,用户设备)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、SIP(Session Initiation Protocol,会话启动协议)电话、WLL(Wireless Local Loop,无线本地环路)站、PDA(Personal Digital Assistant,个人数字处理)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端或者未来演进的PLMN中的终端等。
可选地,终端220之间可以进行D2D通信。
可选地,5G通信系统或5G网络还可以称为NR系统或NR网络。
图2示例性地示出了一个接入网设备和两个终端,可选地,该通信系统200可以包括多个接入网设备并且每个接入网设备的覆盖范围内可以包括其它数量的终端,譬如,在切换场景中,通常包括第一接入网设备和第二接入网设备,该第一接入网设备为源接入网设备,该第二接入网设备为目标接入网设备,即终端从第一接入网设备切换至第二接入网设备。
可选地,该通信系统200还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图2示出的通信系统200为例,通信设备可包括具有通信功能的接入网设备210和终端220,接入网设备210和终端220可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统200中的其他设备,例如网络 控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。
在介绍完本申请实施例涉及的相关术语和实施环境后,接下来将结合附图对本申请实施例提供的时钟同步方法进行详细介绍。
请参考图3,该图3是根据一示例性实施例示出的一种时钟同步方法的流程图,该时钟同步方法可以应用于上述图2所示的实施环境中,该时钟同步方法可以包括如下内容中的至少部分内容:
步骤301:在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息。
其中,第一终端组中的终端支持的TSN业务类型相同,第一信息用于第二接入网设备确定目标时钟参考终端,目标时钟参考终端用作第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。第二终端组中的终端支持的TSN业务类型相同,第二终端组中的终端支持的TSN业务类型与第一终端组中的终端支持的TSN业务类型相同。
其中,需要进行切换的终端可以为第一终端组中的一个终端,也可以为第一终端组中的多个终端,还可以为第一终端组中的所有终端,本实施例对此不做限定。
通常,在5G系统内的任一接入网设备的覆盖范围内可以存在多个终端,该多个终端可以支持同一类型的TSN业务,也可以支持不同类型的TSN业务。在该种情况下,可以将多个终端中支持相同类型的TSN业务的终端归类于同一终端组。
示例性的,可以将第一接入网设备的覆盖范围内的多个终端中支持指定TSN业务的终端归类于第一终端组。类似的,可以将第二接入网设备的覆盖范围内的多个终端中支持该指定TSN业务的终端归类于第二终端组。
其中,目标时钟参考终端可以包括在需要切换的终端中,也可以不包括在需要切换的终端中,本实施例对此不做限定。
其中,第二接入网设备指的是目标接入网设备,也就是,需要切换的终端要由第一接入网设备切换至第二接入网设备。
在本实施例中,基于5G系统内主TSN时钟节点的设置规则的不同,第一主TSN时钟节点可以是第二接入网设备下第二终端组的主TSN时钟节点,第一主TSN时钟节点也可以是第一终端组支持的TSN业务的主TSN时钟节点。
作为一种示例,在5G系统内存在多个接入网设备的情况下,若该多个接入网设备之间没有时钟同步,每个接入网设备可以基于各自所确定的主TSN时钟节点进行时钟同步,在该种情况下,每个接入网设备都对应有自己的主TSN时钟节点。
针对上述情况,在切换过程中,第一接入网设备向第二接入网设备发送第一信息后,第二接入网设备根据该第一信息,确定用作第二终端组进行时钟同步的主TSN时钟节点。
示例性的,当目标时钟参考终端用作第一主TSN时钟节点,且该第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点时,第二接入网设备与该目标时钟参考终端时钟同步,该第二终端组中除该目标时钟参考终端之外的其余终端与该第二接入网设备时钟同步,或者,该第二终端组中除该目标时钟参考终端之外的其余终端直接与该目标时钟参考终端时钟同步。在该种情况下,可以保证该第二终端组在其支持的TSN业务下时钟同步。
作为另一种示例,在5G系统内存在多个接入网设备的情况下,若该多个接入网设备之间时钟同步,则针对同一类型的TSN业务,该多个接入网设备可以使用相同的主TSN时钟节点。
针对上述情况,在切换过程中,第一接入网设备向第二接入网设备发送第一信息后,第二接入网设备根据该第一信息,确定用作第一终端组支持的TSN业务的主TSN时钟节点。
示例性的,当目标时钟参考终端用作第一主TSN时钟节点,且该第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点时,由于第二终端组中的终端支持的TSN业务类型与第一终端组中的终端支持的TSN业务类型相同,所以第二接入网设备可以与该目标时钟参考终端进行时钟同步,该第二终端组中除该目标时钟参考终端之外的其余终端可以与第二接入网设备进行时钟同步,或者,该第二终端组中除该目标时钟参考终端之外的其余终端可以直接与该目标时钟参考终端进行时钟同步。在该种情况下,可以保证该第二终端组中的终端在其支持的TSN业务下时钟同步。
需要说明的是,在该多个接入网设备之间时钟同步的情况下,该多个接入网设备中除第一接入网设备和第二接入网设备之外,其他的接入网设备可以与第二接入网设备进行时钟同步。
需要说明的是,在5G系统内存在多个接入网设备,且该多个接入网设备之间时钟同步的情况下,该多个接入网设备中任一接入网设备可以在其覆盖范围内的终端组中选择一个终端作为主TSN时钟节点。
结合上述说明,可以确定当第一终端组中的终端需要由第一接入网设备切换至第二接入网设备时,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息,以通过该第一信息指示该第二接入网设备确定目标时钟参考终端,即通过该第一信息指示该第二接入网设备确定第一主TSN时钟节点,如此,第二接入网设备可以与该第一主TSN时钟节点进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
示例性的,在第一终端组中的终端由第一接入网设备的覆盖范围向第二接入网设备的覆盖范围移动的情况下,第一接入网设备可以确定该第一终端组中的终端需要由第一接入网设备切换至第二接入网设备。如此,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息。
在本申请实施例中,在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步。
请参考图4,该图4是根据一示例性实施例示出的一种时钟同步方法的流程图,该时钟同步方法可以应用于上述图2所示的实施环境中,该时钟同步方法可以包括如下内容中的至少部分内容:
步骤401:在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息。
其中,第一终端组中的终端支持的TSN业务类型相同,第一信息用于第二接入网设备确定目标时钟参考终端,目标时钟参考终端用作第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。第二终端组中的终端支持的TSN业务类型相同,第二终端组中的终端支持的TSN业务类型与第一终端组中的终端支持的TSN业务类型相同。
其具体实现方式可以参见图3实施例中的步骤301,这里不再重复赘述。
作为一种示例,第一信息是通过切换请求携带的。或者,第一信息是在接收到第二接入网设备发送的信息发送指示后发送的,信息发送指示用于指示第一接入网设备发送第一信息。
其中,该切换请求可以用于请求第二接入网设备与第一接入网设备下需要切换的终端执行切换。
示例性的,如图5所示,当第一接入网设备确定该第一终端组中的终端需要进行切换时,该第一接入网设备可以向第二接入网设备发送切换请求,该切换请求中可以携带第一信息。
或者,当第一接入网设备接收到第二接入网设备发送的信息发送指示时,说明该第二接入网设备可以接收第一信息,在该种情况下,第一接入网设备可以根据该信息发送指示的指示向第二接入网设备发送第一信息。
示例性的,该信息发送指示可以携带于切换响应消息中,如此,在第一接入网设备接收到切换响应消息的情况下,若确定该切换响应消息中携带信息发送指示,该第一接入网设备可以根据该信息发送指示的指示向第二接入网设备发送第一信息。
在基于图4的可选实施例中,需要切换的终端包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
在该种情况下,第一信息包括以下至少之一:
(1)第一时钟参考终端标识;
(2)指定QoS flow(Quality of Service flow,服务质量流)标识,指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
(3)指定DRB(Data Radio Bearer,无线数据承载)标识,指定DRB标识指示的无线数据承载用于传输TSN时钟信息。
其中,该指定QoS flow可以包括指定上行QoS flow,也可以包括指定下行QoS flow,还可以既包括指定上行QoS flow又包括指定下行QoS flow,本实施例对此不做限定。
其中,该指定无线数据承载可以包括指定上行无线数据承载,也可以包括指定下行无线数据承载,还可以既包括指定上行无线数据承载又包括指定下行无线数据承载,本实施例对此不做限定。
在本实施例中,基于5G系统内主TSN时钟节点的设置规则的不同,第二主TSN时钟节点可以是第一接入网设备下第一终端组的主TSN时钟节点,第二主TSN时钟节点也可以是第一终端组支持的TSN业务的主TSN时钟节点。
其具体实现方式可以参见图3实施例中的步骤301,这里不再重复赘述。
示例性的,若第一时钟参考终端用作第二主TSN时钟节点,第一接入网设备与该第一时钟参考终端时钟同步,该第一终端组中除该第一时钟参考终端之外的其他终端与该第一接入网设备时钟同步,或者,该第一终端组中除该第一时钟参考终端之外的其他终端也可以直接与该第一时钟参考终端时钟同步。在该种情况下,可以保证该第一终端组在其支持的TSN业务下时钟同步。
其中,第一时钟参考终端标识可以用于第二接入网设备在需要切换的终端中识别第一时钟参考终端。示例性的,该第一时钟参考终端标识可以为第一时钟参考终端的ID(Identity,身份标识)。
其中,在第一时钟参考终端用作第二主TSN时钟节点的情况下,第一时钟参考终端可以建立指定QoS flow或指定无线数据承载,以通过该指定QoS flow或指定无线数据承载,向第一接入网设备传输TSN时钟信息。
在该种情况下,指定QoS flow对应有指定QoS flow标识,如此,第二接入网设备可以通过识别指定QoS flow标识,以确定指定QoS flow,由此,可以根据该指定QoS flow在需要切换的终端中识别第一时钟参考终端。
类似的,指定无线数据承载对应有指定DRB标识,如此,第二接入网设备可以通过识别指定DRB标识,以确定指定无线数据承载,由此,可以根据该指定DRB标识在需要切换的终端中识别第一时钟参考终端。
也就是,第一时钟参考终端标识、指定QoS flow标识、指定DRB标识中的至少一个均可以用于第二接入网设备在需要切换的终端中识别第一时钟参考终端。
如此,当需要切换的终端中包括第一时钟参考终端时,第一接入网设备可以向第二接入网设备发送用以指示该第一时钟参考终端的信息,譬如,第一接入网设备可以向第二接入网设备发送第一时钟参考终端标识、指定QoS flow标识和指定DRB标识中的一个或多个。
示例性的,第一信息还包括以下至少之一:第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识。
其中,第一终端组的终端组标识可以用于第二接入网设备确定需要切换的终端所属的终端组。示例性的,该第一终端组的终端组标识可以为第一终端组的ID。
其中,TSN业务标识可以用于第二接入网设备确定需要切换的终端支持的TSN业务类型,如此,第二接入网设备可以根据该需要切换的终端支持的TSN业务类型,将该需要切换的终端归类于相应的终端组。
其中,该所属的TSN时钟域标识可以用于第二接入网设备确定需要切换的终端支持的TSN业务在传输时对应的时钟域。
其中,该所属的TSN时间域标识可以用于第二接入网设备确定需要切换的终端支持的TSN业务在传输时对应的时间域。
其中,该TSN组标识指的是需要切换的终端支持的TSN业务所归属的业务组的标识,或者,该TSN组标识指的是在第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点的情况下,所有支持该TSN业务的终端组成的终端组的标识。需要说明的是,支持该TSN业务的终端可以属于同一接入网设备,也可以属于不同接入网设备,本实施例对此不做限定。
也就是说,在一种实现方式中,在需要切换的终端包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以获取该需要切换的终端的业务组归属信息或终端组归属信息,将该需要切换的终端归属到对应的终端组或业务组中。
在另一种实现方式中,在需要切换的终端包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括用于识别第一时钟参考终端的信息,还可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以在需要切换的终端中确定第一时钟参考终端,并且可以获取更多关于该需要切换的终端的信息,从而将该需要切换的终端归属到对应的终端组或业务组中。
作为一种示例,若需要切换的终端为第一终端组中的部分终端,且需要切换的终端包括第一时钟参考终端,第一接入网设备还可以进行如下操作:与第一终端组包括的不需要切换的终端中的目标终端建立指定QoS flow或指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。其中,目标终端为重新确定的用作第二主TSN时钟节点的终端。
在需要切换的终端包括第一时钟参考终端的情况下,若该第一时钟参考终端切换至第二接入网设备,则该第一时钟参考终端不再用作第二主TSN时钟节点,即第一接入网设备不再与该第一时钟参考终端进行时钟同步。在该种情况下,第一接入网设备可以在第一终端组包括的不需要切换的终端中确定目标终端,即重新确定用作第二主TSN时钟节点的终端。
进一步地,该第一接入网设备可以与该目标终端建立指定QoS flow或指定无线数据承载,如此,该目标终端可以通过指定QoS flow或指定无线数据承载向第一接入网设备发送TSN时钟信息,第一接入网设备可以根据该TSN时钟信息与该目标终端进行时钟同步。
示例性的,目标终端是由以下至少之一的节点确定:第一接入网设备,核心网节点,CNC(Centralized NetworkController,集中网络控制器)节点,第一终端组中不需要切换的所有终端,第一终端组中不需要切换的所有终端中的任一终端,第一终端组中不需要切换的所有终端中的指定终端,第一时钟参考终端。
其中,核心网节点可以包括AMF节点、SMF(Session Management Function,会话管理功能)节点等等,本实施例对此不做限定。
其中,AMF节点可以用于移动性管理,该AMF节点可以与终端进行连接。SMF节点可以用于会话管理,该SMF节点可以与AMF节点进行连接。
其中,该CNC节点可以用于对TSN中的所有TSN业务进行统一管理。
其中,第一终端组中不需要切换的所有终端中的指定终端可以是由第一接入网设备指定的,也可以是由核心网节点指定的,本实施例对此不做限定。
也就是,当需要切换的终端包括第一时钟参考终端时,可以由第一接入网设备,核心网节点,CNC节点,第一终端组中不需要切换的所有终端,第一终端组中不需要切换的所有终端中的任一终端,第一终端组中不需要切换的所有终端中的指定终端,第一时钟参考终端中的一个或多个确定目标终端。
譬如,当需要切换的终端包括第一时钟参考终端时,可以由第一接入网设备确定目标终端,也可以由第一接入网设备和第一终端组中不需要切换的所有终端共同确定目标终端,本实施例对此不做限定。
综上,在需要切换的终端包括第一时钟参考终端时,可以在第一终端组中不需要切换的终端中确定目标终端用作第二主TSN时钟节点,如此,第一接入网设备可以与该目标终端进行时钟同步,从而保证在第一时钟参考终端切换的情况下,该第一时钟参考终端支持的TSN业务下的时钟同步的连续性。
当然,在需要切换的终端包括第一时钟参考终端时,若第一时钟参考终端用作第一终端组支持的TSN业务的主TSN时钟节点,即至少一个接入网设备支持的该TSN业务对应的主TSN时钟节点均为第一时钟参考终端时,第一接入网设备可以仅向第二接入网设备发送第一信息,在该种情况下,不需要在第一终端组中重新确定目标终端,建立新的指定QoS flow或指定无线数据承载。
在基于图4的可选实施例中,需要切换的终端不包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
在该种情况下,第一信息包括:候选终端标识,候选终端是第一接入网设备从需要切换的终端中确定的。
作为一种示例,候选终端指的是相对于第一时钟参考终端而言的候选终端,即在第一时钟参考终端变更的情况下,该候选终端可以用作第二主TSN时钟节点。
其中,候选终端标识可以用于第二接入网设备在需要切换的终端中确定候选终端,进一步地,该候选终端可以由该第二接入网设备根据参考策略确定,该参考策略可以根据实际需求进行设置。
示例性的,第一接入网设备可以在需要切换的终端中选择时钟精度较高的终端作为候选终端,也可以在需要切换的终端中选择本振较小的终端作为候选终端,还可以在需要切换的终端中选择服务质量较高的终端作为候选终端等,本实施例对此不做限定。
也就是,当需要切换的终端中不包括第一时钟参考终端时,第一接入网设备可以在该需要切换的终端中确定候选终端,并向第二接入网设备发送用以指示该候选终端的信息。
需要说明的是,当需要切换的终端中不包括第一时钟参考终端时,第一接入网设备还可以不在需要切换的终端中获取候选终端,本实施例对此不做限定。
示例性的,第一信息还包括以下至少之一:第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识。
也就是说,在一种实现方式中,在需要切换的终端不包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以获取该需要切换的终端的的业务组归属信息或终端组归属 信息,将该需要切换的终端归属到对应的终端组或业务组中。
在另一种实现方式中,在需要切换的终端不包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括用于识别候选终端的信息,还可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以在需要切换的终端中确定候选终端,并且可以获取更多关于该需要切换的终端的信息,从而将该需要切换的终端归属到对应的终端组或业务组中。
作为一种示例,若需要切换的终端为第一终端组中的部分终端,且需要切换的终端不包括第一时钟参考终端,第一接入网设备还可以进行如下操作:与第一时钟参考终端进行时钟同步。
也就是,当第一接入网设备下的第一终端组中存在部分终端需要切换,且该需要切换的终端不包括第一时钟参考终端时,该第一时钟参考终端可以继续用作第二主TSN时钟节点,因此,第一接入网设备可以与第一时钟参考终端进行时钟同步,以保证该第一时钟参考终端支持的TSN业务下的时钟同步。
在基于图4的可选实施例中,若在第一时间点第二主TSN时钟节点发生变更,向第二接入网设备发送变更消息,变更消息用于通知第二接入网设备第二主TSN时钟节点发生变更。其中,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
其中,第二主TSN时钟节点发生变更可以包括用作第二主TSN时钟节点的终端切换,用作第二主TSN时钟节点的终端断电,用作第二主TSN时钟节点的终端异常,用作第二主TSN时钟节点的终端移动至第一接入网设备的覆盖范围之外等情况,本实施例对此不做限定。
在本实施例中,当用作第二主TSN时钟节点的第一时钟参考终端发生变更时,该第一时钟参考终端不再用作第二主TSN时钟节点,即第一接入网设备不再与该第一时钟参考终端进行时钟同步。在该种情况下,第一接入网设备可以向第二接入网设备发送变更消息,以通知第二接入网设备该第一时钟参考终端不再用作第二主TSN时钟节点。
作为一种示例,变更消息可以包括以下至少之一:变更指示、TSN业务标识、第一时钟参考终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一时钟参考终端标识之外的其他终端的终端标识。
其中,目标终端指的是重新确定的用作第二主TSN时钟节点的终端。
其中,变更指示可以用于第二接入网设备确定第一时钟参考终端不再用作第二主TSN时钟节点。
其中,TSN业务标识可以用于第二接入网设备确定第一时钟参考终端支持的TSN业务类型。
其中,该所属的TSN时钟域标识可以用于第二接入网设备确定第一时钟参考终端支持的TSN业务在传输时对应的时钟域。
其中,第一时钟参考终端标识可以用于第二接入网设备在需要切换的终端中确定第一时钟参考终端。
其中,该TSN组标识指的是第一时钟参考终端支持的TSN业务所归属的业务组的标识,或者,该TSN组标识指的是在第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点的情况下,所有支持该TSN业务的终端组成的终端组的标识。需要说明的是,支持该TSN业务的终端可以属于同一接入网设备,也可以属于不同接入网设备,本实施例对此不做限定。
也就是,变更消息中可以包括变更指示、TSN业务标识、第一时钟参考终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一时钟参考终端标识之外的其他终端的终端标识中的一个或多个,如此,第二接入网设备可以根据该变更消息,确定更加合适的终端用作第一主TSN时钟节点。
作为一种示例,第一时间点包括以下情况中的至少之一:处于用作第二主TSN时钟节点的第一时钟参考终端发生变更之后。处于第一接入网设备发送切换请求之后。处于第一接入网设备接收第二接入网设备的切换响应消息之后。处于第一接入网设备发送切换请求后,至第一网络设备向需要切换的终端发送切换命令之前的时间段内。处于第一接入网设备发送切换请求后,至需要切换的终端与第二接入网设备建立连接之前的时间段内。处于第一接入网设备与终端释放连接之前。
其中,切换命令指的是第二接入网设备发送的,用于指示该需要切换的终端执行切换的命令,通常,第二接入网设备将切换命令发送至第一接入网设备,该第一接入网设备将该切换命令转发至需要切换的终端。
示例性的,当用作第二主TSN时钟节点的第一时钟参考终端发生变更之后,该第一时钟参考终端不再用作第二TSN时钟节点,第一接入网设备可以向第二接入网设备发送变更消息。
示例性的,当第一接入网设备发送切换请求之后,第一时钟参考终端发生变更,即该第一时钟参考 终端不再用作第二主TSN时钟节点时,该第一接入网设备可以向第二接入网设备发送变更消息。
示例性的,当第一接入网设备接收第二接入网设备的切换响应消息之后,第一时钟参考终端发生变更,即该第一时钟参考终端不再用作第二主TSN时钟节点时,该第一接入网设备可以向第二接入网设备发送变更消息。
示例性的,当第一接入网设备发送切换请求后,至第一网络设备向需要切换的终端发送切换命令之前的时间段内,第一时钟参考终端发生变更,即该第一时钟参考终端不再用作第二主TSN时钟节点时,该第一接入网设备可以向第二接入网设备发送变更消息。
示例性的,当第一接入网设备发送切换请求后,至需要切换的终端与第二接入网设备建立连接之前的时间段内,第一时钟参考终端发生变更,即该第一时钟参考终端不再用作第二主TSN时钟节点时,该第一接入网设备可以向第二接入网设备发送变更消息。
示例性的,当第一接入网设备与终端释放连接之前,第一时钟参考终端发生变更,即该第一时钟参考终端不再用作第二主TSN时钟节点时,该第一接入网设备可以向第二接入网设备发送变更消息。
如此,第二接入网设备通过接收变更消息,可以及时确定第二主TSN时钟节点发生变更,第二接入网设备可以在该变更消息的基础上选择用作第一主TSN时钟节点的终端,在该种情况下,第二接入网设备可以与该用作第一主TSN时钟节点的终端进行时钟同步。
需要说明的是,第一接入网设备可以向第二接入网设备、第一接入网设备的相邻接入网络设备、核心网节点、支持该TSN业务的其他接入网设备中以该第一时钟参考终端为主TSN时钟节点的接入网设备、以及CNC节点中的一个或多个发送变更消息,本实施例对此不做限定。
还需要说明的是,第一网络设备可以在第一时钟参考终端切换时发送变更消息,也可以是在第一时钟参考终端没有切换时发送变更消息,本实施例对此不做限定。
在基于图4的可选实施例中,第一接入网设备还可以进行如下操作:
1、基于第一终端组中的终端是否对应有指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点。其中,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
其中,指定QoS flow或指定无线数据承载可以由终端决定建立,也可以由核心网节点决定建立,还可以由该第一接入网设备决定建立,本实施例对此不做限定。
若该指定QoS flow或指定无线数据承载由终端决定建立,或者由核心网节点决定建立时,该第一接入网设备无法在第一终端组中确定用作第二主TSN时钟节点的终端,在该种情况下,第一接入网设备可以基于终端是否对应有指定QoS flow或指定无线数据承载,在第一终端组确定用作第二主TSN时钟节点终端。
也就是,当第一接入网设备确定第一终端组中的终端对应有指定QoS flow或指定无线数据承载时,可以确定该终端可以用作第二主TSN时钟节点。当第一接入网设备确定第一终端组中的终端没有对应有指定QoS flow或指定无线数据承载时,可以确定该终端不可以用作第二主TSN时钟节点。
2、基于第一终端组中的终端是否有能力建立指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点。
示例性的,第一接入网设备可以基于终端的时钟精度确定终端是否有能力建立指定QoS flow或指定无线数据承载,也可以基于终端的本振确定终端是否有能力建立指定QoS flow或指定无线数据承载,还可以基于终端的服务质量确定终端是否有能力建立指定QoS flow或指定无线数据承载等,本实施例对此不做限定。
譬如,若终端的服务质量高于指定服务质量阈值,则第一接入网设备可以确定该终端有能力建立指定QoS flow或指定无线数据承载,若终端的服务质量低于或等于该指定服务质量阈值,则第一接入网设备可以确定该终端没有能力建立指定QoS flow或指定无线数据承载。其中,该指定服务指令阈值可以根据实际需求进行设置。
也就是,当第一接入网设备确定第一终端组中的终端有能力建立指定QoS flow或指定无线数据承载时,可以确定该终端可以用作第二主TSN时钟节点。当第一接入网设备确定第一终端组中的终端没有能力建立指定QoS flow或指定无线数据承载,可以确定该终端不可以用作第二主TSN时钟节点。
3、基于第一终端组中的终端是否有指定标识,确定第二主TSN时钟节点。其中,该指定标识为用作第二主TSN时钟节点的终端的标识。
其中,该标识可以是预配置的,也可以网络设备指示或配置给该终端的,譬如,该标识可以为CNC节点配置给该终端的,该标识也可以为第一接入网设备配置给该终端的,本实施例对此不做限定。
也就是,当第一接入网设备确定第一终端组中的终端对应有第二主TSN时钟节点的标识时,可以 确定该终端可以用作第二主TSN时钟节点。当第一接入网设备确定第一终端组中的终端没有对应有第二主TSN时钟节点的标识时,可以确定该终端不可以用作第二主TSN时钟节点。
在本申请实施例中,在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,第一接入网设备可以向第二接入网设备发送用于识别该第一时钟参考终端的信息,如此,第二接入网设备可以以该第一时钟参考终端为参照,确定第一主TSN时钟节点。
在该种情况下,第一接入网设备可以在第一终端组包括的不需要切换的终端中选择目标终端用作第二主TSN时钟节点,从而第一接入网设备可以与该目标节点进行时钟同步,保证了该第一时钟参考终端支持的TSN业务下的时钟同步的连续性。
当然,若第一时钟参考终端用作第一终端组支持的TSN业务的主TSN时钟节点时,第一接入网设备可以仅向第二接入网设备发送第一信息,而不需要在第一终端组包括的不需要切换的终端中重新确定目标终端。
作为一种示例,在需要切换的终端中不包括第一时钟参考终端的情况下,第一接入网设备可以在该需要切换的终端中选择候选终端,并向第二接入网设备发送用于识别该候选终端的信息,如此,第二接入网设备可以以该候选终端为参照,确定第一主TSN时钟节点。
当然,在需要切换的终端中不包括第一时钟参考终端的情况下,第一信息还可以不包括用于识别该候选终端的信息,在该种情况下,第一信息可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,本实施例对此不做限定。
在该种情况下,该第一时钟参考终端可以继续用作第二主TSN时钟节点,如此,第一接入网设备可以与第一时钟参考终端进行时钟同步,以保证该第一时钟参考终端支持的TSN业务下的时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,若第一时钟参考终端在第一时间点发生变更,则第一接入网设备可以向第二接入网设备发送变更消息,如此,第二接入网设备可以及时确定第一时钟参考终端不再用作第二主TSN时钟节点,在此基础上,第二接入网设备可以选择更加合适的终端用作第一主TSN时钟节点。
请参考图6,该图6是根据一示例性实施例示出的一种时钟同步方法的流程图,该时钟同步方法可以应用于上述图2所示的实施环境中,主要由第二接入网设备执行,该时钟同步方法可以包括如下内容中的至少部分内容:
步骤601:接收第一接入网设备发送的第一信息,第一信息是由第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的。其中,第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同。
也就是,当第一终端组中的终端需要由第一接入网设备切换至第二接入网设备时,第二接入网设备可以在切换过程中接收第一接入网设备发送的第一信息。
作为一种示例,第一信息是通过切换请求携带的。或者,第一信息是在第二接入网设备发送信息发送指示后接收的,信息发送指示用于指示第一接入网设备发送第一信息。
其中,该切换请求可以用于请求第二接入网设备与第一接入网设备下需要切换的终端执行切换。
示例性的,在第一信息是通过切换请求携带的情况下,当第二接入网设备接收到第一接入网设备发送的切换请求时,可以在该切换请求中获取第一信息。
其中,当第二接入网设备可以接收第一信息时,第二接入网设备可以向第一接入网设备发送信息发送指示,以指示第一接入网设备发送第一信息。如此,第二接入网设备可以在发送信息发送指示后接收第一信息。
示例性的,该信息发送指示可以携带于切换响应消息中,如此,第二接入网设备可以向第一接入网设备发送切换响应消息,在该种情况下,第二接入网设备在发送切换响应消息后,可以接收第一信息。
在一种可能的实现方式中,第二接入网设备还可以进行如下操作:向第二接入网设备下的第二终端组中的终端发送第一信息。其中,第二终端组中的终端支持的TSN业务类型相同,第二终端组中的终 端支持的TSN业务类型与第一终端组中的终端支持的TSN业务类型相同。
也就是,若第二接入网设备接收到第一信息,该第二接入网设备可以向与第一终端组支持的TSN业务类型相同的第二终端组中的终端发送第一信息。
示例性的,第二接入网设备可以通过广播、单播、专用RRC(Radio Resource Control,无线资源控制)消息的方式,将第一信息发送给第二终端组中的终端。
示例性的,第二接入网设备可以在需要切换的终端切换结束后,将第一信息发送给第二终端组中的终端,第二接入网设备也可以在需要切换的终端的切换过程中,将第一信息发送给第二终端组中的终端,本实施例对此不做限定。
步骤602:根据第一信息,确定目标时钟参考终端,目标时钟参考终端用作第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下的主TSN时钟节点,或者,第一主TSN时钟节点为第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点。
在本实施例中,基于5G系统内主TSN时钟节点的设置规则的不同,第一主TSN时钟节点可以是第二接入网设备下第二终端组的主TSN时钟节点,第一主TSN时钟节点也可以是第二终端组支持的TSN业务的主TSN时钟节点。
其具体实现方式可以参见图3实施例中的步骤301,这里不再重复赘述。
也就是,在接收到第一信息的情况下,第二接入网设备可以根据第一信息,确定用作第一主TSN时钟节点的目标时钟参考终端。如此,第二接入网设备可以与该目标时钟参考终端进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
在基于图6的可选实施例中,若需要切换的终端为第一终端组中的部分终端,需要切换的终端不包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
在该种情况下,第一信息包括:候选终端标识,候选终端是第一接入网设备从需要切换的终端中确定的。
也就是,当需要切换的终端中不包括第一时钟参考终端时,第一接入网设备可以在该需要切换的终端中确定候选终端,并向第二接入网设备发送用以指示该候选终端的信息。
示例性的,第一信息还包括以下至少之一:第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识。
也就是,在一种实现方式中,在需要切换的终端不包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以获取该需要切换的终端的的业务组归属信息或终端组归属信息,将该需要切换的终端归属到对应的终端组或业务组中。
在另一种实现方式中,在需要切换的终端不包括第一时钟参考终端的情况下,第一接入网设备发送的第一信息中可以包括用于识别候选终端的信息,还可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以在需要切换的终端中确定候选终端,并且可以获取更多关于该需要切换的终端的信息,从而将该需要切换的终端归属到对应的终端组或业务组中。
作为一种示例,第二接入网设备还可以进行如下操作中的至少之一:将候选终端确定为目标时钟参考终端。与目标时钟参考终端建立指定QoS flow或指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
其中,该指定QoS flow可以包括指定上行QoS flow,也可以包括指定下行QoS flow,还可以既包括指定上行QoS flow又包括指定下行QoS flow,本实施例对此不做限定。
其中,该指定无线数据承载可以包括指定上行无线数据承载,也可以包括指定下行无线数据承载,还可以既包括指定上行无线数据承载又包括指定下行无线数据承载,本实施例对此不做限定。
也就是,当需要切换的终端包括候选终端时,第二接入网设备可以直接将该候选终端确定为目标时钟参考终端。在该种情况下,第二接入网设备发送的切换命令中可以包括指示该候选终端建立指定QoS flow或指定无线数据承载建立的信息。
如此,第二接入网设备可以与该目标时钟参考终端建立指定QoS flow或指定无线数据承载,从而,目标时钟参考终端可以通过指定QoS flow或指定无线数据承载向第二接入网设备发送TSN时钟信息, 第二接入网设备可以根据该TSN时钟信息进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
示例性的,第二接入网设备也可以不将该候选终端确定为目标时钟参考终端,也就是,第二接入网设备可以将当前用作第一主TSN时钟节点的终端确定为目标时钟参考终端,在该种情况下,第二接入网设备可以与该目标时钟参考终端进行时钟同步。
示例性的,第二接入网设备还可以根据终端的能力确定目标时钟参考终端。也就是,第二接入网设备可以对候选终端与当前用作第一主TSN时钟节点的终端的能力进行对比,将能力较强的终端确定为目标时钟参考终端。
譬如,第二接入网设备可以对候选终端与当前用作第一主TSN时钟节点的终端的服务质量进行对比,若候选终端的服务质量较高,则确定候选终端为目标时钟参考终端。若当前用作第一主TSN时钟节点的终端的服务质量较高,则确定当前用作第一主TSN时钟节点的终端为目标时钟参考终端。
示例性的,第二接入网设备也可以不将该候选终端确定为目标时钟参考终端,而是可以直接将当前用作第二主TSN时钟节点的终端确定为目标时钟参考终端,在该种情况下,第二接入网设备可以与该目标时钟参考终端进行时钟同步,或者,第二接入网设备可以与该目标时钟参考终端所属的接入网设备进行时钟同步。
在基于图6的可选实施例中,需要切换的终端为第一终端组中的部分终端,需要切换的终端包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。
在该种情况下,第一信息包括以下至少之一:
(1)第一时钟参考终端标识,指定服务质量流QoS flow标识;
(2)指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
(3)指定无线数据承载DRB标识,指定DRB标识指示的无线数据承载用于传输TSN时钟信息。
也就是,当需要切换的终端中包括第一时钟参考终端时,第二接入网设备可以接收用以指示该第一时钟参考终端的信息,譬如,第二接入网设备可以接收第一时钟参考终端标识、指定QoS flow标识和指定DRB标识中的一个或多个。
示例性的,第一信息还包括以下至少之一:第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识。
其具体内容可以参见图4实施例中的步骤401,这里不再重复赘述。
也就是说,在一种实现方式中,在需要切换的终端包括第一时钟参考终端的情况下,第一信息可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标中的一个或多个,如此,第二接入网设备可以获取该需要切换的终端的的业务组归属信息或终端组归属信息,将该需要切换的终端归属到对应的终端组或业务组中。
在另一种实现方式中,在需要切换的终端包括第一时钟参考终端的情况下,第一信息中可以包括用于识别第一时钟参考终端的信息,还可以包括第一终端组的终端组标识、第一终端组中除第一时钟参考终端之外的其他终端的终端标识、TSN业务标识、TSN组标识、所属的TSN时钟域标识、所属的TSN时间域标识中的一个或多个,如此,第二接入网设备可以在需要切换的终端中确定第一时钟参考终端,并且可以获取更多关于该需要切换的终端的信息,从而将该需要切换的终端归属到对应的终端组或业务组中。
作为一种示例,第二接入网设备还可以执行如下操作中的至少之一:将第一时钟参考终端确定为目标时钟参考终端。与目标时钟参考终端建立指定QoS flow或指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
也就是,当需要切换的终端包括第一时钟参考终端时,第二接入网设备可以直接将该第一时钟参考终端确定为目标时钟参考终端。在该种情况下,第二接入网设备发送的切换命令中可以包括指示该第一时钟参考终端建立指定QoS flow或指定无线数据承载建立的信息。
如此,第二接入网设备可以与该目标时钟参考终端建立指定QoS flow或指定无线数据承载,从而,目标时钟参考终端可以通过指定QoS flow或指定无线数据承载向第二接入网设备发送TSN时钟信息,第二接入网设备可以根据该TSN时钟信息进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
示例性的,第二接入网设备也可以不将该第一时钟参考终端确定为目标时钟参考终端,也就是,第 二接入网设备可以将当前用作第一主TSN时钟节点的终端确定为目标时钟参考终端,在该种情况下,第二接入网设备可以与该目标时钟参考终端进行时钟同步,或者,第二接入网设备可以与该目标时钟参考终端所属的接入网设备进行时钟同步。
示例性的,第二接入网设备还可以根据终端的能力确定目标时钟参考终端。也就是,第二接入网设备可以对第一时钟参考终端与当前用作第一主TSN时钟节点的终端的能力进行对比,将能力较强的终端确定为目标时钟参考终端。
譬如,第二接入网设备可以对第一时钟参考终端与当前用作第一主TSN时钟节点的终端的服务质量进行对比,若第一时钟参考终端的服务质量较高,则确定第一时钟参考终端为目标时钟参考终端。若当前用作第一主TSN时钟节点的终端的服务质量较高,则确定当前用作第一主TSN时钟节点的终端为目标时钟参考终端。
在基于图6的可选实施例中,若需要切换的终端包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。第二接入网设备还可以进行如下操作:在第一时钟参考终端发生变更的情况下,接收变更消息,变更消息用于通知第二接入网设备第二主TSN时钟节点发生变更。
其中,第二主TSN时钟节点发生变更可以包括用作第二主TSN时钟节点的终端切换,用作第二主TSN时钟节点的终端断电,用作第二主TSN时钟节点的终端异常,用作第二主TSN时钟节点的终端移动至第一接入网设备的覆盖范围之外等情况,本实施例对此不做限定。
在本实施例中,当用作第二主TSN时钟节点的第一时钟参考终端发生变更时,该第一时钟参考终端不再用作第二主TSN时钟节点,即第一接入网设备不再与该第一时钟参考终端进行时钟同步。如此,在需要切换的终端包括第一时钟参考终端的情况下,若该第一时钟参考终端发生变更,即该第一时钟参考终端不再用作第二主TSN时钟节点时,第二接入网设备可以通过第一接入网设备发送的变更消息,确定第一时钟参考终端不再用作第一主TSN时钟节点。
作为一种示例,变更消息可以包括以下至少之一:变更指示、TSN业务标识、第一时钟参考终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一时钟参考终端标识之外的其他终端的终端标识。
其中,目标终端指的是重新确定的用作第二主TSN时钟节点的终端。
其中,变更指示可以用于第二接入网设备确定第一时钟参考终端不再用作第二主TSN时钟节点。
其中,TSN业务标识可以用于第二接入网设备确定第一时钟参考终端支持的TSN业务类型。
其中,该所属的TSN时钟域标识可以用于第二接入网设备确定第一时钟参考终端支持的TSN业务在传输时对应的时钟域。
其中,第一时钟参考终端标识可以用于第二接入网设备在需要切换的终端中确定第一时钟参考终端。
其中,该TSN组标识指的是第一时钟参考终端支持的TSN业务所归属的业务组的标识,或者,该TSN组标识指的是在第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点的情况下,所有支持该TSN业务的终端组成的终端组的标识。需要说明的是,支持该TSN业务的终端可以属于同一接入网设备,也可以属于不同接入网设备,本实施例对此不做限定。
也就是,变更消息中可以包括变更指示、TSN业务标识、第一时钟参考终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一时钟参考终端标识之外的其他终端的终端标识中的一个或多个,如此,第二接入网设备可以根据该变更消息,确定更加合适的终端用作第一主TSN时钟节点。
作为一种示例,第二接入网设备还可以进行如下操作:向第二接入网设备下的第二终端组中的终端发送变更消息。
也就是,在第二接入网设备接收到变更消息的情况下,该第二接入网设备可以向第二终端组的终端发送变更消息。如此,该第二终端组中的终端也可以确定第一时钟参考终端不再用作第二主TSN时钟节点。
示例性的,第二接入网设备可以通过广播、单播、专用RRC消息的方式,将变更消息发送给第二终端组中的终端。
在基于图6的可选实施例中,若需要切换的终端包括第一时钟参考终端,第一时钟参考终端用作第二主TSN时钟节点,第二主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第二主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点。第二接入网设备还可以进行如下操作:
1、基于需要切换的终端是否对应有指定QoS flow或指定无线数据承载,确定第二主TSN时钟节 点。
也就是,当第二接入网设备确定需要切换的终端对应有指定QoS flow或指定无线数据承载时,可以确定该终端可以用作第二主TSN时钟节点。当第二接入网设备确定需要切换的终端没有对应有指定QoS flow或指定无线数据承载时,可以确定该终端不可以用作第二主TSN时钟节点。
2、基于需要切换的终端是否有能力建立指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点。指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
也就是,当第二接入网设备确定需要切换的终端有能力建立指定QoS flow或指定无线数据承载时,可以确定该终端可以用作第二主TSN时钟节点。当第二接入网设备确定需要切换的终端没有能力建立指定QoS flow或指定无线数据承载,可以确定该终端不可以用作第二主TSN时钟节点。
3、基于需要切换的终端是否有指定标识,确定第二主TSN时钟节点。其中,该指定标识为用作第二主TSN时钟节点的终端的标识。
其中,该标识可以是预配置的,也可以网络设备指示或配置给该终端的,譬如,该标识可以为CNC节点配置给该终端的,该标识也可以为第一接入网设备配置给该终端的,本实施例对此不做限定。
也就是,当第二接入网设备确定需要切换的终端对应有第二主TSN时钟节点的标识时,可以确定该终端可以用作第二主TSN时钟节点。当第二接入网设备确定需要切换的终端没有对应有第二主TSN时钟节点的标识时,可以确定该终端不可以用作第二主TSN时钟节点。
在本申请实施例中,在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第二接入网设备可以在切换过程中接收第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,第一信息可以包括第一时钟参考终端的相关信息,第二接入网设备可以根据第一信息在需要切换的终端中确定第一时钟参考终端。
在该种情况下,第二接入网设备可以直接将该第一时钟参考终端确定为目标时钟参考终端,即可以将该第一时钟参考终端用作第一主TSN时钟节点,如此,第二接入网设备可以与该目标时钟参考终端进行时钟同步。
作为一种示例,在需要切换的终端中不包括第一时钟参考终端的情况下,第一信息可以包括候选终端的相关信息,第二接入网设备可以根据该第一信息在需要切换的终端中确定候选终端。
在该种情况下,第二接入网设备可以直接将该候选终端确定为目标时钟参考终端,即可以将该候选终端用作第一主TSN时钟节点,如此,第二接入网设备可以与该目标时钟参考终端进行时钟同步。
当然,在该种情况下,第二接入网设备也可以不将该候选终端确定为目标时钟参考终端,而是可以直接将当前用作第二主TSN时钟节点的终端确定为目标时钟参考终端。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,若第一时钟参考终端发生变更,第二接入网设备可以接收第一接入网设备发送的变更消息,如此,第二接入网设备可以及时确定第一时钟参考终端不再用作第二主TSN时钟节点,在此基础上,第二接入网设备可以选择更加合适的终端用作第一主TSN时钟节点。
请参考图7,该图7是根据一示例性实施例示出的一种时钟同步方法的流程图,该时钟同步方法可以应用于上述图2所示的实施环境中,主要由第三接入网设备来执行,该第三接入网设备可以为第一接入网设备,也可以为第二接入网设备,即该第三接入网设备可以为源接入网设备,也可以为目标接入网设备。该时钟同步方法可以包括如下内容中的至少部分内容:
步骤701:在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端。
其中,第二时钟参考终端用作第三主TSN时钟节点,第三主TSN时钟节点为第三接入网设备下的主TSN时钟节点,或者,第三主TSN时钟节点为第三终端组支持的TSN业务的主TSN时钟节点,目标终端为重新确定的用作第三主TSN时钟节点的终端,第三终端组为第二时钟参考终端所在的终端组,第三终端组中的终端支持的TSN业务类型相同。
其中,第二主TSN时钟节点发生变更可以包括用作第二主TSN时钟节点的终端切换,用作第二主TSN时钟节点的终端断电,用作第二主TSN时钟节点的终端异常,用作第二主TSN时钟节点的终端移动至第一接入网设备的覆盖范围之外等情况,本实施例对此不做限定。
在本实施例中,基于5G系统内主TSN时钟节点的设置规则的不同,第三主TSN时钟节点可以是第三接入网设备下第三终端组的主TSN时钟节点,第三主TSN时钟节点也可以是第三终端组支持的 TSN业务的主TSN时钟节点。
其具体实现方式可以参见图3实施例中的步骤301,这里不再重复赘述。
在本实施例中,当用作第二主TSN时钟节点的终端发生变更时,该终端不再用作第二主TSN时钟节点,即第三接入网设备不再与该用作第二主TSN时钟节点的终端进行时钟同步。
在该种情况下,第三接入网设备可以在第三终端组中确定目标终端,即确定可以用作第三主TSN时钟节点的终端,从而该第三接入网设备可以与该目标终端进行时钟同步。
示例性的,第三接入网设备可以在第三终端组中选择时钟精度最高的终端作为目标终端,也可以在第三终端组中选择本振最小的终端作为目标终端,还可以在第三终端组中选择服务质量最高的终端作为目标终端等,本实施例对此不做限定。
在一种可能的实现方式中,第三接入网设备还可以进行如下操作:与目标终端建立指定QoS flow或指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
其中,该指定QoS flow可以包括指定上行QoS flow,也可以包括指定下行QoS flow,还可以既包括指定上行QoS flow又包括指定下行QoS flow,本实施例对此不做限定。
其中,该指定无线数据承载可以包括指定上行无线数据承载,也可以包括指定下行无线数据承载,还可以既包括指定上行无线数据承载又包括指定下行无线数据承载,本实施例对此不做限定。
也就是,在确定目标终端的情况下,第三接入网设备可以与该目标终端建立指定QoS flow或指定无线数据承载,如此,该目标终端可以通过指定QoS flow或指定无线数据承载向第一接入网设备发送TSN时钟信息,第一接入网设备可以根据该TSN时钟信息与该目标终端进行时钟同步。
示例性的,目标终端是由以下至少之一的节点确定:核心网节点,CNC节点,第三接入网设备,第三终端组中的所有终端,第三终端组中的任一终端,第三终端组中的指定终端,第二时钟参考终端。
其中,核心网节点可以包括AMF节点、SMF节点等等,本实施例对此不做限定。
其中,第三终端组中的指定终端可以是由第三接入网设备指定的,也可以是由核心网节点指定的,本实施例对此不做限定。
也就是,在第二时钟参考终端发生变更的情况下,可以由核心网节点,CNC节点,第三接入网设备,第三终端组中的所有终端,第三终端组中的任一终端,第三终端组中的指定终端,第二时钟参考终端中的一个或多个确定目标终端。
譬如,在第二时钟参考终端发生变更的情况下,可以由第三接入网设备在第三终端组中确定目标终端。也可以由第三接入网设备和第二时钟参考终端共同在第三终端组中确定目标终端,本实施例对此不做限定。
作为一种示例,第二接入网设备还可以进行如下操作:在目标终端是由第三接入网设备确定的情况下,向第一节点发送变更消息,变更消息包括目标终端的终端标识。
其中,目标终端的终端标识可以用于第一节点在第二接入网覆盖范围内的多个终端中确定目标终端。示例性的,该目标终端的终端标识可以为目标终端的ID。
如图8所示,当目标终端是由第三接入网设备确定的时,第三接入网设备可以确定目标终端的相关信息,由此可以生成变更消息,进而第三接入网设备可以向第一节点发送变更消息,以指示第一节点第二时钟参考终端发生变更,并且,该第一节点可以根据变更消息中包括的目标终端的终端标识,在第三接入网设备覆盖范围内的多个终端中确定目标终端。
示例性的,第三接入网设备可以通过广播、单播、专用RRC消息的方式,将变更消息发送给第一节点。
示例性的,变更消息还包括以下至少之一:变更指示,TSN业务标识、所属的TSN时钟域标识、第二时钟参考终端标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第三终端组的终端组标识、第三终端组中除第二时钟参考终端之外的其他终端的终端标识。
其中,变更指示可以用于第一节点确定第二时钟参考终端不再用作第二主TSN时钟节点。
其中,TSN业务标识可以用于第一节点确定目标终端支持的TSN业务类型,如此,若第一节点支持的TSN业务类型与该目标终端支持的TSN业务类型相同,则该第一节点可以与该目标终端进行时钟同步。
其中,该所属的TSN时钟域标识可以用于第一节点确定目标终端支持的TSN业务在传输时对应的时钟域。
其中,第三终端组的终端组标识可以用于第一节点确定目标终端所属的终端组。示例性的,该第三终端组的终端组标识可以为第三终端组的ID。
其中,第二时钟参考终端标识可以用于第一节点在第三接入网设备覆盖范围内多个终端中确定第二时钟参考终端。
其中,该目标终端所属的服务小区标识可以用于第一节点确定该目标终端所属的服务小区。
在多个接入网设备之间时钟同步的情况下,该多个接入网设备可以使用同一主TSN时钟节点进行时钟同步,在这种情况下,目标终端所属的服务小区可以不是第一节点所属的服务小区。
譬如,在第二接入网设备和第三接入网设备之间时钟同步的情况下,若该目标终端在第三接入网设备的覆盖范围内,则该目标终端所属的服务小区为第三接入网设备覆盖范围内的小区。若该目标终端在第二接入网设备的覆盖范围内,该目标终端所属的服务小区为第二接入网设备覆盖范围内的小区。
其中,该目标终端所属的接入网设备标识可以用于第一节点确定该目标终端所属的接入网设备。
在多个接入网设备之间时钟同步的情况下,该多个接入网设备可以使用同一主TSN时钟节点进行时钟同步,在这种情况下,目标终端所属的接入网设备可以不是该第一节点所属的接入网设备。
譬如,在第二接入网设备和第三接入网设备之间时钟同步的情况下,若该目标终端在第三接入网设备的覆盖范围内,则该目标终端所属的接入网设备为第三接入网设备。若该目标终端在第二接入网的覆盖范围内,则该目标终端所属的接入网设备为第二接入网设备。
其中,该TSN组标识指的是第二时钟参考终端支持的TSN业务所归属的业务组的标识,或者,该TSN组标识指的是在第三主TSN时钟节点为第三终端组支持的TSN业务的主TSN时钟节点的情况下,所有支持该TSN业务的终端组成的终端组的标识。需要说明的是,支持该TSN业务的终端可以属于同一接入网设备,也可以属于不同接入网设备,本实施例对此不做限定。
也就是,第三接入网设备发送的变更消息中除了可以包括目标终端的终端标识之外,还可以包括变更指示、TSN业务标识、所属的TSN时钟域标识、第二时钟参考终端标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第三终端组的终端组标识、第三终端组中除第二时钟参考终端之外的其他终端的终端标识中的一个或多个,如此,第一节点可以获取更多关于该目标终端的信息。
示例性的,第一节点包括以下至少之一:支持第三终端组对应的TSN业务的所有终端、第三接入网设备下的所有终端、第三终端组中的所有终端、第三终端组中除目标终端之外的其他终端、第二时钟参考终端、目标终端。
也就是,第三接入网设备可以向支持第三终端组对应的TSN业务的所有终端,第三接入网设备下的所有终端,第三终端组中的所有终端,第三终端组中除目标终端之外的其他终端,第二时钟参考终端,目标终端中的一个或多个发送变更消息。
譬如,第三接入网设备可以向第三接入网设备下的所有终端发送变更消息,也可以向第二时钟参考终端和目标终端发送变更消息,本实施例对此不做限定。
作为一种示例,第二接入网设备还可以进行如下操作:在目标终端是由第三终端组中的所有终端、第三终端组中的任一终端、第二时钟参考终端、第一时钟参考终端或第三终端组中的指定终端确定的情况下,接收变更消息,变更消息包括目标终端的终端标识。
也就是,当目标终端是由第三终端组中的所有终端、第三终端组中的任一终端、第二时钟参考终端、第一时钟参考终端或第三终端组中的指定终端中的一个或多个确定时,由于该第三接入网设备并未直接确定目标终端,所以该第三接入网设备不能确定目标终端的信息,在该种情况下,第三接入网设备可以通过接收变更消息,在第三终端组中确定目标终端。
示例性的,第二接入网设备还可以进行如下操作:向第一节点发送变更消息。
也就是,在第二接入网设备接收变更消息的情况下,第二接入网设备可以向第一节点发送变更消息,以指示第一节点第二时钟参考终端不再用作第三主TSN时钟节点。
作为一种示例,第二接入网设备还可以进行如下操作:在目标终端是由核心网节点或CNC节点确定的情况下,接收变更消息,变更消息包括目标终端的终端标识。
也就是,在目标终端是由核心网节点确定的情况下,由于该第三接入网设备并未直接确定目标终端,所以该第三接入网设备不能确定目标终端的信息,在该种情况下,第三接入网设备可以接收核心网节点发送的变更消息,从而可以根据该变更消息,在第三终端组中确定目标终端。
示例性的,该变更消息可以是核心网节点通过NAS(Non-Access Stratum,非接入层)消息发送至第三接入网设备的。
在本申请实施例中,当第二时钟参考终端发生变更时,该第二时钟参考终端不再用作第三主TSN时钟节点,即第三接入网设备不再可以与该第二时钟参考终端进行时钟同步。在该种情况下,第三接入网设备可以在第二时钟参考终端所属的第三终端组中确定确定合适的主TSN时钟节点进行时钟同步。
在本申请实施例中,当第二时钟参考终端发生变更时,第三接入网设备还可以指示第二时钟参考终端释放或挂起指定QoS flow或指定无线数据承载。
请参考图9,该图9是根据一示例性实施例示出的一种时钟同步方法的流程图,该时钟同步方法可以应用于上述图2所示的实施环境中,由第一终端执行,该时钟同步方法可以包括如下内容中的至少部分内容:
步骤901:在第一终端用作第一主TSN时钟节点的情况下,向第一接入网设备发送TSN时钟信息。
其中,第一主TSN时钟节点为第一接入网设备下的主TSN时钟节点,或者,第一主TSN时钟节点为第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,第一终端组中的终端支持的TSN业务类型相同。
在本实施例中,基于5G系统内主TSN时钟节点的设置规则的不同,第一主TSN时钟节点可以是第一接入网设备下第一终端组的主TSN时钟节点,第一主TSN时钟节点也可以是第一终端组支持的TSN业务的主TSN时钟节点。
其具体实现方式可以参见图3实施例中的步骤301,这里不再重复赘述。
也就是,当第一终端用作第一主TSN时钟节点时,第一终端可以向第一接入网设备发送TSN时钟信息,如此,第一接入网设备可以根据该TSN时钟信息进行时钟同步。
示例性的,TSN时钟信息包括以下至少之一:TSN业务到达时间、TSN业务离开时间、所属的TSN时间域标识、所属的TSN时钟域标识、时间信息、时间信息类型、时钟同步精度信息、SFN(System Frame Number,系统帧号)信息、传播时延补偿指示。
其中,TSN业务到达时间指的是第一终端支持的TSN业务的传输开始时间,TSN业务离开时间指的是第一终端支持的TSN业务的传输结束时间。
其中,该所属的TSN时钟域标识可以用于第一接入网设备确定该第一终端支持的TSN业务在传输时对应的时钟域。
其中,该所属的TSN时间域标识可以用于第一接入网设备确定该第一终端支持的TSN业务在传输时对应的时间域。
其中,时钟同步精度信息可以用于第一接入网设备确定该第一终端的时钟同步精度。
其中,该时间信息可以用于指示时间,示例性的,该时间信息可以为秒级时间信息、纳秒级时间信息等等,本实施例对此不做限定。
其中,该时间信息类型可以用于第一接入网设备确定时间信息的类型,示例性的,该时间信息类型可以为默认类型、请求类型、响应类型等等,本实施例对此不做限定。
其中,SFN信息可以用于第一接入网设备确定第一终端发送TSN时钟信息时的系统帧号。
其中,传播时延补偿指示可以用于第一接入网设备确定该第一终端是否进行传播时延补偿。
也就是,第一终端可以向第一接入网设备发送TSN业务到达时间,TSN业务离开时间,所属的TSN时间域标识,所属的TSN时钟域标识,时间信息,时间信息类型,时钟同步精度信息,系统帧号SFN信息,传播时延补偿指示中的一个或多个,从而第一接入网设备可以根据接收到的信息与第一终端进行时钟同步。
当然,第一终端也可以不向第一网络设备发送TSN时钟信息,而是直接向核心网节点发送TSN时钟信息,在该种情况下,可以由核心网节点对该TSN时钟信息进行转发。
在一种可能的实现方式中,第一终端还可以进行如下操作:在参考事件被触发的情况下,向第一接入网设备发送更新的TSN时钟信息。或者,每隔指定时长,向第一接入网设备发送更新的TSN时钟信息。
其中,参考事件和指定时长均可以为根据实际情况设置的,本实施例对此不做限定。
示例性的,当参考事件被触发时,可以说明该TSN时钟信息进行了更新,由此,第一终端可以向第一接入网设备发送更新的TSN时钟信息,在该种情况下,第一接入网设备可以根据更新的TSN时钟信息与第一终端进行时钟同步。
示例性的,当距离上一次发送TSN时钟信息过去指定时长时,可以说明该TSN时钟信息进行了更新,由此,第一终端可以向第一接入网设备发送更新的TSN时钟信息,在该种情况下,第一接入网设备可以根据更新的TSN时钟信息与第一终端进行时钟同步。
示例性的,更新的TSN时钟信息可以携带于指定DRB、指定QoS flow,专用RRC消息,MAC CE(Medium Access Control Control Element,媒体接入控制控制单元)或物理层信令等等中,本实施例对此不做限定。
其中,该指定QoS flow可以包括指定上行QoS flow,也可以包括指定下行QoS flow,还可以既包括指定上行QoS flow又包括指定下行QoS flow,本实施例对此不做限定。
其中,该指定无线数据承载可以包括指定上行无线数据承载,也可以包括指定下行无线数据承载,还可以既包括指定上行无线数据承载又包括指定下行无线数据承载,本实施例对此不做限定。
作为一种示例,参考事件被触发包括以下至少之一:TSN业务到达,TSN时钟信息变更,TSN时钟信息变更粒度大于或等于指定门限粒度。
其中,指定门限粒度可以根据实际情况进行设置,本实施例对此不做限定。
示例性的,当TSN业务到达的时候,可以说明该TSN时钟信息需要更新,在该种情况下,第一终端可以向第一接入网设备发送更新的TSN时钟信息,如此,第一接入网设备可以根据该更新的TSN时钟信息与第一终端进行同步,以实现第一终端支持的TSN业务下的时钟同步,保证第一终端支持的TSN业务的传输可靠性。
示例性的,当TSN时钟信息变更时,可以说明该TSN时钟信息需要更新,在该种情况下,第一终端可以向第一接入网设备发送更新的TSN时钟信息,如此,第一接入网设备可以根据该更新的TSN时钟信息与第一终端进行同步,以实现第一终端支持的TSN业务下的时钟同步。
示例性的,当TSN时钟信息变更粒度大于或等于指定门限粒度时,由于该变更粒度较大,可以说明该TSN时钟信息需要更新,在该种情况下,第一终端可以向第一接入网设备发送更新的TSN时钟信息,如此,第一接入网设备可以根据该更新的TSN时钟信息与第一终端进行同步,以实现第一终端支持的TSN业务下的时钟同步。
譬如,可以设置指定门限粒度为1ms,若TSN时钟信息变更粒度为2ms,由于TSN时钟信息变更粒度大于该指定门限粒度,可以说明该TSN时钟信息需要更新,在该种情况下,第一终端可以向第一接入网设备发送更新的TSN时钟信息。
当然,第一终端也可以不向第一网络设备发送更新的TSN时钟信息,而是直接向核心网节点发送更新的TSN时钟信息,在该种情况下,可以由核心网节点对该更新的TSN时钟信息进行转发。
在一种可能的实现方式中,第一终端用作第一主TSN时钟节点,向第一接入网设备发送TSN时钟信息之前,第一终端还可以进行如下操作:与第一接入网设备建立指定QoS flow或指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
也就是,若第一终端用作第一接入网设备下的主TSN时钟节点,第一终端可以接收第一接入网设备的指定QoS flow建立信令或指定无线数据承载建立信令。在该种情况下,第一终端可以根据该指定QoS flow建立信令或指定无线数据承载建立信令,建立指定QoS flow或指定无线数据承载,如此,第一终端可以通过该指定QoS flow或指定无线数据承载向第一接入网设备发送TSN时钟信息。
在一种可能的实现方式中,在第一终端用作第一主TSN时钟节点的情况下,第一终端还可以进行如下操作:在第一主TSN时钟节点变更的情况下,若第一终端不是目标终端,则释放或挂起指定QoS flow或指定无线数据承载。其中,目标终端为重新确定的用作第一主TSN时钟节点的终端。
其中,第一主TSN时钟节点发生变更可以包括:第一终端切换、第一终端断电、第一终端异常、第一终端移动至第一接入网设备的覆盖范围之外等情况,本实施例对此不做限定。
通常,当第一主TSN时钟节点发生变更时,该第一终端不再用作第一主TSN时钟节点,即第一接入网设备不再与该第一终端进行时钟同步。在该种情况下,第一终端可以释放指定QoS flow或指定无线数据承载。示例性的,第一终端可以在目标终端建立指定QoS flow或指定无线数据承载之前,删除第一终端对应的指定QoS flow或指定无线数据承载。如此,第一终端不可以向第一接入网设备或核心网节点或其他终端发送TSN时钟信息。
或者,第一终端可以挂起指定QoS flow或指定无线数据承载。也就是,第一终端可以暂停使用该指定QoS flow或指定无线数据承载。如此,第一终端不可以向第一接入网设备或核心网节点或其他终端发送TSN时钟信息。
示例性的,目标终端是由以下至少之一的节点确定:核心网节点、集中网络控制器CNC节点、第一终端、第一接入网设备、第一终端组中的所有终端、第一终端组中的任一终端、第一终端组中的指定终端、第一终端。
其中,核心网节点可以包括AMF节点、SMF节点等等,本实施例对此不做限定。
其中,第一终端组中的指定终端可以是由第一接入网设备指定的,也可以是由核心网节点指定的,本实施例对此不做限定。
也就是,在第一时钟参考终端发生变更的情况下,可以由核心网节点、CNC节点、第一终端、第一接入网设备、第一终端组中的所有终端、第一终端组中的任一终端、第一终端组中的指定终端、第一终端中的一个或多个确定目标终端。
譬如,在第一时钟参考终端发生变更的情况下,可以由第一接入网设备在第一终端组中确定目标终端。也可以由第一接入网设备和第一时钟参考终端共同在第一终端组中确定目标终端,本实施例对此不做限定。
作为一种示例,第一终端还可以进行如下操作:确定变更消息,变更消息包括目标终端的终端标识。
其中,在目标终端是由第一终端确定的情况下,第一终端可以确定目标终端的相关信息,即可以确定目标终端的终端标识,由此可以生成变更消息。
其中,在目标终端是由核心网节点、集中网络控制器CNC节点、第一终端、第一接入网设备、第一终端组中的所有终端、第一终端组中的任一终端、第一终端组中的指定终端中的一个或多个确定的情况下,由于第一终端并未直接确定目标终端,所以该第一终端不能确定目标终端的相关信息,在该种情况下,第一终端可以接收变更消息。
示例性的,变更消息还包括以下至少之一:变更指示、TSN业务标识、第一终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一终端之外的其他终端的终端标识。
其中,TSN业务标识可以用于第一终端确定目标终端支持的TSN业务类型。
其中,该所属的TSN时钟域标识可以用于第一终端确定目标终端支持的TSN业务在传输时对应的时钟域。
其中,该目标终端所属的服务小区标识可以用于第一终端确定该目标终端所属的服务小区。
其中,该目标终端所属的接入网设备标识可以用于第一终端确定该目标终端所属的接入网设备。
其中,该TSN组标识指的是在第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点的情况下,所有支持该TSN业务的终端组成的终端组的标识。需要说明的是,支持该TSN业务的终端可以属于同一接入网设备,也可以属于不同接入网设备,本实施例对此不做限定。
也就是,变更消息中除了可以包括目标终端的终端标识之外,还可以包括变更指示、TSN业务标识、第一终端标识、所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一终端之外的其他终端的终端标识中的一个或多个,如此,第一终端可以获取更多关于该目标终端的信息。
作为一种示例,第一终端还可以进行如下操作:向第一节点发送变更消息。
也就是,在目标终端确定变更消息的情况下,第一终端可以向第一节点发送变更消息,以指示该第一节点第一终端不再用作第一主TSN时钟节点。
示例性的,第一节点包括以下至少之一:支持第一终端组对应的TSN业务的所有终端、第一接入网设备下的所有终端、第一终端组中的所有终端、目标终端、第一终端组中除目标终端之外的其他终端。
也就是,第一终端可以向支持第一终端组对应的TSN业务的所有终端、第一接入网设备下的所有终端、第一终端组中的所有终端、目标终端、第一终端组中除目标终端之外的其他终端中的一个或多个发送变更消息。
步骤902:在第一终端不是用作第一主TSN时钟节点的情况下,接收TSN时钟信息。
也就是,若第一终端不是用作第一接入网设备下的主TSN时钟节点,则第一终端可以接收TSN时钟信息,从而该第一终端可以基于该TSN时钟信息与第一接入网设备进行时钟同步。
示例性的,TSN时钟信息可以携带于指定下行DRB,指定下行QoS flow,广播消息、专用RRC消息等等中,本实施例对此不做限定。
在一种可能的实现方式中,在第一终端不是用作第一主TSN时钟节点的情况下,第一终端还可以进行如下操作:在第一主TSN时钟节点变更的情况下,若第一终端是目标终端,则与第一接入网设备建立指定QoS flow或指定无线数据承载。其中,目标终端为重新确定的用作第一主TSN时钟节点的终端。
当第一主TSN时钟节点变更时,第一终端不再用作第一主TSN时钟节点。在该种情况下,如果第一终端是目标终端,即如果第一终端为重新确定的用作第一主TSN时钟节点的终端,该第一终端可以与第一接入网设备建立指定QoS flow或指定无线数据承载,从而该第一终端可以通过该指定QoS flow或指定无线数据承载向第一接入网设备发送TSN时钟信息。
示例性的,目标终端是由以下至少之一的节点确定:核心网节点、CNC节点、第一接入网设备、第一终端组中的所有终端、第一终端组中的任一终端、第一终端组中的指定终端、第一终端。
其具体内容可以参见图9实施例中的步骤901,这里不再重复赘述。
作为一种示例,第一终端还可以进行如下操作:确定变更消息,变更消息包括目标终端的终端标识。
其具体内容可以参见图9实施例中的步骤901,这里不再重复赘述。
示例性的,变更消息还包括以下至少之一:变更指示、TSN业务标识、第一终端标识,所属的TSN时钟域标识、目标终端所属的服务小区标识、目标终端所属的接入网设备标识、TSN组标识、第一终端组的终端组标识、第一终端组中除第一终端之外的其他终端的终端标识。
其具体内容可以参见图9实施例中的步骤901,这里不再重复赘述。
作为一种示例,第一终端还可以进行如下操作:向第一节点发送变更消息。
其具体内容可以参见图9实施例中的步骤901,这里不再重复赘述。
示例性的,第一节点包括以下至少之一:支持第一终端组对应的TSN业务的所有终端、第一接入网设备下的所有终端、第一终端组中的所有终端、目标终端、第一终端组中除目标终端之外的其他终端。
其具体内容可以参见图9实施例中的步骤901,这里不再重复赘述。
在一种可能的实现方式中,第一终端还可以进行如下操作:
1、若第一终端对应有指定QoS flow或指定无线数据承载,或者,第一终端有能力建立指定QoS flow或指定无线数据承载,则确定第一终端用作第一主TSN时钟节点,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
示例性的,当第一终端对应有指定QoS flow或指定无线数据承载时,说明该第一终端可以用作第一主TSN时钟节点。当第一终端没有对应有指定QoS flow或指定无线数据承载时,说明该第一终端不可以用作第一主TSN时钟节点。
示例性的,当第一终端有能力建立指定QoS flow或指定无线数据承载时,说明该第一终端可以用作第一主TSN时钟节点。当第一终端没有能力建立指定QoS flow或指定无线数据承载,可以确定该第一终端不可以用作第一主TSN时钟节点。
2、若第一终端接收指定QoS flow建立信令或指定无线数据承载建立信令,则确定第一终端用作第一主TSN时钟节点。其中,指定QoS flow建立信令用于指示第一终端建立指定QoS flow,指定无线数据承载建立信令用于指示第一终端建立指定无线数据承载,指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
也就是,第一终端可以通过确定该是否接收指定QoS flow建立信令或指定无线数据承载建立信令,确定该第一终端是否可以用作第一主TSN时钟节点。
示例性的,当第一终端接收指定QoS flow建立信令或指定无线数据承载建立信令时,说明该第一终端可以用作第一主TSN时钟节点。如此,该第一终端可以基于该指定QoS flow建立信令或指定无线数据承载建立信令,建立指定QoS flow或指定无线数据承载。在该种情况下,该第一终端可以向第一接入网设备发送TSN时钟信息,该TSN时钟信息可以用于第一接入网设备与第一终端进行时钟同步。
示例性的,当第一终端没有接收指定QoS flow建立信令或指定无线数据承载建立信令,说明该第一终端不可以用作第一主TSN时钟节点。在该种情况下,第一终端可以接收第一接入网设备发送的TSN时钟信息,在该种情况下,第一终端可以基于该TSN时钟信息与第一接入网设备进行时钟同步。
3、若第一终端有指定标识,则确定第一终端用作第一主TSN时钟节点。其中,该指定标识为用作第一主TSN时钟节点的终端的标识。
其中,该标识可以是预配置的,也可以网络设备指示或配置给该终端的,譬如,该标识可以为CNC节点配置给该终端的,该标识也可以为第一接入网设备配置给该终端的,本实施例对此不做限定。
也就是,第一终端可以通过确定是否对应有第三主TSN时钟节点的标识,确定该第一终端是否可以用作第一主TSN时钟节点。
示例性的,当第一终端对应有第一主TSN时钟节点的标识时,可以确定该终端可以用作第一主TSN时钟节点。在该种情况下,该第一终端可以向第一接入网设备发送TSN时钟信息,该TSN时钟信息可以用于第一接入网设备与第一终端进行时钟同步。
示例性的,当第一接入网设备确定需要切换的终端没有对应有第一主TSN时钟节点的标识时,可以确定该终端不可以用作第一主TSN时钟节点。在该种情况下,第一终端可以接收第一接入网设备发送的TSN时钟信息,在该种情况下,第一终端可以基于该TSN时钟信息与第一接入网设备进行时钟同步。
在本申请实施例中,在第一终端用作第一主TSN时钟节点的情况下,第一终端可以向第一接入网设备发送TSN时钟信息,如此,该第一接入网设备可以根据该TSN时钟信息与第一终端进行时钟同步。在第一终端不是用作第一主TSN时钟节点的情况下,第一终端可以接收TSN时钟信息,如此,该第一终端可以基于该TSN时钟信息与第一接入网设备进行时钟同步。
请参考图10,该图10是根据一示例性实施例示出的一种时钟同步装置的结构图,该装置可以配置于终端中,该装置可以包括:
发送模块1010,用于在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息;其中,该第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同,该第一信息用于该第二接入网设备确定目标时钟参考终端,该目标时钟参考终端用作第一主TSN时钟节点,该第一主TSN时钟节点为该第二接入网设备下第二终端组的主TSN时钟节点,或者,该第一主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该第二终端组中的终端支持的TSN业务 类型相同,该第二终端组中的终端支持的TSN业务类型与该第一终端组中的终端支持的TSN业务类型相同。
在本申请一种可能的实现方式中,该需要切换的终端包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该第一信息包括以下至少之一:第一时钟参考终端标识;指定服务质量流QoS flow标识,该指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;指定无线数据承载DRB标识,该指定DRB标识指示的无线数据承载用于传输该TSN时钟信息。
在本申请一种可能的实现方式中,该需要切换的终端不包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该第一信息包括:候选终端标识,该候选终端是该第一接入网设备从该需要切换的终端中确定的。
在本申请一种可能的实现方式中,该第一信息还包括以下至少之一:该第一终端组的终端组标识;第一终端组中除该第一时钟参考终端之外的其他终端的终端标识;TSN业务标识;TSN组标识;所属的TSN时钟域标识;所属的TSN时间域标识。
在本申请一种可能的实现方式中,该需要切换的终端为该第一终端组中的部分终端,且需要切换的终端包括该第一时钟参考终端;该装置还包括:建立模块1020,用于与该第一终端组包括的不需要切换的终端中的目标终端建立指定QoS flow或指定无线数据承载,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息;其中,该目标终端为重新确定的用作该第二主TSN时钟节点的终端。
在本申请一种可能的实现方式中,该目标终端是由以下至少之一的节点确定:该第一接入网设备;核心网节点;集中网络控制器CNC节点;该第一终端组中不需要切换的所有终端;该第一终端组中不需要切换的所有终端中的任一终端;该第一终端组中不需要切换的所有终端中的指定终端;该第一时钟参考终端。
在本申请一种可能的实现方式中,该需要切换的终端为该第一终端组中的部分终端,且需要切换的终端不包括该第一时钟参考终端;该装置还包括:时钟同步模块1030,用于与该第一时钟参考终端进行时钟同步。
在本申请一种可能的实现方式中,其特征在于,该第一信息是通过切换请求携带的;或者,该第一信息是在接收到该第二接入网设备发送的信息发送指示后发送的,该信息发送指示用于指示该第一接入网设备发送该第一信息。
在本申请一种可能的实现方式中,该发送模块1010还用于:若在第一时间点第二主TSN时钟节点发生变更,向该第二接入网设备发送变更消息,该变更消息用于通知该第二接入网设备该第二主TSN时钟节点发生变更;其中,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点。
在本申请一种可能的实现方式中,该第一时间点包括以下情况中的至少之一:处于用作第二主TSN时钟节点的第一时钟参考终端发生变更之后;处于该第一接入网设备发送切换请求之后;处于该第一接入网设备接收该第二接入网设备的切换响应消息之后;处于该第一接入网设备发送该切换请求后,至该第一网络设备向需要切换的终端发送切换命令之前的时间段内;处于该第一接入网设备发送切换请求后,至需要切换的终端与该第二接入网设备建立连接之前的时间段内;处于该第一接入网设备与该终端释放连接之前。
在本申请一种可能的实现方式中,该装置还包括:确定模块1040,用于基于该第一终端组中的终端是否对应有指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点;或者,该确定模块1040,用于基于该第一终端组中的终端是否有能力建立该指定QoS flow或该指定无线数据承载,确定该第二主TSN时钟节点;其中,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息;该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点。
在本申请实施例中,在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第一接入网设备可以在切换过程中向第二接入网设备发送第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步,以实现该目标时钟参考终端支持的TSN业务下的时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,第一接入网设备可以向第二接入网设备发送用于识别该第一时钟参考终端的信息,如此,第二接入网设备可以以该第一时钟参考终端为参照,确定第一主TSN时钟节点。
在该种情况下,第一接入网设备可以在第一终端组包括的不需要切换的终端中选择目标终端用作第二主TSN时钟节点,从而第一接入网设备可以与该目标节点进行时钟同步,保证了该第一时钟参考终端支持的TSN业务下的时钟同步的连续性。
作为一种示例,在需要切换的终端中不包括第一时钟参考终端的情况下,第一接入网设备可以在该需要切换的终端中选择候选终端,并向第二接入网设备发送用于识别该候选终端的信息,如此,第二接入网设备可以以该候选终端为参照,确定第一主TSN时钟节点。
在该种情况下,该第一时钟参考终端可以继续用作第二主TSN时钟节点,如此,第一接入网设备可以与第一时钟参考终端进行时钟同步,以保证该第一时钟参考终端支持的TSN业务下的时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,若第一时钟参考终端在第一时间点发生变更,则第一接入网设备可以向第二接入网设备发送变更消息,如此,第二接入网设备可以及时确定第一时钟参考终端不再用作第二主TSN时钟节点,在此基础上,第二接入网设备可以选择更加合适的终端用作第一主TSN时钟节点。
请参考图11,该图11是根据一示例性实施例示出的一种时钟同步装置的结构图,该装置可以配置于终端中,该装置可以包括:
接收模块1110,用于接收第一接入网设备发送的第一信息,该第一信息是由该第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的;
确定模块1120,用于根据该第一信息,确定目标时钟参考终端,该目标时钟参考终端用作第一主时间段敏感型网络TSN时钟节点,该第一主TSN时钟节点为该第二接入网设备下的主TSN时钟节点,或者,该第一主TSN时钟节点为该第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点;中,该第一终端组中的终端支持的TSN业务类型相同,该第二终端组中的终端支持的TSN业务类型相同,该第二终端组中的终端支持的TSN业务类型与该第一终端组中的终端支持的TSN业务类型相同。
在本申请一种可能的实现方式中,该装置还包括:发送模块1130,用于向该第二终端组中的终端发送该第一信息。
在本申请一种可能的实现方式中,该需要切换的终端包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该接收模块1110还用于:在该第一时钟参考终端发生变更的情况下,接收变更消息,该变更消息用于通知该第二接入网设备该第二主TSN时钟节点发生变更。
在本申请一种可能的实现方式中,该装置还包括:发送模块1130,用于向该第二终端组中的终端发送该变更消息。
在本申请一种可能的实现方式中,该需要切换的终端为该第一终端组中的部分终端,该需要切换的终端包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该第一信息包括以下至少之一:第一时钟参考终端标识;指定服务质量流QoS flow标识,该指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;指定无线数据承载DRB标识,该指定DRB标识指示的无线数据承载用于传输该TSN时钟信息。
在本申请一种可能的实现方式中,该装置还包括以下至少之一:该确定模块1120,用于将该第一时钟参考终端确定为该目标时钟参考终端;建立模块1140,用于与该目标时钟参考终端建立指定QoS flow或指定无线数据承载,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该需要切换的终端为该第一终端组中的部分终端,该需要切换的终端不包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该第一信息包括:候选终端标识,该候选终端是该第一接入网设备从需要切换的终端中确定的。
在本申请一种可能的实现方式中,该装置还包括以下至少之一:该确定模块1120,用于将该候选终端确定为该目标时钟参考终端;建立模块1140,用于与该目标时钟参考终端建立指定QoS flow或指定无线数据承载,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该第一信息还包括以下至少之一:该第一终端组的终端组标识; 该第一终端组中除该第一时钟参考终端之外的其他终端的终端标识;TSN业务标识;TSN组标识;所属的TSN时钟域标识;所属的TSN时间域标识。
在本申请一种可能的实现方式中,该第一信息是通过切换请求携带的;或者,该第一信息是在该第二接入网设备发送信息发送指示后接收的,该信息发送指示用于指示该第一接入网设备发送该第一信息。
在本申请一种可能的实现方式中,该需要切换的终端包括第一时钟参考终端,该第一时钟参考终端用作第二主TSN时钟节点,该第二主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第二主TSN时钟节点为该第一终端组支持的TSN业务的主TSN时钟节点;该确定模块1120还用于:基于该需要切换的终端是否对应有指定QoS flow或指定无线数据承载,确定该第二主TSN时钟节点;或者,基于该需要切换的终端是否有能力建立该指定QoS flow或该指定无线数据承载,确定该第二主TSN时钟节点;该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请实施例中,在第一终端组中的终端需要由第一接入网设备切换至第二接入网设备的情况下,第二接入网设备可以在切换过程中接收第一信息,如此,第二接入网设备可以基于该第一信息确定目标时钟参考终端。也就是,第二接入网设备可以基于第一信息确定第一主TSN时钟节点,第一主TSN时钟节点为第二接入网设备下第二终端组的主TSN时钟节点,或者,第一主TSN时钟节点为第一终端组支持的TSN业务的主TSN时钟节点,如此,在切换过程中使得该第二接入网设备可以确定合适的主TSN时钟节点进行时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,第一信息可以包括第一时钟参考终端的相关信息,第二接入网设备可以根据第一信息在需要切换的终端中确定第一时钟参考终端。
在该种情况下,第二接入网设备可以直接将该第一时钟参考终端确定为目标时钟参考终端,即可以将该第一时钟参考终端用作第一主TSN时钟节点,如此,第二接入网设备可以与该目标时钟参考终端进行时钟同步。
作为一种示例,在需要切换的终端中不包括第一时钟参考终端的情况下,第一信息可以包括候选终端的相关信息,第二接入网设备可以根据该第一信息在需要切换的终端中确定候选终端。
在该种情况下,第二接入网设备可以直接将该候选终端确定为目标时钟参考终端,即可以将该候选终端用作第一主TSN时钟节点,如此,第二接入网设备可以与该目标时钟参考终端进行时钟同步。
作为一种示例,在需要切换的终端中包括第一时钟参考终端的情况下,若第一时钟参考终端发生变更,第二接入网设备可以接收第一接入网设备发送的变更消息,如此,第二接入网设备可以及时确定第一时钟参考终端不再用作第二主TSN时钟节点,在此基础上,第二接入网设备可以选择更加合适的终端用作第一主TSN时钟节点。
请参考图12,该图12是根据一示例性实施例示出的一种时钟同步装置的结构图,该装置可以配置于终端中,该装置可以包括:
确定模块1210,用于在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端;其中,该第二时钟参考终端用作第三主时间段敏感型网络TSN时钟节点,该第三主TSN时钟节点为该第三接入网设备下的主TSN时钟节点,或者,该第三主TSN时钟节点为该第三终端组支持的TSN业务的主TSN时钟节点,该目标终端为重新确定的用作该第三主TSN时钟节点的终端,该第三终端组为该第二时钟参考终端所在的终端组,该第三终端组中的终端支持的TSN业务类型相同。
在本申请一种可能的实现方式中,该装置还包括:建立模块1220,用于与该目标终端建立指定服务质量流QoS flow或指定无线数据承载,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该目标终端是由以下至少之一的节点确定:核心网节点;集中网络控制器CNC节点;该第三接入网设备;该第三终端组中的所有终端;该第三终端组中的任一终端;第三终端组中的指定终端;该第二时钟参考终端。
在本申请一种可能的实现方式中,该装置还包括:发送模块1230,用于在该目标终端是由该第三接入网设备确定的情况下,向第一节点发送变更消息,该变更消息包括该目标终端的终端标识。
在本申请一种可能的实现方式中,该装置还包括:接收模块1240,用于在该目标终端是由该第三终端组中的所有终端、该第三终端组中的任一终端、该第二时钟参考终端或该第三终端组中的指定终端确定的情况下,接收变更消息,该变更消息包括该目标终端的终端标识。
在本申请一种可能的实现方式中,该装置还包括:发送模块1230,用于向第一节点发送该变更消息。
在本申请一种可能的实现方式中,该装置还包括:接收模块1240,用于在该目标终端是由该核心 网节点或该CNC节点确定的情况下,接收变更消息,该变更消息包括该目标终端的终端标识。
在本申请一种可能的实现方式中,该变更消息还包括以下至少之一:变更指示;TSN业务标识;所属的TSN时钟域标识;该第二时钟参考终端标识;该目标终端所属的服务小区标识;该目标终端所属的接入网设备标识;TSN组标识;该第三终端组的终端组标识;该第三终端组中除该第二时钟参考终端之外的其他终端的终端标识。
在本申请一种可能的实现方式中,该第一节点包括以下至少之一:支持该第三终端组对应的TSN业务的所有终端;该第三接入网设备下的所有终端;该第三终端组中的所有终端;该第三终端组中除该目标终端之外的其他终端;该第二时钟参考终端;该目标终端。
在本申请实施例中,当第二时钟参考终端发生变更时,该第二时钟参考终端不再用作第三主TSN时钟节点,即第三接入网设备不再可以与该第二时钟参考终端进行时钟同步。在该种情况下,第三接入网设备可以在第二时钟参考终端所属的第三终端组中确定合适的主TSN时钟节点进行时钟同步。
请参考图13,该图13是根据一示例性实施例示出的一种时钟同步装置的结构图,该装置可以配置于终端中,该装置可以包括:
发送模块1310,用于在该第一终端用作第一主时间段敏感型网络TSN时钟节点的情况下,向该第一接入网设备发送TSN时钟信息;
接收模块1320,用于在该第一终端不是用作该第一主TSN时钟节点的情况下,接收该TSN时钟信息;
其中,该第一主TSN时钟节点为该第一接入网设备下的主TSN时钟节点,或者,该第一主TSN时钟节点为该第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,该第一终端组中的终端支持的TSN业务类型相同。
在本申请一种可能的实现方式中,该第一终端用作该第一主TSN时钟节点,该装置还包括:建立模块1330,用于与该第一接入网设备建立指定服务质量流QoS flow或指定无线数据承载,该指定QoS flow或该指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该第一终端用作该第一主TSN时钟节点,该装置还包括:释放模块1340,用于在该第一主TSN时钟节点变更的情况下,若该第一终端不是目标终端,则释放或挂起指定QoS flow或指定无线数据承载;其中,该目标终端为重新确定的用作该第一主TSN时钟节点的终端。
在本申请一种可能的实现方式中,该第一终端不是用作该第一主TSN时钟节点,该装置还包括:立模块1330,用于在该第一主TSN时钟节点变更的情况下,若该第一终端是目标终端,则与该第一接入网设备建立指定QoS flow或指定无线数据承载;其中,该目标终端为重新确定的用作该第一主TSN时钟节点的终端。
在本申请一种可能的实现方式中,该目标终端是由以下至少之一的节点确定:核心网节点;集中网络控制器CNC节点;该第一终端;该第一接入网设备;该第一终端组中的所有终端;该第一终端组中的任一终端;该第一终端组中的指定终端;该第一终端。
在本申请一种可能的实现方式中,该装置还包括:确定模块1350,用于确定变更消息,该变更消息包括该目标终端的终端标识。
在本申请一种可能的实现方式中,该发送模块1310还用于:向第一节点发送该变更消息。
在本申请一种可能的实现方式中,该第一节点包括以下至少之一:支持该第一终端组对应的TSN业务的所有终端;该第一接入网设备下的所有终端;该第一终端组中的所有终端;该目标终端;该第一终端组中除该目标终端之外的其他终端。
在本申请一种可能的实现方式中,该变更消息还包括以下至少之一:变更指示;TSN业务标识;第一终端标识;所属的TSN时钟域标识;该目标终端所属的服务小区标识;该目标终端所属的接入网设备标识;TSN组标识;该第一终端组的终端组标识;该第一终端组中除该第一终端之外的其他终端的终端标识。
在本申请一种可能的实现方式中,该装置还包括:确定模块1350,用于若该第一终端对应有指定QoS flow或指定无线数据承载,或者,该第一终端有能力建立该指定QoS flow或该指定无线数据承载,则确定该第一终端用作该第一主TSN时钟节点,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该装置还包括:确定模块1350,用于若该第一终端接收指定QoS flow建立信令或指定无线数据承载建立信令,则确定该第一终端用作该第一主TSN时钟节点;其中,该指定QoS flow建立信令用于指示该第一终端建立该指定QoS flow,该指定无线数据承载建立信令用 于指示该第一终端建立该指定无线数据承载,该指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
在本申请一种可能的实现方式中,该发送模块1310还用于:在参考事件被触发的情况下,向该第一接入网设备发送更新的TSN时钟信息;或者,每隔指定时长,向该第一接入网设备发送更新的TSN时钟信息。
在本申请一种可能的实现方式中,该参考事件被触发包括以下至少之一:TSN业务到达;TSN时钟信息变更;TSN时钟信息变更粒度大于或等于指定门限粒度。
在本申请一种可能的实现方式中,该TSN时钟信息包括以下至少之一:TSN业务到达时间;TSN业务离开时间;所属的TSN时间域标识;所属的TSN时钟域标识;时间信息;时间信息类型;时钟同步精度信息;系统帧号SFN信息;传播时延补偿指示。
在本申请实施例中,在第一终端用作第一主TSN时钟节点的情况下,第一终端可以向第一接入网设备发送TSN时钟信息,如此,该第一接入网设备可以根据该TSN时钟信息与第一终端进行时钟同步。在第一终端不是用作第一主TSN时钟节点的情况下,第一终端可以接收TSN时钟信息,如此,该第一终端可以基于该TSN时钟信息与第一接入网设备进行时钟同步。
请参考图14,其示出了本申请一个示例性实施例提供的通信设备的结构示意图,该通信设备可以为第一网络设备、第二网络设备、第三网络设备或终端中的任一种,该通信设备包括:处理器1401、接收器1402、发射器1403、存储器1404和总线1405。
处理器1401包括一个或者一个以上处理核心,处理器1401通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。
接收器1402和发射器1403可以实现为一个通信组件,该通信组件可以是一块通信芯片。
存储器1404通过总线1405与处理器1401相连。
存储器1404可用于存储至少一个指令,处理器1401用于执行该至少一个指令,以实现上述各个方法实施例中的第一IAB基站执行的各个步骤。
此外,存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,EEPROM(Electrically Erasable Programmable read only memory,电可擦除可编程只读存储器),EPROM(Erasable Programmable Read-Only Memory,可擦除可编程只读存储器),SRAM(Static Random Access Memory,静态随时存取存储器),ROM(Read Only Memory,只读存储器),磁存储器,快闪存储器,PROM(Programmable Read-Only Memory,可编程只读存储器)。
本申请提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现上述各个方法实施例提供的时钟同步方法。
本申请还提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述各个方法实施例提供的时钟同步方法。
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (93)

  1. 一种时钟同步方法,其特征在于,应用于第一接入网设备中,所述方法包括:
    在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息;
    其中,所述第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同,所述第一信息用于所述第二接入网设备确定目标时钟参考终端,所述目标时钟参考终端用作第一主TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
  2. 如权利要求1所述的方法,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括以下至少之一:
    第一时钟参考终端标识;
    指定服务质量流QoS flow标识,所述指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
    指定无线数据承载DRB标识,所述指定DRB标识指示的无线数据承载用于传输所述TSN时钟信息。
  3. 如权利要求1所述的方法,其特征在于,所述需要切换的终端不包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括:候选终端标识,所述候选终端是所述第一接入网设备从所述需要切换的终端中确定的。
  4. 如权利要求1-3中任一项所述的方法,其特征在于,所述第一信息还包括以下至少之一:
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一时钟参考终端之外的其他终端的终端标识;
    TSN业务标识;
    TSN组标识;
    所属的TSN时钟域标识;
    所属的TSN时间域标识。
  5. 如权利要求2-4中任一项所述的方法,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,且需要切换的终端包括所述第一时钟参考终端;
    所述方法还包括:
    与所述第一终端组包括的不需要切换的终端中的目标终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息;
    其中,所述目标终端为重新确定的用作所述第二主TSN时钟节点的终端。
  6. 如权利要求5所述的方法,其特征在于,所述目标终端是由以下至少之一的节点确定:
    所述第一接入网设备;
    核心网节点;
    集中网络控制器CNC节点;
    所述第一终端组中不需要切换的所有终端;
    所述第一终端组中不需要切换的所有终端中的任一终端;
    所述第一终端组中不需要切换的所有终端中的指定终端;
    所述第一时钟参考终端。
  7. 如权利要求2-4中任一项所述的方法,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,且需要切换的终端不包括所述第一时钟参考终端;
    所述方法还包括:
    与所述第一时钟参考终端进行时钟同步。
  8. 如权利要求1-7中任一项所述的方法,其特征在于,
    所述第一信息是通过切换请求携带的;或者,
    所述第一信息是在接收到所述第二接入网设备发送的信息发送指示后发送的,所述信息发送指示用于指示所述第一接入网设备发送所述第一信息。
  9. 如权利要求1所述的方法,其特征在于,
    若在第一时间点第二主TSN时钟节点发生变更,向所述第二接入网设备发送变更消息,所述变更消息用于通知所述第二接入网设备所述第二主TSN时钟节点发生变更;
    其中,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点。
  10. 如权利要求9所述的方法,其特征在于,所述第一时间点包括以下情况中的至少之一:
    处于用作第二主TSN时钟节点的第一时钟参考终端发生变更之后;
    处于所述第一接入网设备发送切换请求之后;
    处于所述第一接入网设备接收所述第二接入网设备的切换响应消息之后;
    处于所述第一接入网设备发送所述切换请求后,至所述第一网络设备向需要切换的终端发送切换命令之前的时间段内;
    处于所述第一接入网设备发送切换请求后,至需要切换的终端与所述第二接入网设备建立连接之前的时间段内;
    处于所述第一接入网设备与所述终端释放连接之前。
  11. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    基于所述第一终端组中的终端是否对应有指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点;或者,
    基于所述第一终端组中的终端是否有能力建立所述指定QoS flow或所述指定无线数据承载,确定所述第二主TSN时钟节点;
    其中,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息;
    所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点。
  12. 一种时钟同步方法,其特征在于,应用于第二接入网设备中,所述方法包括:
    接收第一接入网设备发送的第一信息,所述第一信息是由所述第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的;
    根据所述第一信息,确定目标时钟参考终端,所述目标时钟参考终端用作第一主时间段敏感型网络TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点;
    其中,所述第一终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
  13. 如权利要求12所述的方法,其特征在于,所述方法还包括:
    向所述第二终端组中的终端发送所述第一信息。
  14. 如权利要求12所述的方法,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述方法还包括:
    在所述第一时钟参考终端发生变更的情况下,接收变更消息,所述变更消息用于通知所述第二接入网设备所述第二主TSN时钟节点发生变更。
  15. 如权利要求14所述的方法,其特征在于,所述方法还包括:
    向所述第二终端组中的终端发送所述变更消息。
  16. 如权利要求12所述的方法,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括以下至少之一:
    第一时钟参考终端标识;
    指定服务质量流QoS flow标识,所述指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
    指定无线数据承载DRB标识,所述指定DRB标识指示的无线数据承载用于传输所述TSN时钟信息。
  17. 如权利要求16所述的方法,其特征在于,所述方法还包括以下至少之一:
    将所述第一时钟参考终端确定为所述目标时钟参考终端;
    与所述目标时钟参考终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  18. 如权利要求12所述的方法,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,所述需要切换的终端不包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括:候选终端标识,所述候选终端是所述第一接入网设备从需要切换的终端中确定的。
  19. 如权利要求18所述的方法,其特征在于,所述方法还包括以下至少之一:
    将所述候选终端确定为所述目标时钟参考终端;
    与所述目标时钟参考终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  20. 如权利要求12-19中任一项所述的方法,其特征在于,所述第一信息还包括以下至少之一:
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一时钟参考终端之外的其他终端的终端标识;
    TSN业务标识;
    TSN组标识;
    所属的TSN时钟域标识;
    所属的TSN时间域标识。
  21. 如权利要求12-20中任一项所述的方法,其特征在于,
    所述第一信息是通过切换请求携带的;或者,
    所述第一信息是在所述第二接入网设备发送信息发送指示后接收的,所述信息发送指示用于指示所述第一接入网设备发送所述第一信息。
  22. 如权利要求12所述的方法,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述方法还包括:
    基于所述需要切换的终端是否对应有指定QoS flow或指定无线数据承载,确定所述第二主TSN时钟节点;或者,
    基于所述需要切换的终端是否有能力建立所述指定QoS flow或所述指定无线数据承载,确定所述第二主TSN时钟节点;
    所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  23. 一种时钟同步方法,其特征在于,应用于第三接入网设备中,所述方法包括:
    在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端;
    其中,所述第二时钟参考终端用作第三主时间段敏感型网络TSN时钟节点,所述第三主TSN时钟节点为所述第三接入网设备下的主TSN时钟节点,或者,所述第三主TSN时钟节点为所述第三终端组支持的TSN业务的主TSN时钟节点,所述目标终端为重新确定的用作所述第三主TSN时钟节点的终端,所述第三终端组为所述第二时钟参考终端所在的终端组,所述第三终端组中的终端支持的TSN业务类型相同。
  24. 如权利要求23所述的方法,其特征在于,所述方法还包括:
    与所述目标终端建立指定服务质量流QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  25. 如权利要求23所述的方法,其特征在于,所述目标终端是由以下至少之一的节点确定:
    核心网节点;
    集中网络控制器CNC节点;
    所述第三接入网设备;
    所述第三终端组中的所有终端;
    所述第三终端组中的任一终端;
    所述第三终端组中的指定终端;
    所述第二时钟参考终端。
  26. 如权利要求25所述的方法,其特征在于,所述方法还包括:
    在所述目标终端是由所述第三接入网设备确定的情况下,向第一节点发送变更消息,所述变更消息包括所述目标终端的终端标识。
  27. 如权利要求25所述的方法,其特征在于,所述方法还包括:
    在所述目标终端是由所述第三终端组中的所有终端、所述第三终端组中的任一终端、所述第二时钟参考终端或所述第三终端组中的指定终端确定的情况下,接收变更消息,所述变更消息包括所述目标终端的 终端标识。
  28. 如权利要求27所述的方法,其特征在于,所述方法还包括:
    向第一节点发送所述变更消息。
  29. 如权利要求25所述的方法,其特征在于,所述方法还包括:
    在所述目标终端是由所述核心网节点或所述CNC节点确定的情况下,接收变更消息,所述变更消息包括所述目标终端的终端标识。
  30. 如权利要求26-29中任一项所述的方法,其特征在于,所述变更消息还包括以下至少之一:
    变更指示;
    TSN业务标识;
    所属的TSN时钟域标识;
    所述第二时钟参考终端标识;
    所述目标终端所属的服务小区标识;
    所述目标终端所属的接入网设备标识;
    TSN组标识;
    所述第三终端组的终端组标识;
    所述第三终端组中除所述第二时钟参考终端之外的其他终端的终端标识。
  31. 如权利要求26或28所述的方法,其特征在于,所述第一节点包括以下至少之一:
    支持所述第三终端组对应的TSN业务的所有终端;
    所述第三接入网设备下的所有终端;
    所述第三终端组中的所有终端;
    所述第三终端组中除所述目标终端之外的其他终端;
    所述第二时钟参考终端;
    所述目标终端。
  32. 一种时钟同步方法,其特征在于,应用于第一终端中,所述方法包括:
    在所述第一终端用作第一主时间段敏感型网络TSN时钟节点的情况下,向所述第一接入网设备发送TSN时钟信息;
    在所述第一终端不是用作所述第一主TSN时钟节点的情况下,接收所述TSN时钟信息;
    其中,所述第一主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,所述第一终端组中的终端支持的TSN业务类型相同。
  33. 如权利要求32所述的方法,其特征在于,所述第一终端用作所述第一主TSN时钟节点,所述方法还包括:
    与所述第一接入网设备建立指定服务质量流QoS flow或指定无线数据承载,所述指定QoS flow或所述指定无线数据承载用于传输TSN时钟信息。
  34. 如权利要求33所述的方法,其特征在于,所述第一终端用作所述第一主TSN时钟节点,所述方法还包括:
    在所述第一主TSN时钟节点变更的情况下,若所述第一终端不是目标终端,则释放或挂起指定QoS flow或指定无线数据承载;
    其中,所述目标终端为重新确定的用作所述第一主TSN时钟节点的终端。
  35. 如权利要求33所述的方法,其特征在于,所述第一终端不是用作所述第一主TSN时钟节点,所述方法还包括:
    在所述第一主TSN时钟节点变更的情况下,若所述第一终端是目标终端,则与所述第一接入网设备建立指定QoS flow或指定无线数据承载;
    其中,所述目标终端为重新确定的用作所述第一主TSN时钟节点的终端。
  36. 如权利要求34或35所述的方法,其特征在于,所述目标终端是由以下至少之一的节点确定:
    核心网节点;
    集中网络控制器CNC节点;
    所述第一终端;
    所述第一接入网设备;
    所述第一终端组中的所有终端;
    所述第一终端组中的任一终端;
    所述第一终端组中的指定终端;
    所述第一终端。
  37. 如权利要求36所述的方法,其特征在于,所述方法还包括:
    确定变更消息,所述变更消息包括所述目标终端的终端标识。
  38. 如权利要求37所述的方法,其特征在于,所述方法还包括:
    向第一节点发送所述变更消息。
  39. 如权利要求38所述的方法,其特征在于,所述第一节点包括以下至少之一:
    支持所述第一终端组对应的TSN业务的所有终端;
    所述第一接入网设备下的所有终端;
    所述第一终端组中的所有终端;
    所述目标终端;
    所述第一终端组中除所述目标终端之外的其他终端。
  40. 如权利要求37-39中任一项所述的方法,其特征在于,所述变更消息还包括以下至少之一:
    变更指示;
    TSN业务标识;
    所述第一终端标识;
    所属的TSN时钟域标识;
    所述目标终端所属的服务小区标识;
    所述目标终端所属的接入网设备标识;
    TSN组标识;
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一终端之外的其他终端的终端标识。
  41. 如权利要求32所述的方法,其特征在于,所述方法还包括:
    若所述第一终端对应有指定QoS flow或指定无线数据承载,或者,所述第一终端有能力建立所述指定QoS flow或所述指定无线数据承载,则确定所述第一终端用作所述第一主TSN时钟节点,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  42. 如权利要求32所述的方法,其特征在于,所述方法还包括:
    若所述第一终端接收指定QoS flow建立信令或指定无线数据承载建立信令,则确定所述第一终端用作所述第一主TSN时钟节点;
    其中,所述指定QoS flow建立信令用于指示所述第一终端建立所述指定QoS flow,所述指定无线数据承载建立信令用于指示所述第一终端建立所述指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  43. 如权利要求33所述的方法,其特征在于,所述方法还包括:
    在参考事件被触发的情况下,向所述第一接入网设备发送更新的TSN时钟信息;或者,
    每隔指定时长,向所述第一接入网设备发送更新的TSN时钟信息。
  44. 如权利要求43所述的方法,其特征在于,所述参考事件被触发包括以下至少之一:
    TSN业务到达;
    TSN时钟信息变更;
    TSN时钟信息变更粒度大于或等于指定门限粒度。
  45. 如权利要求32-44中任一项所述的方法,其特征在于,所述TSN时钟信息包括以下至少之一:
    TSN业务到达时间;
    TSN业务离开时间;
    所属的TSN时间域标识;
    所属的TSN时钟域标识;
    时间信息;
    时间信息类型;
    时钟同步精度信息;
    系统帧号SFN信息;
    传播时延补偿指示。
  46. 一种时钟同步装置,其特征在于,配置于第一接入网设备中,所述装置包括:
    发送模块,用于在第一终端组中的终端需要切换的情况下,在切换过程中向第二接入网设备发送第一信息;
    其中,所述第一终端组中的终端支持的时间段敏感型网络TSN业务类型相同,所述第一信息用于所述 第二接入网设备确定目标时钟参考终端,所述目标时钟参考终端用作第一主TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
  47. 如权利要求46所述的装置,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括以下至少之一:
    第一时钟参考终端标识;
    指定服务质量流QoS flow标识,所述指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
    指定无线数据承载DRB标识,所述指定DRB标识指示的无线数据承载用于传输所述TSN时钟信息。
  48. 如权利要求46所述的装置,其特征在于,所述需要切换的终端不包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括:候选终端标识,所述候选终端是所述第一接入网设备从所述需要切换的终端中确定的。
  49. 如权利要求46-48中任一项所述的装置,其特征在于,所述第一信息还包括以下至少之一:
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一时钟参考终端之外的其他终端的终端标识;
    TSN业务标识;
    TSN组标识;
    所属的TSN时钟域标识;
    所属的TSN时间域标识。
  50. 如权利要求47-49中任一项所述的装置,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,且需要切换的终端包括所述第一时钟参考终端;
    所述装置还包括:
    建立模块,用于与所述第一终端组包括的不需要切换的终端中的目标终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息;
    其中,所述目标终端为重新确定的用作所述第二主TSN时钟节点的终端。
  51. 如权利要求50所述的装置,其特征在于,所述目标终端是由以下至少之一的节点确定:
    所述第一接入网设备;
    核心网节点;
    集中网络控制器CNC节点;
    所述第一终端组中不需要切换的所有终端;
    所述第一终端组中不需要切换的所有终端中的任一终端;
    所述第一终端组中不需要切换的所有终端中的指定终端;
    所述第一时钟参考终端。
  52. 如权利要求47-49中任一项所述的装置,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,且需要切换的终端不包括所述第一时钟参考终端;
    所述装置还包括:
    时钟同步模块,用于与所述第一时钟参考终端进行时钟同步。
  53. 如权利要求46-52中任一项所述的装置,其特征在于,
    所述第一信息是通过切换请求携带的;或者,
    所述第一信息是在接收到所述第二接入网设备发送的信息发送指示后发送的,所述信息发送指示用于指示所述第一接入网设备发送所述第一信息。
  54. 如权利要求46所述的装置,其特征在于,所述发送模块还用于:
    若在第一时间点第二主TSN时钟节点发生变更,向所述第二接入网设备发送变更消息,所述变更消息用于通知所述第二接入网设备所述第二主TSN时钟节点发生变更;
    其中,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点。
  55. 如权利要求54所述的装置,其特征在于,所述第一时间点包括以下情况中的至少之一:
    处于用作第二主TSN时钟节点的第一时钟参考终端发生变更之后;
    处于所述第一接入网设备发送切换请求之后;
    处于所述第一接入网设备接收所述第二接入网设备的切换响应消息之后;
    处于所述第一接入网设备发送所述切换请求后,至所述第一网络设备向需要切换的终端发送切换命令之前的时间段内;
    处于所述第一接入网设备发送切换请求后,至需要切换的终端与所述第二接入网设备建立连接之前的时间段内;
    处于所述第一接入网设备与所述终端释放连接之前。
  56. 如权利要求46所述的装置,其特征在于,所述装置还包括:
    确定模块,用于基于所述第一终端组中的终端是否对应有指定QoS flow或指定无线数据承载,确定第二主TSN时钟节点;或者,
    所述确定模块,用于基于所述第一终端组中的终端是否有能力建立所述指定QoS flow或所述指定无线数据承载,确定所述第二主TSN时钟节点;
    其中,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息;
    所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点。
  57. 一种时钟同步装置,其特征在于,配置于第二接入网设备中,所述装置包括:
    接收模块,用于接收第一接入网设备发送的第一信息,所述第一信息是由所述第一接入网设备在第一终端组中的终端需要切换的情况下,在切换过程中发送的;
    确定模块,用于根据所述第一信息,确定目标时钟参考终端,所述目标时钟参考终端用作第一主时间段敏感型网络TSN时钟节点,所述第一主TSN时钟节点为所述第二接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第二接入网设备下第二终端组支持的TSN业务的主TSN时钟节点;
    其中,所述第一终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型相同,所述第二终端组中的终端支持的TSN业务类型与所述第一终端组中的终端支持的TSN业务类型相同。
  58. 如权利要求57所述的装置,其特征在于,所述装置还包括:
    发送模块,用于向所述第二终端组中的终端发送所述第一信息。
  59. 如权利要求57所述的装置,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述接收模块还用于:
    在所述第一时钟参考终端发生变更的情况下,接收变更消息,所述变更消息用于通知所述第二接入网设备所述第二主TSN时钟节点发生变更。
  60. 如权利要求59所述的装置,其特征在于,所述装置还包括:
    发送模块,用于向所述第二终端组中的终端发送所述变更消息。
  61. 如权利要求57所述的装置,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括以下至少之一:
    第一时钟参考终端标识;
    指定服务质量流QoS flow标识,所述指定QoS flow标识指示的QoS flow用于传输TSN时钟信息;
    指定无线数据承载DRB标识,所述指定DRB标识指示的无线数据承载用于传输所述TSN时钟信息。
  62. 如权利要求61所述的装置,其特征在于,所述装置还包括以下至少之一:
    所述确定模块,用于将所述第一时钟参考终端确定为所述目标时钟参考终端;
    建立模块,用于与所述目标时钟参考终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  63. 如权利要求57所述的装置,其特征在于,所述需要切换的终端为所述第一终端组中的部分终端,所述需要切换的终端不包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述第一信息包括:候选终端标识,所述候选终端是所述第一接入网设备从需要切换的终端中确定的。
  64. 如权利要求63所述的装置,其特征在于,所述装置还包括以下至少之一:
    所述确定模块,用于将所述候选终端确定为所述目标时钟参考终端;
    建立模块,用于与所述目标时钟参考终端建立指定QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  65. 如权利要求57-61中任一项所述的装置,其特征在于,所述第一信息还包括以下至少之一:
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一时钟参考终端之外的其他终端的终端标识;
    TSN业务标识;
    TSN组标识;
    所属的TSN时钟域标识;
    所属的TSN时间域标识。
  66. 如权利要求57-65中任一项所述的装置,其特征在于,
    所述第一信息是通过切换请求携带的;或者,
    所述第一信息是在所述第二接入网设备发送信息发送指示后接收的,所述信息发送指示用于指示所述第一接入网设备发送所述第一信息。
  67. 如权利要求57所述的装置,其特征在于,所述需要切换的终端包括第一时钟参考终端,所述第一时钟参考终端用作第二主TSN时钟节点,所述第二主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第二主TSN时钟节点为所述第一终端组支持的TSN业务的主TSN时钟节点;
    所述确定模块还用于:
    基于所述需要切换的终端是否对应有指定QoS flow或指定无线数据承载,确定所述第二主TSN时钟节点;或者,
    基于所述需要切换的终端是否有能力建立所述指定QoS flow或所述指定无线数据承载,确定所述第二主TSN时钟节点;
    所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  68. 一种时钟同步装置,其特征在于,配置于第三接入网设备中,所述装置包括:
    确定模块,用于在第二时钟参考终端发生变更的情况下,在第三终端组中确定目标终端;
    其中,所述第二时钟参考终端用作第三主时间段敏感型网络TSN时钟节点,所述第三主TSN时钟节点为所述第三接入网设备下的主TSN时钟节点,或者,所述第三主TSN时钟节点为所述第三终端组支持的TSN业务的主TSN时钟节点,所述目标终端为重新确定的用作所述第三主TSN时钟节点的终端,所述第三终端组为所述第二时钟参考终端所在的终端组,所述第三终端组中的终端支持的TSN业务类型相同。
  69. 如权利要求68所述的装置,其特征在于,所述装置还包括:
    建立模块,用于与所述目标终端建立指定服务质量流QoS flow或指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  70. 如权利要求68所述的装置,其特征在于,所述目标终端是由以下至少之一的节点确定:
    核心网节点;
    集中网络控制器CNC节点;
    所述第三接入网设备;
    所述第三终端组中的所有终端;
    所述第三终端组中的任一终端;
    所述第三终端组中的指定终端;
    所述第二时钟参考终端。
  71. 如权利要求70所述的装置,其特征在于,所述装置还包括:
    发送模块,用于在所述目标终端是由所述第三接入网设备确定的情况下,向第一节点发送变更消息,所述变更消息包括所述目标终端的终端标识。
  72. 如权利要求70所述的装置,其特征在于,所述装置还包括:
    接收模块,用于在所述目标终端是由所述第三终端组中的所有终端、所述第三终端组中的任一终端、所述第二时钟参考终端或所述第三终端组中的指定终端确定的情况下,接收变更消息,所述变更消息包括所述目标终端的终端标识。
  73. 如权利要求72所述的装置,其特征在于,所述装置还包括:
    发送模块,用于向第一节点发送所述变更消息。
  74. 如权利要求70所述的装置,其特征在于,所述装置还包括:
    接收模块,用于在所述目标终端是由所述核心网节点或所述CNC节点确定的情况下,接收变更消息, 所述变更消息包括所述目标终端的终端标识。
  75. 如权利要求71-74中任一项所述的装置,其特征在于,所述变更消息还包括以下至少之一:
    变更指示;
    TSN业务标识;
    所属的TSN时钟域标识;
    所述第二时钟参考终端标识;
    所述目标终端所属的服务小区标识;
    所述目标终端所属的接入网设备标识;
    TSN组标识;
    所述第三终端组的终端组标识;
    所述第三终端组中除所述第二时钟参考终端之外的其他终端的终端标识。
  76. 如权利要求71或73所述的装置,其特征在于,所述第一节点包括以下至少之一:
    支持所述第三终端组对应的TSN业务的所有终端;
    所述第三接入网设备下的所有终端;
    所述第三终端组中的所有终端;
    所述第三终端组中除所述目标终端之外的其他终端;
    所述第二时钟参考终端;
    所述目标终端。
  77. 一种时钟同步装置,其特征在于,配置于第一终端中,所述装置包括:
    发送模块,用于在所述第一终端用作第一主时间段敏感型网络TSN时钟节点的情况下,向所述第一接入网设备发送TSN时钟信息;
    接收模块,用于在所述第一终端不是用作所述第一主TSN时钟节点的情况下,接收所述TSN时钟信息;
    其中,所述第一主TSN时钟节点为所述第一接入网设备下的主TSN时钟节点,或者,所述第一主TSN时钟节点为所述第一接入网设备下第一终端组支持的TSN业务的主TSN时钟节点,所述第一终端组中的终端支持的TSN业务类型相同。
  78. 如权利要求77所述的装置,其特征在于,所述第一终端用作所述第一主TSN时钟节点,所述装置还包括:
    建立模块,用于与所述第一接入网设备建立指定服务质量流QoS flow或指定无线数据承载,所述指定QoS flow或所述指定无线数据承载用于传输TSN时钟信息。
  79. 如权利要求78所述的装置,其特征在于,所述第一终端用作所述第一主TSN时钟节点,所述装置还包括:
    释放模块,用于在所述第一主TSN时钟节点变更的情况下,若所述第一终端不是目标终端,则释放或挂起指定QoS flow或指定无线数据承载;
    其中,所述目标终端为重新确定的用作所述第一主TSN时钟节点的终端。
  80. 如权利要求78所述的装置,其特征在于,所述第一终端不是用作所述第一主TSN时钟节点,所述装置还包括:
    建立模块,用于在所述第一主TSN时钟节点变更的情况下,若所述第一终端是目标终端,则与所述第一接入网设备建立指定QoS flow或指定无线数据承载;
    其中,所述目标终端为重新确定的用作所述第一主TSN时钟节点的终端。
  81. 如权利要求79或80所述的装置,其特征在于,所述目标终端是由以下至少之一的节点确定:
    核心网节点;
    集中网络控制器CNC节点;
    所述第一终端;
    所述第一接入网设备;
    所述第一终端组中的所有终端;
    所述第一终端组中的任一终端;
    所述第一终端组中的指定终端;
    所述第一终端。
  82. 如权利要求81所述的装置,其特征在于,所述装置还包括:
    确定模块,用于确定变更消息,所述变更消息包括所述目标终端的终端标识。
  83. 如权利要求82所述的装置,其特征在于,所述发送模块还用于:
    向第一节点发送所述变更消息。
  84. 如权利要求83所述的装置,其特征在于,所述第一节点包括以下至少之一:
    支持所述第一终端组对应的TSN业务的所有终端;
    所述第一接入网设备下的所有终端;
    所述第一终端组中的所有终端;
    所述目标终端;
    所述第一终端组中除所述目标终端之外的其他终端。
  85. 如权利要求82-84中任一项所述的装置,其特征在于,所述变更消息还包括以下至少之一:
    变更指示;
    TSN业务标识;
    所述第一终端标识;
    所属的TSN时钟域标识;
    所述目标终端所属的服务小区标识;
    所述目标终端所属的接入网设备标识;
    TSN组标识;
    所述第一终端组的终端组标识;
    所述第一终端组中除所述第一终端之外的其他终端的终端标识。
  86. 如权利要求77所述的装置,其特征在于,所述装置还包括:
    确定模块,用于若所述第一终端对应有指定QoS flow或指定无线数据承载,或者,所述第一终端有能力建立所述指定QoS flow或所述指定无线数据承载,则确定所述第一终端用作所述第一主TSN时钟节点,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  87. 如权利要求77所述的装置,其特征在于,所述装置还包括:
    确定模块,用于若所述第一终端接收指定QoS flow建立信令或指定无线数据承载建立信令,则确定所述第一终端用作所述第一主TSN时钟节点;
    其中,所述指定QoS flow建立信令用于指示所述第一终端建立所述指定QoS flow,所述指定无线数据承载建立信令用于指示所述第一终端建立所述指定无线数据承载,所述指定QoS flow或指定无线数据承载用于传输TSN时钟信息。
  88. 如权利要求78所述的装置,其特征在于,所述发送模块还用于:
    在参考事件被触发的情况下,向所述第一接入网设备发送更新的TSN时钟信息;或者,
    每隔指定时长,向所述第一接入网设备发送更新的TSN时钟信息。
  89. 如权利要求88所述的装置,其特征在于,所述参考事件被触发包括以下至少之一:
    TSN业务到达;
    TSN时钟信息变更;
    TSN时钟信息变更粒度大于或等于指定门限粒度。
  90. 如权利要求77-89中任一项所述的装置,其特征在于,所述TSN时钟信息包括以下至少之一:
    TSN业务到达时间;
    TSN业务离开时间;
    所属的TSN时间域标识;
    所属的TSN时钟域标识;
    时间信息;
    时间信息类型;
    时钟同步精度信息;
    系统帧号SFN信息;
    传播时延补偿指示。
  91. 一种通信设备,其特征在于,所述通信设备包括处理器和存储器,所述存储器存储有至少一条指令,所述至少一条指令用于被所述处理器执行以实现权利要求1-11任一项方法的步骤,或者,用于实现权利要求12-22任一项方法的步骤,或者,用于实现权利要求23-31任一项方法的步骤,或者,用于实现权利要求32-45任一项方法的步骤。
  92. 一种通信系统,其特征在于,包括终端和接入网设备,所述接入网设备包括权利要求46-56任一项所述的装置,或者,所述接入网设备包括权利要求57-67任一项所述的装置,所述终端包括权利要求77-90任一项所述的装置。
  93. 一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其特征在于,所述指令被处 理器执行时实现权利要求1-11任一项方法的步骤,或者,用于实现权利要求12-22任一项方法的步骤,或者,用于实现权利要求23-31任一项方法的步骤,或者,用于实现权利要求32-45任一项方法的步骤。
PCT/CN2020/077497 2020-03-02 2020-03-02 时钟同步方法、装置、设备及存储介质 WO2021174399A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080086430.3A CN114830564A (zh) 2020-03-02 2020-03-02 时钟同步方法、装置、设备及存储介质
PCT/CN2020/077497 WO2021174399A1 (zh) 2020-03-02 2020-03-02 时钟同步方法、装置、设备及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/077497 WO2021174399A1 (zh) 2020-03-02 2020-03-02 时钟同步方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2021174399A1 true WO2021174399A1 (zh) 2021-09-10

Family

ID=77614445

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/077497 WO2021174399A1 (zh) 2020-03-02 2020-03-02 时钟同步方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN114830564A (zh)
WO (1) WO2021174399A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022204A (zh) * 2022-05-26 2022-09-06 阿里巴巴(中国)有限公司 Rtc的传输时延检测方法、装置以及设备
CN117278190A (zh) * 2023-11-21 2023-12-22 北京智芯微电子科技有限公司 时间同步单元、方法、芯片架构、网络设备及介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100302997A1 (en) * 2007-11-30 2010-12-02 Electronics and Telecommunications Research Insti tute System and method for reassembling packets in relay node
CN103138865A (zh) * 2013-01-25 2013-06-05 杭州华三通信技术有限公司 一种时间同步方法和装置
CN106656393A (zh) * 2016-12-28 2017-05-10 广东大普通信技术有限公司 时钟同步方法及装置
CN110167068A (zh) * 2018-02-14 2019-08-23 华为技术有限公司 一种处理服务质量QoS参数的方法、网元、系统及存储介质
CN110392422A (zh) * 2018-04-23 2019-10-29 华为技术有限公司 一种确定时钟源的方法及装置
CN110649983A (zh) * 2018-06-26 2020-01-03 华为技术有限公司 一种同步方法及装置
CN110730485A (zh) * 2018-07-17 2020-01-24 华为技术有限公司 切换方法、设备及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100302997A1 (en) * 2007-11-30 2010-12-02 Electronics and Telecommunications Research Insti tute System and method for reassembling packets in relay node
CN103138865A (zh) * 2013-01-25 2013-06-05 杭州华三通信技术有限公司 一种时间同步方法和装置
CN106656393A (zh) * 2016-12-28 2017-05-10 广东大普通信技术有限公司 时钟同步方法及装置
CN110167068A (zh) * 2018-02-14 2019-08-23 华为技术有限公司 一种处理服务质量QoS参数的方法、网元、系统及存储介质
CN110392422A (zh) * 2018-04-23 2019-10-29 华为技术有限公司 一种确定时钟源的方法及装置
CN110649983A (zh) * 2018-06-26 2020-01-03 华为技术有限公司 一种同步方法及装置
CN110730485A (zh) * 2018-07-17 2020-01-24 华为技术有限公司 切换方法、设备及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022204A (zh) * 2022-05-26 2022-09-06 阿里巴巴(中国)有限公司 Rtc的传输时延检测方法、装置以及设备
CN115022204B (zh) * 2022-05-26 2023-12-05 阿里巴巴(中国)有限公司 Rtc的传输时延检测方法、装置以及设备
CN117278190A (zh) * 2023-11-21 2023-12-22 北京智芯微电子科技有限公司 时间同步单元、方法、芯片架构、网络设备及介质
CN117278190B (zh) * 2023-11-21 2024-03-29 北京智芯微电子科技有限公司 时间同步单元、方法、芯片架构、网络设备及介质

Also Published As

Publication number Publication date
CN114830564A (zh) 2022-07-29

Similar Documents

Publication Publication Date Title
US11219084B2 (en) TA update in RRC_INACTIVE
JP2020505867A (ja) セッション管理方法及びシステム並びに端末
TW202021323A (zh) 一種訊息傳輸方法及裝置、通信設備
US20230397299A1 (en) Method and apparatus for multicast and broadcast services
WO2021174399A1 (zh) 时钟同步方法、装置、设备及存储介质
US11805563B2 (en) Wireless communication method and base station
WO2021232433A1 (zh) 监听信道的方法、装置、设备及存储介质
WO2022061872A1 (zh) 一种小数据传输方法及装置、终端设备
US20220330358A1 (en) Sidelink rrc procedure
JP7328354B2 (ja) 情報処理方法、機器及び記憶媒体
US20230209503A1 (en) Communication method and apparatus, terminal device and network device
WO2020056587A1 (zh) 一种切换处理方法、终端设备及网络设备
CN114079874B (zh) Mbms业务的传输模式指示方法、装置及存储介质
WO2021253441A1 (zh) 环境状态的确定方法、装置、设备及存储介质
JP7301961B2 (ja) パラメータ設定方法、端末装置及び記憶媒体
CN115706645A (zh) Ul定位参考信号的激活方法、装置、终端及网络侧设备
WO2021134705A1 (zh) 时间同步的确定方法及相关产品
WO2020077966A1 (zh) 一种参数配置方法、终端设备及存储介质
JP2022543977A (ja) 無線通信方法、ネットワーク装置及び端末装置
WO2024026752A1 (zh) 小区切换方法、装置、设备和存储介质
CN113994733B (zh) 一种控制测量的方法、电子设备及存储介质
WO2024066858A1 (zh) 一种通信的方法和装置
WO2022198597A1 (zh) 小区重选场景下的数据传输方法、装置、设备及存储介质
US20220322377A1 (en) Method for transmitting data, and devices
WO2021203400A1 (zh) 一种传输策略的配置方法及装置、网络设备、终端设备

Legal Events

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

Ref document number: 20922594

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922594

Country of ref document: EP

Kind code of ref document: A1