Fault assessment method, device, equipment and medium for peripheral equipment of network connection box

By actively obtaining peripheral data on the networked box host and using an abnormality detection algorithm for fault location and risk assessment, the problem that the networked box host cannot maintain peripherals in a timely manner in the existing technology has been solved, and the fault response speed and networked box are improved. Functional stability of the box.

CN118642880BActive Publication Date: 2024-11-22BEIJING YINGCHUANGLIHE ELECTRONIC TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411034853.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-22
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

In the prior art, the networked box host lacks initiative and cannot perform timely location and maintenance of peripheral faults, resulting in slow response speed and cannot ensure the normal operation of the networked box.

Method used

The networked box host periodically actively obtains the equipment data of all peripherals, uses an abnormality detection algorithm to obtain abnormal working information, generate fault characteristic information, calculate fault scores, and use a layered alarm strategy to output fault alarm messages, conduct risk assessment, and realize Fault location and risk prediction of peripheral devices.

Benefits of technology

It realizes active fault checking and positioning of the networked box host, improves the fault response speed, and ensures the normal function operation of the networked box.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118642880B_ABST
    Figure CN118642880B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, equipment and medium for fault assessment of peripherals of a network connection box, and relates to the field of data processing technology. The method includes: the network connection box host periodically and actively obtains the equipment data of all peripherals connected to it for communication; fault location is performed through abnormal working information, equipment data and historical fault sets to obtain characteristic information of each current fault, and the current fault set is generated by the characteristic information; the fault score of each current fault is calculated according to the correlation between the characteristic information of each current fault, and a fault alarm message is output according to the fault score using a hierarchical alarm strategy; risk assessment is performed according to the current fault set, the historical fault set and the risk threshold to obtain the peripheral risk prediction result. The present invention can realize that the network connection box host actively performs fault inspection on the peripherals connected to it, performs hierarchical alarm, and can also perform risk estimation on the peripherals, which greatly improves the fault response speed and ensures the normal operation of the network connection box.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of data processing, and in particular relates to a fault assessment method, device, equipment and medium for peripheral equipment of a network connection box. Background Art

[0002] With the continuous development of modern science and technology, the network box is more and more widely used in the fields of industry, agriculture, intelligent driving, etc., which is realized by connecting dozens of devices (collectively referred to as peripherals) to the network box host for automatic control. For example, the network box host is connected to the fan system, door lock system, communication equipment, sensor system, power system and other peripherals by wireless or wired means, and the fan system, door lock system, communication equipment and other execution equipment are automatically controlled through the data collected by the sensor system. Therefore, whether the peripherals work normally is an important factor affecting the realization of the automatic control function of the network box.

[0003] At present, faults of peripheral devices in networked boxes are usually discovered through manual inspections, or alarm devices are set on the peripheral devices. When the peripheral device self-detects that an abnormality has occurred and cannot work normally, it will report a warning message. This method is for the host of the networked box to passively receive peripheral fault warning information, lacks initiative, cannot timely grasp the current operating status of each peripheral, cannot maintain the peripheral device in time, and it is difficult to ensure the normal operation of the networked box.

[0004] Therefore, how to enable the network box host to actively diagnose, locate and maintain faults of peripherals is an urgent problem to be solved. Summary of the invention

[0005] In order to solve the technical problems that the network connection box host lacks initiative, is difficult to locate faults, has slow fault response speed, and cannot timely maintain peripherals due to fault detection performed by manual inspection or peripheral self-detection in the prior art, the present invention discloses a fault assessment method for network connection box peripherals, the method comprising the following steps:

[0006] S1, the network box host periodically and actively obtains the device data of all peripherals connected to it;

[0007] S2. According to the device data and the state judgment set, an abnormality detection algorithm is used to obtain abnormal working information, and fault location is performed through the abnormal working information, the device data and the historical fault set to obtain characteristic information of each current fault, and a current fault set is generated according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault;

[0008] S3, calculating a fault score of each current fault according to the association relationship between the characteristic information of each current fault, and outputting a fault alarm message using a hierarchical alarm strategy according to the fault score;

[0009] S4. Perform risk assessment based on the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result.

[0010] The embodiment of the present invention further provides a fault assessment device for a network connection box peripheral, comprising a data acquisition module, a fault assessment module, an alarm module and a risk prediction module.

[0011] Wherein, the data acquisition module is used to periodically and actively acquire data packets of all peripheral devices in communication connection with it;

[0012] The fault assessment module is used to obtain abnormal working information by using an abnormal detection algorithm based on the equipment data and the state judgment set, locate the fault through the abnormal working information, the equipment data and the historical fault set, obtain the characteristic information of each current fault, and generate the current fault set according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault;

[0013] The alarm module is used to calculate the fault score of each current fault according to the association relationship between the characteristic information of each current fault, and output the fault alarm message by adopting a hierarchical alarm strategy according to the fault score;

[0014] The risk prediction module is used to perform risk assessment based on the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result.

[0015] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned methods for evaluating the faults of a peripheral device of a network connection box when executing the computer program, so as to solve the technical problems in the prior art of performing fault detection by manual inspection or by self-detection of peripheral devices, which results in the lack of initiative of the host device of the network connection box, and causes difficulty in locating faults, slow fault response speed, and failure to maintain peripheral devices in a timely manner.

[0016] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program for executing any of the above-mentioned fault assessment methods for network-connected box peripherals, so as to solve the technical problems in the prior art that fault detection is performed through manual inspection or peripheral self-detection, which makes the network-connected box host lack initiative, resulting in difficulty in fault location, slow fault response speed and inability to maintain peripherals in a timely manner.

[0017] Compared with the prior art, the beneficial effects that can be achieved by at least one of the above technical solutions adopted in the embodiments of this specification include at least: the fault assessment method of the peripherals of the present invention, first, the network box host actively obtains the device data of all connected peripherals; secondly, through the abnormal detection algorithm, all abnormal working information is extracted using the acquired device data and the established state judgment set, and the characteristic information of each current fault is obtained by locating the extracted abnormal working information and device data, and the current fault set is obtained; then, a hierarchical alarm strategy is used to alarm each current fault in the current fault set, and risk estimation is performed for each peripheral. The method of the present invention can actively perform fault inspection and fault location, provide data basis for timely response measures, greatly improve the fault response speed, and is conducive to ensuring the realization of the network box function. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 A flowchart of a fault assessment method for a network connection box peripheral device disclosed in an embodiment of the present invention;

[0020] Figure 2 A structural diagram of a fault assessment device for a network connection box peripheral device disclosed in an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of a computer device disclosed in an embodiment of the present invention;

[0022] Among them, 201, data acquisition module; 202, fault assessment module; 203, alarm module; 204, risk prediction module; 2021, analysis submodule; 2022, abnormal information acquisition submodule; 2023, fault set generation submodule; 301, memory; 302, processor. DETAILED DESCRIPTION

[0023] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0024] The following describes the implementation methods of the present application through specific specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and the features of the embodiments can be combined with each other in the absence of conflict. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0025] The embodiment of the present invention provides a method for evaluating the fault of a peripheral device of a network connection box, see Figure 1 As shown, the fault assessment method comprises the following steps:

[0026] S1, the network box host periodically and actively obtains the device data of all peripherals connected to it;

[0027] S2. According to the device data and the state judgment set, an abnormality detection algorithm is used to obtain abnormal working information, and fault location is performed through the abnormal working information, the device data and the historical fault set to obtain characteristic information of each current fault, and a current fault set is generated according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault;

[0028] S3, calculating a fault score of each current fault according to the association relationship between the characteristic information of each current fault, and outputting a fault alarm message using a hierarchical alarm strategy according to the fault score;

[0029] S4. Perform risk assessment based on the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result.

[0030] In an optional embodiment of the above step S1, the device data acquisition process specifically includes:

[0031] S11, the network box host sends a fault check instruction to all peripherals connected to it according to a preset cycle;

[0032] S12. Traverse all the peripheral devices according to the fault check instruction, obtain data packets of all the peripheral devices, and decode all the data packets according to the data packet format to obtain device data.

[0033] In the specific implementation of step S1, the network box is connected by a host and multiple peripheral systems through wired communication or wireless communication, wherein the peripheral system includes a sensor system, a controlled system and other peripheral systems, and the sensor system may include any one or more of an angle sensor, a temperature and humidity sensor, a smoke sensor, a water leakage sensor, a gas sensor, and a particle sensor, and may also include other types of sensors, for example, a gas sensor can be used to monitor carbon dioxide, methane, hydrogen sulfide, and other flammable and explosive gases; a particle sensor can be used to detect the concentration of particulate matter (such as PM2.5, PM10, etc.). The controlled system can also be called an execution system, and may include any one or more of a fan system (including multiple fans), an air conditioning system, a door lock system (including multiple door locks), and a door magnet system (including multiple door magnets), and of course, other types of execution systems. Other peripheral systems may include power systems, communication systems, power supply systems, and the like. The network box controls the work of different execution systems through data collected in real time by sensors. For example, it monitors the environment based on data collected by temperature and humidity sensors to control the opening or closing of fan systems or air conditioning systems. It can also monitor the surrounding environment and send environmental information through smoke sensors, gas sensors, particle sensors, etc. By testing the power system, communication system and power supply system, the network status and communication status of the network box can be mastered.

[0034] When the host sends a fault check instruction, each peripheral device must send the data packet it collects to the host for fault check. In general, the content of the data packet involves a start identifier, a length field, a data type identifier, data content, a check code, etc. It should be noted that the data packet content of different types of peripherals is different. For example, the data packet content of the sensor includes data such as sensor readings and sensor operating parameters; the data packet content of the fan peripheral includes data such as whether the fan is started, speed, current / voltage, power, running time, start and stop frequency, etc. The data packet can be parsed step by step according to the data packet format using traditional methods (for example, string segmentation, regular expressions, parsers for specific data structures), and the present invention will not repeat it.

[0035] In an optional embodiment of the above step S2, the process of acquiring characteristic information of each current fault specifically includes:

[0036] S21. Determine judgment thresholds for different working states according to user requirements and peripheral types to obtain a state judgment set, wherein the peripheral types include sensor peripherals and controlled peripherals.

[0037] In specific implementation, different peripherals and their fault judgment conditions in different working states are different. Therefore, when designing the state judgment conditions, it is necessary to comprehensively consider the peripheral type and the corresponding judgment threshold. For example, for sensor peripherals, their function is to collect environmental data. The host controls the operation of the controlled peripherals according to the environmental data and the set threshold. For example, when the threshold is exceeded, the host controls the controlled peripherals to start or shut down. Then, the normal operation of the sensor, normal self-test, successful data transmission, and accurate data collection are all the basis for judging whether the sensor has failed. For another example, for controlled peripherals such as air-conditioning systems, whether the corresponding operation is performed when receiving the control command, whether it works normally, whether the power supply / voltage / power is normal, etc. can all be used as the basis for judging whether the air conditioner has failed.

[0038] S22. Based on the device data and status judgment set, an abnormality detection algorithm is used to obtain abnormal working information, wherein the abnormal working information includes one or more of failure to start, self-test error, data not sent, sensor not responding, network abnormality, power abnormality, electricity abnormality and voltage abnormality.

[0039] In the implementation of the present invention, the above-mentioned anomaly detection algorithm can adopt a rule-based method or a supervised learning method. The rule-based method is to detect anomalies in device data by setting threshold detection or by expert-defined rules and logic. The supervised learning method is to obtain a model (support vector machine (SVM) or neural network) through training with labeled normal and abnormal data, and use the trained model to identify anomalies in device data.

[0040] Among them, failure to start includes fan failure to start, door lock failure to close / open, door magnet failure to close / open, sensor failure to work, etc. Network abnormality includes low wireless signal strength and wired network communication abnormality. Voltage abnormality includes power supply abnormality, 12VDC abnormality, battery undervoltage, etc. Power abnormality includes (220VAC) overvoltage / undervoltage.

[0041] S23. Determine the occurrence location and fault type of each current fault according to the abnormal working information and the equipment data, and obtain the cumulative occurrence times of each current fault according to the historical fault set, wherein the historical fault set includes fault sets of multiple inspection cycles.

[0042] In specific implementation, when abnormal working information is found, it is necessary to locate the peripherals in combination with the equipment data to obtain the location and fault type. The current fault can also be matched with the faults in the historical fault set to obtain the cumulative number of occurrences of the current fault. The characteristic information of each fault can generate a fault code through the established fault code system, or it can be summarized in Excel, or it can exist in the form of an undirected graph or other icons. In the embodiment of the present invention, the characteristic information of the fault recorded in the form of a fault code is explained:

[0043] First, a fault code system including three or more bytes is established, in which the first byte to the third byte are: occurrence location (also known as fault identification code), fault type, and cumulative number of occurrences. Among them, the first byte represents the fault identification code, which is composed of letters and numbers. Each peripheral system and its subordinate peripherals use a unique number formed by a combination of letters and numbers to locate the peripheral and its subordinate peripherals. The second byte represents the fault type, including sensor value, voltage, network, data transmission, not started, not stopped, not responded, etc., which is used to show what kind of fault it is. The third byte represents the cumulative number of fault occurrences. By calculating the fault score of the current fault, the frequency or severity of the fault occurrence can be judged to facilitate hierarchical alarm. The fault code system can also set a fourth byte representing the "fault status". The fourth byte can be represented by a number. For example, setting the number to "1" means that the "fault status" is "fault occurrence status", and setting the number to 0 means that the "fault status" is "fault clearing status". In the fault code system, a byte representing the "fault occurrence time" can also be set.

[0044] Secondly, when characteristic information of each current fault is obtained after fault location, the fault code of the current fault can be generated using characteristic information such as the occurrence location, fault type, and cumulative number of occurrences.

[0045] In an optional embodiment of the above step S3, the method for calculating the fault score specifically includes:

[0046] S301, taking the occurrence location, fault type and cumulative occurrence times of each current fault as vertex information respectively, and constructing an undirected graph according to the vertex information, wherein each node in the undirected graph corresponds to one vertex information;

[0047] S302, determining the association between different vertex information according to the association of each node in the undirected graph;

[0048] S303, calculating the weight of each vertex information according to the association between different vertex information;

[0049] S304: Calculate a fault score of each current fault according to the weight of each vertex information, wherein the magnitude of the fault score is proportional to the degree of the fault.

[0050] Furthermore, in the above step S303, according to the association between different vertex information, the formula for calculating the weight of each vertex information is:

[0051] ,in, d is the damping coefficient, Represents all pointing nodes The collection of nodes, Represents all slave nodes The set of nodes connected by the outgoing edge, Representation Node and nodes The weight between Representation Node The weight of Representation Node The weight of Representation Node and nodes The weight between Belongs to Any node in a node set.

[0052] In another optional embodiment of the above step S3, the method for calculating the fault score specifically includes:

[0053] S311, taking the occurrence location, fault type and cumulative occurrence times of each current fault as vertex information respectively, and constructing an undirected graph according to the vertex information, wherein each node in the undirected graph corresponds to one vertex information;

[0054] S312, determining the association between different vertex information according to the association of each node in the undirected graph;

[0055] S313, calculating the first weight of each vertex information according to the correlation between different vertex information, and determining the weight of the pre-stored fault occurrence location, fault type and cumulative number of occurrences, which is called the second weight;

[0056] S314, respectively matching each of the vertex information with the pre-stored fault occurrence location, fault type and cumulative number of occurrences, and for the vertex information that successfully matches, superimposing the first weight and the second weight according to their respective proportional coefficients, and using the superimposed result as the final weight of the vertex information that successfully matches; for the vertex information that fails to match, using the first weight as the final weight of the vertex information;

[0057] S315 . Calculate a fault score of each current fault according to the final weight of each vertex information, where the magnitude of the fault score is proportional to the degree of the fault.

[0058] In an optional embodiment of the above step S3, the method for outputting the fault alarm message specifically includes:

[0059] S321, sorting all alarm modes by priority, and setting a first alarm threshold and a second alarm threshold, wherein the first alarm threshold is greater than the second alarm threshold;

[0060] S322. Compare the fault score with the alarm threshold set in step S321; when the fault score is ≥ the first alarm threshold, determine it as a serious fault, and output alarm information through all the alarm methods simultaneously; when the first alarm threshold is > the fault score > the second alarm threshold, determine it as a moderate fault, select 2 to 3 alarm methods with the highest priority and output alarm information simultaneously; when the fault score is ≤ the second alarm threshold, determine it as a low fault, and output alarm information through the alarm method with the first priority.

[0061] In an optional embodiment of the above step S4, the method for obtaining the peripheral risk prediction result specifically includes:

[0062] S41. According to the matching of the current fault set and the historical fault set, the number of recurrences of old faults and the number of new faults of each peripheral device are statistically obtained, and the ratio of the number of recurrences of old faults to the number of new faults is calculated to obtain the risk score of each peripheral device.

[0063] In specific implementation, the historical fault set can select data from multiple cycles before the current inspection cycle. The length of the inspection cycle can be determined according to user needs. At the same time, when performing risk assessment on different peripherals, the number of time periods in the historical fault set can be the same or different.

[0064] S42: If the risk score of the peripheral device is greater than or equal to a risk threshold, the peripheral device is judged to be of high risk; if the risk score of the peripheral device is less than the risk threshold, the peripheral device is judged to be of low risk.

[0065] In an improved embodiment of the above-mentioned method for evaluating the fault of the peripheral device of the network connection box, since the network connection box may experience abnormal power failure, in order to prevent the fault set obtained in each inspection cycle from being lost, the method of the present invention further includes:

[0066] Multiple storage spaces are created in the non-volatile memory EEPROM, and each storage space stores a fault set of an inspection cycle; when each current fault is eliminated, the inspection cycle and the current fault set are written into an empty storage space, and the historical fault set is updated. The fault set is stored in the non-volatile memory EEPROM, which can ensure that the stored historical information will not be cleared when the device is powered off or restarted, thereby ensuring accurate judgment of the fault in the current inspection cycle.

[0067] The principle of the fault assessment method of the peripherals of the present invention is: first, the network box host actively obtains the device data of all connected peripherals; secondly, through the abnormal detection algorithm, all abnormal working information is extracted using the acquired device data and the established state judgment set, and the characteristic information of each current fault is obtained by locating the extracted abnormal working information and device data to obtain the current fault set; then, a hierarchical alarm strategy is used to alarm each current fault in the current fault set, and risk estimation is performed for each peripheral. The method of the present invention can actively perform fault inspection and fault location, provide data basis for timely response measures, greatly improve the fault response speed, and help to ensure the realization of the network box function.

[0068] The method of the present invention has the following advantages:

[0069] 1. It can proactively check and locate faults and take timely response measures, which greatly improves the fault response speed and ensures the realization of the network connection box function.

[0070] 2. Through the hierarchical early warning strategy, alarm information can be sent to operation and maintenance personnel in a timely manner according to the fault score, ensuring that the operation and maintenance personnel can solve the fault in time.

[0071] 3. By combining the current fault set and the historical fault set, the fault risk of each peripheral can be predicted, so that high-risk peripherals can be maintained in time and the risk of the network connection box can be reduced.

[0072] Based on the same inventive concept, an embodiment of the present invention also provides a fault assessment device for a network box peripheral, as described in the following embodiments. Since the principle of solving the problem by the fault assessment device for a network box peripheral is similar to the fault assessment method for the network box peripheral mentioned above, the implementation of the fault assessment device can refer to the implementation of the above-mentioned fault assessment method, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0073] Figure 2 is a structural block diagram of a fault assessment device for a network connection box peripheral device disclosed in an embodiment of the present invention, such as Figure 2 As shown, the fault assessment device includes: a data acquisition module 201, a fault assessment module 202, an alarm module 203 and a risk prediction module 204, and the structure is described below.

