A signal anomaly detection method, device, equipment and medium

By detecting the phase jump variable of the clock crystal signal in the switch device and the historical threshold value, rapid detection and alarm of clock crystal signal abnormalities is achieved, and the problem of inefficient detection in the prior art is solved.

CN115175013BActive Publication Date: 2025-05-16INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210764511.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-05-16
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

In switch equipment, when the clock crystal output signal is abnormal, the existing technology cannot detect it in time and accurately, resulting in difficulty in troubleshooting and inefficient efficiency.

Method used

By obtaining the crystal clock signal to be detected, clock signal processing is performed to obtain phase information, the phase jump variable is calculated using a preset phase accumulator, and compared with the historical variable threshold value. If the threshold value is exceeded, it is determined to be abnormal and alarm information is sent.

Benefits of technology

It improves the accuracy and efficiency of signal abnormality detection, reduces detection time, prompts alarms, and avoids serious consequences caused by delayed handling of faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115175013B_ABST
    Figure CN115175013B_ABST
Patent Text Reader

Abstract

The present application discloses a signal anomaly detection method, device, equipment and medium, which relates to the field of artificial intelligence, including: obtaining a crystal clock signal to be detected, performing clock signal processing on the crystal clock signal to be detected to obtain the processed clock signal phase information; using a preset phase accumulator to calculate the clock signal phase information to obtain a phase jump variable; judging whether the phase jump variable is greater than a preset historical variable threshold value, if the phase jump variable is greater than the preset historical variable threshold value, then judging that the crystal clock signal to be detected is abnormal. Through the above technical solution of the present application, the accuracy of signal anomaly detection can be effectively improved, the efficiency of signal anomaly detection can be increased, and the signal anomaly detection time can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to a signal anomaly detection method, device, equipment and medium. Background Art

[0002] At present, in the digital circuit of the switch, the crystal clock signal is used as a reference for data transmission and reception. Any abnormal output of the clock crystal will have a serious impact on the clock signal. In the current switch equipment, when the equipment is in working condition, it is affected by the environment, such as temperature and humidity. If the clock crystal output signal is abnormal, it is necessary to rely on manpower to gradually detect the link, and it is impossible to obtain the clock output information of the clock crystal in time and accurately, so it is impossible to timely troubleshoot and handle the fault. With the rapid development of deep learning, in the switch equipment, any abnormality of the clock crystal will have a serious impact on the clock signal. It is particularly important to design a model to monitor the abnormality of the clock crystal. In the past, to determine the abnormality of the clock crystal signal, manual positioning and measurement were required. The process was cumbersome, the positioning wasted time, and the problem was not solved in time.

[0003] As can be seen from the above, in the process of signal anomaly detection, how to improve the accuracy of signal anomaly detection, increase the efficiency of signal anomaly detection, and reduce the time of signal anomaly detection are problems to be solved in this field. Summary of the invention

[0004] In view of this, the object of the present invention is to provide. The specific scheme is as follows:

[0005] In a first aspect, the present application discloses a signal anomaly detection method, comprising:

[0006] Acquire a crystal clock signal to be detected, and perform clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal;

[0007] Calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable;

[0008] It is determined whether the phase jump variable is greater than a preset historical variable threshold value. If the phase jump variable is greater than the preset historical variable threshold value, it is determined that the crystal clock signal to be detected is abnormal.

[0009] Optionally, before acquiring the crystal clock signal to be detected, the method further includes:

[0010] Get normal historical clock crystal clock signal information;

[0011] A historical variable threshold value is determined based on the historical clock crystal clock signal information.

[0012] Optionally, performing clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal includes:

[0013] Determine the phase lock period according to business requirements;

[0014] The phase of the crystal clock signal to be detected is locked by using a preset phase-locked loop integrated circuit and according to the phase locking cycle, and an extraction operation is performed at the same time to obtain the phase information of the clock signal.

[0015] Optionally, the calculating the clock signal phase information by using a preset phase accumulator to obtain a phase jump amount includes:

[0016] Using a phase accumulator in a preset phase accumulator to perform an addition operation on the phase information of the clock signal to obtain a sum value;

[0017] The sum value is processed by a lookup table and a filter in the preset phase accumulator to obtain a smoothed waveform value, and a phase jump variable is calculated on the waveform value to obtain a phase jump variable.

