Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

User-defined event alarm method and system based on time sliding window

A user-defined, sliding window technology, applied to alarms, instruments, etc., can solve the problem that event alarm methods are prone to false negatives and other problems

Active Publication Date: 2021-04-23
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a user-defined event alarm method and system based on a time sliding window to solve the technical problem that existing event alarm methods in the prior art are prone to false alarms

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User-defined event alarm method and system based on time sliding window
  • User-defined event alarm method and system based on time sliding window
  • User-defined event alarm method and system based on time sliding window

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] A user-defined event alarm method based on a time sliding window provided by an embodiment of the present invention, such as figure 1 shown, including:

[0050] S11: Obtain a list of user-defined events, where the list includes the time points at which the user-defined events occur each time, and all time points are arranged according to the time sequence of events occurring.

[0051] S12: Starting from the earliest time point among all the time points, count the number of events occurring within the preset time period.

[0052] As a preferred implementation of this embodiment, step S13 to step S16 are cyclically executed:

[0053] S13: Determine whether the number of times is greater than or equal to a preset value, if yes, go to step S14; if not, go to step S15.

[0054] S14: Carrying out an alarm, and marking all events within a preset time period with a first value, wherein the first value indicates that the event has been alarmed.

[0055] S15: Mark a second val...

Embodiment 2

[0060] A user-defined event alarm method based on a time sliding window provided by an embodiment of the present invention, such as figure 2 shown, including:

[0061] S21: Determine a user-defined event.

[0062] First, define a custom event type, for example, define the event type type that triggers an alarm, assuming that type is high risk, where the time type type includes but is not limited to one.

[0063] S22: Record the occurrence content of the user-defined event according to the user-defined event, and the occurrence content includes: the time point when the event occurs.

[0064] Then, access the log source, where the log source is the log generated by the device, that is, the processing record of the event when the device is running. It should be noted that any processing record includes but is not limited to event ID, processing record, event type, and occurrence time. Therefore, the list also includes: at least one of event ID, event processing record and eve...

Embodiment 3

[0085] A user-defined event alarm system based on a time sliding window provided by an embodiment of the present invention, such as image 3 As shown, the user-defined event alarm system 3 based on a time sliding window includes: an acquisition unit 31 , a calculation unit 32 , an alarm unit 33 , a first marking unit 34 and a second marking unit 35 .

[0086] In a practical application, the obtaining unit is used to obtain a list of user-defined events, wherein the list includes the time points at which the user-defined events occur each time, and all time points are arranged according to the time sequence of events occurring. The list also includes: at least one of event ID, event processing record and event type.

[0087] Further, the calculation unit is used to calculate the number of occurrences of events within a preset time period starting from the earliest time point among all time points. The alarm unit is used for alarming if the number of times is greater than or eq...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a user-defined event alarm method and system based on a time sliding window, and relates to the technical field of alarm systems, including: obtaining a list of user-defined events, which includes the time points at which user-defined events occur each time; From the earliest time point among all time points, calculate the number of events that occur within the preset time period; perform the following steps in a loop: if the number of times is greater than or equal to the preset value, an alarm is issued, and all events within the preset time period are marked The first value, where the first value indicates that the event has been alarmed; if the number of times is less than the preset value, mark the second value for the event that occurs for the first time within the preset time period, where the second value indicates that the event has been discarded ;Starting from the earliest time point among all time points, based on the events that do not mark the first value and the events that do not mark the second value, calculate the number of times the event occurs in the preset time period, which solves the problem that the existing event alarm method is prone to omissions Report technical issues.

Description

technical field [0001] The invention relates to the technical field of alarm systems, in particular to a user-defined event alarm method and system based on a time sliding window. Background technique [0002] At present, in the alarm system, events are usually used for triggering, and the triggering of events is often controlled by the statistics of time periods reaching a certain threshold. The existing event-triggered alarm method is to aggregate events in different time intervals. [0003] However, in the existing process of triggering an alarm by an event, it often happens that some alarms are required but cannot be generated. Therefore, the existing event alarm method is prone to false negatives. Contents of the invention [0004] In view of this, the purpose of the present invention is to provide a user-defined event alarm method and system based on a time sliding window to solve the technical problem in the prior art that the existing event alarm method is prone t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G08B21/18
CPCG08B21/18
Inventor 李中阳范渊龙文洁
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products