[0074] The data acquisition module 201 is used to periodically and actively acquire data packets of all peripheral devices in communication connection with the module;

[0075] The fault assessment module 202 is used to obtain abnormal working information by using an abnormal detection algorithm based on the equipment data and the state judgment set, locate the fault through the abnormal working information, the equipment data and the historical fault set, obtain the characteristic information of each current fault, and generate the current fault set according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault;

[0076] The alarm module 203 is used to calculate the fault score of each current fault according to the association relationship between the characteristic information of each current fault, and output a fault alarm message using a hierarchical alarm strategy according to the fault score;

[0077] The risk prediction module 204 is used to perform risk assessment according to the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result.

[0078] In an improved embodiment, see Figure 2 As shown, the above-mentioned fault assessment module 202 includes a parsing submodule 2021, an abnormal information acquisition submodule 2022 and a fault set generation submodule 2023; the parsing submodule 2021 is used to decode the data packet to obtain device data; the abnormal information acquisition submodule 2022 is used to obtain abnormal working information by adopting an abnormal detection algorithm based on the device data and the state judgment set; the fault set generation submodule 2023 is used to locate the fault through the abnormal working information, the device data and the historical fault set, obtain the characteristic information of each current fault, and generate the current fault set according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative number of occurrences of each current fault.

[0079] In one embodiment, the alarm module 203 is used to take the occurrence location, fault type and cumulative number of occurrences of each current fault as vertex information, respectively, and construct an undirected graph based on the vertex information, wherein each node in the undirected graph corresponds to one vertex information; determine the correlation between different vertex information based on the correlation between each node in the undirected graph; calculate the weight of each vertex information based on the correlation between different vertex information; calculate the fault score of each current fault based on the weight of each vertex information, and the size of the fault score is proportional to the degree of the fault.

[0080] In one embodiment, the alarm module 203 is used to use the occurrence location, fault type and cumulative number of occurrences of each current fault as vertex information, respectively, to construct an undirected graph based on the vertex information, and each node in the undirected graph corresponds to one vertex information; determine the correlation between different vertex information based on the correlation between each node in the undirected graph, and calculate the first weight of each vertex information based on the correlation between different vertex information; determine the weight of the occurrence location, fault type and cumulative number of occurrences of the pre-stored fault, which is called the second weight; match each vertex information with the occurrence location, fault type and cumulative number of occurrences of the pre-stored fault respectively, and for the vertex information that is successfully matched, superimpose the first weight and the second weight according to their respective proportional coefficients, and use the superposition result as the final weight of the vertex information that is successfully matched; for the vertex information that fails to match, use the first weight as the final weight of the vertex information; calculate the fault score of each current fault based on the final weight of each vertex information, and the size of the fault score is proportional to the degree of the fault.

[0081] In one embodiment, the alarm module 203 is used to prioritize all alarm modes; when the fault score ≥ the first alarm threshold, the alarm information is output simultaneously through all the alarm modes; when the first alarm threshold > the fault score > the second alarm threshold, 2 to 3 alarm modes with the highest priority are selected to output the alarm information simultaneously; when the fault score ≤ the second alarm threshold, the alarm information is output through the alarm mode with the first priority, and the first alarm threshold > the second alarm threshold.

[0082] In one embodiment, the risk prediction module 204 is used to obtain statistics on the number of recurrences of old faults and the number of new faults of each peripheral device based on the matching of the current fault set and the historical fault set, and calculate the ratio of the number of recurrences of old faults to the number of new faults to obtain the risk score of each peripheral device; if the risk score of the peripheral device is ≥ the risk threshold, the peripheral device is judged to be high risk; if the risk score of the peripheral device is < the risk threshold, the peripheral device is judged to be low risk.

