Clock equipment failure early warning method and device based on clock control quantity

By calculating the frequency control amount and drift amount, and using the support vector machine model to perform clock equipment failure warning, the problem of traditional technology being unable to monitor clock equipment failure in advance, and the advance judgment and processing of potential risks are achieved.

CN119276406APending Publication Date: 2025-01-07INNER MONGOLIA ELECTRIC POWER (GROUP) CO LTD COMMUNICATIONS BRANCH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411238519.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The traditional frequency synchronization network cannot monitor the potential failure and risks of clock equipment in advance, resulting in the system repair after the equipment has problems, causing economic losses. The dual redundant backup cannot solve the potential failure risks of the system caused by the frequency aging characteristics. .

Method used

By obtaining the frequency control amount in the frequency synchronization network, calculating the frequency control accumulation amount, and using the Kalman filtering algorithm to calculate the frequency drift and weekly drift, input these data to the trained support vector machine model, and generate an alarm output result for performing Clock device failure warning.

Benefits of technology

It realizes an advance judgment on the possible failure and risks of clock equipment in the future, and intuitively indicates the risk through the alarm level, helping managers to deal with it in a timely manner to avoid actual failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276406A_ABST
    Figure CN119276406A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a clock equipment failure early warning method and device based on clock control quantity. The method comprises the following steps: acquiring the frequency control quantity of each synchronous clock device in the frequency synchronization network, and calculating the frequency control accumulation quantity based on each frequency control quantity; calculating a frequency drift amount corresponding to the frequency control accumulation amount based on a Kalman filtering algorithm, and calculating a frequency sky drift amount and a frequency cycle drift amount based on the frequency drift amount; inputting the frequency control accumulation amount, the frequency sky drift amount and the frequency cycle drift amount into the trained support vector machine model as input quantities to obtain an alarm output result; and carrying out clock equipment failure early warning on a preset management terminal based on the alarm output result. According to the embodiment of the invention, a manager can clearly and intuitively know the potential failure risk condition of the system at the moment, the condition is processed in time, and the actual occurrence of the risk is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to frequency synchronization network technology, and more particularly to a method and apparatus for early warning of clock device failure based on clock control quantity. Background Art

[0002] With the comprehensive construction of smart grids, fast and reliable communication is an important foundation of smart grids. The communication frequency synchronization network is an important part of the power communication network. It adopts a master-slave synchronization networking architecture and consists of two parts: the backbone frequency synchronization network and the provincial frequency synchronization network. Among them, the backbone frequency synchronization network consists of a two-level structure of reference clock, regional reference clock, and 2-level node clock, and a provincial transmission network. The provincial frequency synchronization network consists of a three-level structure of reference clock, regional reference clock, 2-level node clock, and 3-level node clock, as well as a provincial transmission network and a county transmission network.

[0003] In the Synchronous Digital Hierarchy (SDH), the sender sends data to the receiver at a rate of 8,000 frames per second based on its own frequency. The pointer can accurately locate and parse the data packet. However, when the frequency is ahead or behind, the pointer positioning will be inaccurate, causing the system to produce bit errors and packet loss. In addition, when there is a serious deviation in the receiving and sending frequencies, the receiver will be completely unable to locate the data packet, which will also cause system service interruption.

[0004] Frequency synchronization networks generally use cesium clocks, rubidium clocks, and constant temperature crystal oscillators to form different levels of clock equipment for frequency synchronization to ensure the accuracy of the receiving and transmitting frequencies. However, although the traditional frequency synchronization network can judge the reliability and stability of the system through Beidou / GPS references in the reference clock and regional reference clock, this only judges through the output characteristics of the internal frequency source and cannot monitor the potential failure and risk of the frequency source. The abnormality can only be judged after the clock equipment has a problem. At this time, it is too late to repair the system, which will cause great economic losses. In addition, although the frequency synchronization network will also use dual redundant backup to improve the reliability of the system, dual redundant backup still cannot solve the potential failure risk of the system caused by the frequency aging characteristics due to the simultaneous production characteristics of the equipment. Summary of the invention

