CN108632103B - Method and device for diagnosing system abnormity - Google Patents

Method and device for diagnosing system abnormity Download PDF

Info

Publication number
CN108632103B
CN108632103B CN201710162132.8A CN201710162132A CN108632103B CN 108632103 B CN108632103 B CN 108632103B CN 201710162132 A CN201710162132 A CN 201710162132A CN 108632103 B CN108632103 B CN 108632103B
Authority
CN
China
Prior art keywords
module
sub
current
abnormal
submodule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710162132.8A
Other languages
Chinese (zh)
Other versions
CN108632103A (en
Inventor
陶春寿
杨茂华
王帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710162132.8A priority Critical patent/CN108632103B/en
Publication of CN108632103A publication Critical patent/CN108632103A/en
Application granted granted Critical
Publication of CN108632103B publication Critical patent/CN108632103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The invention relates to a method and a device for diagnosing system abnormity, which comprises the following steps: acquiring frame data carrying control data, wherein the frame data is sent to second equipment by first equipment, and the control data is inserted into the frame data every other first preset time; acquiring the number of the control data analyzed by a current sub-module within second preset time, wherein the current sub-module is a sub-module in the first equipment or the second equipment; calculating according to the second preset time, the first preset time and the configuration value to obtain a module abnormity evaluation range; and judging the abnormal module range of the current system according to the relationship between the number and the module abnormal evaluation range, so that the abnormal position of the system can be conveniently and quickly positioned.

Description

Method and device for diagnosing system abnormity
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for diagnosing system anomalies.
Background
In a mobile communication system, in order to ensure that the system can be self-recovered when a problem occurs, abnormality diagnosis is required, and self-recovery is performed when the system is diagnosed to be abnormal. The traditional abnormity diagnosis method has the problems of complex diagnosis method, long diagnosis time and the like, so that when a system goes wrong, an abnormal state lasts for a long time, and the influence on the whole system is large.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for diagnosing system abnormality, which can conveniently and quickly locate the system abnormality position.
A method of system anomaly diagnosis, the method comprising:
acquiring frame data carrying control data, wherein the frame data is sent to second equipment by first equipment, and the control data is inserted into the frame data every other first preset time;
acquiring the number of the control data analyzed by a current sub-module within second preset time, wherein the current sub-module is a sub-module in the first equipment or the second equipment;
calculating according to the second preset time, the first preset time and the configuration value to obtain a module abnormity evaluation range;
and judging the abnormal module range of the current system according to the relationship between the number and the module abnormal evaluation range.
An apparatus for system anomaly diagnosis, the apparatus comprising:
the frame data acquisition module is used for acquiring frame data carrying control data, the frame data is sent to second equipment by first equipment, and the control data is inserted into the frame data every other first preset time;
the number acquisition module is used for acquiring the number of the control data analyzed by the current sub-module within a second preset time, wherein the current sub-module is a sub-module in the first equipment or the second equipment;
and the abnormality diagnosis module is used for calculating to obtain a module abnormality evaluation range according to the second preset time, the first preset time and the configuration value, and judging the abnormality module range of the current system according to the relation between the number and the module abnormality evaluation range.
The method and the device for diagnosing the system abnormity acquire frame data carrying control data, the frame data is sent to second equipment by first equipment, the control data is inserted into the frame data every first preset time, the number of the control data analyzed by a current submodule within second preset time is acquired, the current submodule is a submodule in the first equipment or the second equipment, a module abnormity evaluation range is calculated according to the second preset time, the first preset time and a configuration value, the abnormity module range of the current system is judged according to the relation between the number and the module abnormity evaluation range, a corresponding abnormity module is recovered according to the abnormity module range, the control data is inserted into the frame data, the abnormity module range of the current system is judged according to the relation between the number of the control data analyzed by the current submodule within the second preset time and the module abnormity evaluation range, the method is simple, convenient and real-time, and can quickly locate the range of the abnormal module of the current system, thereby being capable of recovering with pertinence subsequently and improving the efficiency of system abnormality diagnosis.
Drawings
FIG. 1 is a diagram of an exemplary system anomaly diagnosis application environment;
FIG. 2 is a flow diagram of a method for system anomaly diagnosis in one embodiment;
FIG. 3 is a flow diagram illustrating a method for system anomaly diagnosis in one embodiment;
FIG. 4 is a block diagram showing the configuration of a system abnormality diagnosis apparatus according to an embodiment;
FIG. 5 is a block diagram of the structure of an anomaly diagnosis module in one embodiment;
fig. 6 is a block diagram showing a configuration of a system abnormality diagnosis apparatus according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
FIG. 1 is a diagram of an application environment in which a method for system anomaly diagnosis operates, according to an embodiment. As shown in fig. 1, the application environment includes a first device 110 and a second device 120, where the first device 110 and the second device 120 communicate through a network, and the communication network may be a wireless or wired communication network, such as an IP network, a cellular mobile communication network, and the like, where the number of the first device 110 and the second device 120 is not limited. First device 110 is composed of a plurality of sub-modules such as primary sub-module a1 and primary sub-module a2, second device 120 is composed of a plurality of sub-modules such as primary sub-module b1 and primary sub-module b2, further, each sub-module may be subdivided into a plurality of smaller sub-modules, for example, primary sub-module a1 may be subdivided into a plurality of smaller sub-modules such as secondary sub-module a11 and secondary sub-module a12, primary sub-module a2 may be subdivided into a plurality of smaller sub-modules such as secondary sub-module a21 and secondary sub-module a22, primary sub-module b1 may be subdivided into a plurality of smaller sub-modules such as secondary sub-module b11 and secondary sub-module b12, and primary sub-module b2 may be subdivided into a plurality of smaller sub-modules such as secondary sub-module. The fine granularity of the division of each sub-module is not limited, the sub-modules can be further subdivided, and the number of each sub-module is not limited.
As shown in fig. 2, in an embodiment, a method for diagnosing system anomaly is provided, which is applied to the above application environment for example, and includes the following steps:
step S210, obtaining frame data carrying control data, where the frame data is sent from the first device to the second device, and the control data is inserted into the frame data every first preset time.
Specifically, the control data is data of specific information, and is configurable, and the specific content of the control data can be customized according to needs, and can be fixed data or dynamic data, such as data related to frame information. The frame data may be the application data itself or may be additionally transmitted data specifically for detecting abnormal modules. And the first equipment inserts control data into the frame data at intervals of a first preset time in the process of sending the frame data to the second equipment. The first preset time can be customized according to the requirement, and the first preset time can be different empirical values for different types of communication systems and different devices. When the first device comprises a plurality of submodules, the frame data is transmitted in each submodule according to the function and the data flow direction of the submodule, and the transmission can be transparent transmission. If the data content is converted when the frame data is transmitted from the first sub-module to the second sub-module, the second sub-module can analyze the control data from the current frame data sent by the first sub-module, process the current frame data to generate new frame data, insert the control data into the new frame data, and send the new frame data to the third sub-module. All the submodules behind the submodule for generating the frame data in the first device and all the submodules in the second device, wherein all or part of the submodules have the function of analyzing the control data from the frame data.
Step S220, obtaining the number of control data analyzed by the current sub-module in a second preset time, where the current sub-module is a sub-module in the first device or the second device.
Specifically, the specific size of the second preset time may be customized as required, and the second preset time may be different empirical values for different module functions and module numbers of different devices of different communication systems. And the second preset time is longer than the first preset time, and the total number of the control data analyzed by the current sub-module in the second preset time is counted. In one embodiment, if the current sub-module does not have the capability to parse the control data, the next sub-module is entered until the sub-module having the capability to parse the control data is reached. The current sub-module is a sub-module in the first device or the second device, and can judge the abnormal range of the first device through the frame data sent by the first device and recover, and can also judge the abnormal range of the second device through the frame data received by the second device and recover.
In one embodiment, the current sub-module is a smaller level of sub-modules of the current device.
Specifically, according to the division of the sub-modules, there may be smaller sub-modules under the sub-modules, and the current sub-module may be a sub-module of a smaller level. By the aid of the sub-modules with smaller levels, abnormal conditions of modules among different levels, such as a current sub-module, a previous sub-module of the current sub-module, current equipment and the like, can be determined, and quick positioning and quick recovery effects are achieved. In a specific embodiment, the current sub-module is a secondary sub-module in a primary sub-module of the current device, such as one of secondary sub-module a11, secondary sub-module a12, secondary sub-module a21, secondary sub-module a22, secondary sub-module b11, secondary sub-module b12, secondary sub-module b21, and secondary sub-module b 22.
And step S230, calculating according to the second preset time, the first preset time and the configuration value to obtain a module abnormity evaluation range.
Specifically, configuration values corresponding to abnormal ranges when the modules of different levels are abnormal can be determined according to the level number of the current sub-module, and specific algorithm operation is performed in combination with the second preset time and the first preset time to obtain the module abnormal evaluation ranges corresponding to the modules of different levels. And if the current sub-module corresponds to the first configuration value and the second configuration value, calculating to obtain the normal range and the abnormal range of the current sub-module according to the second preset time, the first preset time and the first configuration value and the second configuration value, calculating to obtain the abnormal range corresponding to the previous sub-module of the current sub-module according to the third configuration value and the fourth configuration value and the second preset time, the first preset time and the first configuration value and calculating to obtain the abnormal range corresponding to the previous sub-module of the current sub-module according to the second preset time, the third configuration value and the fourth configuration value. And analogizing in sequence, all the upper-level submodules of the current submodule layer by layer have corresponding abnormal ranges until the whole equipment is abnormal. The specific calculation method can be customized as required, and the configuration values can be determined according to the functions and experience values of the modules when the abnormal ranges corresponding to the modules with different sizes are calculated.
Step S240, judging the abnormal module range of the current system according to the relationship between the number and the module abnormal evaluation range.
Specifically, the number of the abnormal sub-modules is judged to fall into the abnormal range of the target level sub-module in the abnormal evaluation range of the module, if the number of the abnormal sub-modules falls into the abnormal range of the current sub-module, the abnormal sub-module is judged to be the current sub-module, if the number of the abnormal sub-modules falls into the abnormal range of the previous sub-module of the current sub-module, the abnormal sub-module is judged to be the previous sub. If the current sub-module falls into the normal range, the current sub-module is normal, and the next sub-module is entered to repeat the steps S210 to S240. .
In the embodiment, frame data carrying control data is acquired, the frame data is sent to second equipment by first equipment, the control data is inserted into the frame data every first preset time, the number of the control data analyzed by a current submodule within second preset time is acquired, the current submodule is a submodule in the first equipment or the second equipment, a module abnormity evaluation range is calculated according to the second preset time, the first preset time and a configuration value, the abnormity module range of the current system is judged according to the relation between the number and the module abnormity evaluation range, the abnormity module range of the current system is judged by inserting the control data into the frame data and according to the relation between the number of the control data analyzed by the current submodule within the second preset time and the module abnormity evaluation range, the abnormity module range of the current system can be quickly positioned simply, conveniently and in real time, and the subsequent recovery can be pertinently performed, the efficiency of system anomaly diagnosis is improved.
In one embodiment, after step S240, the method further includes: and recovering the corresponding abnormal module according to the range of the abnormal module.
Specifically, if the abnormal module is the current sub-module, the current sub-module is recovered, and if the abnormal module is the previous sub-module of the current sub-module, the previous sub-module of the current sub-module is recovered. If the current system is abnormal, if the current system immediately enters the abnormal target sub-module for recovery, if the abnormal sub-module is initialized or the whole equipment is reset, after the recovery, all the previous statistical data are initialized, the number of the analyzed control data in the second preset time is obtained through statistics again, and whether the system is abnormal or not is judged again. Due to the fact that the efficiency of system abnormity diagnosis is improved, the abnormity module can be rapidly identified, recovery is rapidly conducted, and the system recovery efficiency is also improved.
In one embodiment, the frame data is transmitted to a first termination submodule through a first start submodule on a data link in the first device, and is sent to the second device through the first termination submodule, the current submodule is a submodule on the data link in the first device, and the abnormal module range is in the first device.
Specifically, the data link is a path for frame data transmission, and the first starting sub-module inserts control data into the frame data every a first preset time and transmits the original frame data with the control data inserted into the frame data to a next sub-module of the first starting sub-module. If the transmission is transparent, the original frame data is directly transmitted from the first starting sub-module to the next sub-module. And if new data needs to be added in the transmission process of the original frame data, directly attaching the added data to the original frame data to obtain incremental frame data, keeping the control data unchanged, and transmitting the incremental frame data to the next submodule. In the transmission process of the original frame data, the part of the frame data except the control data can be analyzed originally, the data processing and transformation are carried out to obtain the transformed processing data, the processing data and the control data are added to form new transformed frame data, and then the new transformed frame data are transmitted to the next module. Different transmission modes ensure that control data is kept unchanged in each submodule when transmitted on a data link. If the current sub-module is a sub-module on the data link in the first device, the range of the abnormal module on the data sending device can be diagnosed and recovered.
In one embodiment, the frame data is data sent by the first device to a second start submodule on a data link in the second device, the frame data is transmitted to a second stop submodule on the data link in the second device through the second start submodule, the current module is a submodule on the data link in the second device, and the abnormal module range is in the second device.
Specifically, the second start submodule carries control data from the original frame data received by the first device, and transmits the original frame data to the next submodule of the second start submodule. If the transmission is transparent, the original frame data is directly transmitted from the second starting sub-module to the next sub-module. And if the original frame data needs to be added in the transmission process, directly attaching the added data to the original frame data to obtain incremental frame data, keeping the control data unchanged, and transmitting the incremental frame data to the next submodule. In the transmission process of the original frame data, the part of the frame data except the control data can be analyzed, the data processing and transformation are carried out to obtain the transformed processing data, the processing data and the control data are added to form new transformed frame data, and then the new transformed frame data are transmitted to the next module. Different transmission modes ensure that control data is kept unchanged in each submodule when transmitted on a data link. If the current sub-module is a sub-module on the data link in the second device, the range of the abnormal module on the data receiving device can be diagnosed and recovered.
In one embodiment, the step of calculating to obtain the module abnormal evaluation range according to the second preset time, the first preset time and the configuration value, judging the abnormal module range of the current system according to the relationship between the number and the module abnormal evaluation range, and recovering the corresponding abnormal module according to the abnormal module range includes: calculating the proportion of a second preset time t2 and a first preset time t1 to obtain a time ratio w which is t2/t1, if w-n1< m is not less than w + n2, judging that a current sub-module is normal, wherein n1 and n2 are configuration values, n1 is less than w, wherein m is the number of the control data analyzed by the current sub-module in the second preset time, if w-n3< m is not less than w-n1 or w + n2< m is not less than w + n4, judging that the current sub-module is abnormal, recovering the current sub-module, wherein n4 and n4 are configuration values, n4< w and n4< n4, if w-n 4< m is not less than w-n 4 or w + n4< m is not less than w + n4, judging that a previous-stage module where the current sub-module is abnormal, recovering the previous-stage module where the current sub-module is located, wherein n4, n4 is configuration value, n4 and n + n4 is n4, n + n4 is n + n4, and n +, and recovering the whole equipment.
Specifically, the specific sizes of the second preset time t2 and the first preset time t1 can be customized as required, wherein the second preset time is greater than the first preset time. The specific values of n1, n2, n3, n4, n5, n6 can be configured according to the current system, and can be empirical values. The target abnormal module can be determined according to the abnormal evaluation range of the module in which the number is positioned by counting the number once, covers the current sub-module, the previous-stage module of the current sub-module and the abnormal conditions of different ranges of the whole equipment, and is accurate in positioning, high in speed, convenient and fast. The time for initializing the current sub-module is t3, the time for initializing the previous-stage module of the current sub-module is t4, the time for resetting the whole equipment is t5, generally, t3 is more than t4 and less than t5, the specific value software is configurable, and different modules need different recovery times due to abnormity. By classifying the abnormal conditions of the system and adopting corresponding self-recovery aiming at different abnormal conditions, the actual recovery method and time are controllable, and the influence of the system abnormality on the whole system is reduced.
In a specific embodiment, in conjunction with fig. 3, the specific process of the system abnormality diagnosis method is as follows:
when the submodule a1 of the first device is responsible for transmitting data, control data of specific information is inserted into the transmitted frame data every time t1, wherein the value of t1 is configurable, and the specific information is not limited. All the sub-modules after the first device sub-module a1 and all the sub-modules of the second device, all or part of the sub-modules having the function of parsing the control data from the frame data, and counting the number of the parsed control data in time t2, where the number of the control data is assumed to be m, and the values of t1 and t2 are configurable. And each submodule judges whether the current system is normal or not according to the value of m and takes corresponding self-recovery measures. The corresponding judgment criteria are as follows:
1. if the sub-module a21 does not have the function of analyzing the control data from the frame data, jumping to the judgment criterion "2"; otherwise, the sub-module a21 determines the current sub-module a21 and the system state according to the value of m, and if the sub-module a21 is normal, the judgment criterion is '2'; if the abnormal condition exists, jumping to a judgment criterion of '4', and taking corresponding measures according to different abnormal conditions: when sub-module a21 is abnormal, initializing sub-module a 21; when sub-module a1 has a problem, the whole sub-module a1 is initialized, and when the whole device has a problem, the whole device is reset.
2. If the sub-module a22 does not have the function of analyzing the control data from the frame data, jumping to the judgment criterion "3"; otherwise, the sub-module a22 determines the current sub-module a22 and the system state according to the value of m, and if the sub-module a22 is normal, the judgment criterion is '3'; if the abnormal condition exists, jumping to a judgment criterion of '4', and taking corresponding measures according to different abnormal conditions: when sub-module a22 is abnormal, initializing sub-module a 22; when sub-module a2 has a problem, the whole sub-module a2 is initialized, and when the whole device has a problem, the whole device is reset.
3. And the sub-module a23 and other sub-modules determine the states of all sub-modules and systems with the function of analyzing the control data from the frame data one by one according to the method of the judgment criterion "1", and adopt corresponding self-recovery measures until all sub-modules with the function of analyzing the control data from the frame data determine the system states after a 21.
4. And (6) finishing judgment.
According to the value of m, whether the system state is abnormal can be judged, and w is t2/t1, wherein one judgment criterion is as follows:
if w-n1< m is not less than w + n2, judging that the current submodule is normal, wherein n1 and n2 are configuration values, and n1 is less than w;
if w-n3 is more than or equal to m and less than or equal to w-n1 or w + n2 is more than or equal to m and less than or equal to w + n4, judging that the current sub-module is abnormal, wherein n3 and n4 are configuration values, n3 is more than w, and n2 is more than n 4;
if w-n5 is more than or equal to m and less than or equal to w-n3 or w + n4 is more than or equal to m and less than or equal to w + n6, judging that the previous-stage module where the current sub-module is located is abnormal, wherein n5 and n6 are configuration values, n5 is more than w, and n4 is more than n 6;
and if m is less than or equal to w-n5 or w + n6 is less than m, judging that the whole equipment where the current sub-module is located is abnormal.
The method for diagnosing the system abnormality is described in the following by several specific application scenarios:
in a specific embodiment, in a satellite communication system, a first device is a master station, a second device is an end station, and a method for diagnosing system abnormality includes the following steps:
the first step is as follows: the method comprises the steps of defining a communication network architecture, and carrying out communication between a master station and an end station, wherein the master station comprises a plurality of sub-modules such as a BBU (Base Band Unit) frame and a master station antenna, and the end station comprises a plurality of sub-modules such as an end station antenna and a receiving demodulation module. Each sub-module can be subdivided into a plurality of smaller sub-modules, for example, the BBU frame can be subdivided into a plurality of smaller sub-modules such as a clock single board, a baseband single board and the like, and the receiving demodulation module can be subdivided into a plurality of smaller sub-modules such as a tuner chip module, a demodulation chip module and the like.
The second step is that: the master station transmits data, and the end stations receive the data. When the baseband single board of the master station is responsible for transmitting data, control data is inserted into the transmitted frame data every 100ms, and the control data is fixed data. When the end station receives the data, the demodulation chip module analyzes the control data from the frame data, and counts the number of the analyzed control data within 3s, wherein m is assumed. And the demodulation chip module judges whether the current system is normal or not according to the value of m and takes corresponding self-recovery measures. The corresponding judgment criteria are as follows:
1. the demodulation chip module determines the current state of the demodulation chip module and the system according to the value of m, if the current state of the system is normal, the current state of the system is determined to be normal, the judgment criterion is '2', and no self-recovery measure is taken; if the abnormal condition exists, jumping to the judgment criterion of '2', and taking corresponding measures according to different abnormal conditions: when the demodulation chip module is abnormal, the demodulation chip module is initialized, when the receiving demodulation module is abnormal, the whole receiving demodulation module is initialized, and when the whole end station has problems, the whole end station is reset.
2. And (6) finishing judgment.
In this embodiment, the criterion for determining whether the system state is abnormal according to the value m is as follows:
1. when m is less than or equal to 32 and is more than 28, the system is judged to be normal.
2. And when m is more than 20 and less than or equal to 28 or m is more than 32 and less than or equal to 40, judging that the demodulation chip module of the system end station is abnormal.
3. And when m is more than 10 and less than or equal to 20 or m is more than 40 and less than or equal to 50, judging that the receiving demodulation module is abnormal.
4. And when m is less than or equal to 10 or m is more than 50, judging that the whole end station is abnormal.
And after the sub-module initialization or the end station reset is completed, counting m again, and judging again according to the new counted m value and the above criteria. The time for initializing the demodulation chip module is t1, the time for initializing the receiving demodulation module is t2, the time for resetting the whole end station is t3, the relationship between the three is that t1 is less than t2 is less than t3, and the specific value software can be configured.
In a specific embodiment, in a satellite communication system, a first device is a master station, a second device is an end station, and a method for diagnosing system abnormality includes the following steps:
the first step is as follows: defining a communication network architecture, and communicating between a master station and an end station, wherein the master station consists of a plurality of sub-modules such as a BBU frame and a master station antenna, and the end station consists of a plurality of sub-modules such as an end station antenna and a receiving demodulation module; further, each sub-module may be subdivided into a plurality of smaller sub-modules, for example, the BBU frame may be subdivided into a plurality of smaller sub-modules such as a clock single board, a baseband single board, and the like, and the receiving demodulation module may be subdivided into a plurality of smaller sub-modules such as a tuner chip module, a demodulation chip module, and the like.
The second step is that: the master station transmits data, and the end stations receive the data. When the baseband single board of the master station is responsible for sending data, control data is inserted into the sent frame data every 200ms, and the control data is fixed data. When the end station receives the data, the demodulation chip module analyzes the control data from the frame data, and counts the number of the data of the analyzed specific information within 6s, and the assumption is m. And the demodulation chip module judges whether the current system is normal or not according to the value of m and takes corresponding self-recovery measures. The corresponding judgment criteria are as follows:
1. the demodulation chip module determines the current state of the demodulation chip module and the system according to the value of m, if the current state of the system is normal, the current state of the system is determined to be normal, the judgment criterion is '2', and no self-recovery measure is taken; if the abnormal condition exists, jumping to the judgment criterion of '2', and taking corresponding measures according to different abnormal conditions: when the demodulation chip module is abnormal, initializing the demodulation chip module; when the receiving demodulation module is abnormal, initializing the whole receiving demodulation module; and when the whole end station is abnormal, resetting the whole end station.
2. And (6) finishing judgment.
In this embodiment, the criterion for determining whether the system state is abnormal according to the value m is as follows:
1. when m is less than 29 and less than or equal to 32, the system is judged to be normal.
2. And when m is more than 25 and less than or equal to 29 or m is more than 32 and less than or equal to 40, judging that the demodulation chip module of the system end station is abnormal.
3. And when m is more than 20 and less than or equal to 25 or m is more than 40 and less than or equal to 50, judging that the receiving demodulation module is abnormal.
4. And when m is less than or equal to 20 or m is more than 50, judging that the whole end station is abnormal.
And after the sub-module initialization or the end station reset is completed, counting m again, and judging again according to the new counted m value and the above criteria. The time for initializing the demodulation chip module is t1, the time for initializing the receiving demodulation module is t2, the time for resetting the whole end station is t3, the relationship between the three is that t1 is less than t2 is less than t3, and the specific value software can be configured.
In a specific embodiment, in a satellite communication system, a first device is a master station, a second device is an end station, and a method for diagnosing system abnormality includes the following steps:
the first step is as follows: defining a communication network architecture, and communicating between a master station and an end station, wherein the master station consists of a plurality of sub-modules such as a BBU frame and a master station antenna, and the end station consists of a plurality of sub-modules such as an end station antenna and a receiving demodulation module; further, each sub-module may be subdivided into a plurality of smaller sub-modules, for example, the BBU frame may be subdivided into a plurality of smaller sub-modules such as a clock single board, a baseband single board, and the like, and the receiving demodulation module may be subdivided into a plurality of smaller sub-modules such as a tuner chip module, a demodulation chip module, and the like.
The second step is that: the master station transmits data, and the end stations receive the data. When the baseband single board of the master station is responsible for transmitting data, control data is inserted into the transmitted frame data every 100ms, and the control data is fixed data. When the end station receives the data, the tuner chip module and the demodulation chip module can analyze the control data from the frame data, and count the number of the analyzed control data within 3s, which is assumed to be m. And the tuner chip module and the demodulation chip module judge whether the current system is normal according to the value of m and adopt corresponding self-recovery measures. The corresponding judgment criteria are as follows:
1. the tuner chip module determines the states of the tuner chip module and the system according to the value of m, and if the tuner chip module is normal, the tuner chip module jumps to the judgment criterion of '2'; if the abnormal condition exists, jumping to a judgment criterion of '3', and taking corresponding measures according to different abnormal conditions: initializing the tuner chip module when the tuner chip module is abnormal; when the receiving demodulation module is abnormal, initializing the whole receiving demodulation module; and when the whole end station is abnormal, resetting the whole end station.
2. The demodulation chip module determines the current state of the demodulation chip module and the system according to the value of m, if the current state of the system is normal, the current state of the system is determined to be normal, the judgment criterion is '3', and no self-recovery measure is taken; if the abnormal condition exists, jumping to a judgment criterion of '3', and taking corresponding measures according to different abnormal conditions: when the demodulation chip module is abnormal, initializing the demodulation chip module; when the receiving demodulation module is abnormal, initializing the whole receiving demodulation module; and when the whole end station is abnormal, resetting the whole end station.
3. And (6) finishing judgment.
In this embodiment, the criterion for determining whether the system state is abnormal according to the value m is as follows:
1. when m is less than or equal to 32 and is more than 28, the system is judged to be normal.
2. And when m is more than 20 and less than or equal to 28 or m is more than or equal to 32 and less than or equal to 40, judging that the tuner chip module or the demodulation chip module of the system end station is abnormal.
3. And when m is more than 10 and less than or equal to 20 or m is more than 40 and less than or equal to 50, judging that the receiving demodulation module is abnormal.
4. And when m is less than or equal to 10 or m is more than 50, judging that the whole end station is abnormal.
And after the sub-module initialization or the end station reset is completed, counting m again, and judging again according to the new counted m value and the above criteria. The time for initializing the tuner chip module or the demodulation chip module is t1, the time for initializing the receiving demodulation module is t2, and the time for resetting the whole terminal station is t3, wherein the relationship between the time for initializing the tuner chip module or the demodulation chip module and the time for resetting the whole terminal station is t1< t2< t3, and the specific value software can be configured.
In a specific embodiment, in a wireless communication system, between base stations, any one base station is used as a first device, and any another base station is used as a second device, the method for diagnosing system abnormality includes the following steps:
the first step is as follows: the architecture of the communication network is defined. The method comprises the following steps that communication is carried out between a first base station and a second base station, wherein the first base station and the second base station are composed of a plurality of sub-modules such as a BBU (base band Unit), a RRU (Radio Remote Unit) and the like; further, the BBU may be subdivided into a plurality of smaller sub-modules such as a clock module and a baseband module, and the RRU may be subdivided into a plurality of smaller sub-modules such as a baseband module and an intermediate frequency module.
The second step is that: the first base station transmits data and the second base station receives data. When the baseband module of the first base station is responsible for transmitting data, control data is inserted into the transmitted frame data every 100ms, and the control data is fixed data. When the second base station receives the data, the baseband module of the RRU may parse the control data from the frame data, and count the number of the parsed control data within 3s, assuming that m is m. And the base band module of the RRU judges whether the current system is normal according to the value of m and takes corresponding self-recovery measures. The corresponding judgment criteria are as follows:
1. the base band module of the RRU determines the current state of the base band module and the system of the RRU according to the value of m, if the current state of the system is normal, the current state of the system is determined to be normal, the judgment criterion is '2', and no self-recovery measure is taken; if the abnormal condition exists, jumping to the judgment criterion of '2', and taking corresponding measures according to different abnormal conditions: when the baseband module of the RRU is abnormal, initializing the baseband module of the RRU; when the RRU is abnormal, initializing the whole RRU; and when the whole second base station is abnormal, resetting the whole second base station.
2. And (6) finishing judgment.
In this embodiment, the criterion for determining whether the system state is abnormal according to the value m is as follows:
1. when m is less than or equal to 32 and is more than 28, the system is judged to be normal.
2. And when m is more than 20 and less than or equal to 28 or m is more than 32 and less than or equal to 40, judging that the base band module of the RRU of the second base station is abnormal.
3. And when m is more than 10 and less than or equal to 20 or m is more than 40 and less than or equal to 50, judging that the RRU of the second base station is abnormal.
4. And when m is less than or equal to 10 or m is more than 50, judging that the whole second base station is abnormal.
And after the initialization of the submodule or the reset of the second base station is finished, counting m again, and judging again according to the new counted m value and the above criteria. The time for initializing the baseband module of the RRU of the second base station is t1, the time for initializing the RRU of the second base station is t2, and the time for resetting the whole second base station is t3, and the relationship between the three is that t1 is less than t2 and less than t3, and the specific value software can be configured.
In one embodiment, as shown in fig. 4, there is provided an apparatus for system abnormality diagnosis, including:
the frame data obtaining module 310 is configured to obtain frame data carrying control data, where the frame data is sent from a first device to a second device, and the control data is inserted into the frame data every first preset time.
The number obtaining module 320 is configured to obtain the number of the control data analyzed by the current sub-module within the second preset time, where the current sub-module is a sub-module in the first device or the second device.
The abnormal diagnosis module 330 is configured to obtain a module abnormal evaluation range according to the second preset time, the first preset time, and the configuration value, determine an abnormal module range of the current system according to a relationship between the number and the module abnormal evaluation range, and recover a corresponding abnormal module according to the abnormal module range.
In one embodiment, the frame data is data transmitted to a first termination submodule through a first start submodule on a data link in first equipment and is sent to second equipment through the first termination submodule, the current submodule is a submodule on the data link in the first equipment, the abnormal module range is data transmitted to a second start submodule on the data link in the second equipment from the first equipment or the frame data is data transmitted to a second termination submodule on the data link in the second equipment through the second start submodule, the current module is a submodule on the data link in the second equipment, and the abnormal module range is in the second equipment.
In one embodiment, the current sub-module is a smaller level of sub-modules of the current device.
In an embodiment, the number obtaining module is further configured to determine whether the current sub-module can analyze the frame data to obtain the control data, and if not, obtain a next sub-module of the current sub-module, and use the next sub-module as the current sub-module until the current sub-module analyzes the frame data to obtain the control data.
In one embodiment, as shown in FIG. 5, the anomaly diagnostic module 330 includes:
the time ratio calculating unit 331 is configured to calculate a ratio of the second preset time t2 to the first preset time t1 to obtain a time ratio w of t2/t 1.
And the first diagnosis unit 332 is used for judging that the current submodule is normal if w-n1< m ≦ w + n2, wherein n1 and n2 are configuration values, and n1< w, and m is the number of the control data parsed by the current submodule within the second preset time.
A second diagnosis unit 333, configured to determine that the current sub-module is abnormal if w-n3< m ≦ w-n1 or w + n2< m ≦ w + n4, where n3 and n4 are configuration values, n3< w, and n2< n 4;
and the third diagnosis unit 334 is used for judging that the previous-stage module where the current sub-module is located is abnormal if w-n5 is more than m and less than or equal to w-n3 or w + n4 is more than m and less than or equal to w + n6, wherein n5 and n6 are configuration values, n5 is more than w, and n4 is more than n 6.
And the fourth diagnosis unit 335 is used for judging that the whole equipment where the current sub-module is located is abnormal if m is less than or equal to w-n5 or w + n6 is less than m.
In one embodiment, as shown in fig. 6, the apparatus further comprises:
and a recovery module 340, configured to recover the corresponding abnormal module according to the abnormal module range.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, for example, in the storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A method of system anomaly diagnosis, the method comprising:
acquiring frame data carrying control data, wherein the frame data is sent to second equipment by first equipment, and the control data is inserted into the frame data every other first preset time;
acquiring the number of the control data analyzed by a current sub-module within second preset time, wherein the current sub-module is a sub-module in the first equipment or the second equipment;
calculating according to the second preset time, the first preset time and the configuration value to obtain a module abnormity evaluation range;
and judging the abnormal module range of the current system according to the relationship between the number and the module abnormal evaluation range.
2. The method of claim 1, wherein the frame data is transmitted to the second device through a first start submodule on a data link in the first device to a first stop submodule, and the frame data is transmitted to the second device through the first stop submodule, the current submodule is a submodule on the data link in the first device, and the abnormal module range is in the first device; or
The frame data is sent by the first device to a second start submodule on a data link in the second device, the frame data is transmitted to a second termination submodule on the data link in the second device through the second start submodule, the current submodule is a submodule on the data link in the second device, and the abnormal module range is in the second device.
3. The method of claim 1, wherein the current sub-module is a smaller level of sub-modules of the current device.
4. The method according to claim 1, wherein the step of obtaining the number of the control data analyzed by the current sub-module within a second preset time comprises:
and judging whether the current sub-module can analyze the frame data to obtain control data, if not, acquiring the next sub-module of the current sub-module, and taking the next sub-module as the current sub-module until the current sub-module analyzes the frame data to obtain the control data.
5. The method according to claim 1, wherein the step of calculating the module abnormality evaluation range according to the second preset time, the first preset time and the configuration value, and the step of determining the abnormal module range of the current system according to the relationship between the number and the module abnormality evaluation range comprises:
calculating the ratio of the second preset time t2 to the first preset time t1 to obtain a time ratio w which is t2/t 1;
if w-n1< m is not less than w + n2, judging that the current submodule is normal, wherein n1 and n2 are configuration values, and n1< w, wherein m is the number of the control data analyzed by the current submodule within second preset time;
if w-n3< m ≦ w-n1 or w + n2< m ≦ w + n4, judging that the current sub-module is abnormal, wherein n3 and n4 are configuration values, n3< w and n2< n 4;
if w-n5< m is not less than w-n3 or w + n4< m is not less than w + n6, judging that the previous-stage module where the current sub-module is located is abnormal, wherein n5 and n6 are configuration values, n5< w and n4< n 6;
and if m is less than or equal to w-n5 or w + n6< m, judging that the whole equipment where the current sub-module is located is abnormal.
6. The method according to any one of claims 1 to 5, wherein after the step of determining the abnormal module range of the current system according to the relationship between the number and the module abnormality evaluation range, the method further comprises:
and recovering the corresponding abnormal module according to the range of the abnormal module.
7. An apparatus for system anomaly diagnosis, the apparatus comprising:
the frame data acquisition module is used for acquiring frame data carrying control data, the frame data is sent to second equipment by first equipment, and the control data is inserted into the frame data every other first preset time;
the number acquisition module is used for acquiring the number of the control data analyzed by the current sub-module within a second preset time, wherein the current sub-module is a sub-module in the first equipment or the second equipment;
and the abnormality diagnosis module is used for calculating to obtain a module abnormality evaluation range according to the second preset time, the first preset time and the configuration value, and judging the abnormality module range of the current system according to the relation between the number and the module abnormality evaluation range.
8. The apparatus according to claim 7, wherein the frame data is data that is passed to a first termination submodule through a first start submodule on a data link in the first device and is sent to the second device through the first termination submodule, the current submodule is a submodule on the data link in the first device, and the abnormal module range is in the first device; or
The frame data is sent to a second starting submodule on a data link in second equipment by first equipment and is transmitted to a second termination submodule on the data link in the second equipment through the second starting submodule, the current submodule is a submodule on the data link in the second equipment, and the range of the abnormal module is in the second equipment.
9. The apparatus of claim 7, wherein the current sub-module is a smaller level of sub-modules of the current device.
10. The apparatus according to claim 7, wherein the number obtaining module is further configured to determine whether the current sub-module can parse the frame data to obtain the control data, and if not, obtain a next sub-module of the current sub-module, and use the next sub-module as the current sub-module until the current sub-module parses the frame data to obtain the control data.
11. The apparatus of claim 7, wherein the anomaly diagnosis module comprises:
the time ratio calculating unit is used for calculating the ratio of the second preset time t2 to the first preset time t1 to obtain a time ratio w which is t2/t 1;
the first diagnosis unit is used for judging that the current submodule is normal if w-n1< m is not more than w + n2, wherein n1 and n2 are configuration values, n1< w, and m is the number of the control data analyzed by the current submodule within second preset time;
a second diagnosis unit for judging the current submodule is abnormal if w-n3< m ≦ w-n1 or w + n2< m ≦ w + n4, wherein n3 and n4 are configuration values, n3< w and n2< n 4;
a third diagnosis unit, configured to determine that a previous-stage module where a current sub-module is located is abnormal if w-n5< m < w-n3 or w + n4< m < w + n6, where n5 and n6 are configuration values, n5< w and n4< n 6;
and the fourth diagnosis unit is used for judging that the whole equipment where the current sub-module is located is abnormal if m is less than or equal to w-n5 or w + n6< m.
12. The apparatus of any one of claims 7 to 11, further comprising:
and the recovery module is used for recovering the corresponding abnormal module according to the abnormal module range.
CN201710162132.8A 2017-03-17 2017-03-17 Method and device for diagnosing system abnormity Active CN108632103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710162132.8A CN108632103B (en) 2017-03-17 2017-03-17 Method and device for diagnosing system abnormity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710162132.8A CN108632103B (en) 2017-03-17 2017-03-17 Method and device for diagnosing system abnormity

Publications (2)

Publication Number Publication Date
CN108632103A CN108632103A (en) 2018-10-09
CN108632103B true CN108632103B (en) 2021-04-06

Family

ID=63687881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710162132.8A Active CN108632103B (en) 2017-03-17 2017-03-17 Method and device for diagnosing system abnormity

Country Status (1)

Country Link
CN (1) CN108632103B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009149583A1 (en) * 2008-06-12 2009-12-17 Zoran Corporation System and method for locating a fault on a device under test
CN103701627A (en) * 2012-09-27 2014-04-02 北京搜狐新媒体信息技术有限公司 Cloud computing platform fault detection method, cloud computing platform fault detection method, solving method and solving device
CN104486115A (en) * 2014-12-11 2015-04-01 北京百度网讯科技有限公司 Method and system for positioning fault
CN104486406A (en) * 2014-12-15 2015-04-01 浪潮电子信息产业股份有限公司 Layered resource monitoring method based on cloud data center
CN105675045A (en) * 2016-01-27 2016-06-15 安徽容知日新信息技术有限公司 Equipment data layered acquisition method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009149583A1 (en) * 2008-06-12 2009-12-17 Zoran Corporation System and method for locating a fault on a device under test
CN103701627A (en) * 2012-09-27 2014-04-02 北京搜狐新媒体信息技术有限公司 Cloud computing platform fault detection method, cloud computing platform fault detection method, solving method and solving device
CN104486115A (en) * 2014-12-11 2015-04-01 北京百度网讯科技有限公司 Method and system for positioning fault
CN104486406A (en) * 2014-12-15 2015-04-01 浪潮电子信息产业股份有限公司 Layered resource monitoring method based on cloud data center
CN105675045A (en) * 2016-01-27 2016-06-15 安徽容知日新信息技术有限公司 Equipment data layered acquisition method and device

Also Published As

Publication number Publication date
CN108632103A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
EP2746813A1 (en) Detection of spoofing of GNSS navigation signals
EP2684304B1 (en) Apparatus and method for detecting faulty antennas
CN109417541B (en) Method and apparatus for signal detection
KR20130012914A (en) System and method for deterministic testing of packet error rate in electronic devices
CN109644356B (en) Method and device for transmitting information
EP3796579B1 (en) Wireless communication with time-delay repetition detection
US20160359710A1 (en) Packet loss detection method, apparatus, and system
US9473342B2 (en) Methods, systems, and computer readable media for single and multi-carrier downlink and uplink control information resolution
CN116114363A (en) Synchronization offset identification and refinement for network-based positioning in unlicensed spectrum
CN108632103B (en) Method and device for diagnosing system abnormity
CN104539475B (en) A kind of method and device of determination SCA gathered data correctness
US10812221B2 (en) Channel signal decoding with unknown station identifier information using power detection and redundancy reduction-based error checking
CN103338131A (en) Method and equipment for testing log transmitting loss rate
US9143247B2 (en) Wireless communication method and apparatus
CN111131262A (en) Vulnerability scanning method and device
CN112689324A (en) Method for determining synchronous reference source and terminal
CN113784452B (en) Method, system, equipment and storage medium for improving random access success rate
CN112383660B (en) Throughput rate testing method and device of intelligent terminal, storage medium and terminal
CN115580359A (en) Method and system for detecting passive intermodulation of base station
US9497101B2 (en) System and method for capturing and enabling analysis of test data packets from a radio frequency data packet signal transceiver
US20210185626A1 (en) Method for indicating position of synchronization signal block, method for acquiring position of synchronization signal block, base station, terminal and medium
CN114642050A (en) Method and apparatus for signaling procedures
US11457100B2 (en) Classification method and classification module
US11889329B2 (en) Radio performance measurement system, radio performance measurement method, radio performance measurement device, and radio performance measurement program
CN107006035B (en) Data transmission response indication method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant