CN113992602A - Cable monitoring data uploading method, device, equipment and storage medium - Google Patents

Cable monitoring data uploading method, device, equipment and storage medium Download PDF

Info

Publication number
CN113992602A
CN113992602A CN202111070640.6A CN202111070640A CN113992602A CN 113992602 A CN113992602 A CN 113992602A CN 202111070640 A CN202111070640 A CN 202111070640A CN 113992602 A CN113992602 A CN 113992602A
Authority
CN
China
Prior art keywords
monitoring data
data
monitoring
abnormal state
currently traversed
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.)
Granted
Application number
CN202111070640.6A
Other languages
Chinese (zh)
Other versions
CN113992602B (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.)
Guangzhou Panyu Cable Group Co Ltd
Original Assignee
Guangzhou Panyu Cable Group Co Ltd
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 Guangzhou Panyu Cable Group Co Ltd filed Critical Guangzhou Panyu Cable Group Co Ltd
Priority to CN202111070640.6A priority Critical patent/CN113992602B/en
Publication of CN113992602A publication Critical patent/CN113992602A/en
Application granted granted Critical
Publication of CN113992602B publication Critical patent/CN113992602B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/622Queue service order

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The embodiment of the invention discloses a cable monitoring data uploading method, a device, equipment and a storage medium, wherein the method comprises the following steps: periodically receiving monitoring data uploaded by each monitoring node; traversing each monitoring data in the current period to determine the abnormal state of the monitoring data, and uploading the monitoring data to a monitoring system in real time if the monitoring data is in the first abnormal state; if the monitoring data are in the second abnormal state, the monitoring data are written into the first data reporting queue, and after all the monitoring data are traversed, the monitoring data in the first data reporting queue are uploaded to the monitoring system; and if the monitoring data are in a normal state, writing the monitoring data into a second data reporting queue, and uploading the monitoring data in the second data reporting queue to the monitoring system after all the monitoring data are traversed. The embodiment of the invention solves the technical problem that the data processing pressure of a system background cannot be relieved under the condition of ensuring that the monitoring data can be uploaded in time at present.

Description