[0018] Optionally, after determining whether the phase jump variable is greater than a preset historical variable threshold value, the method further includes:

[0019] If the phase jump variable is less than the preset historical variable threshold value, it is determined that the crystal clock signal to be detected is normal;

[0020] The crystal clock signal information to be detected is used as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value.

[0021] Optionally, after determining that the crystal clock signal to be detected is abnormal, the method further includes:

[0022] The abnormal information of the crystal clock signal to be detected is saved locally;

[0023] Create abnormal alarm information and send the abnormal alarm information to the inspector for clock alarm.

[0024] Optionally, after sending the abnormal alarm information to the inspector for clock alarm, the method further includes:

[0025] After receiving the abnormal alarm information, the inspector determines the abnormal clock crystal position according to the abnormal alarm information;

[0026] The abnormal clock crystal is detected according to the abnormal clock crystal position.

[0027] In a second aspect, the present application discloses a signal anomaly detection device, comprising:

[0028] A signal acquisition module, used for acquiring a crystal clock signal to be detected, and performing clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal;

[0029] A calculation module, used for calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable;

[0030] The judging module is used to judge whether the phase jump variable is greater than a preset historical variable threshold value, and if the phase jump variable is greater than the preset historical variable threshold value, it is judged that the crystal clock signal to be detected is abnormal.

[0031] In a third aspect, the present application discloses an electronic device, comprising:

[0032] Memory, used to store computer programs;

[0033] The processor is used to execute the computer program to implement the aforementioned signal anomaly detection method.

[0034] In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed signal anomaly detection method are implemented.

[0035] It can be seen that the present application provides a signal anomaly detection method, including obtaining a crystal clock signal to be detected, performing clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal; using a preset phase accumulator to calculate the clock signal phase information to obtain a phase jump variable; judging whether the phase jump variable is greater than a preset historical variable threshold value, if the phase jump variable is greater than the preset historical variable threshold value, then judging that the crystal clock signal to be detected is abnormal. The present application processes the clock signal at the input end, extracts the phase information of a certain clock, and then uses a phase accumulator to calculate the phase jump variable, compares the crystal clock signal phase jump variable with a preset historical variable threshold value, and alarms the clock signal that exceeds the historical variable threshold value. The present invention first uses a large amount of normal historical data of clock crystals collected from switch equipment, summarizes and sets historical variable threshold values, identifies abnormal data and normal historical data, and promptly feeds back abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain position. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal abnormality detection, increase the efficiency of signal abnormality detection, reduce the signal abnormality detection time, and prompt the alarm in time to avoid serious consequences. The present application is applied to the alarm model for detecting the abnormality of the switch clock crystal signal. It uses a large amount of historical normal data of the clock crystal collected from the switch device to determine the historical variable threshold value, and then performs clock signal processing on the crystal clock signal to be detected. The specific processing process is: determine the phase lock cycle according to business needs; use a preset phase-locked loop integrated circuit and phase lock the crystal clock signal to be detected according to the phase lock cycle, and perform extraction operations at the same time to obtain the clock signal phase information. The present invention first uses a large amount of historical normal data of the clock crystal collected from the switch device, summarizes and sets the historical variable threshold value, distinguishes abnormal data and historical normal data, and timely feedbacks abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain location. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal anomaly detection, increase signal anomaly detection efficiency, reduce signal anomaly detection time, and prompt alarms in time to avoid serious consequences. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 1 A flow chart of a signal anomaly detection method disclosed in this application;

[0038] Figure 2 A flow chart of a signal anomaly detection method disclosed in this application;

[0039] Figure 3 A specific flow chart of a signal anomaly detection method disclosed in this application;

[0040] Figure 4 This is a schematic diagram of the structure of a signal anomaly detection device disclosed in this application;

[0041] Figure 5 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] At present, in the digital circuit of the switch, the crystal clock signal is used as a reference for data transmission and reception. Any abnormal output of the clock crystal will have a serious impact on the clock signal. In the current switch equipment, when the equipment is in working state, it is affected by the environment, such as temperature and humidity. If the clock crystal output signal is abnormal, it is necessary to rely on manpower to gradually detect the link, and it is impossible to obtain the clock output information of the clock crystal in a timely and accurate manner, so it is impossible to timely troubleshoot and handle the fault. With the rapid development of deep learning, in the switch equipment, any abnormality of the clock crystal will have a serious impact on the clock signal. It is particularly important to design a model to monitor the abnormality of the clock crystal. In the past, it was necessary to manually locate and measure the abnormality of the clock crystal signal, which was a cumbersome process, and the location wasted time, and the problem was not solved in time. As can be seen from the above, in the process of signal anomaly detection, how to improve the accuracy of signal anomaly detection, increase the efficiency of signal anomaly detection, and reduce the time of signal anomaly detection are problems to be solved in this field.

