WO2024012156A1 - Clock signal state information reporting method and apparatus - Google Patents

Clock signal state information reporting method and apparatus Download PDF

Info

Publication number
WO2024012156A1
WO2024012156A1 PCT/CN2023/101026 CN2023101026W WO2024012156A1 WO 2024012156 A1 WO2024012156 A1 WO 2024012156A1 CN 2023101026 W CN2023101026 W CN 2023101026W WO 2024012156 A1 WO2024012156 A1 WO 2024012156A1
Authority
WO
WIPO (PCT)
Prior art keywords
clock signal
information
identifier
clock
node
Prior art date
Application number
PCT/CN2023/101026
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 WO2024012156A1 publication Critical patent/WO2024012156A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a method and device for reporting clock signal status information.
  • a clock network includes a master node and a slave node.
  • Master node accesses the Global Positioning System (GPS), Beidou and other synchronization information for clock calibration, and then sends clock signals to other devices in the network.
  • GPS Global Positioning System
  • the Slave node has a local clock device. After receiving the clock signal sent regularly by the Master node, it analyzes the clock signal to calibrate the local clock signal of the Slave node to ensure the accuracy of the clock signal.
  • the technical problem to be solved by this disclosure is to provide a method and device for reporting clock signal status information, which can report clock status information in a cloud scenario, thereby ensuring the accuracy of the clock signal.
  • embodiments of the present disclosure provide a method for reporting clock signal status information, which is applied to the first network element, including:
  • first information includes the clock status information, and the first information further includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • reporting the first information to the second network element includes:
  • the first information is reported to the second network element.
  • the method further includes:
  • collecting clock status information in the cloud platform includes:
  • the method before collecting the clock status information in the corresponding cloud platform, the method further includes:
  • Embodiments of the present disclosure also provide a method for reporting clock signal status information, which is applied to the second network element, including:
  • Receive first information reported by the first network element where the first information includes clock status information in the cloud platform to which the first network element belongs, and the first information further includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the method after receiving the first information reported by the first network element, the method further includes:
  • clock abnormality alarm information is sent to the first network element or the fourth network element.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the method before receiving the first information reported by the first network element, the method further includes:
  • Embodiments of the present disclosure also provide a device for reporting clock signal status information, which is applied to the first network element and includes a processor and a transceiver;
  • the transceiver is used to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, where the first information includes the clock status information, and the first information Also include at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the transceiver is specifically configured to report the first information to the second network element according to a preset time period
  • the first information is reported to the second network element.
  • the transceiver is further configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
  • the transceiver is specifically configured to receive clock status information reported by a third network element in the cloud platform.
  • Embodiments of the present disclosure also provide a device for reporting clock signal status information, which is applied to the second network element and includes a processor and a transceiver;
  • the transceiver is configured to receive first information reported by the first network element.
  • the first information includes clock status information in the cloud platform to which the first network element belongs.
  • the first information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the transceiver is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • An embodiment of the present disclosure also provides a device for reporting clock signal status information, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program Implement the clock signal status information reporting method as described above.
  • the device for reporting clock signal status information is applied to the first network element, and the processor is configured to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element,
  • the first information includes the clock status information, and the first information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates the clock signal and clock source received by the computing node or the node that implements the computing function. Synchronize;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the processor is specifically configured to report the first information to the second network element according to a preset time period
  • the first information is reported to the second network element.
  • the processor is further configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
  • the processor is specifically configured to receive clock status information reported by a third network element in the cloud platform.
  • the device for reporting clock signal status information is applied to the second network element, and the processor is configured to receive the first information reported by the first network element.
  • the first information includes the first information in the cloud platform to which the first network element belongs.
  • clock status information the first information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the processor is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal.
  • the clock Signal and clock source are not synchronized.
  • Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for reporting clock signal status information as described above are implemented.
  • the first network element collects the clock status information in the cloud platform it belongs to, and reports the clock status information and cloud platform information to the second network element, which can realize the reporting of clock status information in the cloud scenario. Furthermore, the second network element The network element can determine whether the clock signal is abnormal based on the reported information, and then issue an alarm when the clock signal is abnormal, and notify the first network element to calibrate the clock signal, thereby ensuring the accuracy of the clock signal.
  • Figure 1 is a schematic diagram of the clock network
  • Figure 2 is a schematic diagram of the O-RAN architecture
  • FIGS. 3 and 4 are flowcharts of a clock signal status information reporting method according to an embodiment of the present disclosure
  • FIG. 5 and 6 are schematic diagrams of the composition of a clock signal status information reporting device according to an embodiment of the present disclosure.
  • O2 Service Management and Orchestration
  • Open Cloud Open Cloud
  • O-Cloud infrastructure expands inward and outward
  • the reported clock synchronization information includes:
  • NTP stands for Network Time Protocol.
  • Boolean means Boolean. False means error, true means correct.
  • String represents a string.
  • dateTime represents date time.
  • UTC stands for Coordinated Universal Time.
  • the cloudized base station software is deployed on O-Cloud.
  • Clock status information can be regarded as a resource on the cloud platform.
  • the status information of the resource is uniformly reported by O-Cloud to SMO through the O2 interface.
  • Embodiments of the present disclosure provide a method and device for reporting clock signal status information, which can report clock status information in a cloud scenario, thereby ensuring the accuracy of clock signals.
  • Embodiments of the present disclosure provide a method for reporting clock signal status information, which is applied to the first network element and includes:
  • first information includes the clock status information, and the first information further includes at least one of the following:
  • oCloudID is a string (such as a Universal Unique Identifier (UUID)). It is an identifier of the O-Cloud instance. It is unique in the O-Cloud instance and is used to identify the clock. O-cloud where the signal is located;
  • UUID Universal Unique Identifier
  • the first identifier, Master_Node_ID or controller_ID is a string (such as UUID) and is used to indicate the identity of the control node of the cloud platform that uses the clock signal or the node (Master Node) that implements the control function;
  • the second identifier, Worker_Node_ID or compute_ID is of type string (such as UUID) and is used to indicate the identity of the computing node of the cloud platform that uses the clock signal or the node (Worker Node) that implements the computing function;
  • the third identifier, VM_ID or container_ID or Pod_ID is a string (such as UUID) and is used to indicate the identity of the virtual machine, container or pod that uses the clock signal;
  • the fourth identifier is used to indicate the time when the information is reported. It can be timestamp information, and the type is a string, including: year, month, day, hour, second, minute, millisecond (optional), time zone and other time information.
  • pod refers to the container group.
  • a container group (pod) is the smallest deployable unit in Kubernetes.
  • a container group (pod) represents an independent application running instance in Kubernetes. This instance may consist of a single container or several tightly coupled containers.
  • the first network element collects the clock status information in the cloud platform it belongs to, and reports the clock status information and the cloud platform information to the second network element, which can realize the reporting of clock status information in the cloud scenario. Further, the third The second network element can determine whether the clock signal is abnormal based on the reported information, and then issue an alarm when the clock signal is abnormal, and notify the first network element to calibrate the clock signal, thereby ensuring the accuracy of the clock signal.
  • the value of the clock status information includes at least one of the following:
  • the first value such as Freerun, indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value such as Locked, indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value such as Holdover, indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • reporting the first information to the second network element includes:
  • the first information is reported to the second network element.
  • the preset time period may be configured or pre-configured by the network side device or defined by the protocol.
  • the method further includes:
  • collecting clock status information in the cloud platform includes:
  • the cloud platform is a cluster composed of multiple nodes.
  • the multiple nodes include control nodes or nodes that implement control functions, computing nodes or nodes that implement computing functions.
  • the control nodes and computing nodes can be the same node, or they can They are different nodes.
  • the control function can be implemented on one node or on different nodes.
  • the computing function can be implemented on one node or on different nodes.
  • the third network element may be a computing node or a node that implements computing functions
  • the first network element may be a control node or a node that implements control functions, or it may be a computing node or a node that implements computing functions.
  • the first network element may be O-Cloud
  • the second network element may be SMO
  • the third network element may be a server node.
  • Embodiments of the present disclosure also provide a method for reporting clock signal status information, which is applied to the second network element, including:
  • the oCloudID the identifier of the cloud platform to which it belongs, is a string (such as UUID), which is the identifier of the O-Cloud instance. It is unique in the O-Cloud instance and is used to identify the O-cloud where the clock signal is located;
  • the first identifier, Master_Node_ID or controller_ID is a string (such as UUID) and is used to indicate the identity of the control node of the cloud platform that uses the clock signal or the node (Master Node) that implements the control function;
  • the second identifier, Worker_Node_ID or compute_ID is of type string (such as UUID) and is used to indicate the identity of the computing node of the cloud platform that uses the clock signal or the node (Worker Node) that implements the computing function;
  • the third identifier, VM_ID or container_ID or Pod_ID is a string (such as UUID) and is used to indicate the identity of the virtual machine, container or pod that uses the clock signal;
  • the fourth identifier is used to indicate the time when the information is reported. It can be timestamp information, and the type is a string, including: year, month, day, hour, second, minute, millisecond (optional), time zone and other time information.
  • the method after receiving the first information reported by the first network element, the method further includes:
  • clock abnormality alarm information is sent to the first network element or the fourth network element.
  • the value of the clock status information includes at least one of the following:
  • the first value such as Freeru, indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value such as Locked, indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value such as Holdover, indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the clock signal status information reporting method in this embodiment includes the following steps:
  • the third network element (such as a server node) reports the clock signal status information to the first network element (O-Cloud). Specifically, the clock signal status can be reported through regular reporting or event triggering. status information to the first network element (O-Cloud).
  • the periodic reporting method is to report every fixed time period, and the event-triggered reporting method is to report the clock signal status information when the clock signal changes;
  • the first network element (O-Cloud) reports the clock signal status information and the cloud platform information to the second network element (SMO), which can be reported by regular reporting or event triggering.
  • the regular reporting method is to report at fixed intervals.
  • the event-triggered reporting method is to report the clock signal status information and the associated cloud platform information when the clock signal changes;
  • the second network element selects one of the following processing methods for processing:
  • the second network element (SMO) generates an abnormal clock status alarm and notifies the second network element (O-cloud) to trigger the subsequent clock calibration process to ensure the accuracy of the clock signal;
  • the second network element (SMO) generates clock abnormality alarm information and reports it to the fourth network element.
  • the fourth network element can be another cloud platform.
  • the fourth network element can trigger the clock calibration process based on the clock abnormality alarm information.
  • the method for reporting clock signal status information in this embodiment includes the following steps:
  • the second network element sends a request message to the first network element (O-Cloud), where the request message indicates sending heartbeat information;
  • the third network element (such as a server node) reports the clock signal status information to the first network element (O-Cloud).
  • the clock signal status information can be reported to the first network element (O-Cloud) through regular reporting or event triggering. Cloud).
  • the regular reporting method is to report every fixed time period, and the event-triggered reporting method is to report the clock signal status information when the clock signal changes;
  • the first network element (O-Cloud) reports the clock signal status information and the cloud platform information to the second network element (SMO), which can be reported by regular reporting or event triggering.
  • the regular reporting method is to report at fixed intervals.
  • the event-triggered reporting method is to report the clock signal status information and the associated cloud platform information when the clock signal changes;
  • the second network element receives the clock status information and belonging information reported by the first network element (O-cloud). After collecting the cloud information, choose one of the following processing methods for processing:
  • the second network element (SMO) generates an abnormal clock status alarm and notifies the second network element (O-cloud) to trigger the subsequent clock calibration process to ensure the accuracy of the clock signal;
  • the second network element (SMO) generates clock abnormality alarm information and reports it to the fourth network element.
  • the fourth network element can be another cloud platform.
  • the fourth network element can trigger the clock calibration process based on the clock abnormality alarm information.
  • the embodiment of the present disclosure also provides a device for reporting clock signal status information, which is applied to the first network element. As shown in Figure 5, it includes a processor 22 and a transceiver 21;
  • the transceiver 21 is used to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, where the first information includes the clock status information.
  • the information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the transceiver 21 is specifically configured to report the first information to the second network element according to a preset time period;
  • the first information is reported to the second network element.
  • the transceiver 21 is also configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
  • the transceiver 21 is specifically configured to receive clock status information reported by a third network element in the cloud platform.
  • the embodiment of the present disclosure also provides a device for reporting clock signal status information, which is applied to the second network element. As shown in Figure 5, it includes a processor 22 and a transceiver 21;
  • the transceiver 21 is configured to receive the first information reported by the first network element.
  • the first information includes clock status information in the cloud platform to which the first network element belongs.
  • the first information also includes at least one of the following: :
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the transceiver 21 is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • Embodiments of the present disclosure also provide a device for reporting clock signal status information, as shown in Figure 6 , including a memory 31, a processor 32, and a computer program stored in the memory 31 and executable on the processor 32 ; The processor 32 implements the clock signal as described above when executing the program. Method for reporting number status information.
  • the device for reporting clock signal status information is applied to the first network element, and the processor 32 is configured to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element.
  • the first information includes the clock status information, and the first information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • the processor 32 is specifically configured to report the first information to the second network element according to a preset time period;
  • the first information is reported to the second network element.
  • the processor 32 is also configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
  • the processor 32 is specifically configured to receive clock status information reported by a third network element in the cloud platform.
  • the device for reporting clock signal status information is applied to the second network element, and the processor 32 is configured to receive the first information reported by the first network element, where the first information includes the information reported by the first network element. Belonging to clock status information in the cloud platform, the first information also includes at least one of the following:
  • the first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
  • the second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
  • the third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal
  • the fourth identifier is used to indicate the time of reporting information.
  • the processor 32 is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
  • the value of the clock status information includes at least one of the following:
  • the first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
  • the second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
  • the third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  • Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for reporting clock signal status information as described above are implemented.
  • Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information.
  • Information may be computer-readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, Phase-Change Random Access Memory (PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), and Dynamic Random Access Memory (Dynamic Random Access Memory).
  • PRAM Phase-Change Random Access Memory
  • SRAM Static Random-Access Memory
  • Dynamic Random Access Memory Dynamic Random Access Memory
  • DRAM digital random access memory
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read only memory
  • flash memory or other memory technology
  • CD-ROM Compact Disc Read-Only Memory
  • DVD Digital Video Disc
  • magnetic cartridge Tape tape
  • magnetic disk storage magnetic storage terminal device or any other non-transmission medium
  • computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Electric Clocks (AREA)