Cable monitoring data uploading method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of data uploading, in particular to a cable monitoring data uploading method, device, equipment and storage medium.
Background
At present, with the continuous development of domestic economy, the demand of society for electric energy is more vigorous, and in order to meet the demand of society for electric energy, the construction of electric power networks is also increased in China. The cable is an indispensable transmission device in the power network, plays a role in lifting in the power network, and the actual operation state of the cable is a necessary condition for ensuring whether the power network can work reliably, and currently, the actual operation condition of the cable is generally grasped by acquiring monitoring data of each monitoring node on the cable in real time.
In summary, how to relieve the data processing pressure of the system background while ensuring that the monitoring data can be uploaded in time becomes a technical problem which needs to be solved urgently at present.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for online monitoring of a cable sheath layer, and solves the technical problem that the data processing pressure of a system background cannot be relieved under the condition that monitoring data can be uploaded timely at present.
In a first aspect, an embodiment of the present invention provides a cable monitoring data uploading method, including the following steps:
periodically receiving monitoring data uploaded by each monitoring node;
traversing each monitoring data in a current period, and determining an abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state;
if the currently traversed monitoring data are in the first abnormal state, uploading the currently traversed monitoring data to a monitoring system in real time;
if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed;
if the currently traversed monitoring data are in the normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to the monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
Preferably, the specific process of determining the abnormal state of the currently traversed monitoring data is as follows:
comparing the currently traversed monitoring data with a preset data reporting threshold value and a historical monitoring data mean value of a corresponding monitoring node, and determining the abnormal state of the currently traversed monitoring data.
Preferably, the specific process of comparing the currently traversed monitoring data with a preset data reporting threshold and with the historical monitoring data mean value of the corresponding monitoring node to determine the abnormal state of the currently traversed monitoring data is as follows:
comparing the currently traversed monitoring data with a preset data reporting threshold value, and judging whether the currently traversed monitoring data is greater than the data reporting threshold value;
if the data reporting threshold value is larger than or equal to the data reporting threshold value, determining that the currently traversed monitoring data is in a first abnormal state;
if the deviation value is smaller than the data reporting threshold value, calculating a deviation value of the average value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node, and judging whether the deviation value is larger than a preset deviation value or not;
if the current ergodic monitoring data is larger than or equal to the preset deviation value, determining that the current ergodic monitoring data is in a second abnormal state; and if the current traversal monitoring data is smaller than the preset deviation value, determining that the current traversal monitoring data is in a normal state.
Preferably, the monitoring data includes an identifier of the monitoring node;
correspondingly, the specific process of calculating the deviation value of the mean value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node is as follows:
acquiring the identification of the monitoring node from the currently traversed monitoring data, and acquiring the historical monitoring data mean value of the corresponding monitoring node according to the identification;
and calculating the deviation value of the current traversed monitoring data and the average value of the historical monitoring data of the corresponding monitoring node.
Preferably, after the abnormal states of all the monitoring data are determined in the current period, the abnormal level of the cable is determined according to the abnormal state of each monitoring data, and the abnormal level is reported to the monitoring system.
Preferably, the specific process of determining the abnormality level of the cable according to the abnormal state of each piece of monitoring data includes:
in the current period, counting the quantity of monitoring data in each abnormal state;
and determining the abnormal grade of the cable according to the quantity of the monitoring data in each abnormal state.
Preferably, the specific process of determining the abnormality level of the cable according to the number of the monitoring data in each abnormal state includes:
calculating the proportion of the monitoring data in each abnormal state to all the monitoring data according to the quantity of the monitoring data in each abnormal state;
and determining the abnormity grade of the cable according to the proportion.
In a second aspect, an embodiment of the present invention provides a cable monitoring data uploading apparatus, including:
the data receiving module is used for periodically receiving the monitoring data uploaded by each monitoring node;
the state determining module is used for traversing each monitoring data in the current period and determining the abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state;
the data uploading module is used for uploading the currently traversed monitoring data to a monitoring system in real time if the currently traversed monitoring data is in the first abnormal state; if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed; if the currently traversed monitoring data are in the normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to the monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
In a third aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes a processor and a memory;
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is configured to execute a cable monitoring data uploading method according to the instructions in the computer program.
In a fourth aspect, embodiments of the present invention provide a storage medium storing computer-executable instructions for performing a cable monitoring data uploading method according to the first aspect when executed by a computer processor.
The embodiment of the present invention provides a cable monitoring data uploading method, including the following steps: periodically receiving monitoring data uploaded by each monitoring node; traversing each piece of monitoring data in the current period, and determining the abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state; if the currently traversed monitoring data are in a first abnormal state, uploading the currently traversed monitoring data to a monitoring system in real time; if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to a monitoring system after all the monitoring data are traversed; if the current traversed monitoring data are in a normal state, writing the current traversed monitoring data into a second data reporting queue, and uploading the monitoring data in the second data reporting queue to a monitoring system after all the monitoring data are traversed; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue. According to the embodiment of the invention, the abnormal state of each monitoring data is judged by traversing the received monitoring data in each period, the uploading mode of the monitoring data is determined according to the abnormal state of each monitoring data, the monitoring data is uploaded in real time when the monitoring data is in the first abnormal state, so that important monitoring data can be uploaded in time, when the monitoring data is in other abnormal states, the monitoring data is written into different data reporting queues according to the abnormal state of the monitoring data, and the monitoring data is reported according to the reporting priority after the traversal of all the monitoring data is finished.
Drawings
Fig. 1 is a flowchart of a cable monitoring data uploading method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a cable monitoring data uploading method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a cable monitoring data uploading device according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The following description and the annexed drawings set forth in detail certain illustrative embodiments of the application so as to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the embodiments of the present application includes the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to herein, individually or collectively, by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
Example one
As shown in fig. 1, fig. 1 is a flowchart of a cable monitoring data uploading method according to an embodiment of the present invention. The cable monitoring data uploading method provided by the embodiment of the invention can be executed by cable monitoring data uploading equipment, the cable monitoring data uploading equipment can be realized in a software and/or hardware mode, and the cable monitoring data uploading equipment can be composed of two or more physical entities or one physical entity. For example, the cable monitoring data uploading device can be a computer, an upper computer, a server, a tablet and other devices. In this embodiment, taking a communication relay device as a cable monitoring data uploading device as an example, the method includes the following steps:
step 101, periodically receiving monitoring data uploaded by each monitoring node.
In this embodiment, each monitoring node is installed at a different position of the cable, and is used for monitoring the operation state of the cable so as to obtain the monitoring data of the cable. In one embodiment, the monitoring data may include voltage data, current data, load data, and the like, and the specific content of the monitoring data may be set according to actual needs. The monitoring nodes periodically acquire monitoring data of the cable and send the monitoring data to the communication relay equipment, and the communication relay equipment receives the monitoring data uploaded by each monitoring node. It can be understood that in the present embodiment, the time length of each period may be set according to actual needs, for example, in one embodiment, the time length of each period is 5S, that is, the communication relay device receives the monitoring data uploaded by the monitoring node every 5S.
Step 102, traversing each monitoring data in the current period, and determining the abnormal state of the currently traversed monitoring data, wherein the abnormal state includes a first abnormal state, a second abnormal state and a normal state.
For the monitoring data acquired in the current period, the communication relay equipment traverses each monitoring data to determine the abnormal state of the currently traversed monitoring data, and the abnormal state reflects the abnormal condition of the monitoring data. In this embodiment, the abnormal state includes a first abnormal state, a second abnormal state and a normal state, wherein the first abnormal state represents that the severity of the abnormality of the monitored data is the highest, the second abnormal state represents that the severity of the abnormality of the monitored data is lower, and the normal state represents that the monitored data is normal data.
And 103, if the currently traversed monitoring data is in the first abnormal state, uploading the currently traversed monitoring data to a monitoring system in real time.
If the currently traversed monitoring data is in the first abnormal state, the monitoring data is proved to be seriously abnormal, and a cable at the installation position of the monitoring node possibly sends a fault or is abnormal. Therefore, the monitoring data needs to be uploaded to a monitoring system in real time, so that the monitoring system can specifically analyze the monitoring data as soon as possible and judge whether the cable has a fault or is abnormal, and therefore, a worker can check the fault or abnormal condition as soon as possible and ensure normal and stable operation of the cable.
And 104, if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed.
If the currently traversed monitoring data are in the second abnormal state, the currently traversed monitoring data are in the abnormal state, but the abnormal degree is low, and the monitoring data do not need to be uploaded to a monitoring system in real time. And writing the data into the first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed, so that the monitoring system analyzes and processes the monitoring data in the first data reporting queue and determines the abnormal condition of the cable.
Step 105, if the currently traversed monitoring data are in a normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to a monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
If the current traversed monitoring data are in a normal state, the monitoring data are normal, the monitoring data are written into the second data reporting queue, and after all the monitoring data are traversed, the monitoring data in the second data reporting queue are sent to the monitoring system for processing. It should be further noted that the uploading priority of the first data reporting queue is higher than that of the second data reporting queue, that is, when monitoring data are written in both the first data reporting queue and the second data reporting queue, the monitoring data in the second data reporting queue are preferentially uploaded to the monitoring system, so that the monitoring system can preferentially analyze and process the monitoring data in the second abnormal state, and determine whether a cable has a fault as soon as possible, so as to prevent a tiny fault of the cable from developing into a serious fault. And analyzing the monitoring data in the second data reporting queue after the monitoring data in the first data reporting queue is processed.
In the embodiment of the present invention, the received monitoring data is traversed in each period, so that the abnormal state of each monitoring data is determined, the uploading mode of the monitoring data is determined according to the abnormal state of each monitoring data, when the monitoring data is in the first abnormal state, the monitoring data is uploaded in real time, so that important monitoring data can be uploaded in time, when the monitoring data is in other abnormal states, the monitoring data is written into different data reporting queues according to the abnormal state of the monitoring data, and after all the monitoring data are traversed, the monitoring data are reported according to the reporting priority, so that while the important monitoring data are ensured to be uploaded in time, the pressure of the system background on processing the monitoring data is relieved, and the processing efficiency of the system background on the monitoring data is improved.
Example two
As shown in fig. 2, fig. 2 is a flowchart of another cable monitoring data uploading method provided in this embodiment, including the following steps:
step 201, periodically receiving monitoring data uploaded by each monitoring node.
Step 202, traversing each monitoring data in the current period, comparing the currently traversed monitoring data with a preset data reporting threshold and with a historical monitoring data mean value of a corresponding monitoring node, and determining an abnormal state of the currently traversed monitoring data, wherein the abnormal state includes a first abnormal state, a second abnormal state and a normal state.
In this embodiment, when traversing each piece of monitoring data, the currently traversed monitoring data is compared with a preset data reporting threshold and with a historical monitoring data mean value of a corresponding monitoring node, so as to determine an abnormal state of the currently traversed monitoring data. In the implementation, the data reporting threshold is set to a maximum value that can be reached by monitoring data when the cable normally runs. The historical monitoring data mean value of the corresponding monitoring node is the mean value of historical monitoring data historically uploaded by the monitoring node uploading the currently traversed monitoring data, and illustratively, if the currently traversed monitoring data is uploaded by the monitoring node No. 1, the currently traversed monitoring data is compared with the historical monitoring data mean value historically uploaded by the monitoring node No. 1.
In an embodiment, the process of comparing the currently traversed monitoring data with the preset data reporting threshold and the historical monitoring data mean value of the corresponding monitoring node to determine the abnormal state of the currently traversed monitoring data is realized by steps 2021 to 2024, and specifically, the process includes:
step 2021, comparing the currently traversed monitoring data with a preset data reporting threshold, and determining whether the currently traversed monitoring data is greater than the data reporting threshold.
Firstly, comparing the currently traversed monitoring data with a preset data reporting threshold value, and judging whether the currently traversed monitoring data is greater than the preset data reporting threshold value.
Step 2022, if the value is greater than or equal to the data reporting threshold, determining that the currently traversed monitoring data is in the first abnormal state.
In this embodiment, the data reporting threshold is set to a maximum value that can be reached by the monitoring data when the cable normally operates, and if the monitoring data is greater than or equal to the data reporting threshold, it indicates that the cable is in an abnormal operating state at this time, and a fault or an abnormality may occur on the cable, which may cause the monitoring data not to be in a normal range, and thus it is determined that the currently traversed monitoring data is in a first abnormal state.
Step 2023, if the calculated deviation value is smaller than the data reporting threshold, calculating a deviation value between the currently traversed monitoring data and the average value of the historical monitoring data of the corresponding monitoring node, and determining whether the deviation value is larger than a preset deviation value.
If the currently traversed monitoring data is smaller than the data reporting threshold, calculating a deviation value of the currently traversed monitoring data from a historical monitoring data mean value of the corresponding monitoring node, wherein the historical monitoring data mean value of the corresponding monitoring node reflects an average trend of the monitoring data acquired by the monitoring node since the history to a certain extent, and whether the currently traversed monitoring data is close to the average trend can be determined by calculating the deviation value of the currently traversed monitoring data and the historical monitoring data mean value.
Step 2024, if the deviation value is greater than or equal to the preset deviation value, determining that the currently traversed monitoring data is in a second abnormal state; and if the deviation value is smaller than the preset deviation value, determining that the currently traversed monitoring data is in a normal state.
If the deviation value of the mean value of the currently traversed monitoring data and the historical monitoring data is larger than or equal to the preset deviation value, it is indicated that the deviation trend of the currently traversed monitoring data from the mean value is overlarge, the currently traversed monitoring data is abnormal, and a fault may be sent on the cable, so that the currently traversed monitoring data is determined to be in a second abnormal state. If the deviation value of the mean value of the currently traversed monitoring data and the historical monitoring data is smaller than the preset deviation value, the currently traversed monitoring data is close to the average trend and is not abnormal, and the currently traversed monitoring data is determined to be in a normal state.
On the basis of the above embodiment, the monitoring data includes the identifier of the monitoring node.
When the monitoring data is uploaded by the monitoring nodes, the monitoring data is attached with the identification of the monitoring nodes, and the identification can be understood as a unique certificate for distinguishing different monitoring nodes.
Correspondingly, the process of calculating the deviation value of the currently traversed monitoring data from the mean value of the historical monitoring data of the corresponding monitoring node is realized by steps 20231 to 20232, which specifically includes:
step 20231, obtaining the identifier of the monitoring node from the currently traversed monitoring data, and obtaining the historical monitoring data mean value of the corresponding monitoring node according to the identifier.
In this embodiment, first, an identifier of a monitoring node is obtained from currently traversed monitoring data, and then, a corresponding monitoring node is obtained and determined according to the identifier, and a historical monitoring data mean value of the monitoring node is obtained. Illustratively, if the monitoring node identifier of the currently traversed monitoring data is 008, the corresponding monitoring node is determined according to the identifier 008, and the historical monitoring data mean value of the corresponding monitoring node is obtained. In this embodiment, the historical monitoring data mean value of each monitoring node is stored in the server, and the historical monitoring data mean value of the corresponding monitoring node is obtained from the server according to the identifier.
Step 20232, calculating a deviation value between the currently traversed monitoring data and the average of the historical monitoring data of the corresponding monitoring node.
And after the historical monitoring data mean value of the corresponding monitoring node is obtained, calculating the deviation value of the current traversed monitoring data and the historical monitoring data mean value of the corresponding monitoring node. In one embodiment, the deviation value is obtained by subtracting the average value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node and then taking the absolute value.
And 203, if the currently traversed monitoring data is in the first abnormal state, uploading the currently traversed monitoring data to a monitoring system in real time.
And 204, if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed.
Step 205, if the currently traversed monitoring data is in a normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to the monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
And step 206, after the abnormal states of all the monitoring data are determined in the current period, determining the abnormal grade of the cable according to the abnormal state of each monitoring data, and reporting the abnormal grade to the monitoring system.
In this embodiment, after the abnormal states of all the monitoring data are determined in the current period, the abnormal level of the cable is determined according to the abnormal state of each monitoring data, and the abnormal level is reported to the monitoring system, so that the worker can know the overall abnormal condition of the cable.
In one embodiment, the process of determining the abnormal level of the cable according to the abnormal state of each monitoring data is implemented by steps 2061 to 2062, specifically:
step 2061, in the current cycle, the number of the monitoring data in each abnormal state is counted.
Firstly, the number of the monitoring data in each abnormal state in the current period is counted, that is, the number of the monitoring data in the first abnormal state, the number of the monitoring data in the second abnormal state and the number of the monitoring data in the normal state are counted respectively.
Step 2062, determining the abnormal grade of the cable according to the quantity of the monitoring data in each abnormal state.
And then, determining the abnormal grade of the cable according to the quantity of the monitoring data in each abnormal length state. It can be understood that the higher the anomaly level of the cable, the greater the failure probability of the cable being anomalous. The number of the abnormal grades of the cable is not specifically limited in this embodiment.
In one embodiment, the process of determining the abnormal level of the cable according to the amount of the monitoring data in each abnormal state is implemented by steps 20621 to 20622, specifically:
step 20621, calculating the ratio of the monitoring data in each abnormal state to all the monitoring data according to the number of the monitoring data in each abnormal state.
In the present embodiment, the ratio of the monitoring data in each abnormal state to all the monitoring data is calculated based on the number of the monitoring data in each abnormal state. For example, if a total of 100 pieces of data are received in the current cycle, there are 5 pieces of monitored data in the first abnormal state, 12 pieces of monitored data in the second abnormal state, and 83 pieces of monitored data in the normal state. The proportion of the monitored data in the first abnormal state is 5%, the proportion of the monitored data in the second abnormal state is 12%, and the proportion of the monitored data in the normal state is 83%.
Step 20622, determine the abnormal grade of the cable according to the proportion.
And determining the abnormal grade of the cable according to the proportion of the monitoring data of each abnormal state in all the monitoring data. Illustratively, in one embodiment, the exception levels include 4 levels, a first exception level, a second exception level, a third exception level, and a fourth exception level. When the proportion of the monitoring data in the normal state is 100%, the abnormal level is a first abnormal level, and when the proportion of the monitoring data in the first abnormal state is 0 and the proportion of the monitoring data in the second abnormal state is more than 0, the abnormal level is a second abnormal level. And when the proportion of the monitoring data in the first abnormal state is more than 0 and the proportion of the monitoring data in the second abnormal state is equal to 0, the cable abnormal grade is a third abnormal grade. And when the proportion of the monitoring data in the first abnormal state is more than 0 and the proportion of the monitoring data in the second abnormal state is more than 0, the abnormal grade is a fourth abnormal grade.
In the embodiment of the present invention, the received monitoring data is traversed in each period, so that the abnormal state of each monitoring data is determined, the uploading mode of the monitoring data is determined according to the abnormal state of each monitoring data, when the monitoring data is in the first abnormal state, the monitoring data is uploaded in real time, so that important monitoring data can be uploaded in time, when the monitoring data is in other abnormal states, the monitoring data is written into different data reporting queues according to the abnormal state of the monitoring data, and after all the monitoring data are traversed, the monitoring data are reported according to the reporting priority, so that while the important monitoring data are ensured to be uploaded in time, the pressure of the system background on processing the monitoring data is relieved, and the processing efficiency of the system background on the monitoring data is improved.
EXAMPLE III
As shown in fig. 3, fig. 3 is a schematic structural diagram of a cable monitoring data uploading device according to an embodiment of the present invention, including:
the data receiving module 301 is configured to periodically receive monitoring data uploaded by each monitoring node;
a state determining module 302, configured to traverse each piece of monitoring data in a current period, and determine an abnormal state of the currently traversed monitoring data, where the abnormal state includes a first abnormal state, a second abnormal state, and a normal state;
the data uploading module 303 is configured to upload currently traversed monitoring data to a system background in real time if the currently traversed monitoring data is in a first abnormal state; if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to a system background after all the monitoring data are traversed; if the current traversed monitoring data are in a normal state, writing the current traversed monitoring data into a second data reporting queue, and uploading the monitoring data in the second data reporting queue to a system background after all the monitoring data are traversed; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
On the basis of the foregoing embodiment, the state determining module 302 is specifically configured to compare the currently traversed monitoring data with a preset data reporting threshold and with a historical monitoring data mean value of a corresponding monitoring node, and determine an abnormal state of the currently traversed monitoring data.
On the basis of the foregoing embodiment, the state determining module 302 is specifically configured to compare currently traversed monitoring data with a preset data reporting threshold, and determine whether the currently traversed monitoring data is greater than the data reporting threshold;
if the data reporting threshold value is larger than or equal to the data reporting threshold value, determining that the currently traversed monitoring data is in a first abnormal state;
if the deviation value is smaller than the data reporting threshold value, calculating a deviation value of the average value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node, and judging whether the deviation value is larger than a preset deviation value or not;
if the current ergodic monitoring data is larger than or equal to the preset deviation value, determining that the current ergodic monitoring data is in a second abnormal state; and if the current traversal monitoring data is smaller than the preset deviation value, determining that the current traversal monitoring data is in a normal state.
On the basis of the above embodiment, the monitoring data includes an identifier of the monitoring node;
correspondingly, the state determining module 302 is specifically configured to obtain an identifier of the monitoring node from the currently traversed monitoring data, and obtain a historical monitoring data mean value of the corresponding monitoring node according to the identifier;
and calculating the deviation value of the current traversed monitoring data and the average value of the historical monitoring data of the corresponding monitoring node.
On the basis of the above embodiment, the system further includes an abnormal level determining module, configured to determine, after determining the abnormal state of all the monitoring data in the current period, the abnormal level of the cable according to the abnormal state of each monitoring data, and report the abnormal level to the system background.
On the basis of the foregoing embodiment, the abnormality level determination module is specifically configured to:
in the current period, counting the quantity of monitoring data in each abnormal state;
and determining the abnormal grade of the cable according to the quantity of the monitoring data in each abnormal state.
On the basis of the foregoing embodiment, the abnormality level determination module is specifically configured to:
calculating the proportion of the monitoring data in each abnormal state to all the monitoring data according to the quantity of the monitoring data in each abnormal state; and determining the abnormity grade of the cable according to the proportion.
Example four
The present embodiment also provides an apparatus, as shown in fig. 4, an apparatus 40, which includes a processor 400 and a memory 401;
the memory 401 is configured to store a computer program 402 and to transmit the computer program 402 to the processor;
the processor 400 is configured to execute the steps of one of the above-described embodiments of the cable monitoring data uploading method according to the instructions in the computer program 402.
Illustratively, the computer program 402 may be partitioned into one or more modules/units, which are stored in the memory 401 and executed by the processor 400 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 402 in the apparatus 40.
The device 40 may be a computing device such as a desktop computer, a notebook, a palm top computer, and a cloud server. The apparatus may include, but is not limited to, a processor 400, a memory 401. Those skilled in the art will appreciate that fig. 4 is merely an example of a device 40 and does not constitute a limitation of device 40 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the device may also include input-output devices, network access devices, buses, etc.
The Processor 400 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 401 may be an internal storage unit of the device 40, such as a hard disk or a memory of the device 40. The memory 401 may also be an external storage device of the device 40, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the device 40. Further, the memory 401 may also include both an internal storage unit and an external storage device of the device 40. The memory 401 is used for storing the computer program and other programs and data required by the device. The memory 401 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing computer programs.
Example four
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a cable monitoring data uploading method, the method including the steps of:
periodically receiving monitoring data uploaded by each monitoring node;
traversing each piece of monitoring data in the current period, and determining the abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state;
if the currently traversed monitoring data are in a first abnormal state, uploading the currently traversed monitoring data to a system background in real time;
if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to a system background after all the monitoring data are traversed;
if the current traversed monitoring data are in a normal state, writing the current traversed monitoring data into a second data reporting queue, and uploading the monitoring data in the second data reporting queue to a system background after all the monitoring data are traversed; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A cable monitoring data uploading method is characterized by comprising the following steps:
periodically receiving monitoring data uploaded by each monitoring node;
traversing each monitoring data in a current period, and determining an abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state;
if the currently traversed monitoring data are in the first abnormal state, uploading the currently traversed monitoring data to a monitoring system in real time;
if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed;
if the currently traversed monitoring data are in the normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to the monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
2. The cable monitoring data uploading method according to claim 1, wherein the specific process of determining the abnormal state of the currently traversed monitoring data is as follows:
comparing the currently traversed monitoring data with a preset data reporting threshold value and a historical monitoring data mean value of a corresponding monitoring node, and determining the abnormal state of the currently traversed monitoring data.
3. The cable monitoring data uploading method according to claim 2, wherein the specific process of comparing the currently traversed monitoring data with a preset data reporting threshold and with a historical monitoring data mean value of a corresponding monitoring node to determine the abnormal state of the currently traversed monitoring data is as follows:
comparing the currently traversed monitoring data with a preset data reporting threshold value, and judging whether the currently traversed monitoring data is greater than the data reporting threshold value;
if the data reporting threshold value is larger than or equal to the data reporting threshold value, determining that the currently traversed monitoring data is in a first abnormal state;
if the deviation value is smaller than the data reporting threshold value, calculating a deviation value of the average value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node, and judging whether the deviation value is larger than a preset deviation value or not;
if the current ergodic monitoring data is larger than or equal to the preset deviation value, determining that the current ergodic monitoring data is in a second abnormal state; and if the current traversal monitoring data is smaller than the preset deviation value, determining that the current traversal monitoring data is in a normal state.
4. The cable monitoring data uploading method according to claim 3, wherein the monitoring data includes an identifier of a monitoring node;
correspondingly, the specific process of calculating the deviation value of the mean value of the currently traversed monitoring data and the historical monitoring data of the corresponding monitoring node is as follows:
acquiring the identification of the monitoring node from the currently traversed monitoring data, and acquiring the historical monitoring data mean value of the corresponding monitoring node according to the identification;
and calculating the deviation value of the current traversed monitoring data and the average value of the historical monitoring data of the corresponding monitoring node.
5. The cable monitoring data uploading method according to claim 1, wherein after determining the abnormal state of all the monitoring data in the current period, determining the abnormal level of the cable according to the abnormal state of each monitoring data, and reporting the abnormal level to the monitoring system.
6. The cable monitoring data uploading method according to claim 5, wherein the specific process of determining the abnormality level of the cable according to the abnormality state of each monitoring data is as follows:
in the current period, counting the quantity of monitoring data in each abnormal state;
and determining the abnormal grade of the cable according to the quantity of the monitoring data in each abnormal state.
7. The cable monitoring data uploading method according to claim 6, wherein the specific process of determining the abnormality level of the cable according to the quantity of the monitoring data in each abnormal state is as follows:
calculating the proportion of the monitoring data in each abnormal state to all the monitoring data according to the quantity of the monitoring data in each abnormal state;
and determining the abnormity grade of the cable according to the proportion.
8. A cable monitoring data uploading device, comprising:
the data receiving module is used for periodically receiving the monitoring data uploaded by each monitoring node;
the state determining module is used for traversing each monitoring data in the current period and determining the abnormal state of the currently traversed monitoring data, wherein the abnormal state comprises a first abnormal state, a second abnormal state and a normal state;
the data uploading module is used for uploading the currently traversed monitoring data to a monitoring system in real time if the currently traversed monitoring data is in the first abnormal state; if the currently traversed monitoring data are in the second abnormal state, writing the currently traversed monitoring data into a first data reporting queue, and uploading the monitoring data in the first data reporting queue to the monitoring system after all the monitoring data are traversed; if the currently traversed monitoring data are in the normal state, writing the currently traversed monitoring data into a second data reporting queue, and after all the monitoring data are traversed, uploading the monitoring data in the second data reporting queue to the monitoring system; the uploading priority of the first data reporting queue is higher than that of the second data reporting queue.
9. An apparatus, comprising a processor and a memory;
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is configured to execute a cable monitoring data uploading method according to any one of claims 1 to 7 according to instructions in the computer program.
10. A storage medium storing computer executable instructions for performing a cable monitoring data upload method as claimed in any one of claims 1-7 when executed by a computer processor.
CN202111070640.6A 2021-09-13 2021-09-13 Cable monitoring data uploading method, device, equipment and storage medium Active CN113992602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111070640.6A CN113992602B (en) 2021-09-13 2021-09-13 Cable monitoring data uploading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111070640.6A CN113992602B (en) 2021-09-13 2021-09-13 Cable monitoring data uploading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113992602A true CN113992602A (en) 2022-01-28
CN113992602B CN113992602B (en) 2023-08-04