[0044] See also Figure 1 As shown, the embodiment of the present invention discloses a signal anomaly detection method, which may specifically include:

[0045] Step S11: Acquire a crystal clock signal to be detected, and perform clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal.

[0046] In this embodiment, before obtaining the crystal clock signal to be detected, the method further includes: obtaining normal historical clock crystal clock signal information; and determining a historical variable threshold value based on the historical clock crystal clock signal information.

[0047] The present application is applied to an alarm model for detecting abnormal clock crystal signals of a switch. A large amount of historical normal data of clock crystals collected from switch devices is used to determine the historical variable threshold value, and then clock signal processing is performed on the crystal clock signal to be detected. The specific processing process is: determining the phase lock cycle according to business needs; using a preset phase-locked loop integrated circuit and according to the phase lock cycle, phase locking is performed on the crystal clock signal to be detected, and an extraction operation is performed at the same time to obtain clock signal phase information.

[0048] Step S12: Calculate the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable.

[0049] In this embodiment, the phase accumulator in the preset phase accumulator is used to perform addition operation on the phase information of the clock signal to obtain a sum value; the sum value is processed by the lookup table and filter in the preset phase accumulator to obtain a smooth waveform value, and the phase jump variable is calculated on the waveform value to obtain the phase jump variable.

[0050] Step S13: determining whether the phase jump variable is greater than a preset historical variable threshold value; if the phase jump variable is greater than the preset historical variable threshold value, determining that the crystal clock signal to be detected is abnormal.

[0051] It can be understood that the present application uses a large amount of historical normal data of clock crystals collected from switch devices to determine the historical variable threshold value, and then obtains the crystal clock signal to be detected, and uses a preset phase-locked loop integrated circuit and according to the phase lock cycle to phase lock the crystal clock signal to be detected, and performs an extraction operation at the same time to obtain the clock signal phase information, and uses the phase accumulator in the preset phase accumulator to add the clock signal phase information to obtain the sum value; finds the corresponding sampling point number through the lookup table in the preset phase accumulator, and then outputs the corresponding waveform value according to the number, and uses a filter to obtain a smooth waveform, and then performs a phase jump variable calculation to obtain a phase jump variable, and determines whether the phase jump variable is greater than the preset The historical variable threshold value, if the phase jump variable is greater than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be abnormal, and then the abnormal information of the crystal clock signal to be detected is saved locally, abnormal alarm information is created, and the abnormal alarm information is sent to the inspector for clock alarm, so that after receiving the abnormal alarm information, the inspector determines the abnormal clock crystal position according to the abnormal alarm information, and detects the abnormal clock crystal according to the abnormal clock crystal position; if the phase jump variable is less than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be normal, and the crystal clock signal information to be detected is used as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value. The present invention uses the phase-locked loop principle to perform clock signal phase locking at fixed intervals and extract clock signals at the same time. The phase jump variable is compared with the set variable threshold and a judgment is made at the same time. If the correct data is determined, it will be continuously integrated into the historical data to provide a basis for the predetermined threshold. If the set threshold value is exceeded, the abnormal data is determined, a clock alarm will be made in time, and abnormal information will be stored. At the same time, an alarm signal is issued, and the staff can check the switch equipment and locate the abnormal clock crystal position in the first time. The present invention can regularly monitor the signal conditions of each clock crystal in the switch equipment, and quickly determine the abnormal crystal clock position, and immediately prompt an alarm to avoid serious consequences. In addition, the present invention can not only be used for switch clock crystal monitoring and alarm, but also for a variety of equipment such as servers. Through this model, the abnormal crystal clock signal can be quickly determined, and the location and processing can be carried out in time, without investing a lot of time for technicians to locate one by one. The crystal clock information can be obtained simply and quickly, so as to make a quick response to abnormal situations. Therefore, the present invention designs a clock crystal signal alarm model.