[0005] In order to solve the above problems, one or more embodiments of this specification describe a clock device failure warning method and apparatus based on clock control quantity.

[0006] According to a first aspect, a clock device failure early warning method based on clock control quantity is provided, the method comprising: Obtaining the frequency control amount of each synchronous clock device in the frequency synchronization network, and calculating the frequency control accumulated amount based on each of the frequency control amounts; Calculating a frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculating a frequency daily drift amount and a frequency weekly drift amount based on the frequency drift amount; Inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used to determine the alarm level of the alarm output result according to the numerical range to which the input amount belongs; Based on the alarm output result, a clock device failure warning is issued to a preset management terminal.

[0007] Preferably, after calculating the frequency drift amount corresponding to the frequency control accumulated amount based on the Kalman filter algorithm, the method further includes: Determine a frequency jitter amount based on a maximum sampling difference of the frequency drift amount; The frequency control cumulative amount, the frequency daily drift amount and the frequency weekly drift amount are input into the trained support vector machine model as input amounts to obtain the alarm output results, including: The frequency control accumulated amount, the frequency daily drift amount, the frequency weekly drift amount and the frequency jitter amount are input as input amounts into the trained support vector machine model to obtain an alarm output result.

[0008] Preferably, the providing a clock device failure warning to a preset management terminal based on the alarm output result includes: An alarm process is determined based on the alarm level corresponding to the alarm output result, and a clock device failure warning is issued to a preset management terminal based on the alarm process.

[0009] Preferably, before inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model, the method further includes: A trained support vector machine model is selected based on the clock type of the synchronous clock device.

[0010] Preferably, the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount are input as input amounts into a trained support vector machine model, and after obtaining the alarm output result, the method further includes: Calculate the expected days of failure based on the current frequency accumulation and the frequency daily drift, wherein the current frequency accumulation is the frequency control accumulation corresponding to the output time of the alarm output result; The estimated number of days of expiration is sent to the preset management terminal.

[0011] Preferably, the calculation of the expected days to failure based on the current frequency accumulation and the frequency daily drift includes: Obtain the control threshold corresponding to the frequency source of the synchronous clock device, calculate the frequency difference between the control threshold and the current frequency accumulation, and calculate the ratio of the frequency difference to the frequency daily drift to obtain the expected number of days to failure.

[0012] Preferably, the trained support vector machine model is used to determine the sub-alarm level corresponding to each input quantity according to the numerical range to which each input quantity belongs, and the highest level among the sub-alarm levels is determined as the alarm level of the alarm output result.

[0013] According to a second aspect, a clock device failure warning device based on clock control quantity is provided, the device comprising: An acquisition module, used to acquire the frequency control amount of each synchronous clock device in the frequency synchronization network, and calculate the frequency control accumulated amount based on each of the frequency control amounts; A calculation module, used for calculating the frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculating the frequency daily drift amount and the frequency weekly drift amount based on the frequency drift amount; A processing module, used for inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into a trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used for determining the alarm level of the alarm output result according to the numerical range to which the input amount belongs; The early warning module is used to issue a clock device failure early warning to a preset management terminal based on the alarm output result.

[0014] According to a third aspect, there is provided an electronic device, comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the steps of the method provided in the first aspect or any possible implementation manner of the first aspect.

[0015] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the computer-readable storage medium stores instructions, which, when the instructions are executed on a computer or a processor, cause the computer or the processor to execute the method provided in the first aspect or any possible implementation of the first aspect.

[0016] The method and device provided in the embodiments of this specification can reflect the inherent physical characteristics of the frequency source of the synchronous clock device by calculating the frequency daily drift and the frequency weekly drift through the frequency control quantity, so as to judge the possible failure and risk of the synchronous clock device in the future, realize the early judgment of the potential failure risk of the system, and indicate the risk level with the alarm level in the alarm output result of the support vector machine model, so that the management personnel can clearly and intuitively understand the potential failure risk situation of the system at this time, deal with the situation in time, and avoid the actual occurrence of the risk. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 It is a flowchart of a clock device failure warning method based on clock control quantity in one embodiment of this specification.