Family

ID=79735733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111070640.6A Active CN113992602B (en) 2021-09-13 2021-09-13 Cable monitoring data uploading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113992602B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697234A (en) * 2022-04-22 2022-07-01 广州番禺电缆集团有限公司 Cable for intelligently reporting data
CN115277484A (en) * 2022-06-02 2022-11-01 广州番禺电缆集团有限公司 Intelligent cable capable of dynamically feeding back monitoring information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970402A (en) * 2017-03-21 2017-07-21 深圳广联赛讯有限公司 The filter method and device of abnormal gps data
CN107910086A (en) * 2017-11-23 2018-04-13 中广核工程有限公司 One kind is based on nuclear plant safety abnormal parameters condition adjudgement system and method
CN109756103A (en) * 2018-12-27 2019-05-14 中国空间技术研究院 A kind of power distribution and supply control system and control method for space flight verification platform
CN111988240A (en) * 2020-07-27 2020-11-24 北京北方华创微电子装备有限公司 Data sending method and device, electronic equipment and storage medium
CN112199409A (en) * 2020-08-17 2021-01-08 浙江中控技术股份有限公司 Method and device for monitoring real-time working condition of catalytic reforming device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970402A (en) * 2017-03-21 2017-07-21 深圳广联赛讯有限公司 The filter method and device of abnormal gps data
CN107910086A (en) * 2017-11-23 2018-04-13 中广核工程有限公司 One kind is based on nuclear plant safety abnormal parameters condition adjudgement system and method
CN109756103A (en) * 2018-12-27 2019-05-14 中国空间技术研究院 A kind of power distribution and supply control system and control method for space flight verification platform
CN111988240A (en) * 2020-07-27 2020-11-24 北京北方华创微电子装备有限公司 Data sending method and device, electronic equipment and storage medium
CN112199409A (en) * 2020-08-17 2021-01-08 浙江中控技术股份有限公司 Method and device for monitoring real-time working condition of catalytic reforming device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114697234A (en) * 2022-04-22 2022-07-01 广州番禺电缆集团有限公司 Cable for intelligently reporting data
CN114697234B (en) * 2022-04-22 2023-12-08 广州番禺电缆集团有限公司 Intelligent data reporting cable
CN115277484A (en) * 2022-06-02 2022-11-01 广州番禺电缆集团有限公司 Intelligent cable capable of dynamically feeding back monitoring information
CN115277484B (en) * 2022-06-02 2023-12-19 广州番禺电缆集团有限公司 Intelligent cable of dynamic feedback monitoring information