[0052] Acquire the crystal clock signal to be detected, perform clock signal processing on the crystal clock signal to be detected to obtain the processed clock signal phase information; use a preset phase accumulator to calculate the clock signal phase information to obtain a phase jump variable; determine whether the phase jump variable is greater than a preset historical variable threshold value, if the phase jump variable is greater than the preset historical variable threshold value, then determine that the crystal clock signal to be detected is abnormal. The present application processes the clock signal at the input end, extracts the phase information of a certain clock, and then uses a phase accumulator to calculate the phase jump variable, compares the crystal clock signal phase jump variable with a preset historical variable threshold value, and alarms the clock signal that exceeds the historical variable threshold value. The present invention first uses a large amount of normal historical data of clock crystals collected from switch equipment, summarizes and sets historical variable threshold values, identifies abnormal data and normal historical data, and promptly feeds back abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain position. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal abnormality detection, increase the efficiency of signal abnormality detection, reduce the signal abnormality detection time, and prompt the alarm in time to avoid serious consequences. The present application is applied to the alarm model for detecting the abnormality of the switch clock crystal signal. It uses a large amount of historical normal data of the clock crystal collected from the switch device to determine the historical variable threshold value, and then performs clock signal processing on the crystal clock signal to be detected. The specific processing process is: determine the phase lock cycle according to business needs; use a preset phase-locked loop integrated circuit and phase lock the crystal clock signal to be detected according to the phase lock cycle, and perform extraction operations at the same time to obtain the clock signal phase information. The present invention first uses a large amount of historical normal data of the clock crystal collected from the switch device, summarizes and sets the historical variable threshold value, distinguishes abnormal data and historical normal data, and timely feedbacks abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain location. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal anomaly detection, increase signal anomaly detection efficiency, reduce signal anomaly detection time, and prompt alarms in time to avoid serious consequences.

[0053] See also Figure 2 As shown, the embodiment of the present invention discloses a signal anomaly detection method, which may specifically include:

[0054] Step S21: Acquire a crystal clock signal to be detected, and perform clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal.

[0055] Step S22: using a preset phase accumulator to calculate the phase information of the clock signal to obtain a phase jump variable.

[0056] For more detailed processing procedures in steps S21 and S22, please refer to the aforementioned disclosed embodiments, which will not be described again here.

[0057] Step S23: determining whether the phase jump variable is greater than a preset historical variable threshold value; if the phase jump variable is greater than the preset historical variable threshold value, determining that the crystal clock signal to be detected is abnormal.

[0058] In this embodiment, if the phase jump variable is less than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be normal; the crystal clock signal information to be detected is used as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value.

[0059] Step S24: The abnormal information of the crystal clock signal to be detected is saved locally, and then abnormal alarm information is created and sent to the inspector for clock alarm.

[0060] In this embodiment, after the abnormal alarm information is sent to the inspector for clock alarm, the inspector receives the abnormal alarm information, determines the position of the abnormal clock crystal according to the abnormal alarm information, and then detects the abnormal clock crystal according to the abnormal clock crystal position.

[0061] The present invention uses a phase-locked loop integrated circuit to process the clock signal at the input end, extract the phase information of a certain clock, and then use a phase accumulator to calculate the phase jump variable. The phase jump variable of the crystal clock signal is compared with a preset threshold, and the clock signal exceeding the threshold is alarmed. With the rapid development of deep learning, in switch equipment, any abnormality of a clock crystal will have a serious impact on the clock signal. It is particularly important to design a model to monitor the abnormality of the clock crystal. In the past, it was necessary to manually locate and measure the abnormality of the clock crystal signal, which was a cumbersome process, wasted time in locating, and the problem was not solved in time. The present invention first uses a large amount of historical normal data of the clock crystal collected from the switch equipment, summarizes and predetermines the threshold value, identifies the abnormal data and the historical normal data, and timely feedbacks the abnormal information. The alarm model can determine the abnormality of the clock crystal signal at a certain location. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal.

