WO2021238377A1 - Method and apparatus for clock source management - Google Patents

Method and apparatus for clock source management Download PDF

Info

Publication number
WO2021238377A1
WO2021238377A1 PCT/CN2021/083205 CN2021083205W WO2021238377A1 WO 2021238377 A1 WO2021238377 A1 WO 2021238377A1 CN 2021083205 W CN2021083205 W CN 2021083205W WO 2021238377 A1 WO2021238377 A1 WO 2021238377A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock source
clock
information
time synchronization
identification information
Prior art date
Application number
PCT/CN2021/083205
Other languages
French (fr)
Chinese (zh)
Inventor
强鹂
余芳
李永翠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021238377A1 publication Critical patent/WO2021238377A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0644External master-clock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Definitions

  • the embodiments of the present application relate to the field of communications, and more specifically, to a method and device for clock source management.
  • Time synchronization is the basis for the reliability and accuracy of communication.
  • a technology is known in which both parties in communication are based on messages that carry information from the same clock source, for example, the Grant Master (GM). Synchronization message) for time synchronization.
  • GM Grant Master
  • a clock source other than the main time service clock source such as the clock source of an external system, can be used to provide more
  • clock sources with different precisions and how to make network devices perceive these clock sources in a timely manner has become an urgent problem in the industry.
  • the present application provides a method and device for clock source management, which can improve the efficiency of clock source discovery and reduce the cost and delay of clock source discovery.
  • a method for clock source management includes: a first device maintains a clock source list, and the clock source list records identification information of each of at least one clock source, wherein all The identification information of the clock source is used to indicate the clock source; the first time synchronization message is received, and the first time synchronization message includes the identification information of the first clock source; if the identification information of the first clock source does not belong to all According to the identification information recorded in the clock source list, first information is sent, and the first information includes attribute information of the first clock source.
  • the first time synchronization message is a time synchronization message corresponding to the first clock source, that is, the first time synchronization message is used to carry and transfer time information of the first clock source.
  • the clock sources recorded in the clock source list include clock sources from which the network device (for example, a session management function entity or a network capability opening function entity, etc.) has obtained attribute information.
  • the network device for example, a session management function entity or a network capability opening function entity, etc.
  • the clock source management device (for example, the session management function entity or the network capability opening function entity, etc.) has obtained the attribute information of the clock source recorded in the clock source list.
  • the first device includes a device that can receive time synchronization messages and can detect time synchronization messages.
  • the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
  • a clock source list recording the identification information of the clock source is configured in the receiving device of the time synchronization message, and the identification information of the clock source corresponding to the time synchronization message is carried in the time synchronization message, Therefore, the first device can determine whether the clock source corresponding to the received time synchronization message is a newly discovered clock source according to the clock source list, and can further determine whether the newly discovered clock source is The attribute information of the clock source is sent to the network device used to manage the clock source, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
  • the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  • the first identifier is used to indicate that the identification information of the first clock source is not recorded in the clock source list.
  • the first identifier is used to indicate that the identification information of the first clock source is added to the clock source list.
  • the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
  • the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source
  • the clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used for The PDU session for transmitting the first time synchronization message.
  • the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
  • the clock source list further includes recorded attribute information of the clock source.
  • the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source.
  • some of the identification information listed above can be used as the identification information of the clock source.
  • the method further includes: after receiving the first time synchronization message, starting a first timer; and the sending the first information includes: if the first timer expires When a second time synchronization message is received, the first information is sent, and the second time synchronization message includes the identification information of the first clock source.
  • the reliability and practicability of the solution of the present application can be further improved.
  • the method further includes: recording the identification information of the first clock source in the clock source list.
  • each of the multiple clock sources recorded in the clock source list corresponds to a timer.
  • the method further includes: if a time synchronization message from a second clock source is received, starting or resetting a timer corresponding to the second clock source, the second clock source being the clock source One of the multiple clock sources recorded in the list.
  • the method further includes: if the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, deleting the clock source list Identification information of the second clock source.
  • the method further includes: if the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, sending second information, the second information It includes identification information and a second identifier of the second clock source, and the second identifier is used to indicate that the second clock source is out of date (or invalid).
  • the clock source management device can determine whether the discovered clock source is expired in time, thereby further improving the reliability and accuracy of communication.
  • the clock source recorded in the clock source list includes a clock source of an external system.
  • the first clock source includes a clock source of an external system.
  • the external system can be understood as a system other than the communication system where the terminal device currently resides.
  • the first clock source includes a clock source of a delay-sensitive network TSN.
  • the clock source recorded in the clock source list includes the clock source of TSN
  • the time synchronization message of the first clock source includes a General Precision Time Protocol gPTP message.
  • the time synchronization message of the first clock source includes a precision time protocol PTP message.
  • time synchronization message can be appropriately changed according to the system applied by this application, and this application is not particularly limited.
  • a method for clock source management includes: a clock management device receives first information from a first device, where the first information includes attribute information of the first clock source; and according to the first information , Manage the first clock source.
  • the first information is sent when the identification information of the first clock source does not belong to the clock source list stored in the first device, and the clock source list records each of at least one clock source The identification information of the clock source, where the identification information of the clock source is used to indicate the clock source.
  • the clock source management device includes, but is not limited to, a session management function (SMF) entity, a policy control function (PCF) entity, a unified data management (UDM) entity, or a network capability Open functional entities, etc.
  • SMF session management function
  • PCF policy control function
  • UDM unified data management
  • Open functional entities etc.
  • the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  • the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
  • the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source
  • the clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used for The PDU session for transmitting the first time synchronization message.
  • the method further includes: receiving second information from the first device, where the second information includes identification information of a second clock source and a second identifier, and the second identifier is used to indicate the second clock source.
  • the clock source is out of date.
  • each of the multiple clock sources recorded in the clock source list corresponds to a timer
  • the second information is that the timer corresponding to the second clock source is not received before the timer expires. Sent when the time synchronization message of the second clock source
  • the method further includes: sending the attribute information of the first clock source to the network capability opening function device.
  • the clock source list further includes recorded attribute information of the clock source.
  • the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source.
  • some of the identification information listed above can be used as the identification information of the clock source.
  • a clock source list recording the identification information of the clock source is configured in the receiving device of the time synchronization message, and the identification information of the clock source corresponding to the time synchronization message is carried in the time synchronization message, Therefore, the first device can determine whether the clock source corresponding to the received time synchronization message is a newly discovered clock source according to the clock source list, and can further determine whether the newly discovered clock source is The attribute information of the clock source is sent to the network device used to manage the clock source, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
  • a method for clock source management includes: a first device obtains a clock source list, and the clock source list records identification information of each of a plurality of clock sources, where all The identification information of the clock source is used to indicate the clock source, and each of the multiple clock sources recorded in the clock source list corresponds to a timer; if a time synchronization message from the second clock source is received, Start or reset the timer corresponding to the second clock source, where the second clock source is one of the multiple clock sources recorded in the clock source list; if the second clock source corresponds to If the time synchronization message of the second clock source is not received before the timer expires, the identification information of the second clock source is deleted from the clock source list; and/or if the second clock source corresponds to If the time synchronization message of the second clock source is not received before the timer expires, the second information is sent.
  • the second information includes the identification information and the second identification of the second clock source. The second identifier is used to indicate that
  • the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
  • the identification information includes at least one of the following information: clock domain number, clock identification, and clock accuracy.
  • the first device includes a terminal device or a user plane function UPF device.
  • the first device includes a device capable of receiving time synchronization messages and capable of detecting time synchronization messages.
  • the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
  • the clock source management device includes, but is not limited to, a session management function entity or a network capability opening function entity.
  • the clock source list further includes recorded attribute information of the clock source.
  • the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the clock of the first clock source
  • the domain number, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used to transmit all data.
  • the PDU session of the first time synchronization message is used to transmit all data.
  • the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
  • the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source.
  • some of the identification information listed above can be used as the identification information of the clock source.
  • a method for clock source management includes: a clock source management device receives second information from a first device, where the second information includes identification information and a second identification of the second clock source, and The second identifier is used to indicate that the second clock source has expired; according to the second information, the second clock source is managed.
  • a clock source list is stored in the first device, and the clock source list records the identification information of each of the multiple clock sources, wherein the identification information of the clock source is used to indicate the clock source Source, each of the multiple clock sources recorded in the clock source list corresponds to a timer, and the second information is that the timer corresponding to the second clock source is not received before the timer expires.
  • the time synchronization message of the second clock source is sent.
  • the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
  • the identification information includes at least one of the following information: clock domain number, clock identification, and clock accuracy.
  • the first device includes a terminal device or a user plane function UPF device.
  • the first device includes a device capable of receiving time synchronization messages and capable of detecting time synchronization messages.
  • the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
  • the clock source management device includes, but is not limited to, the clock source management device includes, but is not limited to, a session management function entity, a policy control function entity, a unified data management entity, or a network capability opening function entity, and so on.
  • the clock management device receives first information from the first device, where the first information includes attribute information of the first clock source, where the first information is when the identification information of the first clock source does not belong to the first Is sent when the clock source list is stored in the device, and the clock source list records the identification information of each clock source in at least one clock source, and the identification information of the clock source is used to indicate the clock source;
  • the first information manages the first clock source.
  • the clock source management device includes but is not limited to a session management function entity or a network capability opening function entity.
  • the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  • the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
  • the clock source list further includes recorded attribute information of the clock source.
  • the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the clock of the first clock source
  • the domain number, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used to transmit all data.
  • the PDU session of the first time synchronization message is used to transmit all data.
  • the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
  • the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source.
  • some of the identification information listed above can be used as the identification information of the clock source.
  • a device for clock source management wherein each unit in the device is used to execute each step of the communication method in the first aspect or the third aspect and any one of its implementation manners.
  • the device is a communication chip
  • the communication chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
  • the apparatus is a communication device, and the communication device may include a transmitter for sending information or data, and a receiver for receiving information or data.
  • a device for clock source management wherein each unit in the device is respectively used to execute each step of the communication method in the second aspect or the fourth aspect and any one of its implementation manners.
  • the device is a communication chip
  • the communication chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
  • the apparatus is a communication device, and the communication device may include a transmitter for sending information or data, and a receiver for receiving information or data.
  • a communication device including a processor, a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device executes the first aspect to the first aspect. Any one of the four aspects and the communication method in various implementations thereof.
  • processors there are one or more processors and one or more memories.
  • the memory may be integrated with the processor, or the memory and the processor may be provided separately.
  • the terminal device further includes a transmitter (transmitter) and a receiver (receiver).
  • a communication system including the communication device provided in the seventh aspect.
  • the communication system may also include other devices that interact with the communication device in the solution provided in the embodiments of the present application.
  • a communication system including the aforementioned network device and terminal device.
  • the terminal device is used to indicate the method of each implementation manner in the foregoing first aspect or the third aspect
  • the network device is used to execute the method of each implementation manner of the foregoing second aspect or the fourth aspect.
  • the communication system may also include other devices that interact with network devices or terminal devices in the solution provided in the embodiments of the present application.
  • a computer program product includes: a computer program (also called code, or instruction), which when the computer program is executed, causes the computer to execute the first aspect to the first aspect.
  • a computer program also called code, or instruction
  • a computer-readable medium stores a computer program (also called code, or instruction) when it runs on a computer, so that the computer executes the above-mentioned first aspect to Any aspect of the fourth aspect and the method in its possible implementation.
  • a computer program also called code, or instruction
  • a chip system including a memory and a processor, the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, so that the communication device installed with the chip system executes Any of the above-mentioned first to fourth aspects and the method in its possible implementation manner.
  • the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
  • Fig. 1 is a schematic diagram of an example of the communication system of the present application.
  • Fig. 2 is a schematic diagram of another example of the communication system of the present application.
  • Fig. 3 is a schematic interaction diagram of an example of the clock source management process of the present application.
  • Fig. 4 is a schematic interaction diagram of another example of the clock source management process of the present application.
  • Fig. 5 is a schematic diagram of an example of an apparatus for processing time synchronization messages according to the present application.
  • Fig. 6 is a schematic diagram of an example of an apparatus for processing time synchronization messages according to the present application.
  • Fig. 7 is a schematic diagram of an example of a terminal device of the present application.
  • LTE long term evolution
  • FDD frequency division duplex
  • UMTS time division duplex
  • 5G future 5th generation
  • NR new radio
  • the communication system includes but is not limited to the following network elements:
  • the terminal equipment in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), access terminal, 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, etc.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • access terminal 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, etc.
  • the terminal device may be a device that provides users with voice/data connectivity, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on.
  • some examples of terminals are: mobile phones (mobile phones), tablets, notebook computers, palmtop computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving (self-driving), wireless terminals in remote medical surgery, and smart grid (smart grid) Wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocols , SIP) telephone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing equipment connected to wireless modem, vehicle Devices, wearable devices, terminal devices in the future 5G network or terminal devices in the future evolved public land mobile network (PLMN),
  • the terminal device may also be a wearable device.
  • Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which need to cooperate with other devices such as smart phones.
  • Use such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
  • the terminal device can also be a terminal device in the Internet of Things (IoT) system.
  • IoT Internet of Things
  • the IOT technology can achieve massive connections, deep coverage, and power saving of the terminal through, for example, narrowband (narrowband) NB technology.
  • the NB may include one resource block (resource bloc, RB), that is, the bandwidth of the NB is only 180 KB.
  • resource bloc resource block
  • the terminals must be discrete in access.
  • the communication method according to the embodiment of the present application can effectively solve the congestion problem of mass terminals of the IOT technology when accessing the network through the NB.
  • the terminal device may also communicate with terminal devices of other communication systems, for example, communication between devices.
  • the terminal device may also transmit (for example, send and/or receive) time synchronization messages with terminal devices of other communication systems.
  • the access device in the embodiment of the present application may be a device used to communicate with a terminal device.
  • the access device may also be called an access network device or a wireless access network device.
  • the access device may be an LTE system.
  • the evolved NodeB (evolved NodeB, eNB or eNodeB) in the cloud radio access network (cloud radio access network, CRAN) scenario can also be a wireless controller, or the access device can be a relay station, an access point, In-vehicle devices, wearable devices, and access devices in future 5G networks or access devices in future evolved PLMN networks, etc., can be access points (APs) in WLANs, and can be new wireless systems (new The gNB in the radio, NR) system is not limited in this embodiment of the application.
  • the access device is a device in the RAN, or in other words, a RAN node that connects a terminal device to a wireless network.
  • gNB transmission reception point
  • eNB evolved Node B
  • RNC radio network controller
  • NB Node B
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved NodeB, or home Node B, HNB
  • BBU Baseband unit
  • wireless fidelity wireless fidelity, Wifi) access point (AP), etc.
  • a network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a control plane CU node (CU).
  • CU centralized unit
  • DU distributed unit
  • RAN device including a CU node and a DU node, or a control plane CU node (CU).
  • -CP node user plane CU node
  • CU-UP node user plane CU node
  • RAN equipment of DU node may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a control plane CU node (CU).
  • -CP node user plane CU node (CU-UP node) and RAN equipment of DU node.
  • the access device provides services for the cell, and the terminal device communicates with the access device through the transmission resources (for example, frequency domain resources, or spectrum resources) used by the cell, and the cell may be corresponding to the access device (for example, a base station) A cell.
  • a cell can belong to a macro base station or a base station corresponding to a small cell.
  • the small cell here can include: metro cell, micro cell, pico cell, and micro cell. Femto cells, etc. These small cells have the characteristics of small coverage and low transmit power, and are suitable for providing high-rate data transmission services.
  • the carrier in the LTE system or the 5G system can have multiple cells working at the same frequency at the same time.
  • the concept of the above-mentioned carrier and the cell can also be regarded as equivalent.
  • CA carrier aggregation
  • the concept of carrier and cell is equivalent, for example, a terminal device accessing a carrier is equivalent to accessing a cell.
  • the communication system of the present application may also be applicable to vehicle to everything (V2X) technology, that is, the terminal device of the present application may also be a car, for example, a smart car or a self-driving car.
  • V2X vehicle to everything
  • V2X represents different communication targets.
  • V2X can include but is not limited to: vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to network, V2N), and vehicle to pedestrian (V2P).
  • V2V vehicle to vehicle
  • V2I vehicle to infrastructure
  • V2N vehicle to network
  • V2P vehicle to pedestrian
  • the access device can configure a "zone" for the UE. Among them, this area can also be called a geographic area.
  • this area can also be called a geographic area.
  • the regions When the regions are configured, the world will be divided into multiple regions, which are defined by reference points, length, and width.
  • the UE uses the length, width, number of areas above the length, number of areas above the width, and reference points for the remaining operations.
  • the above information can be configured by the access device.
  • the access management function entity is mainly used for mobility management and access management, etc., and can be used to implement other functions besides session management in the mobility management entity (MME) function in the LTE system, such as lawful interception and Access authorization/authentication and other functions.
  • MME mobility management entity
  • the access management network element may be an access and mobility management function (AMF) entity.
  • AMF access and mobility management function
  • the access management function entity may still be an AMF entity, or may also have other names, which is not limited in this application.
  • the session management function (SMF) entity is mainly used for session management, terminal device Internet protocol (IP) address allocation and management, selection of manageable user plane functions, policy control, and termination of charging function interfaces Point and downlink data notification, etc.
  • IP Internet protocol
  • the session management network element may still be an SMF entity, or may also have other names, which are not limited by this application.
  • the application function (AF) entity is used for data routing affected by the application, accessing the network capability opening function entity, interacting with the policy framework for policy control, and so on.
  • the application function entity may still be an AF entity, or may also have other names, which is not limited by this application.
  • the Network Exposure Function (NEF) entity is used to safely expose various capabilities of the system to the outside world for use by third-party applications.
  • NEF can open the time synchronization capability of a communication system (for example, a 5G system) to support application services such as professional audio and video, industrial control, and the like.
  • a communication system for example, a 5G system
  • application services such as professional audio and video, industrial control, and the like.
  • the network capability opening function entity may still be an NEF entity, or may also have other names, which is not limited by this application.
  • the user plane function (UPF) entity is used for packet routing and forwarding, and quality of service (QoS) processing of user plane data, etc.
  • QoS quality of service
  • the user plane function entity may still be a UPF entity, or may also have other names, which is not limited by this application.
  • the data network (DN) is used to provide a network for data transmission.
  • PCF Policy Control Function
  • UDR unified data warehouse
  • entity may also be referred to as a network element, equipment, device, or module, etc., which is not particularly limited in this application.
  • description of "entity” is omitted in part of the description.
  • SMF entity is referred to as SMF.
  • SMF should be understood as SMF network element or SMF. Entity, hereinafter, the description of the same or similar situation is omitted.
  • Fig. 2 shows a schematic diagram of another example of the present application.
  • the communication system of the present application can support a Time Sensitive Network (TSN).
  • TSN Time Sensitive Network
  • the TSN system uses a communication system (specifically, a communication system where terminal equipment resides), such as a 5G system, to send timing information to TSN nodes to achieve the purpose of clock synchronization for TSN nodes in the same time domain.
  • a communication system specifically, a communication system where terminal equipment resides
  • 5G system a communication system where terminal equipment resides
  • the clock time of each TSN node is the same.
  • the 5G system deploys functional modules on the terminal equipment: device side TSN translator (DS-TT), and deploys functional modules on the user plane function (user plane function, UPF): network side TSN converter (network side TSN) translator, NW-TT) to adapt to the external TSN system.
  • device side TSN translator DS-TT
  • user plane function user plane function, UPF
  • network side TSN converter network side TSN translator
  • the TSN system sends timing information through the TSN node to achieve the purpose of clock synchronization for the TSN nodes in the same time domain. Generally speaking, the clock time of each TSN node is the same.
  • the wireless communication system adapts the external TSN system by deploying a functional module: DS-TT in the terminal equipment and a functional module: NW-TT in the UPF. as shown in picture 2.
  • a 5G system is used as a TSN Bridge (TSN Bridge), it can be called a 5GS Virtual TSN Bridge (5GS Virtual TSN Bridge).
  • the embodiment of the application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the application, as long as the program that records the code of the method provided in the embodiment of the application can be executed according to the method provided in the embodiment of the application. Communication is sufficient.
  • the execution subject of the method provided in the embodiments of the present application may be a terminal device or a network device, or a functional module in a terminal device or a network device that can call and execute the program; or it can be used in a terminal device Or a component of a network device (such as a chip or circuit).
  • various aspects or features of the present application can be implemented as methods, devices, or products using standard programming and/or engineering techniques.
  • article of manufacture used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium.
  • computer-readable media may include, but are not limited to: magnetic storage devices (for example, hard disks, floppy disks or tapes, etc.), optical disks (for example, compact discs (CD), digital versatile discs (DVD) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.).
  • various storage media described herein may represent one or more devices and/or other machine-readable media for storing information.
  • machine-readable medium may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • multiple time synchronization capabilities can be provided to provide multiple precision time synchronization.
  • time synchronization capabilities may include but are not limited to the following capabilities:
  • TSN clock source for example, TSN GM
  • time synchronization can be based on TSN clock source 1 (TSN GM1) in the clock domain where TSN node 1 in Figure 2 is located, or it can be based on TSN clock source 2 in the clock domain where TSN node 2 is located in Figure 2 (TSN GM2) to synchronize.
  • TSN GM1 TSN clock source 1
  • TSN GM2 TSN clock source 2 in the clock domain where TSN node 2 is located in Figure 2
  • Different clock sources may have different synchronization accuracy.
  • the accuracy of 5G GM may be 0.1 millisecond (ms)
  • the accuracy of TSN GM1 may be 0.001 ms
  • the accuracy of TSN GM2 may be 0.001 ms.
  • the solution provided by this application can support time synchronization capabilities based on two types of three clock sources, for example, synchronization based on 5G system clock sources (5G GM) and TSN master clock sources (TSN GM1 and TSN GM2). Synchronize.
  • 5G GM 5G system clock sources
  • TSN GM1 and TSN GM2 TSN master clock sources
  • the above three clock sources provide different time synchronization accuracy, which are all exposed to third-party applications through NEF. According to different application requirements, different applications can choose to use one (or more) time synchronization capabilities.
  • video surveillance applications can choose to use time synchronization based on TSN GM1
  • production control applications can also choose to use time synchronization based on TSN GM1
  • video conferencing applications can choose to use time synchronization based on 5G GM.
  • time synchronization messages can be used between devices (including devices in the system, or between devices in the system and devices outside the system), such as the Generic Precision Time Protocol. , GPTP) messages (or messages) to carry and transfer time information.
  • devices including devices in the system, or between devices in the system and devices outside the system
  • GPTP Generic Precision Time Protocol
  • devices inside the system for example, network elements such as UEs and UPFs in the 5G system, UEs or network devices outside the 5G system, can perform time synchronization according to the time information in the received gPTP message.
  • the time information may include, but is not limited to, the sending time of the time synchronization message, the time offset, and the like.
  • time synchronization messages in this application may be the same as those used in the prior art for the time synchronization process. It is the same or similar, and the time information in this application may be the same as or similar to the information used for time synchronization in the prior art, or in other words, the information carried in the time synchronization message in the prior art.
  • FIG. 3 shows the interaction process between the device #A (ie, an example of the first device) and the SMF (ie, an example of the clock source management device) when a new clock source is discovered.
  • the device #A may be a device that can receive a time synchronization message in the communication system.
  • the device #A may include a UE, UPF, DS-TT, or NW-TT.
  • SMF is only an example of a clock source management device, and other devices that can communicate with device #A and can manage the clock source fall within the protection scope of the present application.
  • the device #A obtains the clock source list #A (ie, an example of the clock source list).
  • the clock source list #A records identification information of at least one clock source.
  • the identification information of the clock source is used to indicate (or distinguish) the clock source.
  • the identification information may include, but is not limited to, one or more of the following information:
  • the clock domain number is used to indicate (or distinguish) clock domains
  • the clock domain of a clock refers to the effective area of the clock.
  • the clock domain number may also be referred to as a clock domain ID (clock domain ID).
  • the clock identifier is used to indicate (or distinguish) the clock (or clock source).
  • Table 1 shows an example of the clock source list #A of the present application.
  • the identification information may include the information that can realize the function (or effect) of the identification information carried in the time message in the prior art, so as to avoid interference with the existing
  • the time synchronization message is modified to improve the compatibility of this application.
  • the identification information may also be information that is not carried in the existing time message, and this application is not particularly limited. That is, in this case, the time synchronization message of this application needs to carry identification information and is different from the current one. There is a technical time synchronization message, and the position of the identification information in the time synchronization message is not particularly limited, as long as it can ensure that the receiving device of the time synchronization message can obtain the identification information from the time synchronization message.
  • the clock source list #A also records attribute information (or parameter information) of at least one clock source.
  • the attribute information of a clock source is used to indicate the attribute or characteristic of the clock source.
  • the attributes or characteristics of a certain clock source can be used to determine whether the clock source is suitable for a certain service.
  • the attribute information may include, but is not limited to, one or more of the following information:
  • the clock domain number is used to indicate (or distinguish) clock domains
  • the clock domain of a clock refers to the effective area of the clock.
  • the clock identifier is used to indicate (or distinguish) the clock (or clock source).
  • Protocol Data Unit Session PDU Session
  • PDU Session ID The identifier (PDU Session ID) of the protocol data unit session (Protocol Data Unit Session, PDU Session) carried by the time synchronization message corresponding to the clock source.
  • Table 2 shows another example of the clock source list #A of the present application.
  • part or all of the identification information of the clock sources recorded in the clock source list #A may be issued to the device #A by the clock management device.
  • the identification information of some or all of the clock sources recorded in the clock source list #A may be recorded in the clock source list # when the device #A determines that a clock source is a newly discovered clock source. In A.
  • the clock source recorded in the clock source list may be an internal clock source or an external clock source, which is not specifically limited in this application.
  • the internal clock source can be understood as the clock source of the communication system where the device #A is currently located.
  • the internal system is the communication system where the terminal device currently resides, and when the device #A is a UPF
  • the internal system of the device is the communication system to which the UPF device belongs.
  • the internal clock source may include, but is not limited to, the clock source of the fifth-generation 5G or sixth-generation 6G system.
  • the external clock source can be understood as a clock source of a system other than the communication system where the device #A is currently located.
  • the external clock source may include, but is not limited to, the clock source of the delay-sensitive network TSN.
  • the device #A receives the time synchronization message #A (for example, gPTP).
  • #A for example, gPTP
  • the clock source (denoted as clock source #A) corresponding to the time synchronization message #A may be an internal clock source or an external clock source, which is not specifically limited in this application.
  • the time synchronization message #A may be a time synchronization message of TSN sent by an external device, for example.
  • the device #A can parse the time synchronization message #A to obtain the identification information #A (that is, the identification information of the clock source #A) carried in the time synchronization message #A.
  • the device #A can determine whether the identification information #A is recorded in the clock source list #A.
  • the device #A determines that the clock source #A indicated by the identification information #A is the discovered clock source according to the determination result.
  • the device #A determines that the clock source #A indicated by the identification information #A is the newly discovered clock source according to the determination result, and then executes S1140.
  • the device #A can obtain the attribute information of the clock source #A (or in other words, the time synchronization message #A).
  • device #A can use the clock domain number, clock identifier, or clock accuracy information carried in the time synchronization message #A (for example, the time information carried in the time synchronization message #A) as the attributes of the clock source #A information.
  • device #A can use the port number of the receiving port of the time synchronization message #A, the identification information of the device #A, or the PDU Session ID of the session carried by the time synchronization message #A as the clock source #A Property information.
  • the device #A can directly send the attribute information of the clock source #A to the SMF.
  • the device #A may send a clock management message #A (that is, an example of the first information) to the SMF, and the clock discovery message #A carries the attribute information of the clock source #A.
  • a clock management message #A that is, an example of the first information
  • the clock management message #A may also carry identification information of the clock source #A.
  • the clock management message #A may also carry a new clock source discovery identifier (that is, an example of the first identifier), and the new clock source discovery identifier is used to indicate the clock source carried in the clock management message #A It is a newly discovered clock source, in other words, the new clock source discovery identifier is used to indicate that the clock source to which the attribute information carried in the clock management message #A belongs is the newly discovered clock source.
  • a new clock source discovery identifier that is, an example of the first identifier
  • new clock source discovery identifier and the clock source expired identifier described later may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
  • the identification when the device finds a new clock source, the identification can be set to 1; when the device determines that the clock source is expired, the identification can be set to 0.
  • the SMF can determine the clock source (ie clock source #A) to which the attribute information carried in the clock management message #A belongs according to the new clock source discovery identifier as the newly discovered clock source, and then save the clock source #A Property information.
  • control can be performed so that the terminal device that needs to access the service can receive the time synchronization message of the clock source #A.
  • the SMF can send the attribute information of the clock source #A to NEF, so that the NEF can expose the attribute information of the clock source #A as a time synchronization capability of the system to the outside for use by third-party applications.
  • the device #A may directly send the clock management message #A.
  • the device #A may start a timer (denoted as timer #A) after determining that the clock source #A indicated by the identification information #A is a newly discovered clock source.
  • timer #A a timer
  • the timing duration of the timer #A may be specified by the communication system or communication protocol, or the timing duration of the timer #A may also be set by the administrator device, which is not particularly limited in this application.
  • the device #A can determine whether the time synchronization message of the clock source #A is received again before the timer #A expires.
  • the device #A can send the clock management message #A.
  • the device #A stops (in other words, prohibits or does not) send the clock management message #A.
  • multiple reporting periods can be divided in the time domain, assuming that device #A receives the time synchronization message #A at time #A, or device #A obtains the identification information at time #A #A ⁇ #A is the result of the determination of the newly discovered clock source, then device #A can send a clock management message #A in the reporting period of time #A; or, device #A can be at time #A
  • the clock management message #A is sent in the Tth reporting period after the reporting period, where the value of T is greater than or equal to 1, and the value of T can be specified by communication coordination or communication protocol, or the value of T can also be managed by Personnel equipment, this application is not particularly limited.
  • the clock management message #A may only carry the attribute information of the clock source #A, or the clock relationship message may also carry the attribute information of multiple clock sources (for example, discovered in the same reporting period).
  • the device #A may also record the identification information and attribute information of the clock source #A in the clock source list #A.
  • the device #A by configuring a clock source list recording the identification information of the clock source in the device #A, and carrying the identification information of the clock source corresponding to the time synchronization message in the time synchronization message, the device #A According to the list of clock sources, it can be determined whether the clock source corresponding to the received time synchronization message is a newly discovered clock source, and furthermore, if the determination is yes, the newly discovered clock source can be The attribute information is sent to a network device for managing clock sources such as SMF, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
  • a network device for managing clock sources such as SMF
  • the customizer corresponding to the clock source #A can be started (denoted as timer #B ), where timer #A and timer #B can be the same timer (or the timing duration is the same), or timer #A and timer #B can be different timers (or, the timing duration is different ), this application is not particularly limited.
  • the device #A if the device #A receives the time synchronization message of the clock source #A before the timer #B expires, the device #A resets the timer #B.
  • device #A If device #A does not receive a time synchronization message from clock source #A before timer #B is last reset (or started) until timer #B expires, device #A can get from clock source list #A Delete the identification information of the clock source #A.
  • the device #A may also send a clock management message #B (ie, an example of the second information) to the SMF, and the clock management message #B may also carry the identification information and/or attribute information of the clock source #A.
  • a clock management message #B ie, an example of the second information
  • the clock management message #B may also carry a clock source expiration identifier (that is, an example of the second identifier), and the clock source expiration identifier is used to indicate that the clock source #A is an expired clock source.
  • the clock source expiration identifier and the aforementioned new clock source discovery identifier may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
  • the SMF can determine that the clock source (ie, clock source #A) to which the attribute information carried in the clock management message #B belongs has expired according to the clock source expiration identifier, and then delete the attribute information of the clock source #A.
  • the clock source ie, clock source #A
  • the SMF can notify NEF that the clock source #1 has expired, so that NEF no longer exposes the attribute information of the clock source #A as a time synchronization capability of the system to the outside world.
  • the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
  • FIG. 4 shows the interaction process between the device #1 (ie, an example of the first device) and the SMF (ie, an example of the clock source management device) when a new clock source is discovered.
  • the device #1 may be a device that can receive a time synchronization message in the communication system.
  • the device #1 may include a UE, UPF, DS-TT, or NW-TT.
  • the device #1 obtains the clock source list #1 (ie, an example of the clock source list).
  • the clock source list #1 records identification information of at least one clock source.
  • the function and role of the identification information are similar to those described in the process shown in FIG. 3. In order to avoid redundant description, detailed description is omitted.
  • the clock source list #1 also records attribute information (or parameter information) of at least one clock source.
  • each clock source recorded in clock source list #1 corresponds to a timer, where the timer duration can be specified by the communication system or communication protocol, or the timer duration can also be determined by the administrator
  • the device settings are not particularly limited in this application.
  • timing duration of the timers corresponding to any two clock sources may be the same or different, and this application is not particularly limited.
  • clock source #1 in the clock source list #1 expires is taken as an example for description.
  • device #1 can start the timer corresponding to clock source #1 (denoted as timer #1).
  • the device #1 may start the timer #1 based on the instruction of the network device (for example, UPF, SMF, AMF, etc.).
  • the network device for example, UPF, SMF, AMF, etc.
  • device #1 may start timer #1 when it receives the time synchronization message from clock source #1 for the first time.
  • the device #1 if the device #1 receives the time synchronization message of the clock source #1 before the timer #1 expires, the device #1 resets the timer #1.
  • the clock management message #1 may also carry identification information and/or attribute information of the clock source #1.
  • the clock management message #1 may also carry a clock source expiration identifier (that is, an example of the second identifier), and the clock source expiration identifier is used to indicate that the clock source carried in the clock management message #1 is an expired clock source, or ,
  • the clock source expiration identifier is used to indicate that the clock source to which the attribute information carried in the clock management message #1 belongs is an expired clock source, or in other words, the clock source expiration identifier is used to indicate the location of the identification information carried in the clock management message #1
  • the indicated clock source is an expired clock source.
  • the clock source expiration identifier and the aforementioned new clock source discovery identifier may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
  • the SMF can determine that the clock source (ie, clock source #1) to which the attribute information carried in the clock management message #1 belongs has expired according to the clock source expiration identifier, and then process the expired clock source.
  • the SMF can notify NEF that the clock source #1 has expired, so that NEF no longer exposes the attribute information of the clock source #1 as a time synchronization capability of the system to the outside world.
  • a clock source list with identification information of the clock source is configured in the device #1, and each clock source can correspond to a timer, and the time synchronization message is carried in the time synchronization message
  • the identification information of the corresponding clock source thus, device #1 can determine whether the clock source has expired according to the timer corresponding to each clock source, and furthermore, in the case where the determination is yes, it can manage the clock from, for example, SMF
  • the network device of the source reports the expired clock source, so that the clock source management device can determine whether the discovered clock source is expired in time, which can further improve the reliability and accuracy of communication.
  • FIG. 3 and FIG. 4 can be executed individually or jointly. That is, the above-mentioned device #A and device #1 can be the same device or different devices, and this application is not particularly limited.
  • clock management message #A and the clock management message #1 may be the same message or different messages, which is not particularly limited in this application.
  • clock management message #A and clock management message #1 are the same message, it means that the same clock relationship message carries the new clock source discovery identifier and also carries the clock source expiration identifier.
  • the newly discovered clock The location relationship between the source attribute information (and/or identification information) and the new clock source discovery identifier (specifically, the bearing position relationship in the clock relationship message) needs to meet the preset first relationship, and the expired The positional relationship between the attribute information (and/or identification information) of the clock source and the expiration identifier of the clock source satisfies the preset second relationship.
  • the first relationship and the second relationship may be specified by the communication system or communication protocol, or may also be determined by The device #A (or device #1) negotiates with the SMF to determine, so that the SMF can accurately determine which of the clock sources carried in the clock management message are newly discovered and which are out of date.
  • the device #1 can also delete the identification information and attribute information of the clock source #1 from the clock source list #1.
  • FIG. 5 is a schematic diagram of an apparatus 300 for processing a time synchronization message according to an embodiment of the application.
  • the apparatus 300 may be a terminal device, or a chip or circuit, for example, a chip or circuit that can be provided in a terminal device.
  • the device 300 may include a processing unit 310 (ie, an example of a processing unit), and optionally, may also include a storage unit 320.
  • the storage unit 320 is used to store instructions.
  • the processing unit 310 is configured to execute the instructions stored in the storage unit 320, so that the apparatus 300 implements the steps performed by the terminal device in the foregoing method.
  • the device 300 may also include an input port 330 (ie, an example of a communication unit) and an output port 340 (ie, another example of a transceiver unit).
  • the processing unit 310, the storage unit 320, the input port 330, and the output port 340 can communicate with each other through internal connection paths to transfer control and/or data signals.
  • the storage unit 320 is used to store a computer program, and the processing unit 310 can be used to call and run the calculation program from the storage unit 320 to complete the steps of the terminal device in the foregoing method.
  • the storage unit 320 may be integrated in the processing unit 310, or may be provided separately from the processing unit 310.
  • the input port 330 may be a receiver
  • the output port 340 may be a transmitter.
  • the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
  • the input port 330 is an input interface
  • the output port 340 is an output interface
  • the functions of the input port 330 and the output port 340 may be implemented by a transceiver circuit or a dedicated chip for transceiver.
  • the processing unit 310 may be implemented by a dedicated processing chip, a processing circuit, a processing unit, or a general-purpose chip.
  • a general-purpose computer may be considered to implement the terminal device provided in the embodiments of the present application.
  • the program codes that realize the functions of the processing unit 310, the input port 330, and the output port 340 are stored in the storage unit 320.
  • the general processing unit implements the functions of the processing unit 310, the input port 330 and the output port 340 by executing the code in the storage unit 320. .
  • the input port 330 is used to obtain a clock source list, and the clock source list records identification information of each clock source in at least one clock source, wherein the identification information of the clock source is used to indicate
  • the clock source is used to receive a first time synchronization message, where the first time synchronization message includes identification information of the first clock source;
  • the processing unit 310 is configured to control the output port 340 to send first information, and the first information includes the identification information of the first clock source. Property information.
  • the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  • the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
  • the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source The clock domain number, the clock ID of the first clock source, or the clock accuracy of the first clock source,
  • the first port is a port used to transmit the first time synchronization message
  • the first PDU session is a PDU session used to transmit the first time synchronization message.
  • the processing unit 310 is configured to start a first timer after the input port 330 receives the first time synchronization message; and, if the input port 330 receives the first timer before the first timer expires Two time synchronization messages, the output port 340 is controlled to send the first information, and the second time synchronization messages include the identification information of the first clock source.
  • the processing unit 310 is configured to record the identification information of the first clock source in the clock source list.
  • each of the multiple clock sources recorded in the clock source list corresponds to a timer
  • the processing unit 310 is configured to, if the input port 330 receives a time synchronization message from the second clock source, start or reset the timer corresponding to the second clock source, where the second clock source is the One of the multiple clock sources recorded in the clock source list.
  • the processing unit 310 is configured to delete from the clock source list if the input port 330 does not receive the time synchronization message of the second clock source before the timer corresponding to the second clock source expires Identification information of the second clock source.
  • the processing unit 310 is configured to control the output port 340 to send the second information if the input port 330 does not receive the time synchronization message of the second clock source before the timer corresponding to the second clock source expires ,
  • the second information includes identification information of the second clock source and a second identification, and the second identification is used to indicate that the second clock source has expired.
  • the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
  • the input port 330 is used to obtain a clock source list, and the clock source list records the identification information of each of the multiple clock sources, wherein the identification information of the clock source is used for Indicate the clock source.
  • Each clock source among the multiple clock sources recorded in the clock source list corresponds to a timer; if the input port 330 receives a time synchronization message from the second clock source, the processing unit 310 starts Or reset the timer corresponding to the second clock source, where the second clock source is one of the multiple clock sources recorded in the clock source list; if the timer corresponding to the second clock source When the input port 330 does not receive the time synchronization message of the second clock source before the time is up, the processing unit 310 deletes the identification information of the second clock source from the clock source list; and/or if the first clock source Before the timer corresponding to the second clock source expires, the input port 330 does not receive the time synchronization message of the second clock source, and the processing unit 310 controls the output port 340 to send second
  • the functions and actions of the modules or units in the device 300 listed above are only exemplary.
  • the modules or units in the device 300 can be used Each action or process performed by the receiving device (for example, device #A or device #1) of the time synchronization message in the foregoing method.
  • the receiving device for example, device #A or device #1
  • detailed descriptions are omitted.
  • FIG. 6 is a schematic diagram of an apparatus 400 for processing a time synchronization message according to an embodiment of the application.
  • the apparatus 400 may be a network device, or a chip or circuit, such as a chip or circuit that can be set in a clock management device (for example, SMF).
  • a clock management device for example, SMF
  • the device 400 may include a processing unit 410 (that is, an example of a processing unit), and optionally, may also include a storage unit 420.
  • the storage unit 420 is used to store instructions.
  • the processing unit 410 is configured to execute the instructions stored in the storage unit 420, so that the apparatus 400 implements the steps performed by the network device in the foregoing method.
  • the device 400 may further include an input port 430 (ie, an example of a communication unit) and an output port 440 (ie, another example of a transceiver unit).
  • the processing unit 410, the storage unit 420, the input port 430, and the output port 440 can communicate with each other through internal connection paths to transfer control and/or data signals.
  • the storage unit 420 is used to store a computer program, and the processing unit 410 can be used to call and run the computer program from the storage unit 420 to complete the steps of the network device in the above method.
  • the storage unit 420 may be integrated in the processing unit 410, or may be provided separately from the processing unit 410.
  • the input port 430 may be a receiver
  • the output port 440 may be a transmitter.
  • the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
  • the input port 430 is an input interface
  • the output port 440 is an output interface
  • the functions of the input port 430 and the output port 440 may be implemented by a transceiver circuit or a dedicated chip for transceiver.
  • the processing unit 410 may be implemented by a dedicated processing chip, a processing circuit, a processing unit, or a general-purpose chip.
  • a general-purpose computer may be considered to implement the network device provided in the embodiment of the present application.
  • the program code that realizes the functions of the processing unit 410, the input port 430 and the output port 440 is stored in the storage unit 420.
  • the general processing unit implements the functions of the processing unit 410, the input port 430 and the output port 440 by executing the code in the storage unit 420 .
  • each module or unit in the device 400 can be used to execute various actions or processes performed by the time management device (for example, SMF) in the above method.
  • SMF time management device
  • FIG. 7 is a schematic structural diagram of a terminal device 500 provided by this application.
  • the foregoing apparatus 300 may be configured in the terminal device 500, or the foregoing apparatus 300 itself may be the terminal device 500.
  • the terminal device 500 can perform the actions performed by the receiving device (for example, device #1 or device #A) of the time synchronization message in the foregoing method.
  • FIG. 7 only shows the main components of the terminal device.
  • the terminal device 500 includes a processor, a memory, a control circuit, an antenna, and an input and output device.
  • the processor is mainly used to process the communication protocol and communication data, and to control the entire terminal device, execute the software program, and process the data of the software program. For example, it is used to support the terminal device to execute the above-mentioned transmission precoding matrix instruction method embodiment.
  • the memory is mainly used to store software programs and data, for example, to store the codebook described in the above embodiments.
  • the control circuit is mainly used for the conversion of baseband signals and radio frequency signals and the processing of radio frequency signals.
  • the control circuit and the antenna together can also be called a transceiver, which is mainly used to send and receive radio frequency signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, keyboards, etc., are mainly used to receive data input by users and output data to users.
  • the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal to the outside in the form of electromagnetic waves through the antenna.
  • the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
  • FIG. 7 only shows a memory and a processor. In actual terminal devices, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiment of the present application.
  • the processor may include a baseband processor and a central processing unit.
  • the baseband processor is mainly used to process communication protocols and communication data.
  • the central processing unit is mainly used to control the entire terminal device, execute software programs, and process software programs. data.
  • the processor in FIG. 7 integrates the functions of a baseband processor and a central processing unit.
  • the baseband processor and the central processing unit may also be independent processors and are interconnected by technologies such as a bus.
  • the terminal device may include multiple baseband processors to adapt to different network standards, the terminal device may include multiple central processors to enhance its processing capabilities, and the various components of the terminal device may be connected through various buses.
  • the baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit can also be expressed as a central processing circuit or a central processing chip.
  • the function of processing the communication protocol and the communication data can be built in the processor, or can be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
  • the antenna and the control circuit with the transceiving function can be regarded as the transceiving unit 510 of the terminal device 500, and the processor with the processing function can be regarded as the processing unit 520 of the terminal device 500.
  • the terminal device 500 includes a transceiving unit 510 and a processing unit 520.
  • the transceiving unit may also be referred to as a transceiver, a transceiver, a transceiving device, and so on.
  • the device for implementing the receiving function in the transceiving unit 510 can be regarded as the receiving unit, and the device for implementing the sending function in the transceiving unit 510 can be regarded as the sending unit, that is, the transceiving unit includes a receiving unit and a sending unit.
  • the receiving unit may also be called a receiver, a receiver, a receiving circuit, etc.
  • the sending unit may be called a transmitter, a transmitter, or a transmitting circuit, etc.
  • the embodiment of the present application also provides a communication system, which includes one or more of the aforementioned terminal devices and network devices.
  • the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and dedicated integration Circuit (application specific integrated circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • Access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory Take memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
  • the foregoing embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination.
  • the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions or computer programs.
  • the computer instructions or computer programs are loaded or executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium.
  • the semiconductor medium may be a solid state drive.
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

The present application provides a method and apparatus for clock source management. The method comprises: a first device maintains a clock source list, wherein the clock source list records identification information of each clock source among at least one clock source, and the identification information of the clock source is used for indicating the clock source; receive a first time synchronization packet, the first time synchronization packet comprising identification information of a first clock source; and if the identification information of the first clock source does not belong to the identification information recorded in the clock source list, record the identification information of the first clock source in the clock source list and sending first information, the first information comprising attribute information of the first clock source. Thus, the efficiency of clock source discovery can be improved, and the costs and time delay of clock source discovery can be reduced.

Description

时钟源管理的方法和装置Method and device for clock source management
本申请要求于2020年05月28日提交中国专利局、申请号为202010466876.0、申请名称为“时钟源管理的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 28, 2020, the application number is 202010466876.0, and the application name is "Method and Apparatus for Clock Source Management", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本申请实施例涉及通信领域,并且更具体地,涉及时钟源管理的方法和装置。The embodiments of the present application relate to the field of communications, and more specifically, to a method and device for clock source management.
背景技术Background technique
时间同步是实现通信可靠性和准确性的基础,目前已知一种技术,通信双方基于承载有同一时钟源,例如,主授时时钟源(Grant Master,GM)的信息的报文(即,时间同步报文)进行时间同步。Time synchronization is the basis for the reliability and accuracy of communication. At present, a technology is known in which both parties in communication are based on messages that carry information from the same clock source, for example, the Grant Master (GM). Synchronization message) for time synchronization.
随着通信技术的发展,通信业务呈现出多样化,不同的业务对时间同步的精度的要求也不同,对此,可以通过例如外部***的时钟源等主授时时钟源以外的时钟源,提供多种不同精度的时钟源,如何使网络设备及时感知这些时钟源,成为业界亟需解决的问题。With the development of communication technology, communication services are becoming diversified, and different services have different requirements for the accuracy of time synchronization. For this, a clock source other than the main time service clock source, such as the clock source of an external system, can be used to provide more There are a variety of clock sources with different precisions, and how to make network devices perceive these clock sources in a timely manner has become an urgent problem in the industry.
发明内容Summary of the invention
本申请提供一种时钟源管理的方法和装置,能够提高时钟源发现的效率,降低时钟源发现的成本和时延。The present application provides a method and device for clock source management, which can improve the efficiency of clock source discovery and reduce the cost and delay of clock source discovery.
第一方面,提供一种时钟源管理的方法,所述方法包括:第一设备维护时钟源列表,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源;接收第一时间同步报文,第一时间同步报文包括第一时钟源的标识信息;如果所述第一时钟源的标识信息不属于所述时钟源列表记录的标识信息,则发送第一信息,所述第一信息包括所述第一时钟源的属性信息。In a first aspect, a method for clock source management is provided. The method includes: a first device maintains a clock source list, and the clock source list records identification information of each of at least one clock source, wherein all The identification information of the clock source is used to indicate the clock source; the first time synchronization message is received, and the first time synchronization message includes the identification information of the first clock source; if the identification information of the first clock source does not belong to all According to the identification information recorded in the clock source list, first information is sent, and the first information includes attribute information of the first clock source.
其中,所述第一时间同步报文是所述第一时钟源对应的时间同步报文,即,所述第一时间同步报文用于携带和传递所述第一时钟源的时间信息。The first time synchronization message is a time synchronization message corresponding to the first clock source, that is, the first time synchronization message is used to carry and transfer time information of the first clock source.
并且,该时钟源列表记录的时钟源包括网络设备(例如,会话管理功能实体或网络能力开放功能实体等)已获得属性信息的时钟源。In addition, the clock sources recorded in the clock source list include clock sources from which the network device (for example, a session management function entity or a network capability opening function entity, etc.) has obtained attribute information.
或者说,时钟源管理设备(例如,会话管理功能实体或网络能力开放功能实体等)已获得该时钟源列表记录的时钟源的属性信息。In other words, the clock source management device (for example, the session management function entity or the network capability opening function entity, etc.) has obtained the attribute information of the clock source recorded in the clock source list.
所述第一设备包括能够接收时间同步报文,并能够对时间同步报文进行探测的设备。The first device includes a device that can receive time synchronization messages and can detect time synchronization messages.
例如,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。For example, the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
根据本申请的方案,通过时间同步报文的接收设备中配置记录有时钟源的标识信息的 时钟源列表,并在时间同步报文内携带该时间同步报文所对应的时钟源的标识信息,从而,第一设备能够根据该时钟源列表,判定所接收到的时间同步报文对应的时钟源是否是新发现的时钟源,进而,能够在判定为是的情况下,可以将该新发现的时钟源的属性信息发送至用于管理时钟源的网络设备,从而,能够提高时钟源发现的效率,降低时钟源发现的成本和时延。According to the solution of the present application, a clock source list recording the identification information of the clock source is configured in the receiving device of the time synchronization message, and the identification information of the clock source corresponding to the time synchronization message is carried in the time synchronization message, Therefore, the first device can determine whether the clock source corresponding to the received time synchronization message is a newly discovered clock source according to the clock source list, and can further determine whether the newly discovered clock source is The attribute information of the clock source is sent to the network device used to manage the clock source, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
可选地,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。Optionally, the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
或者说,所述第一标识用于指示所述第一时钟源的标识信息未记录在所述时钟源列表中。In other words, the first identifier is used to indicate that the identification information of the first clock source is not recorded in the clock source list.
或者说,所述第一标识用于指示在所述时钟源列表中添加所述第一时钟源的标识信息。In other words, the first identifier is used to indicate that the identification information of the first clock source is added to the clock source list.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
可选地,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。Optionally, the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source The clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used for The PDU session for transmitting the first time synchronization message.
作为示例而非限定,当所述第一设备包括终端设备时,所述第一设备的设备标识可以包括但不限于所述终端设备的手机号、所述终端设备的设备标识、所述终端设备的网际协议地址等。As an example and not a limitation, when the first device includes a terminal device, the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
可选地,所述时钟源列表还包括所记录的时钟源的属性信息。Optionally, the clock source list further includes recorded attribute information of the clock source.
需要说明的是,在本申请中,时钟源的属性信息和时钟源的标识信息可能具有交集,即,以上列举的属性信息中的某些信息可以作为时钟源的标识信息。并且,以上列举的标识信息中的某些信息可以作为时钟源的标识信息。It should be noted that in this application, the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source. In addition, some of the identification information listed above can be used as the identification information of the clock source.
可选地,所述方法还包括:在接收到所述第一时间同步报文之后,启动第一定时器;以及所述发送第一信息,包括:如果在所述第一定时器到时之前接收到第二时间同步报文,则发送所述第一信息,所述第二时间同步报文包括第一时钟源的标识信息。Optionally, the method further includes: after receiving the first time synchronization message, starting a first timer; and the sending the first information includes: if the first timer expires When a second time synchronization message is received, the first information is sent, and the second time synchronization message includes the identification information of the first clock source.
通过在确定能够稳定且可靠地周期性接收到所述第一时钟源的时间同步报文后发送该第一时钟源的属性信息,能够进一步提高本申请的方案的可靠性和实用性。By sending the attribute information of the first clock source after determining that it can stably and reliably receive the time synchronization message of the first clock source periodically, the reliability and practicability of the solution of the present application can be further improved.
可选地,所述方法还包括:在所述时钟源列表中记录所述第一时钟源的标识信息。Optionally, the method further includes: recording the identification information of the first clock source in the clock source list.
可选地,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器。Optionally, each of the multiple clock sources recorded in the clock source list corresponds to a timer.
可选地,所述方法还包括:如果接收到第二时钟源的时间同步报文,则启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源。Optionally, the method further includes: if a time synchronization message from a second clock source is received, starting or resetting a timer corresponding to the second clock source, the second clock source being the clock source One of the multiple clock sources recorded in the list.
可选地,所述方法还包括:如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则从所述时钟源列表中删除所述第二时钟源的标识信息。Optionally, the method further includes: if the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, deleting the clock source list Identification information of the second clock source.
可选地,所述方法还包括:如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期(或者说,失效)。Optionally, the method further includes: if the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, sending second information, the second information It includes identification information and a second identifier of the second clock source, and the second identifier is used to indicate that the second clock source is out of date (or invalid).
从而,能够使时钟源管理设备及时确定已发现的时钟源是否过期,从而能够进一步提 高通信的可靠性的准确性。Therefore, the clock source management device can determine whether the discovered clock source is expired in time, thereby further improving the reliability and accuracy of communication.
可选地,所述时钟源列表中记录的时钟源包括外部***的时钟源。Optionally, the clock source recorded in the clock source list includes a clock source of an external system.
可选地,所述第一时钟源包括外部***的时钟源。Optionally, the first clock source includes a clock source of an external system.
其中,外部***可以理解为终端设备当前驻留的通信***以外的***。Among them, the external system can be understood as a system other than the communication system where the terminal device currently resides.
可选地,所述第一时钟源包括时延敏感网络TSN的时钟源。Optionally, the first clock source includes a clock source of a delay-sensitive network TSN.
可选地,所述时钟源列表中记录的时钟源包括TSN的时钟源Optionally, the clock source recorded in the clock source list includes the clock source of TSN
应理解,以上列举的第一时钟源仅为示例性说明,本申请并未特别限定,其它***的时钟源均落入本申请的保护范围内。It should be understood that the first clock source listed above is only an exemplary description, and this application is not particularly limited, and clock sources of other systems fall within the protection scope of this application.
可选地,所述第一时钟源的时间同步报文包括通用精确时间协议gPTP报文。Optionally, the time synchronization message of the first clock source includes a General Precision Time Protocol gPTP message.
可选地,所述第一时钟源的时间同步报文包括精确时间协议PTP报文。Optionally, the time synchronization message of the first clock source includes a precision time protocol PTP message.
需要说明的是,时间同步报文可以根据本申请所应用的***而适当变更,本申请并未特别限定。It should be noted that the time synchronization message can be appropriately changed according to the system applied by this application, and this application is not particularly limited.
第二方面,提供一种时钟源管理的方法,所述方法包括:时钟管理设备从第一设备接收第一信息,所述第一信息包括第一时钟源的属性信息;根据所述第一信息,管理所述第一时钟源。In a second aspect, a method for clock source management is provided. The method includes: a clock management device receives first information from a first device, where the first information includes attribute information of the first clock source; and according to the first information , Manage the first clock source.
其中,所述第一信息是在所述第一时钟源的标识信息不属于所述第一设备中存储的时钟源列表时发送的,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,所述时钟源的标识信息用于指示所述时钟源。Wherein, the first information is sent when the identification information of the first clock source does not belong to the clock source list stored in the first device, and the clock source list records each of at least one clock source The identification information of the clock source, where the identification information of the clock source is used to indicate the clock source.
例如,所述时钟源管理设备包括但不限于会话管理功能(session management function,SMF)实体、策略控制功能(policy control function,PCF)实体、统一数据管理(unified data management,UDM)实体或网络能力开放功能实体等。For example, the clock source management device includes, but is not limited to, a session management function (SMF) entity, a policy control function (PCF) entity, a unified data management (UDM) entity, or a network capability Open functional entities, etc.
可选地,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。Optionally, the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
可选地,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。Optionally, the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source The clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used for The PDU session for transmitting the first time synchronization message.
可选地,所述方法还包括:从所述第一设备接收第二信息,所述第二信息包括第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。Optionally, the method further includes: receiving second information from the first device, where the second information includes identification information of a second clock source and a second identifier, and the second identifier is used to indicate the second clock source. Second, the clock source is out of date.
其中,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器,所述第二信息是在所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文时发送的Wherein, each of the multiple clock sources recorded in the clock source list corresponds to a timer, and the second information is that the timer corresponding to the second clock source is not received before the timer expires. Sent when the time synchronization message of the second clock source
可选地,所述方法还包括:向网络能力开放功能设备发送所述第一时钟源的属性信息。Optionally, the method further includes: sending the attribute information of the first clock source to the network capability opening function device.
可选地,所述时钟源列表还包括所记录的时钟源的属性信息。Optionally, the clock source list further includes recorded attribute information of the clock source.
需要说明的是,在本申请中,时钟源的属性信息和时钟源的标识信息可能具有交集,即,以上列举的属性信息中的某些信息可以作为时钟源的标识信息。并且,以上列举的标识信息中的某些信息可以作为时钟源的标识信息。It should be noted that in this application, the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source. In addition, some of the identification information listed above can be used as the identification information of the clock source.
根据本申请的方案,通过时间同步报文的接收设备中配置记录有时钟源的标识信息的 时钟源列表,并在时间同步报文内携带该时间同步报文所对应的时钟源的标识信息,从而,第一设备能够根据该时钟源列表,判定所接收到的时间同步报文对应的时钟源是否是新发现的时钟源,进而,能够在判定为是的情况下,可以将该新发现的时钟源的属性信息发送至用于管理时钟源的网络设备,从而,能够提高时钟源发现的效率,降低时钟源发现的成本和时延。According to the solution of the present application, a clock source list recording the identification information of the clock source is configured in the receiving device of the time synchronization message, and the identification information of the clock source corresponding to the time synchronization message is carried in the time synchronization message, Therefore, the first device can determine whether the clock source corresponding to the received time synchronization message is a newly discovered clock source according to the clock source list, and can further determine whether the newly discovered clock source is The attribute information of the clock source is sent to the network device used to manage the clock source, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
第三方面,提供一种时钟源管理的方法,所述方法包括:第一设备获取时钟源列表,所述时钟源列表记录有多个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器;如果接收到第二时钟源的时间同步报文,则启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源;如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则从所述时钟源列表中删除所述第二时钟源的标识信息;和/或如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。In a third aspect, a method for clock source management is provided. The method includes: a first device obtains a clock source list, and the clock source list records identification information of each of a plurality of clock sources, where all The identification information of the clock source is used to indicate the clock source, and each of the multiple clock sources recorded in the clock source list corresponds to a timer; if a time synchronization message from the second clock source is received, Start or reset the timer corresponding to the second clock source, where the second clock source is one of the multiple clock sources recorded in the clock source list; if the second clock source corresponds to If the time synchronization message of the second clock source is not received before the timer expires, the identification information of the second clock source is deleted from the clock source list; and/or if the second clock source corresponds to If the time synchronization message of the second clock source is not received before the timer expires, the second information is sent. The second information includes the identification information and the second identification of the second clock source. The second identifier is used to indicate that the second clock source has expired.
从而,能够使时钟源管理设备及时确定已发现的时钟源是否过期,从而能够进一步提高通信的可靠性的准确性。As a result, the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识、时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, and clock accuracy.
可选地,所述第一设备包括终端设备或用户面功能UPF设备。Optionally, the first device includes a terminal device or a user plane function UPF device.
其中,所述第一设备包括能够接收时间同步报文,并能够对时间同步报文进行探测的设备。Wherein, the first device includes a device capable of receiving time synchronization messages and capable of detecting time synchronization messages.
例如,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。For example, the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
所述时钟源管理设备包括但不限于会话管理功能实体或网络能力开放功能实体等。The clock source management device includes, but is not limited to, a session management function entity or a network capability opening function entity.
可选地,所述时钟源列表还包括所记录的时钟源的属性信息。Optionally, the clock source list further includes recorded attribute information of the clock source.
并且,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。In addition, the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the clock of the first clock source The domain number, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used to transmit all data. The PDU session of the first time synchronization message.
作为示例而非限定,当所述第一设备包括终端设备时,所述第一设备的设备标识可以包括但不限于所述终端设备的手机号、所述终端设备的设备标识、所述终端设备的网际协议地址等。As an example and not a limitation, when the first device includes a terminal device, the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
需要说明的是,在本申请中,时钟源的属性信息和时钟源的标识信息可能具有交集,即,以上列举的属性信息中的某些信息可以作为时钟源的标识信息。并且,以上列举的标识信息中的某些信息可以作为时钟源的标识信息。It should be noted that in this application, the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source. In addition, some of the identification information listed above can be used as the identification information of the clock source.
第四方面,提供一种时钟源管理的方法,所述方法包括:时钟源管理设备从第一设备接收第二信息,所述第二信息包括第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期;根据所述第二信息,管理所述第二时钟源。In a fourth aspect, a method for clock source management is provided. The method includes: a clock source management device receives second information from a first device, where the second information includes identification information and a second identification of the second clock source, and The second identifier is used to indicate that the second clock source has expired; according to the second information, the second clock source is managed.
其中,所述第一设备中存储有时钟源列表,所述时钟源列表记录有多个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源,所述时钟源列 表中记录的多个时钟源中的每个时钟源对应一个定时器,所述第二信息是在所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文时发送的。Wherein, a clock source list is stored in the first device, and the clock source list records the identification information of each of the multiple clock sources, wherein the identification information of the clock source is used to indicate the clock source Source, each of the multiple clock sources recorded in the clock source list corresponds to a timer, and the second information is that the timer corresponding to the second clock source is not received before the timer expires. The time synchronization message of the second clock source is sent.
从而,能够使时钟源管理设备及时确定已发现的时钟源是否过期,从而能够进一步提高通信的可靠性的准确性。As a result, the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识、时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, and clock accuracy.
可选地,所述第一设备包括终端设备或用户面功能UPF设备。Optionally, the first device includes a terminal device or a user plane function UPF device.
其中,所述第一设备包括能够接收时间同步报文,并能够对时间同步报文进行探测的设备。Wherein, the first device includes a device capable of receiving time synchronization messages and capable of detecting time synchronization messages.
例如,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。For example, the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
所述时钟源管理设备包括但不限于所述时钟源管理设备包括但不限于会话管理功能实体、策略控制功能实体、统一数据管理实体或网络能力开放功能实体等等。The clock source management device includes, but is not limited to, the clock source management device includes, but is not limited to, a session management function entity, a policy control function entity, a unified data management entity, or a network capability opening function entity, and so on.
时钟管理设备从第一设备接收第一信息,所述第一信息包括第一时钟源的属性信息,其中,所述第一信息是在所述第一时钟源的标识信息不属于所述第一设备中存储的时钟源列表时发送的,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,所述时钟源的标识信息用于指示所述时钟源;根据所述第一信息,管理所述第一时钟源。The clock management device receives first information from the first device, where the first information includes attribute information of the first clock source, where the first information is when the identification information of the first clock source does not belong to the first Is sent when the clock source list is stored in the device, and the clock source list records the identification information of each clock source in at least one clock source, and the identification information of the clock source is used to indicate the clock source; The first information manages the first clock source.
例如,所述时钟源管理设备包括但不限于会话管理功能实体或网络能力开放功能实体等。For example, the clock source management device includes but is not limited to a session management function entity or a network capability opening function entity.
可选地,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。Optionally, the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
可选地,所述时钟源列表还包括所记录的时钟源的属性信息。Optionally, the clock source list further includes recorded attribute information of the clock source.
并且,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。In addition, the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the clock of the first clock source The domain number, the clock identifier of the first clock source, or the clock accuracy of the first clock source, the first port is a port used to transmit the first time synchronization message, and the first PDU session is used to transmit all data. The PDU session of the first time synchronization message.
作为示例而非限定,当所述第一设备包括终端设备时,所述第一设备的设备标识可以包括但不限于所述终端设备的手机号、所述终端设备的设备标识、所述终端设备的网际协议地址等。As an example and not a limitation, when the first device includes a terminal device, the device identifier of the first device may include, but is not limited to, the mobile phone number of the terminal device, the device identifier of the terminal device, and the terminal device Internet Protocol address, etc.
需要说明的是,在本申请中,时钟源的属性信息和时钟源的标识信息可能具有交集,即,以上列举的属性信息中的某些信息可以作为时钟源的标识信息。并且,以上列举的标识信息中的某些信息可以作为时钟源的标识信息。It should be noted that in this application, the attribute information of the clock source and the identification information of the clock source may have an intersection, that is, some of the above-listed attribute information can be used as the identification information of the clock source. In addition, some of the identification information listed above can be used as the identification information of the clock source.
第五方面,提供一种时钟源管理的装置,其中,该装置中的各单元分别用于执行上述第一方面或第三方面及其任意一种实现方式中的通信方法的各步骤。In a fifth aspect, a device for clock source management is provided, wherein each unit in the device is used to execute each step of the communication method in the first aspect or the third aspect and any one of its implementation manners.
在一种设计中,该装置为通信芯片,通信芯片可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。In one design, the device is a communication chip, and the communication chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
在另一种设计中,所述装置为通信设备,通信设备可以包括用于发送信息或数据的发射机,以及用于接收信息或数据的接收机。In another design, the apparatus is a communication device, and the communication device may include a transmitter for sending information or data, and a receiver for receiving information or data.
第六方面,提供一种时钟源管理的装置,其中,该装置中的各单元分别用于执行上述 第二方面或第四方面及其任意一种实现方式中的通信方法的各步骤。In a sixth aspect, a device for clock source management is provided, wherein each unit in the device is respectively used to execute each step of the communication method in the second aspect or the fourth aspect and any one of its implementation manners.
在一种设计中,该装置为通信芯片,通信芯片可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。In one design, the device is a communication chip, and the communication chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
在另一种设计中,所述装置为通信设备,通信设备可以包括用于发送信息或数据的发射机,以及用于接收信息或数据的接收机。In another design, the apparatus is a communication device, and the communication device may include a transmitter for sending information or data, and a receiver for receiving information or data.
第七方面,提供了一种通信设备,包括,处理器,存储器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得该通信设备执行第一方面至第四方面中的任一方面及其各种实现方式中的通信方法。In a seventh aspect, a communication device is provided, including a processor, a memory, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the communication device executes the first aspect to the first aspect. Any one of the four aspects and the communication method in various implementations thereof.
可选地,所述处理器为一个或多个,所述存储器为一个或多个。Optionally, there are one or more processors and one or more memories.
可选地,所述存储器可以与所述处理器集成在一起,或者所述存储器与处理器分离设置。Optionally, the memory may be integrated with the processor, or the memory and the processor may be provided separately.
可选地,该终端设备还包括,发射机(发射器)和接收机(接收器)。Optionally, the terminal device further includes a transmitter (transmitter) and a receiver (receiver).
第八方面,提供了一种通信***,包括上述第七方面提供的通信设备。In an eighth aspect, a communication system is provided, including the communication device provided in the seventh aspect.
在一个可能的设计中,该通信***还可以包括本申请实施例提供的方案中与通信设备进行交互的其他设备。In a possible design, the communication system may also include other devices that interact with the communication device in the solution provided in the embodiments of the present application.
第九方面,提供了一种通信***,包括上述网络设备和终端设备。In a ninth aspect, a communication system is provided, including the aforementioned network device and terminal device.
其中,终端设备用于指示上述第一方面或第三方面中的各实现方式的方法,网络设备用于执行上述第二方面或第四方面的各实现方式的方法。Wherein, the terminal device is used to indicate the method of each implementation manner in the foregoing first aspect or the third aspect, and the network device is used to execute the method of each implementation manner of the foregoing second aspect or the fourth aspect.
在一个可能的设计中,该通信***还可以包括本申请实施例提供的方案中与网络设备或终端设备进行交互的其他设备。In a possible design, the communication system may also include other devices that interact with network devices or terminal devices in the solution provided in the embodiments of the present application.
第十方面,提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序(也可以称为代码,或指令),当所述计算机程序被运行时,使得计算机执行上述第一方面至第四方面中的任意方面及其可能实现方式中的方法。In a tenth aspect, a computer program product is provided. The computer program product includes: a computer program (also called code, or instruction), which when the computer program is executed, causes the computer to execute the first aspect to the first aspect. Any of the four aspects and the methods in their possible implementations.
第十一方面,提供了一种计算机可读介质,所述计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面至第四方面中的任意方面及其可能实现方式中的方法。In an eleventh aspect, a computer-readable medium is provided, and the computer-readable medium stores a computer program (also called code, or instruction) when it runs on a computer, so that the computer executes the above-mentioned first aspect to Any aspect of the fourth aspect and the method in its possible implementation.
第十二方面,提供了一种芯片***,包括存储器和处理器,该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得安装有该芯片***的通信设备执行上述第一方面至第四方面中的任意方面及其可能实现方式中的方法。In a twelfth aspect, a chip system is provided, including a memory and a processor, the memory is used to store a computer program, the processor is used to call and run the computer program from the memory, so that the communication device installed with the chip system executes Any of the above-mentioned first to fourth aspects and the method in its possible implementation manner.
其中,该芯片***可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。Wherein, the chip system may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.
附图说明Description of the drawings
图1是本申请的通信***的一例的示意图。Fig. 1 is a schematic diagram of an example of the communication system of the present application.
图2是本申请的通信***的另一例的示意图。Fig. 2 is a schematic diagram of another example of the communication system of the present application.
图3是本申请的时钟源管理过程的一例的示意***互图。Fig. 3 is a schematic interaction diagram of an example of the clock source management process of the present application.
图4是本申请的时钟源管理过程的另一例的示意***互图。Fig. 4 is a schematic interaction diagram of another example of the clock source management process of the present application.
图5是本申请的处理时间同步报文的装置的一例的示意图。Fig. 5 is a schematic diagram of an example of an apparatus for processing time synchronization messages according to the present application.
图6是本申请的处理时间同步报文的装置的一例的示意图。Fig. 6 is a schematic diagram of an example of an apparatus for processing time synchronization messages according to the present application.
图7是本申请的终端设备的一例的示意图。Fig. 7 is a schematic diagram of an example of a terminal device of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信***,例如:长期演进(long term evolution,LTE)***、LTE频分双工(frequency division duplex,FDD)***、LTE时分双工(time division duplex,TDD)、通用移动通信***(universal mobile telecommunication system,UMTS)、未来的第五代(5th generation,5G)***或新无线(new radio,NR)等。The technical solutions of the embodiments of this application can be applied to various communication systems, such as: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (time division duplex) , TDD), universal mobile telecommunication system (UMTS), the future 5th generation (5G) system or new radio (NR), etc.
下面结合图1对本申请的通信***的结构进行说明。The structure of the communication system of the present application will be described below with reference to FIG. 1.
如图1所示,该通信***包括但不限于以下网元:As shown in Figure 1, the communication system includes but is not limited to the following network elements:
1、终端设备1. Terminal equipment
本申请实施例中的终端设备也可以称为:用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The terminal equipment in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), access terminal, 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, etc.
终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device may be a device that provides users with voice/data connectivity, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on. At present, some examples of terminals are: mobile phones (mobile phones), tablets, notebook computers, palmtop computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving (self-driving), wireless terminals in remote medical surgery, and smart grid (smart grid) Wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocols , SIP) telephone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, computing device or other processing equipment connected to wireless modem, vehicle Devices, wearable devices, terminal devices in the future 5G network or terminal devices in the future evolved public land mobile network (PLMN), etc., which are not limited in the embodiment of the present application.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. Wearable devices are not only a hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be achieved without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which need to cooperate with other devices such as smart phones. Use, such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
此外,在本申请实施例中,终端设备还可以是物联网(internet of things,IoT)***中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过 通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in the embodiments of this application, the terminal device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the development of information technology in the future, and its main technical feature is to pass items through communication technology. Connect with the network to realize the intelligent network of human-machine interconnection and interconnection of things.
在本申请实施例中,IOT技术可以通过例如窄带(narrow band)NB技术,做到海量连接,深度覆盖,终端省电。例如,NB可以包括一个资源块(resource bloc,RB),即,NB的带宽只有180KB。要做到海量接入,必须要求终端在接入上是离散的,根据本申请实施例的通信方法,能够有效解决IOT技术海量终端在通过NB接入网络时的拥塞问题。In the embodiments of the present application, the IOT technology can achieve massive connections, deep coverage, and power saving of the terminal through, for example, narrowband (narrowband) NB technology. For example, the NB may include one resource block (resource bloc, RB), that is, the bandwidth of the NB is only 180 KB. To achieve mass access, the terminals must be discrete in access. The communication method according to the embodiment of the present application can effectively solve the congestion problem of mass terminals of the IOT technology when accessing the network through the NB.
另外,在本申请实施例中,终端设备还可与其他通信***的终端设备进行通信,例如,设备间通信等。例如,该终端设备还可以与其他通信***的终端设备进行时间同步报文的传输(例如,发送和/或接受)。In addition, in the embodiments of the present application, the terminal device may also communicate with terminal devices of other communication systems, for example, communication between devices. For example, the terminal device may also transmit (for example, send and/or receive) time synchronization messages with terminal devices of other communication systems.
2、接入设备2. Access equipment
另外,本申请实施例中的接入设备可以是用于与终端设备通信的设备,该接入设备也可以称为接入网设备或无线接入网设备,例如,接入设备可以是LTE***中的演进型基站(evolved NodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该接入设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的接入设备或者未来演进的PLMN网络中的接入设备等,可以是WLAN中的接入点(access point,AP),可以是新型无线***(new radio,NR)***中的gNB本申请实施例并不限定。In addition, the access device in the embodiment of the present application may be a device used to communicate with a terminal device. The access device may also be called an access network device or a wireless access network device. For example, the access device may be an LTE system. The evolved NodeB (evolved NodeB, eNB or eNodeB) in the cloud radio access network (cloud radio access network, CRAN) scenario can also be a wireless controller, or the access device can be a relay station, an access point, In-vehicle devices, wearable devices, and access devices in future 5G networks or access devices in future evolved PLMN networks, etc., can be access points (APs) in WLANs, and can be new wireless systems (new The gNB in the radio, NR) system is not limited in this embodiment of the application.
另外,在本申请实施例中,接入设备是RAN中的设备,或者说,是将终端设备接入到无线网络的RAN节点。例如,作为示例而非限定,作为接入设备,可以列举:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备、或者控制面CU节点(CU-CP节点)和用户面CU节点(CU-UP节点)以及DU节点的RAN设备。In addition, in the embodiment of the present application, the access device is a device in the RAN, or in other words, a RAN node that connects a terminal device to a wireless network. For example, as an example and not a limitation, as an access device, it can be listed: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved NodeB, or home Node B, HNB) , Baseband unit (BBU), or wireless fidelity (wireless fidelity, Wifi) access point (AP), etc. In a network structure, a network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node, or a control plane CU node (CU). -CP node), user plane CU node (CU-UP node) and RAN equipment of DU node.
接入设备为小区提供服务,终端设备通过该小区使用的传输资源(例如,频域资源,或者说,频谱资源)与接入设备进行通信,该小区可以是接入设备(例如基站)对应的小区,小区可以属于宏基站,也可以属于小小区(small cell)对应的基站,这里的小小区可以包括:城市小区(metro cell)、微小区(micro cell)、微微小区(pico cell)、毫微微小区(femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。The access device provides services for the cell, and the terminal device communicates with the access device through the transmission resources (for example, frequency domain resources, or spectrum resources) used by the cell, and the cell may be corresponding to the access device (for example, a base station) A cell. A cell can belong to a macro base station or a base station corresponding to a small cell. The small cell here can include: metro cell, micro cell, pico cell, and micro cell. Femto cells, etc. These small cells have the characteristics of small coverage and low transmit power, and are suitable for providing high-rate data transmission services.
此外,LTE***或5G***中的载波上可以同时有多个小区同频工作,在某些特殊场景下,也可以认为上述载波与小区的概念等同。例如在载波聚合(carrier aggregation,CA)场景下,当为UE配置辅载波时,会同时携带辅载波的载波索引和工作在该辅载波的辅小区的小区标识(cell indentification,Cell ID),在这种情况下,可以认为载波与小区的概念等同,比如终端设备接入一个载波和接入一个小区是等同的。In addition, the carrier in the LTE system or the 5G system can have multiple cells working at the same frequency at the same time. In some special scenarios, the concept of the above-mentioned carrier and the cell can also be regarded as equivalent. For example, in a carrier aggregation (CA) scenario, when a secondary carrier is configured for a UE, the carrier index of the secondary carrier and the cell identification (Cell ID) of the secondary cell working on the secondary carrier will be carried at the same time. In this case, it can be considered that the concept of carrier and cell is equivalent, for example, a terminal device accessing a carrier is equivalent to accessing a cell.
本申请的通信***还可以适用于车联网(vehicle to everything,V2X)技术,即,本申请的终端设备还可以是汽车,例如,智能汽车或自动驾驶汽车。The communication system of the present application may also be applicable to vehicle to everything (V2X) technology, that is, the terminal device of the present application may also be a car, for example, a smart car or a self-driving car.
V2X中的“X”代表不同的通信目标,V2X可以包括但不限于:汽车对汽车(vehicle to vehicl,V2V),汽车对路标设(vehicle to infrastructure,V2I),汽车对网络(vehicle to network,V2N),和汽车对行人(vehicle to pedestrian,V2P)。The "X" in V2X represents different communication targets. V2X can include but is not limited to: vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to network, V2N), and vehicle to pedestrian (V2P).
在V2X中,接入设备可以为UE配置“区域(zone)”。其中,该区域也可以称为地理区域。当区域配置了以后,世界将被分成多个区域,这些区域由参考点、长、宽来进行定义。UE在进行区域标识(identifier,ID)确定的时候,会使用区域的长、宽、长度上面的区域数量、宽度上面的区域数量以及参考点进行余的操作。上述信息可以由接入设备进行配置。In V2X, the access device can configure a "zone" for the UE. Among them, this area can also be called a geographic area. When the regions are configured, the world will be divided into multiple regions, which are defined by reference points, length, and width. When determining an area identifier (ID), the UE uses the length, width, number of areas above the length, number of areas above the width, and reference points for the remaining operations. The above information can be configured by the access device.
3、接入管理功能实体3. Access management functional entity
接入管理功能实体主要用于移动性管理和接入管理等,可以用于实现LTE***中移动性管理实体(mobility management entity,MME)功能中除会话管理之外的其它功能,例如,合法监听以及接入授权/鉴权等功能。The access management function entity is mainly used for mobility management and access management, etc., and can be used to implement other functions besides session management in the mobility management entity (MME) function in the LTE system, such as lawful interception and Access authorization/authentication and other functions.
在5G通信***中,该接入管理网元可以是接入管理功能(access and mobility management function,AMF)实体。In a 5G communication system, the access management network element may be an access and mobility management function (AMF) entity.
在未来通信***中,接入管理功能实体仍可以是AMF实体,或者,还可以有其它的名称,本申请不做限定。In the future communication system, the access management function entity may still be an AMF entity, or may also have other names, which is not limited in this application.
4、会话管理功能实体4. Session management functional entity
会话管理功能(session management function,SMF)实体主要用于会话管理、终端设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知等。The session management function (SMF) entity is mainly used for session management, terminal device Internet protocol (IP) address allocation and management, selection of manageable user plane functions, policy control, and termination of charging function interfaces Point and downlink data notification, etc.
在未来通信***中,会话管理网元仍可以是SMF实体,或者,还可以有其它的名称,本申请不做限定。In the future communication system, the session management network element may still be an SMF entity, or may also have other names, which are not limited by this application.
5、应用功能实体5. Application functional entity
应用功能(application function,AF)实体用于进行应用影响的数据路由,接入网络能力开放功能实体,与策略框架交互进行策略控制等。The application function (AF) entity is used for data routing affected by the application, accessing the network capability opening function entity, interacting with the policy framework for policy control, and so on.
在未来通信***中,应用功能实体仍可以是AF实体,或者,还可以有其它的名称,本申请不做限定。In the future communication system, the application function entity may still be an AF entity, or may also have other names, which is not limited by this application.
6、网络能力开放功能实体6. Network capability opening function entity
网络能力开放功能实体(Network Exposure Function,NEF)实体用于将***的各种能力安全地向外界暴露出去,供第三方应用使用。The Network Exposure Function (NEF) entity is used to safely expose various capabilities of the system to the outside world for use by third-party applications.
例如,在本申请中,NEF可以对通信***(例如,5G***)的时间同步能力进行开放,用于支持诸如专业音视频、工业控制等应用服务。For example, in this application, NEF can open the time synchronization capability of a communication system (for example, a 5G system) to support application services such as professional audio and video, industrial control, and the like.
在未来通信***中,网络能力开放功能实体仍可以是NEF实体,或者,还可以有其它的名称,本申请不做限定。In the future communication system, the network capability opening function entity may still be an NEF entity, or may also have other names, which is not limited by this application.
7、用户面功能实体7. User plane functional entity
用户面功能(user plane function,UPF)实体用于分组路由和转发以及用户面数据的服务质量(quality of service,QoS)处理等。The user plane function (UPF) entity is used for packet routing and forwarding, and quality of service (QoS) processing of user plane data, etc.
在未来通信***中,用户面功能实体仍可以是UPF实体,或者,还可以有其它的名称,本申请不做限定。In the future communication system, the user plane function entity may still be a UPF entity, or may also have other names, which is not limited by this application.
8、数据网络8. Data network
数据网络(data network,DN)用于提供传输数据的网络。The data network (DN) is used to provide a network for data transmission.
9、策略控制功能实体9. Policy control functional entity
策略控制功能(Policy Control Function,PCF)实体支持统一的策略框架去管理网络行为,提供策略规则给网络实体去实施执行,访问统一数据仓库(UDR)的订阅信息。Policy Control Function (PCF) entities support a unified policy framework to manage network behaviors, provide policy rules for network entities to implement and execute, and access subscription information of the unified data warehouse (UDR).
需要说明的是,上述“实体”也可以称为网元、设备、装置或模块等,本申请并未特别限定。并且,在本申请中,为了便于理解和说明,在对部分描述中省略“实体”这一描述,例如,将SMF实体简称SMF,此情况下,该“SMF”应理解为SMF网元或SMF实体,以下,省略对相同或相似情况的说明。It should be noted that the aforementioned “entity” may also be referred to as a network element, equipment, device, or module, etc., which is not particularly limited in this application. In addition, in this application, in order to facilitate understanding and explanation, the description of "entity" is omitted in part of the description. For example, SMF entity is referred to as SMF. In this case, the "SMF" should be understood as SMF network element or SMF. Entity, hereinafter, the description of the same or similar situation is omitted.
可以理解的是,上述实体或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。It can be understood that the foregoing entities or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
应理解,以上列举的通信***包括的网元或实体仅为示例性说明,本申请并未特别限定。It should be understood that the network elements or entities included in the communication system listed above are only exemplary descriptions, and this application is not particularly limited.
图2示出了本申请的另一例的示意图,如图2所示,本申请的通信***可以支持时延敏感网络(Time Sensitive Network,TSN)。具体地说,TSN***通过通信***(具体地说是终端设备驻留的通信***),例如5G***给TSN节点发送授时信息,以实现在相同时间域的TSN节点达到时钟同步的目的,通俗来讲即每个TSN节点的时钟时间一致。5G***通过在终端设备部署功能模块:设备端TSN转换器(device side TSN translator,DS-TT),在用户面功能(user plane function,UPF)部署功能模块:网络端TSN转换器(network side TSN translator,NW-TT),以适配外部的TSN***。Fig. 2 shows a schematic diagram of another example of the present application. As shown in Fig. 2, the communication system of the present application can support a Time Sensitive Network (TSN). Specifically, the TSN system uses a communication system (specifically, a communication system where terminal equipment resides), such as a 5G system, to send timing information to TSN nodes to achieve the purpose of clock synchronization for TSN nodes in the same time domain. In other words, the clock time of each TSN node is the same. The 5G system deploys functional modules on the terminal equipment: device side TSN translator (DS-TT), and deploys functional modules on the user plane function (user plane function, UPF): network side TSN converter (network side TSN) translator, NW-TT) to adapt to the external TSN system.
TSN***通过TSN节点发送授时信息,以实现在相同时间域的TSN节点达到时钟同步的目的,通俗来讲即每个TSN节点的时钟时间一致。无线通信***通过在终端设备部署功能模块:DS-TT,在UPF部署功能模块:NW-TT,以适配外部的TSN***。如图2所示。5G***作为TSN网桥(TSN Bridge)时,可以称为5GS虚拟TSN网桥(5GS Virtual TSN Bridge)。The TSN system sends timing information through the TSN node to achieve the purpose of clock synchronization for the TSN nodes in the same time domain. Generally speaking, the clock time of each TSN node is the same. The wireless communication system adapts the external TSN system by deploying a functional module: DS-TT in the terminal equipment and a functional module: NW-TT in the UPF. as shown in picture 2. When a 5G system is used as a TSN Bridge (TSN Bridge), it can be called a 5GS Virtual TSN Bridge (5GS Virtual TSN Bridge).
本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块;或者是可用于终端设备或网络设备的部件(例如芯片或者电路)。The embodiment of the application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the application, as long as the program that records the code of the method provided in the embodiment of the application can be executed according to the method provided in the embodiment of the application. Communication is sufficient. For example, the execution subject of the method provided in the embodiments of the present application may be a terminal device or a network device, or a functional module in a terminal device or a network device that can call and execute the program; or it can be used in a terminal device Or a component of a network device (such as a chip or circuit).
另外,本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。In addition, various aspects or features of the present application can be implemented as methods, devices, or products using standard programming and/or engineering techniques. The term "article of manufacture" used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (for example, hard disks, floppy disks or tapes, etc.), optical disks (for example, compact discs (CD), digital versatile discs (DVD) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
在本申请的通信***中,可以提供多种时间同步能力(或者说,使用多种时钟源,例 如GM),以提供多种精度的时间同步。In the communication system of the present application, multiple time synchronization capabilities (or use multiple clock sources, such as GM) can be provided to provide multiple precision time synchronization.
例如,时间同步能力可以包括但不限于以下能力:For example, time synchronization capabilities may include but are not limited to the following capabilities:
1.基于***(例如,5G***)内部的时钟源(例如,5G GM)进行同步的能力;1. The ability to synchronize based on the internal clock source (for example, 5G GM) of the system (for example, 5G system);
2.基于TSN的时钟源(例如,TSN GM)进行同步的能力;2. The ability to synchronize based on a TSN clock source (for example, TSN GM);
3.基于未来可能的其它类型的时钟源进行同步的能力。3. The ability to synchronize based on other types of clock sources that may be possible in the future.
另外,相同类型的时间同步能力下,可以存在多个不同的时钟源。例如TSN的时间同步类型下,可以是基于图2中TSN节点1所在时钟域的TSN时钟源1(TSN GM1)进行同步,也可以是基于图2中TSN节点2所在时钟域的TSN时钟源2(TSN GM2)进行同步。不同的时钟源可能会有不同的同步精度。例如,5G GM的精度可以为0.1毫秒(ms),TSN GM1的精度可以为0.001ms,TSN GM2的精度可以为0.001ms。In addition, under the same type of time synchronization capability, there can be multiple different clock sources. For example, in the time synchronization type of TSN, synchronization can be based on TSN clock source 1 (TSN GM1) in the clock domain where TSN node 1 in Figure 2 is located, or it can be based on TSN clock source 2 in the clock domain where TSN node 2 is located in Figure 2 (TSN GM2) to synchronize. Different clock sources may have different synchronization accuracy. For example, the accuracy of 5G GM may be 0.1 millisecond (ms), the accuracy of TSN GM1 may be 0.001 ms, and the accuracy of TSN GM2 may be 0.001 ms.
例如,本申请提供的方案可以支持基于两种类型三个时钟源的时间同步能力,例如,基于5G***的时钟源(5G GM)的同步和基于TSN主时钟源(TSN GM1和TSN GM2)的同步。For example, the solution provided by this application can support time synchronization capabilities based on two types of three clock sources, for example, synchronization based on 5G system clock sources (5G GM) and TSN master clock sources (TSN GM1 and TSN GM2). Synchronize.
上述三个时钟源提供了不同的时间同步精度,均通过NEF向第三方应用暴露出去。根据不同的应用需求,不同的应用可以选择使用1个(或多个)时间同步能力。The above three clock sources provide different time synchronization accuracy, which are all exposed to third-party applications through NEF. According to different application requirements, different applications can choose to use one (or more) time synchronization capabilities.
例如视频监控应用可以选择使用基于TSN GM1的时间同步,生产控制应用可以也选择使用基于TSN GM1的时间同步,视频会议应用可以选择使用基于5G GM的时间同步。For example, video surveillance applications can choose to use time synchronization based on TSN GM1, production control applications can also choose to use time synchronization based on TSN GM1, and video conferencing applications can choose to use time synchronization based on 5G GM.
在本申请中,各设备之间(包括***内的各设备之间,或者***内的设备和***外的设备之间)可以通过时间同步报文,例如,通用精确时间协议(generic Precision Time Protocol,gPTP)报文(或者说,消息)来携带和传递时间信息。In this application, time synchronization messages can be used between devices (including devices in the system, or between devices in the system and devices outside the system), such as the Generic Precision Time Protocol. , GPTP) messages (or messages) to carry and transfer time information.
从而,***内部的设备,例如,5G***内部的UE和UPF等网元,5G***外部的UE或网络设备均可以根据所接收到gPTP报文中的时间信息进行时间同步。Therefore, devices inside the system, for example, network elements such as UEs and UPFs in the 5G system, UEs or network devices outside the 5G system, can perform time synchronization according to the time information in the received gPTP message.
作为示例而非限定能够,该时间信息可以包括但不限于该时间同步报文的发送时刻,以及时间偏移量等。As an example and not a limitation, the time information may include, but is not limited to, the sending time of the time synchronization message, the time offset, and the like.
应理解,以上列举的时间信息和时间同步报文的具体内容仅为示例性说明,本申请并未特别限定,本申请的时间同步报文可以与现有技术中用于时间同步过程的报文相同或相似,并且,本申请的时间信息可以与现有技术中用于时间同步的信息,或者说,现有技术的时间同步报文携带的信息相同或相似。It should be understood that the specific content of the time information and time synchronization messages listed above are only exemplary descriptions, and this application is not particularly limited. The time synchronization messages in this application may be the same as those used in the prior art for the time synchronization process. It is the same or similar, and the time information in this application may be the same as or similar to the information used for time synchronization in the prior art, or in other words, the information carried in the time synchronization message in the prior art.
下面,结合图3和图4对本申请的时钟源管理的方法进行详细说明。Hereinafter, the method of clock source management of the present application will be described in detail with reference to FIG. 3 and FIG. 4.
图3示出了设备#A(即,第一设备的一例)发现新时钟源时与SMF(即,时钟源管理设备的一例)之间的交互过程。其中,该设备#A可以是通信***中能够接收到时间同步报文的设备,例如,该设备#A可以包括UE、UPF、DS-TT或NW-TT等设备。FIG. 3 shows the interaction process between the device #A (ie, an example of the first device) and the SMF (ie, an example of the clock source management device) when a new clock source is discovered. The device #A may be a device that can receive a time synchronization message in the communication system. For example, the device #A may include a UE, UPF, DS-TT, or NW-TT.
应理解,上述SMF仅为时钟源管理设备的一例,其他能够与设备#A通信,并且能够管理时钟源的设备均落入本申请的保护范围内。It should be understood that the aforementioned SMF is only an example of a clock source management device, and other devices that can communicate with device #A and can manage the clock source fall within the protection scope of the present application.
如图3所示,在S110,设备#A获取时钟源列表#A(即,时钟源列表的一例)。As shown in FIG. 3, in S110, the device #A obtains the clock source list #A (ie, an example of the clock source list).
该时钟源列表#A中记录有至少一个时钟源的标识信息。The clock source list #A records identification information of at least one clock source.
在本申请中,时钟源的标识信息用于指示(或者说,区分)时钟源。In this application, the identification information of the clock source is used to indicate (or distinguish) the clock source.
作为示例而非限定,该标识信息可以包括但不限于以下一种或多种信息:As an example and not a limitation, the identification information may include, but is not limited to, one or more of the following information:
A.时钟域编号(clock domain Number)A. Clock domain Number (clock domain Number)
具体地说,时钟域编号用于指示(或者说,区分)时钟域,一个时钟的时钟域(clock domain)是指该时钟的有效区域。Specifically, the clock domain number is used to indicate (or distinguish) clock domains, and the clock domain of a clock refers to the effective area of the clock.
其中,时钟域编号也可以称为时钟域标识(clock domain ID)。Among them, the clock domain number may also be referred to as a clock domain ID (clock domain ID).
B.时钟标识(clock ID)B. Clock ID (clock ID)
具体地说,时钟标识用于指示(或者说,区分)时钟(或者说,时钟源)。Specifically, the clock identifier is used to indicate (or distinguish) the clock (or clock source).
C.时钟精度(clock Accuracy)C. Clock Accuracy
应理解,以上列举的作为时钟源的标识信息的参数或信息仅为示例性说明,本申请并未限定于此,其他能够指示或区分时钟源的信息均落入本申请的保护范围内。It should be understood that the parameters or information listed above as the identification information of the clock source are only exemplary descriptions, and the present application is not limited thereto, and other information capable of indicating or distinguishing the clock source falls within the protection scope of the present application.
以下表1示出了本申请的时钟源列表#A的一例。The following Table 1 shows an example of the clock source list #A of the present application.
表1Table 1
时钟源Clock source 标识信息Identification information
时钟源#1Clock source #1 标识信息#1Identification information #1
时钟源#2Clock source #2 标识信息#2Identification information #2
……... ……...
时钟源#NClock source #N 标识信息#NIdentification information #N
作为示例而非限定,在本申请中,该标识信息可以包括现有技术中的时间报文内携带的能够实现该标识信息的功能(或者说,作用)的信息,从而,能够避免对现有的时间同步报文进行修改,从而提高本申请的兼容性。As an example and not a limitation, in the present application, the identification information may include the information that can realize the function (or effect) of the identification information carried in the time message in the prior art, so as to avoid interference with the existing The time synchronization message is modified to improve the compatibility of this application.
应理解,该标识信息也可以是现有的时间报文内未携带的信息,本申请并未特别限定,即,此情况下,本申请的时间同步报文因需要携带标识信息而不同于现有技术的时间同步报文,并且,该标识信息在时间同步报文中的位置并未特别限定,只要能够确保时间同步报文的接收设备能够从时间同步报文中获得该标识信息即可。It should be understood that the identification information may also be information that is not carried in the existing time message, and this application is not particularly limited. That is, in this case, the time synchronization message of this application needs to carry identification information and is different from the current one. There is a technical time synchronization message, and the position of the identification information in the time synchronization message is not particularly limited, as long as it can ensure that the receiving device of the time synchronization message can obtain the identification information from the time synchronization message.
在一种可能的实现方式中,该时钟源列表#A中还记录有至少一个时钟源的属性信息(或者说参数信息)。In a possible implementation manner, the clock source list #A also records attribute information (or parameter information) of at least one clock source.
在本申请中,一个时钟源的属性信息用于指示该时钟源的属性或者说特征。In this application, the attribute information of a clock source is used to indicate the attribute or characteristic of the clock source.
其中,某个时钟源的属性或特征可以用于判定该时钟源是否适用于某一业务的需要。Among them, the attributes or characteristics of a certain clock source can be used to determine whether the clock source is suitable for a certain service.
作为示例而非限定,该属性信息可以包括但不限于以下一种或多种信息:As an example and not a limitation, the attribute information may include, but is not limited to, one or more of the following information:
1.时钟域编号(clock domain Number)1. Clock domain Number (clock domain Number)
具体地说,时钟域编号用于指示(或者说,区分)时钟域,一个时钟的时钟域(clock domain)是指该时钟的有效区域。Specifically, the clock domain number is used to indicate (or distinguish) clock domains, and the clock domain of a clock refers to the effective area of the clock.
2.时钟标识(clock ID)2. Clock ID (clock ID)
具体地说,时钟标识用于指示(或者说,区分)时钟(或者说,时钟源)。Specifically, the clock identifier is used to indicate (or distinguish) the clock (or clock source).
3.时钟精度(clock Accuracy)3. Clock Accuracy
4.时钟源对应的时间同步报文的接收设备的设备标识。4. The device identification of the receiving device of the time synchronization message corresponding to the clock source.
5.时钟源对应的时间同步报文的接收端口的端口号。5. The port number of the receiving port of the time synchronization message corresponding to the clock source.
6.时钟源对应的时间同步报文所承载于的协议数据单元会话(Protocol Data Unit Session,PDU Session)的标识(PDU Session ID)。6. The identifier (PDU Session ID) of the protocol data unit session (Protocol Data Unit Session, PDU Session) carried by the time synchronization message corresponding to the clock source.
应理解,以上列举的作为时钟源的属性信息的参数或信息仅为示例性说明,本申请并未限定于此,其他能够判定时钟源是否适用于某一业务的需要的信息均落入本申请的保护 范围内。It should be understood that the parameters or information listed above as the attribute information of the clock source are only exemplary descriptions, and this application is not limited thereto. Other information that can determine whether the clock source is suitable for the needs of a certain service falls into this application. Within the scope of protection.
以下表2示出了本申请的时钟源列表#A的另一例。The following Table 2 shows another example of the clock source list #A of the present application.
表2Table 2
时钟源Clock source 标识信息Identification information 属性信息Attribute information
时钟源#1Clock source #1 标识信息#1Identification information #1 属性信息#1Property information #1
时钟源#2Clock source #2 标识信息#2Identification information #2 属性信息#2Property information #2
……... ……... ……...
时钟源#NClock source #N 标识信息#NIdentification information #N 属性信息#NProperty information#N
在一种可能的实现方式中,时钟源列表#A中记录的部分或全部时钟源的标识信息可以是时钟管理设备下发给设备#A的。In a possible implementation manner, part or all of the identification information of the clock sources recorded in the clock source list #A may be issued to the device #A by the clock management device.
在另一种可能的实现方式中,时钟源列表#A中记录的部分或全部时钟源的标识信息可以是设备#A在判定一个时钟源为新发现的时钟源时记录在该时钟源列表#A中的。In another possible implementation, the identification information of some or all of the clock sources recorded in the clock source list #A may be recorded in the clock source list # when the device #A determines that a clock source is a newly discovered clock source. In A.
需要说明的是,在本申请中,该时钟源列表中记录的时钟源可以是内部时钟源也可以是外部时钟源,本申请并未特别限定。It should be noted that in this application, the clock source recorded in the clock source list may be an internal clock source or an external clock source, which is not specifically limited in this application.
其中,内部时钟源可以理解为设备#A当前处于的通信***的时钟源,例如,当设备#A为终端设备是该内部***为该终端设备当前驻留的通信***,当设备#A为UPF设备时该内部***为该UPF设备所属于的通信***。例如,该内部时钟源可以包括但不限于第五代5G或第六代6G***的时钟源。Among them, the internal clock source can be understood as the clock source of the communication system where the device #A is currently located. For example, when the device #A is a terminal device, the internal system is the communication system where the terminal device currently resides, and when the device #A is a UPF The internal system of the device is the communication system to which the UPF device belongs. For example, the internal clock source may include, but is not limited to, the clock source of the fifth-generation 5G or sixth-generation 6G system.
外部时钟源可以理解为,可以理解为设备#A当前处于的通信***以外的***的时钟源,例如,该外部时钟源可以包括但不限于时延敏感网络TSN的时钟源。The external clock source can be understood as a clock source of a system other than the communication system where the device #A is currently located. For example, the external clock source may include, but is not limited to, the clock source of the delay-sensitive network TSN.
下面,对该判定一个时钟源是否为新发现的时钟源的过程进行详细说明。In the following, the process of determining whether a clock source is a newly discovered clock source will be described in detail.
在S120,设备#A接收时间同步报文#A(例如,gPTP)。In S120, the device #A receives the time synchronization message #A (for example, gPTP).
需要说明的是,在本申请中,时间同步报文#A对应的时钟源(记做,时钟源#A)可以是内部时钟源也可以是外部时钟源,本申请并未特别限定。It should be noted that, in this application, the clock source (denoted as clock source #A) corresponding to the time synchronization message #A may be an internal clock source or an external clock source, which is not specifically limited in this application.
例如,如图3所示,该时间同步报文#A可以为外部设备发送的例如,TSN的时间同步报文。For example, as shown in FIG. 3, the time synchronization message #A may be a time synchronization message of TSN sent by an external device, for example.
并且,设备#A可以对时间同步报文#A进行解析,以获取该时间同步报文#A内携带的标识信息#A(即,时钟源#A的标识信息)。In addition, the device #A can parse the time synchronization message #A to obtain the identification information #A (that is, the identification information of the clock source #A) carried in the time synchronization message #A.
在S130,设备#A可以判定标识信息#A是否记录在时钟源列表#A中。In S130, the device #A can determine whether the identification information #A is recorded in the clock source list #A.
情况1.判定结果为标识信息#A记录在时钟源列表#A中Case 1. The determination result is that the identification information #A is recorded in the clock source list #A
此情况下,设备#A根据该判定结果,确定该标识信息#A所指示的时钟源#A是已发现的时钟源。In this case, the device #A determines that the clock source #A indicated by the identification information #A is the discovered clock source according to the determination result.
情况2.判定结果为标识信息#A未记录在时钟源列表#A中Case 2. The judgment result is that the identification information #A is not recorded in the clock source list #A
此情况下,设备#A根据该判定结果,确定该标识信息#A所指示的时钟源#A是新发现的时钟源,进而执行S1140。In this case, the device #A determines that the clock source #A indicated by the identification information #A is the newly discovered clock source according to the determination result, and then executes S1140.
具体地说,在S140,设备#A可以获取时钟源#A(或者说,时间同步报文#A)的属性信息。Specifically, in S140, the device #A can obtain the attribute information of the clock source #A (or in other words, the time synchronization message #A).
例如,设备#A可以将该时间同步报文#A(例如,时间同步报文#A携带的时间信息)中携带的时钟域编号、时钟标识或时钟精度等信息作为该时钟源#A的属性信息。For example, device #A can use the clock domain number, clock identifier, or clock accuracy information carried in the time synchronization message #A (for example, the time information carried in the time synchronization message #A) as the attributes of the clock source #A information.
再例如,设备#A可以将时间同步报文#A的接收端口的端口号、设备#A的标识信息或时间同步报文#A所承载于的会话的PDU Session ID作为该时钟源#A的属性信息。For another example, device #A can use the port number of the receiving port of the time synchronization message #A, the identification information of the device #A, or the PDU Session ID of the session carried by the time synchronization message #A as the clock source #A Property information.
并且,设备#A可以直接将该时钟源#A的属性信息发送给SMF。In addition, the device #A can directly send the attribute information of the clock source #A to the SMF.
具体地说,设备#A可以向SMF发送时钟管理消息#A(即,第一信息的一例),该时钟发现消息#A携带该时钟源#A的属性信息。Specifically, the device #A may send a clock management message #A (that is, an example of the first information) to the SMF, and the clock discovery message #A carries the attribute information of the clock source #A.
在一种实现方式中,该时钟管理消息#A还可以携带该时钟源#A的标识信息。In an implementation manner, the clock management message #A may also carry identification information of the clock source #A.
在另一种实现方式中,该时钟管理消息#A还可以携带新时钟源发现标识(即,第一标识的一例),新时钟源发现标识用于指示该时钟管理消息#A携带的时钟源为新发现的时钟源,或者说,新时钟源发现标识用于指示该时钟管理消息#A携带的属性信息所属于的时钟源为新发现的时钟源。In another implementation manner, the clock management message #A may also carry a new clock source discovery identifier (that is, an example of the first identifier), and the new clock source discovery identifier is used to indicate the clock source carried in the clock management message #A It is a newly discovered clock source, in other words, the new clock source discovery identifier is used to indicate that the clock source to which the attribute information carried in the clock management message #A belongs is the newly discovered clock source.
需要说明的是,该新时钟源发现标识与后述时钟源过期标识可以共用同一标识位(或者说,比特位),并且,该新时钟源发现标识与时钟源过期标识对应不同的比特值。It should be noted that the new clock source discovery identifier and the clock source expired identifier described later may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
例如,设该新时钟发现标识对应的比特为“1”,设时钟过期标识对应的比特为“0”。For example, suppose the bit corresponding to the new clock discovery flag is "1", and the bit corresponding to the clock expiration flag is "0".
从而,当设备发现新的时钟源时,可以将该标识位置1;当设备确定时钟源过期时,可以将该标识位置0。Therefore, when the device finds a new clock source, the identification can be set to 1; when the device determines that the clock source is expired, the identification can be set to 0.
从而,SMF可以根据该新时钟源发现标识,确定该时钟管理消息#A内携带的属性信息所属于的时钟源(即时钟源#A)为新发现的时钟源,进而保存时钟源#A的属性信息。Therefore, the SMF can determine the clock source (ie clock source #A) to which the attribute information carried in the clock management message #A belongs according to the new clock source discovery identifier as the newly discovered clock source, and then save the clock source #A Property information.
例如,在确定该时钟源#A的属性信息满足某一业务的需求时,可以进行控制,以使需要访问该业务的终端设备能够接收到该时钟源#A的时间同步报文。For example, when it is determined that the attribute information of the clock source #A meets the requirements of a certain service, control can be performed so that the terminal device that needs to access the service can receive the time synchronization message of the clock source #A.
再例如,SMF可以将该时钟源#A的属性信息发送给NEF,从而NEF可以将该时钟源#A的属性信息作为***的一种时间同步能力能够向外界暴露出去,供第三方应用使用。For another example, the SMF can send the attribute information of the clock source #A to NEF, so that the NEF can expose the attribute information of the clock source #A as a time synchronization capability of the system to the outside for use by third-party applications.
在一种实现方式中,设备#A在判定该标识信息#A所指示的时钟源#A是新发现的时钟源后,可以直接发送该时钟管理消息#A。In an implementation manner, after determining that the clock source #A indicated by the identification information #A is a newly discovered clock source, the device #A may directly send the clock management message #A.
在另一种实现方式中,设备#A在判定该标识信息#A所指示的时钟源#A是新发现的时钟源后还可以启动一个定时器(记做,定时器#A)。其中,该定时器#A的计时时长可以由通信***或通信协议规定,或者,该定时器#A的计时时长也可以由管理员设备设定,本申请并未特别限定。In another implementation manner, the device #A may start a timer (denoted as timer #A) after determining that the clock source #A indicated by the identification information #A is a newly discovered clock source. Wherein, the timing duration of the timer #A may be specified by the communication system or communication protocol, or the timing duration of the timer #A may also be set by the administrator device, which is not particularly limited in this application.
并且,设备#A可以判定在该定时器#A到时之前是否再次接受到时钟源#A的时间同步报文。In addition, the device #A can determine whether the time synchronization message of the clock source #A is received again before the timer #A expires.
如果判定结果为是,则设备#A可以发送该时钟管理消息#A。If the result of the determination is yes, the device #A can send the clock management message #A.
如果判定结果为否,则设备#A停止(或者说,禁止或不)发送该时钟管理消息#A。If the result of the determination is negative, the device #A stops (in other words, prohibits or does not) send the clock management message #A.
在另一种实现方式中,在时域上可以划分多个上报周期,假设设备#A在时刻#A接收到该时间同步报文#A,或者,设备#A在时刻#A得到该标识信息#A所指示的时钟源#A是新发现的时钟源的判定结果,则设备#A可以在时刻#A所处于的上报周期发送时钟管理消息#A;或者,设备#A可以在时刻#A所处于的上报周期之后的第T个上报周期发送时钟管理消息#A,其中,T的值大于或等于1,T的值可以由通信协同或通信协议规定,或者,T的值也可以由管理员设备,本申请并未特别限定。In another implementation manner, multiple reporting periods can be divided in the time domain, assuming that device #A receives the time synchronization message #A at time #A, or device #A obtains the identification information at time #A #A指的钟源#A is the result of the determination of the newly discovered clock source, then device #A can send a clock management message #A in the reporting period of time #A; or, device #A can be at time #A The clock management message #A is sent in the Tth reporting period after the reporting period, where the value of T is greater than or equal to 1, and the value of T can be specified by communication coordination or communication protocol, or the value of T can also be managed by Personnel equipment, this application is not particularly limited.
另外,该时钟管理消息#A可以仅携带时钟源#A的属性信息,或者,该时钟关系消息还可以携带多个(例如,在同一上报周期内发现的)时钟源的属性信息。In addition, the clock management message #A may only carry the attribute information of the clock source #A, or the clock relationship message may also carry the attribute information of multiple clock sources (for example, discovered in the same reporting period).
此外,设备#A还可以将时钟源#A的标识信息和属性信息等记录在时钟源列表#A中。In addition, the device #A may also record the identification information and attribute information of the clock source #A in the clock source list #A.
根据本申请的方案,通过在设备#A中配置记录有时钟源的标识信息的时钟源列表,并在时间同步报文内携带该时间同步报文所对应的时钟源的标识信息,从而,设备#A能够根据该时钟源列表,判定所接收到的时间同步报文对应的时钟源是否是新发现的时钟源,进而,能够在判定为是的情况下,可以将该新发现的时钟源的属性信息发送至用于例如,SMF等管理时钟源的网络设备,从而,能够提高时钟源发现的效率,降低时钟源发现的成本和时延。According to the solution of the present application, by configuring a clock source list recording the identification information of the clock source in the device #A, and carrying the identification information of the clock source corresponding to the time synchronization message in the time synchronization message, the device #A According to the list of clock sources, it can be determined whether the clock source corresponding to the received time synchronization message is a newly discovered clock source, and furthermore, if the determination is yes, the newly discovered clock source can be The attribute information is sent to a network device for managing clock sources such as SMF, so that the efficiency of clock source discovery can be improved, and the cost and delay of clock source discovery can be reduced.
在一种可能的实现方式中,在将时钟源#A的标识信息和属性信息等记录在时钟源列表#A中后,可以启动时钟源#A对应的定制器(记做,定时器#B),其中,定时器#A与定时器#B可以是同一定时器(或者说,计时时长相同),或者,定时器#A与定时器#B可以是不同定时器(或者说,计时时长不同),本申请并未特别限定。In a possible implementation manner, after the identification information and attribute information of the clock source #A are recorded in the clock source list #A, the customizer corresponding to the clock source #A can be started (denoted as timer #B ), where timer #A and timer #B can be the same timer (or the timing duration is the same), or timer #A and timer #B can be different timers (or, the timing duration is different ), this application is not particularly limited.
并且,如果定时器#B到时之前,设备#A接收到时钟源#A的时间同步报文,则设备#A重置该定时器#B。Moreover, if the device #A receives the time synchronization message of the clock source #A before the timer #B expires, the device #A resets the timer #B.
如果自定时器#B最近一次重置(或启动)至定时器#B到时之前,设备#A没有接收到时钟源#A的时间同步报文,则设备#A可以从时钟源列表#A中删除该时钟源#A的标识信息。If device #A does not receive a time synchronization message from clock source #A before timer #B is last reset (or started) until timer #B expires, device #A can get from clock source list #A Delete the identification information of the clock source #A.
并且,设备#A还可以向SMF发送时钟管理消息#B(即,第二信息的一例),该时钟管理消息#B还可以携带该时钟源#A的标识信息和/或属性信息。In addition, the device #A may also send a clock management message #B (ie, an example of the second information) to the SMF, and the clock management message #B may also carry the identification information and/or attribute information of the clock source #A.
并且,该时钟管理消息#B还可以携带时钟源过期标识(即,第二标识的一例),时钟源过期标识用于指示该时钟源#A为过期的时钟源。In addition, the clock management message #B may also carry a clock source expiration identifier (that is, an example of the second identifier), and the clock source expiration identifier is used to indicate that the clock source #A is an expired clock source.
如上所述,该时钟源过期标识与上述新时钟源发现标识可以共用同一标识位(或者说,比特位),并且,该新时钟源发现标识与时钟源过期标识对应不同的比特值。As described above, the clock source expiration identifier and the aforementioned new clock source discovery identifier may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
从而,SMF可以根据该时钟源过期标识,确定该时钟管理消息#B内携带的属性信息所属于的时钟源(即时钟源#A)过期,进而删除时钟源#A的属性信息。Therefore, the SMF can determine that the clock source (ie, clock source #A) to which the attribute information carried in the clock management message #B belongs has expired according to the clock source expiration identifier, and then delete the attribute information of the clock source #A.
例如,SMF可以通知NEF该时钟源#1过期,从而NEF不再将该时钟源#A的属性信息作为***的一种时间同步能力能够向外界暴露出去。For example, the SMF can notify NEF that the clock source #1 has expired, so that NEF no longer exposes the attribute information of the clock source #A as a time synchronization capability of the system to the outside world.
从而,能够使时钟源管理设备及时确定已发现的时钟源是否过期,从而能够进一步提高通信的可靠性的准确性。As a result, the clock source management device can determine whether the discovered clock source expires in time, thereby further improving the accuracy of communication reliability.
图4示出了设备#1(即,第一设备的一例)发现新时钟源时与SMF(即,时钟源管理设备的一例)之间的交互过程。其中,该设备#1可以是通信***中能够接收到时间同步报文的设备,例如,该设备#1可以包括UE、UPF、DS-TT或NW-TT等设备。FIG. 4 shows the interaction process between the device #1 (ie, an example of the first device) and the SMF (ie, an example of the clock source management device) when a new clock source is discovered. The device #1 may be a device that can receive a time synchronization message in the communication system. For example, the device #1 may include a UE, UPF, DS-TT, or NW-TT.
应理解,上述SMF仅为时钟源管理设备的一例,其他能够与设备#1通信,并且能够管理时钟源的设备均落入本申请的保护范围内。It should be understood that the foregoing SMF is only an example of a clock source management device, and other devices that can communicate with device #1 and can manage the clock source fall within the protection scope of this application.
如图4所示,在S210,设备#1获取时钟源列表#1(即,时钟源列表的一例)。As shown in FIG. 4, in S210, the device #1 obtains the clock source list #1 (ie, an example of the clock source list).
该时钟源列表#1中记录有至少一个时钟源的标识信息。The clock source list #1 records identification information of at least one clock source.
该标识信息的功能和作用与图3所示过程中描述的标识信息的功能和作用相似,为了避免赘述,省略器详细说明。The function and role of the identification information are similar to those described in the process shown in FIG. 3. In order to avoid redundant description, detailed description is omitted.
在一种可能的实现方式中,该时钟源列表#1中还记录有至少一个时钟源的属性信息(或者说参数信息)。In a possible implementation manner, the clock source list #1 also records attribute information (or parameter information) of at least one clock source.
该属性信息的功能和作用与图3所示过程中描述的属性信息的功能和作用相似,为了避免赘述,省略器详细说明。The function and role of the attribute information are similar to those described in the process shown in FIG. 3, and in order to avoid redundant description, detailed description is omitted.
下面,对该判定一个时钟源是否为过期的过程进行详细说明。In the following, the process of determining whether a clock source is out of date will be described in detail.
在本申请中,时钟源列表#1中记录的每个时钟源对应一个定时器,其中,定时器的计时时长可以由通信***或通信协议规定,或者,定时器的计时时长也可以由管理员设备设定,本申请并未特别限定。In this application, each clock source recorded in clock source list #1 corresponds to a timer, where the timer duration can be specified by the communication system or communication protocol, or the timer duration can also be determined by the administrator The device settings are not particularly limited in this application.
另外,在本申请中,任意两个时钟源对应的定时器的计时时长可以相同也可以不同,本申请并未特别限定。In addition, in this application, the timing duration of the timers corresponding to any two clock sources may be the same or different, and this application is not particularly limited.
以下,以时钟源列表#1中记载的一个时钟源(记做时钟源#1)过期时的处理为例,进行说明。In the following, the processing when a clock source (denoted as clock source #1) in the clock source list #1 expires is taken as an example for description.
在S220,设备#1可以启动时钟源#1对应的定时器(记做定时器#1)。In S220, device #1 can start the timer corresponding to clock source #1 (denoted as timer #1).
例如,设备#1可以基于网络设备(例如,UPF、SMF或AMF等)的指示启动定时器#1。For example, the device #1 may start the timer #1 based on the instruction of the network device (for example, UPF, SMF, AMF, etc.).
或者,设备#1可以在首次接收到时钟源#1的时间同步报文时,启动定时器#1。Alternatively, device #1 may start timer #1 when it receives the time synchronization message from clock source #1 for the first time.
并且,如果定时器#1到时之前,设备#1接收到时钟源#1的时间同步报文,则设备#1重置该定时器#1。And, if the device #1 receives the time synchronization message of the clock source #1 before the timer #1 expires, the device #1 resets the timer #1.
如果自定时器#1最近一次重置(或启动)至定时器#1到时之前,设备#1没有接收到时钟源#1的时间同步报文,则在S230,设备#1向SMF发送时钟管理消息#1(即,第二信息的一例),该时钟管理消息#1还可以携带该时钟源#1的标识信息和/或属性信息。If self-timer #1 was last reset (or started) before timer #1 expired, device #1 did not receive the time synchronization message of clock source #1, then in S230, device #1 sends clock to SMF Management message #1 (ie, an example of the second information), the clock management message #1 may also carry identification information and/or attribute information of the clock source #1.
并且,该时钟管理消息#1还可以携带时钟源过期标识(即,第二标识的一例),时钟源过期标识用于指示该时钟管理消息#1携带的时钟源为过期的时钟源,或者说,时钟源过期标识用于指示该时钟管理消息#1携带的属性信息所属于的时钟源为过期的时钟源,或者说,时钟源过期标识用于指示该时钟管理消息#1携带的标识信息所指示的时钟源为过期的时钟源。In addition, the clock management message #1 may also carry a clock source expiration identifier (that is, an example of the second identifier), and the clock source expiration identifier is used to indicate that the clock source carried in the clock management message #1 is an expired clock source, or , The clock source expiration identifier is used to indicate that the clock source to which the attribute information carried in the clock management message #1 belongs is an expired clock source, or in other words, the clock source expiration identifier is used to indicate the location of the identification information carried in the clock management message #1 The indicated clock source is an expired clock source.
如上所述,该时钟源过期标识与上述新时钟源发现标识可以共用同一标识位(或者说,比特位),并且,该新时钟源发现标识与时钟源过期标识对应不同的比特值。As described above, the clock source expiration identifier and the aforementioned new clock source discovery identifier may share the same identification bit (or bit), and the new clock source discovery identifier and the clock source expired identifier correspond to different bit values.
从而,SMF可以根据该时钟源过期标识,确定该时钟管理消息#1内携带的属性信息所属于的时钟源(即时钟源#1)过期,进而对该过期的时钟源进行处理。Therefore, the SMF can determine that the clock source (ie, clock source #1) to which the attribute information carried in the clock management message #1 belongs has expired according to the clock source expiration identifier, and then process the expired clock source.
例如,SMF可以通知NEF该时钟源#1过期,从而NEF不再将该时钟源#1的属性信息作为***的一种时间同步能力能够向外界暴露出去。For example, the SMF can notify NEF that the clock source #1 has expired, so that NEF no longer exposes the attribute information of the clock source #1 as a time synchronization capability of the system to the outside world.
根据本申请的方案,通过在设备#1中配置记录有时钟源的标识信息的时钟源列表,并且,每个时钟源可以对应一个定时器,并在时间同步报文内携带该时间同步报文所对应的时钟源的标识信息,从而,设备#1能够根据每个时钟源对应的定时器,判定时钟源是否过期,进而,能够在判定为是的情况下,可以向例如,SMF等管理时钟源的网络设备上报过期的时钟源,从而,能够使时钟源管理设备及时确定已发现的时钟源是否过期,能够进一步提高通信的可靠性的准确性。According to the solution of the present application, a clock source list with identification information of the clock source is configured in the device #1, and each clock source can correspond to a timer, and the time synchronization message is carried in the time synchronization message The identification information of the corresponding clock source, thus, device #1 can determine whether the clock source has expired according to the timer corresponding to each clock source, and furthermore, in the case where the determination is yes, it can manage the clock from, for example, SMF The network device of the source reports the expired clock source, so that the clock source management device can determine whether the discovered clock source is expired in time, which can further improve the reliability and accuracy of communication.
需要说明的是,图3和图4中描述的过程可以单独执行也可以联合执行即,上述设备#A与设备#1可以为同一设备也可以为不同设备,本申请并未特别限定。It should be noted that the processes described in FIG. 3 and FIG. 4 can be executed individually or jointly. That is, the above-mentioned device #A and device #1 can be the same device or different devices, and this application is not particularly limited.
并且,上述时钟管理消息#A与时钟管理消息#1可以为同一消息,也可以为不同消息, 本申请并未特别限定。In addition, the clock management message #A and the clock management message #1 may be the same message or different messages, which is not particularly limited in this application.
需要说明的是,当上述时钟管理消息#A与时钟管理消息#1为同一消息时,表示同一时钟关系消息即承载新时钟源发现标识也承载时钟源过期标识,此情况下,新发现的时钟源的属性信息(和/或标识信息)与新时钟源发现标识的位置关系(具体地说,是在时钟关系消息中的承载位置的关系)需要满足预设的第一关系,以及,过期的时钟源的属性信息(和/或标识信息)与时钟源过期标识的位置关系满足预设的第二关系,该第一关系和第二关系可以由通信***或通信协议规定,或者,也可以由设备#A(或者说,设备#1)与SMF协商确定,以使SMF能够准确的确定时钟管理消息中携带的时钟源中哪些是新发现的,哪些是过期的。It should be noted that when the above clock management message #A and clock management message #1 are the same message, it means that the same clock relationship message carries the new clock source discovery identifier and also carries the clock source expiration identifier. In this case, the newly discovered clock The location relationship between the source attribute information (and/or identification information) and the new clock source discovery identifier (specifically, the bearing position relationship in the clock relationship message) needs to meet the preset first relationship, and the expired The positional relationship between the attribute information (and/or identification information) of the clock source and the expiration identifier of the clock source satisfies the preset second relationship. The first relationship and the second relationship may be specified by the communication system or communication protocol, or may also be determined by The device #A (or device #1) negotiates with the SMF to determine, so that the SMF can accurately determine which of the clock sources carried in the clock management message are newly discovered and which are out of date.
此外,设备#1还可以从时钟源列表#1中删除时钟源#1的标识信息及属性信息等。In addition, the device #1 can also delete the identification information and attribute information of the clock source #1 from the clock source list #1.
根据前述方法,图5为本申请实施例提供的处理时间同步报文的装置300的示意图。According to the foregoing method, FIG. 5 is a schematic diagram of an apparatus 300 for processing a time synchronization message according to an embodiment of the application.
其中,该装置300可以为终端设备,也可以为芯片或电路,比如可设置于终端设备的芯片或电路。Wherein, the apparatus 300 may be a terminal device, or a chip or circuit, for example, a chip or circuit that can be provided in a terminal device.
该装置300可以包括处理单元310(即,处理单元的一例),可选地,还可以包括存储单元320。该存储单元320用于存储指令。The device 300 may include a processing unit 310 (ie, an example of a processing unit), and optionally, may also include a storage unit 320. The storage unit 320 is used to store instructions.
一种可能的方式中,该处理单元310用于执行该存储单元320存储的指令,以使装置300实现如上述方法中终端设备,执行的步骤。In a possible manner, the processing unit 310 is configured to execute the instructions stored in the storage unit 320, so that the apparatus 300 implements the steps performed by the terminal device in the foregoing method.
进一步的,该装置300还可以包括输入口330(即,通信单元的一例)和输出口340(即,收发单元的另一例)。进一步的,该处理单元310、存储单元320、输入口330和输出口340可以通过内部连接通路互相通信,传递控制和/或数据信号。该存储单元320用于存储计算机程序,该处理单元310可以用于从该存储单元320中调用并运行该计算计程序,完成上述方法中终端设备的步骤。该存储单元320可以集成在处理单元310中,也可以与处理单元310分开设置。Further, the device 300 may also include an input port 330 (ie, an example of a communication unit) and an output port 340 (ie, another example of a transceiver unit). Further, the processing unit 310, the storage unit 320, the input port 330, and the output port 340 can communicate with each other through internal connection paths to transfer control and/or data signals. The storage unit 320 is used to store a computer program, and the processing unit 310 can be used to call and run the calculation program from the storage unit 320 to complete the steps of the terminal device in the foregoing method. The storage unit 320 may be integrated in the processing unit 310, or may be provided separately from the processing unit 310.
可选地,一种可能的方式中,该输入口330可以为接收器,该输出口340为发送器。其中,接收器和发送器可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。Optionally, in a possible manner, the input port 330 may be a receiver, and the output port 340 may be a transmitter. Among them, the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
可选地,一种可能的方式中,该输入口330为输入接口,该输出口340为输出接口。Optionally, in a possible manner, the input port 330 is an input interface, and the output port 340 is an output interface.
作为一种实现方式,输入口330和输出口340的功能可以考虑通过收发电路或者收发的专用芯片实现。处理单元310可以考虑通过专用处理芯片、处理电路、处理单元或者通用芯片实现。As an implementation manner, the functions of the input port 330 and the output port 340 may be implemented by a transceiver circuit or a dedicated chip for transceiver. The processing unit 310 may be implemented by a dedicated processing chip, a processing circuit, a processing unit, or a general-purpose chip.
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的终端设备。即将实现处理单元310、输入口330和输出口340功能的程序代码存储在存储单元320中,通用处理单元通过执行存储单元320中的代码来实现处理单元310、输入口330和输出口340的功能。As another implementation manner, a general-purpose computer may be considered to implement the terminal device provided in the embodiments of the present application. The program codes that realize the functions of the processing unit 310, the input port 330, and the output port 340 are stored in the storage unit 320. The general processing unit implements the functions of the processing unit 310, the input port 330 and the output port 340 by executing the code in the storage unit 320. .
在一种实现方式中,输入口330用于获取时钟源列表,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源,并用于接收第一时间同步报文,第一时间同步报文包括第一时钟源的标识信息;In an implementation manner, the input port 330 is used to obtain a clock source list, and the clock source list records identification information of each clock source in at least one clock source, wherein the identification information of the clock source is used to indicate The clock source is used to receive a first time synchronization message, where the first time synchronization message includes identification information of the first clock source;
如果所述第一时钟源的标识信息不属于所述时钟源列表记录的标识信息,则处理单元310用于控制输出口340发送第一信息,所述第一信息包括所述第一时钟源的属性信息。If the identification information of the first clock source does not belong to the identification information recorded in the clock source list, the processing unit 310 is configured to control the output port 340 to send first information, and the first information includes the identification information of the first clock source. Property information.
可选地,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。Optionally, the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
可选地,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。Optionally, the identification information includes at least one of the following information: clock domain number, clock identification, or clock accuracy.
可选地,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,Optionally, the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the port number of the first port, the identifier of the first protocol data unit PDU session, and the first clock source The clock domain number, the clock ID of the first clock source, or the clock accuracy of the first clock source,
所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。The first port is a port used to transmit the first time synchronization message, and the first PDU session is a PDU session used to transmit the first time synchronization message.
可选地,处理单元310用于在输入口330接收到所述第一时间同步报文之后,启动第一定时器;并且,如果在所述第一定时器到时之前输入口330接收到第二时间同步报文,则控制输出口340发发送所述第一信息,所述第二时间同步报文包括第一时钟源的标识信息。Optionally, the processing unit 310 is configured to start a first timer after the input port 330 receives the first time synchronization message; and, if the input port 330 receives the first timer before the first timer expires Two time synchronization messages, the output port 340 is controlled to send the first information, and the second time synchronization messages include the identification information of the first clock source.
可选地,处理单元310用于在所述时钟源列表中记录所述第一时钟源的标识信息。Optionally, the processing unit 310 is configured to record the identification information of the first clock source in the clock source list.
可选地,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器,以及Optionally, each of the multiple clock sources recorded in the clock source list corresponds to a timer, and
可选地,处理单元310用于如果输入口330接收到第二时钟源的时间同步报文,则启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源。Optionally, the processing unit 310 is configured to, if the input port 330 receives a time synchronization message from the second clock source, start or reset the timer corresponding to the second clock source, where the second clock source is the One of the multiple clock sources recorded in the clock source list.
可选地,处理单元310用于如果所述第二时钟源对应的定时器到时之前输入口330未接收到所述第二时钟源的时间同步报文,则从所述时钟源列表中删除所述第二时钟源的标识信息。Optionally, the processing unit 310 is configured to delete from the clock source list if the input port 330 does not receive the time synchronization message of the second clock source before the timer corresponding to the second clock source expires Identification information of the second clock source.
可选地,处理单元310用于如果所述第二时钟源对应的定时器到时之前未输入口330接收到所述第二时钟源的时间同步报文,则控制输出口340发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。Optionally, the processing unit 310 is configured to control the output port 340 to send the second information if the input port 330 does not receive the time synchronization message of the second clock source before the timer corresponding to the second clock source expires , The second information includes identification information of the second clock source and a second identification, and the second identification is used to indicate that the second clock source has expired.
可选地,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。Optionally, the first device includes any of the following devices: a terminal device, a user plane function UPF device, a device-side delay-sensitive network translator, and a network-side delay-sensitive network translator.
在另一种实现方式中,输入口330用于获取时钟源列表,所述时钟源列表记录有多个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器;如果输入口330接收到第二时钟源的时间同步报文,则处理单元310启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源;如果所述第二时钟源对应的定时器到时之前输入口330未接收到所述第二时钟源的时间同步报文,则处理单元310从所述时钟源列表中删除所述第二时钟源的标识信息;和/或如果所述第二时钟源对应的定时器到时之前输入口330未接收到所述第二时钟源的时间同步报文,则处理单元310控制输出口340发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。In another implementation manner, the input port 330 is used to obtain a clock source list, and the clock source list records the identification information of each of the multiple clock sources, wherein the identification information of the clock source is used for Indicate the clock source. Each clock source among the multiple clock sources recorded in the clock source list corresponds to a timer; if the input port 330 receives a time synchronization message from the second clock source, the processing unit 310 starts Or reset the timer corresponding to the second clock source, where the second clock source is one of the multiple clock sources recorded in the clock source list; if the timer corresponding to the second clock source When the input port 330 does not receive the time synchronization message of the second clock source before the time is up, the processing unit 310 deletes the identification information of the second clock source from the clock source list; and/or if the first clock source Before the timer corresponding to the second clock source expires, the input port 330 does not receive the time synchronization message of the second clock source, and the processing unit 310 controls the output port 340 to send second information, where the second information includes the first Identification information and a second identification of the second clock source, where the second identification is used to indicate that the second clock source has expired.
其中,以上列举的装置300中各模块或单元的功能和动作仅为示例性说明,当该装置300配置在或本身即为时间同步报文的接收设备时,装置300中各模块或单元可以用于执行上述方法中时间同步报文的接收设备(例如,设备#A或设备#1)所执行的各动作或处 理过程。这里,为了避免赘述,省略其详细说明。Among them, the functions and actions of the modules or units in the device 300 listed above are only exemplary. When the device 300 is configured in or is a time synchronization message receiving device, the modules or units in the device 300 can be used Each action or process performed by the receiving device (for example, device #A or device #1) of the time synchronization message in the foregoing method. Here, in order to avoid redundant description, detailed descriptions are omitted.
该装置300所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts related to the technical solutions provided in the embodiments of the present application and related concepts, explanations, detailed descriptions, and other steps involved in the device 300, please refer to the descriptions of these contents in the foregoing method or other embodiments, which will not be repeated here.
根据前述方法,图6为本申请实施例提供的处理时间同步报文的装置400的示意图。According to the foregoing method, FIG. 6 is a schematic diagram of an apparatus 400 for processing a time synchronization message according to an embodiment of the application.
其中,该装置400可以为网络设备,也可以为芯片或电路,比如可设置于时钟管理设备(例如SMF)的芯片或电路。Wherein, the apparatus 400 may be a network device, or a chip or circuit, such as a chip or circuit that can be set in a clock management device (for example, SMF).
该装置400可以包括处理单元410(即,处理单元的一例),可选地,还可以包括存储单元420。该存储单元420用于存储指令。The device 400 may include a processing unit 410 (that is, an example of a processing unit), and optionally, may also include a storage unit 420. The storage unit 420 is used to store instructions.
一种可能的方式中,该处理单元410用于执行该存储单元420存储的指令,以使装置400实现如上述方法中网络设备,执行的步骤。In a possible manner, the processing unit 410 is configured to execute the instructions stored in the storage unit 420, so that the apparatus 400 implements the steps performed by the network device in the foregoing method.
进一步的,该装置400还可以包括输入口430(即,通信单元的一例)和输出口440(即,收发单元的另一例)。进一步的,该处理单元410、存储单元420、输入口430和输出口440可以通过内部连接通路互相通信,传递控制和/或数据信号。该存储单元420用于存储计算机程序,该处理单元410可以用于从该存储单元420中调用并运行该计算计程序,完成上述方法中网络设备的步骤。该存储单元420可以集成在处理单元410中,也可以与处理单元410分开设置。Further, the device 400 may further include an input port 430 (ie, an example of a communication unit) and an output port 440 (ie, another example of a transceiver unit). Further, the processing unit 410, the storage unit 420, the input port 430, and the output port 440 can communicate with each other through internal connection paths to transfer control and/or data signals. The storage unit 420 is used to store a computer program, and the processing unit 410 can be used to call and run the computer program from the storage unit 420 to complete the steps of the network device in the above method. The storage unit 420 may be integrated in the processing unit 410, or may be provided separately from the processing unit 410.
可选地,一种可能的方式中,该输入口430可以为接收器,该输出口440为发送器。其中,接收器和发送器可以为相同或者不同的物理实体。为相同的物理实体时,可以统称为收发器。Optionally, in a possible manner, the input port 430 may be a receiver, and the output port 440 may be a transmitter. Among them, the receiver and the transmitter may be the same or different physical entities. When they are the same physical entity, they can be collectively referred to as transceivers.
可选地,一种可能的方式中,该输入口430为输入接口,该输出口440为输出接口。Optionally, in a possible manner, the input port 430 is an input interface, and the output port 440 is an output interface.
作为一种实现方式,输入口430和输出口440的功能可以考虑通过收发电路或者收发的专用芯片实现。处理单元410可以考虑通过专用处理芯片、处理电路、处理单元或者通用芯片实现。As an implementation manner, the functions of the input port 430 and the output port 440 may be implemented by a transceiver circuit or a dedicated chip for transceiver. The processing unit 410 may be implemented by a dedicated processing chip, a processing circuit, a processing unit, or a general-purpose chip.
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的网络设备。即将实现处理单元410、输入口430和输出口440功能的程序代码存储在存储单元420中,通用处理单元通过执行存储单元420中的代码来实现处理单元410、输入口430和输出口440的功能。As another implementation manner, a general-purpose computer may be considered to implement the network device provided in the embodiment of the present application. The program code that realizes the functions of the processing unit 410, the input port 430 and the output port 440 is stored in the storage unit 420. The general processing unit implements the functions of the processing unit 410, the input port 430 and the output port 440 by executing the code in the storage unit 420 .
其中,当该装置400配置在或本身即为时间管理设备时,装置400中各模块或单元可以用于执行上述方法中时间管理设备(例如,SMF)所执行的各动作或处理过程。这里,为了避免赘述,省略其详细说明。Wherein, when the device 400 is configured in or is a time management device, each module or unit in the device 400 can be used to execute various actions or processes performed by the time management device (for example, SMF) in the above method. Here, in order to avoid redundant description, detailed descriptions are omitted.
该装置400所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts related to the technical solutions provided in the embodiments of the present application involved in the device 400, for explanations, detailed descriptions, and other steps, please refer to the descriptions of these contents in the foregoing method or other embodiments, which are not repeated here.
图7为本申请提供的一种终端设备500的结构示意图。上述装置300可以配置在该终端设备500中,或者,上述装置300本身可以即为该终端设备500。或者说,该终端设备500可以执行上述方法中时间同步报文的接收设备(例如,设备#1或设备#A)执行的动作。FIG. 7 is a schematic structural diagram of a terminal device 500 provided by this application. The foregoing apparatus 300 may be configured in the terminal device 500, or the foregoing apparatus 300 itself may be the terminal device 500. In other words, the terminal device 500 can perform the actions performed by the receiving device (for example, device #1 or device #A) of the time synchronization message in the foregoing method.
为了便于说明,图7仅示出了终端设备的主要部件。如图7所示,终端设备500包括处理器、存储器、控制电路、天线以及输入输出装置。For ease of description, FIG. 7 only shows the main components of the terminal device. As shown in FIG. 7, the terminal device 500 includes a processor, a memory, a control circuit, an antenna, and an input and output device.
处理器主要用于对通信协议以及通信数据进行处理,以及对整个终端设备进行控制,执行软件程序,处理软件程序的数据,例如用于支持终端设备执行上述传输预编码矩阵的 指示方法实施例中所描述的动作。存储器主要用于存储软件程序和数据,例如存储上述实施例中所描述的码本。控制电路主要用于基带信号与射频信号的转换以及对射频信号的处理。控制电路和天线一起也可以叫做收发器,主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。The processor is mainly used to process the communication protocol and communication data, and to control the entire terminal device, execute the software program, and process the data of the software program. For example, it is used to support the terminal device to execute the above-mentioned transmission precoding matrix instruction method embodiment. The described action. The memory is mainly used to store software programs and data, for example, to store the codebook described in the above embodiments. The control circuit is mainly used for the conversion of baseband signals and radio frequency signals and the processing of radio frequency signals. The control circuit and the antenna together can also be called a transceiver, which is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are mainly used to receive data input by users and output data to users.
当终端设备开机后,处理器可以读取存储单元中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过无线发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端设备时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。When the terminal device is turned on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal to the outside in the form of electromagnetic waves through the antenna. When data is sent to the terminal device, the radio frequency circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, and the processor converts the baseband signal into data and processes the data.
本领域技术人员可以理解,为了便于说明,图7仅示出了一个存储器和处理器。在实际的终端设备中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本申请实施例对此不做限制。Those skilled in the art can understand that, for ease of description, FIG. 7 only shows a memory and a processor. In actual terminal devices, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the embodiment of the present application.
例如,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信协议以及通信数据进行处理,中央处理器主要用于对整个终端设备进行控制,执行软件程序,处理软件程序的数据。图7中的处理器集成了基带处理器和中央处理器的功能,本领域技术人员可以理解,基带处理器和中央处理器也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,终端设备可以包括多个基带处理器以适应不同的网络制式,终端设备可以包括多个中央处理器以增强其处理能力,终端设备的各个部件可以通过各种总线连接。所述基带处理器也可以表述为基带处理电路或者基带处理芯片。所述中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储单元中,由处理器执行软件程序以实现基带处理功能。For example, the processor may include a baseband processor and a central processing unit. The baseband processor is mainly used to process communication protocols and communication data. The central processing unit is mainly used to control the entire terminal device, execute software programs, and process software programs. data. The processor in FIG. 7 integrates the functions of a baseband processor and a central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit may also be independent processors and are interconnected by technologies such as a bus. Those skilled in the art can understand that the terminal device may include multiple baseband processors to adapt to different network standards, the terminal device may include multiple central processors to enhance its processing capabilities, and the various components of the terminal device may be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data can be built in the processor, or can be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
示例性的,在本申请实施例中,可以将具有收发功能的天线和控制电路视为终端设备500的收发单元510,将具有处理功能的处理器视为终端设备500的处理单元520。如图7所示,终端设备500包括收发单元510和处理单元520。收发单元也可以称为收发器、收发机、收发装置等。可选地,可以将收发单元510中用于实现接收功能的器件视为接收单元,将收发单元510中用于实现发送功能的器件视为发送单元,即收发单元包括接收单元和发送单元。示例性的,接收单元也可以称为接收机、接收器、接收电路等,发送单元可以称为发射机、发射器或者发射电路等。Exemplarily, in the embodiment of the present application, the antenna and the control circuit with the transceiving function can be regarded as the transceiving unit 510 of the terminal device 500, and the processor with the processing function can be regarded as the processing unit 520 of the terminal device 500. As shown in FIG. 7, the terminal device 500 includes a transceiving unit 510 and a processing unit 520. The transceiving unit may also be referred to as a transceiver, a transceiver, a transceiving device, and so on. Optionally, the device for implementing the receiving function in the transceiving unit 510 can be regarded as the receiving unit, and the device for implementing the sending function in the transceiving unit 510 can be regarded as the sending unit, that is, the transceiving unit includes a receiving unit and a sending unit. Exemplarily, the receiving unit may also be called a receiver, a receiver, a receiving circuit, etc., and the sending unit may be called a transmitter, a transmitter, or a transmitting circuit, etc.
根据本申请实施例提供的方法,本申请实施例还提供一种通信***,其包括一个或多个前述的终端设备和网络设备。According to the method provided in the embodiment of the present application, the embodiment of the present application also provides a communication system, which includes one or more of the aforementioned terminal devices and network devices.
应理解,本申请实施例中,该处理器可以为中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the application, the processor may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), and dedicated integration Circuit (application specific integrated circuit, ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of random access memory (RAM) are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (DRAM). Access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory Take memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The foregoing embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid state drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing associated objects, which means that there can be three relationships. For example, A and/or B can mean that A alone exists, and both A and B exist. , There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组 件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application. Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments. In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (31)

  1. 一种时钟源管理的方法,其特征在于,所述方法包括:A method for clock source management, characterized in that the method includes:
    第一设备维护时钟源列表,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源;The first device maintains a clock source list, the clock source list records identification information of each clock source in at least one clock source, wherein the identification information of the clock source is used to indicate the clock source;
    接收第一时间同步报文,第一时间同步报文包括第一时钟源的标识信息;Receiving a first time synchronization message, where the first time synchronization message includes identification information of the first clock source;
    如果所述第一时钟源的标识信息不属于所述时钟源列表记录的标识信息,则发送第一信息,所述第一信息包括所述第一时钟源的属性信息。If the identification information of the first clock source does not belong to the identification information recorded in the clock source list, sending first information, where the first information includes the attribute information of the first clock source.
  2. 根据权利要求1所述的方法,其特征在于,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。The method according to claim 1, wherein the first information further includes a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  3. 根据权利要求1或2所述的方法,其特征在于,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。The method according to claim 1 or 2, wherein the identification information includes at least one of the following information: a clock domain number, a clock identification, or a clock accuracy.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,The method according to any one of claims 1 to 3, wherein the attribute information of the first clock source includes at least one of the following information: device identification of the first device, port number of the first port , The identification of the first protocol data unit PDU session, the clock domain number of the first clock source, the clock identification of the first clock source, or the clock accuracy of the first clock source,
    所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。The first port is a port used to transmit the first time synchronization message, and the first PDU session is a PDU session used to transmit the first time synchronization message.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    在接收到所述第一时间同步报文之后,启动第一定时器;以及After receiving the first time synchronization message, start a first timer; and
    所述发送第一信息,包括:The sending of the first information includes:
    如果在所述第一定时器到时之前接收到第二时间同步报文,则发送所述第一信息,所述第二时间同步报文包括第一时钟源的标识信息。If a second time synchronization message is received before the first timer expires, the first information is sent, and the second time synchronization message includes the identification information of the first clock source.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    在所述时钟源列表中记录所述第一时钟源的标识信息。Record the identification information of the first clock source in the clock source list.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器,以及The method according to any one of claims 1 to 6, wherein each of the multiple clock sources recorded in the clock source list corresponds to a timer, and
    所述方法还包括:The method also includes:
    如果接收到第二时钟源的时间同步报文,则启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源;If a time synchronization message from a second clock source is received, the timer corresponding to the second clock source is started or reset. The second clock source is one of the multiple clock sources recorded in the clock source list. A clock source;
    如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则从所述时钟源列表中删除所述第二时钟源的标识信息;和/或If the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, delete the identification information of the second clock source from the clock source list; and/ or
    如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。If the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, send second information, where the second information includes identification information of the second clock source And a second identifier, where the second identifier is used to indicate that the second clock source has expired.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。The method according to any one of claims 1 to 7, wherein the first device comprises any of the following devices: terminal equipment, user plane function UPF equipment, equipment-side delay-sensitive network translator, network-side Time-sensitive network translator.
  9. 一种时钟源管理的方法,其特征在于,所述方法包括:A method for clock source management, characterized in that the method includes:
    时钟源管理设备从第一设备接收第一信息,所述第一信息包括第一时钟源的属性信息;The clock source management device receives first information from the first device, where the first information includes attribute information of the first clock source;
    根据所述第一信息,管理所述第一时钟源。According to the first information, the first clock source is managed.
  10. 根据权利要求9所述的方法,其特征在于,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。The method according to claim 9, wherein the first information further comprises a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  11. 根据权利要求9或10所述的方法,其特征在于,所述第一信息还包括所述第一时钟源的标识信息,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。The method according to claim 9 or 10, wherein the first information further includes identification information of the first clock source, and the identification information includes at least one of the following information: a clock domain number, a clock identifier, or Clock accuracy.
  12. 根据权利要求9至11中任一项所述的方法,其特征在于,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,The method according to any one of claims 9 to 11, wherein the attribute information of the first clock source includes at least one of the following information: device identification of the first device, port number of the first port , The identification of the first protocol data unit PDU session, the clock domain number of the first clock source, the clock identification of the first clock source, or the clock accuracy of the first clock source,
    所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。The first port is a port used to transmit the first time synchronization message, and the first PDU session is a PDU session used to transmit the first time synchronization message.
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 12, wherein the method further comprises:
    从所述第一设备接收第二信息,所述第二信息包括第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。Second information is received from the first device, the second information includes identification information of a second clock source and a second identification, and the second identification is used to indicate that the second clock source has expired.
  14. 根据权利要求9至13中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9 to 13, wherein the method further comprises:
    向网络能力开放功能设备发送所述第一时钟源的属性信息。Sending the attribute information of the first clock source to the network capability opening function device.
  15. 一种时钟源管理的装置,其特征在于,所述装置包括:A clock source management device, characterized in that the device includes:
    收发单元用于接收第一时间同步报文,第一时间同步报文包括第一时钟源的标识信息;The transceiver unit is configured to receive a first time synchronization message, where the first time synchronization message includes identification information of the first clock source;
    处理单元,用于如果所述第一时钟源的标识信息不属于时钟源列表记录的标识信息,则控制所述收发单元发送第一信息,所述第一信息包括所述第一时钟源的属性信息,其中,所述时钟源列表记录有至少一个时钟源中的每个时钟源的标识信息,其中,所述时钟源的标识信息用于指示所述时钟源。A processing unit, configured to, if the identification information of the first clock source does not belong to the identification information recorded in the clock source list, control the transceiver unit to send first information, where the first information includes the attributes of the first clock source Information, wherein the clock source list records identification information of each clock source in at least one clock source, wherein the identification information of the clock source is used to indicate the clock source.
  16. 根据权利要求15所述的装置,其特征在于,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。The apparatus according to claim 15, wherein the first information further comprises a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  17. 根据权利要求15或16所述的装置,其特征在于,其特征在于,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。The device according to claim 15 or 16, wherein the identification information includes at least one of the following information: a clock domain number, a clock identifier, or a clock accuracy.
  18. 根据权利要求15至17中任一项所述的装置,其特征在于,其特征在于,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,The apparatus according to any one of claims 15 to 17, wherein the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the first The port number of the port, the identifier of the first protocol data unit PDU session, the clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source,
    所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。The first port is a port used to transmit the first time synchronization message, and the first PDU session is a PDU session used to transmit the first time synchronization message.
  19. 根据权利要求15至18中任一项所述的装置,其特征在于,所述处理单元还用于在所述收发单元接收到所述第一时间同步报文之后,启动第一定时器,并且,如果在所述 第一定时器到时之前接收到第二时间同步报文,则发送所述第一信息,所述第二时间同步报文包括第一时钟源的标识信息。The apparatus according to any one of claims 15 to 18, wherein the processing unit is further configured to start a first timer after the transceiver unit receives the first time synchronization message, and If a second time synchronization message is received before the first timer expires, the first information is sent, and the second time synchronization message includes the identification information of the first clock source.
  20. 根据权利要求15至19中任一项所述的装置,其特征在于,所述处理单元还用于在所述时钟源列表中记录所述第一时钟源的标识信息。The device according to any one of claims 15 to 19, wherein the processing unit is further configured to record the identification information of the first clock source in the clock source list.
  21. 根据权利要求15至20中任一项所述的装置,其特征在于,所述时钟源列表中记录的多个时钟源中的每个时钟源对应一个定时器,以及The device according to any one of claims 15 to 20, wherein each of the multiple clock sources recorded in the clock source list corresponds to a timer, and
    所述处理单元还用于如果所述收发单元接收到第二时钟源的时间同步报文,则启动或重置所述第二时钟源对应的定时器,所述第二时钟源是所述时钟源列表中记录的多个时钟源中的一个时钟源,The processing unit is further configured to, if the transceiver unit receives a time synchronization message from a second clock source, start or reset a timer corresponding to the second clock source, and the second clock source is the clock One of the multiple clock sources recorded in the source list,
    如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则从所述时钟源列表中删除所述第二时钟源的标识信息;和/或If the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, delete the identification information of the second clock source from the clock source list; and/ or
    如果所述第二时钟源对应的定时器到时之前未接收到所述第二时钟源的时间同步报文,则控制所述收发单元发送第二信息,所述第二信息包括所述第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。If the time synchronization message of the second clock source is not received before the timer corresponding to the second clock source expires, the transceiver unit is controlled to send second information, and the second information includes the second Identification information of the clock source and a second identification, where the second identification is used to indicate that the second clock source has expired.
  22. 根据权利要求15至21中任一项所述的装置,其特征在于,所述第一设备包括以下任一设备:终端设备、用户面功能UPF设备、设备侧时延敏感网络翻译器、网络侧时延敏感网络翻译器。The apparatus according to any one of claims 15 to 21, wherein the first device comprises any of the following devices: terminal equipment, user plane function UPF equipment, equipment-side delay-sensitive network translator, network-side Delay-sensitive network translator.
  23. 一种时钟源管理的装置,其特征在于,所述装置包括:A clock source management device, characterized in that the device includes:
    收发单元,用于从第一设备接收第一信息,所述第一信息包括第一时钟源的属性信息;A transceiver unit, configured to receive first information from a first device, where the first information includes attribute information of the first clock source;
    处理单元,用于根据所述第一信息,管理所述第一时钟源。The processing unit is configured to manage the first clock source according to the first information.
  24. 根据权利要求23所述的装置,其特征在于,所述第一信息还包括第一标识,所述第一标识用于指示是所述第一时钟源是新发现的时钟源。The device according to claim 23, wherein the first information further comprises a first identifier, and the first identifier is used to indicate that the first clock source is a newly discovered clock source.
  25. 根据权利要求23或24所述的装置,其特征在于,其特征在于,所述第一信息还包括所述第一时钟源的标识信息,所述标识信息包括以下至少一种信息:时钟域编号、时钟标识或时钟精度。The device according to claim 23 or 24, wherein the first information further includes identification information of the first clock source, and the identification information includes at least one of the following information: clock domain number , Clock identification or clock accuracy.
  26. 根据权利要求23至25中任一项所述的装置,其特征在于,其特征在于,所述第一时钟源的属性信息包括以下至少一种信息:所述第一设备的设备标识、第一端口的端口号、第一协议数据单元PDU会话的标识、第一时钟源的时钟域编号、第一时钟源的时钟标识或第一时钟源的时钟精度,The apparatus according to any one of claims 23 to 25, wherein the attribute information of the first clock source includes at least one of the following information: the device identifier of the first device, the first The port number of the port, the identifier of the first protocol data unit PDU session, the clock domain number of the first clock source, the clock identifier of the first clock source, or the clock accuracy of the first clock source,
    所述第一端口是用于传输所述第一时间同步报文的端口,所述第一PDU会话是用于传输所述第一时间同步报文的PDU会话。The first port is a port used to transmit the first time synchronization message, and the first PDU session is a PDU session used to transmit the first time synchronization message.
  27. 根据权利要求23至26中任一项所述的装置,其特征在于,所述收发单元还用于从所述第一设备接收第二信息,所述第二信息包括第二时钟源的标识信息和第二标识,所述第二标识用于指示所述第二时钟源过期。The apparatus according to any one of claims 23 to 26, wherein the transceiver unit is further configured to receive second information from the first device, and the second information includes identification information of a second clock source And a second identifier, where the second identifier is used to indicate that the second clock source has expired.
  28. 根据权利要求23至27中任一项所述的装置,其特征在于,所述收发单元还用于向网络能力开放功能设备发送所述第一时钟源的属性信息。The apparatus according to any one of claims 23 to 27, wherein the transceiver unit is further configured to send attribute information of the first clock source to a network capability opening function device.
  29. 一种无线通信的装置,其特征在于,包括:A wireless communication device, characterized in that it comprises:
    用于实现权利要求1至8中任一项所述的方法的单元;或者A unit for implementing the method according to any one of claims 1 to 8; or
    用于实现权利要求9至14中任一项所述的方法的单元。A unit for implementing the method according to any one of claims 9 to 14.
  30. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序运行时,A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is running,
    使得装置执行如权利要求1至8中任意一项所述的方法,或者Cause the device to execute the method according to any one of claims 1 to 8, or
    使得装置执行如权利要求9至14中任意一项所述的方法。The device is caused to execute the method according to any one of claims 9 to 14.
  31. 一种芯片***,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,A chip system, characterized by comprising: a processor, used to call and run a computer program from a memory,
    使得安装有所述芯片***的通信装置执行如权利要求1至8中任意一项所述的方法;或者Cause the communication device installed with the chip system to execute the method according to any one of claims 1 to 8; or
    使得安装有所述芯片***的通信装置执行如权利要求9至14中任意一项所述的方法。The communication device installed with the chip system is caused to execute the method according to any one of claims 9 to 14.
PCT/CN2021/083205 2020-05-28 2021-03-26 Method and apparatus for clock source management WO2021238377A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010466876.0 2020-05-28
CN202010466876.0A CN113746586B (en) 2020-05-28 2020-05-28 Method and device for managing clock source

Publications (1)

Publication Number Publication Date
WO2021238377A1 true WO2021238377A1 (en) 2021-12-02

Family

ID=78724131

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083205 WO2021238377A1 (en) 2020-05-28 2021-03-26 Method and apparatus for clock source management

Country Status (2)

Country Link
CN (1) CN113746586B (en)
WO (1) WO2021238377A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024065308A1 (en) * 2022-09-28 2024-04-04 Zte Corporation Method, device, and system for time synchronization
CN117812686A (en) * 2022-09-30 2024-04-02 华为技术有限公司 Communication method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700623A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Method for implementing clock management via Q3 interface in synchronous optical network
CN102868516A (en) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 Method and device for synchronizing information distribution of clock in Ethernet
CN103023595A (en) * 2012-06-08 2013-04-03 中兴通讯股份有限公司 Method and device for realizing best master clock algorithm
US20140286357A1 (en) * 2013-03-20 2014-09-25 Qulsar, Inc. Managed timing engine
CN104683132A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Method and device for determining backup clock source
CN105703893A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system
CN106209291A (en) * 2016-08-30 2016-12-07 京信通信技术(广州)有限公司 Clock source list update, clock synchronizing method and the system that base station clock synchronizes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355346B (en) * 2011-10-13 2018-02-09 中兴通讯股份有限公司 A kind of validity judgment method of clock synchronous source device and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700623A (en) * 2004-05-21 2005-11-23 华为技术有限公司 Method for implementing clock management via Q3 interface in synchronous optical network
CN103023595A (en) * 2012-06-08 2013-04-03 中兴通讯股份有限公司 Method and device for realizing best master clock algorithm
CN102868516A (en) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 Method and device for synchronizing information distribution of clock in Ethernet
US20140286357A1 (en) * 2013-03-20 2014-09-25 Qulsar, Inc. Managed timing engine
CN104683132A (en) * 2013-11-29 2015-06-03 中兴通讯股份有限公司 Method and device for determining backup clock source
CN105703893A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system
CN106209291A (en) * 2016-08-30 2016-12-07 京信通信技术(广州)有限公司 Clock source list update, clock synchronizing method and the system that base station clock synchronizes

Also Published As

Publication number Publication date
CN113746586A (en) 2021-12-03
CN113746586B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
WO2022016401A1 (en) Communication method and communication apparatus
WO2021203814A1 (en) Method and apparatus for processing time synchronization message
WO2021013122A1 (en) Handover method and device
WO2020125608A1 (en) Method for allocating resources and communication apparatus
WO2020087509A1 (en) Wireless communication method, terminal device and network device
WO2020206582A1 (en) Method and apparatus for relay communication
WO2021238377A1 (en) Method and apparatus for clock source management
WO2021062730A1 (en) Wireless communication method and device
US20230086410A1 (en) Communication method and communication apparatus
WO2022056676A1 (en) Service identification method, terminal device, and network device
WO2020151585A1 (en) Method and apparatus for data transmission
WO2021203983A1 (en) Method and apparatus for processing time synchronization packet
WO2017156789A1 (en) Device-to-device based communication method and terminal
WO2019218126A1 (en) Method for controlling network congestion, terminal device, and network device
WO2022160205A1 (en) Data transmission method, terminal devices, and network device
WO2022027375A1 (en) Cell access selection method, terminal device, and network device
WO2022032453A1 (en) Paging optimization method and network device
WO2022061838A1 (en) Method for enabling reverse mapping mechanism, and terminal device and network device
WO2023070446A1 (en) Network slice registration method and device
WO2022082538A1 (en) Wireless communication method and apparatus and communication device
WO2024125498A1 (en) Model updating method and apparatus, and device and storage medium
WO2024051313A1 (en) Communication resource management method, apparatus and system, and storage medium
WO2023216696A1 (en) Information processing method and apparatus
WO2022222748A1 (en) Relay communication method and apparatus
WO2024067869A1 (en) Communication method and communication apparatus

Legal Events

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

Ref document number: 21813689

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: 21813689

Country of ref document: EP

Kind code of ref document: A1