Also Published As

Publication number Publication date
CN113992602B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN108491305B (en) Method and system for detecting server fault
CN112162878B (en) Database fault discovery method and device, electronic equipment and storage medium
US9141914B2 (en) System and method for ranking anomalies
CN113992602A (en) Cable monitoring data uploading method, device, equipment and storage medium
CN110784355B (en) Fault identification method and device
JP4573179B2 (en) Performance load abnormality detection system, performance load abnormality detection method, and program
CN109343853B (en) Abnormality identification method and device for application program
CN113590429A (en) Server fault diagnosis method and device and electronic equipment
CN117761444B (en) Method and system for monitoring service life of surge protector
CN114995348A (en) Variable frequency transmission full life cycle management method
CN116756966A (en) Power grid fault early warning method, system, terminal equipment and storage medium
CN116760509A (en) Power data transmission control method, system, terminal equipment and storage medium
CN115499302A (en) Monitoring method and device of business system, readable storage medium and electronic equipment
CN109525036B (en) Method, device and system for monitoring mains supply state of communication equipment
CN114155692A (en) Equipment fault reporting method, device and storage medium
JP4936072B2 (en) System load monitoring method
CN115701890B (en) Method for adjusting alarm rule and related equipment
CN117349624A (en) Electric power energy monitoring method, system, terminal equipment and storage medium
CN107533492B (en) Relay device and program
WO2020044898A1 (en) Device status monitoring device and program
CN111651503B (en) Power distribution network data anomaly identification method and system and terminal equipment
US10089149B2 (en) Method for scheduling multiple periodic requests and scheduling device
CN113391611B (en) Early warning method, device and system for power environment monitoring system
CN114928467A (en) Network security operation and maintenance association analysis method and system
US20220019208A1 (en) Method for Monitoring the Vitality of Devices of a Distributed System

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