[0062] For example, Figure 3As shown, a large amount of historical normal data of clock crystals collected from switch devices is used to determine the historical variable threshold value, and then the crystal clock signal to be detected is obtained, and the phase information of the crystal clock signal to be detected is phase-locked by using a preset phase-locked loop integrated circuit and according to the phase lock cycle, and an extraction operation is performed at the same time to obtain the clock signal phase information, and the phase accumulator in the preset phase accumulator is used to add the clock signal phase information to obtain the sum value; the corresponding sampling point number is found through the lookup table in the preset phase accumulator, and then the corresponding waveform value is output according to the number, and a smooth waveform is obtained by using a filter, and then a phase jump variable is calculated to obtain a phase jump variable, and it is judged whether the phase jump variable is greater than the preset historical variable. The phase jump variable is greater than the preset historical variable threshold value, and the crystal clock signal to be detected is determined to be abnormal. Then, the abnormal information of the crystal clock signal to be detected is saved locally, abnormal alarm information is created, and the abnormal alarm information is sent to the inspector for clock alarm, so that after receiving the abnormal alarm information, the inspector determines the abnormal clock crystal position according to the abnormal alarm information, and detects the abnormal clock crystal according to the abnormal clock crystal position; if the phase jump variable is less than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be normal, and the crystal clock signal information to be detected is used as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value. The present invention utilizes the phase-locked loop principle to perform clock signal phase locking at fixed intervals and extract clock signals at the same time. The phase jump variable is compared with the set variable threshold, and a judgment is made at the same time. If the correct data is determined, it will be continuously integrated into the historical data to provide a basis for the predetermined threshold. If the set threshold value is exceeded, the abnormal data is determined, a clock alarm will be made in time, and abnormal information will be stored. At the same time, an alarm signal is issued, and the staff can check the switch equipment and locate the abnormal clock crystal position in the first time. The present invention can regularly monitor the signal conditions of each clock crystal in the switch equipment, and quickly determine the abnormal crystal clock position, and immediately prompt an alarm to avoid serious consequences. Through this model, the abnormal crystal clock signal can be quickly determined and located and processed in time, without the need for technicians to invest a lot of time to locate one by one. The crystal clock information can be obtained simply and quickly, so as to make a quick response to abnormal situations. Therefore, the present invention designs a clock crystal signal alarm model.

[0063] In this embodiment, a crystal clock signal to be detected is obtained, and clock signal processing is performed on the crystal clock signal to be detected to obtain phase information of the processed clock signal; the phase information of the clock signal is calculated using a preset phase accumulator to obtain a phase jump variable; it is determined whether the phase jump variable is greater than a preset historical variable threshold value, and if the phase jump variable is greater than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be abnormal. The present application processes the clock signal at the input end, extracts the phase information of a certain clock, and then uses a phase accumulator to calculate the phase jump variable, compares the phase jump variable of the crystal clock signal with a preset historical variable threshold value, and alarms the clock signal that exceeds the historical variable threshold value. The present invention first uses a large amount of normal historical data of clock crystals collected from switch equipment, summarizes and sets historical variable threshold values, identifies abnormal data and normal historical data, and promptly feeds back abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain position. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal abnormality detection, increase the efficiency of signal abnormality detection, reduce the signal abnormality detection time, and prompt the alarm in time to avoid serious consequences. The present application is applied to the alarm model for detecting the abnormality of the switch clock crystal signal. It uses a large amount of historical normal data of the clock crystal collected from the switch device to determine the historical variable threshold value, and then performs clock signal processing on the crystal clock signal to be detected. The specific processing process is: determine the phase lock cycle according to business needs; use a preset phase-locked loop integrated circuit and phase lock the crystal clock signal to be detected according to the phase lock cycle, and perform extraction operations at the same time to obtain the clock signal phase information. The present invention first uses a large amount of historical normal data of the clock crystal collected from the switch device, summarizes and sets the historical variable threshold value, distinguishes abnormal data and historical normal data, and timely feedbacks abnormal information. This alarm model can determine the abnormality of the clock crystal signal at a certain location. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal anomaly detection, increase signal anomaly detection efficiency, reduce signal anomaly detection time, and prompt alarms in time to avoid serious consequences.

[0064] See also Figure 4 As shown, the embodiment of the present invention discloses a signal anomaly detection device, which may specifically include:

[0065] The signal acquisition module 11 is used to acquire a crystal clock signal to be detected, and perform clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal;

[0066] A calculation module 12, configured to calculate the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable;

[0067] The judging module 13 is used to judge whether the phase jump variable is greater than a preset historical variable threshold value. If the phase jump variable is greater than the preset historical variable threshold value, it is judged that the crystal clock signal to be detected is abnormal.

