CN112905590A - Alarm information processing method and system, electronic device and storage medium - Google Patents
Alarm information processing method and system, electronic device and storage medium Download PDFInfo
- Publication number
- CN112905590A CN112905590A CN202110143356.0A CN202110143356A CN112905590A CN 112905590 A CN112905590 A CN 112905590A CN 202110143356 A CN202110143356 A CN 202110143356A CN 112905590 A CN112905590 A CN 112905590A
- Authority
- CN
- China
- Prior art keywords
- alarm
- alarm information
- information
- target
- determining
- 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.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 54
- 238000003672 processing method Methods 0.000 title claims abstract description 46
- 238000003860 storage Methods 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000013507 mapping Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 5
- 238000000605 extraction Methods 0.000 description 4
- 230000010354 integration Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012732 spatial analysis Methods 0.000 description 3
- 108091026890 Coding region Proteins 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
Abstract
The invention provides an alarm information processing method and system, electronic equipment and a storage medium, wherein the alarm information processing method comprises the following steps: determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information; mapping, binding and storing the alarm information and the key codes to obtain an alarm information base; wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number. The massive alarm information is structurally stored, so that the processing process of valuable information is simplified, and the efficiency of alarm information retrieval is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an alarm information processing method and system, an electronic device, and a storage medium.
Background
With the increase of the operation and maintenance support range, the number of alarms to be responded is continuously increased, and how to respond to massive alarm information is a challenging task to quickly find out valuable alarm information from various alarm information.
The current common technologies include two types, one type stores the sorted alarm data into a database through packet capturing, simulation calling, route combing and calling relations, manual cleaning and off-line calculation, and then performs real-time calculation on a logic layer to obtain related result data; one class of schemes that employ machine learning includes refining relevant rules by analyzing historical data, then performing alarm convergence, optimizing wait queues, and alarm delivery.
The two technologies are used for storing and processing the atomized alarm information, and analysis is not performed in combination with a generation source and an application scene of the vehicle alarm information, so that the calculated amount is huge, the retrieval efficiency is low, the waiting time of a client is long, further data mining is not easy to perform on the client, and the obtained result is single and has less valuable information.
Therefore, how to provide an alarm information processing method and system, an electronic device and a storage medium to structurally store massive alarm information, improve the retrieval efficiency, simplify the processing process of valuable information, and become a problem to be solved urgently.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides an alarm information processing method and system, electronic equipment and a storage medium.
The invention provides an alarm information processing method, which comprises the following steps:
determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information;
mapping, binding and storing the alarm information and the key codes to obtain an alarm information base;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
According to the alarm information processing method provided by the invention, before the step of determining the key code corresponding to the alarm information based on the alarm equipment and the alarm type corresponding to the alarm information, the method further comprises the following steps:
and determining the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information.
According to the alarm information processing method provided by the invention, the determining of the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information specifically comprises the following steps:
determining an alarm reason and an alarm purpose based on the alarm information;
performing inter-class combination based on the alarm reason and the logical relationship between the alarm reasons, and determining the alarm reason large class corresponding to the alarm information;
and determining the alarm type of the alarm information based on the alarm reason category and the alarm purpose.
The alarm information processing method provided by the invention further comprises the following steps:
and determining the frequent alarm position of the target based on the alarm equipment number and the alarm information library.
According to the alarm information processing method provided by the invention, the frequent alarm position of the target is determined based on the alarm equipment number and the alarm information library, and the method specifically comprises the following steps:
determining the association relation between the equipment position and alarm information in an alarm information base based on the serial number of the alarm equipment;
determining an area with the maximum alarm frequency in a preset area range as a target area based on the alarm frequency of all alarm information in the alarm information base and the association relation;
and taking the geometric center of the target area as a target frequent alarm position.
The alarm information processing method provided by the invention is characterized by further comprising the following steps:
and determining a target category alarm time period based on the target alarm type number and the alarm information library.
According to the alarm information processing method provided by the invention, the determination of the target type alarm time period based on the target alarm type number and the alarm information library specifically comprises the following steps:
determining the alarm starting time and the alarm ending time of all alarm information of the target category in the alarm information base based on the target alarm type number;
determining the earliest moment in the alarm starting moments of all the alarm information of the target category as a target starting moment;
determining the latest moment in the alarm termination moments of all the alarm information of the target category as the target termination moment;
and determining a target category alarm time period based on the target starting time and the target ending time.
The present invention also provides an alarm information processing system, including:
the information coding unit is used for determining a key code corresponding to the alarm information based on the alarm equipment and the alarm type corresponding to the alarm information;
the information storage unit is used for mapping, binding and storing the alarm information and the key codes to obtain an alarm information library;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
The invention also provides electronic equipment which comprises a memory and a processor, wherein the processor and the memory finish mutual communication through a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the various steps of the alert information processing method as described above.
The present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the alarm information processing method as described above.
According to the alarm information processing method and system, the electronic device and the storage medium, the key code is formed by the alarm device number and the alarm type number, the key code and the alarm information are mapped, bound and stored, and a large amount of alarm information is structurally stored, so that the processing process of valuable information is simplified, and the retrieval efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flow chart of an alarm information processing method provided by the present invention;
FIG. 2 is a schematic diagram of an alarm information encoding and storing process provided by the present invention;
FIG. 3 is a schematic diagram illustrating a principle of alarm information storage and retrieval according to the present invention;
FIG. 4 is a schematic diagram of the temporal-spatial analysis principle of the alarm information provided by the present invention;
FIG. 5 is a schematic diagram of an alarm information processing system according to the present invention;
fig. 6 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an alarm information processing method provided by the present invention, and as shown in fig. 1, the present invention provides an alarm information processing method, including:
step S1, determining a key code corresponding to the alarm information based on the alarm equipment and the alarm type corresponding to the alarm information;
step S2, the alarm information and the key code are mapped, bound and stored to obtain an alarm information base;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
Specifically, the alarm information may be artificially divided into a plurality of different categories according to a certain rule, for example, vehicle alarm may be based on the reason of the alarm (such as overspeed, excessive acceleration, etc.), the type of the equipment in which the alarm occurs (such as engine alarm, brake pad alarm, tire alarm, etc.), and the alarm purpose (such as warning the driver of dangerous driving behavior, warning the occurrence of vehicle failure, and road condition alarm, or evaluating performance or safety performance, etc.).
It should be noted that the above rule for classifying alarm information is only described as a specific example of the present invention, and the specific classification method may be selected according to actual situations, which is not limited by the present invention.
Explaining a storage process of alarm information, in step S1, after determining an alarm device and an alarm type according to the alarm information, determining a device number of the alarm device and a type code corresponding to the alarm type, determining that the alarm information corresponds to the alarm device, the alarm device code and the alarm type code based on the alarm device and the alarm type corresponding to the alarm information, and determining a key code corresponding to the alarm information based on the alarm device code and the alarm type code.
It should be noted that the key includes: the number of the alarm device, the number of the alarm type, the specific coding sequence of the key code and the coding rule can be adjusted according to the actual requirement, and the invention is not limited to this.
In step S2, the alarm information and the key corresponding to the alarm information determined in step S1 are mapped, bound and stored, and an alarm information library is obtained.
It should be noted that the alarm information includes: alarm times, alarm starting time and alarm stopping time. The alarm information mentioned in the present invention actually refers to a piece of alarm information (atomized alarm information), and each piece of alarm information actually refers to a comprehensive set of information on occurrence of an alarm event within a preset time period. The alarm frequency refers to the frequency of alarms occurring in a preset time period; the alarm starting time is the starting time of the generation of an alarm signal in a preset time period; the alarm termination time is the termination time of the alarm signal ending in the preset time period. The preset time period of the alarm information can be adjusted according to the actual situation, which is not limited by the invention.
For example: the preset time period of the alarm information is 5s, and the equipment with the equipment number of R2765 alarms twice in 5s between the time periods of 11:30:25 and 11:30: 30. The starting time of the first alarm is 11:30:26, the ending time is 11:30:27, and the duration time is 1 s; the starting time of the second alarm is 11:30:28, the ending time is 11:30:30, and the duration time is 2 s. It can be determined that the alarm time of the alarm information is 2 times, the alarm starting time is 11:30:26, and the alarm ending time is 11:30: 30.
According to the alarm information processing method provided by the invention, the serial number of the alarm equipment and the serial number of the alarm type form a key code, and the key code and the alarm information are mapped, bound and stored, so that the structural storage of massive alarm information can be realized, the processing process of valuable information is simplified, when the subsequent retrieval is required in an alarm information library, the retrieval of the corresponding alarm information can be carried out according to the corresponding key code, and all the alarm information of the target alarm equipment and all the alarm information under the target alarm type can be respectively searched through the serial number of the alarm equipment and the serial number of the alarm type in the key code, so that the retrieval efficiency is improved.
Optionally, according to the alarm information processing method provided by the present invention, before the step of determining the key code corresponding to the alarm information based on the alarm device and the alarm type corresponding to the alarm information, the method further includes:
and determining the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information.
Specifically, when the alarm information is stored, the alarm type code in the key code corresponding to the alarm information can accurately reflect information such as a generation source, an association relation, an application scene and the like of the alarm information, and elements related to the alarm type are sorted and analyzed. Before the step of determining the key code corresponding to the alarm information, the alarm type of the alarm information is determined based on the alarm reason and the alarm purpose of the alarm information.
The alarm type of the alarm information is determined based on the alarm reason and the alarm purpose, and the alarm type can be classified based on the alarm reason, and further subdivided according to the alarm purpose under the alarm reason, and the subdivided number is determined as the alarm type number. Or classifying the alarm type number based on the alarm purpose, further subdividing the alarm type number according to the alarm reason under the alarm purpose classification, and determining the subdivided number as the alarm type number. Or, the alarm type number is obtained by directly classifying and determining codes respectively based on the alarm reason and the alarm purpose and then combining the two codes. The specific numbering method may be set according to actual conditions, which is not limited in the present invention.
The alarm information processing method provided by the invention determines the alarm type based on the alarm reason and the alarm application, and the alarm equipment number and the alarm type number form a key code which is mapped, bound and stored, so that the structural storage of massive alarm information can be realized, the processing process of valuable information is simplified, the alarm information is structurally stored by accurately reflecting the category relation among the alarm information according to the alarm type number, compared with the scheme of singly storing each alarm information (atomized alarm information) alone, the method can search the corresponding alarm information according to the corresponding key code when subsequently needing to search in an alarm information library, and can respectively search all the alarm information of target alarm equipment and all the alarm information under the target alarm type through the alarm equipment number and the alarm type number in the key code, and the retrieval efficiency is improved.
Optionally, according to the alarm information processing method provided by the present invention, the determining the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information specifically includes:
determining an alarm reason and an alarm purpose based on the alarm information;
performing inter-class combination based on the alarm reason and the logical relationship between the alarm reasons, and determining the alarm reason large class corresponding to the alarm information;
and determining the alarm type of the alarm information based on the alarm reason category and the alarm purpose.
Specifically, for each piece of alarm information, when determining the alarm type of the alarm information, it is first necessary to determine the reason and the purpose of the alarm based on the alarm information.
Because there may be a logical relationship between alarm reasons, for example, a plurality of alarm events may occur due to the occurrence of a fault, or a more serious fault occurs to perform a new alarm after a certain time of the occurrence of a fault, after the alarm reason and the alarm purpose are determined, inter-class merging is performed based on the logical relationship between the alarm reason and the alarm reason (for example, the alarm reason is that the temperature of a brake pad is high and the brake pad is too thin, and the alarm can be merged into a brake pad alarm), and the large class of the alarm reason corresponding to the alarm information is determined.
And determining the alarm type of the alarm information based on the determined alarm reason and the alarm purpose.
It should be noted that, in the present invention, a specific classification rule for classifying alarm information according to an alarm reason based on a certain rule, and a combination rule for combining classes based on a logical relationship between the alarm reason and the alarm reason may be adjusted according to an actual situation, which is not limited in the present invention.
Secondly, the alarm type of the alarm information is determined based on the alarm reason category and the alarm purpose, and the alarm reason category can be further subdivided according to the alarm purpose under the alarm reason category, and the subdivided serial number is determined as the alarm type serial number. Or classifying the alarm type number based on the alarm purpose, further subdividing the alarm type number according to the alarm reason under the alarm purpose classification, and determining the subdivided number as the alarm type number. Or directly classifying and determining codes respectively based on the major classes of alarm reasons and the alarm purposes, and combining the codes according to the two classes of codes to obtain the alarm type number. The specific numbering method may be set according to actual conditions, which is not limited in the present invention.
The alarm information processing method provided by the invention is used for carrying out inter-class combination based on the logical relationship between the alarm reason and the alarm reason, determining the alarm reason class corresponding to the alarm information, determining the alarm type of the alarm information based on the alarm reason class and the alarm purpose, and accurately reflecting the source and the purpose of the alarm information when the alarm information is stored. The obtained massive alarm information is structurally stored to support quick category-based retrieval, when retrieval is needed in an alarm information library subsequently, retrieval of the corresponding alarm information is carried out according to the corresponding key codes, and all alarm information of target alarm equipment and all alarm information under the target alarm type can be respectively searched through the alarm equipment number and the alarm type number in the key codes, so that the retrieval efficiency is improved.
Since one alarm message is stored and a plurality of alarm messages can be simultaneously stored at one time when the alarm messages are stored, fig. 2 is a schematic diagram of an alarm message coding and storing process provided by the invention, and as shown in fig. 2, a plurality of centralized storages of the alarm messages are explained.
And classifying all the alarm information according to the alarm reasons, and determining the alarm reason subclass corresponding to the alarm information. And based on the logical relationship among the alarm reasons, combining the classes of the alarm reasons, and determining the large class of the alarm reasons corresponding to the alarm information.
After determining the alarm reason category corresponding to the alarm information, dividing the alarm information according to the alarm purpose, and determining an alarm combination according to the alarm reason category and the alarm purpose category (for example, the code of the alarm reason category is 05, the code of the alarm purpose is 01, and the alarm combination after combination is 0501).
And determining an alarm combination code of each piece of alarm information, using the alarm combination code as a key code, binding the key code and the alarm information, and storing the key code and the alarm information in an alarm information library in a structured manner.
It should be noted that, the above method for uniformly classifying and storing a plurality of pieces of alarm information is only used as a specific example to explain the present invention, and in a specific application, the storage method may be adjusted according to an actual situation, which is not limited by the present invention.
Fig. 3 is a schematic diagram of an alarm information storage and retrieval principle provided by the present invention, and as shown in fig. 3, after determining a key based on an alarm device number and an alarm type number and storing the alarm information. And the rapid retrieval of the alarm information can be realized in the alarm information library of the stored alarm information.
During retrieval, the corresponding alarm information can be retrieved according to the corresponding key code, the alarm information corresponding to the key code is rapidly retrieved, and the alarm times and the alarm time period (the alarm starting time and the alarm ending time) stored in the alarm information are determined. And all alarm information of the target alarm equipment can be searched through the alarm equipment number in the key code. And searching all alarm information under the target alarm type through the alarm type number in the key code. The flexible and quick retrieval of the alarm information is realized, and the retrieval efficiency is improved.
Optionally, the alarm information processing method provided by the present invention further includes:
and determining the frequent alarm position of the target based on the alarm equipment number and the alarm information library.
Specifically, after the alarm information is stored in the alarm information library, the frequent alarm position of the target can be determined based on all the alarm information and the serial numbers of the alarm devices in the alarm information library.
It should be noted that, the position (device position information) of the alarm device may be determined based on the alarm device number, that is, the position of the alarm device may be associated with the corresponding alarm information in the alarm information library.
The frequent alarm position of the target is determined, actually, the alarm information is subjected to spatial analysis, and the device with the largest alarm frequency in all the devices is searched within a certain time range (such as 5 hours).
It should be noted that the target frequent alarm location may be a certain device that determines the number of alarms to be the maximum, or an area range in which the number of alarms of the devices in a preset range is accumulated to be the maximum. The specific setting requirement and the searching method of the target frequent alarm position can be adjusted according to actual requirements, and the method is not limited in the invention.
According to the alarm information processing method provided by the invention, the frequent alarm position of the target is determined by using the alarm equipment number in the key code and associating the equipment position information, the spatial information of the alarm information is fully utilized, the rapid integration of the alarm information is realized, the valuable information in the space is screened, and the complexity of information extraction during retrieval is simplified.
Optionally, according to the alarm information processing method provided by the present invention, the determining the frequent alarm position of the target based on the alarm device number and the alarm information library specifically includes:
determining the association relation between the equipment position and alarm information in an alarm information base based on the serial number of the alarm equipment;
determining an area with the maximum alarm frequency in a preset area range as a target area based on the alarm frequency of all alarm information in the alarm information base and the association relation;
and taking the geometric center of the target area as a target frequent alarm position.
Specifically, fig. 4 is a schematic diagram of a space-time analysis principle of alarm information provided by the present invention, and as shown in fig. 4, when performing spatial analysis of the alarm information, a serial number of the alarm device is associated with a device position, and an association relationship between the device position and the alarm information in the alarm information base is determined.
And based on the alarm times and the incidence relation of all the alarm information in the alarm information base, searching the area with the largest alarm times in the preset area range according to the alarm times corresponding to the alarm information, and taking the area as a target area. And determining the geometric center of the target area, and taking the set center as the target frequent alarm position.
For example: the alarm information base records all alarm information in the A city range, associates the device position with the alarm information in the alarm information base, uses a circular area with the radius of 10m as a preset area range, performs intersection operation with alarm times in space, traverses the A city range (the circular area moves on a map, and the cumulative value of the alarm times is calculated and obtained when the circular area moves), searches for an area with the most accumulated alarm times of all devices in the circular area range as a target area, and selects the circle center of the circular target area as a target frequent alarm position after determining the target area.
It should be noted that the method for determining the frequent alarm position of the target is only used as a specific example to describe the present invention, and besides, in practical applications, the preset area range may also be selected from regular polygons or irregular figures. When the target area is selected, the target area can be directly determined according to the distribution of the alarm times on the space besides the traversal method. When the position is determined, an area range in which spatial information needs to be extracted can be selected from the alarm information base, and when a target frequent alarm position in the area range is determined (for example, a target frequent alarm position in F county is selected from a city a and the target frequent alarm position in F county is searched for) in actual application, the area range is preset, and a determination method of the target area and the area range searched for by the target frequent alarm position can be adjusted according to actual conditions, which is not limited by the invention.
According to the alarm information processing method provided by the invention, the number of the alarm equipment in the key code is utilized to correlate the position information of the equipment, the frequent alarm position of the target is determined, the area with the largest alarm frequency in the preset area range is determined as the target area based on the alarm frequency and the correlation of all the alarm information in the alarm information base, the geometric center of the target area is taken as the frequent alarm position of the target, the space information of the alarm information is fully utilized, the rapid integration of the alarm information is realized, valuable information in the space is screened, the high-frequency alarm position information is obtained, and the complexity of information extraction during retrieval is simplified.
Optionally, the alarm information processing method provided by the present invention is further characterized by including:
and determining a target category alarm time period based on the target alarm type number and the alarm information library.
Specifically, after the alarm information is stored in the alarm information library, the target class alarm time period can be determined based on all the alarm information and the alarm type numbers in the alarm information library.
It should be noted that, based on the alarm type number, the class-by-class search can be performed quickly in the alarm information library, and after the target alarm type number is input, all the alarm information corresponding to the target alarm type number can be found.
All alarm information corresponding to the target alarm type number can be confirmed in terms of time, the time period of occurrence of the target type alarm information and the alarm duration.
It should be noted that the target category alarm time period may be a set of all alarm information alarm time periods (alarm start time to alarm end time) corresponding to the target alarm category, or may be the longest time period obtained by combining the alarm time periods in all alarm information in a time domain. The specific type and method of the target class alarm time period can be adjusted according to actual requirements, and the method is not limited in the invention.
According to the alarm information processing method provided by the invention, all alarm information corresponding to the target alarm type number is searched by utilizing the alarm type number in the key code, the target type alarm time period is determined, the time information of the alarm information is fully utilized, the rapid integration of the alarm information is realized, the valuable information in time is screened, and the complexity of information extraction during retrieval is simplified.
Optionally, according to the alarm information processing method provided by the present invention, the determining a target category alarm time period based on the target alarm type number and the alarm information library specifically includes:
determining the alarm starting time and the alarm ending time of all alarm information of the target category in the alarm information base based on the target alarm type number;
determining the earliest moment in the alarm starting moments of all the alarm information of the target category as a target starting moment;
determining the latest moment in the alarm termination moments of all the alarm information of the target category as the target termination moment;
and determining a target category alarm time period based on the target starting time and the target ending time.
Specifically, fig. 4 is a schematic diagram of a time-space analysis principle of alarm information provided by the present invention, and as shown in fig. 4, when time analysis of the alarm information is performed, class-by-class search is performed quickly in an alarm information library, and after a target alarm type number is input, all alarm information of a target class corresponding to the target alarm type number can be found. And determining the alarm starting time and the alarm ending time of each piece of alarm information.
Determining the earliest moment in the alarm starting moments of all the alarm information of the target category as the target starting moment based on the searched alarm starting moments and alarm ending moments (alarm time periods) of all the alarm information of the target category; the latest moment in the alarm termination moments of all alarm information of the target class is determined as the target termination moment (similar to the superposition analysis method in the spatial domain, the time domain in which the alarm signal of the target class occurs is determined).
And determining the target category alarm time period by taking the acquired target starting time as the starting time of the target category alarm time period and taking the target ending time as the ending time of the target category alarm time period.
For example: all alarm information in the scope of city A is recorded in an alarm information base, wherein the alarm information is divided into five categories of 01, 02, 03, 04 and 05 according to alarm category numbers.
And taking the 03 category as a target alarm type number, and searching all the alarm information about the 03 category in the 13 th 01 month in 2020 in an alarm information database. And determines alarm start times and alarm end times (alarm periods) of all the alarm information about the 03 category. Further, 37 minutes and 53 seconds at the earliest time of 2020, 01, 13, 03 of 03 are determined as target starting time among the alarm starting times of all the alarm information of the target category; and determining 43 minutes and 21 seconds at the latest time of 2020, 01, 13, and 22 among the alarm termination times of all the alarm information of the target category as the target termination time.
And determining the target category alarm time period to be 37 minutes and 53 seconds when 03 and 13 days 03 and 2020 and 01 months and 13 days 22 and 43 minutes and 21 seconds when 22 and 21 days when 01 months and 13 days 2020.
Further, the alarm duration (duration of the alarm time period) of each piece of alarm information can be determined according to the alarm starting time and the alarm ending time (alarm time period) of all the alarm information about 03 types, the alarm durations are accumulated, and the total target type alarm duration is determined.
It should be noted that, the method for determining the target category alarm time period is only used as a specific example to describe the present invention, in addition, in practical application, a time range (such as three months, five days, two hours, and the like) to be searched can be flexibly selected, and an area range and a target alarm category to be searched can also be flexibly selected, which is not limited by the present invention.
According to the alarm information processing method provided by the invention, all alarm information corresponding to the target alarm type number is searched by utilizing the alarm type number in the key code, the target class alarm time period is determined by utilizing the alarm time period (the alarm starting time and the alarm ending time) corresponding to each piece of alarm information in the target class, the time information related to the alarm information is fully utilized, the quick integration of the alarm information is realized, the valuable information in time is screened, and the complexity of information extraction in retrieval is simplified.
Fig. 5 is a schematic structural diagram of an alarm information processing system provided by the present invention, and as shown in fig. 5, the present invention further provides an alarm information processing system, including:
an information encoding unit 510, configured to determine, based on an alarm device and an alarm type corresponding to alarm information, a key code corresponding to the alarm information;
an information storage unit 520, configured to map, bind and store the alarm information and the key code, and obtain an alarm information library;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
Specifically, the alarm information can be artificially divided into a plurality of different categories according to a certain rule, for example, vehicle alarm can be given according to the reason of alarm occurrence (such as overspeed, overlarge acceleration and the like), the type of equipment for alarm occurrence (such as engine alarm, brake pad alarm, tire alarm and the like), and alarm purposes (such as warning drivers of dangerous driving behaviors, warning vehicle faults, road condition alarm and the like).
It should be noted that the above rule for classifying alarm information is only described as a specific example of the present invention, and the specific classification method may be selected according to actual situations, which is not limited by the present invention.
Explaining the storage process of one piece of alarm information, the information coding unit 510 is used for determining the equipment number of the alarm equipment and the type code corresponding to the alarm type according to the alarm information, determining the equipment number of the alarm equipment and the type code corresponding to the alarm type based on the alarm equipment and the alarm type corresponding to the alarm information, and determining the key code corresponding to the alarm information based on the alarm equipment code and the alarm type code.
It should be noted that the key includes: the number of the alarm device, the number of the alarm type, the specific coding sequence of the key code and the coding rule can be adjusted according to the actual requirement, and the invention is not limited to this.
And an information storage unit 520, configured to map, bind and store the alarm information and the key code corresponding to the alarm information determined by the information encoding unit 510, so as to obtain an alarm information library.
It should be noted that the alarm information includes: alarm times, alarm starting time and alarm stopping time. The alarm information mentioned in the present invention actually refers to a piece of alarm information (atomized alarm information), and each piece of alarm information actually refers to a comprehensive set of information on occurrence of an alarm event within a preset time period. The alarm frequency refers to the frequency of alarms occurring in a preset time period; the alarm starting time is the starting time of the generation of an alarm signal in a preset time period; the alarm termination time is the termination time of the alarm signal ending in the preset time period. The preset time period of the alarm information can be adjusted according to the actual situation, which is not limited by the invention.
For example: the preset time period of the alarm information is 5s, and the equipment with the equipment number of R2765 alarms twice in 5s between the time periods of 11:30:25 and 11:30: 30. The starting time of the first alarm is 11:30:26, the ending time is 11:30:27, and the duration time is 1 s; the starting time of the second alarm is 11:30:28, the ending time is 11:30:30, and the duration time is 2 s. It can be determined that the alarm time of the alarm information is 2 times, the alarm starting time is 11:30:26, and the alarm ending time is 11:30: 30.
According to the alarm information processing system provided by the invention, the serial number of the alarm equipment and the serial number of the alarm type form a key code, and the key code and the alarm information are mapped, bound and stored, so that the structural storage of massive alarm information can be realized, the processing process of valuable information is simplified, when the subsequent retrieval is required in an alarm information library, the retrieval of the corresponding alarm information can be carried out according to the corresponding key code, and all the alarm information of the target alarm equipment and all the alarm information under the target alarm type can be respectively searched through the serial number of the alarm equipment and the serial number of the alarm type in the key code, so that the retrieval efficiency is improved.
It should be noted that, the alarm information processing system provided in the embodiment of the present invention is used for executing the alarm information processing method, and a specific implementation manner of the alarm information processing system is consistent with a method implementation manner, which is not described herein again.
Fig. 6 is a schematic physical structure diagram of an electronic device provided in the present invention, and as shown in fig. 6, the electronic device may include: a processor (processor)610, a communication interface (communication interface)620, a memory (memory)630 and a communication bus (bus)640, wherein the processor 610, the communication interface 620 and the memory 630 complete communication with each other through the communication bus 640. The processor 610 may call logic instructions in the memory 630 to perform the alarm information processing method described above, including: determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information; mapping, binding and storing the alarm information and the key codes to obtain an alarm information base; wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
In addition, the logic instructions in the memory 630 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. 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 U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
In another aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the alarm information processing method provided by the above-mentioned method embodiments, where the method includes: determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information; mapping, binding and storing the alarm information and the key codes to obtain an alarm information base; wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to, when executed by a processor, perform the alarm information processing method provided in the foregoing embodiments, where the method includes: determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information; mapping, binding and storing the alarm information and the key codes to obtain an alarm information base; wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. An alarm information processing method is characterized by comprising the following steps:
determining a key code corresponding to alarm information based on the alarm equipment and the alarm type corresponding to the alarm information;
mapping, binding and storing the alarm information and the key codes to obtain an alarm information base;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
2. The alarm information processing method of claim 1, wherein before the step of determining the key corresponding to the alarm information based on the alarm device and the alarm type corresponding to the alarm information, the method further comprises:
and determining the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information.
3. The alarm information processing method according to claim 2, wherein the determining the alarm type of the alarm information based on the alarm reason and the alarm purpose of the alarm information specifically includes:
determining an alarm reason and an alarm purpose based on the alarm information;
performing inter-class combination based on the alarm reason and the logical relationship between the alarm reasons, and determining the alarm reason large class corresponding to the alarm information;
and determining the alarm type of the alarm information based on the alarm reason category and the alarm purpose.
4. The alert information processing method according to any one of claims 1 to 3, further comprising:
and determining the frequent alarm position of the target based on the alarm equipment number and the alarm information library.
5. The alarm information processing method according to claim 4, wherein the determining the frequent alarm position of the target based on the alarm device number and the alarm information library specifically includes:
determining the association relation between the equipment position and alarm information in an alarm information base based on the serial number of the alarm equipment;
determining an area with the maximum alarm frequency in a preset area range as a target area based on the alarm frequency of all alarm information in the alarm information base and the association relation;
and taking the geometric center of the target area as a target frequent alarm position.
6. The alert information processing method according to any one of claims 1 to 3, further comprising:
and determining a target category alarm time period based on the target alarm type number and the alarm information library.
7. The alarm information processing method according to claim 4, wherein the determining a target category alarm time period based on the target alarm type number and the alarm information library specifically includes:
determining the alarm starting time and the alarm ending time of all alarm information of the target category in the alarm information base based on the target alarm type number;
determining the earliest moment in the alarm starting moments of all the alarm information of the target category as a target starting moment;
determining the latest moment in the alarm termination moments of all the alarm information of the target category as the target termination moment;
and determining a target category alarm time period based on the target starting time and the target ending time.
8. An alarm information processing system, comprising:
the information coding unit is used for determining a key code corresponding to the alarm information based on the alarm equipment and the alarm type corresponding to the alarm information;
the information storage unit is used for mapping, binding and storing the alarm information and the key codes to obtain an alarm information library;
wherein, alarm information includes: the alarm times, the alarm starting time and the alarm stopping time; the key includes: alarm equipment number and alarm type number.
9. An electronic device, comprising a memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to enable execution of the alert information processing method of any of claims 1 to 7.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the alert information processing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110143356.0A CN112905590A (en) | 2021-02-02 | 2021-02-02 | Alarm information processing method and system, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110143356.0A CN112905590A (en) | 2021-02-02 | 2021-02-02 | Alarm information processing method and system, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112905590A true CN112905590A (en) | 2021-06-04 |
Family
ID=76121411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110143356.0A Pending CN112905590A (en) | 2021-02-02 | 2021-02-02 | Alarm information processing method and system, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112905590A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656976A (en) * | 2008-08-19 | 2010-02-24 | 大唐移动通信设备有限公司 | Operation maintenance device, network element equipment and method thereof for processing reported alarms |
JP2010272040A (en) * | 2009-05-25 | 2010-12-02 | Hochiki Corp | Alarm and alarm system |
CN102611565A (en) * | 2011-10-18 | 2012-07-25 | 国网电力科学研究院 | Regular-expression-based alarm correlation analysis method for monitoring system |
CN104702432A (en) * | 2014-01-15 | 2015-06-10 | 杭州海康威视***技术有限公司 | Alarm method based on position area division and server |
CN105575110A (en) * | 2016-03-08 | 2016-05-11 | 江苏物联网研究发展中心 | GIS-based smart city management special vehicle monitoring system |
CN106528818A (en) * | 2016-11-17 | 2017-03-22 | 广东电网有限责任公司江门供电局 | Method and device for processing direct transmission information of alarm signal |
CN106940837A (en) * | 2017-02-27 | 2017-07-11 | 江苏徐工信息技术股份有限公司 | A kind of management-control method of engineering machinery vehicle working region |
CN108180398A (en) * | 2017-12-28 | 2018-06-19 | 北京市燃气集团有限责任公司 | A kind of anti-damage from third-party detection method of gas pipeline and detecting system |
CN109448312A (en) * | 2018-09-06 | 2019-03-08 | 上海电器科学研究所(集团)有限公司 | A kind of alert interlink alarm system of intelligent doctor |
CN111308984A (en) * | 2020-01-21 | 2020-06-19 | 深圳市雷赛软件技术有限公司 | Information display method, device, motor driver, system and readable storage medium |
-
2021
- 2021-02-02 CN CN202110143356.0A patent/CN112905590A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656976A (en) * | 2008-08-19 | 2010-02-24 | 大唐移动通信设备有限公司 | Operation maintenance device, network element equipment and method thereof for processing reported alarms |
JP2010272040A (en) * | 2009-05-25 | 2010-12-02 | Hochiki Corp | Alarm and alarm system |
CN102611565A (en) * | 2011-10-18 | 2012-07-25 | 国网电力科学研究院 | Regular-expression-based alarm correlation analysis method for monitoring system |
CN104702432A (en) * | 2014-01-15 | 2015-06-10 | 杭州海康威视***技术有限公司 | Alarm method based on position area division and server |
CN105575110A (en) * | 2016-03-08 | 2016-05-11 | 江苏物联网研究发展中心 | GIS-based smart city management special vehicle monitoring system |
CN106528818A (en) * | 2016-11-17 | 2017-03-22 | 广东电网有限责任公司江门供电局 | Method and device for processing direct transmission information of alarm signal |
CN106940837A (en) * | 2017-02-27 | 2017-07-11 | 江苏徐工信息技术股份有限公司 | A kind of management-control method of engineering machinery vehicle working region |
CN108180398A (en) * | 2017-12-28 | 2018-06-19 | 北京市燃气集团有限责任公司 | A kind of anti-damage from third-party detection method of gas pipeline and detecting system |
CN109448312A (en) * | 2018-09-06 | 2019-03-08 | 上海电器科学研究所(集团)有限公司 | A kind of alert interlink alarm system of intelligent doctor |
CN111308984A (en) * | 2020-01-21 | 2020-06-19 | 深圳市雷赛软件技术有限公司 | Information display method, device, motor driver, system and readable storage medium |
Non-Patent Citations (3)
Title |
---|
杨洪耕等: "地区电网智能告警***的实现", 《电力***及其自动化学报》 * |
汪辉: "半导体全自动封装设备的报警实现方法", 《铜陵学院学报》 * |
陈有为等: "SDH网管接口***的设计与实现", 《科技信息》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111209131B (en) | Method and system for determining faults of heterogeneous system based on machine learning | |
CN112114995B (en) | Terminal abnormality analysis method, device, equipment and storage medium based on process | |
US20220078188A1 (en) | Change Monitoring and Detection for a Cloud Computing Environment | |
CN111352759B (en) | Alarm root cause judging method and device | |
CN110019349A (en) | Sentence method for early warning, device, equipment and computer readable storage medium | |
CN112559376A (en) | Automatic positioning method and device for database fault and electronic equipment | |
CN111459698A (en) | Database cluster fault self-healing method and device | |
CN109034423B (en) | Fault early warning judgment method, device, equipment and storage medium | |
CN112463553A (en) | System and method for analyzing intelligent alarm based on common alarm correlation | |
CN114172921A (en) | Log auditing method and device for scheduling recording system | |
CN114647558A (en) | Method and device for detecting log abnormity | |
CN112905590A (en) | Alarm information processing method and system, electronic device and storage medium | |
CN116015823A (en) | Event detection method and device, electronic equipment and storage medium | |
CN114218295A (en) | Traffic equipment data abnormity monitoring and early warning method and system | |
CN114312930A (en) | Train operation abnormity diagnosis method and device based on log data | |
CN114490256A (en) | Operation and maintenance monitoring system and method | |
CN113285824A (en) | Method and device for monitoring security of network configuration command | |
CN114546754A (en) | Automatic intelligent monitoring method and system and map data cloud platform | |
CN112613723A (en) | Risk alarm method, system, device and medium | |
CN112256549A (en) | Log processing method and device | |
CN113138872A (en) | Abnormal processing device and method for database system | |
CN111222928A (en) | Method and system for monitoring enterprise standard invoicing | |
CN113347134A (en) | Attack detection method and system for internet of vehicles TSP platform | |
Kubiak et al. | IT-Application Behaviour Analysis: Predicting Critical System States on OpenStack using Monitoring Performance Data and Log Files. | |
CN114936113B (en) | Task avalanche recovery method and device, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210604 |