[0019] Figure 2 It is a schematic diagram of the principle of a phase-locked loop based on a voltage-controlled frequency source in a frequency synchronization network in an embodiment of the present specification.

[0020] Figure 3 It is a schematic diagram of the principle of a phase-locked loop that generates a digital frequency based on NCO adjustment in a frequency synchronization network in an embodiment of the present specification.

[0021] Figure 4 It is a structural schematic diagram of a clock device failure warning device based on clock control quantity in one embodiment of the present specification.

[0022] Figure 5 It is a structural diagram of an electronic device in one embodiment of this specification. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0024] In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and / or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

[0025] The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

[0026] See also Figure 1 , Figure 1 1 is a flow chart of a clock device failure warning method based on clock control quantity provided in an embodiment of the present application. In an embodiment of the present application, the method includes: S101. Obtain a frequency control amount of each synchronous clock device in a frequency synchronization network, and calculate a frequency control accumulated amount based on each frequency control amount.

[0027] The execution entity of this application can be a cloud server.

[0028] In the embodiments of this specification, the synchronous clock device has many clock control quantities, such as frequency control quantity, phase control quantity, duty cycle control quantity, edge control quantity, frequency division control quantity, etc. In order to be able to predict the reliability and stability of the frequency synchronization network to a greater extent, the present application considers reflecting the inherent physical characteristics of the frequency source through the calculation and processing results of the frequency control quantity, so as to make decisions and judge possible failures and risks in the future.

[0029] The essence of frequency synchronization network is a long-distance frequency-locked loop or phase-locked loop established based on the frequency source and the signal transmission medium (i.e. optical fiber). There are two main phase-locked loop principles of frequency synchronization network. One is as follows: Figure 2 The phase-locked loop formed based on the voltage-controlled frequency source frequency is shown as follows. Figure 3 The phase-locked loop shown is based on a numerically controlled oscillator (NCO) that adjusts the digital frequency.

[0030] Among them, the phase-locked loop formed by the voltage-controlled frequency source frequency relies on the voltage-controlled characteristics of the frequency source. The frequency output range is related to the frequency source. The local frequency source and the frequency reference are sent to the digital phase detector to obtain the phase difference change of the two frequencies, which is sent to the MCU. The frequency control digital quantity is calculated through the PID algorithm, and then the frequency source is further controlled through digital-to-analog conversion (DA). The digital frequency generated based on NCO adjustment is to generate the output frequency with the local frequency source as the frequency reference. The NCO output frequency range is not affected by the output range of the frequency source (the default frequency control range of the rubidium clock is 1E-8, and the frequency control range of the crystal oscillator is 1E-6), but the change of the local frequency source will cause the output of the NCO to change. The NCO frequency output is sent to the digital phase detector after analog shaping, and the difference between the frequency reference and the local frequency can be obtained. The control digital quantity of the NCO is generated by the PID algorithm, and the NCO output is output after analog shaping. It can be seen that when establishing a frequency synchronization network, the level of the frequency source of the upper level is usually higher than that of the lower level, that is, the characteristics of the reference frequency are much better than the local frequency. Then the changes in the control digital quantities of the above two PID outputs are mainly caused by the changes in the characteristics of the local frequency source. Therefore, this control digital quantity, that is, the frequency control quantity, can be used as sample data of frequency changes to judge and decide the stability and reliability of the local source.

[0031] The cloud server will extract the frequency control value of each synchronous clock device through the network management system of the frequency synchronization network. The frequency control cumulative amount is obtained by accumulating the frequency control amount of each synchronous clock device , the calculation formula of frequency control cumulative amount is as follows: Among them, i represents the i-th synchronous clock device, k represents the k-th moment, and the sample time interval corresponding to k is .

[0032] S102: Calculate a frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculate a frequency daily drift amount and a frequency weekly drift amount based on the frequency drift amount.