[0083] In this embodiment, a computer device is provided, such as Figure 3 As shown, it includes a memory 301, a processor 302 and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, any of the above-mentioned fault assessment methods for the peripheral device of the network connection box is implemented.

[0084] Specifically, the computer device may be a computer terminal, a server or a similar computing device.

[0085] In this embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program for executing any of the above-mentioned fault assessment methods for peripheral devices of a network connection box.

[0086] Specifically, computer-readable storage media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable storage media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0087] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, they can be made into individual integrated circuit modules, or multiple modules in them can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present invention are not limited to any specific combination of hardware and software.

[0088] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A fault assessment method for peripheral equipment of a network connection box, It is characterized in that include: The network box host periodically and actively obtains the device data of all peripherals connected to it in communication, including: the network box host sends a fault check instruction to all peripherals connected to it in communication according to a preset period; traverses all the peripherals according to the fault check instruction, obtains the data packets of all the peripherals, and decodes all the data packets according to the data packet format to obtain the device data; wherein the peripherals include sensor peripherals and controlled peripherals, the data of the sensor peripherals include sensor readings and sensor working parameters, and the data collected by the sensor peripherals in real time controls the work of different controlled peripherals; According to the equipment data and the state judgment set, an abnormality detection algorithm is used to obtain abnormal working information, and fault location is performed through the abnormal working information, the equipment data and the historical fault set to obtain characteristic information of each current fault, and a current fault set is generated according to the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault; According to the association relationship between the characteristic information of each current fault, the fault score of each current fault is calculated, and the fault alarm message is outputted using a hierarchical alarm strategy according to the fault score, including: taking the occurrence location, fault type and cumulative occurrence times of each current fault as vertex information respectively, and constructing an undirected graph according to the vertex information, wherein each node in the undirected graph corresponds to one vertex information; determining the association between different vertex information according to the association between each node in the undirected graph, and calculating the first weight of each vertex information according to the association between different vertex information; determining the weight of the occurrence location, fault type and cumulative occurrence times of the pre-stored fault, which is called the second weight; performing consistency matching on each vertex information with the occurrence location, fault type and cumulative occurrence times of the pre-stored fault respectively, and for the vertex information that is successfully matched, superimposing the first weight and the second weight according to their respective proportional coefficients, and taking the superimposed result as the final weight of the vertex information that is successfully matched; for the vertex information that fails to match, taking the first weight as the final weight of the vertex information; calculating the fault score of each current fault according to the final weight of each vertex information, and the magnitude of the fault score is proportional to the degree of the fault; Perform risk assessment based on the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result, including: according to the matching situation of the current fault set and the historical fault set, obtain the number of recurrences of old faults and the number of new faults of each peripheral, calculate the ratio of the number of recurrences of old faults to the number of new faults to obtain the risk score of each peripheral; if the risk score of the peripheral is ≥ the risk threshold, judge that the peripheral is high risk; if the risk score of the peripheral is < the risk threshold, judge that the peripheral is low risk.

2. The fault assessment method for a network connection box peripheral according to claim 1, It is characterized in that The abnormal working information is obtained by using an abnormal detection algorithm based on the device data and the state judgment set, and the fault location is performed through the abnormal working information, the device data and the historical fault set to obtain the characteristic information of each current fault, including: According to user requirements and peripheral types, determine the judgment thresholds for different working states to obtain a state judgment set; According to the device data and the state judgment set, an abnormality detection algorithm is used to obtain abnormal operation information, wherein the abnormal operation information includes one or more of failure to start, self-test error, data not sent, sensor not responding, network abnormality, power abnormality and voltage abnormality; The occurrence location and fault type of each current fault are determined according to the abnormal working information and the equipment data, and the cumulative occurrence times of each current fault are obtained according to the historical fault set, wherein the historical fault set includes fault sets of multiple inspection cycles.

3. The fault assessment method for a network connection box peripheral according to claim 1, It is characterized in that According to the association between different vertex information, the formula for calculating the first weight of each vertex information is: ,in, d is the damping coefficient, Represents all pointing nodes The collection of nodes, Represents all slave nodes The set of nodes connected by the outgoing edge, Representation Node and nodes The weight between Representation Node The first weight of Representation Node The weight of Representation Node and nodes The weight between Belongs to Any node in a node set.

