WO2023213159A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2023213159A1
WO2023213159A1 PCT/CN2023/084904 CN2023084904W WO2023213159A1 WO 2023213159 A1 WO2023213159 A1 WO 2023213159A1 CN 2023084904 W CN2023084904 W CN 2023084904W WO 2023213159 A1 WO2023213159 A1 WO 2023213159A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock
clock domain
status
time protocol
domain
Prior art date
Application number
PCT/CN2023/084904
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 WO2023213159A1 publication Critical patent/WO2023213159A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/004Synchronisation arrangements compensating for timing error of reception due to propagation delay

Definitions

  • the present application relates to the field of communication, and in particular, to a communication method and device.
  • the time sensitive network (TSN) system uses the (generalized) precision time protocol (g)PTP clock domain, and the mobile communication system uses the internal clock domain of the communication system.
  • the time-sensitive network system can send the synchronization information corresponding to (g)PTP to the end device (the device that needs to connect to the time-sensitive network) through the mobile communication system, so that the end device Perform time synchronization. Since the process of transmitting synchronization information through the mobile communication system will generate dwell time in the nodes of the mobile communication system, the nodes in the mobile communication system can use the clock corresponding to the internal clock domain of the communication system to determine the dwell time and send it to the terminal. equipment, so that the end equipment uses this dwell time for clock correction. In this way, the terminal device can obtain the clock corresponding to the precise time protocol clock domain based on the synchronization information and the dwell time, and perform clock synchronization based on the clock corresponding to the time protocol clock domain.
  • the terminal device detects that the deviation between the clock corresponding to the obtained precision time protocol clock domain and the clock corresponding to the local precision time protocol clock domain of the terminal device is too large, and determines that the clock synchronization status of the precision time protocol clock domain is abnormal, it cannot be determined. Is the abnormality in the clock synchronization state of the precision time protocol clock domain caused by problems with the synchronization information itself, or is it caused by the abnormality in the synchronization state of the clock domain within the communication system that causes problems with the dwell time.
  • Embodiments of the present application provide a communication method and device that can accurately determine the clock domain in which the clock synchronization state is abnormal.
  • a communication method which is applied to the first core network element.
  • the communication method includes: receiving first clock status information from a first device, receiving second clock status information from a second device, and according to the first clock status information and the second clock status information, from the internal clock domain of the communication system and accurately In the time protocol clock domain, determine the clock domain in which the clock synchronization status is abnormal.
  • the first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • the second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the first device is a network-side adapter
  • the second device is a device side adapter.
  • the first device is a user plane network element
  • the second device is a first terminal device.
  • both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the first device is a network side adapter
  • the second device is the device side adapter.
  • the first device is a user plane network element
  • the second device is the first terminal device.
  • the first device and the second device respectively send first clock status information and second clock status information to the first core network element.
  • the first clock status information indicates the clock synchronization status of the precise time protocol clock domain
  • the second clock status information Indicates the clock synchronization status of the Precision Time Protocol clock domain.
  • the core network element can accurately determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
  • the clock domain port state of the first device is the slave clock state
  • the clock domain port state of the second device is the master clock state.
  • the slave clock state is Among the internal clock domains of the communication system and the precision time protocol clock domain
  • determining the clock domain in which the clock synchronization status is abnormal may include: if the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is not abnormal, and the second clock status If the information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the clock domain in which the clock synchronization status is abnormal can be accurately determined.
  • the clock domain port state of the second device is the slave clock state
  • the clock domain port state of the first device is the master clock state.
  • the slave clock state is Among the internal clock domains of the communication system and the precision time protocol clock domain
  • determining the clock domain in which the clock synchronization status is abnormal may include: if the second clock status information indicates that the clock synchronization status of the precision time protocol clock domain is not abnormal, and the first clock status If the information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the second clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the clock domain in which the clock synchronization status is abnormal can be accurately determined.
  • the communication method provided in the first aspect may further include: obtaining information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal.
  • the first access network device is an access network device corresponding to the internal clock domain of the communication system. In this way, information about access network equipment with abnormal clock synchronization status can be obtained.
  • the above-mentioned obtaining the information of the first access network device may include: sending a first request message to the mobility management network element, and receiving the first request message from the mobility management network element of the first access network device.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device.
  • access network equipment information The first access network device is a terminal device corresponding to the device-side adapter or an access network device connected to the first terminal device. In this way, the first core network element can request information about the first access network device from the mobility management network element.
  • the first core network element is a delay clock network element.
  • the above-mentioned obtaining the information of the first access network device may include: sending a second request message to the session management network element, receiving the information from Information about the first access network device of the session management network element.
  • the second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses.
  • Information is an access network device connected to the first terminal device or the terminal device corresponding to the device-side adapter. In this way, the first core network element can request the information of the first access network device from the session management network element.
  • the first core network element is a session management network element.
  • the above-mentioned obtaining the information of the first access network device may include: based on the identification of the first terminal device or the port identification of the device-side adapter. , obtain information about the first access network device.
  • the first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter is connected. In this way, the session management network element can obtain the information of the first access network device.
  • the communication method provided in the first aspect may further include: receiving a clock status notification request from the application network element.
  • the clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
  • the application network element can request to monitor the clock synchronization status of the second terminal device.
  • the number of second terminal devices may be one or more.
  • the communication method provided in the first aspect may further include: sending the first clock abnormality information to the second terminal device according to the identification of the second terminal device.
  • the first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
  • the first terminal device can obtain that the clock synchronization status of the internal clock domain of the communication system is abnormal, and can stop using the clock of the internal clock domain of the communication system.
  • the communication method provided in the first aspect may further include: sending a first clock status request to the first device.
  • the first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the communication method provided in the first aspect may further include: sending a second clock status request to the second device.
  • the second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the clock synchronization status of the precise time protocol clock domain can be indicated explicitly or implicitly through the first clock status information.
  • the first clock status information may also include: communication system internal clock domain Whether the information of the corresponding first access network device and/or the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the clock synchronization status of the precise time protocol clock domain can be indicated explicitly or implicitly through the first clock status information.
  • the second clock status information also includes: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • a communication method which is applied to the first core network element.
  • the communication method includes: receiving first clock status information from the first device; when the clock domain port status of the first device is in the main clock status, and the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal.
  • request the first access network device for the clock synchronization status of the internal clock domain of the communication system receive the clock synchronization status of the internal clock domain of the communication system from the first access network device, and based on the clock synchronization status of the internal clock domain of the communication system , determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain.
  • the first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
  • the clock domain port status of the first device when the clock domain port status of the first device is in the main clock status, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the clock domain port status of the first device can be passed to the first device.
  • the access network device requests the clock synchronization status of the internal clock domain of the communication system, and determines which clock domain among the precise time protocol clock domain and the internal clock domain of the communication system has an abnormal clock synchronization status based on the clock synchronization status of the internal clock domain of the communication system. . In this way, the clock domain in which the clock synchronization status is abnormal can be accurately determined.
  • the above-mentioned method determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system, which may include: If the communication system If there is no abnormality in the clock synchronization status of the internal clock domain of the system, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
  • the above-mentioned method determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system, which may include: If the communication system If the clock synchronization status of the internal clock domain of the system is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the communication method provided in the second aspect may further include: obtaining information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal.
  • the first access network device is an access network device corresponding to the internal clock domain of the communication system.
  • the above-mentioned obtaining the information of the first access network device may include: sending a first request message to the mobility management network element, and receiving the first request message from the mobility management network element of the first access network device.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device.
  • the first access network device is a terminal device corresponding to the device-side adapter or an access network device connected to the first terminal device.
  • the above-mentioned obtaining the information of the first access network device may include: sending a second request message to the session management network element, and receiving the information of the first access network device from the session management network element.
  • the second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses.
  • Information is an access network device connected to the first terminal device or the terminal device corresponding to the device-side adapter.
  • the communication method provided in the second aspect may further include: receiving a clock status notification request from the application network element.
  • the clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
  • the communication method provided in the second aspect may further include: sending the first clock abnormality information to the second terminal device according to the identification of the second terminal device.
  • the first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
  • the communication method provided in the second aspect may further include: sending a first clock status request to the first device.
  • the first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the communication method provided in the second aspect may further include: sending a second clock status request to the second device.
  • the second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • a communication method which is applied to communication equipment.
  • the communication method includes: receiving a first clock status request from a first core network element, and sending first clock status information to the first core network element.
  • the first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the communication device side and the first clock status information. The difference between one clock and the first clock for communication
  • the device receives the clock indicated by the synchronization information corresponding to the Precision Time Protocol clock domain.
  • the first clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the communication method provided in the third aspect may further include: determining the first clock status based on the precision time protocol clock domain deviation. Clock status information.
  • determining the first clock status information based on the precision time protocol clock domain deviation may include: the precision time protocol clock domain deviation is greater than the first threshold, then the first clock status information indicates the precision time protocol clock The synchronization status of the domain is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
  • the first clock status information also includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the communication method provided in the third aspect may also include: determining the first clock status based on the internal clock domain deviation of the communication system.
  • the communication system internal clock domain deviation is the difference between the clock corresponding to the communication system internal clock domain on the communication device side and the second clock.
  • the second clock is indicated by the synchronization information corresponding to the communication system internal clock domain received by the communication device. clock.
  • the first clock status information may also include: information of the first access network device corresponding to the internal clock domain of the communication system.
  • the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
  • a fourth aspect provides a communication device.
  • the communication device includes: a transceiver module and a processing module.
  • the transceiver module is used to receive the first clock status information from the first device.
  • the first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • the transceiver module is also used to receive the second clock status information from the second device.
  • the second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the first device is a network-side adapter and the second device is a device-side adapter.
  • the first device is a user plane network element
  • the second device is a first terminal device.
  • the processing module is configured to determine, based on the first clock status information and the second clock status information, the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain.
  • the clock domain port status of the first device is the slave clock status
  • the clock domain port status of the second device is the master clock status.
  • the processing module is also used to determine if the first clock status information indicates the precise time. If there is no abnormality in the clock synchronization status of the protocol clock domain, and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the processing module is further configured to determine that the clock synchronization status of the precision time protocol clock domain is abnormal if the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the clock domain port status of the second device is the slave clock status
  • the clock domain port status of the first device is the master clock status.
  • the processing module is also used to determine if the second clock status information indicates the precise time. If there is no abnormality in the clock synchronization status of the protocol clock domain, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the processing module is also configured to: if the second clock status information indicates the clock synchronization status of the precise time protocol clock domain Abnormal, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
  • the processing module is also used to obtain information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal.
  • the first access network device is an access network device corresponding to the internal clock domain of the communication system.
  • the transceiver module is also used to send the first request message to the mobility management network element.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device.
  • the transceiver module is also used to receive information from the first access network device of the mobility management network element.
  • the first access network device is a terminal device corresponding to a device-side adapter or an access network device to which the first terminal device is connected.
  • the communication device is a delay clock network element, a transceiver module, and is also used to send the second request message to the session management network element.
  • the second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses.
  • the transceiver module is also configured to receive information from the first access network device of the session management network element.
  • the first access network device is an access network device to which the terminal device corresponding to the first terminal device or the device-side adapter is connected.
  • the communication device is a session management network element
  • the processing module is further configured to obtain information about the first access network device according to the identifier of the first terminal device or the port identifier of the device-side adapter.
  • the first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter is connected.
  • the transceiver module is also used to receive clock status notification requests from application network elements.
  • the clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
  • the transceiver module is also configured to send the first clock abnormality information to the second terminal device according to the identifier of the second terminal device.
  • the first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
  • the transceiver module is also used to send a first clock status request to the first device.
  • the first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the transceiver module is also used to send a second clock status request to the second device.
  • the second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is The difference between the clock corresponding to the precise time protocol clock domain on the second device side and the first clock, where the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain.
  • the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the transceiver module described in the fourth aspect may include a receiving module and a sending module. This application does not specifically limit the specific implementation of the transceiver module.
  • the communication device described in the fourth aspect may further include a storage module that stores programs or instructions.
  • the processing module executes the program or instruction, the communication device described in the fourth aspect can perform the method described in the first aspect.
  • the communication device described in the fourth aspect may be a first core network element, such as a delay clock network element or a session management network element, or it may be a chip that can be disposed in the first core network element. (system) or other components or components, this application does not limit this.
  • the technical effects of the communication device described in the fourth aspect may be referred to the technical effects of the communication method described in any possible implementation manner in the first aspect, and will not be described again here.
  • a communication device in a fifth aspect, includes: a transceiver module and a processing module. Wherein, the transceiver module is used to receive the first clock status information from the first device. The first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
  • the transceiver module is also configured to request the first access network device when the clock domain port status of the first device is in the main clock state and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal. Clock synchronization status of the internal clock domain of the communication system.
  • the transceiver module is also configured to receive the clock synchronization status of the internal clock domain of the communication system from the first access network device.
  • the processing module is used to determine, based on the clock synchronization status of the internal clock domain of the communication system, the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain.
  • the processing module is also used to determine that the clock synchronization status of the precise time protocol clock domain is abnormal if there is no abnormality in the clock synchronization status of the internal clock domain of the communication system.
  • the processing module is also used to determine that the clock synchronization status of the internal clock domain of the communication system is abnormal if the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the processing module is also used to obtain information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal.
  • the first access network device is an access network device corresponding to the internal clock domain of the communication system.
  • the transceiver module is also used to send the first request message to the mobility management network element.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device.
  • Network device information may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device.
  • the transceiver module is also used to receive information from the first access network device of the mobility management network element.
  • the first access network device is a terminal device corresponding to a device-side adapter or an access network device to which the first terminal device is connected.
  • the transceiver module is also used to send a second request message to the session management network element.
  • the second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses.
  • Information The transceiver module is also configured to receive information from the first access network device of the session management network element.
  • the first access network device is an access network device to which the terminal device corresponding to the first terminal device or the device-side adapter is connected.
  • the transceiver module is also used to receive clock status notification requests from application network elements.
  • the clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
  • the transceiver module is also configured to send the first clock abnormality information to the second terminal device according to the identifier of the second terminal device.
  • the first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
  • the transceiver module is also used to send a first clock status request to the first device.
  • the first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the transceiver module is also used to send a second clock status request to the second device.
  • the second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock.
  • the first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
  • the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the transceiver module described in the fifth aspect may include a receiving module and a sending module. This application does not specifically limit the specific implementation of the transceiver module.
  • the communication device may further include a storage module that stores programs or instructions.
  • the processing module executes the program or instruction, the communication device described in the fifth aspect can perform the method described in the second aspect.
  • the communication device described in the fifth aspect may be a first core network element, such as a delay clock network element, or may be a chip (system) or other that can be disposed in the first core network element. Parts or components are not limited in this application.
  • a sixth aspect provides a communication device.
  • the communication device includes: a sending module and a receiving module.
  • the receiving module is used to receive the first clock status request from the first core network element.
  • the first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the sending module is configured to send the first clock status information to the first core network element.
  • the first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation, and the precision time protocol clock domain deviation is the clock corresponding to the precision time protocol clock domain on the communication device side
  • the difference between the first clock and the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain received by the communication device.
  • the first clock status information includes whether the clock synchronization status of the precise time protocol clock domain is abnormal
  • the communication device further includes a processing module.
  • the processing module is used to determine the first clock status information according to the precision time protocol clock domain deviation.
  • the processing module is also configured to: if the precision time protocol clock domain deviation is greater than the first threshold, the first clock status information indicates that the synchronization status of the precision time protocol clock domain is abnormal.
  • the processing module is also configured to configure the precision time protocol clock domain deviation to be less than or equal to the first threshold, and then the first clock status information indicates that there is no abnormality in the synchronization status of the precision time protocol clock domain.
  • the first clock status information also includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal
  • the processing module is also configured to determine the first clock status information based on the internal clock domain deviation of the communication system.
  • the communication system internal clock domain deviation is the difference between the clock corresponding to the communication system internal clock domain on the communication device side and the second clock.
  • the second clock is indicated by the synchronization information corresponding to the communication system internal clock domain received by the communication device. clock.
  • the first clock status information may also include: information of the first access network device corresponding to the internal clock domain of the communication system.
  • the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
  • the receiving module and the sending module can be set up separately, or they can be integrated into one module, that is, the sending and receiving module. This application does not specifically limit the specific implementation methods of the receiving module and the sending module.
  • the communication device may further include a storage module that stores programs or instructions.
  • the processing module executes the program or instruction, the communication device described in the sixth aspect can perform the method described in the third aspect.
  • the communication device described in the sixth aspect may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device, or may be disposed on a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
  • the network element, or the chip (system) or other components or components of the first terminal device is not limited in this application.
  • a communication device in a seventh aspect, includes a processor coupled to a memory for storing a computer program.
  • the processor is configured to execute a computer program stored in the memory, so that the method described in any possible implementation manner of the first to third aspects is executed.
  • the communication device described in the seventh aspect may further include a transceiver.
  • the transceiver can be a transceiver circuit or an input/output port.
  • the transceiver may be used for the communication device to communicate with other devices.
  • the input port can be used to implement the receiving functions involved in the first to third aspects
  • the output port can be used to implement the sending functions involved in the first to third aspects.
  • the communication device described in the seventh aspect may be the first core network element or communication equipment, or a chip or chip system provided inside the first core network element or communication equipment.
  • the first core network element may be a delay clock network element or a session management network element
  • the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
  • An eighth aspect provides a communication system.
  • the communication system includes a first core network element, a first device and a second device.
  • the first core network element is used to implement the method described in the first aspect.
  • the first device is used to implement the method described in the third aspect.
  • the second device is used to implement the method described in the third aspect.
  • the communication system includes a communication device as described in the fourth aspect for implementing the method as described in the first aspect, a communication device as described in the sixth aspect for implementing the method as described in the third aspect (communication device (being the first device), and the communication device as described in the sixth aspect for implementing the method as described in the third aspect (the communication device is the second device).
  • the first core network element may be: a delay clock network element, a session management network element, etc.
  • the above-mentioned first device may be a network side adapter or a user plane network element.
  • the second device may be a device-side adapter or the first terminal device.
  • the communication system includes a delay clock network element, a network side adapter, and a device side adapter.
  • the communication system includes a session management network element, a user plane network element and a first terminal device.
  • the communication system includes a first core network element, a first device and a first access network device.
  • the first core network element is used to implement the method described in the first aspect.
  • the first device is used to implement the method described in the third aspect.
  • the first access network device is configured to receive a clock synchronization status request of the internal clock domain of the communication system from the first core network element, and is also configured to send the clock synchronization status of the internal clock domain of the communication system to the first core network element.
  • the communication system includes a communication device as described in the fifth aspect for implementing the method as described in the second aspect, a communication device as described in the sixth aspect for implementing the method as described in the third aspect (communication device is the first device), and the first access network device.
  • the communication system includes a delay clock network element, a network side adapter, and a first access network device.
  • a chip system including a logic circuit and an input/output port.
  • the logic circuit is used to implement the processing functions involved in the first aspect to the third aspect
  • the input/output port is used to implement the transceiver functions involved in the first aspect to the third aspect.
  • the input port can be used to implement the receiving functions involved in the first to third aspects
  • the output port can be used to implement the sending functions involved in the first to third aspects.
  • the chip system further includes a memory, which is used to store program instructions and data for implementing the functions involved in the first to third aspects.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a computer-readable storage medium stores a computer program or instructions; when the computer program or instructions are run on a computer, the steps in the first to third aspects are achieved. The method described in any possible implementation is executed.
  • a computer program product including a computer program or instructions.
  • the computer program or instructions are run on a computer, the method described in any one of the possible implementations of the first to third aspects is achieved. be executed.
  • Figure 1 is a schematic architectural diagram of a communication system provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • Figure 3 is a topological diagram of a transmission path of a clock synchronization signal provided by an embodiment of the present application
  • Figure 4 is a schematic diagram of the integration of a time-sensitive network system and a mobile communication system provided by an embodiment of the present application;
  • Figure 5 is a schematic diagram of a transmission path provided by an embodiment of the present application.
  • Figure 6 is a schematic flow chart of a communication method provided by an embodiment of the present application.
  • Figure 7 is a schematic flow chart of another communication method provided by an embodiment of the present application.
  • Figure 8 is a schematic flow chart of another communication method provided by an embodiment of the present application.
  • Figure 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • Figure 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • the technical solutions of the embodiments of the present application can be applied to various communication systems, such as universal mobile telecommunications system (UMTS), wireless local area network (WLAN), wireless fidelity (wireless fidelity, Wi-Fi) ) system, wired network, vehicle to everything (V2X) communication system, device-to-device (D2D) communication system, Internet of Vehicles communication system, 4th generation (4G) mobile communication Systems, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, fifth generation (5th generation, 5G) mobile communication systems, such as new radio , NR) system, as well as future communication systems, such as the sixth generation (6th generation, 6G) mobile communication system.
  • UMTS universal mobile telecommunications system
  • WLAN wireless local area network
  • Wi-Fi wireless fidelity
  • V2X vehicle to everything
  • D2D device-to-device
  • Internet of Vehicles communication system Internet of Vehicles communication system
  • 4G 4th generation
  • 4G mobile communication Systems
  • FIG. 1 is an architectural schematic diagram of a communication system to which the communication method provided by the embodiment of the present application is applicable.
  • the communication system includes a first core network element, a first device and a second device.
  • the communication system includes a first core network element, a first device and a first access network device.
  • the above-mentioned first core network element is located on the network side of the above-mentioned communication system and can be used to provide network services for the first access network device, the first device and/or the second device, etc.
  • the first core network element may be: a delay clock network element, a session management network element, etc.
  • the delay clock network element can be used to control clock synchronization related functions.
  • the delay clock network element can be a time-sensitive communication and time synchronization function (TSCTSF) network element.
  • TSCTSF time-sensitive communication and time synchronization function
  • the session management network element can be a session management function (SMF) network element, which completes terminal IP address allocation, UPF selection, accounting and QoS policy control, etc.
  • SMF session management function
  • the first core network element can also be other core network elements, as long as it can realize the functions of the first core network element in the embodiment of this application.
  • the above-mentioned first device may be a network side adapter or a user plane network element.
  • the second device may be a device-side adapter or the first terminal device.
  • the first device is a network-side adapter, and the second device is a device-side adapter; or the first device is a user plane network element, and the second device is a first terminal device.
  • the communication system includes a delay clock network element, a network side adapter, and a device side adapter.
  • the communication system includes a session management network element, a user plane network element and a first terminal device.
  • the communication system includes a delay clock network element, a network side adapter, and a first access network device.
  • User plane network element As an interface with the data network, it completes functions such as user plane data forwarding, session/flow-level accounting statistics, and bandwidth limitation. That is, packet routing and forwarding and quality of service (QoS) processing of user plane data, etc.
  • the user plane network element may be a user plane function (UPF) network element.
  • UPF user plane function
  • the first access network device may also be called an access device.
  • the first access network device can manage wireless resources, provide access services for user equipment, and complete data forwarding between the user equipment and the core network.
  • An access network device can also be understood as a base station in the network.
  • the first access network device in the embodiment of the present application may be any communication device with a wireless transceiver function used to communicate with the first terminal device.
  • the first access network equipment includes but is not limited to: evolved Node B (eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (home evolved NodeB, HeNB, or home Node B, HNB), baseband unit (baseBand unit, BBU), access point (AP), wireless relay node, wireless backhaul node, transmission point (TP) or sending and receiving in a wireless fidelity (WIFI) system Point (transmission and reception point, TRP), etc.
  • 5G such as gNB in the NR system, or transmission point (TRP or TP), one or a group (including multiple antenna panels) antennas of the base station in the 5G system
  • the panel may also be a network node that constitutes a gNB or a
  • gNB may include centralized units (CUs) and DUs.
  • the gNB may also include an active antenna unit (AAU).
  • CU implements some functions of gNB
  • DU implements some functions of gNB.
  • CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), and packet data convergence protocol (PDCP) layer functions.
  • RRC radio resource control
  • PDCP packet data convergence protocol
  • DU is responsible for processing physical layer protocols and real-time services, and implementing the functions of the radio link control (RLC) layer, media access control (MAC) layer and physical (physical, PHY) layer.
  • RLC radio link control
  • MAC media access control
  • PHY physical layer
  • the RRC layer information is generated by the CU, and will eventually be encapsulated by the PHY layer of the DU into PHY layer information, or converted from the PHY layer information. Therefore, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by DU, or sent by DU+AAU.
  • the first access network device may be a device including one or more of a CU node, a DU node, and an AAU node.
  • the CU can be divided into access network equipment in the access network (radio access network, RAN), or the CU can be divided into access network equipment in the core network (core network, CN). This application does not Make limitations.
  • the above-mentioned first terminal device is a terminal that is connected to the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be installed in the terminal.
  • the terminal equipment (such as first terminal equipment, etc.) in this application may also be called terminal, user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal , mobile device, user terminal, wireless communication device, user agent or user device.
  • the terminal in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiver functions, a customer premise equipment (customer premise equipment, CPE), or a virtual reality (virtual reality, VR) terminal.
  • AR augmented reality
  • wireless terminals in industrial control wireless terminals in self-driving, wireless terminals in remote medical, smart grid
  • wireless terminals in transportation safety wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocols initiation protocol (SIP) telephone, wireless local loop (WLL) station, personal digital assistant (personal digital assistant (PDA)), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem , vehicle equipment, wearable devices, terminals in 5G networks or terminals in future evolution networks, etc.
  • SIP session initiation protocols initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the terminal device in this application can be an express terminal in smart logistics (such as a device that can monitor the location of cargo vehicles, a device that can monitor the temperature and humidity of cargo, etc.), a wireless terminal in smart agriculture, etc.
  • Terminals such as wearable devices that can collect data about livestock, etc.
  • wireless terminals in smart buildings such as smart elevators, fire monitoring equipment, and smart meters, etc.
  • wireless terminals in smart medical care such as Wearable devices that can monitor the physiological status of people or animals
  • wireless terminals in smart transportation such as smart buses, smart vehicles, shared bicycles, charging pile monitoring equipment, smart traffic lights, and smart monitoring and smart parking equipment, etc.
  • Wireless terminals in smart retail such as vending machines, self-checkout machines, and unmanned convenience stores, etc.
  • the terminal device of this application may be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit built into the vehicle as one or more components or units.
  • the vehicle uses the built-in vehicle-mounted module, vehicle-mounted module
  • the group, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit can implement the method provided by this application.
  • the communication system shown in Figure 1 may be applicable to the communication network currently being discussed, or may be applicable to other networks in the future, etc. This is not specifically limited in the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application.
  • the communication system shown in Figure 1 can be applied to the network architecture shown in Figure 2.
  • the network architecture may include but is not limited to one or more of the following: terminal equipment 100, device side adapter 110, terminal equipment 120, (wireless) access network equipment 130, user plane network element 140, Network side adapter 150, data network 160, mobility management network element 170, session management network element 180, delay clock network element 190, application network element 191, and policy control network element 192.
  • Terminal device 100 It can be a programmable logic controller (PLC) or an input/output (IO) device, or a chip that can be set in the programmable logic control device or the input/output device. or system-on-a-chip.
  • PLC programmable logic controller
  • IO input/output
  • the programmable logic control device can be the main PLC, or the main control robot, etc.
  • the input and output devices can be various types of IO, such as digital input and output modules, voltage and current input and output modules, or temperature input and output modules.
  • Device-side adapter 110 can be used to support TSN and establish a protocol stack related to time-sensitive communication (TSC), including receiving synchronization information from the precise time protocol clock domain for clock synchronization, and conducting data traffic according to the clock synchronization status. Rectification and gating, etc.
  • TSC time-sensitive communication
  • the device-side adapter 110 and the terminal device 120 may be separate devices, or the device-side adapter 110 and the terminal device 120 may be integrated into one device, which is not limited in this application.
  • the device side adapter may be a device side time sensitive network translator (DS-TT).
  • DS-TT device side time sensitive network translator
  • Network side adapter 150 can be used to support TSN and establish TSC-related protocol stacks, including receiving synchronization information from the precise time protocol clock domain for clock synchronization, and performing data traffic rectification and gating according to the clock synchronization status.
  • the network side adapter 150 and the user plane network element 140 may be separate devices, or the network side adapter 150 and the user plane network element 140 may be integrated into one device, which is not limited in this application.
  • the network side adapter may be a network side time sensitive network translator (NW-TT).
  • NW-TT network side time sensitive network translator
  • Data network 160 can be used to provide operator services, Internet access or third-party services, including servers, which implement video source encoding and rendering on the server side.
  • the data network may be a data network (DN).
  • Mobility management network element 170 mainly used for mobility management and access management.
  • the access management network element can be an access and mobility management function (AMF) network element, which mainly performs functions such as mobility management and access authentication/authorization.
  • AMF access and mobility management function
  • the mobility management network element can also be responsible for transmitting user policies between the terminal and the policy control function (PCF) network element.
  • PCF policy control function
  • the implementation of the session management network element 180 may refer to the description of the session management network element in Figure 1 above, and will not be described again here.
  • the implementation of the delay clock network element 190 may refer to the description of the delay clock network element in Figure 1 above, and will not be described again here.
  • Application network element 191 can be used to provide various business services, can interact with the core network through network exposure function (NEF) network elements, and can interact with the policy management framework for policy management.
  • the application network element can be an application function (AF) network element or a time-sensitive network application function (TSNAF) network element, representing a third-party or operator's application Function is the interface for the 5G network to obtain external application data. It is mainly used to convey the needs of the application side to the network side.
  • Policy control network element 192 includes user subscription data management functions, policy control functions, billing policy control functions, quality of service (QoS) control, etc. It is a unified policy framework used to guide network behavior and serves as the control plane Functional network elements (such as AMF, SMF network elements, etc.) provide policy rule information, etc.
  • QoS quality of service
  • the policy control network element may be the PCF.
  • the above network elements or functions can be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
  • the above functional network elements can be divided into one or more services. Furthermore, there may also be services that exist independently of network functions.
  • the above network element or function can be implemented by one device, or can be implemented by multiple devices together, or can be a functional module in one device, which is not specifically limited in the embodiments of this application.
  • FIG. 2 is only a simplified schematic diagram for ease of understanding.
  • the network architecture may also include other network devices and/or other terminal devices, which are not shown in FIG. 2 .
  • the clock domain port status includes master clock status and slave clock status.
  • the master clock state can be called the master state (master state or leader state)
  • the clock domain port in the master clock state can be called the egress port
  • the slave clock state can be called the slave state. (slave state or follower state)
  • the clock domain port in the slave clock state can be called an ingress port, which is not limited in this application.
  • the (generalized) precision time protocol ((g)PTP) clock synchronization mechanism can be used to synchronize clocks between nodes.
  • the main synchronization mechanism is for the master clock to send clock synchronization signals to the slave clock, such as synchronization (sync) signals and follow (follow up) signals.
  • the slave clock calculates the clock deviation between the two and adjusts it.
  • the synchronization signal may include synchronization information (such as configuration information related to the master clock), and the following signal may include the time when the synchronization signal is sent.
  • Figure 3 is a topological diagram of a transmission path of a clock synchronization signal provided by an embodiment of the present application.
  • the clock types in the clock synchronization signal transmission path can include one or more of the following: ordinary clock (ordinary clock, OC), boundary clock (boundary clock, BC) and transparent clock (transparent clock, TC).
  • ordinary clock ordinary clock
  • boundary clock boundary clock
  • transparent clock transparent clock
  • Transparent clocks can estimate the transmission time of synchronization signals and send the transmission time to other clocks that receive the message.
  • FIG. 3 shows the clock domain port status of each clock.
  • the master clock status is abbreviated as M, and the slave clock status is abbreviated as S.
  • the synchronization signal and the follow-up signal can only be sent from the clock domain port in the master clock state to the clock domain port in the slave clock state.
  • OC1 is the master clock and OC2-OC4 are slave clocks.
  • the master clock OC1 sends the synchronization signal and the follow-up signal to the clock domain port 1 of BC1 through the transparent clock TC (port 1 is the slave clock state S).
  • the transparent clock TC can be regarded as Transparent transmission path, no clock domain port status.
  • the boundary clock can only receive the synchronization signal and the following signal from the clock domain port in the slave clock state, and send the received signal to the clock domain port in the slave clock state.
  • the clock domain port 1 of BC1 receives the synchronization signal and the following signal. It can be sent to the clock domain port 2 of BC1 and the clock domain port 2 of BC1 (both clock domain port 2 and clock domain port 3 are in the main clock state M).
  • Figure 4 is a schematic diagram of the integration of a time-sensitive network system and a mobile communication system according to an embodiment of the present application.
  • the time-sensitive network system uses the (generalized) precise time protocol clock domain, and the mobile communication system uses the internal clock domain of the communication system.
  • the time-sensitive network system can send the synchronization information corresponding to (g)PTP to the end device (the device that needs to be connected to the time-sensitive network) through the mobile communication system, so that the end device can perform time synchronization.
  • the mobile communication system can serve as the boundary of the time-sensitive network. clock.
  • the clock represented by the solid line in Figure 4 may be the clock corresponding to the internal clock domain of the communication system, and the clock represented by the dotted line in Figure 4 may be the clock corresponding to the precise time protocol clock domain.
  • Figure 4 indicates that synchronization information corresponding to the precise time protocol clock domain is transmitted from the network side adapter to the device side adapter as an example.
  • Terminal equipment can be externally connected or integrated with device-side adapters, and user plane network elements can be externally connected with or integrated with network-side adapters.
  • This application takes the Precision Time Protocol clock domain as an example for elaboration.
  • the methods or functions applicable to the Precision Time Protocol clock domain are also applicable to the Generalized Precision Time Protocol clock domain.
  • the time-sensitive network system can send and broadcast the synchronization information (synchronization information corresponding to the precise time protocol clock domain) to the network bridge and/or the terminal device that can directly receive it through the corresponding management entity, and the network bridge transmits the synchronization information.
  • the user plane network element can receive the synchronization information of the time-sensitive network broadcast through the network side adapter and send it to each terminal device (for example, in the form of unicast), and then the terminal device sends the synchronization information to the end device through the device side adapter.
  • the mobile communication system can send synchronization information (synchronization information corresponding to the internal clock domain of the communication system) to the access network device through the corresponding management entity, and the access network device can use system information block (SIB) messages or wireless resources.
  • SIB system information block
  • the synchronization information is sent to the terminal device in the form of a radio resource control (RRC) message, and then the terminal device transmits the synchronization information to the device-side adapter.
  • RRC radio resource control
  • the access network equipment can send the synchronization information to the user plane network element.
  • the user plane network element can receive and maintain the clock corresponding to the internal clock domain of the communication system (the clock represented by the solid line in Figure 4) and the clock corresponding to the precise time protocol clock domain (the clock represented by the solid line in Figure 4 ), the network side adapter can receive and maintain the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precise time protocol clock domain.
  • the access network equipment can receive and maintain the clock corresponding to the internal clock domain of the communication system, and the terminal equipment receives and maintains the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precision time protocol clock domain.
  • the device-side adapter can receive and maintain the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precise time protocol clock domain.
  • Figure 5 is a schematic diagram of a transmission path provided by an embodiment of the present application.
  • the network side adapter can receive the synchronization information broadcast by the time-sensitive network (synchronization information corresponding to the clock domain of the precision time protocol), and transmit it through the nodes in the mobile communication system (user plane network elements, access network equipment and terminals). device) to the device-side adapter, or the device-side adapter can also receive the synchronization information broadcast by the time-sensitive network and transmit it to the network side through the nodes in the mobile communication system (terminal equipment, access network equipment and user plane network elements) adapter.
  • the time-sensitive network synchronization information corresponding to the clock domain of the precision time protocol
  • the device-side adapter can also receive the synchronization information broadcast by the time-sensitive network and transmit it to the network side through the nodes in the mobile communication system (terminal equipment, access network equipment and user plane network elements) adapter.
  • dwell time will be generated in the mobile communication system.
  • Equipment in the mobile communication system can use the internal clock of the communication system
  • the data packet header of the synchronization information includes a correction field.
  • the user plane network element receives the data packet and sends it to the terminal device through the access network device.
  • the terminal device receives the data packet and adds the correction field in the data packet header.
  • the residence time of the data packet from the user plane network element to the terminal device and is sent to the terminal device. In this way, the terminal device obtains the residence time of the synchronization information corresponding to the precise time protocol clock domain in the node of the mobile communication system.
  • FIG. 6 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • the first core network element may be a delay clock network element or a session management network element
  • the first device may be a network side adapter or a user plane network element
  • the second device may be a device side adapter or first terminal device.
  • the first core network element is a delay clock network element
  • the first device is a network-side adapter
  • the second device is a device-side adapter.
  • the first core network element is a session management network element
  • the first device is a user plane network element
  • the second device is a first terminal device.
  • the communication method includes the following steps:
  • the first device sends the first clock status information to the first core network element.
  • the first core network element receives the first clock status information from the first device.
  • the first clock status information may be used to indicate the clock synchronization status of the precision time protocol clock domain.
  • the first clock status information may also be used to indicate the clock synchronization status of the internal clock domain of the communication system.
  • the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the first clock status information may also include: whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
  • the precision time protocol clock domain deviation may be a difference between a clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
  • the clock corresponding to the precise time protocol clock domain on the first device side may be the clock corresponding to the precise time protocol clock domain stored locally on the first device.
  • the first clock may be a clock indicated by synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information corresponding to the precise time protocol clock domain can be used to clock synchronize the clock of the precise time protocol clock domain, and the first clock is the clock indicated by the synchronization information.
  • the network side adapter receives synchronization information corresponding to the precise time protocol clock domain (for example Through synchronization signal reception), the synchronization information indicates the first clock 1, and the network side adapter locally stores the clock 1 corresponding to the precision time protocol clock domain, then the difference between the first clock 1 and clock 1 is the precision time protocol clock domain deviation 1.
  • the network side adapter can perform clock synchronization and replace the local clock 1 with the first clock 1 .
  • the communication system internal clock domain deviation may be a difference between a clock corresponding to the communication system internal clock domain on the first device side and the second clock.
  • the second clock may be a clock indicated by the synchronization information corresponding to the internal clock domain of the communication system received by the first device.
  • the first device can receive synchronization information corresponding to the internal clock domain of the communication system.
  • the synchronization information corresponding to the internal clock domain of the communication system is used to clock synchronize the clock of the internal clock domain of the communication system.
  • the second clock is the synchronization information. Indicating clock.
  • the first clock status information may explicitly indicate the clock synchronization status of the precision time protocol clock domain through whether the clock synchronization status of the precision time protocol clock domain is abnormal, or may indicate the precise time implicitly through the deviation of the precision time protocol clock domain. Clock synchronization status of the protocol clock domain.
  • the precision time protocol clock domain deviation is greater than the first threshold, it indicates that the synchronization status of the precision time protocol clock domain is abnormal. If the precision time protocol clock domain deviation is less than or equal to the first threshold, it indicates that there is no abnormality in the synchronization state of the precision time protocol clock domain.
  • the first clock status information can explicitly indicate the clock synchronization status of the internal clock domain of the communication system by whether the clock synchronization status of the internal clock domain of the communication system is abnormal, or it can implicitly indicate the communication system by using the deviation of the internal clock domain of the communication system. Clock synchronization status of the internal clock domain.
  • the deviation of the internal clock domain of the communication system is greater than the second threshold, it indicates that the synchronization status of the internal clock domain of the communication system is abnormal. If the deviation of the internal clock domain of the communication system is less than or equal to the second threshold, it indicates that there is no abnormality in the synchronization state of the internal clock domain of the communication system.
  • the first clock status information may also indicate whether the clock synchronization status of the precise time protocol clock domain has returned to normal, and/or whether the clock synchronization status of the internal clock domain of the communication system has returned to normal.
  • the first clock status information may be explicitly indicated by whether the clock synchronization status of the Precision Time Protocol clock domain is restored to normal, or may be implicitly indicated by whether the clock synchronization status of the Precision Time Protocol clock domain is restored to normal by the deviation of the Precision Time Protocol clock domain. Back to normal.
  • the first clock status information may be explicitly indicated by whether the clock synchronization status of the internal clock domain of the communication system is restored to normal, or it may be implicitly indicated by whether the clock synchronization status of the internal clock domain of the communication system is restored to normal by the deviation of the internal clock domain of the communication system. Back to normal.
  • the method provided by the embodiment of the present application may also include: the first device sending information about the first access network device corresponding to the internal clock domain of the communication system to the first core network element.
  • the first core network element receives information from the first access network device corresponding to the internal clock domain of the communication system of the first device.
  • the information about the first access network device may include: an identifier of the first access network device, and/or an address of the first access network device, etc.
  • the first core network element can obtain the terminal device that accesses the first access network device based on the information of the first access network device.
  • the internal clock domain of the communication system is abnormal, it can obtain the terminal device based on the first access network device.
  • Device information is obtained from the affected end device.
  • the first device sends the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element, and the first device sends the first clock status information to the first core network element. It can be performed in the same step or in different steps, which is not limited in this application.
  • the device-side adapter can send the above-mentioned first clock status information to the first core network element through the first terminal device, and send it to the first core network element. Yuan.
  • the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information corresponding to the internal clock domain of the communication system may be received by the first device through the synchronization signal corresponding to the internal clock domain of the communication system.
  • the first device is a user plane network element
  • the user plane network element receives a synchronization signal from a management entity of the mobile communication system.
  • the synchronization signal carries synchronization information corresponding to the internal clock domain of the communication system.
  • the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system.
  • the synchronization information corresponding to the internal clock domain of the communication system can be the clock information of the internal clock domain of the communication system sent by the user plane network element to the network-side adapter.
  • the clock information of the internal clock domain of the communication system can be It is the clock of the internal clock domain of the communication system obtained after clock synchronization of user plane network elements.
  • the synchronization information corresponding to the precise time protocol clock domain may be received by the first device through the synchronization signal corresponding to the precise time protocol clock domain.
  • the first device is a network-side adapter
  • the network side adapter receives a synchronization signal from a management entity of the time-sensitive network system, and the synchronization signal carries synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information corresponding to the precision time protocol clock domain may be the clock information of the precision time protocol clock domain.
  • the first device is a user plane network element to transmit accurate data from the network side adapter to the device side adapter.
  • the synchronization information corresponding to the precise time protocol clock domain can be the clock information of the precise time protocol clock domain sent by the network side adapter to the user plane network element.
  • the clock information of the precise time protocol clock domain can be the precise clock information obtained by the network side adapter after clock synchronization.
  • the clock for the time protocol clock domain can be the clock information of the precise time protocol clock domain sent by the network side adapter to the user plane network element.
  • the clock information of the precise time protocol clock domain can be the precise clock information obtained by the network side adapter after clock synchronization.
  • the information, messages, or requests transmitted between the first device and the first core network element may be sent directly or through other devices.
  • the user plane network element can directly send the first clock status information to the session management network element.
  • the first device is a network side adapter.
  • the network side adapter can send the first clock status information to the delay clock network element through the session management network element and the policy control network element.
  • the network side adapter can use the port management message container (port management information container (PMIC) message or user plane node management information container (UMIC) message to send the first clock status information to the delay clock network element.
  • PMIC port management information container
  • UMIC user plane node management information container
  • Information, messages, or requests transmitted between the second device and the first core network element may be sent through other devices.
  • the device-side adapter can send the second clock state to the delay clock network element through the terminal device, the first access network device, the mobility management network element, and the session management network element.
  • Information for example, the device-side adapter can send the second clock status information to the delay clock network element through a PMIC message or a UMIC message.
  • the first terminal device may send the second clock status information to the session management network element through the first access network device and the mobility management network element.
  • the second device sends the second clock status information to the first core network element.
  • the first core network element receives the second clock status information from the second device.
  • the second clock status information may be used to indicate the clock synchronization status of the precision time protocol clock domain.
  • the second clock status information may also be used to indicate the clock synchronization status of the internal clock domain of the communication system.
  • the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
  • the second clock status information may also include: whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
  • the implementation of the second clock status information is similar to the first clock status information.
  • the second clock status information can explicitly and/or implicitly indicate the clock synchronization status of the precise time protocol clock domain.
  • the second clock status information can explicitly and/or implicitly indicate the clock synchronization status of the precise time protocol clock domain. Or implicitly indicate the clock synchronization status of the internal clock domain of the communication system.
  • the second clock status information may also indicate whether the clock synchronization status of the precise time protocol clock domain has returned to normal, and/or whether the clock synchronization status of the internal clock domain of the communication system has returned to normal.
  • the clock synchronization status of the precise time protocol clock domain has returned to normal
  • the clock synchronization status of the internal clock domain of the communication system has returned to normal.
  • the method provided by the embodiment of the present application may also include: the second device sending the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element.
  • the first core network element receives information from the first access network device corresponding to the internal clock domain of the communication system of the second device.
  • the second device sends the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element, and the second device sends the second clock status information to the first core network element. It can be performed in the same step or in different steps, which is not limited in this application.
  • the second device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information corresponding to the internal clock domain of the communication system may be received by the second device through the synchronization signal corresponding to the internal clock domain of the communication system.
  • the second device is a first terminal device
  • the first terminal device receives a synchronization signal from a management entity of the mobile communication system.
  • the synchronization signal carries synchronization information corresponding to the internal clock domain of the communication system.
  • the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system.
  • the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system sent by the first terminal device to the device-side adapter.
  • the clock information of the internal clock domain of the communication system may be It is the clock of the internal clock domain of the communication system obtained after the first terminal device performs clock synchronization.
  • the synchronization information corresponding to the precise time protocol clock domain may be received by the second device through the synchronization signal corresponding to the precise time protocol clock domain.
  • the second device is a device-side adapter
  • the device-side adapter receives a synchronization signal from a management entity of the time-sensitive network system, and the synchronization signal carries synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information corresponding to the precision time protocol clock domain may be the clock information of the precision time protocol clock domain.
  • the second device is the first terminal device
  • the synchronization information corresponding to the precise time protocol clock domain may be the clock information of the precise time protocol clock domain sent by the device-side adapter to the first terminal device.
  • the clock information of the precise time protocol clock domain may be the precise clock information obtained by the device-side adapter after clock synchronization.
  • the clock for the time protocol clock domain may be the clock information of the precise time protocol clock domain sent by the device-side adapter to the first terminal device.
  • the clock information of the precise time protocol clock domain may be the precise clock information obtained by the device-side adapter after clock synchronization.
  • the clock for the time protocol clock domain may be the transmission of synchronization information corresponding to the precise time protocol clock domain from the network side adapter to the device side adapter.
  • the first core network element determines the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
  • the clock domain port status of the first device is the slave clock status
  • the clock domain port status of the second device is the master clock status.
  • the above S603 may include: if the first clock status information indicates the precise time If there is no abnormality in the clock synchronization status of the protocol clock domain, and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the first clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
  • the first device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the second device through the mobile communication system
  • the first device determines the clock of the Precision Time Protocol clock domain
  • the second device determines that the clock synchronization status of the precise time protocol clock domain is abnormal, and the result of the second device is affected by the clock synchronization status of the internal clock domain of the communication system
  • the first core network element According to the first clock status information fed back by the first device and the second clock status information fed back by the second device, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal based on the first clock status information fed back by the first device.
  • the first core network element may directly determine that the clock synchronization status of the Precision Time Protocol clock domain is abnormal without considering the second clock status information. . Because the second clock status information is affected by the clock synchronization status of the precise time protocol clock domain, it must indicate that the clock synchronization status of the precise time protocol clock domain is abnormal.
  • the above design method can be applied to a scenario where the first device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the second device through the mobile communication system.
  • the clock domain port status of the second device is the slave clock status
  • the clock domain port status of the first device is the master clock status.
  • the above S603 may include: If the second clock status information indicates accurate If there is no abnormality in the clock synchronization status of the time protocol clock domain, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
  • the second device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the first device through the mobile communication system
  • the first device determines that the clock synchronization status of the precise time protocol clock domain is abnormal, and the result of the first device is affected by the clock synchronization status of the internal clock domain of the communication system
  • the first core network element determines based on the first clock fed back by the first device
  • the status information and the second clock status information fed back by the second device determine that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal based on the second clock status information fed back by the second device.
  • the first core network element may directly determine that the clock synchronization status of the Precision Time Protocol clock domain is abnormal without considering the first clock status information. . Because the first clock status information is affected by the clock synchronization status of the Precision Time Protocol clock domain, it must indicate that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
  • the above design method can be applied to a scenario where the second device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the first device through the mobile communication system.
  • the first device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the second device through the mobile communication system
  • the second device receives the synchronization information of the Precision Time Protocol clock domain
  • the first clock status information indicates the clock synchronization of the Precision Time Protocol clock domain
  • the first core network element determines the clock synchronization status of the precise time protocol clock domain and the internal clock domain of the communication system based on the first clock status information fed back by the first device and the second clock status information fed back by the second device. There is no abnormality in the clock synchronization status.
  • the above S603 may include: if the first clock status information and the second clock status information both indicate that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element determines The clock synchronization status of the precision time protocol clock domain is abnormal.
  • the clock domain port status of the first device or the second device may be determined directly based on the first clock status information and the second clock status information, without considering the clock domain port status of the first device or the second device.
  • both the first clock status information and the second clock status information indicate that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
  • both the first clock status information and the second clock status information indicate that the clock synchronization status of the precise time protocol clock domain is normal, it is determined that the clock synchronization status of the precise time protocol clock domain and the clock synchronization status of the internal clock domain of the communication system are normal. .
  • the above-mentioned S603 first core network element determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
  • the clock synchronization status of the internal clock domain of the communication system indicated by the first clock status information and/or the clock synchronization status of the internal clock domain of the communication system indicated by the second clock status information may also be considered.
  • the number of second clock status information in S603 above may be one or more, and the first core network element may obtain the clock status information from the internal clock domain of the communication system based on the first clock status information and at least one second clock status information. In the precise time protocol clock domain, determine the clock domain in which the clock synchronization status is abnormal.
  • the plurality of second clock status information may come from multiple second devices.
  • the plurality of second clock status information may come from multiple device-side adapters, and the multiple device-side adapters may be device adapters that access the same or different access network devices through terminal devices (the terminal devices may be the same or different).
  • the first device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the second device through the mobile communication system
  • the second device as a device-side adapter as an example, assuming that multiple second devices
  • the device is connected to the same access network device through different terminal devices
  • the second device 1 and the second device 2 are connected to the terminal device 1
  • the second device 3 is connected to the terminal device 2
  • the second clock status information 1 (corresponding to the second device 1)
  • the second clock status information 2 (corresponding to the second device 2) indicates that the clock synchronization status of the precise time protocol clock domain is normal.
  • the second clock status information 3 (corresponds to the second device 3) Indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element may use the second clock status information 1 and the second clock status information 2, without considering the second clock status information 3.
  • the abnormality of the channel between the terminal device 2 and the access network device causes the synchronization information of the clock domain of the precise time protocol to be transmitted to be abnormal, thus causing the second clock status information 3 (corresponding to the second device 3) to indicate the precise time.
  • the clock synchronization status of the protocol clock domain is abnormal.
  • the first core network element may determine the clock domain in which the clock synchronization state is abnormal based on the first clock status information, the second clock status information 1 and the second clock status information 2. In this way, the first core network element can make a comprehensive judgment based on the first clock status information and at least one second clock status information, thereby improving the accuracy of determining the clock domain in which the clock synchronization status is abnormal.
  • the clock domain in which the clock synchronization status is abnormal may be determined by the policy control network. element or other network elements.
  • the first core network element receives the first clock status information and sends it to the policy control network element or other network elements.
  • the first core network element receives the second clock status information and sends it to the policy control network element or other network elements. other network elements. In this way, the policy control network element or other network elements obtain the first clock status information and the second clock status information.
  • the policy control network element or other network elements obtain the result of the clock domain in which the clock synchronization status is abnormal and send it to the first core network element, or the second clock abnormality information can be sent to the application network element. For example, execute the following figure S802 to S804 in 8.
  • the method provided by this application may also include: S604, the first core network element sends a first clock status request to the first device.
  • the first device receives the first clock status request from the first core network element.
  • the first clock status request may include an identification of the Precision Time Protocol clock domain.
  • the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the first clock status request may also include an identification of the internal clock domain of the communication system, and the first clock status request may also be used to request the clock synchronization status of the internal clock domain of the communication system.
  • the method provided by this application may also include: S605, the first device determines the first clock status information.
  • the first clock status information includes the precision time protocol clock domain deviation.
  • the above S605 may include: the first device may synchronize the clock corresponding to the precision time protocol clock domain on the first device side and the clock corresponding to the precision time protocol clock domain. information to obtain precise time protocol clock domain deviation.
  • the first device locally stores the clock corresponding to the precise time protocol clock domain, such as clock 1.
  • the first device receives the synchronization information corresponding to the precise time protocol clock domain.
  • the synchronization information indicates clock 2.
  • the deviation of the precise time protocol clock domain is The difference between clock 1 and clock 2.
  • the first clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the above S605 may include: the first device determines the first clock status information based on the precision time protocol clock domain deviation.
  • the first device can determine whether the clock synchronization state of the precision time protocol clock domain is abnormal based on the precision time protocol clock domain deviation.
  • the above-mentioned first device determines the first clock status information based on the precision time protocol clock domain deviation, which may include: the precision time protocol clock domain deviation is greater than the first threshold, then the first clock status information indicates the precision time protocol clock domain. The synchronization status is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
  • the first device determining the first clock status information based on the precision time protocol clock domain deviation may include: the first device determining the first clock status information based on the precision time protocol clock domain deviation and the first deviation.
  • the first clock status information indicates that the synchronization status of the precision time protocol clock domain is abnormal.
  • the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
  • the clock synchronization may be performed according to the synchronization information of the internal clock domain of the communication system, and the clock in the internal clock domain of the communication system local to the first device may be replaced by Second clock.
  • the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
  • the precision time protocol clock domain deviation is greater than the first threshold, and the first deviation is greater than the fifth threshold, then there is a problem with the local clock of the first device's precision time protocol clock domain, and the clock can be performed based on the synchronization information of the precision time protocol clock domain. Synchronizing, replacing the clock of the local precision time protocol clock domain of the first device with the first clock.
  • the first deviation may be a difference between a clock corresponding to the precise time protocol clock domain on the first device side and a clock corresponding to the internal clock domain of the communication system on the first device side.
  • the clock corresponding to the precise time protocol clock domain stored in the first device is clock a
  • the clock corresponding to the communication system internal clock domain stored in the first device is clock b
  • the first deviation is the difference between clock a and clock b.
  • the first clock status information includes the internal clock domain deviation of the communication system.
  • the above S605 may include: the first device may synchronize according to the clock corresponding to the internal clock domain of the communication system on the first device side and the corresponding clock domain of the internal clock domain of the communication system. information to obtain the internal clock domain deviation of the communication system.
  • the first device locally stores the clock corresponding to the internal clock domain of the communication system, such as clock 3.
  • the first device receives the synchronization information corresponding to the internal clock domain of the communication system.
  • the synchronization information indicates clock 4.
  • the internal clock domain deviation of the communication system is The difference between clock 3 and clock 4.
  • the first clock status information includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the above S605 may include: the first device determines the first clock status information based on the internal clock domain deviation of the communication system.
  • the first device can determine whether the clock synchronization state of the internal clock domain of the communication system is abnormal based on the internal clock domain deviation of the communication system.
  • the above-mentioned first device determines the first clock status information based on the internal clock domain deviation of the communication system.
  • the determination of the first clock status information may include: the internal clock domain deviation of the communication system is greater than the second threshold, then the first clock status information indicates the internal clock domain of the communication system.
  • the synchronization status is abnormal.
  • the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
  • the above-mentioned first device determining the first clock status information based on the internal clock domain deviation of the communication system may include: the first device determining the first clock status information based on the internal clock domain deviation of the communication system and the first deviation.
  • the communication system internal clock deviation is greater than the second threshold, and the first deviation is less than or equal to the sixth threshold. value, the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is abnormal.
  • the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
  • the clock of the first device's local Precision Time Protocol clock domain may be synchronized according to the synchronization information of the Precision Time Protocol clock domain, and the clock of the first device's local Precision Time Protocol clock domain may be replaced by First clock.
  • the internal clock deviation of the communication system is greater than the second threshold, and the first deviation is greater than the sixth threshold, then there is a problem with the clock of the internal clock domain of the local communication system of the first device, and clock synchronization can be performed based on the synchronization information of the internal clock domain of the communication system. , replacing the clock of the internal clock domain of the communication system local to the first device with the second clock.
  • the first to sixth thresholds may be preset, the fifth threshold and the sixth threshold may be equal or unequal, and the first to sixth thresholds may be equal or unequal to each other. There are no restrictions on applications.
  • the method provided by this application may also include: S606, the first core network element sends a second clock status request to the second device.
  • the second device receives the second clock status request from the first core network element.
  • the second clock status request may include an identification of the Precision Time Protocol clock domain.
  • the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the second clock status request may also include the identification of the internal clock domain of the communication system, and the second clock status request may also be used to request the clock synchronization status of the internal clock domain of the communication system.
  • S606 can be executed before the above-mentioned S602, and this application does not limit the order between the above-mentioned S604 and S606.
  • the method provided by this application may also include: S607, the second device determines the second clock status information.
  • the second clock status information includes the precision time protocol clock domain deviation.
  • the above S607 may include: the second device may synchronize the clock corresponding to the precision time protocol clock domain on the second device side and the clock corresponding to the precision time protocol clock domain. information to obtain precise time protocol clock domain deviation.
  • the specific implementation method may refer to the corresponding description in the above-mentioned S605, the first device determines the first clock status information, and just replace the first device with the second device.
  • the second clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal.
  • the above S607 may include: the second device determines the second clock status information based on the precision time protocol clock domain deviation.
  • the above-mentioned second device determines the second clock status information based on the precision time protocol clock domain deviation, which may include: the precision time protocol clock domain deviation is greater than a third threshold, then the second clock status information indicates the precision time protocol clock domain. The synchronization status is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the third threshold, then the second clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
  • the third threshold and the first threshold may be equal or unequal.
  • the second device determining the second clock status information based on the precise time protocol clock domain deviation may include: the second device determining the second time based on the precise time protocol clock domain deviation and the second deviation. clock status information.
  • the specific implementation method is similar to the first device determining the first clock status information based on the precision time protocol clock domain deviation and the first deviation in S605 above. Reference may be made to the description of S605 above, which will not be described again in this application.
  • the second deviation may be a difference between a clock corresponding to the precision time protocol clock domain on the second device side and a clock corresponding to the internal clock domain of the communication system on the second device side.
  • the second deviation is similar to the first deviation in the above-mentioned S605, and reference may be made to the description of the above-mentioned S605, which will not be described again in this application.
  • the second clock status information includes the internal clock domain deviation of the communication system.
  • the above S607 may include: the second device may synchronize according to the clock corresponding to the internal clock domain of the communication system on the second device side and the corresponding clock domain of the internal clock domain of the communication system. information to obtain the internal clock domain deviation of the communication system.
  • the specific implementation method may refer to the corresponding description in the above-mentioned S605, the first device determines the first clock status information, and just replace the first device with the second device.
  • the second clock status information includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the above S607 may include: the first device determines the second clock status information based on the internal clock domain deviation of the communication system.
  • the above-mentioned second device determines the second clock status information based on the internal clock domain deviation of the communication system may include: the internal clock domain deviation of the communication system is greater than the fourth threshold, then the second clock status information indicates the internal clock domain of the communication system The synchronization status is abnormal. Alternatively, if the deviation of the internal clock domain of the communication system is less than or equal to the fourth threshold, then the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
  • the fourth threshold and the second threshold may be equal or unequal.
  • the second device determining the second clock status information based on the internal clock domain deviation of the communication system may include: the second device determining the second clock status information based on the internal clock domain deviation of the communication system and the second deviation.
  • the specific implementation method is similar to the first device determining the first clock status information based on the internal clock domain deviation and the first deviation of the communication system in the above-mentioned S605. Reference may be made to the description of the above-mentioned S605, which will not be described again in this application.
  • both the first device and the second device support obtaining the synchronization information corresponding to the internal clock domain of the communication system and the synchronization information corresponding to the precise time protocol clock domain.
  • the first device is a network-side adapter
  • the second device is the device side adapter.
  • the first device is a user plane network element
  • the second device is the first terminal device.
  • the first device and the second device respectively send first clock status information and second clock status information to the first core network element.
  • the first clock status information indicates the clock synchronization status of the precise time protocol clock domain
  • the second clock status information Indicates the clock synchronization status of the Precision Time Protocol clock domain.
  • the core network element can accurately determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
  • FIG. 7 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • the first core network element may be a delay clock network element
  • the first device may be a network side adapter.
  • the communication method shown in Figure 7 is applied in a scenario where the device-side adapter sends synchronization information of the precise time protocol clock domain to the network-side adapter.
  • the communication method includes the following steps:
  • the first device sends the first clock status information to the first core network element.
  • the first core network element receives the first clock status information from the first device.
  • the first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • the first clock status information may include one or more of the following: whether the clock synchronization status of the precision time protocol clock domain is abnormal, whether the clock synchronization status of the precision time protocol clock domain is abnormal, whether the clock synchronization status of the internal clock domain of the communication system is abnormal, The internal clock domain deviation of the communication system and/or the information of the first access network device corresponding to the internal clock domain of the communication system.
  • the clock domain port status of the first device is the main clock status
  • the first clock status information indicates that there is no abnormality in the clock synchronization status of the precision time protocol clock domain, the precision time protocol clock domain and the internal communication system There is no abnormality in the clock synchronization status of the clock domain.
  • the device side adapter sends the synchronization information of the precise time protocol clock domain to the network side adapter through the mobile communication system
  • the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is not abnormal
  • the precise time There is no abnormality in the clock synchronization status of the protocol clock domain and the internal clock domain of the communication system.
  • the first access network device may be configured by further Request the clock synchronization status of the internal clock domain of the communication system to determine which of the precise time protocol clock domain and the internal clock domain of the communication system has an abnormal clock synchronization status.
  • the first core network element may request the first access network device for information about the first access network device.
  • the first core network element can obtain the terminal device that accesses the first access network device based on the information of the first access network device.
  • the internal clock domain of the communication system is abnormal, it can obtain the terminal device based on the first access network device.
  • Device information is obtained from the affected end device.
  • the first core network element requests the first access network device for information about the first access network device and requests the first access network device for the clock synchronization status of the internal clock domain of the communication system in the same step. execution, this application is not limited to this.
  • the first access network device sends the clock synchronization status of the internal clock domain of the communication system to the first core network element.
  • the first core network element receives the clock synchronization status of the internal clock domain of the communication system of the first access network device.
  • the first access network device sends to the first core network element whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
  • the first access network device may send the information of the first access network device to the first core network element.
  • first access network device sending the information of the first access network device to the first core network element and sending the clock synchronization status of the internal clock domain of the communication system to the first core network element can be performed in the same step. execution, this application is not limited to this.
  • the first access network device may determine the clock synchronization status of the internal clock domain of the communication system.
  • the first access network device may obtain the communication system internal clock domain deviation based on the clock corresponding to the communication system internal clock domain on the first access network device side and the synchronization information corresponding to the communication system internal clock domain.
  • the specific implementation method is similar to the method in which the first device obtains the internal clock domain deviation of the communication system in S605. Reference may be made to the description of S605, which will not be described again here.
  • the first access network device may determine whether the clock synchronization state of the internal clock domain of the communication system is abnormal based on the internal clock domain deviation of the communication system.
  • the specific implementation manner is similar to the manner in which the first device determines whether the clock synchronization state of the internal clock domain of the communication system is abnormal in the above-mentioned S605. Reference may be made to the description of S605, which will not be described again here.
  • the first core network element determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system.
  • the above S704 includes: if the clock synchronization status of the internal clock domain of the communication system is not abnormal, the first core network element determines that the clock synchronization status of the precise time protocol clock domain is abnormal.
  • the device side adapter receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the network side adapter through the mobile communication system, if the clock synchronization status of the precise time protocol clock domain is abnormal, the internal clock of the communication system If there is no abnormality in the clock synchronization status of the domain, the first core network element determines that the clock synchronization status of the precise time protocol clock domain is abnormal.
  • the above S704 includes: if the clock synchronization status of the internal clock domain of the communication system is abnormal, the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal.
  • the device side adapter receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the network side adapter through the mobile communication system
  • the clock synchronization status of the precise time protocol clock domain is abnormal
  • the internal clock of the communication system The clock synchronization status of the domain is abnormal.
  • the abnormal clock synchronization status of the precision time protocol clock domain may be caused by the abnormal clock synchronization status of the internal clock domain of the communication system.
  • the first core network element determines the clock synchronization status of the internal clock domain of the communication system. An exception occurs.
  • the method provided by this application may also include: S705, the first core network element sends a first clock status request to the first device.
  • the first device receives the first clock status request from the first core network element.
  • S705 may refer to the above-mentioned S604, and will not be described again here.
  • the above S705 may be executed before the above S701.
  • the method provided by this application may further include: the first device determines the first clock status information.
  • the specific implementation method may refer to the above-mentioned S605, which will not be described again here.
  • the clock domain port status of the first device when the clock domain port status of the first device is in the main clock state, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the clock domain port status of the first device can be passed to the third device.
  • An access network device requests the clock synchronization status of the internal clock domain of the communication system, and determines the clock synchronization status of which of the precise time protocol clock domain and the internal clock domain of the communication system is based on the clock synchronization status of the internal clock domain of the communication system. abnormal.
  • FIG. 8 is a schematic flowchart of yet another communication method provided by an embodiment of the present application.
  • the first core network element may be a delay clock network element or a session management network element.
  • the communication method includes the following steps:
  • the application network element sends a clock status notification request to the first core network element. Accordingly, the first core network The network element receives the clock status notification request from the application network element.
  • the clock status notification request may be used to request the clock synchronization status of the second terminal device.
  • the clock status notification request may include the identification of the second terminal device and may also include the clock domain identification.
  • the clock status notification request may be used to request the clock synchronization status of the clock domain corresponding to the clock domain identification of the second terminal device.
  • the clock status notification request may also include the clock domain type of the clock domain corresponding to the clock domain identifier.
  • the clock domain type may include a precision time protocol clock domain or a communication system internal clock domain.
  • the number of second terminal devices may be one or more.
  • the second terminal device can be the first terminal device. If the number of second terminal devices may be multiple, the plurality of second terminal devices may include the first terminal device.
  • the clock status notification request may include identifications corresponding to multiple second terminal devices, or the application network element may send clock status notifications to the first core network element multiple times. request, the clock status notification request includes an identification of the second terminal device.
  • the user plane network element can monitor the clock synchronization status of one or more second terminal devices.
  • the first core network element may be a delay clock network element.
  • the above S801 may include: the application network element sends a clock status notification request to the delay clock network element. That is to say, when the first core network element is the session management network element, the clock status notification request may be sent to the delay clock network element.
  • S801 can be executed before the above-mentioned S604 or S705.
  • the first core network element receives the identification of the second terminal device, can obtain the first device corresponding to the second terminal device according to the identification of the second terminal device, and provides the first device to the second terminal device.
  • the first device sends a first clock status request.
  • the method provided by the embodiment of the present application may also include: S805, the device side adapter, the network side adapter, the user plane network element, the delay clock network element, etc., establish a TSC session.
  • the delay clock network element can obtain the clock domain port information of the device-side adapter. For example, the address or identification of the clock domain port of the device-side adapter, the correspondence between the identification of the clock domain port of the device-side adapter and the clock domain identification, the correspondence between the identification of the clock domain port of the device-side adapter and the identification of the terminal device, etc.
  • the first core network element can use the corresponding relationship between the clock domain port identifier of the device-side adapter and the clock domain identifier, and the identification of the clock domain port of the device-side adapter.
  • the corresponding relationship with the identification of the terminal device is to obtain the affected terminal device.
  • establishing the TSC session can be performed before the above S801.
  • the method provided by the embodiments of this application may also include: S806, the device side adapter and the network side adapter execute the best master clock algorithm (BMCA) process.
  • BMCA master clock algorithm
  • the above S806 may include the following steps 1 to 3.
  • Step 1 The device-side adapter sends a notification message to the network-side adapter. Accordingly, the network side adapter receives the notification message from the device side adapter.
  • the notification message may include, but is not limited to: the identification of the precise time protocol clock domain, the source port identification, and the clock accuracy.
  • the source port identification may be an identification of a source port that sends the synchronization information of the precision time protocol clock domain.
  • the source port identification can be used to determine the port status of the clock domain port of each node on the synchronization information transmission path of the precise time protocol clock domain.
  • the clock precision may indicate the clock precision corresponding to the clock of the precise time protocol clock domain.
  • Step 2 In response to the notification message from the device-side adapter, the network-side adapter obtains clock information.
  • the clock information includes but is not limited to: the identification of the clock domain port of the first device, the identification of the generalized precision time protocol clock domain, the clock domain port status of the device side adapter, and the clock domain port status of the network side adapter.
  • Step 3 The network side adapter sends clock information to the first core network element.
  • the first core network element receives the clock information from the network side adapter.
  • the first core network element may be a delay clock network element.
  • the first core network element may be a session management network element.
  • the above step three may include: the network side adapter sends clock information to the delay clock network element, and the delay clock network element sends clock information to the session management network element. Clock information.
  • BMCA process can be executed after the above S801, which is not limited by this application.
  • the first access network device is an access network device corresponding to an internal clock domain of the communication system.
  • the first core network element obtains the information of the first access network device, which may include steps four and five.
  • Step 4 The first core network element sends a first request message to the mobility management network element.
  • the mobility management network element receives the first request message from the first core network element.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device.
  • the first request message may include the identification of the terminal device corresponding to the device-side adapter, such as the identification of the first terminal device. If the second device is the first terminal device, the first request message may include the identification of the first terminal device.
  • the first request message may be used to request information about the access network device that the terminal device corresponding to the device-side adapter accesses or resides on.
  • the first request message may be used to request information about the access network device that the first terminal device accesses or resides on.
  • Step 5 The mobility management network element sends the information of the first access network device to the first core network element.
  • the first core network element receives information from the first access network device of the mobility management network element.
  • the first access network device may be a terminal device corresponding to the device-side adapter or an access network device where the first terminal device accesses or resides.
  • the first core network element may be a delay clock network element or a session management network element.
  • the first core network element can request information about the first access network device from the mobility management network element.
  • the first core network element is a delay clock network element.
  • the first core network element obtains the information of the first access network device, which may include step 6 and step seven.
  • Step 6 The first core network element sends a second request message to the session management network element.
  • the session management network element receives the second request message from the first core network element.
  • the second request message may include the identification of the first terminal device or the port identification of the device-side adapter.
  • the second request message may be used to request information about the access network device that the first terminal device or the terminal device corresponding to the device-side adapter accesses or resides on.
  • Step 7 The session management network element sends the information of the first access network device to the first core network element.
  • the first core network element receives information from the first access network device of the session management network element.
  • the first access network device may be an access network device that the terminal device corresponding to the first terminal device or the device-side adapter accesses or resides on.
  • the first core network element can request the information of the first access network device from the session management network element.
  • the first core network element is a session management network element.
  • the first core network element obtains information about the first access network device, which may include: the first core network element The element obtains the information of the first access network device according to the identifier of the first terminal device or the port identifier of the device-side adapter.
  • the first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses or resides.
  • the session management network element can obtain the information of the first access network device.
  • the above S802 may be an optional step.
  • the first core network element obtains the information of the first access network device in the above S601 and/or S602.
  • the first clock status information includes the information of the first access network device corresponding to the internal clock domain of the communication system.
  • the second The clock status information includes information about the first access network device corresponding to the internal clock domain of the communication system.
  • S802 may not be executed and the following S803 may be executed directly.
  • the first core network element sends the first clock abnormality information to the first terminal device according to the identification of the first terminal device.
  • the first terminal device receives the first clock abnormality information from the first core network element.
  • the first clock abnormality information may be used to indicate a clock domain in which an abnormal clock synchronization state occurs.
  • the clock synchronization status of the internal clock domain of the communication system is abnormal
  • the first clock abnormality information includes an identification of the internal clock domain of the communication system.
  • the first terminal device can obtain that the clock synchronization status of the internal clock domain of the communication system is abnormal, and can stop using the clock of the internal clock domain of the communication system.
  • the first terminal device is affected by abnormal clock synchronization status of the internal clock domain of the communication system, but the application network element does not necessarily require monitoring of the clock synchronization status of the first terminal device.
  • the first core network element may send the first clock abnormality information to the first terminal device.
  • this application does not limit whether the first core network element sends the first clock abnormality information to the first terminal device.
  • the method provided by the embodiments of the present application may also include steps eight and nine.
  • Step 8 The first core network element determines the terminal served by the first access network device based on the information of the first device. The identification of the device.
  • Step 9 The first core network element determines the identity of the third terminal device based on the identity of the terminal device served by the first access network device and the identities of one or more second terminal devices.
  • the identity of the terminal device served by the first access network device includes the identity of the third terminal device
  • the identity of the one or more second terminal devices includes the identity of the third terminal device
  • the identity of the third terminal device is the intersection of the identity of the terminal device served by the first access network device and the identity of one or more second terminal devices.
  • the number of third terminal devices may be one or more.
  • the third terminal device is a terminal device that is affected by abnormal clock synchronization status of the internal clock domain of the communication system and is monitored by the application network element request.
  • the first core network element may send the first clock abnormality information to the third terminal device.
  • the identification of the third terminal device may include the identification of the first terminal device.
  • the method provided by the embodiments of the present application may further include: the first core network element sending the first clock abnormality information to the second terminal device according to the identifier of the second terminal device.
  • the second terminal device receives the first clock abnormality information from the first core network element.
  • the first core network element may directly notify the application network element of the terminal device for monitoring the clock domain in which the clock synchronization status is abnormal.
  • the second terminal device may stop using the clock corresponding to the clock domain in which the clock synchronization state is abnormal. If the second terminal device does not use the clock corresponding to the clock domain in which the clock synchronization state is abnormal, the second terminal device can be prevented from using the clock corresponding to the clock domain in which the clock synchronization state is abnormal.
  • the method provided by the embodiments of the present application may further include: the first core network element sending the clock domain in which the clock synchronization status is abnormal to the device-side adapter.
  • the device-side adapter receives the clock domain in which the clock synchronization status from the first core network element is abnormal.
  • the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the device-side adapter, and can be stopped after receiving the notification.
  • the method provided by the embodiments of the present application may also include: the first core network element sends the clock domain in which the clock synchronization status is abnormal to the network side adapter.
  • the network side adapter receives the clock domain in which the clock synchronization status of the first core network element is abnormal.
  • the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the network-side adapter, and can be stopped after receiving the notification.
  • the method provided by the embodiments of the present application may further include: the first core network element sends the clock domain in which the clock synchronization status is abnormal to the user plane network element.
  • the user plane network element receives the clock domain in which the clock synchronization status of the first core network element is abnormal.
  • the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the user plane network element, and the use can be stopped after receiving the notification.
  • the first core network element can notify the device side adapter, the network side adapter and/or the user plane network element of the abnormal clock domain, such as the abnormality of the precision time protocol clock domain and/or the abnormality of the internal clock domain of the communication system. Abnormality occurs.
  • the method provided by the embodiments of the present application may also include: S804, the first core network element sends the second clock abnormality information to the application network element.
  • the application network element receives the second clock abnormality information from the first core network element.
  • the second clock abnormality information may be used to indicate that the clock synchronization status of one or more second terminal devices is abnormal.
  • the one or more second terminal devices may be part or all of the second terminal devices to which the network element request detection is applied in S801.
  • the second clock abnormality information may include the identification of the second terminal device in which the clock synchronization status is abnormal, and may also include the identification of the clock domain in which the clock synchronization status is abnormal.
  • the clock status notification request includes the second terminal device 1 and the second terminal device 2. If the clock synchronization status of the second terminal device 1 is normal and the clock synchronization status of the second terminal device 2 is abnormal, the second terminal device 2 uses communication If the clock synchronization status of the internal clock domain 1 of the system and the internal clock domain 1 of the communication system is abnormal, the second clock abnormality information may include the second terminal device 2 and the internal clock domain 1 of the communication system.
  • the first core network element can notify the application network element which second terminal device or devices are currently using abnormal clock synchronization status, and can also notify the clock domain in which the clock synchronization status is abnormal.
  • S801 can be executed before the above-mentioned S604, and S802 can be executed after the above-mentioned S603.
  • the method shown in Figure 8 can be used in combination with the method shown in Figure 7.
  • S801 can be executed before the above-mentioned S705, and S802 can be executed after the above-mentioned S704.
  • the first core network element can obtain the information of the first access network device corresponding to the internal clock domain of the communication system, It can further obtain the affected terminal device and notify the terminal device that an abnormality occurs in the clock domain it is currently using.
  • FIG. 9 is a schematic structural diagram of a communication device that can be used to implement an embodiment of the present application.
  • the communication device 900 may be a first core network element (such as a delay clock network element or a session management network element), a first device (such as a network side adapter or a user plane network element), or a second device (such as a device side adapter). or the first terminal device), or may be a chip or other components with corresponding functions applied in the first core network element, the first device, or the second device.
  • the communication device 900 may include a processor 901 .
  • the communication device 900 may also include one or more of a memory 902 and a transceiver 903.
  • the processor 901 may be coupled to one or more of the memory 902 and the transceiver 903, for example, through a communication bus, or the processor 901 may be used alone.
  • the processor 901 is the control center of the communication device 900 and may be one processor or a collective name for multiple processing elements.
  • the processor 901 is one or more central processing units (CPUs), an application specific integrated circuit (ASIC), or one or more processors configured to implement the embodiments of the present application.
  • An integrated circuit such as one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
  • the processor 901 can perform various functions of the communication device 900 by running or executing software programs stored in the memory 902 and calling data stored in the memory 902 .
  • the processor 901 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 9 .
  • the communication device 900 may also include multiple processors, such as the processor 901 and the processor 904 shown in FIG. 9 .
  • processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • a processor here may refer to one or more communications devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the memory 902 may be a read-only memory (ROM) or other type of static storage communication device that can store static information and instructions, a random access memory (random access memory, RAM) or a device that can store information. and other types of dynamic storage communication devices of instructions, which may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or Other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage communication devices, or can be used to carry or store expectations in the form of instructions or data structures program code and any other medium capable of being accessed by a computer, without limitation.
  • the memory 902 may be integrated with the processor 901 or may exist independently and be coupled to the processor 901 through the input/output port (not shown in Figure 9) of the communication device 900. This is not specifically limited in the embodiment of the present application.
  • the input port can be used to implement the receiving function performed by the first core network element, the first device, or the second device in any of the above method embodiments
  • the output port can be used to implement the receiving function performed by the first core network element, the first device, or the second device in any of the above method embodiments.
  • the sending function performed by the first core network element, the first device, or the second device.
  • the memory 902 can be used to store the software program for executing the solution of the present application, and the processor 901 controls the execution.
  • the processor 901 controls the execution.
  • the transceiver 903 is used for communication with other communication devices.
  • the transceiver 903 may be used to communicate with the first device, the second device, and/or the first access network device.
  • the transceiver 903 may be used to communicate with the first core network element and/or the second device.
  • the transceiver 903 may be used to communicate with the first core network element and/or the first device.
  • the transceiver 903 may include a receiver and a transmitter (not shown separately in FIG. 9). Among them, the receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.
  • the transceiver 903 may be integrated with the processor 901, or may exist independently and be coupled to the processor 901 through the input/output port (not shown in Figure 9) of the communication device 900. This is not specifically limited in the embodiment of the present application. .
  • the structure of the communication device 900 shown in Figure 9 does not constitute a limitation on the communication device.
  • the actual communication device may include more or less components than shown in the figure, or some components may be combined, or Different component arrangements.
  • the above-mentioned actions of the first core network element (which can be an access network device or a terminal device) in Figures 1 to 8 can be performed by the processor 901 in the communication device 900 shown in Figure 9 to call the application stored in the memory 902
  • the program code is executed by instructing the first core network element.
  • the above-mentioned actions of the first device in Figures 1 to 8 can be executed by the processor 901 in the communication device 900 shown in Figure 9 by calling the application code stored in the memory 902 to instruct the first device to execute.
  • This embodiment does not do anything about this. limit.
  • FIG. 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application. For ease of explanation, FIG. 10 shows only the main components of the communication device.
  • the communication device 1000 may include a transceiver module 1001 and a processing module 1002.
  • the communication device 1000 may be the first core network element in the foregoing method embodiment.
  • the transceiver module 1001 which may also be called a transceiver unit, is used to implement the transceiver function performed by the first core network element in any of the above method embodiments.
  • the transceiver module 1001 may include a receiving module and a sending module (not shown in Figure 10). This application does not specifically limit the specific implementation of the transceiver module 1001.
  • the transceiver module 1001 may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.
  • the communication device 1000 may also include a storage module (not shown in FIG. 10), which stores programs or instructions.
  • the processing module 1002 executes the program or instruction, the communication device 1000 can perform the method described in any of the above method embodiments.
  • the processing module 1002 may be used to implement the processing functions performed by the first core network element in any of the above method embodiments.
  • the processing module 1002 may be a processor.
  • FIG. 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application. For ease of explanation, FIG. 11 shows only the main components of the communication device.
  • the communication device 1100 may include a sending module 1101 and a receiving module 1102.
  • the communication device 1100 may be the first device or the second device in the aforementioned method embodiment.
  • the sending module 1101 which may also be called a sending unit, is used to implement the sending function performed by the first device or the second device in any of the above method embodiments.
  • the sending module 1101 and the receiving module 1102 can be set up separately, or they can be integrated into one module, that is, the sending and receiving module. This application does not specifically limit the specific implementation methods of the receiving module and the sending module.
  • the transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.
  • the communication device 1100 may also include a processing module 1103 and a storage module (not shown in Figure 11), This storage module stores programs or instructions.
  • the processing module 1103 executes the program or instruction, the communication device 1100 can perform the method described in any of the above method embodiments.
  • the processing module 1103 may be used to implement the processing function performed by the first device or the second device in any of the above method embodiments.
  • the processing module 1103 may be a processor.
  • the communication device 1000 or the communication device 1100 is presented in the form of dividing various functional modules in an integrated manner.
  • a “module” here may refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that may provide the above functions.
  • the communication device 1000 or the communication device 1100 may take the form of the communication device 900 shown in FIG. 9 .
  • the processor 901 in the communication device 900 shown in FIG. 9 can cause the communication method in the above method embodiment to be executed by calling the computer execution instructions stored in the memory 902.
  • the functions/implementation processes of the transceiver module, the sending module and the receiving module in the communication device 1000 or the communication device 1100 can be implemented by the transceiver 903 in the communication device 900 shown in FIG. 9 .
  • the function/implementation process of the processing module in the communication device 1000 or the communication device 1100 can be realized by the processor 901 in the communication device 900 shown in FIG. 9 calling the computer execution instructions stored in the memory 902.
  • the communication device 1000 or the communication device 1100 provided in this embodiment can execute the above communication method, the technical effects that can be obtained can be referred to the above method embodiments, which will not be described again here.
  • the communication device 1000 shown in Figure 10 can be applied to the system shown in Figure 1 to perform the communication method of the first core network element in the above-mentioned communication methods described in Figures 6 and 8. Function.
  • the transceiver module 1001 is used to receive the first clock status information from the first device.
  • the first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • the transceiver module 1001 is also used to receive the second clock status information from the second device.
  • the second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
  • Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
  • the first device is a network-side adapter and the second device is a device-side adapter.
  • the first device is a user plane network element
  • the second device is a first terminal device.
  • the processing module 1002 is configured to determine, based on the first clock status information and the second clock status information, the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precision time protocol clock domain.
  • the communication device 1000 may also include a storage module (not shown in Figure 10), which stores programs or instructions.
  • a storage module not shown in Figure 10
  • the processing module 1002 executes the program or instruction, the communication device 1000 can perform the functions of the first core network element in the methods shown in FIG. 6 and FIG. 8 .
  • the communication device 1000 may be the first core network element, or may be a chip (system) or other components or components that can be disposed on the first core network element, which is not limited in this application.
  • the technical effects of the communication device 1000 can be referred to the technical effects of the communication methods shown in FIG. 6 and FIG. 8 , which will not be described again here.
  • the communication device 1000 shown in Figure 10 can be applied to the system shown in Figure 1 to perform the first core network element in the communication method described in Figures 7 and 8. function.
  • the transceiver module 1001 is used to receive the first clock status information from the first device.
  • the first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
  • the transceiver module 1001 is also configured to notify the first access network device when the clock domain port status of the first device is in the main clock state and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal. Requests the clock synchronization status of the internal clock domain of the communication system.
  • the transceiver module 1001 is also used to receive the clock synchronization status of the internal clock domain of the communication system from the first access network device.
  • the processing module 1002 is configured to determine, based on the clock synchronization status of the internal clock domain of the communication system, the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precision time protocol clock domain.
  • the communication device 1000 may also include a storage module (not shown in Figure 10), which stores programs or instructions.
  • a storage module not shown in Figure 10
  • the processing module 1002 executes the program or instruction, the communication device 1000 can perform the functions of the first core network element in the methods shown in FIG. 7 and FIG. 8 .
  • the communication device 1000 may be the first core network element, or may be a chip (system) or other components or components that can be disposed on the first core network element, which is not limited in this application.
  • the technical effects of the communication device 1000 can be referred to the technical effects of the communication method shown in FIG. 7 and FIG. 8 , which will not be described again here.
  • the communication device 1100 shown in FIG. 11 can be applied to the system shown in FIG. 1, and the first device in the communication method described in FIG. 6, FIG. 7 and FIG. 8 is executed. , or the function of the second device.
  • the receiving module 1102 is used to receive the first clock status request from the first core network element.
  • the first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain.
  • the sending module 1101 is configured to send the first clock status information to the first core network element.
  • the first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation, and the precision time protocol clock domain deviation is the clock corresponding to the precision time protocol clock domain on the communication device side
  • the difference between the first clock and the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain received by the communication device.
  • the first clock status information includes whether the clock synchronization status of the precise time protocol clock domain is abnormal
  • the communication device 1101 also includes a processing module 1103.
  • the processing module 1103 is used to determine the first clock status information according to the precision time protocol clock domain deviation.
  • the communication device 1100 may also include a storage module (not shown in FIG. 11), which stores programs or instructions.
  • the processing module 1102 executes the program or instruction, the communication device 1100 can perform the functions of the first device or the second device in the communication methods described in FIG. 6, FIG. 7, and FIG. 8.
  • the communication device 1100 may be the first device or the second device, or may be disposed on the third device.
  • the chip (system) or other components or components of a device or a second device are not limited in this application.
  • the technical effects of the communication device 1100 can be referred to the technical effects of the communication methods shown in FIG. 6, FIG. 7, and FIG. 8, which will not be described again here.
  • An embodiment of the present application provides a communication system.
  • the communication system includes a first core network element, a first device and a second device.
  • the communication system includes a first core network element, a first device and a first access network device.
  • the first core network element is used to perform the actions of the first core network element in the above method embodiment
  • the first device is used to perform the actions of the first device in the above method embodiment
  • the second device is used to perform the above method.
  • the first access network device is used to perform the actions of the first access network device in the above method embodiment.
  • Embodiments of the present application provide a chip system, which includes a logic circuit and an input/output port.
  • the logic circuit can be used to implement the processing function involved in the communication method provided by the embodiment of the present application, and the input/output port can be used for the transceiver function involved in the communication method provided by the embodiment of the present application.
  • the input port can be used to implement the receiving function involved in the communication method provided by the embodiment of the present application
  • the output port can be used to implement the sending function involved in the communication method provided by the embodiment of the application.
  • the processor in the communication device 900 may be used to perform, for example, but not limited to, baseband related processing, and the transceiver in the communication device 900 may be used to perform, for example, but not limited to, radio frequency transceiver.
  • the above-mentioned devices may be arranged on separate chips, or at least part or all of them may be arranged on the same chip.
  • processors can be further divided into analog baseband processors and digital baseband processors. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be set on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip.
  • a digital baseband processor can be combined with a variety of application processors (such as but not limited to graphics processors, multimedia processors, etc.) Integrated on the same chip.
  • application processors such as but not limited to graphics processors, multimedia processors, etc.
  • Such a chip can be called a system on chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the specific needs of product design. The embodiments of the present invention do not limit the specific implementation forms of the above devices.
  • the chip system further includes a memory, which is used to store program instructions and data for implementing functions involved in the communication method provided by the embodiments of the present application.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • Embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer programs or instructions.
  • the communication method provided by the embodiments of the present application is executed.
  • An embodiment of the present application provides a computer program product.
  • the computer program product includes: a computer program or instructions.
  • the communication method provided by the embodiment of the present application is executed.
  • the processor in the embodiment of the present application can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), special-purpose integrated processors, etc. Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • non-volatile memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase electrically programmable read-only memory (EPROM, EEPROM) or flash memory.
  • Volatile memory can 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
  • RAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM double data rate SDRAM
  • enhanced SDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous connection dynamic random access memory access memory
  • direct rambus RAM direct rambus RAM, DR RAM
  • the above embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination.
  • the above-described embodiments may be implemented in whole or in part in the form of a computer program product.
  • 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 or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmit to another website, computer, server or data center through wired (such as infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or a data center that contains one or more sets of available media.
  • the usable media may be magnetic media (eg, floppy disk, hard disk, tape), optical media (eg, DVD), or semiconductor media.
  • the semiconductor medium may be a solid state drive.
  • At least one refers to one or more, and “plurality” refers to two or more.
  • At least one of the following” or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items).
  • at least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is 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.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

Landscapes

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

Abstract

A communication method and apparatus, by means of which a clock domain having an abnormal clock synchronization state can be accurately determined. The method comprises: receiving first clock state information from a first device; receiving second clock state information from a second device; and according to the first clock state information and the second clock state information, determining, from an internal clock domain of a communication system and a precision time protocol clock domain, a clock domain which has an abnormal clock synchronization state, wherein the first clock state information is used for indicating a clock synchronization state of the precision time protocol clock domain, the second clock state information is used for indicating a clock synchronization state of the precision time protocol clock domain, and the first device and the second device both support the acquisition of synchronization information corresponding to the internal clock domain of the communication system, and synchronization information corresponding to the precision time protocol clock domain; and the first device is a network-side adapter, and the second device is a device-side adapter; or the first device is a user plane network element, and the second device is a first terminal device.

Description

通信方法及装置Communication methods and devices
本申请要求于2022年05月06日提交国家知识产权局、申请号为202210488539.0、申请名称为“通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 6, 2022, with application number 202210488539.0 and application title "Communication Method and Device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种通信方法及装置。The present application relates to the field of communication, and in particular, to a communication method and device.
背景技术Background technique
时间敏感网络(time sensitive networking,TSN)系统采用(广义)精确时间协议((generalized)precision time protocol,(g)PTP)时钟域,移动通信系统采用通信系统内部时钟域。The time sensitive network (TSN) system uses the (generalized) precision time protocol (g)PTP clock domain, and the mobile communication system uses the internal clock domain of the communication system.
在时间敏感网络系统与移动通信系统融合的场景中,时间敏感网络系统可以通过移动通信系统将(g)PTP对应的同步信息发送给末端设备(需要连接时间敏感网络的设备),以使末端设备进行时间同步。由于在通过移动通信系统传输同步信息的过程中,会在移动通信系统的节点中产生驻留时间,移动通信系统中的节点可以采用通信系统内部时钟域对应的时钟确定驻留时间,并发给末端设备,以使末端设备采用该驻留时间进行时钟校正。如此,末端设备可以根据同步信息和驻留时间获得精确时间协议时钟域对应的时钟,并根据该时间协议时钟域对应的时钟进行时钟同步。In the scenario where the time-sensitive network system and the mobile communication system are integrated, the time-sensitive network system can send the synchronization information corresponding to (g)PTP to the end device (the device that needs to connect to the time-sensitive network) through the mobile communication system, so that the end device Perform time synchronization. Since the process of transmitting synchronization information through the mobile communication system will generate dwell time in the nodes of the mobile communication system, the nodes in the mobile communication system can use the clock corresponding to the internal clock domain of the communication system to determine the dwell time and send it to the terminal. equipment, so that the end equipment uses this dwell time for clock correction. In this way, the terminal device can obtain the clock corresponding to the precise time protocol clock domain based on the synchronization information and the dwell time, and perform clock synchronization based on the clock corresponding to the time protocol clock domain.
然而,当末端设备检测到获得的精确时间协议时钟域对应的时钟与末端设备本地的精确时间协议时钟域对应的时钟偏差过大,确定精确时间协议时钟域的时钟同步状态发生异常时,无法判断精确时间协议时钟域的时钟同步状态的异常是由于同步信息本身出现问题导致的,还是由于通信系统内部时钟域的同步状态出现异常使驻留时间出现问题导致的。However, when the terminal device detects that the deviation between the clock corresponding to the obtained precision time protocol clock domain and the clock corresponding to the local precision time protocol clock domain of the terminal device is too large, and determines that the clock synchronization status of the precision time protocol clock domain is abnormal, it cannot be determined. Is the abnormality in the clock synchronization state of the precision time protocol clock domain caused by problems with the synchronization information itself, or is it caused by the abnormality in the synchronization state of the clock domain within the communication system that causes problems with the dwell time.
也就是说,如何准确地确定时钟同步状态发生异常的时钟域成为亟待解决的问题。In other words, how to accurately determine the clock domain in which the clock synchronization status is abnormal has become an urgent problem to be solved.
发明内容Contents of the invention
本申请实施例提供一种通信方法及装置,能够准确确定时钟同步状态发生异常的时钟域。Embodiments of the present application provide a communication method and device that can accurately determine the clock domain in which the clock synchronization state is abnormal.
为达到上述目的,本申请采用如下技术方案:In order to achieve the above purpose, this application adopts the following technical solutions:
第一方面,提供一种通信方法,应用于第一核心网网元。该通信方法包括:接收来自第一设备的第一时钟状态信息,接收来自第二设备的第二时钟状态信息,根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。第二时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。第一设备和第二设备均支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。第一设备为网络侧适配器,且第二设备为设备 侧适配器。或者,第一设备为用户面网元,且第二设备为第一终端设备。In the first aspect, a communication method is provided, which is applied to the first core network element. The communication method includes: receiving first clock status information from a first device, receiving second clock status information from a second device, and according to the first clock status information and the second clock status information, from the internal clock domain of the communication system and accurately In the time protocol clock domain, determine the clock domain in which the clock synchronization status is abnormal. The first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain. The second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain. Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain. The first device is a network-side adapter, and the second device is a device side adapter. Alternatively, the first device is a user plane network element, and the second device is a first terminal device.
基于第一方面提供的方法,第一设备和第二设备均支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息,第一设备为网络侧适配器的情况下,第二设备为设备侧适配器。或者,第一设备为用户面网元的情况下,第二设备为第一终端设备。第一设备和第二设备向第一核心网网元分别发送第一时钟状态信息和第二时钟状态信息,第一时钟状态信息指示的精确时间协议时钟域的时钟同步状态,第二时钟状态信息指示的精确时间协议时钟域的时钟同步状态。根据精确时间协议时钟域对应的同步信息的传输方向的不同,第一时钟状态信息和第二时钟状态信息中总会有一个时钟状态信息指示的结果受通信系统内部时钟域的时钟同步状态的影响,如此,核心网网元可以根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,准确地确定时钟同步状态发生异常的时钟域。Based on the method provided in the first aspect, both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain. When the first device is a network side adapter, the second device The second device is the device side adapter. Or, when the first device is a user plane network element, the second device is the first terminal device. The first device and the second device respectively send first clock status information and second clock status information to the first core network element. The first clock status information indicates the clock synchronization status of the precise time protocol clock domain, and the second clock status information Indicates the clock synchronization status of the Precision Time Protocol clock domain. According to the different transmission directions of the synchronization information corresponding to the precise time protocol clock domain, there will always be one clock status information in the first clock status information and the second clock status information. The result indicated by the clock status information is affected by the clock synchronization status of the internal clock domain of the communication system. , In this way, the core network element can accurately determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
在一种可能的设计方式中,第一设备的时钟域端口状态为从时钟状态,第二设备的时钟域端口状态为主时钟状态,上述根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,可以包括:若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第二时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则确定通信系统内部时钟域的时钟同步状态发生异常。或者,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design approach, the clock domain port state of the first device is the slave clock state, and the clock domain port state of the second device is the master clock state. According to the first clock state information and the second clock state information, the slave clock state is Among the internal clock domains of the communication system and the precision time protocol clock domain, determining the clock domain in which the clock synchronization status is abnormal may include: if the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is not abnormal, and the second clock status If the information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
如此,在第一设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第二设备发送该同步信息的场景中,可以准确地确定时钟同步状态发生异常的时钟域。In this way, in a scenario where the first device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the second device through the mobile communication system, the clock domain in which the clock synchronization status is abnormal can be accurately determined.
在一种可能的设计方式中,第二设备的时钟域端口状态为从时钟状态,第一设备的时钟域端口状态为主时钟状态,上述根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,可以包括:若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则确定通信系统内部时钟域的时钟同步状态发生异常。或者,若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design approach, the clock domain port state of the second device is the slave clock state, and the clock domain port state of the first device is the master clock state. According to the first clock state information and the second clock state information, the slave clock state is Among the internal clock domains of the communication system and the precision time protocol clock domain, determining the clock domain in which the clock synchronization status is abnormal may include: if the second clock status information indicates that the clock synchronization status of the precision time protocol clock domain is not abnormal, and the first clock status If the information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the second clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
如此,在第二设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第一设备发送该同步信息的场景中,可以准确地确定时钟同步状态发生异常的时钟域。In this way, in a scenario where the second device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the first device through the mobile communication system, the clock domain in which the clock synchronization status is abnormal can be accurately determined.
在一种可能的设计方式中,第一方面提供的通信方法,还可以包括:在通信系统内部时钟域的时钟同步状态发生异常的情况下,获取第一接入网设备的信息。其中,第一接入网设备为通信系统内部时钟域对应的接入网设备。如此,可以获得时钟同步状态异常的接入网设备的信息。In a possible design approach, the communication method provided in the first aspect may further include: obtaining information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal. Wherein, the first access network device is an access network device corresponding to the internal clock domain of the communication system. In this way, information about access network equipment with abnormal clock synchronization status can be obtained.
在一种可能的设计方式中,上述获取第一接入网设备的信息,可以包括:向移动性管理网元发送第一请求消息,接收来自移动性管理网元的第一接入网设备的信息。其中,第一请求消息可以包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识,第一请求消息可用于请求设备侧适配器对应的终端设备或第一终端设备接入 的接入网设备的信息。第一接入网设备为设备侧适配器对应的终端设备或第一终端设备接入的接入网设备。如此,第一核心网网元可以向移动性管理网元请求第一接入网设备的信息。In a possible design manner, the above-mentioned obtaining the information of the first access network device may include: sending a first request message to the mobility management network element, and receiving the first request message from the mobility management network element of the first access network device. information. The first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device. access network equipment information. The first access network device is a terminal device corresponding to the device-side adapter or an access network device connected to the first terminal device. In this way, the first core network element can request information about the first access network device from the mobility management network element.
在一种可能的设计方式中,第一核心网网元为时延时钟网元,上述获取第一接入网设备的信息,可以包括:向会话管理网元发送第二请求消息,接收来自会话管理网元的第一接入网设备的信息。其中,第二请求消息可以包括第一终端设备的标识、或设备侧适配器的端口标识,第二请求消息可用于请求第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备的信息。第一接入网设备为第一终端设备或设备侧适配器对应的终端设备接入的接入网设备。如此,第一核心网网元可以向会话管理网元请求第一接入网设备的信息。In a possible design approach, the first core network element is a delay clock network element. The above-mentioned obtaining the information of the first access network device may include: sending a second request message to the session management network element, receiving the information from Information about the first access network device of the session management network element. The second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses. Information. The first access network device is an access network device connected to the first terminal device or the terminal device corresponding to the device-side adapter. In this way, the first core network element can request the information of the first access network device from the session management network element.
在一种可能的设计方式中,第一核心网网元为会话管理网元,上述获取第一接入网设备的信息,可以包括:根据第一终端设备的标识、或设备侧适配器的端口标识,获取第一接入网设备的信息。其中,第一接入网设备为第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备。如此,会话管理网元可以获取第一接入网设备的信息。In a possible design approach, the first core network element is a session management network element. The above-mentioned obtaining the information of the first access network device may include: based on the identification of the first terminal device or the port identification of the device-side adapter. , obtain information about the first access network device. The first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter is connected. In this way, the session management network element can obtain the information of the first access network device.
在一种可能的设计方式中,第一方面提供的通信方法,还可以包括:接收来自应用网元的时钟状态通知请求。其中,时钟状态通知请求可以包括第二终端设备的标识,时钟状态通知请求可用于请求第二终端设备的时钟同步状态。如此,应用网元可以请求监测第二终端设备的时钟同步状态。In a possible design manner, the communication method provided in the first aspect may further include: receiving a clock status notification request from the application network element. The clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device. In this way, the application network element can request to monitor the clock synchronization status of the second terminal device.
可选地,第二终端设备的数量可以为一个或多个。Optionally, the number of second terminal devices may be one or more.
在一种可能的设计方式中,第一方面提供的通信方法,还可以包括:根据第二终端设备的标识,向第二终端设备发送第一时钟异常信息。其中,第一时钟异常信息可用于指示时钟同步状态发生异常的时钟域,第二终端设备接入的接入网设备为第一接入网设备。In a possible design manner, the communication method provided in the first aspect may further include: sending the first clock abnormality information to the second terminal device according to the identification of the second terminal device. The first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
如此,第一终端设备可以获得通信系统内部时钟域的时钟同步状态异常,可以停止使用该通信系统内部时钟域的时钟。In this way, the first terminal device can obtain that the clock synchronization status of the internal clock domain of the communication system is abnormal, and can stop using the clock of the internal clock domain of the communication system.
在一种可能的设计方式中,第一方面提供的通信方法,还可以包括:向第一设备发送第一时钟状态请求。其中,第一时钟状态请求可以包括精确时间协议时钟域的标识,第一时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the communication method provided in the first aspect may further include: sending a first clock status request to the first device. The first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一方面提供的通信方法,还可以包括:向第二设备发送第二时钟状态请求。其中,第二时钟状态请求可以包括精确时间协议时钟域的标识,第二时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the communication method provided in the first aspect may further include: sending a second clock status request to the second device. The second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
如此,可以通过第一时钟状态信息显式或隐式指示精确时间协议时钟域的时钟同步状态。In this way, the clock synchronization status of the precise time protocol clock domain can be indicated explicitly or implicitly through the first clock status information.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域 对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design approach, the first clock status information may also include: communication system internal clock domain Whether the information of the corresponding first access network device and/or the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,第二时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第二设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
如此,可以通过第一时钟状态信息显式或隐式指示精确时间协议时钟域的时钟同步状态。In this way, the clock synchronization status of the precise time protocol clock domain can be indicated explicitly or implicitly through the first clock status information.
在一种可能的设计方式中,第二时钟状态信息还包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the second clock status information also includes: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
第二方面,提供一种通信方法,应用于第一核心网网元。该通信方法包括:接收来自第一设备的第一时钟状态信息;在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,向第一接入网设备请求通信系统内部时钟域的时钟同步状态,接收来自第一接入网设备的通信系统内部时钟域的时钟同步状态,根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态,第一设备支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。In the second aspect, a communication method is provided, which is applied to the first core network element. The communication method includes: receiving first clock status information from the first device; when the clock domain port status of the first device is in the main clock status, and the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal. In this case, request the first access network device for the clock synchronization status of the internal clock domain of the communication system, receive the clock synchronization status of the internal clock domain of the communication system from the first access network device, and based on the clock synchronization status of the internal clock domain of the communication system , determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain. The first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
基于第二方面提供的通信方法,在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,可以通过向第一接入网设备请求通信系统内部时钟域的时钟同步状态,根据通信系统内部时钟域的时钟同步状态,来确定是精确时间协议时钟域和通信系统内部时钟域中的哪个时钟域的时钟同步状态异常。如此,可以准确确定时钟同步状态发生异常的时钟域。Based on the communication method provided in the second aspect, when the clock domain port status of the first device is in the main clock status, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the clock domain port status of the first device can be passed to the first device. The access network device requests the clock synchronization status of the internal clock domain of the communication system, and determines which clock domain among the precise time protocol clock domain and the internal clock domain of the communication system has an abnormal clock synchronization status based on the clock synchronization status of the internal clock domain of the communication system. . In this way, the clock domain in which the clock synchronization status is abnormal can be accurately determined.
在一种可能的设计方式中,上述根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,可以包括:若通信系统内部时钟域的时钟同步状态无异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the above-mentioned method determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system, which may include: If the communication system If there is no abnormality in the clock synchronization status of the internal clock domain of the system, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
在一种可能的设计方式中,上述根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,可以包括:若通信系统内部时钟域的时钟同步状态异常,则确定通信系统内部时钟域的时钟同步状态发生异常。In a possible design method, the above-mentioned method determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system, which may include: If the communication system If the clock synchronization status of the internal clock domain of the system is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,第二方面提供的通信方法,还可以包括:在通信系统内部时钟域的时钟同步状态发生异常的情况下,获取第一接入网设备的信息。其中,第一接入网设备为通信系统内部时钟域对应的接入网设备。In a possible design approach, the communication method provided in the second aspect may further include: obtaining information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal. Wherein, the first access network device is an access network device corresponding to the internal clock domain of the communication system.
在一种可能的设计方式中,上述获取第一接入网设备的信息,可以包括:向移动性管理网元发送第一请求消息,接收来自移动性管理网元的第一接入网设备的信息。其中,第一请求消息可以包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识,第一请求消息可用于请求设备侧适配器对应的终端设备或第一终端设备接入的接入网设备的信息。第一接入网设备为设备侧适配器对应的终端设备或第一终端设备接入的接入网设备。 In a possible design manner, the above-mentioned obtaining the information of the first access network device may include: sending a first request message to the mobility management network element, and receiving the first request message from the mobility management network element of the first access network device. information. The first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device. Network device information. The first access network device is a terminal device corresponding to the device-side adapter or an access network device connected to the first terminal device.
在一种可能的设计方式中,上述获取第一接入网设备的信息,可以包括:向会话管理网元发送第二请求消息,接收来自会话管理网元的第一接入网设备的信息。其中,第二请求消息可以包括第一终端设备的标识、或设备侧适配器的端口标识,第二请求消息可用于请求第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备的信息。第一接入网设备为第一终端设备或设备侧适配器对应的终端设备接入的接入网设备。In a possible design manner, the above-mentioned obtaining the information of the first access network device may include: sending a second request message to the session management network element, and receiving the information of the first access network device from the session management network element. The second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses. Information. The first access network device is an access network device connected to the first terminal device or the terminal device corresponding to the device-side adapter.
在一种可能的设计方式中,第二方面提供的通信方法,还可以包括:接收来自应用网元的时钟状态通知请求。其中,时钟状态通知请求可以包括第二终端设备的标识,时钟状态通知请求可用于请求第二终端设备的时钟同步状态。In a possible design manner, the communication method provided in the second aspect may further include: receiving a clock status notification request from the application network element. The clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
在一种可能的设计方式中,第二方面提供的通信方法,还可以包括:根据第二终端设备的标识,向第二终端设备发送第一时钟异常信息。其中,第一时钟异常信息可用于指示时钟同步状态发生异常的时钟域,第二终端设备接入的接入网设备为第一接入网设备。In a possible design manner, the communication method provided in the second aspect may further include: sending the first clock abnormality information to the second terminal device according to the identification of the second terminal device. The first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
在一种可能的设计方式中,第二方面提供的通信方法,还可以包括:向第一设备发送第一时钟状态请求。其中,第一时钟状态请求可以包括精确时间协议时钟域的标识,第一时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the communication method provided in the second aspect may further include: sending a first clock status request to the first device. The first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第二方面提供的通信方法,还可以包括:向第二设备发送第二时钟状态请求。其中,第二时钟状态请求可以包括精确时间协议时钟域的标识,第二时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the communication method provided in the second aspect may further include: sending a second clock status request to the second device. The second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,第二时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第二设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
在一种可能的设计方式中,第二时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
此外,第二方面所述的通信方法的技术效果可以参考第一方面中任一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。In addition, the technical effects of the communication method described in the second aspect can be referred to the technical effects of the communication method described in any possible implementation manner in the first aspect, which will not be described again here.
第三方面,提供一种通信方法,应用于通信设备。该通信方法包括:接收来自第一核心网网元的第一时钟状态请求,向第一核心网网元发送第一时钟状态信息。其中,第一时钟状态请求包括精确时间协议时钟域的标识,第一时钟状态请求用于请求精确时间协议时钟域的时钟同步状态。第一时钟状态信息包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差,精确时间协议时钟域偏差为通信设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为通信 设备接收的精确时间协议时钟域对应的同步信息指示的时钟。In a third aspect, a communication method is provided, which is applied to communication equipment. The communication method includes: receiving a first clock status request from a first core network element, and sending first clock status information to the first core network element. The first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain. The first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the communication device side and the first clock status information. The difference between one clock and the first clock for communication The device receives the clock indicated by the synchronization information corresponding to the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息包括精确时间协议时钟域的时钟同步状态是否异常,第三方面提供的通信方法,还可以包括:根据精确时间协议时钟域偏差,确定第一时钟状态信息。In a possible design approach, the first clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal. The communication method provided in the third aspect may further include: determining the first clock status based on the precision time protocol clock domain deviation. Clock status information.
在一种可能的设计方式中,上述根据精确时间协议时钟域偏差,确定第一时钟状态信息,可以包括:精确时间协议时钟域偏差大于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态异常。或者,精确时间协议时钟域偏差小于或等于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态无异常。In a possible design approach, determining the first clock status information based on the precision time protocol clock domain deviation may include: the precision time protocol clock domain deviation is greater than the first threshold, then the first clock status information indicates the precision time protocol clock The synchronization status of the domain is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
在一种可能的设计方式中,第一时钟状态信息还包括通信系统内部时钟域的时钟同步状态是否异常,第三方面提供的通信方法,还可以包括:根据通信系统内部时钟域偏差,确定第一时钟状态信息。其中,通信系统内部时钟域偏差为通信设备侧的通信系统内部时钟域对应的时钟与第二时钟之间的差值,第二时钟为通信设备接收的通信系统内部时钟域对应的同步信息指示的时钟。In a possible design approach, the first clock status information also includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal. The communication method provided in the third aspect may also include: determining the first clock status based on the internal clock domain deviation of the communication system. A clock status information. The communication system internal clock domain deviation is the difference between the clock corresponding to the communication system internal clock domain on the communication device side and the second clock. The second clock is indicated by the synchronization information corresponding to the communication system internal clock domain received by the communication device. clock.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息。In a possible design manner, the first clock status information may also include: information of the first access network device corresponding to the internal clock domain of the communication system.
在一种可能的设计方式中,通信设备可以为网络侧适配器、设备侧适配器、用户面网元、或第一终端设备。In a possible design manner, the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
第三方面所述的通信方法的技术效果可以参考第一方面中任一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。For the technical effects of the communication method described in the third aspect, reference can be made to the technical effects of the communication method described in any possible implementation manner of the first aspect, which will not be described again here.
第四方面,提供一种通信装置。该通信装置包括:收发模块和处理模块。其中,收发模块,用于接收来自第一设备的第一时钟状态信息。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。收发模块,还用于接收来自第二设备的第二时钟状态信息。其中,第二时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。第一设备和第二设备均支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。第一设备为网络侧适配器,且第二设备为设备侧适配器。或者,第一设备为用户面网元,且第二设备为第一终端设备。处理模块,用于根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。A fourth aspect provides a communication device. The communication device includes: a transceiver module and a processing module. Wherein, the transceiver module is used to receive the first clock status information from the first device. The first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain. The transceiver module is also used to receive the second clock status information from the second device. The second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain. Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain. The first device is a network-side adapter and the second device is a device-side adapter. Alternatively, the first device is a user plane network element, and the second device is a first terminal device. The processing module is configured to determine, based on the first clock status information and the second clock status information, the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain.
在一种可能的设计方式中,第一设备的时钟域端口状态为从时钟状态,第二设备的时钟域端口状态为主时钟状态,处理模块,还用于若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第二时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则确定通信系统内部时钟域的时钟同步状态发生异常。或者,处理模块,还用于若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the clock domain port status of the first device is the slave clock status, and the clock domain port status of the second device is the master clock status. The processing module is also used to determine if the first clock status information indicates the precise time. If there is no abnormality in the clock synchronization status of the protocol clock domain, and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, the processing module is further configured to determine that the clock synchronization status of the precision time protocol clock domain is abnormal if the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal.
在一种可能的设计方式中,第二设备的时钟域端口状态为从时钟状态,第一设备的时钟域端口状态为主时钟状态,处理模块,还用于若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则确定通信系统内部时钟域的时钟同步状态发生异常。或者,处理模块,还用于若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态 异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the clock domain port status of the second device is the slave clock status, and the clock domain port status of the first device is the master clock status. The processing module is also used to determine if the second clock status information indicates the precise time. If there is no abnormality in the clock synchronization status of the protocol clock domain, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, the processing module is also configured to: if the second clock status information indicates the clock synchronization status of the precise time protocol clock domain Abnormal, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
在一种可能的设计方式中,处理模块,还用于在通信系统内部时钟域的时钟同步状态发生异常的情况下,获取第一接入网设备的信息。其中,第一接入网设备为通信系统内部时钟域对应的接入网设备。In a possible design approach, the processing module is also used to obtain information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal. Wherein, the first access network device is an access network device corresponding to the internal clock domain of the communication system.
在一种可能的设计方式中,收发模块,还用于向移动性管理网元发送第一请求消息。其中,第一请求消息可以包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识,第一请求消息可用于请求设备侧适配器对应的终端设备或第一终端设备接入的接入网设备的信息。收发模块,还用于接收来自移动性管理网元的第一接入网设备的信息。其中,第一接入网设备为设备侧适配器对应的终端设备或第一终端设备接入的接入网设备。In a possible design manner, the transceiver module is also used to send the first request message to the mobility management network element. The first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device. Network device information. The transceiver module is also used to receive information from the first access network device of the mobility management network element. The first access network device is a terminal device corresponding to a device-side adapter or an access network device to which the first terminal device is connected.
在一种可能的设计方式中,通信装置为时延时钟网元,收发模块,还用于向会话管理网元发送第二请求消息。其中,第二请求消息可以包括第一终端设备的标识、或设备侧适配器的端口标识,第二请求消息可用于请求第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备的信息。收发模块,还用于接收来自会话管理网元的第一接入网设备的信息。其中,第一接入网设备为第一终端设备或设备侧适配器对应的终端设备接入的接入网设备。In a possible design manner, the communication device is a delay clock network element, a transceiver module, and is also used to send the second request message to the session management network element. The second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses. Information. The transceiver module is also configured to receive information from the first access network device of the session management network element. The first access network device is an access network device to which the terminal device corresponding to the first terminal device or the device-side adapter is connected.
在一种可能的设计方式中,通信装置为会话管理网元,处理模块,还用于根据第一终端设备的标识、或设备侧适配器的端口标识,获取第一接入网设备的信息。其中,第一接入网设备为第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备。In a possible design manner, the communication device is a session management network element, and the processing module is further configured to obtain information about the first access network device according to the identifier of the first terminal device or the port identifier of the device-side adapter. The first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter is connected.
在一种可能的设计方式中,收发模块,还用于接收来自应用网元的时钟状态通知请求。其中,时钟状态通知请求可以包括第二终端设备的标识,时钟状态通知请求可用于请求第二终端设备的时钟同步状态。In a possible design approach, the transceiver module is also used to receive clock status notification requests from application network elements. The clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
在一种可能的设计方式中,收发模块,还用于根据第二终端设备的标识,向第二终端设备发送第一时钟异常信息。其中,第一时钟异常信息可用于指示时钟同步状态发生异常的时钟域,第二终端设备接入的接入网设备为第一接入网设备。In a possible design manner, the transceiver module is also configured to send the first clock abnormality information to the second terminal device according to the identifier of the second terminal device. The first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
在一种可能的设计方式中,收发模块,还用于向第一设备发送第一时钟状态请求。其中,第一时钟状态请求可以包括精确时间协议时钟域的标识,第一时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the transceiver module is also used to send a first clock status request to the first device. The first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,收发模块,还用于向第二设备发送第二时钟状态请求。其中,第二时钟状态请求可以包括精确时间协议时钟域的标识,第二时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the transceiver module is also used to send a second clock status request to the second device. The second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,第二时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为 第二设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is The difference between the clock corresponding to the precise time protocol clock domain on the second device side and the first clock, where the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain.
在一种可能的设计方式中,第二时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
需要说明的是,第四方面所述的收发模块可以包括接收模块和发送模块。本申请对于收发模块的具体实现方式,不做具体限定。It should be noted that the transceiver module described in the fourth aspect may include a receiving module and a sending module. This application does not specifically limit the specific implementation of the transceiver module.
可选地,第四方面所述的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第四方面所述的通信装置可以执行第一方面所述的方法。Optionally, the communication device described in the fourth aspect may further include a storage module that stores programs or instructions. When the processing module executes the program or instruction, the communication device described in the fourth aspect can perform the method described in the first aspect.
需要说明的是,第四方面所述的通信装置可以是第一核心网网元,例如时延时钟网元或会话管理网元,也可以是可设置于第一核心网网元中的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device described in the fourth aspect may be a first core network element, such as a delay clock network element or a session management network element, or it may be a chip that can be disposed in the first core network element. (system) or other components or components, this application does not limit this.
第四方面所述的通信装置的技术效果可以参考第一方面中任一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。The technical effects of the communication device described in the fourth aspect may be referred to the technical effects of the communication method described in any possible implementation manner in the first aspect, and will not be described again here.
第五方面,提供一种通信装置。该通信装置包括:收发模块和处理模块。其中,收发模块,用于接收来自第一设备的第一时钟状态信息。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态,第一设备支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。In a fifth aspect, a communication device is provided. The communication device includes: a transceiver module and a processing module. Wherein, the transceiver module is used to receive the first clock status information from the first device. The first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
收发模块,还用于在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,向第一接入网设备请求通信系统内部时钟域的时钟同步状态。The transceiver module is also configured to request the first access network device when the clock domain port status of the first device is in the main clock state and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal. Clock synchronization status of the internal clock domain of the communication system.
收发模块,还用于接收来自第一接入网设备的通信系统内部时钟域的时钟同步状态。The transceiver module is also configured to receive the clock synchronization status of the internal clock domain of the communication system from the first access network device.
处理模块,用于根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。The processing module is used to determine, based on the clock synchronization status of the internal clock domain of the communication system, the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain.
在一种可能的设计方式中,处理模块,还用于若通信系统内部时钟域的时钟同步状态无异常,则确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design approach, the processing module is also used to determine that the clock synchronization status of the precise time protocol clock domain is abnormal if there is no abnormality in the clock synchronization status of the internal clock domain of the communication system.
在一种可能的设计方式中,处理模块,还用于若通信系统内部时钟域的时钟同步状态异常,则确定通信系统内部时钟域的时钟同步状态发生异常。In a possible design method, the processing module is also used to determine that the clock synchronization status of the internal clock domain of the communication system is abnormal if the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,处理模块,还用于在通信系统内部时钟域的时钟同步状态发生异常的情况下,获取第一接入网设备的信息。其中,第一接入网设备为通信系统内部时钟域对应的接入网设备。In a possible design approach, the processing module is also used to obtain information about the first access network device when the clock synchronization state of the internal clock domain of the communication system is abnormal. Wherein, the first access network device is an access network device corresponding to the internal clock domain of the communication system.
在一种可能的设计方式中,收发模块,还用于向移动性管理网元发送第一请求消息。其中,第一请求消息可以包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识,第一请求消息可用于请求设备侧适配器对应的终端设备或第一终端设备接入的接入网设备的信息。In a possible design manner, the transceiver module is also used to send the first request message to the mobility management network element. The first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message may be used to request access to the terminal device corresponding to the device-side adapter or the first terminal device. Network device information.
收发模块,还用于接收来自移动性管理网元的第一接入网设备的信息。其中,第一接入网设备为设备侧适配器对应的终端设备或第一终端设备接入的接入网设备。The transceiver module is also used to receive information from the first access network device of the mobility management network element. The first access network device is a terminal device corresponding to a device-side adapter or an access network device to which the first terminal device is connected.
在一种可能的设计方式中,收发模块,还用于向会话管理网元发送第二请求消息。 其中,第二请求消息可以包括第一终端设备的标识、或设备侧适配器的端口标识,第二请求消息可用于请求第一终端设备、或设备侧适配器对应的终端设备接入的接入网设备的信息。收发模块,还用于接收来自会话管理网元的第一接入网设备的信息。其中,第一接入网设备为第一终端设备或设备侧适配器对应的终端设备接入的接入网设备。In a possible design manner, the transceiver module is also used to send a second request message to the session management network element. The second request message may include an identifier of the first terminal device or a port identifier of the device-side adapter, and the second request message may be used to request an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses. Information. The transceiver module is also configured to receive information from the first access network device of the session management network element. The first access network device is an access network device to which the terminal device corresponding to the first terminal device or the device-side adapter is connected.
在一种可能的设计方式中,收发模块,还用于接收来自应用网元的时钟状态通知请求。其中,时钟状态通知请求可以包括第二终端设备的标识,时钟状态通知请求可用于请求第二终端设备的时钟同步状态。In a possible design approach, the transceiver module is also used to receive clock status notification requests from application network elements. The clock status notification request may include the identification of the second terminal device, and the clock status notification request may be used to request the clock synchronization status of the second terminal device.
在一种可能的设计方式中,收发模块,还用于根据第二终端设备的标识,向第二终端设备发送第一时钟异常信息。其中,第一时钟异常信息可以用于指示时钟同步状态发生异常的时钟域,第二终端设备接入的接入网设备为第一接入网设备。In a possible design manner, the transceiver module is also configured to send the first clock abnormality information to the second terminal device according to the identifier of the second terminal device. The first clock abnormality information may be used to indicate a clock domain in which the clock synchronization state is abnormal, and the access network device accessed by the second terminal device is the first access network device.
在一种可能的设计方式中,收发模块,还用于向第一设备发送第一时钟状态请求。其中,第一时钟状态请求可以包括精确时间协议时钟域的标识,第一时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the transceiver module is also used to send a first clock status request to the first device. The first clock status request may include an identification of the Precision Time Protocol clock domain, and the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,收发模块,还用于向第二设备发送第二时钟状态请求。其中,第二时钟状态请求可以包括精确时间协议时钟域的标识,第二时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。In a possible design manner, the transceiver module is also used to send a second clock status request to the second device. The second clock status request may include an identification of the Precision Time Protocol clock domain, and the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the first clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
在一种可能的设计方式中,第二时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。精确时间协议时钟域偏差为第二设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为精确时间协议时钟域对应的同步信息指示的时钟。In a possible design manner, the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock. The first clock is the clock indicated by the synchronization information corresponding to the precision time protocol clock domain.
在一种可能的设计方式中,第二时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息、和/或通信系统内部时钟域的时钟同步状态是否异常。In a possible design manner, the second clock status information may also include: information about the first access network device corresponding to the internal clock domain of the communication system, and/or whether the clock synchronization status of the internal clock domain of the communication system is abnormal.
需要说明的是,第五方面所述的收发模块可以包括接收模块和发送模块。本申请对于收发模块的具体实现方式,不做具体限定。It should be noted that the transceiver module described in the fifth aspect may include a receiving module and a sending module. This application does not specifically limit the specific implementation of the transceiver module.
可选地,第五方面所述的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第五方面所述的通信装置可以执行第二方面所述的方法。Optionally, the communication device according to the fifth aspect may further include a storage module that stores programs or instructions. When the processing module executes the program or instruction, the communication device described in the fifth aspect can perform the method described in the second aspect.
需要说明的是,第五方面所述的通信装置可以是第一核心网网元,例如时延时钟网元,也可以是可设置于第一核心网网元中的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device described in the fifth aspect may be a first core network element, such as a delay clock network element, or may be a chip (system) or other that can be disposed in the first core network element. Parts or components are not limited in this application.
第五方面所述的通信装置的技术效果可以参考第二方面中任一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。 The technical effects of the communication device described in the fifth aspect can be referred to the technical effects of the communication method described in any possible implementation manner in the second aspect, and will not be described again here.
第六方面,提供一种通信装置。该通信装置包括:发送模块和接收模块。其中,接收模块,用于接收来自第一核心网网元的第一时钟状态请求。其中,第一时钟状态请求包括精确时间协议时钟域的标识,第一时钟状态请求用于请求精确时间协议时钟域的时钟同步状态。A sixth aspect provides a communication device. The communication device includes: a sending module and a receiving module. Wherein, the receiving module is used to receive the first clock status request from the first core network element. The first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain.
发送模块,用于向第一核心网网元发送第一时钟状态信息。其中,第一时钟状态信息包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差,精确时间协议时钟域偏差为通信装置侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为通信装置接收的精确时间协议时钟域对应的同步信息指示的时钟。The sending module is configured to send the first clock status information to the first core network element. The first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation, and the precision time protocol clock domain deviation is the clock corresponding to the precision time protocol clock domain on the communication device side The difference between the first clock and the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain received by the communication device.
在一种可能的设计方式中,第一时钟状态信息包括精确时间协议时钟域的时钟同步状态是否异常,该通信装置还包括处理模块。该处理模块,用于根据精确时间协议时钟域偏差,确定第一时钟状态信息。In a possible design manner, the first clock status information includes whether the clock synchronization status of the precise time protocol clock domain is abnormal, and the communication device further includes a processing module. The processing module is used to determine the first clock status information according to the precision time protocol clock domain deviation.
在一种可能的设计方式中,处理模块,还用于精确时间协议时钟域偏差大于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态异常。或者,处理模块,还用于精确时间协议时钟域偏差小于或等于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态无异常。In a possible design manner, the processing module is also configured to: if the precision time protocol clock domain deviation is greater than the first threshold, the first clock status information indicates that the synchronization status of the precision time protocol clock domain is abnormal. Alternatively, the processing module is also configured to configure the precision time protocol clock domain deviation to be less than or equal to the first threshold, and then the first clock status information indicates that there is no abnormality in the synchronization status of the precision time protocol clock domain.
在一种可能的设计方式中,第一时钟状态信息还包括通信系统内部时钟域的时钟同步状态是否异常,处理模块,还用于根据通信系统内部时钟域偏差,确定第一时钟状态信息。其中,通信系统内部时钟域偏差为通信装置侧的通信系统内部时钟域对应的时钟与第二时钟之间的差值,第二时钟为通信装置接收的通信系统内部时钟域对应的同步信息指示的时钟。In a possible design approach, the first clock status information also includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal, and the processing module is also configured to determine the first clock status information based on the internal clock domain deviation of the communication system. The communication system internal clock domain deviation is the difference between the clock corresponding to the communication system internal clock domain on the communication device side and the second clock. The second clock is indicated by the synchronization information corresponding to the communication system internal clock domain received by the communication device. clock.
在一种可能的设计方式中,第一时钟状态信息还可以包括:通信系统内部时钟域对应的第一接入网设备的信息。In a possible design manner, the first clock status information may also include: information of the first access network device corresponding to the internal clock domain of the communication system.
在一种可能的设计方式中,通信装置可以为网络侧适配器、设备侧适配器、用户面网元、或第一终端设备。In a possible design manner, the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
需要说明的是,接收模块和发送模块可以分开设置,也可以集成在一个模块中,即收发模块。本申请对于接收模块和发送模块的具体实现方式,不做具体限定。It should be noted that the receiving module and the sending module can be set up separately, or they can be integrated into one module, that is, the sending and receiving module. This application does not specifically limit the specific implementation methods of the receiving module and the sending module.
可选地,第六方面所述的通信装置还可以包括存储模块,该存储模块存储有程序或指令。当处理模块执行该程序或指令时,使得第六方面所述的通信装置可以执行第三方面所述的方法。Optionally, the communication device according to the sixth aspect may further include a storage module that stores programs or instructions. When the processing module executes the program or instruction, the communication device described in the sixth aspect can perform the method described in the third aspect.
需要说明的是,第六方面所述的通信装置可以是网络侧适配器、设备侧适配器、用户面网元、或第一终端设备,也可以是可设置于网络侧适配器、设备侧适配器、用户面网元、或第一终端设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device described in the sixth aspect may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device, or may be disposed on a network side adapter, a device side adapter, a user plane network element, or a first terminal device. The network element, or the chip (system) or other components or components of the first terminal device is not limited in this application.
第六方面所述的通信装置的技术效果可以参考第三方面中任一种可能的实现方式所述的通信方法的技术效果,此处不再赘述。The technical effects of the communication device described in the sixth aspect can be referred to the technical effects of the communication method described in any possible implementation manner in the third aspect, and will not be described again here.
第七方面,提供一种通信装置。该通信装置包括:处理器,该处理器与存储器耦合,存储器用于存储计算机程序。In a seventh aspect, a communication device is provided. The communication device includes a processor coupled to a memory for storing a computer program.
处理器用于执行存储器中存储的计算机程序,以使得如第一方面至第三方面中任一种可能的实现方式所述的方法被执行。 The processor is configured to execute a computer program stored in the memory, so that the method described in any possible implementation manner of the first to third aspects is executed.
在一种可能的设计中,第七方面所述的通信装置还可以包括收发器。该收发器可以为收发电路或输入/输出端口。所述收发器可以用于该通信装置与其他设备通信。In a possible design, the communication device described in the seventh aspect may further include a transceiver. The transceiver can be a transceiver circuit or an input/output port. The transceiver may be used for the communication device to communicate with other devices.
需要说明的是,输入端口可用于实现第一方面至第三方面所涉及的接收功能,输出端口可用于实现第一方面至第三方面所涉及的发送功能。It should be noted that the input port can be used to implement the receiving functions involved in the first to third aspects, and the output port can be used to implement the sending functions involved in the first to third aspects.
在本申请中,第七方面所述的通信装置可以为第一核心网网元或通信设备,或者设置于第一核心网网元或通信设备内部的芯片或芯片系统。第一核心网网元可以为时延时钟网元或会话管理网元,通信设备可以为网络侧适配器、设备侧适配器、用户面网元、或第一终端设备。In this application, the communication device described in the seventh aspect may be the first core network element or communication equipment, or a chip or chip system provided inside the first core network element or communication equipment. The first core network element may be a delay clock network element or a session management network element, and the communication device may be a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
此外,第七方面所述的通信装置的技术效果可以参考第一方面中任一种实现方式所述的方法的技术效果,此处不再赘述。In addition, the technical effects of the communication device described in the seventh aspect can be referred to the technical effects of the method described in any implementation manner of the first aspect, which will not be described again here.
第八方面,提供一种通信系统。该通信系统包括第一核心网网元、第一设备和第二设备。其中,第一核心网网元,用于实现如第一方面所述方法。第一设备,用于实现如第三方面所述方法。第二设备,用于实现如第三方面所述方法。An eighth aspect provides a communication system. The communication system includes a first core network element, a first device and a second device. Wherein, the first core network element is used to implement the method described in the first aspect. The first device is used to implement the method described in the third aspect. The second device is used to implement the method described in the third aspect.
或者,该通信系统包括如第四方面所述的用于实现如第一方面所述方法的通信装置、如第六方面所述的用于实现如第三方面所述方法的通信装置(通信装置为第一设备)、和如第六方面所述的用于实现如第三方面所述方法的通信装置(通信装置为第二设备)。Alternatively, the communication system includes a communication device as described in the fourth aspect for implementing the method as described in the first aspect, a communication device as described in the sixth aspect for implementing the method as described in the third aspect (communication device (being the first device), and the communication device as described in the sixth aspect for implementing the method as described in the third aspect (the communication device is the second device).
第一核心网网元可以为:时延时钟网元、或会话管理网元等。上述第一设备可以为网络侧适配器或用户面网元。第二设备可以为设备侧适配器或第一终端设备。The first core network element may be: a delay clock network element, a session management network element, etc. The above-mentioned first device may be a network side adapter or a user plane network element. The second device may be a device-side adapter or the first terminal device.
示例性地,该通信系统包括时延时钟网元、网络侧适配器和设备侧适配器。Exemplarily, the communication system includes a delay clock network element, a network side adapter, and a device side adapter.
又示例性地,该通信系统包括会话管理网元、用户面网元和第一终端设备。As another example, the communication system includes a session management network element, a user plane network element and a first terminal device.
或者,该通信系统包括第一核心网网元、第一设备和第一接入网设备。其中,第一核心网网元,用于实现如第一方面所述方法。第一设备,用于实现如第三方面所述方法。第一接入网设备用于接收来自第一核心网网元的通信系统内部时钟域的时钟同步状态请求,还用于向第一核心网网元发送通信系统内部时钟域的时钟同步状态。Alternatively, the communication system includes a first core network element, a first device and a first access network device. Wherein, the first core network element is used to implement the method described in the first aspect. The first device is used to implement the method described in the third aspect. The first access network device is configured to receive a clock synchronization status request of the internal clock domain of the communication system from the first core network element, and is also configured to send the clock synchronization status of the internal clock domain of the communication system to the first core network element.
或者,该通信系统包括如第五方面所述的用于实现如第二方面所述方法的通信装置、如第六方面所述的用于实现如第三方面所述方法的通信装置(通信装置为第一设备)、和第一接入网设备。Alternatively, the communication system includes a communication device as described in the fifth aspect for implementing the method as described in the second aspect, a communication device as described in the sixth aspect for implementing the method as described in the third aspect (communication device is the first device), and the first access network device.
示例性地,该通信系统包括时延时钟网元、网络侧适配器和第一接入网设备。Exemplarily, the communication system includes a delay clock network element, a network side adapter, and a first access network device.
第九方面,提供了一种芯片系统,该芯片系统包括逻辑电路和输入/输出端口。其中,逻辑电路用于实现第一方面至第三方面所涉及的处理功能,输入/输出端口用于实现第一方面至第三方面所涉及的收发功能。具体地,输入端口可用于实现第一方面至第三方面所涉及的接收功能,输出端口可用于实现第一方面至第三方面所涉及的发送功能。In a ninth aspect, a chip system is provided, the chip system including a logic circuit and an input/output port. Wherein, the logic circuit is used to implement the processing functions involved in the first aspect to the third aspect, and the input/output port is used to implement the transceiver functions involved in the first aspect to the third aspect. Specifically, the input port can be used to implement the receiving functions involved in the first to third aspects, and the output port can be used to implement the sending functions involved in the first to third aspects.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现第一方面至第三方面所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory, which is used to store program instructions and data for implementing the functions involved in the first to third aspects.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system may be composed of chips, or may include chips and other discrete devices.
第十方面,提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令;当该计算机程序或指令在计算机上运行时,使得第一方面至第三方面中 任意一种可能的实现方式所述的方法被执行。In a tenth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program or instructions; when the computer program or instructions are run on a computer, the steps in the first to third aspects are achieved. The method described in any possible implementation is executed.
第十一方面,提供一种计算机程序产品,包括计算机程序或指令,当该计算机程序或指令在计算机上运行时,使得第一方面至第三方面中任意一种可能的实现方式所述的方法被执行。In an eleventh aspect, a computer program product is provided, including a computer program or instructions. When the computer program or instructions are run on a computer, the method described in any one of the possible implementations of the first to third aspects is achieved. be executed.
附图说明Description of the drawings
图1为本申请实施例提供的一种通信系统的架构示意图;Figure 1 is a schematic architectural diagram of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种网络架构的示意图;Figure 2 is a schematic diagram of a network architecture provided by an embodiment of the present application;
图3为本申请实施例提供的一种时钟同步信号的传输路径拓扑图;Figure 3 is a topological diagram of a transmission path of a clock synchronization signal provided by an embodiment of the present application;
图4为本申请实施例提供的一种时间敏感网络系统与移动通信系统融合的示意图;Figure 4 is a schematic diagram of the integration of a time-sensitive network system and a mobile communication system provided by an embodiment of the present application;
图5为本申请实施例提供的一种传输路径的示意图;Figure 5 is a schematic diagram of a transmission path provided by an embodiment of the present application;
图6为本申请实施例提供的一种通信方法的流程示意图;Figure 6 is a schematic flow chart of a communication method provided by an embodiment of the present application;
图7为本申请实施例提供的另一种通信方法的流程示意图;Figure 7 is a schematic flow chart of another communication method provided by an embodiment of the present application;
图8为本申请实施例提供的又一种通信方法的流程示意图;Figure 8 is a schematic flow chart of another communication method provided by an embodiment of the present application;
图9为本申请实施例提供的一种通信装置的结构示意图;Figure 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图10为本申请实施例提供的另一种通信装置的结构示意图;Figure 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图11为本申请实施例提供的又一种通信装置的结构示意图。Figure 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in this application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如通用移动通信系统(universal mobile telecommunications system,UMTS)、无线局域网(wireless local area network,WLAN)、无线保真(wireless fidelity,Wi-Fi)系统、有线网络、车到任意物体(vehicle to everything,V2X)通信系统、设备间(device-to-device,D2D)通信系统、车联网通信系统、第4代(4th generation,4G)移动通信系统,如长期演进(long term evolution,LTE)系统、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统,第五代(5th generation,5G)移动通信系统,如新空口(new radio,NR)系统,以及未来的通信系统,如第六代(6th generation,6G)移动通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as universal mobile telecommunications system (UMTS), wireless local area network (WLAN), wireless fidelity (wireless fidelity, Wi-Fi) ) system, wired network, vehicle to everything (V2X) communication system, device-to-device (D2D) communication system, Internet of Vehicles communication system, 4th generation (4G) mobile communication Systems, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, fifth generation (5th generation, 5G) mobile communication systems, such as new radio , NR) system, as well as future communication systems, such as the sixth generation (6th generation, 6G) mobile communication system.
本申请将围绕可包括多个设备、组件、模块等的系统来呈现各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features in terms of systems, which may include multiple devices, components, modules, etc. It should be understood and appreciated that various systems may include additional devices, components, modules, etc., and/or may not include all devices, components, modules, etc. discussed in connection with the figures. Additionally, a combination of these scenarios can be used.
另外,在本申请实施例中,“示例地”、“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。In addition, in the embodiments of this application, words such as "exemplarily" and "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "example" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the word example is intended to present a concept in a concrete way.
本申请实施例中,“的(of)”,“相应的(corresponding,relevant)”和“对应的(corresponding)”有时可以混用,应当指出的是,在不强调其区别时,其所要表达的含义是一致的。In the embodiments of this application, "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the difference is not emphasized, the intended expression The meaning is consistent.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人 员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of this application are for the purpose of explaining the technical solutions of the embodiments of this application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art It can be known that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
为便于理解本申请实施例,首先以图1中示出的通信系统为例详细说明适用于本申请实施例的通信系统。示例性地,图1为本申请实施例提供的通信方法所适用的一种通信系统的架构示意图。In order to facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application is first described in detail, taking the communication system shown in FIG. 1 as an example. Exemplarily, FIG. 1 is an architectural schematic diagram of a communication system to which the communication method provided by the embodiment of the present application is applicable.
如图1所示,该通信系统包括第一核心网网元、第一设备和第二设备。或者,该通信系统包括第一核心网网元、第一设备和第一接入网设备。As shown in Figure 1, the communication system includes a first core network element, a first device and a second device. Alternatively, the communication system includes a first core network element, a first device and a first access network device.
其中,上述第一核心网网元位于上述通信系统的网络侧,可用于为第一接入网设备、第一设备和/或第二设备等提供网络服务。第一核心网网元可以为:时延时钟网元、或会话管理网元等。Wherein, the above-mentioned first core network element is located on the network side of the above-mentioned communication system and can be used to provide network services for the first access network device, the first device and/or the second device, etc. The first core network element may be: a delay clock network element, a session management network element, etc.
示例性地,时延时钟网元:可以用于实现控制时钟同步相关功能。在5G通信系统中,该时延时钟网元可以是时延敏感通信和时钟同步功能(time sensitive communication and time synchronization function,TSCTSF)网元。For example, the delay clock network element: can be used to control clock synchronization related functions. In the 5G communication system, the delay clock network element can be a time-sensitive communication and time synchronization function (TSCTSF) network element.
示例性地,会话管理网元:主要用于会话管理(例如创建、删除等)、维护会话上下文及用户面转发管道信息、用户设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知等。For example, the session management network element is mainly used for session management (such as creation, deletion, etc.), maintenance of session context and user plane forwarding pipeline information, network interconnection protocol (IP) address allocation and management of user equipment, Select endpoints that can manage user plane functions, policy control and charging function interfaces, downlink data notifications, etc.
在5G通信系统中,该会话管理网元可以是会话管理功能(session management function,SMF)网元,完成终端IP地址分配,UPF选择,及计费与QoS策略控制等。In the 5G communication system, the session management network element can be a session management function (SMF) network element, which completes terminal IP address allocation, UPF selection, accounting and QoS policy control, etc.
需要说明的是,第一核心网网元还可以为其他核心网网元,只要能够实现本申请实施例中第一核心网网元的功能即可。It should be noted that the first core network element can also be other core network elements, as long as it can realize the functions of the first core network element in the embodiment of this application.
其中,上述第一设备可以为网络侧适配器或用户面网元。第二设备可以为设备侧适配器或第一终端设备。例如,第一设备为网络侧适配器,且第二设备为设备侧适配器;或者,第一设备为用户面网元,且第二设备为第一终端设备。Wherein, the above-mentioned first device may be a network side adapter or a user plane network element. The second device may be a device-side adapter or the first terminal device. For example, the first device is a network-side adapter, and the second device is a device-side adapter; or the first device is a user plane network element, and the second device is a first terminal device.
示例性地,该通信系统包括时延时钟网元、网络侧适配器和设备侧适配器。Exemplarily, the communication system includes a delay clock network element, a network side adapter, and a device side adapter.
又示例性地,该通信系统包括会话管理网元、用户面网元和第一终端设备。As another example, the communication system includes a session management network element, a user plane network element and a first terminal device.
又示例性地,该通信系统包括时延时钟网元、网络侧适配器和第一接入网设备。As another example, the communication system includes a delay clock network element, a network side adapter, and a first access network device.
用户面网元:作为和数据网络的接口,完成用户面数据转发、基于会话/流级的计费统计,带宽限制等功能。即分组路由和转发以及用户面数据的服务质量(quality of service,QoS)处理等。在5G通信系统中,该用户面网元可以是用户面功能(user plane function,UPF)网元。User plane network element: As an interface with the data network, it completes functions such as user plane data forwarding, session/flow-level accounting statistics, and bandwidth limitation. That is, packet routing and forwarding and quality of service (QoS) processing of user plane data, etc. In the 5G communication system, the user plane network element may be a user plane function (UPF) network element.
需要说明的是,网络侧适配器和设备侧适配器的具体实现见下述图2中对应的阐述。It should be noted that the specific implementation of the network-side adapter and the device-side adapter is shown in the corresponding description in Figure 2 below.
其中,上述第一接入网设备也可以称为接入设备,第一接入网设备能够管理无线资源,为用户设备提供接入服务,完成数据在用户设备和核心网之间的转发,第一接入网设备也可以理解为网络中的基站。Wherein, the above-mentioned first access network device may also be called an access device. The first access network device can manage wireless resources, provide access services for user equipment, and complete data forwarding between the user equipment and the core network. An access network device can also be understood as a base station in the network.
示例性地,本申请实施例中的第一接入网设备可以是用于与第一终端设备通信的任意一种具有无线收发功能的通信设备。该第一接入网设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、 节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(home evolved NodeB,HeNB,或home Node B,HNB)、基带单元(baseBand unit,BBU),无线保真(wireless fidelity,WIFI)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G,如NR系统中的gNB,或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或分布式单元(distributed unit,DU)等。Illustratively, the first access network device in the embodiment of the present application may be any communication device with a wireless transceiver function used to communicate with the first terminal device. The first access network equipment includes but is not limited to: evolved Node B (eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (BTS), home base station (home evolved NodeB, HeNB, or home Node B, HNB), baseband unit (baseBand unit, BBU), access point (AP), wireless relay node, wireless backhaul node, transmission point (TP) or sending and receiving in a wireless fidelity (WIFI) system Point (transmission and reception point, TRP), etc., can also be 5G, such as gNB in the NR system, or transmission point (TRP or TP), one or a group (including multiple antenna panels) antennas of the base station in the 5G system The panel may also be a network node that constitutes a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU).
在一些部署中,gNB可以包括集中式单元(centralized unit,CU)和DU。gNB还可以包括有源天线单元(active antenna unit,AAU)。CU实现gNB的部分功能,DU实现gNB的部分功能。比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、媒体接入控制(media access control,MAC)层和物理(physical,PHY)层的功能。AAU实现部分物理层处理功能、射频处理及有源天线的相关功能。RRC层的信息由CU生成,最终会经过DU的PHY层封装变成PHY层信息,或者,由PHY层的信息转变而来。因而,在这种架构下,高层信令如RRC层信令,也可以认为是由DU发送的,或者,由DU+AAU发送的。可以理解的是,第一接入网设备可以为包括CU节点、DU节点、AAU节点中一项或多项的设备。此外,可以将CU划分为接入网(radio access network,RAN)中的接入网设备,也可以将CU划分为核心网(core network,CN)中的接入网设备,本申请对此不做限定。In some deployments, gNB may include centralized units (CUs) and DUs. The gNB may also include an active antenna unit (AAU). CU implements some functions of gNB, and DU implements some functions of gNB. For example, CU is responsible for processing non-real-time protocols and services, implementing radio resource control (RRC), and packet data convergence protocol (PDCP) layer functions. DU is responsible for processing physical layer protocols and real-time services, and implementing the functions of the radio link control (RLC) layer, media access control (MAC) layer and physical (physical, PHY) layer. AAU implements some physical layer processing functions, radio frequency processing and active antenna related functions. The RRC layer information is generated by the CU, and will eventually be encapsulated by the PHY layer of the DU into PHY layer information, or converted from the PHY layer information. Therefore, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by DU, or sent by DU+AAU. It can be understood that the first access network device may be a device including one or more of a CU node, a DU node, and an AAU node. In addition, the CU can be divided into access network equipment in the access network (radio access network, RAN), or the CU can be divided into access network equipment in the core network (core network, CN). This application does not Make limitations.
其中,上述第一终端设备为接入上述通信系统,且具有无线收发功能的终端或可设置于该终端的芯片或芯片系统。本申请中的终端设备(例如第一终端设备等)也可以称为终端、用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、客户前置设备(customer premise equipment,CPE)、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端或者未来演进网络中的终端等。Wherein, the above-mentioned first terminal device is a terminal that is connected to the above-mentioned communication system and has a wireless transceiver function, or a chip or chip system that can be installed in the terminal. The terminal equipment (such as first terminal equipment, etc.) in this application may also be called terminal, user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal , mobile device, user terminal, wireless communication device, user agent or user device. The terminal in the embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiver functions, a customer premise equipment (customer premise equipment, CPE), or a virtual reality (virtual reality, VR) terminal. , augmented reality (AR) terminals, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical, smart grid ), wireless terminals in transportation safety, wireless terminals in smart city, wireless terminals in smart home, cellular phones, cordless phones, session initiation protocols initiation protocol (SIP) telephone, wireless local loop (WLL) station, personal digital assistant (personal digital assistant (PDA)), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem , vehicle equipment, wearable devices, terminals in 5G networks or terminals in future evolution networks, etc.
又例如,本申请中的终端设备(例如第一终端设备等)可以是智慧物流中的快递终端(例如可监控货物车辆位置的设备、可监控货物温湿度的设备等)、智慧农业中的无线终端(例如可收集禽畜的相关数据的可穿戴设备等)、智慧建筑中的无线终端(例如智慧电梯、消防监测设备、以及智能电表等)、智能医疗中的无线终端(例如 可监测人或动物的生理状态的可穿戴设备)、智能交通中的无线终端(例如智能公交车、智能车辆、共享单车、充电桩监测设备、智能红绿灯、以及智能监控以及智能停车设备等)、智能零售中的无线终端(例如自动售货机、自助结账机、以及无人便利店等)。又例如,本申请的终端设备可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请提供的方法。For another example, the terminal device in this application (such as the first terminal device, etc.) can be an express terminal in smart logistics (such as a device that can monitor the location of cargo vehicles, a device that can monitor the temperature and humidity of cargo, etc.), a wireless terminal in smart agriculture, etc. Terminals (such as wearable devices that can collect data about livestock, etc.), wireless terminals in smart buildings (such as smart elevators, fire monitoring equipment, and smart meters, etc.), wireless terminals in smart medical care (such as Wearable devices that can monitor the physiological status of people or animals), wireless terminals in smart transportation (such as smart buses, smart vehicles, shared bicycles, charging pile monitoring equipment, smart traffic lights, and smart monitoring and smart parking equipment, etc.), Wireless terminals in smart retail (such as vending machines, self-checkout machines, and unmanned convenience stores, etc.). For another example, the terminal device of this application may be a vehicle-mounted module, vehicle-mounted module, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit built into the vehicle as one or more components or units. The vehicle uses the built-in vehicle-mounted module, vehicle-mounted module The group, vehicle-mounted component, vehicle-mounted chip or vehicle-mounted unit can implement the method provided by this application.
可选的,图1所示的通信系统可以适用于目前正在讨论的通信网络,也可以适用于未来的其他网络等,本申请实施例对此不做具体限定。Optionally, the communication system shown in Figure 1 may be applicable to the communication network currently being discussed, or may be applicable to other networks in the future, etc. This is not specifically limited in the embodiment of the present application.
示例性的,图2是本申请实施例提供的一种网络架构的示意图。图1所示的通信系统可以适用于图2所示的网络架构中。For example, FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the present application. The communication system shown in Figure 1 can be applied to the network architecture shown in Figure 2.
如图2所示,该网络架构中可以包括但不限于如下一项或多项:末端设备100、设备侧适配器110、终端设备120、(无线)接入网设备130、用户面网元140、网络侧适配器150、数据网络160、移动性管理网元170、会话管理网元180、时延时钟网元190、应用网元191、和策略控制网元192。As shown in Figure 2, the network architecture may include but is not limited to one or more of the following: terminal equipment 100, device side adapter 110, terminal equipment 120, (wireless) access network equipment 130, user plane network element 140, Network side adapter 150, data network 160, mobility management network element 170, session management network element 180, delay clock network element 190, application network element 191, and policy control network element 192.
下面对该网络架构中涉及的各个网元分别进行说明。Each network element involved in the network architecture is described below.
1、末端设备100:可以为可编程逻辑控制设备(programmable logic controller,PLC)、或输入输出(input output,IO)设备,或者为可设置于该可编程逻辑控制设备、或输入输出设备的芯片或芯片系统。例如,可编程逻辑控制设备可以为主PLC、或主控机器人等,输入输出设备可以为各类IO,如数字量输入输出模块、电压电流输入输出模块、或温度输入输出模块等。1. Terminal device 100: It can be a programmable logic controller (PLC) or an input/output (IO) device, or a chip that can be set in the programmable logic control device or the input/output device. or system-on-a-chip. For example, the programmable logic control device can be the main PLC, or the main control robot, etc., and the input and output devices can be various types of IO, such as digital input and output modules, voltage and current input and output modules, or temperature input and output modules.
2、设备侧适配器110:可用于支持TSN以及建立时延敏感通信(time sensitive communication,TSC)相关的协议栈,包括接收精确时间协议时钟域的同步信息进行时钟同步,根据时钟同步状态进行数据流量整流和门控等。设备侧适配器110与终端设备120可以分别为一个单独的设备,或者设备侧适配器110与终端设备120可以集成在一个设备中,本申请对此不进行限定。2. Device-side adapter 110: can be used to support TSN and establish a protocol stack related to time-sensitive communication (TSC), including receiving synchronization information from the precise time protocol clock domain for clock synchronization, and conducting data traffic according to the clock synchronization status. Rectification and gating, etc. The device-side adapter 110 and the terminal device 120 may be separate devices, or the device-side adapter 110 and the terminal device 120 may be integrated into one device, which is not limited in this application.
在5G移动通信系统中,该设备侧适配器可以是设备侧时间敏感网络适配器(device side time sensitive network translator,DS-TT)。In the 5G mobile communication system, the device side adapter may be a device side time sensitive network translator (DS-TT).
3、终端设备120的实现方式可参照上述图1中对第一终端设备的阐述,此处不再赘述。3. For the implementation of the terminal device 120, reference can be made to the description of the first terminal device in FIG. 1 above, which will not be described again here.
4、(无线)接入网设备((radio)access network,(R)AN)130的实现方式可参照上述图1中对第一接入网设备的阐述,此处不再赘述。4. The implementation of the (radio) access network device ((radio) access network, (R)AN) 130 can be referred to the description of the first access network device in Figure 1 above, and will not be described again here.
5、用户面网元140的实现方式可参照上述图1中对第一终端设备的阐述,此处不再赘述。5. For the implementation of the user plane network element 140, reference can be made to the description of the first terminal device in Figure 1 above, which will not be described again here.
6、网络侧适配器150:可用于支持TSN以及建立TSC相关的协议栈,包括接收精确时间协议时钟域的同步信息进行时钟同步,根据时钟同步状态进行数据流量整流和门控等。网络侧适配器150与用户面网元140可以分别为一个单独的设备,或者网络侧适配器150与用户面网元140可以集成在一个设备中,本申请对此不进行限定。6. Network side adapter 150: can be used to support TSN and establish TSC-related protocol stacks, including receiving synchronization information from the precise time protocol clock domain for clock synchronization, and performing data traffic rectification and gating according to the clock synchronization status. The network side adapter 150 and the user plane network element 140 may be separate devices, or the network side adapter 150 and the user plane network element 140 may be integrated into one device, which is not limited in this application.
在5G移动通信系统中,该网络侧适配器可以是网络侧时间敏感网络适配器(network side time sensitive network translator,NW-TT)。 In the 5G mobile communication system, the network side adapter may be a network side time sensitive network translator (NW-TT).
7、数据网络160:可用于提供例如运营商服务、互联网接入或第三方服务,包含服务器,服务器端实现视频源编码、渲染等。在5G移动通信系统中,该数据网络可以是数据网络(data network,DN)。7. Data network 160: can be used to provide operator services, Internet access or third-party services, including servers, which implement video source encoding and rendering on the server side. In the 5G mobile communication system, the data network may be a data network (DN).
8、移动性管理网元170:主要用于移动性管理和接入管理等。在5G移动通信系统中,该接入管理网元可以是接入和移动性管理功能(access and mobility management function,AMF)网元,主要进行移动性管理、接入鉴权/授权等功能。此外,移动性管理网元还可以负责在终端与策略控制功能(policy control function,PCF)网元间传递用户策略。8. Mobility management network element 170: mainly used for mobility management and access management. In the 5G mobile communication system, the access management network element can be an access and mobility management function (AMF) network element, which mainly performs functions such as mobility management and access authentication/authorization. In addition, the mobility management network element can also be responsible for transmitting user policies between the terminal and the policy control function (PCF) network element.
9、会话管理网元180的实现方式可参照上述图1中对会话管理网元的阐述,此处不再赘述。9. The implementation of the session management network element 180 may refer to the description of the session management network element in Figure 1 above, and will not be described again here.
10、时延时钟网元190的实现方式可参照上述图1中对时延时钟网元的阐述,此处不再赘述。10. The implementation of the delay clock network element 190 may refer to the description of the delay clock network element in Figure 1 above, and will not be described again here.
11、应用网元191:可用于提供各种业务服务,能够通过网络开放功能(network exposure function,NEF)网元与核心网交互,以及能够和策略管理框架交互进行策略管理。在5G移动通信系统中,该应用网元可以是应用功能(application function,AF)网元、或时间敏感网络应用功能(time sensitive network application function,TSNAF)网元,表示第三方或运营商的应用功能,是5G网络获取外部应用数据的接口,主要用于传递应用侧对网络侧的需求。11. Application network element 191: can be used to provide various business services, can interact with the core network through network exposure function (NEF) network elements, and can interact with the policy management framework for policy management. In the 5G mobile communication system, the application network element can be an application function (AF) network element or a time-sensitive network application function (TSNAF) network element, representing a third-party or operator's application Function is the interface for the 5G network to obtain external application data. It is mainly used to convey the needs of the application side to the network side.
12、策略控制网元192:包括用户签约数据管理功能、策略控制功能、计费策略控制功能、服务质量(quality of service,QoS)控制等,用于指导网络行为的统一策略框架,为控制面功能网元(例如AMF,SMF网元等)提供策略规则信息等。12. Policy control network element 192: includes user subscription data management functions, policy control functions, billing policy control functions, quality of service (QoS) control, etc. It is a unified policy framework used to guide network behavior and serves as the control plane Functional network elements (such as AMF, SMF network elements, etc.) provide policy rule information, etc.
在5G移动通信系统中,该策略控制网元可以是PCF。In the 5G mobile communication system, the policy control network element may be the PCF.
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。上述功能网元可划分出一个或多个服务,进一步,还可能会出现独立于网络功能存在的服务。上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限。It can be understood that the above network elements or functions can be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform). The above functional network elements can be divided into one or more services. Furthermore, there may also be services that exist independently of network functions. The above network element or function can be implemented by one device, or can be implemented by multiple devices together, or can be a functional module in one device, which is not specifically limited in the embodiments of this application.
需要说明的是,本申请实施例提供的通信方法,可以适用于图1所示的通信系统,具体实现可以参考下述方法实施例,此处不再赘述。It should be noted that the communication method provided by the embodiments of the present application can be applied to the communication system shown in Figure 1. For specific implementation, please refer to the following method embodiments, which will not be described again here.
应当指出的是,本申请实施例中的方案还可以应用于其他通信系统中,相应的名称也可以用其他通信系统中的对应功能的名称进行替代。It should be noted that the solutions in the embodiments of the present application can also be applied to other communication systems, and the corresponding names can also be replaced with the names of corresponding functions in other communication systems.
应理解,图2仅为便于理解而示例的简化示意图,该网络架构中还可以包括其他网络设备,和/或,其他终端设备,图2中未予以画出。It should be understood that FIG. 2 is only a simplified schematic diagram for ease of understanding. The network architecture may also include other network devices and/or other terminal devices, which are not shown in FIG. 2 .
为了使得本申请实施例更加清楚,以下对与本申请实施例中相关的部分内容以及概念作统一介绍。In order to make the embodiments of the present application clearer, some contents and concepts related to the embodiments of the present application are introduced in a unified manner below.
第一,时钟域端口状态:First, clock domain port status:
时钟域端口状态包括主时钟状态和从时钟状态。The clock domain port status includes master clock status and slave clock status.
需要说明的是,主时钟状态可以称为主状态(master state或者leader state),处于主时钟状态的时钟域端口可以称为出端口(egress port),从时钟状态可以称为从状 态(slave state或者follower state),处于从时钟状态的时钟域端口可以称为入端口(ingress port),本申请对此不限定。It should be noted that the master clock state can be called the master state (master state or leader state), the clock domain port in the master clock state can be called the egress port, and the slave clock state can be called the slave state. (slave state or follower state), the clock domain port in the slave clock state can be called an ingress port, which is not limited in this application.
时间敏感网络中可以采用(广义)精确时间协议((generalized)precision time protocol,(g)PTP)时钟同步机制进行各节点间的时钟同步。主要的同步机制为主时钟向从时钟发送时钟同步信号,例如,同步(sync)信号和跟随(follow up)信号,从时钟计算两者之间的时钟偏差并进行调整。其中,同步信号可以包括同步信息(例如主时钟的相关配置信息),跟随信号可以包括发送同步信号的时间。In time-sensitive networks, the (generalized) precision time protocol ((g)PTP) clock synchronization mechanism can be used to synchronize clocks between nodes. The main synchronization mechanism is for the master clock to send clock synchronization signals to the slave clock, such as synchronization (sync) signals and follow (follow up) signals. The slave clock calculates the clock deviation between the two and adjusts it. The synchronization signal may include synchronization information (such as configuration information related to the master clock), and the following signal may include the time when the synchronization signal is sent.
图3为本申请实施例提供的一种时钟同步信号的传输路径拓扑图。Figure 3 is a topological diagram of a transmission path of a clock synchronization signal provided by an embodiment of the present application.
结合图3,时钟同步信号传输路径中的时钟类型可以包括如下一项或多项:普通时钟(ordinary clock,OC)、边界时钟(boundary clock,BC)和透明时钟(transparent clock,TC)。普通时钟仅有一个时钟域端口,边界时钟可以提供两个或两个以上时钟域端口,透明时钟可以估计同步信号的传输时间,并将该传输时间发送给接收该消息的其他时钟。Combined with Figure 3, the clock types in the clock synchronization signal transmission path can include one or more of the following: ordinary clock (ordinary clock, OC), boundary clock (boundary clock, BC) and transparent clock (transparent clock, TC). Ordinary clocks have only one clock domain port, while boundary clocks can provide two or more clock domain ports. Transparent clocks can estimate the transmission time of synchronization signals and send the transmission time to other clocks that receive the message.
图3中显示了各个时钟的时钟域端口状态,主时钟状态简写为M,从时钟状态简写为S。在时钟同步过程中,同步信号和跟随信号只能从主时钟状态的时钟域端口发往从时钟状态的时钟域端口。假设OC1为主时钟,OC2-OC4为从时钟,主时钟OC1通过透明时钟TC将同步信号和跟随信号发往BC1的时钟域端口1(端口1为从时钟状态S),透明时钟TC可以看作透明的传输路径,没有时钟域端口状态。边界时钟内部只能由从时钟状态的时钟域端口接收同步信号和跟随信号,并将接收到的信号发送给从时钟状态的时钟域端口,例如BC1的时钟域端口1接收同步信号和跟随信号后可以发给BC1的时钟域端口2和BC1的时钟域端口2(时钟域端口2和时钟域端口3均为主时钟状态M)。Figure 3 shows the clock domain port status of each clock. The master clock status is abbreviated as M, and the slave clock status is abbreviated as S. During the clock synchronization process, the synchronization signal and the follow-up signal can only be sent from the clock domain port in the master clock state to the clock domain port in the slave clock state. Assume that OC1 is the master clock and OC2-OC4 are slave clocks. The master clock OC1 sends the synchronization signal and the follow-up signal to the clock domain port 1 of BC1 through the transparent clock TC (port 1 is the slave clock state S). The transparent clock TC can be regarded as Transparent transmission path, no clock domain port status. Internally, the boundary clock can only receive the synchronization signal and the following signal from the clock domain port in the slave clock state, and send the received signal to the clock domain port in the slave clock state. For example, the clock domain port 1 of BC1 receives the synchronization signal and the following signal. It can be sent to the clock domain port 2 of BC1 and the clock domain port 2 of BC1 (both clock domain port 2 and clock domain port 3 are in the main clock state M).
第二,时间敏感网络系统与移动通信系统融合的场景:Second, the scenario of the integration of time-sensitive network systems and mobile communication systems:
图4为本申请实施例提供的一种时间敏感网络系统与移动通信系统融合的示意图。Figure 4 is a schematic diagram of the integration of a time-sensitive network system and a mobile communication system according to an embodiment of the present application.
结合图4,时间敏感网络系统采用(广义)精确时间协议时钟域,移动通信系统采用通信系统内部时钟域。时间敏感网络系统可以通过移动通信系统将(g)PTP对应的同步信息发送给末端设备(需要连接时间敏感网络的设备),以使末端设备进行时间同步,移动通信系统可以作为时间敏感网络的边界时钟。图4中采用实线表示的时钟可以是通信系统内部时钟域对应的时钟,图4中采用虚线表示的时钟可以是精确时间协议时钟域对应的时钟。Combined with Figure 4, the time-sensitive network system uses the (generalized) precise time protocol clock domain, and the mobile communication system uses the internal clock domain of the communication system. The time-sensitive network system can send the synchronization information corresponding to (g)PTP to the end device (the device that needs to be connected to the time-sensitive network) through the mobile communication system, so that the end device can perform time synchronization. The mobile communication system can serve as the boundary of the time-sensitive network. clock. The clock represented by the solid line in Figure 4 may be the clock corresponding to the internal clock domain of the communication system, and the clock represented by the dotted line in Figure 4 may be the clock corresponding to the precise time protocol clock domain.
需要说明的是,图4指示以从网络侧适配器向设备侧适配器传输精确时间协议时钟域对应的同步信息为例。终端设备可以外接或集成设备侧适配器,用户面网元可以外接或集成网络侧适配器。本申请以精确时间协议时钟域为例进行阐述,适用于精确时间协议时钟域的方法或功能同样适用于广义精确时间协议时钟域。It should be noted that Figure 4 indicates that synchronization information corresponding to the precise time protocol clock domain is transmitted from the network side adapter to the device side adapter as an example. Terminal equipment can be externally connected or integrated with device-side adapters, and user plane network elements can be externally connected with or integrated with network-side adapters. This application takes the Precision Time Protocol clock domain as an example for elaboration. The methods or functions applicable to the Precision Time Protocol clock domain are also applicable to the Generalized Precision Time Protocol clock domain.
示例性地,时间敏感网络系统可以通过对应的管理实体将同步信息(精确时间协议时钟域对应的同步信息)发送广播给网桥和/或能够直接接收的末端设备,网桥将该同步信息传输至网络侧适配器,用户面网元可以通过网络侧适配器接收时间敏感网络广播的同步信息,并发给每个终端设备(例如,以单播的形式),再由终端设备通过设备侧适配器发送末端设备。 For example, the time-sensitive network system can send and broadcast the synchronization information (synchronization information corresponding to the precise time protocol clock domain) to the network bridge and/or the terminal device that can directly receive it through the corresponding management entity, and the network bridge transmits the synchronization information. To the network side adapter, the user plane network element can receive the synchronization information of the time-sensitive network broadcast through the network side adapter and send it to each terminal device (for example, in the form of unicast), and then the terminal device sends the synchronization information to the end device through the device side adapter. .
移动通信系统可以通过对应的管理实体将同步信息(通信系统内部时钟域对应的同步信息)发送给接入网设备,接入网设备可以通过系统消息块(system information block,SIB)消息或无线资源控制(radio resource control,RRC)消息等形式将该同步信息发给终端设备,再由终端设备将该同步信息传输至设备侧适配器。接入网设备可以将该同步信息发给用户面网元。The mobile communication system can send synchronization information (synchronization information corresponding to the internal clock domain of the communication system) to the access network device through the corresponding management entity, and the access network device can use system information block (SIB) messages or wireless resources. The synchronization information is sent to the terminal device in the form of a radio resource control (RRC) message, and then the terminal device transmits the synchronization information to the device-side adapter. The access network equipment can send the synchronization information to the user plane network element.
其中,用户面网元可以接收和维护通信系统内部时钟域对应的时钟(如图4中采用实线表示的时钟)和精确时间协议时钟域对应的时钟(如图4中采用实线表示的时钟),网络侧适配器可以接收和维护通信系统内部时钟域对应的时钟和精确时间协议时钟域对应的时钟。接入网设备可以接收和维护通信系统内部时钟域对应的时钟,终端设备接收和维护通信系统内部时钟域对应的时钟和精确时间协议时钟域对应的时钟。设备侧适配器可以接收和维护通信系统内部时钟域对应的时钟和精确时间协议时钟域对应的时钟。Among them, the user plane network element can receive and maintain the clock corresponding to the internal clock domain of the communication system (the clock represented by the solid line in Figure 4) and the clock corresponding to the precise time protocol clock domain (the clock represented by the solid line in Figure 4 ), the network side adapter can receive and maintain the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precise time protocol clock domain. The access network equipment can receive and maintain the clock corresponding to the internal clock domain of the communication system, and the terminal equipment receives and maintains the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precision time protocol clock domain. The device-side adapter can receive and maintain the clock corresponding to the internal clock domain of the communication system and the clock corresponding to the precise time protocol clock domain.
图5为本申请实施例提供的一种传输路径的示意图。Figure 5 is a schematic diagram of a transmission path provided by an embodiment of the present application.
如图5所示,网络侧适配器可以接收时间敏感网络广播的同步信息(精确时间协议时钟域对应的同步信息),并通过移动通信系统中的节点(用户面网元、接入网设备和终端设备)传输给设备侧适配器,或者,设备侧适配器也可以接收时间敏感网络广播的同步信息,并通过移动通信系统中的节点(终端设备、接入网设备和用户面网元)传输给网络侧适配器。As shown in Figure 5, the network side adapter can receive the synchronization information broadcast by the time-sensitive network (synchronization information corresponding to the clock domain of the precision time protocol), and transmit it through the nodes in the mobile communication system (user plane network elements, access network equipment and terminals). device) to the device-side adapter, or the device-side adapter can also receive the synchronization information broadcast by the time-sensitive network and transmit it to the network side through the nodes in the mobile communication system (terminal equipment, access network equipment and user plane network elements) adapter.
结合图4,在时间敏感网络系统通过移动通信系统传输精确时间协议时钟域对应的同步信息的过程中,会在移动通信系统中产生驻留时间,移动通信系统中的设备可以采用通信系统内部时钟域对应的时钟更新驻留时间。例如同步信息的数据包包头中包括校正域,用户面网元接收该数据包,并通过接入网设备发送给终端设备,终端设备接收该数据包,在该数据包包头的校正域中添加该数据包在用户面网元至终端设备的驻留时间并发给末端设备。如此,末端设备获得精确时间协议时钟域对应的同步信息在移动通信系统的节点中的驻留时间。Combined with Figure 4, in the process of the time-sensitive network system transmitting synchronization information corresponding to the precise time protocol clock domain through the mobile communication system, dwell time will be generated in the mobile communication system. Equipment in the mobile communication system can use the internal clock of the communication system The clock update dwell time corresponding to the domain. For example, the data packet header of the synchronization information includes a correction field. The user plane network element receives the data packet and sends it to the terminal device through the access network device. The terminal device receives the data packet and adds the correction field in the data packet header. The residence time of the data packet from the user plane network element to the terminal device and is sent to the terminal device. In this way, the terminal device obtains the residence time of the synchronization information corresponding to the precise time protocol clock domain in the node of the mobile communication system.
下面将结合图6-图7对本申请实施例提供的通信方法进行具体阐述。其中,本申请各实施例之间涉及的动作,术语等均可以相互参考,不予限制。本申请实施例中的对象名称或参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。The communication method provided by the embodiment of the present application will be described in detail below with reference to Figures 6-7. Among them, the actions, terms, etc. involved in the various embodiments of this application can be referred to each other and are not limited. The object names or parameter names in the embodiments of this application are just examples, and other names can also be used in specific implementations without limitation.
示例性地,图6为本申请实施例提供的一种通信方法的流程示意图。图6所示的通信方法中,第一核心网网元可以为时延时钟网元或会话管理网元,第一设备可以为网络侧适配器或用户面网元,第二设备可以为设备侧适配器或第一终端设备。Exemplarily, FIG. 6 is a schematic flowchart of a communication method provided by an embodiment of the present application. In the communication method shown in Figure 6, the first core network element may be a delay clock network element or a session management network element, the first device may be a network side adapter or a user plane network element, and the second device may be a device side adapter or first terminal device.
例如,第一核心网网元为时延时钟网元,第一设备为网络侧适配器,且第二设备为设备侧适配器。又例如,第一核心网网元为会话管理网元,第一设备为用户面网元,且第二设备为第一终端设备。For example, the first core network element is a delay clock network element, the first device is a network-side adapter, and the second device is a device-side adapter. For another example, the first core network element is a session management network element, the first device is a user plane network element, and the second device is a first terminal device.
如图6所示,该通信方法包括如下步骤:As shown in Figure 6, the communication method includes the following steps:
S601,第一设备向第一核心网网元发送第一时钟状态信息。相应地,第一核心网网元接收来自第一设备的第一时钟状态信息。S601. The first device sends the first clock status information to the first core network element. Correspondingly, the first core network element receives the first clock status information from the first device.
示例性地,第一时钟状态信息可用于指示精确时间协议时钟域的时钟同步状态。For example, the first clock status information may be used to indicate the clock synchronization status of the precision time protocol clock domain.
可选地,第一时钟状态信息还可用于指示通信系统内部时钟域的时钟同步状态。 Optionally, the first clock status information may also be used to indicate the clock synchronization status of the internal clock domain of the communication system.
一些实施例中,第一时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。In some embodiments, the first clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
可选地,第一时钟状态信息还可以包括:通信系统内部时钟域的时钟同步状态是否异常、和/或通信系统内部时钟域偏差。Optionally, the first clock status information may also include: whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
可选地,精确时间协议时钟域偏差可以为第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值。Optionally, the precision time protocol clock domain deviation may be a difference between a clock corresponding to the precision time protocol clock domain on the first device side and the first clock.
示例性地,第一设备侧的精确时间协议时钟域对应的时钟可以是第一设备本地存储的精确时间协议时钟域对应的时钟。For example, the clock corresponding to the precise time protocol clock domain on the first device side may be the clock corresponding to the precise time protocol clock domain stored locally on the first device.
可选地,第一时钟可以为精确时间协议时钟域对应的同步信息指示的时钟。Optionally, the first clock may be a clock indicated by synchronization information corresponding to the precise time protocol clock domain.
示例性地,精确时间协议时钟域对应的同步信息可用于对精确时间协议时钟域的时钟进行时钟同步,第一时钟为该同步信息指示的时钟。For example, the synchronization information corresponding to the precise time protocol clock domain can be used to clock synchronize the clock of the precise time protocol clock domain, and the first clock is the clock indicated by the synchronization information.
以从网络侧适配器向设备侧适配器传输精确时间协议时钟域对应的同步信息为例,结合图4,假设第一设备为网络侧适配器,网络侧适配器接收精确时间协议时钟域对应的同步信息(例如通过同步信号接收),该同步信息指示第一时钟1,网络侧适配器本地存储精确时间协议时钟域对应的时钟1,则第一时钟1与时钟1的差值为精确时间协议时钟域偏差1。可选地,若精确时间协议时钟域偏差1小于或等于设定的阈值,精确时间协议时钟域的同步状态无异常,网络侧适配器可以进行时钟同步,将本地的时钟1替换为第一时钟1。Taking the transmission of synchronization information corresponding to the precise time protocol clock domain from the network side adapter to the device side adapter as an example, combined with Figure 4, assume that the first device is a network side adapter, and the network side adapter receives synchronization information corresponding to the precise time protocol clock domain (for example Through synchronization signal reception), the synchronization information indicates the first clock 1, and the network side adapter locally stores the clock 1 corresponding to the precision time protocol clock domain, then the difference between the first clock 1 and clock 1 is the precision time protocol clock domain deviation 1. Optionally, if the precision time protocol clock domain deviation 1 is less than or equal to the set threshold and the synchronization status of the precision time protocol clock domain is normal, the network side adapter can perform clock synchronization and replace the local clock 1 with the first clock 1 .
可选地,通信系统内部时钟域偏差可以为第一设备侧的通信系统内部时钟域对应的时钟与第二时钟之间的差值。Optionally, the communication system internal clock domain deviation may be a difference between a clock corresponding to the communication system internal clock domain on the first device side and the second clock.
可选地,第二时钟可以为第一设备接收的通信系统内部时钟域对应的同步信息指示的时钟。Optionally, the second clock may be a clock indicated by the synchronization information corresponding to the internal clock domain of the communication system received by the first device.
也就是说,第一设备可以接收通信系统内部时钟域对应的同步信息,该通信系统内部时钟域对应的同步信息用于对通信系统内部时钟域的时钟进行时钟同步,第二时钟为该同步信息指示的时钟。That is to say, the first device can receive synchronization information corresponding to the internal clock domain of the communication system. The synchronization information corresponding to the internal clock domain of the communication system is used to clock synchronize the clock of the internal clock domain of the communication system. The second clock is the synchronization information. Indicating clock.
示例性地,第一时钟状态信息可以通过精确时间协议时钟域的时钟同步状态是否异常显式指示精确时间协议时钟域的时钟同步状态,或者,可以通过精确时间协议时钟域偏差隐式指示精确时间协议时钟域的时钟同步状态。For example, the first clock status information may explicitly indicate the clock synchronization status of the precision time protocol clock domain through whether the clock synchronization status of the precision time protocol clock domain is abnormal, or may indicate the precise time implicitly through the deviation of the precision time protocol clock domain. Clock synchronization status of the protocol clock domain.
例如,若精确时间协议时钟域偏差大于第一阈值,则指示精确时间协议时钟域的同步状态异常。若精确时间协议时钟域偏差小于或等于第一阈值,则指示精确时间协议时钟域的同步状态无异常。For example, if the precision time protocol clock domain deviation is greater than the first threshold, it indicates that the synchronization status of the precision time protocol clock domain is abnormal. If the precision time protocol clock domain deviation is less than or equal to the first threshold, it indicates that there is no abnormality in the synchronization state of the precision time protocol clock domain.
示例性地,第一时钟状态信息可以通过通信系统内部时钟域的时钟同步状态是否异常显式指示通信系统内部时钟域的时钟同步状态,或者,可以通过通信系统内部时钟域偏差隐式指示通信系统内部时钟域的时钟同步状态。For example, the first clock status information can explicitly indicate the clock synchronization status of the internal clock domain of the communication system by whether the clock synchronization status of the internal clock domain of the communication system is abnormal, or it can implicitly indicate the communication system by using the deviation of the internal clock domain of the communication system. Clock synchronization status of the internal clock domain.
例如,若通信系统内部时钟域偏差大于第二阈值,则指示通信系统内部时钟域的同步状态异常。若通信系统内部时钟域偏差小于或等于第二阈值,则指示通信系统内部时钟域的同步状态无异常。For example, if the deviation of the internal clock domain of the communication system is greater than the second threshold, it indicates that the synchronization status of the internal clock domain of the communication system is abnormal. If the deviation of the internal clock domain of the communication system is less than or equal to the second threshold, it indicates that there is no abnormality in the synchronization state of the internal clock domain of the communication system.
一些实施例中,第一时钟状态信息还可以指示精确时间协议时钟域的时钟同步状态是否恢复正常、和/或通信系统内部时钟域的时钟同步状态是否恢复正常。 In some embodiments, the first clock status information may also indicate whether the clock synchronization status of the precise time protocol clock domain has returned to normal, and/or whether the clock synchronization status of the internal clock domain of the communication system has returned to normal.
示例性地,第一时钟状态信息可以通过精确时间协议时钟域的时钟同步状态是否恢复正常显式指示,或者,可以通过精确时间协议时钟域偏差隐式指示精确时间协议时钟域的时钟同步状态是否恢复正常。For example, the first clock status information may be explicitly indicated by whether the clock synchronization status of the Precision Time Protocol clock domain is restored to normal, or may be implicitly indicated by whether the clock synchronization status of the Precision Time Protocol clock domain is restored to normal by the deviation of the Precision Time Protocol clock domain. Back to normal.
示例性地,第一时钟状态信息可以通过通信系统内部时钟域的时钟同步状态是否恢复正常显式指示,或者,可以通过通信系统内部时钟域偏差隐式指示通信系统内部时钟域的时钟同步状态是否恢复正常。For example, the first clock status information may be explicitly indicated by whether the clock synchronization status of the internal clock domain of the communication system is restored to normal, or it may be implicitly indicated by whether the clock synchronization status of the internal clock domain of the communication system is restored to normal by the deviation of the internal clock domain of the communication system. Back to normal.
可选地,本申请实施例提供的方法,还可以包括:第一设备向第一核心网网元发送通信系统内部时钟域对应的第一接入网设备的信息。相应地,第一核心网网元接收来自第一设备的通信系统内部时钟域对应的第一接入网设备的信息。Optionally, the method provided by the embodiment of the present application may also include: the first device sending information about the first access network device corresponding to the internal clock domain of the communication system to the first core network element. Correspondingly, the first core network element receives information from the first access network device corresponding to the internal clock domain of the communication system of the first device.
示例性地,第一接入网设备的信息可以包括:第一接入网设备的标识、和/或第一接入网设备的地址等。For example, the information about the first access network device may include: an identifier of the first access network device, and/or an address of the first access network device, etc.
如此,第一核心网网元可以根据第一接入网设备的信息,获得接入第一接入网设备的终端设备,在通信系统内部时钟域异常的情况下,可以根据第一接入网设备的信息获得受影响的终端设备。In this way, the first core network element can obtain the terminal device that accesses the first access network device based on the information of the first access network device. When the internal clock domain of the communication system is abnormal, it can obtain the terminal device based on the first access network device. Device information is obtained from the affected end device.
需要说明的是,第一设备向第一核心网网元发送通信系统内部时钟域对应的第一接入网设备的信息,与第一设备向第一核心网网元发送第一时钟状态信息可以在同一步骤中执行,也可以在不同的步骤中执行,本申请对此不限定。It should be noted that the first device sends the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element, and the first device sends the first clock status information to the first core network element. It can be performed in the same step or in different steps, which is not limited in this application.
可选地,上述S601中,当第一设备为设备侧适配器时,设备侧适配器可以通过第一终端设备向第一核心网网元发送上述第一时钟状态信息,并发送给第一核心网网元。Optionally, in the above S601, when the first device is a device-side adapter, the device-side adapter can send the above-mentioned first clock status information to the first core network element through the first terminal device, and send it to the first core network element. Yuan.
可选地,第一设备支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。Optionally, the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
可选地,通信系统内部时钟域对应的同步信息可以是第一设备通过通信系统内部时钟域对应的同步信号接收的。Optionally, the synchronization information corresponding to the internal clock domain of the communication system may be received by the first device through the synchronization signal corresponding to the internal clock domain of the communication system.
例如,假设第一设备为用户面网元,用户面网元接收来自移动通信系统的管理实体的同步信号,该同步信号携带通信系统内部时钟域对应的同步信息。For example, assume that the first device is a user plane network element, and the user plane network element receives a synchronization signal from a management entity of the mobile communication system. The synchronization signal carries synchronization information corresponding to the internal clock domain of the communication system.
或者,可选地,通信系统内部时钟域对应的同步信息可以是通信系统内部时钟域的时钟信息。Or, optionally, the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system.
例如,假设第一设备为网络侧适配器,通信系统内部时钟域对应的同步信息可以是用户面网元向网络侧适配器发送的通信系统内部时钟域的时钟信息,通信系统内部时钟域的时钟信息可以是用户面网元进行时钟同步后获得的通信系统内部时钟域的时钟。For example, assuming that the first device is a network-side adapter, the synchronization information corresponding to the internal clock domain of the communication system can be the clock information of the internal clock domain of the communication system sent by the user plane network element to the network-side adapter. The clock information of the internal clock domain of the communication system can be It is the clock of the internal clock domain of the communication system obtained after clock synchronization of user plane network elements.
可选地,精确时间协议时钟域对应的同步信息可以是第一设备通过精确时间协议时钟域对应的同步信号接收的。Optionally, the synchronization information corresponding to the precise time protocol clock domain may be received by the first device through the synchronization signal corresponding to the precise time protocol clock domain.
例如,假设第一设备为网络侧适配器,以从网络侧适配器向设备侧适配器传输精确时间协议时钟域对应的同步信息为例。网络侧适配器接收来自时间敏感网络系统的管理实体的同步信号,该同步信号携带精确时间协议时钟域对应的同步信息。For example, assuming that the first device is a network-side adapter, take the transmission of synchronization information corresponding to the precise time protocol clock domain from the network-side adapter to the device-side adapter as an example. The network side adapter receives a synchronization signal from a management entity of the time-sensitive network system, and the synchronization signal carries synchronization information corresponding to the precise time protocol clock domain.
或者,可选地,精确时间协议时钟域对应的同步信息可以是精确时间协议时钟域的时钟信息。Or, optionally, the synchronization information corresponding to the precision time protocol clock domain may be the clock information of the precision time protocol clock domain.
例如,假设第一设备为用户面网元,以从网络侧适配器向设备侧适配器传输精确 时间协议时钟域对应的同步信息为例。精确时间协议时钟域对应的同步信息可以是网络侧适配器向用户面网元发送的精确时间协议时钟域的时钟信息,精确时间协议时钟域的时钟信息可以是网络侧适配器进行时钟同步后获得的精确时间协议时钟域的时钟。For example, assume that the first device is a user plane network element to transmit accurate data from the network side adapter to the device side adapter. Take the synchronization information corresponding to the time protocol clock domain as an example. The synchronization information corresponding to the precise time protocol clock domain can be the clock information of the precise time protocol clock domain sent by the network side adapter to the user plane network element. The clock information of the precise time protocol clock domain can be the precise clock information obtained by the network side adapter after clock synchronization. The clock for the time protocol clock domain.
需要说明的是,本申请实施例中,第一设备与第一核心网网元之间传输信息、消息、或请求等,可以是直接发送的,也可以是通过其他设备发送的。例如,假设第一设备为用户面网元,用户面网元可以直接向会话管理网元发送第一时钟状态信息。假设第一设备为网络侧适配器,网络侧适配器可以通过会话管理网元和策略控制网元向时延时钟网元发送第一时钟状态信息,例如网络侧适配器可以通过端口管理消息容器(port management information container,PMIC)消息或用户面节点管理消息容器(user plane node management information container,UMIC)消息向时延时钟网元发送第一时钟状态信息。It should be noted that in this embodiment of the present application, the information, messages, or requests transmitted between the first device and the first core network element may be sent directly or through other devices. For example, assuming that the first device is a user plane network element, the user plane network element can directly send the first clock status information to the session management network element. Assume that the first device is a network side adapter. The network side adapter can send the first clock status information to the delay clock network element through the session management network element and the policy control network element. For example, the network side adapter can use the port management message container (port management information container (PMIC) message or user plane node management information container (UMIC) message to send the first clock status information to the delay clock network element.
第二设备与第一核心网网元之间传输信息、消息、或请求等,可以是通过其他设备发送的。示例性地,假设第二设备为设备侧适配器,设备侧适配器可以通过终端设备、第一接入网设备、移动性管理网元和会话管理网元向时延时钟网元发送第二时钟状态信息,例如设备侧适配器可以通过PMIC消息或UMIC消息向时延时钟网元发送第二时钟状态信息。假设第二设备为第一终端设备,第一终端设备可以通过第一接入网设备、和移动性管理网元向会话管理网元发送第二时钟状态信息。Information, messages, or requests transmitted between the second device and the first core network element may be sent through other devices. For example, assuming that the second device is a device-side adapter, the device-side adapter can send the second clock state to the delay clock network element through the terminal device, the first access network device, the mobility management network element, and the session management network element. Information, for example, the device-side adapter can send the second clock status information to the delay clock network element through a PMIC message or a UMIC message. Assuming that the second device is a first terminal device, the first terminal device may send the second clock status information to the session management network element through the first access network device and the mobility management network element.
S602,第二设备向第一核心网网元发送第二时钟状态信息。相应地,第一核心网网元接收来自第二设备的第二时钟状态信息。S602: The second device sends the second clock status information to the first core network element. Correspondingly, the first core network element receives the second clock status information from the second device.
示例性地,第二时钟状态信息可用于指示精确时间协议时钟域的时钟同步状态。For example, the second clock status information may be used to indicate the clock synchronization status of the precision time protocol clock domain.
可选地,第二时钟状态信息还可用于指示通信系统内部时钟域的时钟同步状态。Optionally, the second clock status information may also be used to indicate the clock synchronization status of the internal clock domain of the communication system.
一些实施例中,第二时钟状态信息可以包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差。In some embodiments, the second clock status information may include: whether the clock synchronization status of the Precision Time Protocol clock domain is abnormal and/or the Precision Time Protocol clock domain deviation.
可选地,第二时钟状态信息还可以包括:通信系统内部时钟域的时钟同步状态是否异常、和/或通信系统内部时钟域偏差。Optionally, the second clock status information may also include: whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
第二时钟状态信息的实现方式与第一时钟状态信息类似,第二时钟状态信息可以显式和/或隐式指示精确时间协议时钟域的时钟同步状态,第二时钟状态信息可以显式和/或隐式指示通信系统内部时钟域的时钟同步状态。The implementation of the second clock status information is similar to the first clock status information. The second clock status information can explicitly and/or implicitly indicate the clock synchronization status of the precise time protocol clock domain. The second clock status information can explicitly and/or implicitly indicate the clock synchronization status of the precise time protocol clock domain. Or implicitly indicate the clock synchronization status of the internal clock domain of the communication system.
一些实施例中,第二时钟状态信息还可以指示精确时间协议时钟域的时钟同步状态是否恢复正常、和/或通信系统内部时钟域的时钟同步状态是否恢复正常。具体实现方式可参照上述S601中第一时钟状态信息对应的阐述,此处不再赘述。In some embodiments, the second clock status information may also indicate whether the clock synchronization status of the precise time protocol clock domain has returned to normal, and/or whether the clock synchronization status of the internal clock domain of the communication system has returned to normal. For specific implementation methods, please refer to the description corresponding to the first clock status information in S601 above, which will not be described again here.
可选地,本申请实施例提供的方法,还可以包括:第二设备向第一核心网网元发送通信系统内部时钟域对应的第一接入网设备的信息。相应地,第一核心网网元接收来自第二设备的通信系统内部时钟域对应的第一接入网设备的信息。Optionally, the method provided by the embodiment of the present application may also include: the second device sending the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element. Correspondingly, the first core network element receives information from the first access network device corresponding to the internal clock domain of the communication system of the second device.
需要说明的是,第二设备向第一核心网网元发送通信系统内部时钟域对应的第一接入网设备的信息,与第二设备向第一核心网网元发送第二时钟状态信息可以在同一步骤中执行,也可以在不同的步骤中执行,本申请对此不限定。It should be noted that the second device sends the information of the first access network device corresponding to the internal clock domain of the communication system to the first core network element, and the second device sends the second clock status information to the first core network element. It can be performed in the same step or in different steps, which is not limited in this application.
需要说明的是,精确时间协议时钟域的时钟同步状态是否异常、精确时间协议时钟域偏差、通信系统内部时钟域的时钟同步状态是否异常、通信系统内部时钟域偏差、 和/或通信系统内部时钟域对应的第一接入网设备的信息的实现方式可参照上述S601中的阐述,此处不再赘述。What needs to be explained is whether the clock synchronization status of the precise time protocol clock domain is abnormal, whether the precise time protocol clock domain deviation is abnormal, whether the clock synchronization status of the internal clock domain of the communication system is abnormal, whether the internal clock domain deviation of the communication system is abnormal, And/or the implementation of the information of the first access network device corresponding to the internal clock domain of the communication system may refer to the description in S601 above, and will not be described again here.
可选地,第二设备支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。Optionally, the second device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain.
可选地,通信系统内部时钟域对应的同步信息可以是第二设备通过通信系统内部时钟域对应的同步信号接收的。Optionally, the synchronization information corresponding to the internal clock domain of the communication system may be received by the second device through the synchronization signal corresponding to the internal clock domain of the communication system.
例如,假设第二设备为第一终端设备,第一终端设备接收来自移动通信系统的管理实体的同步信号,该同步信号携带通信系统内部时钟域对应的同步信息。For example, assume that the second device is a first terminal device, and the first terminal device receives a synchronization signal from a management entity of the mobile communication system. The synchronization signal carries synchronization information corresponding to the internal clock domain of the communication system.
或者,可选地,通信系统内部时钟域对应的同步信息可以是通信系统内部时钟域的时钟信息。Or, optionally, the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system.
例如,假设第二设备为设备侧适配器,通信系统内部时钟域对应的同步信息可以是第一终端设备向设备侧适配器发送的通信系统内部时钟域的时钟信息,通信系统内部时钟域的时钟信息可以是第一终端设备进行时钟同步后获得的通信系统内部时钟域的时钟。For example, assuming that the second device is a device-side adapter, the synchronization information corresponding to the internal clock domain of the communication system may be the clock information of the internal clock domain of the communication system sent by the first terminal device to the device-side adapter. The clock information of the internal clock domain of the communication system may be It is the clock of the internal clock domain of the communication system obtained after the first terminal device performs clock synchronization.
可选地,精确时间协议时钟域对应的同步信息可以是第二设备通过精确时间协议时钟域对应的同步信号接收的。Optionally, the synchronization information corresponding to the precise time protocol clock domain may be received by the second device through the synchronization signal corresponding to the precise time protocol clock domain.
例如,假设第二设备为设备侧适配器,以从网络侧适配器向设备侧适配器传输精确时间协议时钟域对应的同步信息为例。设备侧适配器接收来自时间敏感网络系统的管理实体的同步信号,该同步信号携带精确时间协议时钟域对应的同步信息。For example, assuming that the second device is a device-side adapter, take the transmission of synchronization information corresponding to the precise time protocol clock domain from the network-side adapter to the device-side adapter as an example. The device-side adapter receives a synchronization signal from a management entity of the time-sensitive network system, and the synchronization signal carries synchronization information corresponding to the precise time protocol clock domain.
或者,可选地,精确时间协议时钟域对应的同步信息可以是精确时间协议时钟域的时钟信息。Or, optionally, the synchronization information corresponding to the precision time protocol clock domain may be the clock information of the precision time protocol clock domain.
例如,假设第二设备为第一终端设备,以从网络侧适配器向设备侧适配器传输精确时间协议时钟域对应的同步信息为例。精确时间协议时钟域对应的同步信息可以是设备侧适配器向第一终端设备发送的精确时间协议时钟域的时钟信息,精确时间协议时钟域的时钟信息可以是设备侧适配器进行时钟同步后获得的精确时间协议时钟域的时钟。For example, assuming that the second device is the first terminal device, take the transmission of synchronization information corresponding to the precise time protocol clock domain from the network side adapter to the device side adapter as an example. The synchronization information corresponding to the precise time protocol clock domain may be the clock information of the precise time protocol clock domain sent by the device-side adapter to the first terminal device. The clock information of the precise time protocol clock domain may be the precise clock information obtained by the device-side adapter after clock synchronization. The clock for the time protocol clock domain.
需要说明的是,本申请不限定上述S601与S602之间的先后顺序。It should be noted that this application does not limit the order between the above-mentioned S601 and S602.
S603,第一核心网网元根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。S603. The first core network element determines the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
在一种可能的设计方法中,第一设备的时钟域端口状态为从时钟状态,第二设备的时钟域端口状态为主时钟状态,上述S603,可以包括:若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第二时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。或者,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则第一核心网网元确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the clock domain port status of the first device is the slave clock status, and the clock domain port status of the second device is the master clock status. The above S603 may include: if the first clock status information indicates the precise time If there is no abnormality in the clock synchronization status of the protocol clock domain, and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the first clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
示例性地,结合图4,第一设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第二设备发送该同步信息的场景中,若第一设备确定精确时间协议时钟域的时钟同步状态无异常,第二设备确定精确时间协议时钟域的时钟同步状态发生异常,第二设备的结果受通信系统内部时钟域的时钟同步状态影响,则第一核心网网元 根据第一设备反馈的第一时钟状态信息和第二设备反馈的第二时钟状态信息,确定通信系统内部时钟域的时钟同步状态发生异常。For example, with reference to Figure 4, in a scenario where the first device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the second device through the mobile communication system, if the first device determines the clock of the Precision Time Protocol clock domain There is no abnormality in the synchronization status. If the second device determines that the clock synchronization status of the precise time protocol clock domain is abnormal, and the result of the second device is affected by the clock synchronization status of the internal clock domain of the communication system, then the first core network element According to the first clock status information fed back by the first device and the second clock status information fed back by the second device, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
或者,若第一设备确定精确时间协议时钟域的时钟同步状态异常,则第一核心网网元根据第一设备反馈的第一时钟状态信息确定精确时间协议时钟域的时钟同步状态发生异常。可选地,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,第一核心网网元可以不考虑第二时钟状态信息,直接确定精确时间协议时钟域的时钟同步状态发生异常。因为第二时钟状态信息受精确时间协议时钟域的时钟同步状态影响,必然指示精确时间协议时钟域的时钟同步状态发生异常。Alternatively, if the first device determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal based on the first clock status information fed back by the first device. Optionally, if the first clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element may directly determine that the clock synchronization status of the Precision Time Protocol clock domain is abnormal without considering the second clock status information. . Because the second clock status information is affected by the clock synchronization status of the precise time protocol clock domain, it must indicate that the clock synchronization status of the precise time protocol clock domain is abnormal.
上述设计方法可以应用于第一设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第二设备发送该同步信息的场景。The above design method can be applied to a scenario where the first device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the second device through the mobile communication system.
在另一种可能的设计方法中,第二设备的时钟域端口状态为从时钟状态,第一设备的时钟域端口状态为主时钟状态,上述S603,可以包括:若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。或者,若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则第一核心网网元确定精确时间协议时钟域的时钟同步状态发生异常。In another possible design method, the clock domain port status of the second device is the slave clock status, and the clock domain port status of the first device is the master clock status. The above S603 may include: If the second clock status information indicates accurate If there is no abnormality in the clock synchronization status of the time protocol clock domain, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal. Alternatively, if the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
示例性地,第二设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第一设备发送该同步信息的场景中,若第二设备确定精确时间协议时钟域的时钟同步状态无异常,第一设备确定精确时间协议时钟域的时钟同步状态发生异常,第一设备的结果受通信系统内部时钟域的时钟同步状态影响,则第一核心网网元根据第一设备反馈的第一时钟状态信息和第二设备反馈的第二时钟状态信息,确定通信系统内部时钟域的时钟同步状态发生异常。For example, in a scenario where the second device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the first device through the mobile communication system, if the second device determines that there is no abnormality in the clock synchronization status of the Precision Time Protocol clock domain , the first device determines that the clock synchronization status of the precise time protocol clock domain is abnormal, and the result of the first device is affected by the clock synchronization status of the internal clock domain of the communication system, then the first core network element determines based on the first clock fed back by the first device The status information and the second clock status information fed back by the second device determine that the clock synchronization status of the internal clock domain of the communication system is abnormal.
或者,若第二设备确定精确时间协议时钟域的时钟同步状态异常,则第一核心网网元根据第二设备反馈的第二时钟状态信息确定通信系统内部时钟域的时钟同步状态发生异常。可选地,若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,第一核心网网元可以不考虑第一时钟状态信息,直接确定精确时间协议时钟域的时钟同步状态发生异常。因为第一时钟状态信息受精确时间协议时钟域的时钟同步状态影响,必然指示精确时间协议时钟域的时钟同步状态发生异常。Alternatively, if the second device determines that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal based on the second clock status information fed back by the second device. Optionally, if the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, the first core network element may directly determine that the clock synchronization status of the Precision Time Protocol clock domain is abnormal without considering the first clock status information. . Because the first clock status information is affected by the clock synchronization status of the Precision Time Protocol clock domain, it must indicate that the clock synchronization status of the Precision Time Protocol clock domain is abnormal.
上述设计方法可以应用于第二设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第一设备发送该同步信息的场景。The above design method can be applied to a scenario where the second device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the first device through the mobile communication system.
示例性地,第一设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第二设备发送该同步信息的场景中,或者,第二设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第一设备发送该同步信息的场景中,若第二时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,则第一核心网网元根据第一设备反馈的第一时钟状态信息和第二设备反馈的第二时钟状态信息,确定精确时间协议时钟域的时钟同步状态和通信系统内部时钟域的时钟同步状态均无异常。For example, in a scenario where the first device receives the synchronization information of the Precision Time Protocol clock domain and sends the synchronization information to the second device through the mobile communication system, or the second device receives the synchronization information of the Precision Time Protocol clock domain and In the scenario where the synchronization information is sent to the first device through the mobile communication system, if the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is normal, and the first clock status information indicates the clock synchronization of the Precision Time Protocol clock domain If there is no abnormality in the status, the first core network element determines the clock synchronization status of the precise time protocol clock domain and the internal clock domain of the communication system based on the first clock status information fed back by the first device and the second clock status information fed back by the second device. There is no abnormality in the clock synchronization status.
在一种可能的设计方法中,上述S603,可以包括:若第一时钟状态信息和第二时钟状态信息均指示精确时间协议时钟域的时钟同步状态异常,则第一核心网网元确定 精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the above S603 may include: if the first clock status information and the second clock status information both indicate that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element determines The clock synchronization status of the precision time protocol clock domain is abnormal.
在一种可能的设计方法中,上述S603,可以包括:若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,且第二时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。或者,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,且第二时钟状态信息指示精确时间协议时钟域的时钟同步状态异常,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。In a possible design method, the above S603 may include: if the first clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, and the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, If abnormal, the first core network element determines that the clock synchronization state of the internal clock domain of the communication system is abnormal. Alternatively, if the first clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is not abnormal, and the second clock status information indicates that the clock synchronization status of the Precision Time Protocol clock domain is abnormal, then the first core network element determines that the communication system internal The clock synchronization status of the clock domain is abnormal.
也就是说,在确定时钟同步状态发生异常的时钟域的过程中,可以不考虑第一设备或第二设备的时钟域端口状态,直接根据第一时钟状态信息和第二时钟状态信息确定。That is to say, in the process of determining the clock domain in which the clock synchronization status is abnormal, the clock domain port status of the first device or the second device may be determined directly based on the first clock status information and the second clock status information, without considering the clock domain port status of the first device or the second device.
例如,若第一时钟状态信息和第二时钟状态信息均指示精确时间协议时钟域的时钟同步状态异常,则确定精确时间协议时钟域的时钟同步状态发生异常。For example, if both the first clock status information and the second clock status information indicate that the clock synchronization status of the precision time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precision time protocol clock domain is abnormal.
若第一时钟状态信息和第二时钟状态信息中有且仅有一个信息指示精确时间协议时钟域的时钟同步状态异常,则确定通信系统内部时钟域的时钟同步状态发生异常。If one and only one of the first clock status information and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the internal clock domain of the communication system is abnormal.
若第一时钟状态信息和第二时钟状态信息均指示精确时间协议时钟域的时钟同步状态无异常,则确定精确时间协议时钟域的时钟同步状态和通信系统内部时钟域的时钟同步状态均无异常。If both the first clock status information and the second clock status information indicate that the clock synchronization status of the precise time protocol clock domain is normal, it is determined that the clock synchronization status of the precise time protocol clock domain and the clock synchronization status of the internal clock domain of the communication system are normal. .
一些实施例中,上述S603第一核心网网元根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域的过程中,还可以考虑第一时钟状态信息指示的通信系统内部时钟域的时钟同步状态、和/或第二时钟状态信息指示的通信系统内部时钟域的时钟同步状态。In some embodiments, the above-mentioned S603 first core network element determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information. During the process, the clock synchronization status of the internal clock domain of the communication system indicated by the first clock status information and/or the clock synchronization status of the internal clock domain of the communication system indicated by the second clock status information may also be considered.
一些实施例中,上述S603中第二时钟状态信息的数量可以为一个或多个,第一核心网网元可以根据第一时钟状态信息和至少一个第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。In some embodiments, the number of second clock status information in S603 above may be one or more, and the first core network element may obtain the clock status information from the internal clock domain of the communication system based on the first clock status information and at least one second clock status information. In the precise time protocol clock domain, determine the clock domain in which the clock synchronization status is abnormal.
示例性地,第二时钟状态信息的数量为多个时,多个第二时钟状态信息可以来自多个第二设备。For example, when the number of second clock status information is multiple, the plurality of second clock status information may come from multiple second devices.
例如,多个第二时钟状态信息可以来自多个设备侧适配器,该多个设备侧适配器可以是通过终端设备(终端设备可以相同或不同)接入相同或不同的接入网设备的设备适配器。For example, the plurality of second clock status information may come from multiple device-side adapters, and the multiple device-side adapters may be device adapters that access the same or different access network devices through terminal devices (the terminal devices may be the same or different).
示例性地,第一设备接收精确时间协议时钟域的同步信息,并通过移动通信系统向第二设备发送该同步信息的场景中,以第二设备为设备侧适配器为例,假设多个第二设备通过不同的终端设备连接相同的接入网设备,第二设备1和第二设备2连接终端设备1,第二设备3连接终端设备2,第二时钟状态信息1(对应第二设备1)指示精确时间协议时钟域的时钟同步状态正常,第二时钟状态信息2(对应第二设备2)指示精确时间协议时钟域的时钟同步状态正常,第二时钟状态信息3(对应第二设备3)指示精确时间协议时钟域的时钟同步状态异常,则第一核心网网元可以采用第二时钟状态信息1和第二时钟状态信息2,不考虑第二时钟状态信息3。For example, in the scenario where the first device receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the second device through the mobile communication system, taking the second device as a device-side adapter as an example, assuming that multiple second devices The device is connected to the same access network device through different terminal devices, the second device 1 and the second device 2 are connected to the terminal device 1, the second device 3 is connected to the terminal device 2, and the second clock status information 1 (corresponding to the second device 1) Indicates that the clock synchronization status of the precise time protocol clock domain is normal. The second clock status information 2 (corresponding to the second device 2) indicates that the clock synchronization status of the precise time protocol clock domain is normal. The second clock status information 3 (corresponds to the second device 3) Indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element may use the second clock status information 1 and the second clock status information 2, without considering the second clock status information 3.
例如可以认为终端设备2与接入网设备之间的信道异常导致传输精确时间协议时钟域的同步信息异常,从而导致第二时钟状态信息3(对应第二设备3)指示精确时间 协议时钟域的时钟同步状态异常。For example, it can be considered that the abnormality of the channel between the terminal device 2 and the access network device causes the synchronization information of the clock domain of the precise time protocol to be transmitted to be abnormal, thus causing the second clock status information 3 (corresponding to the second device 3) to indicate the precise time. The clock synchronization status of the protocol clock domain is abnormal.
第一核心网网元可以根据第一时钟状态信息、第二时钟状态信息1和第二时钟状态信息2确定时钟同步状态发生异常的时钟域。如此,第一核心网网元可以根据第一时钟状态信息和至少一个第二时钟状态信息进行综合判断,提高确定时钟同步状态发生异常的时钟域的准确性。The first core network element may determine the clock domain in which the clock synchronization state is abnormal based on the first clock status information, the second clock status information 1 and the second clock status information 2. In this way, the first core network element can make a comprehensive judgment based on the first clock status information and at least one second clock status information, thereby improving the accuracy of determining the clock domain in which the clock synchronization status is abnormal.
一些实施例中,上述S603中根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域可以是由策略控制网元或其他网元执行的。In some embodiments, in S603 above, according to the first clock status information and the second clock status information, from the internal clock domain of the communication system and the precise time protocol clock domain, the clock domain in which the clock synchronization status is abnormal may be determined by the policy control network. element or other network elements.
示例性地,第一核心网网元接收第一时钟状态信息,并发送给策略控制网元或其他网元,第一核心网网元接收第二时钟状态信息,并发送给策略控制网元或其他网元。如此,策略控制网元或其他网元获得第一时钟状态信息和第二时钟状态信息。Exemplarily, the first core network element receives the first clock status information and sends it to the policy control network element or other network elements. The first core network element receives the second clock status information and sends it to the policy control network element or other network elements. other network elements. In this way, the policy control network element or other network elements obtain the first clock status information and the second clock status information.
可选地,策略控制网元或其他网元获得时钟同步状态发生异常的时钟域的结果发给第一核心网网元、或者可以向应用网元发送第二时钟异常信息,例如执行下述图8中的S802至S804。Optionally, the policy control network element or other network elements obtain the result of the clock domain in which the clock synchronization status is abnormal and send it to the first core network element, or the second clock abnormality information can be sent to the application network element. For example, execute the following figure S802 to S804 in 8.
在一种可能的设计方法中,本申请提供的方法还可以包括:S604,第一核心网网元向第一设备发送第一时钟状态请求。相应地,第一设备接收来自第一核心网网元的第一时钟状态请求。In a possible design method, the method provided by this application may also include: S604, the first core network element sends a first clock status request to the first device. Correspondingly, the first device receives the first clock status request from the first core network element.
可选地,第一时钟状态请求可以包括精确时间协议时钟域的标识。Optionally, the first clock status request may include an identification of the Precision Time Protocol clock domain.
可选地,第一时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。Optionally, the first clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
可选地,第一时钟状态请求还可以包括通信系统内部时钟域的标识,第一时钟状态请求还可用于请求通信系统内部时钟域的时钟同步状态。Optionally, the first clock status request may also include an identification of the internal clock domain of the communication system, and the first clock status request may also be used to request the clock synchronization status of the internal clock domain of the communication system.
需要说明的是,上述S604可以在上述S601之前执行。It should be noted that the above S604 may be executed before the above S601.
在一种可能的设计方法中,本申请提供的方法还可以包括:S605,第一设备确定第一时钟状态信息。In a possible design method, the method provided by this application may also include: S605, the first device determines the first clock status information.
一些实施例中,第一时钟状态信息包括精确时间协议时钟域偏差,上述S605可以包括:第一设备可以根据第一设备侧的精确时间协议时钟域对应的时钟和精确时间协议时钟域对应的同步信息,获得精确时间协议时钟域偏差。In some embodiments, the first clock status information includes the precision time protocol clock domain deviation. The above S605 may include: the first device may synchronize the clock corresponding to the precision time protocol clock domain on the first device side and the clock corresponding to the precision time protocol clock domain. information to obtain precise time protocol clock domain deviation.
示例性地,第一设备本地存储精确时间协议时钟域对应的时钟,例如时钟1,第一设备接收精确时间协议时钟域对应的同步信息,同步信息指示时钟2,则精确时间协议时钟域偏差为时钟1与时钟2的差值。For example, the first device locally stores the clock corresponding to the precise time protocol clock domain, such as clock 1. The first device receives the synchronization information corresponding to the precise time protocol clock domain. The synchronization information indicates clock 2. Then the deviation of the precise time protocol clock domain is The difference between clock 1 and clock 2.
一些实施例中,第一时钟状态信息包括精确时间协议时钟域的时钟同步状态是否异常,上述S605可以包括:第一设备根据精确时间协议时钟域偏差,确定第一时钟状态信息。In some embodiments, the first clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal. The above S605 may include: the first device determines the first clock status information based on the precision time protocol clock domain deviation.
也就是说,第一设备可以根据精确时间协议时钟域偏差,确定精确时间协议时钟域的时钟同步状态是否异常。That is to say, the first device can determine whether the clock synchronization state of the precision time protocol clock domain is abnormal based on the precision time protocol clock domain deviation.
在一些实施例中,上述第一设备根据精确时间协议时钟域偏差,确定第一时钟状态信息可以包括:精确时间协议时钟域偏差大于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态异常。或者,精确时间协议时钟域偏差小于或等于第一阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态无异常。 In some embodiments, the above-mentioned first device determines the first clock status information based on the precision time protocol clock domain deviation, which may include: the precision time protocol clock domain deviation is greater than the first threshold, then the first clock status information indicates the precision time protocol clock domain. The synchronization status is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
在另一些实施例中,上述第一设备根据精确时间协议时钟域偏差,确定第一时钟状态信息可以包括:第一设备根据精确时间协议时钟域偏差和第一偏差,确定第一时钟状态信息。In other embodiments, the first device determining the first clock status information based on the precision time protocol clock domain deviation may include: the first device determining the first clock status information based on the precision time protocol clock domain deviation and the first deviation.
示例性地,精确时间协议时钟域偏差大于第一阈值,且第一偏差小于或等于第五阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态异常。For example, if the precision time protocol clock domain deviation is greater than the first threshold, and the first deviation is less than or equal to the fifth threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is abnormal.
或者,精确时间协议时钟域偏差小于或等于第一阈值,且第一偏差大于第五阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态无异常。可选地,可以是第一设备本地的通信系统内部时钟域的时钟出现问题,可以根据通信系统内部时钟域的同步信息进行时钟同步,将第一设备本地的通信系统内部时钟域的时钟替换为第二时钟。Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, and the first deviation is greater than the fifth threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal. Optionally, there may be a problem with the clock in the internal clock domain of the communication system local to the first device. The clock synchronization may be performed according to the synchronization information of the internal clock domain of the communication system, and the clock in the internal clock domain of the communication system local to the first device may be replaced by Second clock.
或者,精确时间协议时钟域偏差小于或等于第一阈值,且第一偏差小于或等于第五阈值,则第一时钟状态信息指示精确时间协议时钟域的同步状态无异常。Alternatively, if the precision time protocol clock domain deviation is less than or equal to the first threshold, and the first deviation is less than or equal to the fifth threshold, then the first clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
或者,精确时间协议时钟域偏差大于第一阈值,且第一偏差大于第五阈值,则第一设备本地的精确时间协议时钟域的时钟出现问题,可以根据精确时间协议时钟域的同步信息进行时钟同步,将第一设备本地的精确时间协议时钟域的时钟替换为第一时钟。Or, if the precision time protocol clock domain deviation is greater than the first threshold, and the first deviation is greater than the fifth threshold, then there is a problem with the local clock of the first device's precision time protocol clock domain, and the clock can be performed based on the synchronization information of the precision time protocol clock domain. Synchronizing, replacing the clock of the local precision time protocol clock domain of the first device with the first clock.
可选地,第一偏差可以为第一设备侧的精确时间协议时钟域对应的时钟与第一设备侧的通信系统内部时钟域对应的时钟之间的差值。Optionally, the first deviation may be a difference between a clock corresponding to the precise time protocol clock domain on the first device side and a clock corresponding to the internal clock domain of the communication system on the first device side.
示例性地,第一设备存储的精确时间协议时钟域对应的时钟为时钟a,第一设备存储的通信系统内部时钟域对应的时钟为时钟b,第一偏差为时钟a与时钟b的差值。For example, the clock corresponding to the precise time protocol clock domain stored in the first device is clock a, the clock corresponding to the communication system internal clock domain stored in the first device is clock b, and the first deviation is the difference between clock a and clock b. .
一些实施例中,第一时钟状态信息包括通信系统内部时钟域偏差,上述S605可以包括:第一设备可以根据第一设备侧的通信系统内部时钟域对应的时钟和通信系统内部时钟域对应的同步信息,获得通信系统内部时钟域偏差。In some embodiments, the first clock status information includes the internal clock domain deviation of the communication system. The above S605 may include: the first device may synchronize according to the clock corresponding to the internal clock domain of the communication system on the first device side and the corresponding clock domain of the internal clock domain of the communication system. information to obtain the internal clock domain deviation of the communication system.
示例性地,第一设备本地存储通信系统内部时钟域对应的时钟,例如时钟3,第一设备接收通信系统内部时钟域对应的同步信息,同步信息指示时钟4,则通信系统内部时钟域偏差为时钟3与时钟4的差值。For example, the first device locally stores the clock corresponding to the internal clock domain of the communication system, such as clock 3. The first device receives the synchronization information corresponding to the internal clock domain of the communication system. The synchronization information indicates clock 4. Then the internal clock domain deviation of the communication system is The difference between clock 3 and clock 4.
一些实施例中,第一时钟状态信息包括通信系统内部时钟域的时钟同步状态是否异常,上述S605可以包括:第一设备根据通信系统内部时钟域偏差,确定第一时钟状态信息。In some embodiments, the first clock status information includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal. The above S605 may include: the first device determines the first clock status information based on the internal clock domain deviation of the communication system.
也就是说,第一设备可以根据通信系统内部时钟域偏差,确定通信系统内部时钟域的时钟同步状态是否异常。That is to say, the first device can determine whether the clock synchronization state of the internal clock domain of the communication system is abnormal based on the internal clock domain deviation of the communication system.
在一些实施例中,上述第一设备根据通信系统内部时钟域偏差,确定第一时钟状态信息可以包括:通信系统内部时钟域偏差大于第二阈值,则第一时钟状态信息指示通信系统内部时钟域的同步状态异常。或者,通信系统内部时钟域偏差小于或等于第二阈值,则第一时钟状态信息指示通信系统内部时钟域的同步状态无异常。In some embodiments, the above-mentioned first device determines the first clock status information based on the internal clock domain deviation of the communication system. The determination of the first clock status information may include: the internal clock domain deviation of the communication system is greater than the second threshold, then the first clock status information indicates the internal clock domain of the communication system. The synchronization status is abnormal. Alternatively, if the deviation of the internal clock domain of the communication system is less than or equal to the second threshold, the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
在另一些实施例中,上述第一设备根据通信系统内部时钟域偏差,确定第一时钟状态信息可以包括:第一设备根据通信系统内部时钟域偏差和第一偏差,确定第一时钟状态信息。In other embodiments, the above-mentioned first device determining the first clock status information based on the internal clock domain deviation of the communication system may include: the first device determining the first clock status information based on the internal clock domain deviation of the communication system and the first deviation.
示例性地,通信系统内部时钟偏差大于第二阈值,且第一偏差小于或等于第六阈 值,则第一时钟状态信息指示通信系统内部时钟域的同步状态异常。Exemplarily, the communication system internal clock deviation is greater than the second threshold, and the first deviation is less than or equal to the sixth threshold. value, the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is abnormal.
或者,通信系统内部时钟偏差小于或等于第二阈值,且第一偏差大于第六阈值,则第一时钟状态信息指示通信系统内部时钟域的同步状态无异常。可选地,可以是第一设备本地的精确时间协议时钟域的时钟出现问题,可以根据精确时间协议时钟域的同步信息进行时钟同步,将第一设备本地的精确时间协议时钟域的时钟替换为第一时钟。Alternatively, if the internal clock deviation of the communication system is less than or equal to the second threshold, and the first deviation is greater than the sixth threshold, then the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal. Optionally, there may be a problem with the clock of the first device's local Precision Time Protocol clock domain. The clock may be synchronized according to the synchronization information of the Precision Time Protocol clock domain, and the clock of the first device's local Precision Time Protocol clock domain may be replaced by First clock.
或者,通信系统内部时钟偏差小于或等于第二阈值,且第一偏差小于或等于第六阈值,则第一时钟状态信息指示通信系统内部时钟域的同步状态无异常。Alternatively, if the internal clock deviation of the communication system is less than or equal to the second threshold, and the first deviation is less than or equal to the sixth threshold, then the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
或者,通信系统内部时钟偏差大于第二阈值,且第一偏差大于第六阈值,则第一设备本地的通信系统内部时钟域的时钟出现问题,可以根据通信系统内部时钟域的同步信息进行时钟同步,将第一设备本地的通信系统内部时钟域的时钟替换为第二时钟。Alternatively, if the internal clock deviation of the communication system is greater than the second threshold, and the first deviation is greater than the sixth threshold, then there is a problem with the clock of the internal clock domain of the local communication system of the first device, and clock synchronization can be performed based on the synchronization information of the internal clock domain of the communication system. , replacing the clock of the internal clock domain of the communication system local to the first device with the second clock.
本申请实施例中,第一阈值至第六阈值均可以为预设置的,第五阈值与第六阈值可以相等或不相等,第一阈值至第六阈值相互之间可以相等或不相等,本申请不进行限定。In the embodiment of the present application, the first to sixth thresholds may be preset, the fifth threshold and the sixth threshold may be equal or unequal, and the first to sixth thresholds may be equal or unequal to each other. There are no restrictions on applications.
在一种可能的设计方法中,本申请提供的方法还可以包括:S606,第一核心网网元向第二设备发送第二时钟状态请求。相应地,第二设备接收来自第一核心网网元的第二时钟状态请求。In a possible design method, the method provided by this application may also include: S606, the first core network element sends a second clock status request to the second device. Correspondingly, the second device receives the second clock status request from the first core network element.
可选地,第二时钟状态请求可以包括精确时间协议时钟域的标识。Optionally, the second clock status request may include an identification of the Precision Time Protocol clock domain.
可选地,第二时钟状态请求可用于请求精确时间协议时钟域的时钟同步状态。Optionally, the second clock status request may be used to request the clock synchronization status of the Precision Time Protocol clock domain.
可选地,第二时钟状态请求还可以包括通信系统内部时钟域的标识,第二时钟状态请求还可用于请求通信系统内部时钟域的时钟同步状态。Optionally, the second clock status request may also include the identification of the internal clock domain of the communication system, and the second clock status request may also be used to request the clock synchronization status of the internal clock domain of the communication system.
需要说明的是,S606可以在上述S602之前执行,本申请不限定上述S604与S606之间的先后顺序。It should be noted that S606 can be executed before the above-mentioned S602, and this application does not limit the order between the above-mentioned S604 and S606.
在一种可能的设计方法中,本申请提供的方法还可以包括:S607,第二设备确定第二时钟状态信息。In a possible design method, the method provided by this application may also include: S607, the second device determines the second clock status information.
一些实施例中,第二时钟状态信息包括精确时间协议时钟域偏差,上述S607可以包括:第二设备可以根据第二设备侧的精确时间协议时钟域对应的时钟和精确时间协议时钟域对应的同步信息,获得精确时间协议时钟域偏差。具体实现方式可参照上述S605第一设备确定第一时钟状态信息中对应的阐述,将第一设备替换为第二设备即可。In some embodiments, the second clock status information includes the precision time protocol clock domain deviation. The above S607 may include: the second device may synchronize the clock corresponding to the precision time protocol clock domain on the second device side and the clock corresponding to the precision time protocol clock domain. information to obtain precise time protocol clock domain deviation. The specific implementation method may refer to the corresponding description in the above-mentioned S605, the first device determines the first clock status information, and just replace the first device with the second device.
一些实施例中,第二时钟状态信息包括精确时间协议时钟域的时钟同步状态是否异常,上述S607可以包括:第二设备根据精确时间协议时钟域偏差,确定第二时钟状态信息。In some embodiments, the second clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal. The above S607 may include: the second device determines the second clock status information based on the precision time protocol clock domain deviation.
在一些实施例中,上述第二设备根据精确时间协议时钟域偏差,确定第二时钟状态信息可以包括:精确时间协议时钟域偏差大于第三阈值,则第二时钟状态信息指示精确时间协议时钟域的同步状态异常。或者,精确时间协议时钟域偏差小于或等于第三阈值,则第二时钟状态信息指示精确时间协议时钟域的同步状态无异常。In some embodiments, the above-mentioned second device determines the second clock status information based on the precision time protocol clock domain deviation, which may include: the precision time protocol clock domain deviation is greater than a third threshold, then the second clock status information indicates the precision time protocol clock domain. The synchronization status is abnormal. Alternatively, if the precision time protocol clock domain deviation is less than or equal to the third threshold, then the second clock status information indicates that the synchronization status of the precision time protocol clock domain is normal.
可选地,第三阈值与第一阈值可以相等,也可以不相等。Optionally, the third threshold and the first threshold may be equal or unequal.
在另一些实施例中,上述第二设备根据精确时间协议时钟域偏差,确定第二时钟状态信息可以包括:第二设备根据精确时间协议时钟域偏差和第二偏差,确定第二时 钟状态信息。具体实现方式与上述S605中第一设备根据精确时间协议时钟域偏差和第一偏差,确定第一时钟状态信息类似,可参照上述S605的描述,本申请不再赘述。In other embodiments, the second device determining the second clock status information based on the precise time protocol clock domain deviation may include: the second device determining the second time based on the precise time protocol clock domain deviation and the second deviation. clock status information. The specific implementation method is similar to the first device determining the first clock status information based on the precision time protocol clock domain deviation and the first deviation in S605 above. Reference may be made to the description of S605 above, which will not be described again in this application.
可选地,第二偏差可以为第二设备侧的精确时间协议时钟域对应的时钟与第二设备侧的通信系统内部时钟域对应的时钟之间的差值。第二偏差与上述S605中第一偏差类似,可参照上述S605的描述,本申请不再赘述。Optionally, the second deviation may be a difference between a clock corresponding to the precision time protocol clock domain on the second device side and a clock corresponding to the internal clock domain of the communication system on the second device side. The second deviation is similar to the first deviation in the above-mentioned S605, and reference may be made to the description of the above-mentioned S605, which will not be described again in this application.
一些实施例中,第二时钟状态信息包括通信系统内部时钟域偏差,上述S607可以包括:第二设备可以根据第二设备侧的通信系统内部时钟域对应的时钟和通信系统内部时钟域对应的同步信息,获得通信系统内部时钟域偏差。具体实现方式可参照上述S605第一设备确定第一时钟状态信息中对应的阐述,将第一设备替换为第二设备即可。In some embodiments, the second clock status information includes the internal clock domain deviation of the communication system. The above S607 may include: the second device may synchronize according to the clock corresponding to the internal clock domain of the communication system on the second device side and the corresponding clock domain of the internal clock domain of the communication system. information to obtain the internal clock domain deviation of the communication system. The specific implementation method may refer to the corresponding description in the above-mentioned S605, the first device determines the first clock status information, and just replace the first device with the second device.
一些实施例中,第二时钟状态信息包括通信系统内部时钟域的时钟同步状态是否异常,上述S607可以包括:第一设备根据通信系统内部时钟域偏差,确定第二时钟状态信息。In some embodiments, the second clock status information includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal. The above S607 may include: the first device determines the second clock status information based on the internal clock domain deviation of the communication system.
在一些实施例中,上述第二设备根据通信系统内部时钟域偏差,确定第二时钟状态信息可以包括:通信系统内部时钟域偏差大于第四阈值,则第二时钟状态信息指示通信系统内部时钟域的同步状态异常。或者,通信系统内部时钟域偏差小于或等于第四阈值,则第一时钟状态信息指示通信系统内部时钟域的同步状态无异常。In some embodiments, the above-mentioned second device determines the second clock status information based on the internal clock domain deviation of the communication system may include: the internal clock domain deviation of the communication system is greater than the fourth threshold, then the second clock status information indicates the internal clock domain of the communication system The synchronization status is abnormal. Alternatively, if the deviation of the internal clock domain of the communication system is less than or equal to the fourth threshold, then the first clock status information indicates that the synchronization status of the internal clock domain of the communication system is normal.
可选地,第四阈值与第二阈值可以相等,也可以不相等。Optionally, the fourth threshold and the second threshold may be equal or unequal.
在另一些实施例中,上述第二设备根据通信系统内部时钟域偏差,确定第二时钟状态信息可以包括:第二设备根据通信系统内部时钟域偏差和第二偏差,确定第二时钟状态信息。具体实现方式与上述S605中第一设备根据通信系统内部时钟域偏差和第一偏差,确定第一时钟状态信息类似,可参照上述S605的描述,本申请不再赘述。In other embodiments, the second device determining the second clock status information based on the internal clock domain deviation of the communication system may include: the second device determining the second clock status information based on the internal clock domain deviation of the communication system and the second deviation. The specific implementation method is similar to the first device determining the first clock status information based on the internal clock domain deviation and the first deviation of the communication system in the above-mentioned S605. Reference may be made to the description of the above-mentioned S605, which will not be described again in this application.
基于图6所示的方法,第一设备和第二设备均支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息,第一设备为网络侧适配器的情况下,第二设备为设备侧适配器。或者,第一设备为用户面网元的情况下,第二设备为第一终端设备。第一设备和第二设备向第一核心网网元分别发送第一时钟状态信息和第二时钟状态信息,第一时钟状态信息指示的精确时间协议时钟域的时钟同步状态,第二时钟状态信息指示的精确时间协议时钟域的时钟同步状态。根据精确时间协议时钟域对应的同步信息的传输方向的不同,第一时钟状态信息和第二时钟状态信息中总会有一个时钟状态信息指示的结果受通信系统内部时钟域的时钟同步状态的影响,如此,核心网网元可以根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,准确地确定时钟同步状态发生异常的时钟域。Based on the method shown in Figure 6, both the first device and the second device support obtaining the synchronization information corresponding to the internal clock domain of the communication system and the synchronization information corresponding to the precise time protocol clock domain. When the first device is a network-side adapter, the second device The second device is the device side adapter. Or, when the first device is a user plane network element, the second device is the first terminal device. The first device and the second device respectively send first clock status information and second clock status information to the first core network element. The first clock status information indicates the clock synchronization status of the precise time protocol clock domain, and the second clock status information Indicates the clock synchronization status of the Precision Time Protocol clock domain. According to the different transmission directions of the synchronization information corresponding to the precise time protocol clock domain, there will always be one clock status information in the first clock status information and the second clock status information. The result indicated by the clock status information is affected by the clock synchronization status of the internal clock domain of the communication system. , In this way, the core network element can accurately determine the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the first clock status information and the second clock status information.
示例性地,图7为本申请实施例提供的另一种通信方法的流程示意图。图7所示的通信方法中,第一核心网网元可以为时延时钟网元,第一设备可以为网络侧适配器。图7所示的通信方法应用于设备侧适配器向网络侧适配器发送精确时间协议时钟域的同步信息的场景中。Exemplarily, FIG. 7 is a schematic flowchart of another communication method provided by an embodiment of the present application. In the communication method shown in Figure 7, the first core network element may be a delay clock network element, and the first device may be a network side adapter. The communication method shown in Figure 7 is applied in a scenario where the device-side adapter sends synchronization information of the precise time protocol clock domain to the network-side adapter.
如图7所示,该通信方法包括如下步骤:As shown in Figure 7, the communication method includes the following steps:
S701,第一设备向第一核心网网元发送第一时钟状态信息。相应地,第一核心网网元接收来自第一设备的第一时钟状态信息。S701. The first device sends the first clock status information to the first core network element. Correspondingly, the first core network element receives the first clock status information from the first device.
示例性地,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。 Illustratively, the first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
一些实施例中,第一时钟状态信息可以包括如下一项或多项:精确时间协议时钟域的时钟同步状态是否异常、精确时间协议时钟域偏差、通信系统内部时钟域的时钟同步状态是否异常、通信系统内部时钟域偏差、和/或通信系统内部时钟域对应的第一接入网设备的信息。In some embodiments, the first clock status information may include one or more of the following: whether the clock synchronization status of the precision time protocol clock domain is abnormal, whether the clock synchronization status of the precision time protocol clock domain is abnormal, whether the clock synchronization status of the internal clock domain of the communication system is abnormal, The internal clock domain deviation of the communication system and/or the information of the first access network device corresponding to the internal clock domain of the communication system.
需要说明的是,第一时钟状态信息的具体实现方式可参照上述S601,此处不再赘述。It should be noted that the specific implementation method of the first clock status information may refer to the above-mentioned S601, which will not be described again here.
可选地,在第一设备的时钟域端口状态为主时钟状态的情况下,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,则精确时间协议时钟域和通信系统内部时钟域的时钟同步状态均无异常。Optionally, when the clock domain port status of the first device is the main clock status, if the first clock status information indicates that there is no abnormality in the clock synchronization status of the precision time protocol clock domain, the precision time protocol clock domain and the internal communication system There is no abnormality in the clock synchronization status of the clock domain.
示例性地,设备侧适配器通过移动通信系统向网络侧适配器发送精确时间协议时钟域的同步信息的场景中,若第一时钟状态信息指示精确时间协议时钟域的时钟同步状态无异常,则精确时间协议时钟域和通信系统内部时钟域的时钟同步状态均无异常。For example, in a scenario where the device side adapter sends the synchronization information of the precise time protocol clock domain to the network side adapter through the mobile communication system, if the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is not abnormal, then the precise time There is no abnormality in the clock synchronization status of the protocol clock domain and the internal clock domain of the communication system.
S702,在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,第一核心网网元向第一接入网设备请求通信系统内部时钟域的时钟同步状态。S702: When the clock domain port status of the first device is in the main clock state, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element reports to the first access network The device requests the clock synchronization status of the internal clock domain of the communication system.
示例性地,在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,可以通过进一步向第一接入网设备请求通信系统内部时钟域的时钟同步状态,来确定是精确时间协议时钟域和通信系统内部时钟域中的哪个时钟域的时钟同步状态异常。For example, when the clock domain port status of the first device is the main clock status, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the first access network device may be configured by further Request the clock synchronization status of the internal clock domain of the communication system to determine which of the precise time protocol clock domain and the internal clock domain of the communication system has an abnormal clock synchronization status.
可选地,第一核心网网元可以向第一接入网设备请求第一接入网设备的信息。Optionally, the first core network element may request the first access network device for information about the first access network device.
如此,第一核心网网元可以根据第一接入网设备的信息,获得接入第一接入网设备的终端设备,在通信系统内部时钟域异常的情况下,可以根据第一接入网设备的信息获得受影响的终端设备。In this way, the first core network element can obtain the terminal device that accesses the first access network device based on the information of the first access network device. When the internal clock domain of the communication system is abnormal, it can obtain the terminal device based on the first access network device. Device information is obtained from the affected end device.
需要说明的是,第一核心网网元向第一接入网设备请求第一接入网设备的信息,与向第一接入网设备请求通信系统内部时钟域的时钟同步状态可以在同一步骤中执行,本申请对此不限定。It should be noted that the first core network element requests the first access network device for information about the first access network device and requests the first access network device for the clock synchronization status of the internal clock domain of the communication system in the same step. execution, this application is not limited to this.
S703,第一接入网设备向第一核心网网元发送通信系统内部时钟域的时钟同步状态。相应地,第一核心网网元接收来自第一接入网设备的通信系统内部时钟域的时钟同步状态。S703. The first access network device sends the clock synchronization status of the internal clock domain of the communication system to the first core network element. Correspondingly, the first core network element receives the clock synchronization status of the internal clock domain of the communication system of the first access network device.
可选地,第一接入网设备向第一核心网网元发送通信系统内部时钟域的时钟同步状态是否异常、和/或通信系统内部时钟域偏差。Optionally, the first access network device sends to the first core network element whether the clock synchronization status of the internal clock domain of the communication system is abnormal and/or the internal clock domain deviation of the communication system.
可选地,第一接入网设备可以向第一核心网网元发送第一接入网设备的信息。Optionally, the first access network device may send the information of the first access network device to the first core network element.
需要说明的是,第一接入网设备向第一核心网网元发送第一接入网设备的信息,与向第一核心网网元发送通信系统内部时钟域的时钟同步状态可以在同一步骤中执行,本申请对此不限定。It should be noted that the first access network device sending the information of the first access network device to the first core network element and sending the clock synchronization status of the internal clock domain of the communication system to the first core network element can be performed in the same step. execution, this application is not limited to this.
需要说明的是,通信系统内部时钟域的时钟同步状态是否异常、通信系统内部时钟域偏差、和/或第一接入网设备的信息的实现方式可参照上述S601中的阐述,此处不再赘述。It should be noted that whether the clock synchronization status of the internal clock domain of the communication system is abnormal, the internal clock domain deviation of the communication system, and/or the implementation of the information of the first access network device can refer to the explanation in S601 above, and will not be discussed here. Repeat.
一些实施例中,第一接入网设备可以确定通信系统内部时钟域的时钟同步状态。 In some embodiments, the first access network device may determine the clock synchronization status of the internal clock domain of the communication system.
可选地,第一接入网设备可以根据第一接入网设备侧的通信系统内部时钟域对应的时钟和通信系统内部时钟域对应的同步信息,获得通信系统内部时钟域偏差。具体实现方式与上述S605中第一设备获得通信系统内部时钟域偏差的方式是类似的,可参照S605的描述,此处不再赘述。Optionally, the first access network device may obtain the communication system internal clock domain deviation based on the clock corresponding to the communication system internal clock domain on the first access network device side and the synchronization information corresponding to the communication system internal clock domain. The specific implementation method is similar to the method in which the first device obtains the internal clock domain deviation of the communication system in S605. Reference may be made to the description of S605, which will not be described again here.
可选地,第一接入网设备可以根据通信系统内部时钟域偏差,确定通信系统内部时钟域的时钟同步状态是否异常。具体实现方式与上述S605中第一设备确定通信系统内部时钟域的时钟同步状态是否异常的方式是类似的,可参照S605的描述,此处不再赘述。Optionally, the first access network device may determine whether the clock synchronization state of the internal clock domain of the communication system is abnormal based on the internal clock domain deviation of the communication system. The specific implementation manner is similar to the manner in which the first device determines whether the clock synchronization state of the internal clock domain of the communication system is abnormal in the above-mentioned S605. Reference may be made to the description of S605, which will not be described again here.
S704,第一核心网网元根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。S704. The first core network element determines the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain based on the clock synchronization status of the internal clock domain of the communication system.
在一种可能的设计方法中,上述S704包括:若通信系统内部时钟域的时钟同步状态无异常,则第一核心网网元确定精确时间协议时钟域的时钟同步状态发生异常。In a possible design method, the above S704 includes: if the clock synchronization status of the internal clock domain of the communication system is not abnormal, the first core network element determines that the clock synchronization status of the precise time protocol clock domain is abnormal.
示例性地,设备侧适配器接收精确时间协议时钟域的同步信息,并通过移动通信系统向网络侧适配器发送该同步信息的场景中,若精确时间协议时钟域的时钟同步状态异常,通信系统内部时钟域的时钟同步状态无异常,则第一核心网网元确定精确时间协议时钟域的时钟同步状态发生异常。For example, in a scenario where the device side adapter receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the network side adapter through the mobile communication system, if the clock synchronization status of the precise time protocol clock domain is abnormal, the internal clock of the communication system If there is no abnormality in the clock synchronization status of the domain, the first core network element determines that the clock synchronization status of the precise time protocol clock domain is abnormal.
在一种可能的设计方法中,上述S704包括:若通信系统内部时钟域的时钟同步状态异常,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。In a possible design method, the above S704 includes: if the clock synchronization status of the internal clock domain of the communication system is abnormal, the first core network element determines that the clock synchronization status of the internal clock domain of the communication system is abnormal.
示例性地,设备侧适配器接收精确时间协议时钟域的同步信息,并通过移动通信系统向网络侧适配器发送该同步信息的场景中,若精确时间协议时钟域的时钟同步状态异常,通信系统内部时钟域的时钟同步状态异常,精确时间协议时钟域的时钟同步状态异常可能是由通信系统内部时钟域的时钟同步状态异常引起的,则第一核心网网元确定通信系统内部时钟域的时钟同步状态发生异常。For example, in a scenario where the device side adapter receives the synchronization information of the precise time protocol clock domain and sends the synchronization information to the network side adapter through the mobile communication system, if the clock synchronization status of the precise time protocol clock domain is abnormal, the internal clock of the communication system The clock synchronization status of the domain is abnormal. The abnormal clock synchronization status of the precision time protocol clock domain may be caused by the abnormal clock synchronization status of the internal clock domain of the communication system. Then the first core network element determines the clock synchronization status of the internal clock domain of the communication system. An exception occurs.
在一种可能的设计方法中,本申请提供的方法还可以包括:S705,第一核心网网元向第一设备发送第一时钟状态请求。相应地,第一设备接收来自第一核心网网元的第一时钟状态请求。In a possible design method, the method provided by this application may also include: S705, the first core network element sends a first clock status request to the first device. Correspondingly, the first device receives the first clock status request from the first core network element.
需要说明的是,S705的具体实现方式可参照上述S604,此处不再赘述。上述S705可以在上述S701之前执行。It should be noted that the specific implementation of S705 may refer to the above-mentioned S604, and will not be described again here. The above S705 may be executed before the above S701.
在一种可能的设计方法中,本申请提供的方法还可以包括:第一设备确定第一时钟状态信息。具体实现方式可参照上述S605,此处不再赘述。In a possible design method, the method provided by this application may further include: the first device determines the first clock status information. The specific implementation method may refer to the above-mentioned S605, which will not be described again here.
基于图7所示的通信方法,在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,可以通过进一步向第一接入网设备请求通信系统内部时钟域的时钟同步状态,根据通信系统内部时钟域的时钟同步状态,来确定是精确时间协议时钟域和通信系统内部时钟域中的哪个时钟域的时钟同步状态异常。Based on the communication method shown in Figure 7, when the clock domain port status of the first device is in the main clock state, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, the clock domain port status of the first device can be passed to the third device. An access network device requests the clock synchronization status of the internal clock domain of the communication system, and determines the clock synchronization status of which of the precise time protocol clock domain and the internal clock domain of the communication system is based on the clock synchronization status of the internal clock domain of the communication system. abnormal.
示例性地,图8为本申请实施例提供的又一种通信方法的流程示意图。图8所示的通信方法中,第一核心网网元可以为时延时钟网元或会话管理网元。Exemplarily, FIG. 8 is a schematic flowchart of yet another communication method provided by an embodiment of the present application. In the communication method shown in Figure 8, the first core network element may be a delay clock network element or a session management network element.
如图8所示,该通信方法包括如下步骤:As shown in Figure 8, the communication method includes the following steps:
S801,应用网元向第一核心网网元发送时钟状态通知请求。相应地,第一核心网 网元接收来自应用网元的时钟状态通知请求。S801. The application network element sends a clock status notification request to the first core network element. Accordingly, the first core network The network element receives the clock status notification request from the application network element.
可选地,时钟状态通知请求可用于请求第二终端设备的时钟同步状态。Optionally, the clock status notification request may be used to request the clock synchronization status of the second terminal device.
可选地,时钟状态通知请求可以包括第二终端设备的标识,还可以包括时钟域标识。Optionally, the clock status notification request may include the identification of the second terminal device and may also include the clock domain identification.
示例性地,时钟状态通知请求可用于请求第二终端设备的时钟域标识对应的时钟域的时钟同步状态。For example, the clock status notification request may be used to request the clock synchronization status of the clock domain corresponding to the clock domain identification of the second terminal device.
可选地,时钟状态通知请求还可以包括时钟域标识对应的时钟域的时钟域类型。Optionally, the clock status notification request may also include the clock domain type of the clock domain corresponding to the clock domain identifier.
示例性地,时钟域类型可以包括精确时间协议时钟域或通信系统内部时钟域。For example, the clock domain type may include a precision time protocol clock domain or a communication system internal clock domain.
可选地,第二终端设备的数量可以为一个或多个。Optionally, the number of second terminal devices may be one or more.
可选地,若第二终端设备的数量可以为一个,第二终端设备可以为第一终端设备。若第二终端设备的数量可以为多个,这多个第二终端设备中可以包括第一终端设备。Optionally, if the number of second terminal devices can be one, the second terminal device can be the first terminal device. If the number of second terminal devices may be multiple, the plurality of second terminal devices may include the first terminal device.
示例性地,第二终端设备的数量为多个时,时钟状态通知请求可以包括多个第二终端设备分别对应的标识,或者,应用网元多次向第一核心网网元发送时钟状态通知请求,该时钟状态通知请求包括一个第二终端设备的标识。For example, when there are multiple second terminal devices, the clock status notification request may include identifications corresponding to multiple second terminal devices, or the application network element may send clock status notifications to the first core network element multiple times. request, the clock status notification request includes an identification of the second terminal device.
如此,用户面网元可以监测一个或多个第二终端设备的时钟同步状态。In this way, the user plane network element can monitor the clock synchronization status of one or more second terminal devices.
示例性地,第一核心网网元可以为时延时钟网元。For example, the first core network element may be a delay clock network element.
又示例性地,在第一核心网网元为会话管理网元的情况下,上述S801可以包括:应用网元向时延时钟网元发送时钟状态通知请求。也就是说,第一核心网网元为会话管理网元的情况下,时钟状态通知请求可以是向时延时钟网元发送的。For another example, in the case where the first core network element is a session management network element, the above S801 may include: the application network element sends a clock status notification request to the delay clock network element. That is to say, when the first core network element is the session management network element, the clock status notification request may be sent to the delay clock network element.
可选地,S801可以在上述S604或S705之前执行,第一核心网网元收到第二终端设备的标识,可以根据第二终端设备的标识获取第二终端设备对应的第一设备,并向第一设备发送第一时钟状态请求。Optionally, S801 can be executed before the above-mentioned S604 or S705. The first core network element receives the identification of the second terminal device, can obtain the first device corresponding to the second terminal device according to the identification of the second terminal device, and provides the first device to the second terminal device. The first device sends a first clock status request.
可选地,本申请实施例提供的方法,还可以包括:S805,设备侧适配器、网络侧适配器、用户面网元、和时延时钟网元等建立TSC会话。Optionally, the method provided by the embodiment of the present application may also include: S805, the device side adapter, the network side adapter, the user plane network element, the delay clock network element, etc., establish a TSC session.
示例性地,在建立TSC会话过程中,时延时钟网元可以获得设备侧适配器的时钟域端口信息。例如设备侧适配器的时钟域端口的地址或标识、设备侧适配器的时钟域端口的标识与时钟域标识的对应关系、设备侧适配器的时钟域端口的标识与终端设备的标识的对应关系等。For example, during the process of establishing a TSC session, the delay clock network element can obtain the clock domain port information of the device-side adapter. For example, the address or identification of the clock domain port of the device-side adapter, the correspondence between the identification of the clock domain port of the device-side adapter and the clock domain identification, the correspondence between the identification of the clock domain port of the device-side adapter and the identification of the terminal device, etc.
例如,当精确时间协议时钟域的时钟同步状态异常时,第一核心网网元可以根据设备侧适配器的时钟域端口的标识与时钟域标识的对应关系、以及设备侧适配器的时钟域端口的标识与终端设备的标识的对应关系,获得受影响的终端设备。For example, when the clock synchronization status of the precise time protocol clock domain is abnormal, the first core network element can use the corresponding relationship between the clock domain port identifier of the device-side adapter and the clock domain identifier, and the identification of the clock domain port of the device-side adapter. The corresponding relationship with the identification of the terminal device is to obtain the affected terminal device.
需要说明的是,建立TSC会话可以在上述S801之前执行。It should be noted that establishing the TSC session can be performed before the above S801.
一些实施例中,本申请实施例提供的方法,还可以包括:S806,设备侧适配器和网络侧适配器等执行最佳主时钟算法(best master clock algorithm,BMCA)流程。In some embodiments, the method provided by the embodiments of this application may also include: S806, the device side adapter and the network side adapter execute the best master clock algorithm (BMCA) process.
可选地,上述S806可以包括下述步骤一至步骤三。Optionally, the above S806 may include the following steps 1 to 3.
步骤一,设备侧适配器向网络侧适配器发送通知消息。相应地,网络侧适配器接收来自设备侧适配器的通知消息。Step 1: The device-side adapter sends a notification message to the network-side adapter. Accordingly, the network side adapter receives the notification message from the device side adapter.
示例性地,通知消息可以包括但不限于:精确时间协议时钟域的标识、源端口标识、和时钟精度。 Exemplarily, the notification message may include, but is not limited to: the identification of the precise time protocol clock domain, the source port identification, and the clock accuracy.
可选地,源端口标识可以是发送精确时间协议时钟域的同步信息的源端口的标识。Optionally, the source port identification may be an identification of a source port that sends the synchronization information of the precision time protocol clock domain.
例如,源端口标识可用于确定精确时间协议时钟域的同步信息传输路径上的各节点的时钟域端口的端口状态。For example, the source port identification can be used to determine the port status of the clock domain port of each node on the synchronization information transmission path of the precise time protocol clock domain.
可选地,时钟精度可指示精确时间协议时钟域的时钟对应的时钟精度。Optionally, the clock precision may indicate the clock precision corresponding to the clock of the precise time protocol clock domain.
步骤二,响应于来自设备侧适配器的通知消息,网络侧适配器获取时钟信息。Step 2: In response to the notification message from the device-side adapter, the network-side adapter obtains clock information.
可选地,时钟信息包括但不限于:第一设备的时钟域端口的标识、广义精确时间协议时钟域的标识、设备侧适配器的时钟域端口状态、和网络侧适配器的时钟域端口状态。Optionally, the clock information includes but is not limited to: the identification of the clock domain port of the first device, the identification of the generalized precision time protocol clock domain, the clock domain port status of the device side adapter, and the clock domain port status of the network side adapter.
步骤三,网络侧适配器向第一核心网网元发送时钟信息。相应地,第一核心网网元接收来自网络侧适配器的时钟信息。Step 3: The network side adapter sends clock information to the first core network element. Correspondingly, the first core network element receives the clock information from the network side adapter.
示例性地,第一核心网网元可以为时延时钟网元。For example, the first core network element may be a delay clock network element.
又示例性地,第一核心网网元可以为会话管理网元,上述步骤三可以包括:网络侧适配器向时延时钟网元发送时钟信息,时延时钟网元向会话管理网元发送时钟信息。As another example, the first core network element may be a session management network element. The above step three may include: the network side adapter sends clock information to the delay clock network element, and the delay clock network element sends clock information to the session management network element. Clock information.
需要说明的是,BMCA流程可以在上述S801之后执行,本申请不限定。It should be noted that the BMCA process can be executed after the above S801, which is not limited by this application.
S802,在通信系统内部时钟域的时钟同步状态发生异常的情况下,第一核心网网元获取第一接入网设备的信息。S802: When the clock synchronization state of the internal clock domain of the communication system is abnormal, the first core network element obtains the information of the first access network device.
可选地,第一接入网设备为通信系统内部时钟域对应的接入网设备。Optionally, the first access network device is an access network device corresponding to an internal clock domain of the communication system.
需要说明的是,第一接入网设备的信息的具体实现方式可参照上述S601中对应的阐述,此处不再赘述。It should be noted that the specific implementation method of the information of the first access network device may refer to the corresponding explanation in S601 above, and will not be described again here.
如此,可以获得时钟同步状态异常的接入网设备的信息。In this way, information about access network equipment with abnormal clock synchronization status can be obtained.
在一种可能的设计方法中,上述S802中,第一核心网网元获取第一接入网设备的信息,可以包括步骤四和步骤五。In a possible design method, in the above S802, the first core network element obtains the information of the first access network device, which may include steps four and five.
步骤四,第一核心网网元向移动性管理网元发送第一请求消息。相应地,移动性管理网元接收来自第一核心网网元的第一请求消息。Step 4: The first core network element sends a first request message to the mobility management network element. Correspondingly, the mobility management network element receives the first request message from the first core network element.
可选地,第一请求消息可以包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识。Optionally, the first request message may include the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device.
示例性地,若第二设备为设备侧适配器,则第一请求消息可以包括设备侧适配器对应的终端设备的标识,例如第一终端设备的标识。若第二设备为第一终端设备,则第一请求消息可以包括第一终端设备的标识。For example, if the second device is a device-side adapter, the first request message may include the identification of the terminal device corresponding to the device-side adapter, such as the identification of the first terminal device. If the second device is the first terminal device, the first request message may include the identification of the first terminal device.
可选地,第一请求消息可用于请求设备侧适配器对应的终端设备接入或驻留的接入网设备的信息。或者,第一请求消息可用于请求第一终端设备接入或驻留的接入网设备的信息。Optionally, the first request message may be used to request information about the access network device that the terminal device corresponding to the device-side adapter accesses or resides on. Alternatively, the first request message may be used to request information about the access network device that the first terminal device accesses or resides on.
步骤五,移动性管理网元向第一核心网网元发送第一接入网设备的信息。第一核心网网元接收来自移动性管理网元的第一接入网设备的信息。Step 5: The mobility management network element sends the information of the first access network device to the first core network element. The first core network element receives information from the first access network device of the mobility management network element.
可选地,第一接入网设备可以为设备侧适配器对应的终端设备或第一终端设备接入或驻留的接入网设备。Optionally, the first access network device may be a terminal device corresponding to the device-side adapter or an access network device where the first terminal device accesses or resides.
示例性地,在步骤四至步骤五中,第一核心网网元可以为时延时钟网元或会话管理网元。For example, in steps four to five, the first core network element may be a delay clock network element or a session management network element.
如此,第一核心网网元可以向移动性管理网元请求第一接入网设备的信息。 In this way, the first core network element can request information about the first access network device from the mobility management network element.
在另一种可能的设计方法中,第一核心网网元为时延时钟网元,上述S802中,第一核心网网元获取第一接入网设备的信息,可以包括步骤六和步骤七。In another possible design method, the first core network element is a delay clock network element. In the above S802, the first core network element obtains the information of the first access network device, which may include step 6 and step seven.
步骤六,第一核心网网元向会话管理网元发送第二请求消息。相应地,会话管理网元接收来自第一核心网网元的第二请求消息。Step 6: The first core network element sends a second request message to the session management network element. Correspondingly, the session management network element receives the second request message from the first core network element.
可选地,第二请求消息可以包括第一终端设备的标识、或设备侧适配器的端口标识。Optionally, the second request message may include the identification of the first terminal device or the port identification of the device-side adapter.
可选地,第二请求消息可用于请求第一终端设备、或设备侧适配器对应的终端设备接入或驻留的接入网设备的信息。Optionally, the second request message may be used to request information about the access network device that the first terminal device or the terminal device corresponding to the device-side adapter accesses or resides on.
步骤七,会话管理网元向第一核心网网元发送第一接入网设备的信息。相应地,第一核心网网元接收来自会话管理网元的第一接入网设备的信息。Step 7: The session management network element sends the information of the first access network device to the first core network element. Correspondingly, the first core network element receives information from the first access network device of the session management network element.
可选地,第一接入网设备可以为第一终端设备或设备侧适配器对应的终端设备接入或驻留的接入网设备。Optionally, the first access network device may be an access network device that the terminal device corresponding to the first terminal device or the device-side adapter accesses or resides on.
如此,第一核心网网元可以向会话管理网元请求第一接入网设备的信息。In this way, the first core network element can request the information of the first access network device from the session management network element.
在又一种可能的设计方法中,第一核心网网元为会话管理网元,上述S802中,第一核心网网元获取第一接入网设备的信息,可以包括:第一核心网网元根据第一终端设备的标识、或设备侧适配器的端口标识,获取第一接入网设备的信息。In another possible design method, the first core network element is a session management network element. In the above S802, the first core network element obtains information about the first access network device, which may include: the first core network element The element obtains the information of the first access network device according to the identifier of the first terminal device or the port identifier of the device-side adapter.
可选地,第一接入网设备为第一终端设备、或设备侧适配器对应的终端设备接入或驻留的接入网设备。Optionally, the first access network device is an access network device to which the first terminal device or the terminal device corresponding to the device-side adapter accesses or resides.
如此,会话管理网元可以获取第一接入网设备的信息。In this way, the session management network element can obtain the information of the first access network device.
在一种可能的设计方法中,上述S802可以为可选的步骤。In a possible design method, the above S802 may be an optional step.
例如,第一核心网网元在上述S601和/或S602中获取第一接入网设备的信息,第一时钟状态信息包括通信系统内部时钟域对应的第一接入网设备的信息,第二时钟状态信息包括通信系统内部时钟域对应的第一接入网设备的信息。在此种情况下,可以不执行S802,直接执行下述S803。For example, the first core network element obtains the information of the first access network device in the above S601 and/or S602. The first clock status information includes the information of the first access network device corresponding to the internal clock domain of the communication system. The second The clock status information includes information about the first access network device corresponding to the internal clock domain of the communication system. In this case, S802 may not be executed and the following S803 may be executed directly.
S803,第一核心网网元根据第一终端设备的标识,向第一终端设备发送第一时钟异常信息。相应地,第一终端设备接收来自第一核心网网元的第一时钟异常信息。S803: The first core network element sends the first clock abnormality information to the first terminal device according to the identification of the first terminal device. Correspondingly, the first terminal device receives the first clock abnormality information from the first core network element.
可选地,第一时钟异常信息可用于指示时钟同步状态发生异常的时钟域。Optionally, the first clock abnormality information may be used to indicate a clock domain in which an abnormal clock synchronization state occurs.
例如,通信系统内部时钟域的时钟同步状态异常,第一时钟异常信息包括通信系统内部时钟域的标识。For example, the clock synchronization status of the internal clock domain of the communication system is abnormal, and the first clock abnormality information includes an identification of the internal clock domain of the communication system.
如此,第一终端设备可以获得通信系统内部时钟域的时钟同步状态异常,可以停止使用该通信系统内部时钟域的时钟。In this way, the first terminal device can obtain that the clock synchronization status of the internal clock domain of the communication system is abnormal, and can stop using the clock of the internal clock domain of the communication system.
可以理解的是,第一终端设备受通信系统内部时钟域的时钟同步状态异常的影响,但应用网元不一定请求监测第一终端设备的时钟同步状态。It can be understood that the first terminal device is affected by abnormal clock synchronization status of the internal clock domain of the communication system, but the application network element does not necessarily require monitoring of the clock synchronization status of the first terminal device.
例如,在应用网元请求监测第一终端设备的时钟同步状态的情况下,第一核心网网元可以向第一终端设备发送第一时钟异常信息。在应用网元请求监测第一终端设备的时钟同步状态的情况下,本申请不限定第一核心网网元是否向第一终端设备发送第一时钟异常信息。For example, when the application network element requests to monitor the clock synchronization status of the first terminal device, the first core network element may send the first clock abnormality information to the first terminal device. In the case where the application network element requests to monitor the clock synchronization status of the first terminal device, this application does not limit whether the first core network element sends the first clock abnormality information to the first terminal device.
一些实施例中,本申请实施例提供的方法,还可以包括步骤八和步骤九。In some embodiments, the method provided by the embodiments of the present application may also include steps eight and nine.
步骤八,第一核心网网元根据第一设备的信息,确定第一接入网设备服务的终端 设备的标识。Step 8: The first core network element determines the terminal served by the first access network device based on the information of the first device. The identification of the device.
步骤九,第一核心网网元根据第一接入网设备服务的终端设备的标识和一个或多个第二终端设备的标识确定第三终端设备的标识。Step 9: The first core network element determines the identity of the third terminal device based on the identity of the terminal device served by the first access network device and the identities of one or more second terminal devices.
可选地,第一接入网设备服务的终端设备的标识包括第三终端设备的标识,且一个或多个第二终端设备的标识中包括第三终端设备的标识。Optionally, the identity of the terminal device served by the first access network device includes the identity of the third terminal device, and the identity of the one or more second terminal devices includes the identity of the third terminal device.
示例性地,第三终端设备的标识为第一接入网设备服务的终端设备的标识和一个或多个第二终端设备的标识的交集。For example, the identity of the third terminal device is the intersection of the identity of the terminal device served by the first access network device and the identity of one or more second terminal devices.
可选地,第三终端设备的数量可以为一个或多个。Optionally, the number of third terminal devices may be one or more.
例如,第三终端设备为受通信系统内部时钟域的时钟同步状态异常影响且应用网元请求监测的终端设备。For example, the third terminal device is a terminal device that is affected by abnormal clock synchronization status of the internal clock domain of the communication system and is monitored by the application network element request.
可选地,第一核心网网元可以向第三终端设备发送第一时钟异常信息。Optionally, the first core network element may send the first clock abnormality information to the third terminal device.
可选地,第三终端设备的标识可以包括第一终端设备的标识。Optionally, the identification of the third terminal device may include the identification of the first terminal device.
需要说明的是,上述步骤八和步骤九可以在上述S803之前执行。It should be noted that the above-mentioned steps eight and nine can be executed before the above-mentioned S803.
另一些实施例中,本申请实施例提供的方法,还可以包括:第一核心网网元根据第二终端设备的标识,向第二终端设备发送第一时钟异常信息。相应地,第二终端设备接收来自第一核心网网元的第一时钟异常信息。In other embodiments, the method provided by the embodiments of the present application may further include: the first core network element sending the first clock abnormality information to the second terminal device according to the identifier of the second terminal device. Correspondingly, the second terminal device receives the first clock abnormality information from the first core network element.
示例性地,第一核心网网元可以直接向应用网元请求监测的终端设备通知时钟同步状态发生异常的时钟域。For example, the first core network element may directly notify the application network element of the terminal device for monitoring the clock domain in which the clock synchronization status is abnormal.
例如,若第二终端设备当前使用时钟同步状态发生异常的时钟域对应的时钟,第二终端设备可以停止使用时钟同步状态发生异常的时钟域对应的时钟。若第二终端设备未使用时钟同步状态发生异常的时钟域对应的时钟,可以防止第二终端设备使用时钟同步状态发生异常的时钟域对应的时钟。For example, if the second terminal device is currently using the clock corresponding to the clock domain in which the clock synchronization state is abnormal, the second terminal device may stop using the clock corresponding to the clock domain in which the clock synchronization state is abnormal. If the second terminal device does not use the clock corresponding to the clock domain in which the clock synchronization state is abnormal, the second terminal device can be prevented from using the clock corresponding to the clock domain in which the clock synchronization state is abnormal.
一些实施例中,本申请实施例提供的方法,还可以包括:第一核心网网元向设备侧适配器发送时钟同步状态发生异常的时钟域。相应地,设备侧适配器接收来自第一核心网网元的时钟同步状态发生异常的时钟域。In some embodiments, the method provided by the embodiments of the present application may further include: the first core network element sending the clock domain in which the clock synchronization status is abnormal to the device-side adapter. Correspondingly, the device-side adapter receives the clock domain in which the clock synchronization status from the first core network element is abnormal.
可选地,时钟同步状态发生异常的时钟域可以是设备侧适配器当前正在使用的时钟域,收到通知后可以停止使用。Optionally, the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the device-side adapter, and can be stopped after receiving the notification.
一些实施例中,本申请实施例提供的方法,还可以包括:第一核心网网元向网络侧适配器发送时钟同步状态发生异常的时钟域。相应地,网络侧适配器接收来自第一核心网网元的时钟同步状态发生异常的时钟域。In some embodiments, the method provided by the embodiments of the present application may also include: the first core network element sends the clock domain in which the clock synchronization status is abnormal to the network side adapter. Correspondingly, the network side adapter receives the clock domain in which the clock synchronization status of the first core network element is abnormal.
可选地,时钟同步状态发生异常的时钟域可以是网络侧适配器当前正在使用的时钟域,收到通知后可以停止使用。Optionally, the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the network-side adapter, and can be stopped after receiving the notification.
一些实施例中,本申请实施例提供的方法,还可以包括:第一核心网网元向用户面网元发送时钟同步状态发生异常的时钟域。相应地,用户面网元接收来自第一核心网网元的时钟同步状态发生异常的时钟域。In some embodiments, the method provided by the embodiments of the present application may further include: the first core network element sends the clock domain in which the clock synchronization status is abnormal to the user plane network element. Correspondingly, the user plane network element receives the clock domain in which the clock synchronization status of the first core network element is abnormal.
可选地,时钟同步状态发生异常的时钟域可以是用户面网元当前正在使用的时钟域,收到通知后可以停止使用。Optionally, the clock domain in which the clock synchronization status is abnormal can be the clock domain currently being used by the user plane network element, and the use can be stopped after receiving the notification.
也就是说,第一核心网网元可以通知设备侧适配器、网络侧适配器和/或用户面网元发生异常的时钟域,例如精确时间协议时钟域发生异常和/或通信系统内部时钟域发 生异常。That is to say, the first core network element can notify the device side adapter, the network side adapter and/or the user plane network element of the abnormal clock domain, such as the abnormality of the precision time protocol clock domain and/or the abnormality of the internal clock domain of the communication system. Abnormality occurs.
一些实施例中,本申请实施例提供的方法,还可以包括:S804,第一核心网网元向应用网元发送第二时钟异常信息。相应地,应用网元接收来自第一核心网网元的第二时钟异常信息。In some embodiments, the method provided by the embodiments of the present application may also include: S804, the first core network element sends the second clock abnormality information to the application network element. Correspondingly, the application network element receives the second clock abnormality information from the first core network element.
可选地,第二时钟异常信息可用于指示一个或多个第二终端设备的时钟同步状态发生异常。该一个或多个第二终端设备可以为上述S801中应用网元请求检测的第二终端设备中的部分或全部。Optionally, the second clock abnormality information may be used to indicate that the clock synchronization status of one or more second terminal devices is abnormal. The one or more second terminal devices may be part or all of the second terminal devices to which the network element request detection is applied in S801.
可选地,第二时钟异常信息可以包括时钟同步状态发生异常的第二终端设备的标识,还可以包括时钟同步状态发生异常的时钟域的标识。Optionally, the second clock abnormality information may include the identification of the second terminal device in which the clock synchronization status is abnormal, and may also include the identification of the clock domain in which the clock synchronization status is abnormal.
例如,时钟状态通知请求包括第二终端设备1和第二终端设备2,若第二终端设备1的时钟同步状态无异常和第二终端设备2的时钟同步状态异常,第二终端设备2采用通信系统内部时钟域1,通信系统内部时钟域1的时钟同步状态异常,则第二时钟异常信息可以包括第二终端设备2和通信系统内部时钟域1。For example, the clock status notification request includes the second terminal device 1 and the second terminal device 2. If the clock synchronization status of the second terminal device 1 is normal and the clock synchronization status of the second terminal device 2 is abnormal, the second terminal device 2 uses communication If the clock synchronization status of the internal clock domain 1 of the system and the internal clock domain 1 of the communication system is abnormal, the second clock abnormality information may include the second terminal device 2 and the internal clock domain 1 of the communication system.
如此,第一核心网网元可以通知应用网元哪些或哪个第二终端设备当前使用的时钟同步状态发生异常,还可以通知时钟同步状态发生异常的时钟域。In this way, the first core network element can notify the application network element which second terminal device or devices are currently using abnormal clock synchronization status, and can also notify the clock domain in which the clock synchronization status is abnormal.
需要说明的是,图8所示的方法与图6所示的方法可以结合使用,例如S801可以在上述S604之前执行,S802可以在上述S603之后执行。图8所示的方法与图7所示的方法可以结合使用,例如S801可以在上述S705之前执行,S802可以在上述S704之后执行。It should be noted that the method shown in Figure 8 and the method shown in Figure 6 can be used in combination. For example, S801 can be executed before the above-mentioned S604, and S802 can be executed after the above-mentioned S603. The method shown in Figure 8 can be used in combination with the method shown in Figure 7. For example, S801 can be executed before the above-mentioned S705, and S802 can be executed after the above-mentioned S704.
基于图8所示的通信方法,在通信系统内部时钟域的时钟同步状态发生异常的情况下,第一核心网网元可以获取该通信系统内部时钟域对应的第一接入网设备的信息,并可以进一步获取受影响的终端设备,通知终端设备其当前使用的时钟域发生异常。Based on the communication method shown in Figure 8, when the clock synchronization state of the internal clock domain of the communication system is abnormal, the first core network element can obtain the information of the first access network device corresponding to the internal clock domain of the communication system, It can further obtain the affected terminal device and notify the terminal device that an abnormality occurs in the clock domain it is currently using.
本申请中,除特殊说明外,各个实施例之间相同或相似的部分可以互相参考。在本申请中各个实施例、以及各实施例中的各个实施方式/实施方法/实现方法中,如果没有特殊说明以及逻辑冲突,不同的实施例之间、以及各实施例中的各个实施方式/实施方法/实现方法之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例、以及各实施例中的各个实施方式/实施方法/实现方法中的技术特征根据其内在的逻辑关系可以组合形成新的实施例、实施方式、实施方法、或实现方法。以下所述的本申请实施方式并不构成对本申请保护范围的限定。In this application, unless otherwise specified, the same or similar parts between various embodiments may be referred to each other. In the various embodiments of this application and the various implementation methods/implementation methods/implementation methods in each embodiment, if there are no special instructions or logical conflicts, the differences between different embodiments and the various implementation methods/implementation methods in each embodiment will be different. The terminology and/or descriptions between implementation methods/implementation methods are consistent and can be referenced to each other. Different embodiments, as well as the technical features in each implementation method/implementation method/implementation method in each embodiment are based on their inherent Logical relationships can be combined to form new embodiments, implementations, implementation methods, or implementation methods. The embodiments of the present application described below do not constitute a limitation on the protection scope of the present application.
以上结合图1-图8详细说明了本申请实施例提供的通信方法。以下结合图9-图11详细说明本申请实施例提供的通信装置。The communication method provided by the embodiment of the present application is described in detail above with reference to Figures 1-8. The communication device provided by the embodiment of the present application will be described in detail below with reference to Figures 9-11.
图9为可用于执行本申请实施例提供的一种通信装置的结构示意图。FIG. 9 is a schematic structural diagram of a communication device that can be used to implement an embodiment of the present application.
通信装置900可以是第一核心网网元(例如时延时钟网元或会话管理网元)、第一设备(例如网络侧适配器或用户面网元)、或第二设备(例如设备侧适配器或第一终端设备),也可以是应用于第一核心网网元、第一设备、或第二设备中的芯片或者其他具有相应功能的部件。如图9所示,通信装置900可以包括处理器901。可选地,通信装置900还可以包括存储器902和收发器903中的一个或多个。其中,处理器901可以与存储器902和收发器903中的一个或多个耦合,如可以通过通信总线连接,处理器901也可以单独使用。 The communication device 900 may be a first core network element (such as a delay clock network element or a session management network element), a first device (such as a network side adapter or a user plane network element), or a second device (such as a device side adapter). or the first terminal device), or may be a chip or other components with corresponding functions applied in the first core network element, the first device, or the second device. As shown in FIG. 9 , the communication device 900 may include a processor 901 . Optionally, the communication device 900 may also include one or more of a memory 902 and a transceiver 903. The processor 901 may be coupled to one or more of the memory 902 and the transceiver 903, for example, through a communication bus, or the processor 901 may be used alone.
下面结合图9对通信装置900的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the communication device 900 with reference to Figure 9:
处理器901是通信装置900的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器901是一个或多个中央处理器(central processing unit,CPU),也可以是特定集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(field programmable gate array,FPGA)。The processor 901 is the control center of the communication device 900 and may be one processor or a collective name for multiple processing elements. For example, the processor 901 is one or more central processing units (CPUs), an application specific integrated circuit (ASIC), or one or more processors configured to implement the embodiments of the present application. An integrated circuit, such as one or more microprocessors (digital signal processor, DSP), or one or more field programmable gate arrays (field programmable gate array, FPGA).
其中,处理器901可以通过运行或执行存储在存储器902内的软件程序,以及调用存储在存储器902内的数据,执行通信装置900的各种功能。The processor 901 can perform various functions of the communication device 900 by running or executing software programs stored in the memory 902 and calling data stored in the memory 902 .
在具体的实现中,作为一种实施例,处理器901可以包括一个或多个CPU,例如图9中所示的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 901 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 9 .
在具体实现中,作为一种实施例,通信装置900也可以包括多个处理器,例如图9中所示的处理器901和处理器904。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个通信设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In specific implementation, as an embodiment, the communication device 900 may also include multiple processors, such as the processor 901 and the processor 904 shown in FIG. 9 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor here may refer to one or more communications devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
可选地,存储器902可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储通信设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储通信设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储通信设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器902可以和处理器901集成在一起,也可以独立存在,并通过通信装置900的输入/输出端口(图9中未示出)与处理器901耦合,本申请实施例对此不作具体限定。Optionally, the memory 902 may be a read-only memory (ROM) or other type of static storage communication device that can store static information and instructions, a random access memory (random access memory, RAM) or a device that can store information. and other types of dynamic storage communication devices of instructions, which may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or Other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage communication devices, or can be used to carry or store expectations in the form of instructions or data structures program code and any other medium capable of being accessed by a computer, without limitation. The memory 902 may be integrated with the processor 901 or may exist independently and be coupled to the processor 901 through the input/output port (not shown in Figure 9) of the communication device 900. This is not specifically limited in the embodiment of the present application.
示例性地,输入端口可用于实现上述任一方法实施例中由第一核心网网元、第一设备、或第二设备执行的接收功能,输出端口可用于实现上述任一方法实施例中由第一核心网网元、第一设备、或第二设备执行的发送功能。Exemplarily, the input port can be used to implement the receiving function performed by the first core network element, the first device, or the second device in any of the above method embodiments, and the output port can be used to implement the receiving function performed by the first core network element, the first device, or the second device in any of the above method embodiments. The sending function performed by the first core network element, the first device, or the second device.
其中,存储器902可用于存储执行本申请方案的软件程序,并由处理器901来控制执行。上述具体实现方式可以参考下述方法实施例,此处不再赘述。Among them, the memory 902 can be used to store the software program for executing the solution of the present application, and the processor 901 controls the execution. For the above specific implementation, reference may be made to the following method embodiments, which will not be described again here.
可选地,收发器903,用于与其他通信装置之间的通信。例如,通信装置900为第一核心网网元时,收发器903可以用于与第一设备、第二设备、和/或第一接入网设备通信。又例如,通信装置900为第一设备时,收发器903可以用于与第一核心网网元、和/或第二设备等通信。又例如,通信装置900为第二设备时,收发器903可以用于与第一核心网网元、和/或第一设备通信。Optionally, the transceiver 903 is used for communication with other communication devices. For example, when the communication device 900 is a first core network element, the transceiver 903 may be used to communicate with the first device, the second device, and/or the first access network device. For another example, when the communication device 900 is a first device, the transceiver 903 may be used to communicate with the first core network element and/or the second device. For another example, when the communication device 900 is a second device, the transceiver 903 may be used to communicate with the first core network element and/or the first device.
此外,收发器903可以包括接收器和发送器(图9中未单独示出)。其中,接收器用于实现接收功能,发送器用于实现发送功能。收发器903可以和处理器901集成在一起,也可以独立存在,并通过通信装置900的输入/输出端口(图9中未示出)与处理器901耦合,本申请实施例对此不作具体限定。 In addition, the transceiver 903 may include a receiver and a transmitter (not shown separately in FIG. 9). Among them, the receiver is used to implement the receiving function, and the transmitter is used to implement the sending function. The transceiver 903 may be integrated with the processor 901, or may exist independently and be coupled to the processor 901 through the input/output port (not shown in Figure 9) of the communication device 900. This is not specifically limited in the embodiment of the present application. .
需要说明的是,图9中示出的通信装置900的结构并不构成对该通信装置的限定,实际的通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure of the communication device 900 shown in Figure 9 does not constitute a limitation on the communication device. The actual communication device may include more or less components than shown in the figure, or some components may be combined, or Different component arrangements.
其中,上述图1-图8中第一核心网网元(可以为接入网设备或终端设备)的动作可以由图9所示的通信装置900中的处理器901调用存储器902中存储的应用程序代码以指令第一核心网网元执行。Among them, the above-mentioned actions of the first core network element (which can be an access network device or a terminal device) in Figures 1 to 8 can be performed by the processor 901 in the communication device 900 shown in Figure 9 to call the application stored in the memory 902 The program code is executed by instructing the first core network element.
上述图1-图8中第一设备的动作可以由图9所示的通信装置900中的处理器901调用存储器902中存储的应用程序代码以指令第一设备执行,本实施例对此不作任何限制。The above-mentioned actions of the first device in Figures 1 to 8 can be executed by the processor 901 in the communication device 900 shown in Figure 9 by calling the application code stored in the memory 902 to instruct the first device to execute. This embodiment does not do anything about this. limit.
上述图1-图8中第二设备的动作可以由图9所示的通信装置900中的处理器901调用存储器902中存储的应用程序代码以分别指令第二设备执行,本实施例对此不作任何限制。The above-mentioned actions of the second device in Figures 1 to 8 can be executed by the processor 901 in the communication device 900 shown in Figure 9 by calling the application code stored in the memory 902 to respectively instruct the second device to execute. This embodiment does not do this. Any restrictions.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of each step involved in the above method embodiment can be quoted from the functional description of the corresponding functional module, and will not be described again here.
图10为本申请实施例提供的另一种通信装置的结构示意图。为了便于说明,图10仅示出了该通信装置的主要部件。Figure 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application. For ease of explanation, FIG. 10 shows only the main components of the communication device.
该通信装置1000可以包括收发模块1001和处理模块1002。The communication device 1000 may include a transceiver module 1001 and a processing module 1002.
该通信装置1000可以是前述方法实施例中的第一核心网网元。收发模块1001,也可以称为收发单元,用以实现上述任一方法实施例中由第一核心网网元执行的收发功能。The communication device 1000 may be the first core network element in the foregoing method embodiment. The transceiver module 1001, which may also be called a transceiver unit, is used to implement the transceiver function performed by the first core network element in any of the above method embodiments.
需要说明的是,收发模块1001可以包括接收模块和发送模块(图10中未示出)。本申请对于收发模块1001的具体实现方式,不做具体限定。该收发模块1001可以由收发电路、收发机、收发器或者通信接口构成。It should be noted that the transceiver module 1001 may include a receiving module and a sending module (not shown in Figure 10). This application does not specifically limit the specific implementation of the transceiver module 1001. The transceiver module 1001 may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.
可选地,通信装置1000还可以包括存储模块(图10中未示出),该存储模块存储有程序或指令。当处理模块1002执行该程序或指令时,使得通信装置1000可以执行上述任一方法实施例所述的方法。Optionally, the communication device 1000 may also include a storage module (not shown in FIG. 10), which stores programs or instructions. When the processing module 1002 executes the program or instruction, the communication device 1000 can perform the method described in any of the above method embodiments.
处理模块1002,可以用于实现上述任一方法实施例中由第一核心网网元执行的处理功能。该处理模块1002可以为处理器。The processing module 1002 may be used to implement the processing functions performed by the first core network element in any of the above method embodiments. The processing module 1002 may be a processor.
图11为本申请实施例提供的又一种通信装置的结构示意图。为了便于说明,图11仅示出了该通信装置的主要部件。Figure 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application. For ease of explanation, FIG. 11 shows only the main components of the communication device.
该通信装置1100可以包括发送模块1101和接收模块1102。The communication device 1100 may include a sending module 1101 and a receiving module 1102.
该通信装置1100可以是前述方法实施例中的第一设备或第二设备。发送模块1101,也可以称为发送单元,用以实现上述任一方法实施例中由第一设备或第二设备执行的发送功能。接收模块1102,也可以称为接收单元,用以实现上述任一方法实施例中由第一设备或第二设备执行的接收功能。The communication device 1100 may be the first device or the second device in the aforementioned method embodiment. The sending module 1101, which may also be called a sending unit, is used to implement the sending function performed by the first device or the second device in any of the above method embodiments. The receiving module 1102, which may also be called a receiving unit, is used to implement the receiving function performed by the first device or the second device in any of the above method embodiments.
需要说明的是,发送模块1101和接收模块1102可以分开设置,也可以集成在一个模块中,即收发模块。本申请对于接收模块和发送模块的具体实现方式,不做具体限定。该收发模块可以由收发电路、收发机、收发器或者通信接口构成。It should be noted that the sending module 1101 and the receiving module 1102 can be set up separately, or they can be integrated into one module, that is, the sending and receiving module. This application does not specifically limit the specific implementation methods of the receiving module and the sending module. The transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface.
可选地,通信装置1100还可以包括处理模块1103和存储模块(图11中未示出), 该存储模块存储有程序或指令。当处理模块1103执行该程序或指令时,使得通信装置1100可以执行上述任一方法实施例所述的方法。Optionally, the communication device 1100 may also include a processing module 1103 and a storage module (not shown in Figure 11), This storage module stores programs or instructions. When the processing module 1103 executes the program or instruction, the communication device 1100 can perform the method described in any of the above method embodiments.
处理模块1103,可以用于实现上述任一方法实施例中由第一设备或第二设备执行的处理功能。该处理模块1103可以为处理器。The processing module 1103 may be used to implement the processing function performed by the first device or the second device in any of the above method embodiments. The processing module 1103 may be a processor.
在本实施例中,该通信装置1000或通信装置1100以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置1000或通信装置1100可以采用图9所示的通信装置900的形式。In this embodiment, the communication device 1000 or the communication device 1100 is presented in the form of dividing various functional modules in an integrated manner. A "module" here may refer to a specific ASIC, circuit, processor and memory that executes one or more software or firmware programs, integrated logic circuits, and/or other devices that may provide the above functions. In a simple embodiment, those skilled in the art can imagine that the communication device 1000 or the communication device 1100 may take the form of the communication device 900 shown in FIG. 9 .
比如,图9所示的通信装置900中的处理器901可以通过调用存储器902中存储的计算机执行指令,使得上述方法实施例中的通信方法被执行。For example, the processor 901 in the communication device 900 shown in FIG. 9 can cause the communication method in the above method embodiment to be executed by calling the computer execution instructions stored in the memory 902.
具体地,通信装置1000或通信装置1100中的收发模块、发送模块和接收模块的功能/实现过程可以通过图9中所示的通信装置900中的收发器903来实现。通信装置1000或通信装置1100中的处理模块的功能/实现过程可以通过图9所示的通信装置900中的处理器901调用存储器902中存储的计算机执行指令来实现。Specifically, the functions/implementation processes of the transceiver module, the sending module and the receiving module in the communication device 1000 or the communication device 1100 can be implemented by the transceiver 903 in the communication device 900 shown in FIG. 9 . The function/implementation process of the processing module in the communication device 1000 or the communication device 1100 can be realized by the processor 901 in the communication device 900 shown in FIG. 9 calling the computer execution instructions stored in the memory 902.
由于本实施例提供的通信装置1000或通信装置1100可执行上述通信方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。Since the communication device 1000 or the communication device 1100 provided in this embodiment can execute the above communication method, the technical effects that can be obtained can be referred to the above method embodiments, which will not be described again here.
在一种可能的设计方案中,图10所示出的通信装置1000可适用于图1所示出的系统中,执行上述图6和图8所述的通信方法中第一核心网网元的功能。In a possible design solution, the communication device 1000 shown in Figure 10 can be applied to the system shown in Figure 1 to perform the communication method of the first core network element in the above-mentioned communication methods described in Figures 6 and 8. Function.
其中,收发模块1001,用于接收来自第一设备的第一时钟状态信息。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。Among them, the transceiver module 1001 is used to receive the first clock status information from the first device. The first clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain.
收发模块1001,还用于接收来自第二设备的第二时钟状态信息。其中,第二时钟状态信息用于指示精确时间协议时钟域的时钟同步状态。第一设备和第二设备均支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。第一设备为网络侧适配器,且第二设备为设备侧适配器。或者,第一设备为用户面网元,且第二设备为第一终端设备。The transceiver module 1001 is also used to receive the second clock status information from the second device. The second clock status information is used to indicate the clock synchronization status of the precise time protocol clock domain. Both the first device and the second device support obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain. The first device is a network-side adapter and the second device is a device-side adapter. Alternatively, the first device is a user plane network element, and the second device is a first terminal device.
处理模块1002,用于根据第一时钟状态信息和第二时钟状态信息,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。The processing module 1002 is configured to determine, based on the first clock status information and the second clock status information, the clock domain in which the clock synchronization state is abnormal from the internal clock domain of the communication system and the precision time protocol clock domain.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of each step involved in the above method embodiment can be quoted from the functional description of the corresponding functional module, and will not be described again here.
可选的,通信装置1000还可以包括存储模块(图10中未示出),该存储模块存储有程序或指令。当处理模块1002执行该程序或指令时,使得通信装置1000可以执行图6和图8所示的方法中的第一核心网网元的功能。Optionally, the communication device 1000 may also include a storage module (not shown in Figure 10), which stores programs or instructions. When the processing module 1002 executes the program or instruction, the communication device 1000 can perform the functions of the first core network element in the methods shown in FIG. 6 and FIG. 8 .
需要说明的是,通信装置1000可以是第一核心网网元,也可以是可设置于第一核心网网元的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device 1000 may be the first core network element, or may be a chip (system) or other components or components that can be disposed on the first core network element, which is not limited in this application.
此外,通信装置1000的技术效果可以参考图6和图8所示的通信方法的技术效果,此处不再赘述。In addition, the technical effects of the communication device 1000 can be referred to the technical effects of the communication methods shown in FIG. 6 and FIG. 8 , which will not be described again here.
在另一种可能的设计方案中,图10所示出的通信装置1000可适用于图1所示出的系统中,执行上述图7和图8所述的通信方法中第一核心网网元的功能。 In another possible design solution, the communication device 1000 shown in Figure 10 can be applied to the system shown in Figure 1 to perform the first core network element in the communication method described in Figures 7 and 8. function.
其中,收发模块1001,用于接收来自第一设备的第一时钟状态信息。其中,第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态,第一设备支持获取通信系统内部时钟域对应的同步信息和精确时间协议时钟域对应的同步信息。Among them, the transceiver module 1001 is used to receive the first clock status information from the first device. The first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the Precision Time Protocol clock domain.
收发模块1001,还用于在第一设备的时钟域端口状态为主时钟状态,且第一时钟状态信息指示精确时间协议时钟域的时钟同步状态发生异常的情况下,向第一接入网设备请求通信系统内部时钟域的时钟同步状态。The transceiver module 1001 is also configured to notify the first access network device when the clock domain port status of the first device is in the main clock state and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal. Requests the clock synchronization status of the internal clock domain of the communication system.
收发模块1001,还用于接收来自第一接入网设备的通信系统内部时钟域的时钟同步状态。The transceiver module 1001 is also used to receive the clock synchronization status of the internal clock domain of the communication system from the first access network device.
处理模块1002,用于根据通信系统内部时钟域的时钟同步状态,从通信系统内部时钟域和精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。The processing module 1002 is configured to determine, based on the clock synchronization status of the internal clock domain of the communication system, the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precision time protocol clock domain.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of each step involved in the above method embodiment can be quoted from the functional description of the corresponding functional module, and will not be described again here.
可选的,通信装置1000还可以包括存储模块(图10中未示出),该存储模块存储有程序或指令。当处理模块1002执行该程序或指令时,使得通信装置1000可以执行图7和图8所示的方法中的第一核心网网元的功能。Optionally, the communication device 1000 may also include a storage module (not shown in Figure 10), which stores programs or instructions. When the processing module 1002 executes the program or instruction, the communication device 1000 can perform the functions of the first core network element in the methods shown in FIG. 7 and FIG. 8 .
需要说明的是,通信装置1000可以是第一核心网网元,也可以是可设置于第一核心网网元的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device 1000 may be the first core network element, or may be a chip (system) or other components or components that can be disposed on the first core network element, which is not limited in this application.
此外,通信装置1000的技术效果可以参考图7和图8所示的通信方法的技术效果,此处不再赘述。In addition, the technical effects of the communication device 1000 can be referred to the technical effects of the communication method shown in FIG. 7 and FIG. 8 , which will not be described again here.
在又一种可能的设计方案中,图11所示出的通信装置1100可适用于图1所示出的系统中,执行上述图6、图7和图8所述的通信方法中第一设备、或第二设备的功能。In yet another possible design solution, the communication device 1100 shown in FIG. 11 can be applied to the system shown in FIG. 1, and the first device in the communication method described in FIG. 6, FIG. 7 and FIG. 8 is executed. , or the function of the second device.
其中,接收模块1102,用于接收来自第一核心网网元的第一时钟状态请求。其中,第一时钟状态请求包括精确时间协议时钟域的标识,第一时钟状态请求用于请求精确时间协议时钟域的时钟同步状态。Among them, the receiving module 1102 is used to receive the first clock status request from the first core network element. The first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the clock synchronization status of the Precision Time Protocol clock domain.
发送模块1101,用于向第一核心网网元发送第一时钟状态信息。其中,第一时钟状态信息包括:精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差,精确时间协议时钟域偏差为通信装置侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,第一时钟为通信装置接收的精确时间协议时钟域对应的同步信息指示的时钟。The sending module 1101 is configured to send the first clock status information to the first core network element. The first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal and/or the precision time protocol clock domain deviation, and the precision time protocol clock domain deviation is the clock corresponding to the precision time protocol clock domain on the communication device side The difference between the first clock and the first clock is the clock indicated by the synchronization information corresponding to the precise time protocol clock domain received by the communication device.
在一种可能的设计方式中,第一时钟状态信息包括精确时间协议时钟域的时钟同步状态是否异常,该通信装置1101还包括处理模块1103。该处理模块1103,用于根据精确时间协议时钟域偏差,确定第一时钟状态信息。In a possible design manner, the first clock status information includes whether the clock synchronization status of the precise time protocol clock domain is abnormal, and the communication device 1101 also includes a processing module 1103. The processing module 1103 is used to determine the first clock status information according to the precision time protocol clock domain deviation.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of each step involved in the above method embodiment can be quoted from the functional description of the corresponding functional module, and will not be described again here.
可选的,通信装置1100还可以包括存储模块(图11中未示出),该存储模块存储有程序或指令。当处理模块1102执行该程序或指令时,使得通信装置1100可以执行图6、图7和图8所述的通信方法中第一设备、或第二设备的功能。Optionally, the communication device 1100 may also include a storage module (not shown in FIG. 11), which stores programs or instructions. When the processing module 1102 executes the program or instruction, the communication device 1100 can perform the functions of the first device or the second device in the communication methods described in FIG. 6, FIG. 7, and FIG. 8.
需要说明的是,通信装置1100可以是第一设备或第二设备,也可以是可设置于第 一设备或第二设备的芯片(系统)或其他部件或组件,本申请对此不做限定。It should be noted that the communication device 1100 may be the first device or the second device, or may be disposed on the third device. The chip (system) or other components or components of a device or a second device are not limited in this application.
此外,通信装置1100的技术效果可以参考图6、图7和图8所示的通信方法的技术效果,此处不再赘述。In addition, the technical effects of the communication device 1100 can be referred to the technical effects of the communication methods shown in FIG. 6, FIG. 7, and FIG. 8, which will not be described again here.
本申请实施例提供一种通信系统。该通信系统包括第一核心网网元、第一设备和第二设备。或者,该通信系统包括第一核心网网元、第一设备和第一接入网设备。An embodiment of the present application provides a communication system. The communication system includes a first core network element, a first device and a second device. Alternatively, the communication system includes a first core network element, a first device and a first access network device.
其中,第一核心网网元用于执行上述方法实施例中第一核心网网元的动作,第一设备用于执行上述方法实施例中第一设备的动作,第二设备用于执行上述方法实施例中第二设备的动作,第一接入网设备用于执行上述方法实施例中第一接入网设备的动作,具体执行方法和过程可参照上述方法实施例,此处不再赘述。Among them, the first core network element is used to perform the actions of the first core network element in the above method embodiment, the first device is used to perform the actions of the first device in the above method embodiment, and the second device is used to perform the above method. For the actions of the second device in the embodiment, the first access network device is used to perform the actions of the first access network device in the above method embodiment. The specific execution method and process can be referred to the above method embodiment, and will not be described again here.
本申请实施例提供一种芯片系统,该芯片系统包括逻辑电路和输入/输出端口。其中,逻辑电路可用于实现本申请实施例提供的通信方法所涉及的处理功能,输入/输出端口可用于本申请实施例提供的通信方法所涉及的收发功能。Embodiments of the present application provide a chip system, which includes a logic circuit and an input/output port. The logic circuit can be used to implement the processing function involved in the communication method provided by the embodiment of the present application, and the input/output port can be used for the transceiver function involved in the communication method provided by the embodiment of the present application.
示例性地,输入端口可用于实现本申请实施例提供的通信方法所涉及的接收功能,输出端口可用于实现本申请实施例提供的通信方法所涉及的发送功能。For example, the input port can be used to implement the receiving function involved in the communication method provided by the embodiment of the present application, and the output port can be used to implement the sending function involved in the communication method provided by the embodiment of the application.
示例性的,通信装置900中的处理器可用于进行,例如但不限于,基带相关处理,通信装置900中的收发器可用于进行,例如但不限于,射频收发。上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。例如,处理器可以进一步划分为模拟基带处理器和数字基带处理器。其中,模拟基带处理器可以与收发器集成在同一块芯片上,数字基带处理器可以设置在独立的芯片上。随着集成电路技术的不断发展,可以在同一块芯片上集成的器件越来越多,例如,数字基带处理器可以与多种应用处理器(例如但不限于图形处理器,多媒体处理器等)集成在同一块芯片之上。这样的芯片可以称为系统芯片(system on chip)。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的具体需要。本发明实施例对上述器件的具体实现形式不做限定。For example, the processor in the communication device 900 may be used to perform, for example, but not limited to, baseband related processing, and the transceiver in the communication device 900 may be used to perform, for example, but not limited to, radio frequency transceiver. The above-mentioned devices may be arranged on separate chips, or at least part or all of them may be arranged on the same chip. For example, processors can be further divided into analog baseband processors and digital baseband processors. Among them, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be set on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be combined with a variety of application processors (such as but not limited to graphics processors, multimedia processors, etc.) Integrated on the same chip. Such a chip can be called a system on chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the specific needs of product design. The embodiments of the present invention do not limit the specific implementation forms of the above devices.
在一种可能的设计中,该芯片系统还包括存储器,该存储器用于存储实现本申请实施例提供的通信方法所涉及功能的程序指令和数据。In a possible design, the chip system further includes a memory, which is used to store program instructions and data for implementing functions involved in the communication method provided by the embodiments of the present application.
该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。The chip system may be composed of chips, or may include chips and other discrete devices.
本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,当计算机程序或指令在计算机上运行时,使得本申请实施例提供的通信方法被执行。Embodiments of the present application provide a computer-readable storage medium. The computer-readable storage medium stores computer programs or instructions. When the computer program or instructions are run on a computer, the communication method provided by the embodiments of the present application is executed.
本申请实施例提供一种计算机程序产品,该计算机程序产品包括:计算机程序或指令,当计算机程序或指令在计算机上运行时,使得本申请实施例提供的通信方法被执行。An embodiment of the present application provides a computer program product. The computer program product includes: a computer program or instructions. When the computer program or instructions are run on a computer, the communication method provided by the embodiment of the present application is executed.
应理解,在本申请实施例中的处理器可以是中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。 It should be understood that the processor in the embodiment of the present application can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), special-purpose integrated processors, etc. Circuit (application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
还应理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(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, non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase electrically programmable read-only memory (EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of illustration, but not limitation, many forms of random access memory (RAM) are available, such as static random access memory (static RAM (SRAM)), dynamic random access memory (DRAM), synchronous dynamic random access memory (RAM) 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 access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM).
上述实施例,可以全部或部分地通过软件、硬件(如电路)、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination. When implemented using software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. 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 or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmit to another website, computer, server or data center through wired (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or a data center that contains one or more sets of available media. The usable media may be magnetic media (eg, floppy disk, hard disk, tape), optical media (eg, DVD), or semiconductor media. The semiconductor medium may be a solid state drive.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系,但也可能表示的是一种“和/或”的关系,具体可参考前后文进行理解。It should be understood that the term "and/or" in this article is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A and B exist simultaneously. , there are three cases of B alone, where A and B can be singular or plural. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship, but it may also indicate an "and/or" relationship. For details, please refer to the previous and later contexts for understanding.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" refers to one or more, and "plurality" refers to two or more. "At least one of the following" or similar expressions thereof refers to any combination of these items, including any combination of a single item (items) or a plurality of items (items). For example, at least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。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. The execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专 业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Specialize Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is 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. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。 The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application. should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (30)

  1. 一种通信方法,其特征在于,应用于第一核心网网元,包括:A communication method, characterized in that it is applied to a first core network element and includes:
    接收来自第一设备的第一时钟状态信息;其中,所述第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态;Receive first clock status information from the first device; wherein the first clock status information is used to indicate the clock synchronization status of the Precision Time Protocol clock domain;
    接收来自第二设备的第二时钟状态信息;其中,所述第二时钟状态信息用于指示所述精确时间协议时钟域的时钟同步状态;所述第一设备和所述第二设备均支持获取通信系统内部时钟域对应的同步信息和所述精确时间协议时钟域对应的同步信息;所述第一设备为网络侧适配器,且所述第二设备为设备侧适配器;或者,所述第一设备为用户面网元,且所述第二设备为第一终端设备;Receive second clock status information from the second device; wherein the second clock status information is used to indicate the clock synchronization status of the precision time protocol clock domain; both the first device and the second device support obtaining Synchronization information corresponding to the internal clock domain of the communication system and synchronization information corresponding to the precise time protocol clock domain; the first device is a network-side adapter, and the second device is a device-side adapter; or, the first device is a user plane network element, and the second device is a first terminal device;
    根据所述第一时钟状态信息和所述第二时钟状态信息,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。According to the first clock status information and the second clock status information, the clock domain in which the clock synchronization status is abnormal is determined from the internal clock domain of the communication system and the precise time protocol clock domain.
  2. 根据权利要求1所述的通信方法,其特征在于,所述第一设备的时钟域端口状态为从时钟状态,所述第二设备的时钟域端口状态为主时钟状态,所述根据所述第一时钟状态信息和所述第二时钟状态信息,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,包括:The communication method according to claim 1, characterized in that the clock domain port state of the first device is a slave clock state, the clock domain port state of the second device is a master clock state, and the clock domain port state of the second device is a master clock state. A clock status information and the second clock status information, determining the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain, including:
    若所述第一时钟状态信息指示所述精确时间协议时钟域的时钟同步状态无异常,且所述第二时钟状态信息指示所述精确时间协议时钟域的时钟同步状态发生异常,则确定所述通信系统内部时钟域的时钟同步状态发生异常;或者,If the first clock status information indicates that there is no abnormality in the clock synchronization status of the precise time protocol clock domain, and the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal. The clock synchronization status of the internal clock domain of the communication system is abnormal; or,
    若所述第一时钟状态信息指示所述精确时间协议时钟域的时钟同步状态异常,则确定所述精确时间协议时钟域的时钟同步状态发生异常。If the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
  3. 根据权利要求1所述的通信方法,其特征在于,所述第二设备的时钟域端口状态为从时钟状态,所述第一设备的时钟域端口状态为主时钟状态,所述根据所述第一时钟状态信息和所述第二时钟状态信息,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,包括:The communication method according to claim 1, characterized in that the clock domain port state of the second device is a slave clock state, the clock domain port state of the first device is a master clock state, and the clock domain port state of the second device is a master clock state. A clock status information and the second clock status information, determining the clock domain in which the clock synchronization status is abnormal from the internal clock domain of the communication system and the precise time protocol clock domain, including:
    若所述第二时钟状态信息指示所述精确时间协议时钟域的时钟同步状态无异常,且第一时钟状态信息指示所述精确时间协议时钟域的时钟同步状态发生异常,则确定所述通信系统内部时钟域的时钟同步状态发生异常;或者,If the second clock status information indicates that there is no abnormality in the clock synchronization status of the precise time protocol clock domain, and the first clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, then it is determined that the communication system The clock synchronization status of the internal clock domain is abnormal; or,
    若所述第二时钟状态信息指示所述精确时间协议时钟域的时钟同步状态异常,则确定所述精确时间协议时钟域的时钟同步状态发生异常。If the second clock status information indicates that the clock synchronization status of the precise time protocol clock domain is abnormal, it is determined that the clock synchronization status of the precise time protocol clock domain is abnormal.
  4. 一种通信方法,其特征在于,应用于第一核心网网元,包括:A communication method, characterized in that it is applied to a first core network element and includes:
    接收来自第一设备的第一时钟状态信息;其中,所述第一时钟状态信息用于指示精确时间协议时钟域的时钟同步状态,所述第一设备支持获取通信系统内部时钟域对应的同步信息和所述精确时间协议时钟域对应的同步信息;Receive first clock status information from the first device; wherein the first clock status information is used to indicate the clock synchronization status of the precision time protocol clock domain, and the first device supports obtaining synchronization information corresponding to the internal clock domain of the communication system Synchronization information corresponding to the precise time protocol clock domain;
    在所述第一设备的时钟域端口状态为主时钟状态,且所述第一时钟状态信息指示所述精确时间协议时钟域的时钟同步状态发生异常的情况下,向第一接入网设备请求所述通信系统内部时钟域的时钟同步状态;When the clock domain port status of the first device is in the main clock state, and the first clock status information indicates that the clock synchronization status of the precision time protocol clock domain is abnormal, request the first access network device The clock synchronization status of the internal clock domain of the communication system;
    接收来自所述第一接入网设备的所述通信系统内部时钟域的时钟同步状态;Receive the clock synchronization status of the internal clock domain of the communication system from the first access network device;
    根据所述通信系统内部时钟域的时钟同步状态,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域。 According to the clock synchronization status of the internal clock domain of the communication system, the clock domain in which the clock synchronization status is abnormal is determined from the internal clock domain of the communication system and the precise time protocol clock domain.
  5. 根据权利要求4所述的通信方法,其特征在于,所述根据所述通信系统内部时钟域的时钟同步状态,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,包括:The communication method according to claim 4, characterized in that, according to the clock synchronization state of the internal clock domain of the communication system, clock synchronization is determined from the internal clock domain of the communication system and the precision time protocol clock domain. Clock domains with abnormal status include:
    若所述通信系统内部时钟域的时钟同步状态无异常,则确定所述精确时间协议时钟域的时钟同步状态发生异常。If there is no abnormality in the clock synchronization state of the internal clock domain of the communication system, it is determined that the clock synchronization state of the precise time protocol clock domain is abnormal.
  6. 根据权利要求4所述的通信方法,其特征在于,所述根据所述通信系统内部时钟域的时钟同步状态,从所述通信系统内部时钟域和所述精确时间协议时钟域中,确定时钟同步状态发生异常的时钟域,包括:The communication method according to claim 4, characterized in that, according to the clock synchronization state of the internal clock domain of the communication system, clock synchronization is determined from the internal clock domain of the communication system and the precision time protocol clock domain. Clock domains with abnormal status include:
    若所述通信系统内部时钟域的时钟同步状态异常,则确定所述通信系统内部时钟域的时钟同步状态发生异常。If the clock synchronization state of the internal clock domain of the communication system is abnormal, it is determined that the clock synchronization state of the internal clock domain of the communication system is abnormal.
  7. 根据权利要求1-6中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 1-6, characterized in that the method further includes:
    在所述通信系统内部时钟域的时钟同步状态发生异常的情况下,获取第一接入网设备的信息;其中,所述第一接入网设备为所述通信系统内部时钟域对应的接入网设备。When the clock synchronization state of the internal clock domain of the communication system is abnormal, obtain information of the first access network device; wherein the first access network device is the access network device corresponding to the internal clock domain of the communication system. network equipment.
  8. 根据权利要求7所述的通信方法,其特征在于,所述获取第一接入网设备的信息,包括:The communication method according to claim 7, wherein the obtaining information of the first access network device includes:
    向移动性管理网元发送第一请求消息;其中,所述第一请求消息包括设备侧适配器对应的终端设备的标识、或第一终端设备的标识,所述第一请求消息用于请求所述设备侧适配器对应的终端设备或所述第一终端设备接入的接入网设备的信息;Send a first request message to the mobility management network element; wherein the first request message includes the identification of the terminal device corresponding to the device-side adapter or the identification of the first terminal device, and the first request message is used to request the Information about the terminal device corresponding to the device-side adapter or the access network device connected to the first terminal device;
    接收来自所述移动性管理网元的所述第一接入网设备的信息;其中,所述第一接入网设备为所述设备侧适配器对应的终端设备或所述第一终端设备接入的接入网设备。Receive information from the first access network device of the mobility management network element; wherein the first access network device is a terminal device corresponding to the device side adapter or the first terminal device access access network equipment.
  9. 根据权利要求7所述的通信方法,其特征在于,所述第一核心网网元为时延时钟网元,所述获取第一接入网设备的信息,包括:The communication method according to claim 7, characterized in that the first core network element is a delay clock network element, and the obtaining the information of the first access network device includes:
    向会话管理网元发送第二请求消息;其中,所述第二请求消息包括第一终端设备的标识、或设备侧适配器的端口标识,所述第二请求消息用于请求所述第一终端设备、或所述设备侧适配器对应的终端设备接入的接入网设备的信息;Send a second request message to the session management network element; wherein the second request message includes the identification of the first terminal device or the port identification of the device-side adapter, and the second request message is used to request the first terminal device , or information about the access network equipment connected to the terminal equipment corresponding to the device-side adapter;
    接收来自所述会话管理网元的所述第一接入网设备的信息;其中,所述第一接入网设备为所述第一终端设备或所述设备侧适配器对应的终端设备接入的接入网设备。Receive information from the first access network device of the session management network element; wherein the first access network device is accessed by a terminal device corresponding to the first terminal device or the device-side adapter. Access network equipment.
  10. 根据权利要求7所述的通信方法,其特征在于,所述第一核心网网元为会话管理网元,所述获取第一接入网设备的信息,包括:The communication method according to claim 7, characterized in that the first core network element is a session management network element, and the obtaining the information of the first access network device includes:
    根据所述第一终端设备的标识、或设备侧适配器的端口标识,获取所述第一接入网设备的信息;其中,所述第一接入网设备为所述第一终端设备、或所述设备侧适配器对应的终端设备接入的接入网设备。Obtain the information of the first access network device according to the identifier of the first terminal device or the port identifier of the device-side adapter; wherein the first access network device is the first terminal device or the port identifier of the device-side adapter. The access network equipment that the terminal equipment corresponding to the device-side adapter is connected to.
  11. 根据权利要求1-10中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 1-10, characterized in that the method further includes:
    接收来自应用网元的时钟状态通知请求;其中,所述时钟状态通知请求包括第二终端设备的标识,所述时钟状态通知请求用于请求所述第二终端设备的时钟同步状态。Receive a clock status notification request from an application network element; wherein the clock status notification request includes an identification of the second terminal device, and the clock status notification request is used to request a clock synchronization status of the second terminal device.
  12. 根据权利要求11所述的通信方法,其特征在于,所述方法还包括:The communication method according to claim 11, characterized in that the method further includes:
    根据所述第二终端设备的标识,向所述第二终端设备发送第一时钟异常信息;其中,所述第一时钟异常信息用于指示所述时钟同步状态发生异常的时钟域,所述第二 终端设备接入的接入网设备为第一接入网设备。According to the identification of the second terminal device, first clock abnormality information is sent to the second terminal device; wherein the first clock abnormality information is used to indicate the clock domain in which the clock synchronization state is abnormal, and the third two The access network device to which the terminal device is connected is the first access network device.
  13. 根据权利要求1-12中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 1-12, characterized in that the method further includes:
    向所述第一设备发送第一时钟状态请求;其中,所述第一时钟状态请求包括所述精确时间协议时钟域的标识,所述第一时钟状态请求用于请求所述精确时间协议时钟域的时钟同步状态。Send a first clock status request to the first device; wherein the first clock status request includes an identification of the Precision Time Protocol clock domain, and the first clock status request is used to request the Precision Time Protocol clock domain clock synchronization status.
  14. 根据权利要求1-13中任一项所述的通信方法,其特征在于,所述方法还包括:The communication method according to any one of claims 1-13, characterized in that the method further includes:
    向所述第二设备发送第二时钟状态请求;其中,所述第二时钟状态请求包括所述精确时间协议时钟域的标识,所述第二时钟状态请求用于请求所述精确时间协议时钟域的时钟同步状态。Send a second clock status request to the second device; wherein the second clock status request includes the identification of the precise time protocol clock domain, and the second clock status request is used to request the precise time protocol clock domain clock synchronization status.
  15. 根据权利要求1-14中任一项所述的通信方法,其特征在于,所述第一时钟状态信息包括:精确时间协议时钟域的时钟同步状态是否异常、和/或所述精确时间协议时钟域偏差;所述精确时间协议时钟域偏差为所述第一设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,所述第一时钟为所述精确时间协议时钟域对应的同步信息指示的时钟。The communication method according to any one of claims 1 to 14, characterized in that the first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal, and/or the precision time protocol clock Domain deviation; the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the first device side and the first clock, and the first clock is the precision time protocol clock domain The clock indicated by the corresponding synchronization information.
  16. 根据权利要求15所述的通信方法,其特征在于,所述第一时钟状态信息还包括:所述通信系统内部时钟域对应的第一接入网设备的信息、和/或所述通信系统内部时钟域的时钟同步状态是否异常。The communication method according to claim 15, wherein the first clock status information further includes: information about the first access network device corresponding to the internal clock domain of the communication system, and/or information about the internal clock domain of the communication system. Check whether the clock synchronization status of the clock domain is abnormal.
  17. 根据权利要求1-16中任一项所述的通信方法,其特征在于,所述第二时钟状态信息包括:精确时间协议时钟域的时钟同步状态是否异常、和/或所述精确时间协议时钟域偏差;所述精确时间协议时钟域偏差为所述第二设备侧的精确时间协议时钟域对应的时钟与第一时钟之间的差值,所述第一时钟为所述精确时间协议时钟域对应的同步信息指示的时钟。The communication method according to any one of claims 1 to 16, characterized in that the second clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal, and/or the precision time protocol clock Domain deviation; the precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the second device side and the first clock, and the first clock is the precision time protocol clock domain The clock indicated by the corresponding synchronization information.
  18. 根据权利要求17所述的通信方法,其特征在于,所述第二时钟状态信息还包括:所述通信系统内部时钟域对应的第一接入网设备的信息、和/或所述通信系统内部时钟域的时钟同步状态是否异常。The communication method according to claim 17, wherein the second clock status information further includes: information about the first access network device corresponding to the internal clock domain of the communication system, and/or information about the internal clock domain of the communication system. Check whether the clock synchronization status of the clock domain is abnormal.
  19. 一种通信方法,其特征在于,应用于通信设备,包括:A communication method, characterized in that it is applied to communication equipment, including:
    接收来自第一核心网网元的第一时钟状态请求;其中,所述第一时钟状态请求包括精确时间协议时钟域的标识,所述第一时钟状态请求用于请求所述精确时间协议时钟域的时钟同步状态;Receive a first clock status request from a first core network element; wherein the first clock status request includes an identification of a Precision Time Protocol clock domain, and the first clock status request is used to request the Precision Time Protocol clock domain clock synchronization status;
    向所述第一核心网网元发送所述第一时钟状态信息;其中,所述第一时钟状态信息包括:所述精确时间协议时钟域的时钟同步状态是否异常、和/或精确时间协议时钟域偏差,所述精确时间协议时钟域偏差为所述通信设备侧的所述精确时间协议时钟域对应的时钟与第一时钟之间的差值,所述第一时钟为所述通信设备接收的所述精确时间协议时钟域对应的同步信息指示的时钟。Send the first clock status information to the first core network element; wherein the first clock status information includes: whether the clock synchronization status of the precision time protocol clock domain is abnormal, and/or the precision time protocol clock Domain deviation. The precision time protocol clock domain deviation is the difference between the clock corresponding to the precision time protocol clock domain on the communication device side and the first clock. The first clock is the clock received by the communication device. The clock indicated by the synchronization information corresponding to the precise time protocol clock domain.
  20. 根据权利要求19所述的通信方法,其特征在于,所述第一时钟状态信息包括所述精确时间协议时钟域的时钟同步状态是否异常,所述方法还包括:The communication method according to claim 19, wherein the first clock status information includes whether the clock synchronization status of the precision time protocol clock domain is abnormal, and the method further includes:
    根据所述精确时间协议时钟域偏差,确定所述第一时钟状态信息。The first clock status information is determined based on the precision time protocol clock domain deviation.
  21. 根据权利要求20所述的通信方法,其特征在于,所述根据所述精确时间协议时钟域偏差,确定所述第一时钟状态信息,包括: The communication method according to claim 20, wherein determining the first clock status information according to the precision time protocol clock domain deviation includes:
    所述精确时间协议时钟域偏差大于第一阈值,则所述第一时钟状态信息指示所述精确时间协议时钟域的同步状态异常;或者,If the precision time protocol clock domain deviation is greater than a first threshold, the first clock status information indicates that the synchronization status of the precision time protocol clock domain is abnormal; or,
    所述精确时间协议时钟域偏差小于或等于第一阈值,则所述第一时钟状态信息指示所述精确时间协议时钟域的同步状态无异常。If the precision time protocol clock domain deviation is less than or equal to the first threshold, then the first clock status information indicates that the synchronization state of the precision time protocol clock domain is normal.
  22. 根据权利要求19或20所述的通信方法,其特征在于,所述第一时钟状态信息还包括通信系统内部时钟域的时钟同步状态是否异常,所述方法还包括:The communication method according to claim 19 or 20, wherein the first clock status information also includes whether the clock synchronization status of the internal clock domain of the communication system is abnormal, and the method further includes:
    根据通信系统内部时钟域偏差,确定所述第一时钟状态信息;其中,所述通信系统内部时钟域偏差为所述通信设备侧的所述通信系统内部时钟域对应的时钟与第二时钟之间的差值,所述第二时钟为所述通信设备接收的所述通信系统内部时钟域对应的同步信息指示的时钟。The first clock status information is determined according to the internal clock domain deviation of the communication system; wherein the internal clock domain deviation of the communication system is the difference between the clock corresponding to the internal clock domain of the communication system on the communication device side and the second clock The second clock is the clock indicated by the synchronization information corresponding to the internal clock domain of the communication system received by the communication device.
  23. 根据权利要求19-22中任一项所述的通信方法,其特征在于,所述第一时钟状态信息还包括:所述通信系统内部时钟域对应的第一接入网设备的信息。The communication method according to any one of claims 19 to 22, characterized in that the first clock status information further includes: information of the first access network device corresponding to the internal clock domain of the communication system.
  24. 根据权利要求19-23中任一项所述的通信方法,其特征在于,所述通信设备为网络侧适配器、设备侧适配器、用户面网元、或第一终端设备。The communication method according to any one of claims 19 to 23, characterized in that the communication device is a network side adapter, a device side adapter, a user plane network element, or a first terminal device.
  25. 一种通信装置,其特征在于,所述通信装置包括用于执行如权利要求1-18中任一项所述方法的单元或模块。A communication device, characterized in that the communication device includes a unit or module for executing the method according to any one of claims 1-18.
  26. 一种通信装置,其特征在于,所述通信装置包括用于执行如权利要求19-24中任一项所述方法的单元或模块。A communication device, characterized in that the communication device includes a unit or module for executing the method according to any one of claims 19-24.
  27. 一种通信装置,其特征在于,所述通信装置包括:处理器;所述处理器,用于执行如权利要求1-18中任一项所述的通信方法。A communication device, characterized in that the communication device includes: a processor; the processor is used to execute the communication method according to any one of claims 1-18.
  28. 一种通信装置,其特征在于,所述通信装置包括:处理器;所述处理器,用于执行如权利要求19-24中任一项所述的通信方法。A communication device, characterized in that the communication device includes: a processor; the processor is configured to execute the communication method according to any one of claims 19-24.
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得如权利要求1-24中任一项所述的通信方法被执行。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program or instructions, and when the computer program or instructions are run on a computer, the computer program or instructions enable any one of claims 1-24 The described communication method is executed.
  30. 一种计算机程序产品,其特征在于,所述计算机程序产品包括:计算机程序或指令,当所述计算机程序或指令在计算机上运行时,使得如权利要求1-24中任一项所述的通信方法被执行。 A computer program product, characterized in that the computer program product includes: a computer program or instructions that, when run on a computer, enable the communication as described in any one of claims 1-24 The method is executed.
PCT/CN2023/084904 2022-05-06 2023-03-29 Communication method and apparatus WO2023213159A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210488539.0A CN117062207A (en) 2022-05-06 2022-05-06 Communication method and device
CN202210488539.0 2022-05-06

Publications (1)

Publication Number Publication Date
WO2023213159A1 true WO2023213159A1 (en) 2023-11-09

Family

ID=88646228

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/084904 WO2023213159A1 (en) 2022-05-06 2023-03-29 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN117062207A (en)
WO (1) WO2023213159A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system
CN105323086A (en) * 2014-07-11 2016-02-10 中兴通讯股份有限公司 Synchronization time source selection indication method, device and system
KR20190046148A (en) * 2017-10-25 2019-05-07 에스케이텔레콤 주식회사 Method and Apparatus for synchronizing clock using neighbor nodes collaboration and data learning
US20200280383A1 (en) * 2019-02-28 2020-09-03 Nxp B.V. Method and system for merging clocks from multiple precision time protocol (ptp) clock domains

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system
CN105323086A (en) * 2014-07-11 2016-02-10 中兴通讯股份有限公司 Synchronization time source selection indication method, device and system
KR20190046148A (en) * 2017-10-25 2019-05-07 에스케이텔레콤 주식회사 Method and Apparatus for synchronizing clock using neighbor nodes collaboration and data learning
US20200280383A1 (en) * 2019-02-28 2020-09-03 Nxp B.V. Method and system for merging clocks from multiple precision time protocol (ptp) clock domains

Also Published As

Publication number Publication date
CN117062207A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US20220256393A1 (en) TSN AND 5GS QoS MAPPING - A USER PLANE BASED METHOD
US20210168902A1 (en) User Group Session Management Method and Apparatus
KR20220034855A (en) Data transmission methods and related devices
EP4138439A1 (en) Communication method, apparatus, and system
JP2021532641A (en) Quality of service monitoring methods and systems and devices
US12040979B2 (en) Communications method, apparatus, and system
WO2021135650A1 (en) Communication method and apparatus
WO2022237505A1 (en) Communication method, device and system
US20210144630A1 (en) Base station and data transmission method thereof for mobile communication system
WO2019228459A1 (en) Communication method and apparatus, and storage medium
WO2024051313A1 (en) Communication resource management method, apparatus and system, and storage medium
WO2022095048A1 (en) Communication method and apparatus and computer readable storage medium
CN116097688B (en) Communication method, device and system
WO2020192622A1 (en) Terminal management and control method, apparatus and system
WO2023284551A1 (en) Communication method, device and system
WO2023030395A1 (en) Communication method and apparatus
WO2023213159A1 (en) Communication method and apparatus
CN113473553B (en) Communication method and communication device
WO2024032157A1 (en) Communication method, and apparatus
WO2023179262A1 (en) Cell information configuration method and apparatus, and readable storage medium and chip system
WO2023061207A1 (en) Communication method, communication apparatus, and communication system
WO2024012230A1 (en) Communication method and apparatus
WO2024179291A1 (en) Multi-quality of service flow processing method and related apparatus
WO2023151612A1 (en) Communication method and communication apparatus
WO2023179231A1 (en) Cell information configuration method and apparatus, and readable storage medium and chip system

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

Country of ref document: EP

Kind code of ref document: A1