[0033] In the embodiment of this specification, the cloud server will filter the frequency control accumulated amount through the Kalman filter algorithm to determine the frequency accumulated amount according to the difference between the frequency control amount before and after filtering. The corresponding frequency drift Next, the frequency drift will be further calculated based on the frequency drift. and frequency cycle drift , the calculation formula is as follows: The Kalman filter algorithm is an effective recursive filtering method, which is often used to estimate the state of a dynamic system. Its basic processing may include initializing the state estimate and the error covariance matrix; predicting the state at the current moment based on the state estimate and model dynamics at the previous moment; predicting the error covariance of the state estimate based on the process noise covariance matrix and the error covariance matrix; comparing the measured value at the current moment with the predicted value, and updating the state estimate and the error covariance of the state estimate based on the Kalman gain; repeating the above process until all sampling points are executed. This filtering process is common knowledge known to those skilled in the art, so it will not be described in detail here. The frequency drift can be calculated by comparing the waveform difference before and after filtering.

[0034] S103: input the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into a trained support vector machine model to obtain an alarm output result.

[0035] The alarm output result includes an alarm level, and the trained support vector machine model is used to determine the alarm level of the alarm output result according to the numerical range to which the input quantity belongs.

[0036] In an embodiment of the present specification, a trained support vector machine model is pre-stored in the cloud server. The model can determine the numerical range corresponding to the preset type of input quantity, and assign different alarm levels to the input quantity according to different numerical ranges, generate and output the alarm output result corresponding to the alarm level. The higher the alarm level, the greater the potential risk of the synchronous clock equipment in the frequency synchronization network. In this embodiment, the support vector machine model is mainly used to judge the frequency control accumulation, the frequency daily drift and the frequency weekly drift, and the corresponding alarm level is determined according to the numerical range corresponding to these three types of input quantities. The specific setting of the numerical range and the mapping relationship between different numerical ranges and alarm levels are determined by the training data used in the training process of the initial support vector machine model.

[0037] As an example, the training process of a support vector machine model can be: Randomly generate 100,000 frequency daily drift samples, 100,000 frequency weekly drift samples, and 100,000 frequency control cumulative samples, and organize the generated samples into a 3X100,000 sample matrix, with each row corresponding to a group of samples. Different alarm levels are assigned to different preset numerical ranges, and the corresponding alarm level is labeled for each group of samples according to the numerical range corresponding to each group of samples. Then, 70% of the samples are sent to the initial support vector machine learning model to train the model, and after the model is initially trained, the remaining 30% of the samples are sent to the trained model to output the generated state. Compare the actual target state of the samples, check the classification success rate, and perform negative feedback optimization on the model until the efficiency of the model output results reaches the preset efficiency.

[0038] In one possible implementation manner, after calculating the frequency drift amount corresponding to the frequency control accumulated amount based on the Kalman filter algorithm, the method further includes: Determine a frequency jitter amount based on a maximum sampling difference of the frequency drift amount; The frequency control cumulative amount, the frequency daily drift amount and the frequency weekly drift amount are input into the trained support vector machine model as input amounts to obtain the alarm output results, including: The frequency control accumulated amount, the frequency daily drift amount, the frequency weekly drift amount and the frequency jitter amount are input as input amounts into the trained support vector machine model to obtain an alarm output result.

[0039] In the embodiments of this specification, the cloud server will also determine the maximum and minimum values ​​of the frequency drift within the sampling period to calculate the maximum sampling difference, which is the frequency jitter. The trained support vector machine model will also judge the data range of the input frequency jitter to determine the corresponding alarm level based on the numerical range of the four data: frequency control accumulation, frequency daily drift, frequency weekly drift, and frequency jitter. In this way, the alarm level is more accurate and can more clearly reflect the potential risks of the clock device. Frequency jitter The calculation formula is as follows: In one possible implementation, before inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model, the method further includes: A trained support vector machine model is selected based on the clock type of the synchronous clock device.

[0040] In the embodiments of this specification, the clock types of the synchronous clock device include cesium clocks, rubidium clocks, and constant temperature crystal oscillators, etc. The physical characteristics of the frequency sources of synchronous clock devices of different clock types are different, because different data ranges should be set for different clock types, and then different support vector machine models are trained. For the same frequency synchronization network, the types of synchronous clock devices therein are the same, so before performing calculations, the cloud server will first determine the clock type of the synchronous clock device, so as to select the support vector machine model corresponding to the clock type for subsequent processing.