Abstract

The present disclosure provides a clock signal state information reporting method and apparatus, in the technical field of communications. The clock signal state information reporting method is applied to a first network element, and comprises: collecting clock state information in a cloud platform; reporting first information to a second network element, the first information comprising the clock state information, and the first information further comprising at least one of the following: an identifier of the cloud platform; a first identifier, used to indicate an identifier of a control node or a node implementing a control function of the cloud platform which uses a clock signal; a second identifier, used to indicate an identifier of a computing node or a node implementing a computing function of the cloud platform which uses the clock signal; a third identifier, used to indicate an identifier of a virtual machine, a container or a pod using the clock signal; and a fourth identifier, used to indicate the time for reporting information.

Description

时钟信号状态信息上报方法及装置Clock signal status information reporting method and device
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年07月14日在中国提交的中国专利申请No.202210832598.5的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210832598.5 filed in China on July 14, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及通信技术领域,特别是指一种时钟信号状态信息上报方法及装置。The present disclosure relates to the field of communication technology, and in particular, to a method and device for reporting clock signal status information.
背景技术Background technique
为满足基站间时钟信号同步,基站软件需要接入高精度时钟信号,并且该高精度时钟信号需要定期与时钟源进行同步,如图1所示,一个时钟网络中包括主(Master)节点和从(Slave)节点,Master节点接入全球定位系统(Global Positioning System,GPS)、北斗等同步信息进行时钟校准后,发送时钟信号给网络中的其他设备。Slave节点有一个本地的时钟器件,接收到Master节点定期发送时钟信号后,解析时钟信号校准Slave节点的本地时钟信号,保证时钟信号的准确性。In order to meet the clock signal synchronization between base stations, the base station software needs to access a high-precision clock signal, and the high-precision clock signal needs to be synchronized with the clock source regularly. As shown in Figure 1, a clock network includes a master node and a slave node. (Slave) node, Master node accesses the Global Positioning System (GPS), Beidou and other synchronization information for clock calibration, and then sends clock signals to other devices in the network. The Slave node has a local clock device. After receiving the clock signal sent regularly by the Master node, it analyzes the clock signal to calibrate the local clock signal of the Slave node to ensure the accuracy of the clock signal.
发明内容Contents of the invention
本公开要解决的技术问题是提供一种时钟信号状态信息上报方法及装置,能够实现云化场景下的时钟状态信息上报,进而保证时钟信号的准确性。The technical problem to be solved by this disclosure is to provide a method and device for reporting clock signal status information, which can report clock status information in a cloud scenario, thereby ensuring the accuracy of the clock signal.
为解决上述技术问题,本公开的实施例提供技术方案如下:In order to solve the above technical problems, embodiments of the present disclosure provide the following technical solutions:
一方面,本公开的实施例提供一种时钟信号状态信息上报方法,应用于第一网元,包括:On the one hand, embodiments of the present disclosure provide a method for reporting clock signal status information, which is applied to the first network element, including:
收集所属云平台中的时钟状态信息;Collect clock status information in the cloud platform to which it belongs;
将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:Report first information to the second network element, where the first information includes the clock status information, and the first information further includes at least one of the following:
所述云平台的标识; The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,将第一信息上报给第二网元包括:In some embodiments, reporting the first information to the second network element includes:
按照预设的时间周期向所述第二网元上报所述第一信息;或Report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
一些实施例中,将第一信息上报给第二网元之后,所述方法还包括:In some embodiments, after reporting the first information to the second network element, the method further includes:
接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。Receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
一些实施例中,所述收集所属云平台中的时钟状态信息包括:In some embodiments, collecting clock status information in the cloud platform includes:
接收所述云平台中第三网元上报的时钟状态信息。Receive clock status information reported by a third network element in the cloud platform.
一些实施例中,收集所属云平台中的时钟状态信息之前,所述方法还包括:In some embodiments, before collecting the clock status information in the corresponding cloud platform, the method further includes:
接收所述第二网元发送的请求消息,所述请求消息指示发送心跳信息。Receive a request message sent by the second network element, where the request message indicates sending heartbeat information.
本公开实施例还提供了一种时钟信号状态信息上报方法,应用于第二网元,包括:Embodiments of the present disclosure also provide a method for reporting clock signal status information, which is applied to the second network element, including:
接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:Receive first information reported by the first network element, where the first information includes clock status information in the cloud platform to which the first network element belongs, and the first information further includes at least one of the following:
所述云平台的标识; The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述接收第一网元上报的第一信息之后,所述方法还包括:In some embodiments, after receiving the first information reported by the first network element, the method further includes:
在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。After determining that the clock status is abnormal based on the first information, clock abnormality alarm information is sent to the first network element or the fourth network element.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,所述接收第一网元上报的第一信息之前,所述方法还包括:In some embodiments, before receiving the first information reported by the first network element, the method further includes:
向所述第一网元发送请求消息,所述请求消息指示发送心跳信息。Send a request message to the first network element, where the request message indicates sending heartbeat information.
本公开实施例还提供了一种时钟信号状态信息上报装置,应用于第一网元,包括处理器和收发机;Embodiments of the present disclosure also provide a device for reporting clock signal status information, which is applied to the first network element and includes a processor and a transceiver;
所述收发机用于收集所述第一网元所属云平台中的时钟状态信息;将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:The transceiver is used to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, where the first information includes the clock status information, and the first information Also include at least one of the following:
所述云平台的标识;The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识; The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,所述收发机具体用于按照预设的时间周期向所述第二网元上报所述第一信息;或In some embodiments, the transceiver is specifically configured to report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
一些实施例中,所述收发机还用于接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。In some embodiments, the transceiver is further configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
一些实施例中,所述收发机具体用于接收所述云平台中第三网元上报的时钟状态信息。In some embodiments, the transceiver is specifically configured to receive clock status information reported by a third network element in the cloud platform.
本公开实施例还提供了一种时钟信号状态信息上报装置,应用于第二网元,包括处理器和收发机;Embodiments of the present disclosure also provide a device for reporting clock signal status information, which is applied to the second network element and includes a processor and a transceiver;
所述收发机用于接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:The transceiver is configured to receive first information reported by the first network element. The first information includes clock status information in the cloud platform to which the first network element belongs. The first information also includes at least one of the following:
所述云平台的标识;The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识; The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述收发机还用于在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。In some embodiments, the transceiver is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
本公开实施例还提供了一种时钟信号状态信息上报装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现如上所述的时钟信号状态信息上报方法。An embodiment of the present disclosure also provides a device for reporting clock signal status information, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program Implement the clock signal status information reporting method as described above.
一些实施例中,时钟信号状态信息上报装置应用于第一网元,所述处理器用于收集所述第一网元所属云平台中的时钟状态信息;将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:In some embodiments, the device for reporting clock signal status information is applied to the first network element, and the processor is configured to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, The first information includes the clock status information, and the first information also includes at least one of the following:
所属云平台的标识;The identification of the cloud platform to which it belongs;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源 同步;The second value indicates the clock signal and clock source received by the computing node or the node that implements the computing function. Synchronize;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,所述处理器具体用于按照预设的时间周期向所述第二网元上报所述第一信息;或In some embodiments, the processor is specifically configured to report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
一些实施例中,所述处理器还用于接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。In some embodiments, the processor is further configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
一些实施例中,所述处理器具体用于接收所述云平台中第三网元上报的时钟状态信息。In some embodiments, the processor is specifically configured to receive clock status information reported by a third network element in the cloud platform.
一些实施例中,时钟信号状态信息上报装置应用于第二网元,所述处理器用于接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:In some embodiments, the device for reporting clock signal status information is applied to the second network element, and the processor is configured to receive the first information reported by the first network element. The first information includes the first information in the cloud platform to which the first network element belongs. clock status information, the first information also includes at least one of the following:
所述云平台的标识;The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述处理器还用于在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。In some embodiments, the processor is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟 信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal. The clock Signal and clock source are not synchronized.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的时钟信号状态信息上报方法中的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for reporting clock signal status information as described above are implemented.
本公开的实施例具有以下有益效果:Embodiments of the present disclosure have the following beneficial effects:
上述方案中,第一网元收集所属云平台中的时钟状态信息,并将时钟状态信息以及云平台信息上报给第二网元,能够实现云化场景下的时钟状态信息上报,进一步,第二网元可以根据上报的信息判断时钟信号是否异常,进而在时钟信号异常时进行告警,通知第一网元进行时钟信号校准,进而保证时钟信号的准确性。In the above solution, the first network element collects the clock status information in the cloud platform it belongs to, and reports the clock status information and cloud platform information to the second network element, which can realize the reporting of clock status information in the cloud scenario. Furthermore, the second network element The network element can determine whether the clock signal is abnormal based on the reported information, and then issue an alarm when the clock signal is abnormal, and notify the first network element to calibrate the clock signal, thereby ensuring the accuracy of the clock signal.
附图说明Description of drawings
图1为时钟网络的示意图;Figure 1 is a schematic diagram of the clock network;
图2为O-RAN体系结构示意图;Figure 2 is a schematic diagram of the O-RAN architecture;
图3和图4为本公开实施例时钟信号状态信息上报方法的流程示意图;Figures 3 and 4 are flowcharts of a clock signal status information reporting method according to an embodiment of the present disclosure;
图5和图6为本公开实施例时钟信号状态信息上报装置的组成示意图。5 and 6 are schematic diagrams of the composition of a clock signal status information reporting device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present disclosure clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
如图2所示,在开放式无线接入网(Open Radio Access Network,O-RAN)体系结构中,服务管理与编排(Service Management and Orchestration,SMO)负责无线接入网(Radio Access Network,RAN)域的管理。其中,O2为SMO框架与支持O-RAN虚拟网络功能的开放式云平台(Open Cloud,O-Cloud)之间的接口,用于提供对O-Cloud基础设施平台资源和工作负载管理。O-RAN体系结构描述中针对资源管理的O2接口执行的功能描述如下:As shown in Figure 2, in the Open Radio Access Network (O-RAN) architecture, Service Management and Orchestration (SMO) is responsible for the radio access network (Radio Access Network, RAN). ) domain management. Among them, O2 is the interface between the SMO framework and the open cloud platform (Open Cloud, O-Cloud) that supports O-RAN virtual network functions. It is used to provide resource and workload management of the O-Cloud infrastructure platform. The functions performed by the O2 interface for resource management in the O-RAN architecture description are described as follows:
O-Cloud基础设施发现和管理;O-Cloud infrastructure discovery and management;
O-Cloud基础设施向内扩展,向外扩展; O-Cloud infrastructure expands inward and outward;
O-Cloud基础设施资源的创建、删除和分配;Creation, deletion and allocation of O-Cloud infrastructure resources;
为分配的O-Cloud基础设施资源进行扩容、缩容。Expand and shrink the allocated O-Cloud infrastructure resources.
现有的时钟同步信息是通过基站软件上报给网管(如操作和运维中心(Operations&Maintenance Center,OMC)),上报的时钟同步信息包括:


Existing clock synchronization information is reported to the network management (such as Operations & Maintenance Center (OMC)) through the base station software. The reported clock synchronization information includes:


其中,NTP表示网络时间协议(Network Time Protocol)。Boolean表示布尔。False表示错误,true表示正确。String表示字符串。dateTime表示日期时间。UTC表示世界协调时(Coordinated Universal Time)。Among them, NTP stands for Network Time Protocol. Boolean means Boolean. False means error, true means correct. String represents a string. dateTime represents date time. UTC stands for Coordinated Universal Time.
基站云化之后,云化基站软件部署在O-Cloud上,时钟状态信息可以视为云化平台上的一种资源,资源的状态信息统一由O-Cloud通过O2接口上报给SMO。 After the base station is cloudified, the cloudized base station software is deployed on O-Cloud. Clock status information can be regarded as a resource on the cloud platform. The status information of the resource is uniformly reported by O-Cloud to SMO through the O2 interface.
本公开实施例提供一种时钟信号状态信息上报方法及装置,能够实现云化场景下的时钟状态信息上报,进而保证时钟信号的准确性。Embodiments of the present disclosure provide a method and device for reporting clock signal status information, which can report clock status information in a cloud scenario, thereby ensuring the accuracy of clock signals.
本公开的实施例提供一种时钟信号状态信息上报方法,应用于第一网元,包括:Embodiments of the present disclosure provide a method for reporting clock signal status information, which is applied to the first network element and includes:
收集所属云平台中的时钟状态信息;Collect clock status information in the cloud platform to which it belongs;
将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:Report first information to the second network element, where the first information includes the clock status information, and the first information further includes at least one of the following:
所述云平台的标识oCloudID,类型为字符串(例如通用唯一识别码(Universally Unique Identifier,UUID)),为O-Cloud实例的标识符,在O-Cloud实例中是唯一的,用于标识时钟信号所在O-cloud;The identifier of the cloud platform, oCloudID, is a string (such as a Universal Unique Identifier (UUID)). It is an identifier of the O-Cloud instance. It is unique in the O-Cloud instance and is used to identify the clock. O-cloud where the signal is located;
第一标识Master_Node_ID或controller_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点(Master Node)的标识;The first identifier, Master_Node_ID or controller_ID, is a string (such as UUID) and is used to indicate the identity of the control node of the cloud platform that uses the clock signal or the node (Master Node) that implements the control function;
第二标识Worker_Node_ID或者compute_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点(Worker Node)的标识;The second identifier, Worker_Node_ID or compute_ID, is of type string (such as UUID) and is used to indicate the identity of the computing node of the cloud platform that uses the clock signal or the node (Worker Node) that implements the computing function;
第三标识VM_ID或container_ID或Pod_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier, VM_ID or container_ID or Pod_ID, is a string (such as UUID) and is used to indicate the identity of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间,可以为时间戳信息,类型为字符串,包括:年、月、日、小时、秒、分、毫秒(可选)、时区等时间信息。The fourth identifier is used to indicate the time when the information is reported. It can be timestamp information, and the type is a string, including: year, month, day, hour, second, minute, millisecond (optional), time zone and other time information.
其中,pod是指容器组。容器组(pod)是Kubernetes中最小的可部署单元,容器组(pod)代表了Kubernetes中一个独立的应用程序运行实例,该实例可能由单个容器或者几个紧耦合在一起的容器组成。Among them, pod refers to the container group. A container group (pod) is the smallest deployable unit in Kubernetes. A container group (pod) represents an independent application running instance in Kubernetes. This instance may consist of a single container or several tightly coupled containers.
本实施例中,第一网元收集所属云平台中的时钟状态信息,并将时钟状态信息以及云平台信息上报给第二网元,能够实现云化场景下的时钟状态信息上报,进一步,第二网元可以根据上报的信息判断时钟信号是否异常,进而在时钟信号异常时进行告警,通知第一网元进行时钟信号校准,进而保证时钟信号的准确性。 In this embodiment, the first network element collects the clock status information in the cloud platform it belongs to, and reports the clock status information and the cloud platform information to the second network element, which can realize the reporting of clock status information in the cloud scenario. Further, the third The second network element can determine whether the clock signal is abnormal based on the reported information, and then issue an alarm when the clock signal is abnormal, and notify the first network element to calibrate the clock signal, thereby ensuring the accuracy of the clock signal.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,比如为Freerun,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value, such as Freerun, indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,比如为Locked,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value, such as Locked, indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,比如为Holdover,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value, such as Holdover, indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,将第一信息上报给第二网元包括:In some embodiments, reporting the first information to the second network element includes:
按照预设的时间周期向所述第二网元上报所述第一信息;或Report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
其中,预设的时间周期可以是网络侧设备配置或预配置或协议定义的。The preset time period may be configured or pre-configured by the network side device or defined by the protocol.
一些实施例中,将第一信息上报给第二网元之后,所述方法还包括:In some embodiments, after reporting the first information to the second network element, the method further includes:
接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息,这样第一网元可以进行时钟信号校准,进而保证时钟信号的准确性。Receive the clock abnormality alarm information and/or clock calibration information sent by the second network element, so that the first network element can perform clock signal calibration to ensure the accuracy of the clock signal.
一些实施例中,所述收集所属云平台中的时钟状态信息包括:In some embodiments, collecting clock status information in the cloud platform includes:
接收所述云平台中第三网元上报的时钟状态信息。Receive clock status information reported by a third network element in the cloud platform.
本实施例中,云平台是由多个节点组成的集群,多个节点包括控制节点或实现控制功能的节点、计算节点或实现计算功能的节点,控制节点和计算节点可以是同一节点,也可以是不同节点,控制功能可以在一个节点上实现,也可以在不同节点上实现,计算功能可以在一个节点上实现,也可以在不同节点上实现。第三网元可以是计算节点或实现计算功能的节点,第一网元可以是控制节点或实现控制功能的节点,也可以是计算节点或实现计算功能的节点。In this embodiment, the cloud platform is a cluster composed of multiple nodes. The multiple nodes include control nodes or nodes that implement control functions, computing nodes or nodes that implement computing functions. The control nodes and computing nodes can be the same node, or they can They are different nodes. The control function can be implemented on one node or on different nodes. The computing function can be implemented on one node or on different nodes. The third network element may be a computing node or a node that implements computing functions, and the first network element may be a control node or a node that implements control functions, or it may be a computing node or a node that implements computing functions.
本实施例中,第一网元可以为O-Cloud,第二网元可以为SMO,第三网元可以为服务器节点。In this embodiment, the first network element may be O-Cloud, the second network element may be SMO, and the third network element may be a server node.
本公开实施例还提供了一种时钟信号状态信息上报方法,应用于第二网元,包括:Embodiments of the present disclosure also provide a method for reporting clock signal status information, which is applied to the second network element, including:
接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云 平台中的时钟状态信息,所述第一信息还包括以下至少一项:Receive first information reported by the first network element, where the first information includes the cloud to which the first network element belongs Clock status information in the platform, the first information also includes at least one of the following:
所属云平台的标识oCloudID,类型为字符串(例如UUID),为O-Cloud实例的标识符,在O-Cloud实例中是唯一的,用于标识时钟信号所在O-cloud;The oCloudID, the identifier of the cloud platform to which it belongs, is a string (such as UUID), which is the identifier of the O-Cloud instance. It is unique in the O-Cloud instance and is used to identify the O-cloud where the clock signal is located;
第一标识Master_Node_ID或controller_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点(Master Node)的标识;The first identifier, Master_Node_ID or controller_ID, is a string (such as UUID) and is used to indicate the identity of the control node of the cloud platform that uses the clock signal or the node (Master Node) that implements the control function;
第二标识Worker_Node_ID或者compute_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点(Worker Node)的标识;The second identifier, Worker_Node_ID or compute_ID, is of type string (such as UUID) and is used to indicate the identity of the computing node of the cloud platform that uses the clock signal or the node (Worker Node) that implements the computing function;
第三标识VM_ID或container_ID或Pod_ID,类型为字符串(例如UUID),用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier, VM_ID or container_ID or Pod_ID, is a string (such as UUID) and is used to indicate the identity of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间,可以为时间戳信息,类型为字符串,包括:年、月、日、小时、秒、分、毫秒(可选)、时区等时间信息。The fourth identifier is used to indicate the time when the information is reported. It can be timestamp information, and the type is a string, including: year, month, day, hour, second, minute, millisecond (optional), time zone and other time information.
一些实施例中,所述接收第一网元上报的第一信息之后,所述方法还包括:In some embodiments, after receiving the first information reported by the first network element, the method further includes:
在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。After determining that the clock status is abnormal based on the first information, clock abnormality alarm information is sent to the first network element or the fourth network element.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,比如为Freeru,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value, such as Freeru, indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,比如为Locked,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value, such as Locked, indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,比如为Holdover,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value, such as Holdover, indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一具体示例中,如图3所示,本实施例的时钟信号状态信息上报方法包括以下步骤:In a specific example, as shown in Figure 3, the clock signal status information reporting method in this embodiment includes the following steps:
第三网元(比如服务器节点)上报时钟信号状态信息给第一网元(O-Cloud),具体地,可以通过定期上报或事件触发等方式上报时钟信号状 态信息给第一网元(O-Cloud)。定期上报方式是每间隔固定时间周期进行上报,事件触发上报方式是产生时钟信号变化时,进行时钟信号状态信息的上报;The third network element (such as a server node) reports the clock signal status information to the first network element (O-Cloud). Specifically, the clock signal status can be reported through regular reporting or event triggering. status information to the first network element (O-Cloud). The periodic reporting method is to report every fixed time period, and the event-triggered reporting method is to report the clock signal status information when the clock signal changes;
第一网元(O-Cloud)上报时钟信号状态信息及所属云平台信息给第二网元(SMO),可以通过定期上报或事件触发等方式上报,定期上报方式是每间隔固定时间周期进行上报,事件触发上报方式是产生时钟信号变化时,进行时钟信号状态信息及所属云平台信息的上报;The first network element (O-Cloud) reports the clock signal status information and the cloud platform information to the second network element (SMO), which can be reported by regular reporting or event triggering. The regular reporting method is to report at fixed intervals. , The event-triggered reporting method is to report the clock signal status information and the associated cloud platform information when the clock signal changes;
第二网元(SMO)收到第一网元(O-cloud)上报的时钟状态信息及所属云信息后,选择如下处理方式之一进行处理:After receiving the clock status information and cloud information reported by the first network element (O-cloud), the second network element (SMO) selects one of the following processing methods for processing:
(1)第二网元(SMO)产生时钟状态异常告警并通知第二网元(O-cloud)触发后续时钟校准流程,以保证时钟信号的精确;(1) The second network element (SMO) generates an abnormal clock status alarm and notifies the second network element (O-cloud) to trigger the subsequent clock calibration process to ensure the accuracy of the clock signal;
(2)第二网元(SMO)产生时钟异常告警信息,并上报给第四网元,第四网元可以是另一个云平台,第四网元可以根据时钟异常告警信息触发时钟校准流程。(2) The second network element (SMO) generates clock abnormality alarm information and reports it to the fourth network element. The fourth network element can be another cloud platform. The fourth network element can trigger the clock calibration process based on the clock abnormality alarm information.
另一具体示例中,如图4所示,本实施例的时钟信号状态信息上报方法包括以下步骤:In another specific example, as shown in Figure 4, the method for reporting clock signal status information in this embodiment includes the following steps:
第二网元(SMO)向第一网元(O-Cloud)发送请求消息,所述请求消息指示发送心跳信息;The second network element (SMO) sends a request message to the first network element (O-Cloud), where the request message indicates sending heartbeat information;
第三网元(比如服务器节点)上报时钟信号状态信息给第一网元(O-Cloud),具体地,可以通过定期上报或事件触发等方式上报时钟信号状态信息给第一网元(O-Cloud)。定期上报方式是每间隔固定时间周期进行上报,事件触发上报方式是产生时钟信号变化时,进行时钟信号状态信息的上报;The third network element (such as a server node) reports the clock signal status information to the first network element (O-Cloud). Specifically, the clock signal status information can be reported to the first network element (O-Cloud) through regular reporting or event triggering. Cloud). The regular reporting method is to report every fixed time period, and the event-triggered reporting method is to report the clock signal status information when the clock signal changes;
第一网元(O-Cloud)上报时钟信号状态信息及所属云平台信息给第二网元(SMO),可以通过定期上报或事件触发等方式上报,定期上报方式是每间隔固定时间周期进行上报,事件触发上报方式是产生时钟信号变化时,进行时钟信号状态信息及所属云平台信息的上报;The first network element (O-Cloud) reports the clock signal status information and the cloud platform information to the second network element (SMO), which can be reported by regular reporting or event triggering. The regular reporting method is to report at fixed intervals. , The event-triggered reporting method is to report the clock signal status information and the associated cloud platform information when the clock signal changes;
第二网元(SMO)收到第一网元(O-cloud)上报的时钟状态信息及所属 云信息后,选择如下处理方式之一进行处理:The second network element (SMO) receives the clock status information and belonging information reported by the first network element (O-cloud). After collecting the cloud information, choose one of the following processing methods for processing:
(1)第二网元(SMO)产生时钟状态异常告警并通知第二网元(O-cloud)触发后续时钟校准流程,以保证时钟信号的精确;(1) The second network element (SMO) generates an abnormal clock status alarm and notifies the second network element (O-cloud) to trigger the subsequent clock calibration process to ensure the accuracy of the clock signal;
(2)第二网元(SMO)产生时钟异常告警信息,并上报给第四网元,第四网元可以是另一个云平台,第四网元可以根据时钟异常告警信息触发时钟校准流程。(2) The second network element (SMO) generates clock abnormality alarm information and reports it to the fourth network element. The fourth network element can be another cloud platform. The fourth network element can trigger the clock calibration process based on the clock abnormality alarm information.
本公开实施例还提供了一种时钟信号状态信息上报装置,应用于第一网元,如图5所示,包括处理器22和收发机21;The embodiment of the present disclosure also provides a device for reporting clock signal status information, which is applied to the first network element. As shown in Figure 5, it includes a processor 22 and a transceiver 21;
所述收发机21用于收集所述第一网元所属云平台中的时钟状态信息;将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:The transceiver 21 is used to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, where the first information includes the clock status information. The information also includes at least one of the following:
所属云平台的标识;The identification of the cloud platform to which it belongs;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,所述收发机21具体用于按照预设的时间周期向所述第二网元上报所述第一信息;或In some embodiments, the transceiver 21 is specifically configured to report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。 After the value of the clock status information changes, the first information is reported to the second network element.
一些实施例中,所述收发机21还用于接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。In some embodiments, the transceiver 21 is also configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
一些实施例中,所述收发机21具体用于接收所述云平台中第三网元上报的时钟状态信息。In some embodiments, the transceiver 21 is specifically configured to receive clock status information reported by a third network element in the cloud platform.
本公开实施例还提供了一种时钟信号状态信息上报装置,应用于第二网元,如图5所示,包括处理器22和收发机21;The embodiment of the present disclosure also provides a device for reporting clock signal status information, which is applied to the second network element. As shown in Figure 5, it includes a processor 22 and a transceiver 21;
所述收发机21用于接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:The transceiver 21 is configured to receive the first information reported by the first network element. The first information includes clock status information in the cloud platform to which the first network element belongs. The first information also includes at least one of the following: :
所述云平台的标识;The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述收发机21还用于在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。In some embodiments, the transceiver 21 is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
本公开实施例还提供了一种时钟信号状态信息上报装置,如图6所示,包括存储器31、处理器32及存储在所述存储器31上并可在所述处理器32上运行的计算机程序;所述处理器32执行所述程序时实现如上所述的时钟信 号状态信息上报方法。Embodiments of the present disclosure also provide a device for reporting clock signal status information, as shown in Figure 6 , including a memory 31, a processor 32, and a computer program stored in the memory 31 and executable on the processor 32 ; The processor 32 implements the clock signal as described above when executing the program. Method for reporting number status information.
一些实施例中,时钟信号状态信息上报装置应用于第一网元,所述处理器32用于收集所述第一网元所属云平台中的时钟状态信息;将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:In some embodiments, the device for reporting clock signal status information is applied to the first network element, and the processor 32 is configured to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element. element, the first information includes the clock status information, and the first information also includes at least one of the following:
所属云平台的标识;The identification of the cloud platform to which it belongs;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
一些实施例中,所述处理器32具体用于按照预设的时间周期向所述第二网元上报所述第一信息;或In some embodiments, the processor 32 is specifically configured to report the first information to the second network element according to a preset time period; or
在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
一些实施例中,所述处理器32还用于接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。In some embodiments, the processor 32 is also configured to receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
一些实施例中,所述处理器32具体用于接收所述云平台中第三网元上报的时钟状态信息。In some embodiments, the processor 32 is specifically configured to receive clock status information reported by a third network element in the cloud platform.
一些实施例中,时钟信号状态信息上报装置应用于第二网元,所述处理器32用于接收第一网元上报的第一信息,所述第一信息包括所述第一网元所 属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:In some embodiments, the device for reporting clock signal status information is applied to the second network element, and the processor 32 is configured to receive the first information reported by the first network element, where the first information includes the information reported by the first network element. Belonging to clock status information in the cloud platform, the first information also includes at least one of the following:
所述云平台的标识;The identification of the cloud platform;
第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
一些实施例中,所述处理器32还用于在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。In some embodiments, the processor 32 is further configured to send clock abnormality alarm information to the first network element or the fourth network element after determining that the clock status is abnormal based on the first information.
一些实施例中,所述时钟状态信息的取值包括以下至少一项:In some embodiments, the value of the clock status information includes at least one of the following:
第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的时钟信号状态信息上报方法中的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for reporting clock signal status information as described above are implemented.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Random Access Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、其他类型的随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable read only memory, EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Video Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储待检测终端设备或任何其他非传输介质,可用于存储可以被计算待检测终端设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Random Access Memory (PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), and Dynamic Random Access Memory (Dynamic Random Access Memory). , DRAM), other types of random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read only memory (Electrically Erasable Programmable read only memory, EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical storage, magnetic cartridge Tape, tape, magnetic disk storage or other magnetic storage terminal device or any other non-transmission medium may be used to store information that can be accessed by the computing terminal device. As defined in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。 The above are the preferred embodiments of the present disclosure. It should be noted that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles described in the present disclosure. These improvements and modifications can also be made. should be regarded as the scope of protection of this disclosure.

Claims (14)

  1. 一种时钟信号状态信息上报方法,应用于第一网元,所述方法包括:A method for reporting clock signal status information, applied to the first network element, the method includes:
    收集所属云平台中的时钟状态信息;Collect clock status information in the cloud platform to which it belongs;
    将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:Report first information to the second network element, where the first information includes the clock status information, and the first information further includes at least one of the following:
    所述云平台的标识;The identification of the cloud platform;
    第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
    第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
    第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
    第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
  2. 根据权利要求1所述的时钟信号状态信息上报方法,其中,所述时钟状态信息的取值包括以下至少一项:The clock signal status information reporting method according to claim 1, wherein the value of the clock status information includes at least one of the following:
    第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
    第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
    第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  3. 根据权利要求1所述的时钟信号状态信息上报方法,其中,将第一信息上报给第二网元包括:The clock signal status information reporting method according to claim 1, wherein reporting the first information to the second network element includes:
    按照预设的时间周期向所述第二网元上报所述第一信息;或Report the first information to the second network element according to a preset time period; or
    在时钟状态信息的取值发生变化后,向所述第二网元上报所述第一信息。After the value of the clock status information changes, the first information is reported to the second network element.
  4. 根据权利要求1所述的时钟信号状态信息上报方法,其中,将第一信息上报给第二网元之后,所述方法还包括:The clock signal status information reporting method according to claim 1, wherein after reporting the first information to the second network element, the method further includes:
    接收所述第二网元发送的时钟异常告警信息和/或时钟校准信息。 Receive clock abnormality alarm information and/or clock calibration information sent by the second network element.
  5. 根据权利要求1所述的时钟信号状态信息上报方法,其中,所述收集所属云平台中的时钟状态信息包括:The clock signal status information reporting method according to claim 1, wherein the collecting clock status information in the cloud platform to which it belongs includes:
    接收所述云平台中第三网元上报的时钟状态信息。Receive clock status information reported by a third network element in the cloud platform.
  6. 根据权利要求1所述的时钟信号状态信息上报方法,其中,收集所属云平台中的时钟状态信息之前,所述方法还包括:The clock signal status information reporting method according to claim 1, wherein before collecting the clock status information in the cloud platform to which it belongs, the method further includes:
    接收所述第二网元发送的请求消息,所述请求消息指示发送心跳信息。Receive a request message sent by the second network element, where the request message indicates sending heartbeat information.
  7. 一种时钟信号状态信息上报方法,应用于第二网元,所述方法包括:A method for reporting clock signal status information, applied to the second network element, the method includes:
    接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:Receive first information reported by the first network element, where the first information includes clock status information in the cloud platform to which the first network element belongs, and the first information further includes at least one of the following:
    所述云平台的标识;The identification of the cloud platform;
    第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
    第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
    第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
    第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
  8. 根据权利要求7所述的时钟信号状态信息上报方法,其中,所述接收第一网元上报的第一信息之后,所述方法还包括:The clock signal status information reporting method according to claim 7, wherein after receiving the first information reported by the first network element, the method further includes:
    在根据所述第一信息判断时钟状态异常后,向所述第一网元或第四网元发送时钟异常告警信息。After determining that the clock status is abnormal based on the first information, clock abnormality alarm information is sent to the first network element or the fourth network element.
  9. 根据权利要求8所述的时钟信号状态信息上报方法,其中,所述时钟状态信息的取值包括以下至少一项:The clock signal status information reporting method according to claim 8, wherein the value of the clock status information includes at least one of the following:
    第一值,指示计算节点或实现计算功能的节点收到的时钟信号处于自运行状态,不能定期和时钟源同步;The first value indicates that the clock signal received by the computing node or the node that implements the computing function is in a self-running state and cannot be synchronized with the clock source regularly;
    第二值,指示计算节点或实现计算功能的节点收到的时钟信号和时钟源同步;The second value indicates that the clock signal received by the computing node or the node that implements the computing function is synchronized with the clock source;
    第三值,指示计算节点或实现计算功能的节点能够收到时钟信号,时钟信号和时钟源不同步。 The third value indicates that the computing node or the node that implements the computing function can receive the clock signal, and the clock signal is not synchronized with the clock source.
  10. 根据权利要求7所述的时钟信号状态信息上报方法,其中,所述接收第一网元上报的第一信息之前,所述方法还包括:The clock signal status information reporting method according to claim 7, wherein before receiving the first information reported by the first network element, the method further includes:
    向所述第一网元发送请求消息,所述请求消息指示发送心跳信息。Send a request message to the first network element, where the request message indicates sending heartbeat information.
  11. 一种时钟信号状态信息上报装置,应用于第一网元,包括处理器和收发机;A clock signal status information reporting device, applied to the first network element, including a processor and a transceiver;
    所述收发机用于收集所述第一网元所属云平台中的时钟状态信息;将第一信息上报给第二网元,所述第一信息包括所述时钟状态信息,所述第一信息还包括以下至少一项:The transceiver is used to collect clock status information in the cloud platform to which the first network element belongs; and report the first information to the second network element, where the first information includes the clock status information, and the first information Also include at least one of the following:
    所述云平台的标识;The identification of the cloud platform;
    第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
    第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
    第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
    第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
  12. 一种时钟信号状态信息上报装置,应用于第二网元,包括处理器和收发机;A device for reporting clock signal status information, applied to the second network element, including a processor and a transceiver;
    所述收发机用于接收第一网元上报的第一信息,所述第一信息包括所述第一网元所属云平台中的时钟状态信息,所述第一信息还包括以下至少一项:The transceiver is configured to receive first information reported by the first network element. The first information includes clock status information in the cloud platform to which the first network element belongs. The first information also includes at least one of the following:
    所述云平台的标识;The identification of the cloud platform;
    第一标识,用于指示使用到时钟信号的云平台的控制节点或实现控制功能的节点的标识;The first identifier is used to indicate the control node of the cloud platform that uses the clock signal or the identifier of the node that implements the control function;
    第二标识,用于指示使用到时钟信号的云平台的计算节点或实现计算功能的节点的标识;The second identifier is used to indicate the computing node of the cloud platform that uses the clock signal or the identifier of the node that implements the computing function;
    第三标识,用于指示使用到时钟信号的虚拟机或容器或pod的标识;The third identifier is used to indicate the identifier of the virtual machine, container or pod that uses the clock signal;
    第四标识,用于指示上报信息的时间。The fourth identifier is used to indicate the time of reporting information.
  13. 一种时钟信号状态信息上报装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,所述处理器执行 所述程序时实现如权利要求1-10中任一项所述的时钟信号状态信息上报方法。A device for reporting clock signal status information, including a memory, a processor, and a computer program stored in the memory and executable on the processor; wherein the processor executes The program implements the clock signal status information reporting method as described in any one of claims 1-10.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-10中任一项所述的时钟信号状态信息上报方法中的步骤。 A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps in the method for reporting clock signal status information according to any one of claims 1-10 are implemented.
PCT/CN2023/101026 2022-07-14 2023-06-19 Clock signal state information reporting method and apparatus WO2024012156A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210832598.5A CN117440007A (en) 2022-07-14 2022-07-14 Method and device for reporting clock signal state information
CN202210832598.5 2022-07-14

Publications (1)

Publication Number Publication Date
WO2024012156A1 true WO2024012156A1 (en) 2024-01-18

Family

ID=89535480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101026 WO2024012156A1 (en) 2022-07-14 2023-06-19 Clock signal state information reporting method and apparatus

Country Status (2)

Country Link
CN (1) CN117440007A (en)
WO (1) WO2024012156A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117742447A (en) * 2024-02-21 2024-03-22 南京云程半导体有限公司 Clock self-adaptive adjustment method and controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006804A1 (en) * 2014-07-03 2016-01-07 International Business Machines Corporation Clock synchronization in cloud computing
CN106972904A (en) * 2016-11-21 2017-07-21 深圳信息职业技术学院 A kind of synchronous method and system of clock
CN112583513A (en) * 2020-12-23 2021-03-30 电科云(北京)科技有限公司 Cloud platform clock time service method and system
CN113992294A (en) * 2021-10-22 2022-01-28 国网湖南省电力有限公司 Clock management control method and device in electricity consumption information acquisition system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160006804A1 (en) * 2014-07-03 2016-01-07 International Business Machines Corporation Clock synchronization in cloud computing
CN106972904A (en) * 2016-11-21 2017-07-21 深圳信息职业技术学院 A kind of synchronous method and system of clock
CN112583513A (en) * 2020-12-23 2021-03-30 电科云(北京)科技有限公司 Cloud platform clock time service method and system
CN113992294A (en) * 2021-10-22 2022-01-28 国网湖南省电力有限公司 Clock management control method and device in electricity consumption information acquisition system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117742447A (en) * 2024-02-21 2024-03-22 南京云程半导体有限公司 Clock self-adaptive adjustment method and controller
CN117742447B (en) * 2024-02-21 2024-05-10 南京云程半导体有限公司 Clock self-adaptive adjustment method and controller

Also Published As

Publication number Publication date
CN117440007A (en) 2024-01-23

Similar Documents

Publication Publication Date Title
TWI695318B (en) Method, device and electronic equipment for updating application program on user terminal
WO2017097130A1 (en) Method and apparatus for switching service nodes of distributed storage system
CN109101341B (en) Distribution method and equipment of distributed lock
WO2024012156A1 (en) Clock signal state information reporting method and apparatus
AU2017282817B2 (en) Data processing method and device
WO2016127903A1 (en) Data synchronization method, device and system
EP2378718B1 (en) Method, node and system for controlling version in distributed system
US8738792B2 (en) Server time protocol messages and methods
CN107783842B (en) Distributed lock implementation method, device and storage device
CN111478828B (en) Pressure testing method, device and system for block chain network
WO2017101528A1 (en) Method and device for clock link switching and base station
US20090257456A1 (en) Coordinated timing network having servers of different capabilities
NO313778B1 (en) A method for securing access to a transmission medium at a predetermined time and a time server utilizing the method
WO2019057193A1 (en) Data deletion method and distributed storage system
CN111327385A (en) Clock synchronization method, device and equipment of Internet of things equipment
WO2018107606A1 (en) Method and device for delivering messages in internet of things
CN108228581B (en) Zookeeper compatible communication method, server and system
CN115150419B (en) Configuration and access method and system for hybrid cloud object storage
CN111726188B (en) Method and device for synchronizing clocks of AIRT-ROS real-time system and non-real-time system
CN115801170A (en) Clock time synchronization method, control device, storage medium and system
WO2017008658A1 (en) Storage checking method and system for text data
CN117714532A (en) Data information pushing method based on Timeline model, gateway and related equipment
CN107528703B (en) Method and equipment for managing node equipment in distributed system
US11212220B2 (en) Optimized reconciliation in a controller-switch network
CN109347851B (en) Request response method and device

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

Country of ref document: EP

Kind code of ref document: A1