4. The fault assessment method for a network connection box peripheral device according to any one of claims 1 to 3, It is characterized in that The step of outputting a fault alarm message by adopting a hierarchical alarm strategy according to the fault score includes: Prioritize all alarm modes; When the fault score is ≥ the first alarm threshold, the alarm information is output simultaneously through all the alarm methods; when the first alarm threshold is > the fault score > the second alarm threshold, 2 to 3 alarm methods with the highest priority are selected to output the alarm information simultaneously; when the fault score is ≤ the second alarm threshold, the alarm information is output through the alarm method with the first priority, and the first alarm threshold is > the second alarm threshold.

5. A fault assessment device for peripheral equipment of a network connection box, It is characterized in that include: A data acquisition module, the data acquisition module is used to periodically and actively acquire data packets of all peripherals connected to it in communication, including: the network connection box host sends a fault check instruction to all peripherals connected to it in communication according to a preset period; traverses all the peripherals according to the fault check instruction, acquires data packets of all the peripherals, and decodes all the data packets according to the data packet format to obtain device data; wherein the peripherals include sensor peripherals and controlled peripherals, the data of the sensor peripherals include sensor readings and sensor operating parameters, and the data collected by the sensor peripherals in real time controls the operation of different controlled peripherals; A fault assessment module, the fault assessment module is used to obtain abnormal working information by using an abnormal detection algorithm based on the device data and the state judgment set, locate the fault through the abnormal working information, the device data and the historical fault set, obtain the characteristic information of each current fault, and generate a current fault set based on the characteristic information of all the current faults, wherein the characteristic information includes the occurrence location, fault type and cumulative occurrence number of each current fault; An alarm module, the alarm module is used to calculate the fault score of each current fault according to the correlation between the characteristic information of each current fault, and output the fault alarm message using a hierarchical alarm strategy according to the fault score, including: taking the occurrence location, fault type and cumulative occurrence times of each current fault as vertex information respectively, constructing an undirected graph according to the vertex information, each node in the undirected graph corresponds to one vertex information; determining the correlation between different vertex information according to the correlation between each node in the undirected graph, and calculating the first weight of each vertex information according to the correlation between different vertex information; determining the pre-stored fault The weight of the occurrence location, fault type and cumulative number of occurrences is called the second weight; each of the vertex information is matched with the pre-stored occurrence location, fault type and cumulative number of occurrences of the fault respectively, and for the vertex information that is successfully matched, the first weight and the second weight are superimposed according to their respective proportional coefficients, and the superposition result is used as the final weight of the vertex information that is successfully matched; for the vertex information that fails to match, the first weight is used as the final weight of the vertex information; according to the final weight of each of the vertex information, the fault score of each of the current faults is calculated, and the size of the fault score is proportional to the degree of the fault; A risk prediction module, the risk prediction module is used to perform risk assessment based on the current fault set, the historical fault set and the risk threshold to obtain a peripheral risk prediction result, including: according to the matching situation of the current fault set and the historical fault set, the number of recurrences of old faults and the number of new faults of each peripheral are statistically obtained, and the ratio of the number of recurrences of old faults to the number of new faults is calculated to obtain the risk score of each peripheral; if the risk score of the peripheral is ≥ the risk threshold, the peripheral is judged to be high risk; if the risk score of the peripheral is < the risk threshold, the peripheral is judged to be low risk.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the fault assessment method for the peripheral device of the network connection box according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program for executing the fault assessment method for a network connection box peripheral device according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for analyzing attention information of IT community, equipment and medium

    CN116522901A

  • Energy monitoring management system for grid system

    CN116937575A

  • Fault detection method and device, electronic equipment and storage medium

    CN117009125A

  • Internet of Things data management system and method based on edge computing

    CN117933822A

  • Remote monitoring and fault detection method and system for integrated energy-saving lamp

    CN118400852A