[0041] In one possible implementation, after inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into a trained support vector machine model and obtaining an alarm output result, the method further includes: Calculate the expected days of failure based on the current frequency accumulation and the frequency daily drift, wherein the current frequency accumulation is the frequency control accumulation corresponding to the output time of the alarm output result; The estimated number of days of expiration is sent to the preset management terminal.

[0042] In the embodiments of this specification, in order to allow managers to more clearly understand the potential risks of clock equipment, the cloud server will also estimate the daily growth of the frequency accumulation based on the current frequency accumulation and frequency daily drift, and then estimate how many days it will take for the frequency accumulation to reach the critical value, that is, calculate the expected number of days to fail. When sending the alarm output result, the cloud server will also send the expected number of days to fail, so that managers can not only determine the severity of the hidden danger risk through the alarm output result, but also have a rough estimate of the time when the hidden danger will break out, which is convenient for the reasonable allocation and arrangement of maintenance work for different clock equipment. In other embodiments, the current frequency accumulation and frequency weekly drift can also be selected for calculation.

[0043] In one possible implementation, the calculation of the expected days to failure based on the current frequency accumulation and the frequency daily drift includes: Obtain the control threshold corresponding to the frequency source of the synchronous clock device, calculate the frequency difference between the control threshold and the current frequency accumulation, and calculate the ratio of the frequency difference to the frequency daily drift to obtain the expected number of days to failure.

[0044] In the embodiments of this specification, different control thresholds are set for the frequency source according to the different clock types of the synchronous clock device. By calculating the frequency difference between the control threshold and the current frequency accumulation, it is possible to determine how much the frequency will increase before reaching the critical point, and combined with the frequency daily drift, the expected number of days to failure can be calculated.

[0045] In one possible implementation, the trained support vector machine model is used to determine the sub-alarm level corresponding to each input quantity according to the numerical range to which each input quantity belongs, and the highest level among the sub-alarm levels is determined as the alarm level of the alarm output result.

[0046] In the embodiments of the present specification, in addition to judging the alarm level as a whole based on the numerical range corresponding to each input quantity, each input quantity can also be judged separately, that is, the corresponding sub-alarm level of each input quantity is determined based on the numerical range of each input quantity, and finally the highest level is used as the alarm level of the alarm output result.

[0047] As an example, a safe value range is set for the frequency control cumulative amount, the frequency daily drift amount, and the frequency weekly drift amount. Within this range, the data is considered normal, and the corresponding alarm level is level 0. If the frequency daily drift amount exceeds the safe value range, it means that the clock jitter is too large; if the frequency weekly drift amount exceeds the safe value range, it means that the clock drift is deteriorating; if the frequency control cumulative amount exceeds the safe value range and the excess amount does not exceed the preset amount, it means that the clock control is about to be critical; if the frequency control cumulative amount exceeds the safe value range and the excess amount is greater than the preset amount, it means that the clock control fails to be digitalized. The severity of these situations increases in sequence, so they can be set to level 1 alarm level, level 2 alarm level, level 3 alarm level, and level 4 alarm level respectively. In this way, by comparing the numerical range, multiple different sub-alarm levels may be obtained, and the highest sub-alarm level, that is, the most serious level, will be selected as the final overall alarm level.

[0048] S104: Providing a clock device failure warning to a preset management terminal based on the alarm output result.

[0049] In the embodiments of this specification, the administrator will pre-store the communication address of the preset management terminal used by the administrator in the cloud server. After obtaining the alarm output result, the cloud server will send the alarm output result to the preset management terminal to warn the administrator of the failure of the clock device. The warning method can include a graphic display of the alarm output result, a voice reminder of the corresponding prompt text, and a light reminder light of the corresponding warning light. By viewing the alarm output result, the administrator can intuitively and clearly understand the current status of the synchronous clock device in the frequency synchronization network according to the alarm level, and then make a judgment on the potential risks and perform corresponding maintenance in advance.

[0050] In one possible implementation, providing a clock device failure warning to a preset management terminal based on the alarm output result includes: An alarm process is determined based on the alarm level corresponding to the alarm output result, and a clock device failure warning is issued to a preset management terminal based on the alarm process.

[0051] In the embodiments of this specification, different alarm levels mean the potential risk of the clock device. Different alarm processes can be set in the cloud server according to different alarm levels. For example, the alarm process at the lowest alarm level is to push the alarm output result on the preset management terminal. The alarm process at a higher alarm level is to push the alarm output result on the preset management terminal and light up the warning light near the preset management terminal. The alarm process at a very high alarm level is to push the alarm output result on the preset management terminal, light up the warning light near the preset management terminal, and continuously generate warning sounds. The alarm process can be adjusted according to specific circumstances and needs. The cloud server will determine the corresponding alarm process based on the alarm level query, and warn the preset management terminal according to the alarm process.

[0052] The following will be combined with the attached Figure 4 , the clock device failure warning device based on clock control quantity provided by the embodiment of the present application is introduced in detail. It should be noted that the attached Figure 4 The clock device failure warning device based on the clock control quantity shown is used to execute the application Figure 1 For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the present application. Figure 1 The embodiment shown.

[0053] See also Figure 4 , Figure 4 Schematic diagram of a clock device failure warning device based on clock control quantity provided by an embodiment of the present application. Figure 4 As shown, the device comprises: An acquisition module 401 is used to acquire a frequency control amount of each synchronous clock device in a frequency synchronization network, and calculate a frequency control cumulative amount based on each of the frequency control amounts; A calculation module 402 is used to calculate the frequency drift corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculate the frequency daily drift and the frequency weekly drift based on the frequency drift; The processing module 403 is used to input the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used to determine the alarm level of the alarm output result according to the numerical range to which the input amount belongs; The warning module 404 is used to issue a clock device failure warning to a preset management terminal based on the alarm output result.

[0054] In one possible implementation, the acquisition module 401 is further specifically used for: Determine a frequency jitter amount based on a maximum sampling difference of the frequency drift amount; The processing module 403 is specifically used for: The frequency control accumulated amount, the frequency daily drift amount, the frequency weekly drift amount and the frequency jitter amount are input as input amounts into the trained support vector machine model to obtain an alarm output result.

[0055] In one possible implementation, the early warning module 404 is specifically used for: An alarm process is determined based on the alarm level corresponding to the alarm output result, and a clock device failure warning is issued to a preset management terminal based on the alarm process.

[0056] In one possible implementation, the processing module 403 is further configured to: A trained support vector machine model is selected based on the clock type of the synchronous clock device.

[0057] In one possible implementation, the processing module 403 is further configured to: Calculate the expected days of failure based on the current frequency accumulation and the frequency daily drift, wherein the current frequency accumulation is the frequency control accumulation corresponding to the output time of the alarm output result; The estimated number of days of expiration is sent to the preset management terminal.

[0058] In one possible implementation, the processing module 403 is further configured to: Obtain the control threshold corresponding to the frequency source of the synchronous clock device, calculate the frequency difference between the control threshold and the current frequency accumulation, and calculate the ratio of the frequency difference to the frequency daily drift to obtain the expected number of days to failure.

[0059] In one possible implementation, the trained support vector machine model is used to determine the sub-alarm level corresponding to each input quantity according to the numerical range to which each input quantity belongs, and the highest level among the sub-alarm levels is determined as the alarm level of the alarm output result.

[0060] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

[0061] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

[0062] See also Figure 5 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 5 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .

[0063] The communication bus 502 is used to realize the connection and communication between these components.

[0064] The user interface 503 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.

[0065] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0066] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts of the entire electronic device 500, and executes various functions and processes data of the electronic device 500 by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 501 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.

[0067] Among them, the memory 505 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 505 includes a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 505 may optionally be at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.