[0068] In this embodiment, a crystal clock signal to be detected is obtained, and clock signal processing is performed on the crystal clock signal to be detected to obtain the processed clock signal phase information; the clock signal phase information is calculated using a preset phase accumulator to obtain a phase jump variable; it is determined whether the phase jump variable is greater than a preset historical variable threshold value, and if the phase jump variable is greater than the preset historical variable threshold value, the crystal clock signal to be detected is determined to be abnormal. The present application processes the clock signal at the input end, extracts the phase information of a clock, and then uses a phase accumulator to calculate the phase jump variable, and the crystal clock signal phase jump variable is compared with a preset historical variable threshold value, and an alarm is given for the clock signal that exceeds the historical variable threshold value. The present application is applied to an alarm model for detecting abnormal clock crystal signals of switches, and a large amount of historical normal data of clock crystals collected from switch devices is used to determine the historical variable threshold value, and then clock signal processing is performed on the crystal clock signal to be detected. The specific processing process is: determine the phase lock cycle according to business needs; use a preset phase-locked loop integrated circuit and perform phase lock on the crystal clock signal to be detected according to the phase lock cycle, and perform extraction operations at the same time to obtain clock signal phase information. The present invention firstly utilizes a large amount of historical normal data of clock crystals collected from switch devices, summarizes and sets historical variable thresholds, distinguishes abnormal data from historical normal data, and timely feeds back abnormal information. The alarm model can determine the abnormality of the clock crystal signal at a certain position. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal abnormality detection, increase the efficiency of signal abnormality detection, reduce the signal abnormality detection time, and prompt the alarm in time to avoid serious consequences.

[0069] The present application processes the clock signal at the input end, extracts the phase information of a certain clock, and then uses a phase accumulator to calculate the phase jump variable. The phase jump variable of the crystal clock signal is compared with the preset historical variable threshold value, and the clock signal that exceeds the historical variable threshold value is alarmed. The present invention first uses a large amount of historical normal data of clock crystals collected from switch equipment, summarizes and sets historical variable threshold values, distinguishes abnormal data from historical normal data, and feeds back abnormal information in a timely manner. The alarm model can determine the abnormality of the clock crystal signal at a certain position. If this primary model is deployed in the switch system, it can regularly monitor whether the switch clock crystal signal is abnormal, and quickly determine the abnormal crystal clock position, improve the accuracy of signal abnormality detection, increase the efficiency of signal abnormality detection, reduce the signal abnormality detection time, and prompt alarms in time to avoid serious consequences.

[0070] In some specific embodiments, the signal acquisition module 11 may specifically include:

[0071] A signal acquisition module is used to obtain normal historical clock crystal clock signal information;

[0072] The historical variable threshold value determination module is used to determine the historical variable threshold value based on the historical clock crystal clock signal information.

[0073] In some specific embodiments, the signal acquisition module 11 may specifically include:

[0074] A phase lock period determination module, used to determine the phase lock period according to business requirements;

[0075] The phase information determination module is used to perform phase locking on the crystal clock signal to be detected by using a preset phase-locked loop integrated circuit and according to the phase locking cycle, and perform extraction operation at the same time to obtain the clock signal phase information.

[0076] In some specific embodiments, the calculation module 12 may specifically include:

[0077] An addition operation module, used for performing an addition operation on the phase information of the clock signal using a phase accumulator in a preset phase accumulator to obtain a sum value;

[0078] The phase jump variable determination module is used to process the sum value through the lookup table and filter in the preset phase accumulator to obtain a smooth waveform value, and perform phase jump variable calculation on the waveform value to obtain a phase jump variable.

[0079] In some specific embodiments, the determination module 13 may specifically include:

[0080] A first judgment module, configured to judge that the crystal clock signal to be detected is normal if the phase jump variable is less than a preset historical variable threshold value;

[0081] The new historical variable threshold value determination module is used to use the crystal clock signal information to be detected as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value.

[0082] In some specific embodiments, the determination module 13 may specifically include:

[0083] An abnormal information storage module is used to store the abnormal information of the crystal clock signal to be detected locally;

[0084] The clock alarm module is used to create abnormal alarm information and send the abnormal alarm information to the inspector for clock alarm.

[0085] In some specific embodiments, the determination module 13 may specifically include:

[0086] An abnormal clock crystal position determination module is used for the inspector to determine the abnormal clock crystal position according to the abnormal alarm information after receiving the abnormal alarm information;

[0087] A detection module is used to detect the abnormal clock crystal according to the position of the abnormal clock crystal.

[0088] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the signal anomaly detection method performed by the electronic device disclosed in any of the aforementioned embodiments.

[0089] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0090] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.

[0091] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20 to realize the operation and processing of the data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the signal anomaly detection method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the signal anomaly detection device, the data 223 can also include data collected by its own input and output interface 25, etc.

[0092] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0093] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the signal anomaly detection method disclosed in any of the aforementioned embodiments are implemented.

[0094] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0095] The above is a detailed introduction to a signal anomaly detection method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A signal anomaly detection method, characterized in that: include: Acquire a crystal clock signal to be detected, and perform clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal; Calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable; Determine whether the phase jump variable is greater than a preset historical variable threshold value, and if the phase jump variable is greater than the preset historical variable threshold value, determine that the crystal clock signal to be detected is abnormal; The clock signal processing of the crystal clock signal to be detected to obtain the processed clock signal phase information includes: determining a phase lock cycle according to business requirements; using a preset phase-locked loop integrated circuit and performing phase lock on the crystal clock signal to be detected according to the phase lock cycle, and performing an extraction operation at the same time to obtain the clock signal phase information; The method of calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable includes: performing an addition operation on the phase information of the clock signal using a phase accumulator in the preset phase accumulator to obtain a sum value; processing the sum value through a lookup table and a filter in the preset phase accumulator to obtain a smooth waveform value, and performing a phase jump variable calculation on the waveform value to obtain a phase jump variable.

2. The signal anomaly detection method according to claim 1, characterized in that: Before acquiring the crystal clock signal to be detected, the method further includes: Get normal historical clock crystal clock signal information; A historical variable threshold value is determined based on the historical clock crystal clock signal information.

3. The signal anomaly detection method according to claim 2, characterized in that: After determining whether the phase jump variable is greater than a preset historical variable threshold value, the method further includes: If the phase jump variable is less than the preset historical variable threshold value, it is determined that the crystal clock signal to be detected is normal; The crystal clock signal information to be detected is used as the normal historical clock crystal clock signal information to obtain a new historical variable threshold value.

4. The signal anomaly detection method according to any one of claims 1 to 3, characterized in that: After determining that the crystal clock signal to be detected is abnormal, the method further includes: The abnormal information of the crystal clock signal to be detected is saved locally; Create abnormal alarm information and send the abnormal alarm information to the inspector for clock alarm.

5. The signal anomaly detection method according to claim 4, characterized in that: After sending the abnormal alarm information to the inspector for clock alarm, the method further includes: After receiving the abnormal alarm information, the inspector determines the abnormal clock crystal position according to the abnormal alarm information; The abnormal clock crystal is detected according to the abnormal clock crystal position.

6. A signal anomaly detection device, characterized in that: include: A signal acquisition module, used for acquiring a crystal clock signal to be detected, and performing clock signal processing on the crystal clock signal to be detected to obtain phase information of the processed clock signal; A calculation module, used for calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable; A judging module, used for judging whether the phase jump variable is greater than a preset historical variable threshold value, and if the phase jump variable is greater than the preset historical variable threshold value, judging that the crystal clock signal to be detected is abnormal; The clock signal processing of the crystal clock signal to be detected to obtain the processed clock signal phase information includes: determining a phase lock cycle according to business requirements; using a preset phase-locked loop integrated circuit and performing phase lock on the crystal clock signal to be detected according to the phase lock cycle, and performing an extraction operation at the same time to obtain the clock signal phase information; The method of calculating the phase information of the clock signal using a preset phase accumulator to obtain a phase jump variable includes: performing an addition operation on the phase information of the clock signal using a phase accumulator in the preset phase accumulator to obtain a sum value; processing the sum value through a lookup table and a filter in the preset phase accumulator to obtain a smooth waveform value, and performing a phase jump variable calculation on the waveform value to obtain a phase jump variable.

7. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the signal anomaly detection method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: Used to store a computer program; wherein, when the computer program is executed by a processor, the signal anomaly detection method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Multichannel parallel acquisition system with multi-device asynchronous reset recognition correction function

    CN106253902A

  • Phase detection method, phase detection circuit and clock recovery device

    CN110417536A