[0068] exist Figure 5 In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 501 can be used to call the clock device failure warning application based on the clock control amount stored in the memory 505, and specifically perform the following operations: Obtaining the frequency control amount of each synchronous clock device in the frequency synchronization network, and calculating the frequency control accumulated amount based on each of the frequency control amounts; Calculating a frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculating a frequency daily drift amount and a frequency weekly drift amount based on the frequency drift amount; Inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used to determine the alarm level of the alarm output result according to the numerical range to which the input amount belongs; Based on the alarm output result, a clock device failure warning is issued to a preset management terminal.

[0069] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0070] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0072] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0073] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0074] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0075] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0076] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0077] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A clock device failure early warning method based on clock control quantity, characterized in that: The method comprises: Obtaining the frequency control amount of each synchronous clock device in the frequency synchronization network, and calculating the frequency control accumulated amount based on each of the frequency control amounts; Calculating a frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculating a frequency daily drift amount and a frequency weekly drift amount based on the frequency drift amount; Inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used to determine the alarm level of the alarm output result according to the numerical range to which the input amount belongs; Based on the alarm output result, a clock device failure warning is issued to a preset management terminal.

2. The method according to claim 1, characterized in that After calculating the frequency drift amount corresponding to the frequency control accumulated amount based on the Kalman filter algorithm, the method further includes: Determine a frequency jitter amount based on a maximum sampling difference of the frequency drift amount; The frequency control cumulative amount, the frequency daily drift amount and the frequency weekly drift amount are input into the trained support vector machine model as input amounts to obtain the alarm output results, including: The frequency control accumulated amount, the frequency daily drift amount, the frequency weekly drift amount and the frequency jitter amount are input as input amounts into the trained support vector machine model to obtain an alarm output result.

3. The method according to claim 1, characterized in that The providing a clock device failure warning to a preset management terminal based on the alarm output result includes: An alarm process is determined based on the alarm level corresponding to the alarm output result, and a clock device failure warning is issued to a preset management terminal based on the alarm process.

4. The method according to claim 1, characterized in that: Before inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model, the method further includes: A trained support vector machine model is selected based on the clock type of the synchronous clock device.

5. The method according to claim 1, characterized in that After inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into the trained support vector machine model and obtaining the alarm output result, the method further includes: Calculate the expected days of failure based on the current frequency accumulation and the frequency daily drift, wherein the current frequency accumulation is the frequency control accumulation corresponding to the output time of the alarm output result; The estimated number of days of expiration is sent to the preset management terminal.

6. The method according to claim 5, characterized in that The calculation of the expected number of days to failure based on the current frequency accumulation and the frequency daily drift includes: Obtain the control threshold corresponding to the frequency source of the synchronous clock device, calculate the frequency difference between the control threshold and the current frequency accumulation, and calculate the ratio of the frequency difference to the frequency daily drift to obtain the expected number of days to failure.

7. The method according to claim 1, characterized in that The trained support vector machine model is used to determine the sub-alarm level corresponding to each input quantity according to the numerical range to which each input quantity belongs, and the highest level among the sub-alarm levels is determined as the alarm level of the alarm output result.

8. A clock device failure warning device based on clock control quantity, characterized in that: The device comprises: An acquisition module, used to acquire the frequency control amount of each synchronous clock device in the frequency synchronization network, and calculate the frequency control accumulated amount based on each of the frequency control amounts; A calculation module, used for calculating the frequency drift amount corresponding to the frequency control accumulated amount based on a Kalman filter algorithm, and calculating the frequency daily drift amount and the frequency weekly drift amount based on the frequency drift amount; A processing module, used for inputting the frequency control accumulated amount, the frequency daily drift amount and the frequency weekly drift amount as input amounts into a trained support vector machine model to obtain an alarm output result, wherein the alarm output result includes an alarm level, and the trained support vector machine model is used for determining the alarm level of the alarm output result according to the numerical range to which the input amount belongs; The early warning module is used to issue a clock device failure early warning to a preset management terminal based on the alarm output result.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, wherein the computer-readable storage medium has instructions stored therein, and when the instructions are executed on a computer or a processor, the computer or the processor executes the steps of the method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Triple-redundancy flight control system safety analysis method based on timed automaton

    CN120491424A

  • A safety analysis method for a triple-redundancy flight control system based on time automata

    CN120491424B