CN113923103A - Alarm method, alarm device, cloud service platform and readable storage medium - Google Patents

Alarm method, alarm device, cloud service platform and readable storage medium Download PDF

Info

Publication number
CN113923103A
CN113923103A CN202111475903.1A CN202111475903A CN113923103A CN 113923103 A CN113923103 A CN 113923103A CN 202111475903 A CN202111475903 A CN 202111475903A CN 113923103 A CN113923103 A CN 113923103A
Authority
CN
China
Prior art keywords
alarm
attribute
preset
attribute information
condition
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
Application number
CN202111475903.1A
Other languages
Chinese (zh)
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.)
Shenzhen Traffic Science Research Institute Co ltd
Shenzhen Urban Transport Planning Center Co Ltd
Original Assignee
Shenzhen Traffic Science Research Institute Co ltd
Shenzhen Urban Transport Planning Center 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 Shenzhen Traffic Science Research Institute Co ltd, Shenzhen Urban Transport Planning Center Co Ltd filed Critical Shenzhen Traffic Science Research Institute Co ltd
Priority to CN202111475903.1A priority Critical patent/CN113923103A/en
Publication of CN113923103A publication Critical patent/CN113923103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Alarm Systems (AREA)

Abstract

The application belongs to the field of data processing, and particularly relates to an alarm method, an alarm device, a cloud service platform and a readable storage medium, wherein the method comprises the following steps: acquiring data reported by equipment, wherein the data comprises attribute information of the equipment; determining the alarm type of the equipment; if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition; and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm. The method and the device can determine whether the attribute information reported by the equipment meets the preset multi-attribute combination alarm condition, and if so, an alarm is generated, so that the reported attribute information is processed by the preset multi-attribute combination alarm condition, and the probability of false alarm is reduced.

Description

Alarm method, alarm device, cloud service platform and readable storage medium
Technical Field
The application belongs to the field of data processing, and particularly relates to an alarm method, an alarm device, a cloud service platform and a readable storage medium.
Background
In the monitoring platform of the internet of things, equipment reports data to a cloud service platform, and the cloud service platform performs data processing, analysis, statistics and storage. In addition to the basic data index analysis statistics, users tend to pay more attention to equipment early warning/failure data. The platform user sets a set of special alarm conditions according to the characteristics of a certain type of equipment, generates alarm information according to the alarm conditions, immediately sends an email/short message to inform the user once new alarm information is generated, and the user logs in the cloud service platform to manually process the alarm information.
However, the condition for triggering alarm in the existing internet of things monitoring platform is single, and the reported data cannot be processed by using diversified alarm conditions, so that the probability of false alarm is increased.
Disclosure of Invention
The embodiment of the application provides an alarm method, an alarm device, a base station and a readable storage medium, which can reduce the probability of false alarm.
In a first aspect, an embodiment of the present application provides an alarm method, where the method includes:
acquiring data reported by equipment, wherein the data comprises attribute information of the equipment;
determining an alarm type of the device;
if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition;
and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm.
In a possible implementation manner of the first aspect, the determining whether the attribute information meets a preset multi-attribute combined alarm condition includes:
acquiring multi-attribute information of the equipment, wherein the multi-attribute information comprises first attribute information and second attribute information;
determining whether the first attribute information and the second attribute information meet a preset multi-attribute combined alarm expression, wherein the preset multi-attribute combined alarm expression comprises a preset first attribute alarm expression corresponding to the first attribute information and a preset second attribute alarm expression corresponding to the second attribute information.
Before the generating of the alarm, the method further comprises:
determining a first duration of the attribute information meeting the preset multi-attribute combined alarm condition;
if the first duration is greater than or equal to a first preset time, determining whether a first target frequency of the first duration is greater than or equal to a first preset frequency;
and if the first target times are greater than or equal to the first preset times, generating an alarm.
After the generating of the alarm, the method further comprises:
and processing the alarm according to the preset plan information corresponding to the preset multi-attribute combined alarm condition.
The method further comprises the following steps:
if the alarm type is a preset single-attribute alarm type, determining whether the attribute information meets a preset single-attribute alarm condition;
and if the attribute information meets the preset single-attribute alarm condition, generating an alarm.
The preset single-attribute warning condition comprises a preset single-attribute mean warning condition and a preset single-attribute sum value warning condition, and the determining whether the attribute information meets the preset single-attribute warning condition comprises:
acquiring single attribute information of the equipment within a preset first time period;
carrying out mean value processing on the single attribute information of each device in the preset first time period, and determining whether the mean value meets the preset single attribute mean value alarm condition;
or
And summing the single attribute information of each device in the preset first time period, and determining whether the sum value meets the preset single attribute and value alarm condition.
The preset single-attribute alarm condition comprises a preset single-attribute continuous rising alarm condition and a preset single-attribute continuous falling alarm condition; the determining whether the attribute information meets a preset single-attribute alarm condition includes:
acquiring the amplitude of the increase or decrease of the single attribute information within the preset times of a preset second time period;
and determining whether the attribute information meets a preset single-attribute continuous rising alarm condition or a preset single-attribute continuous falling alarm condition according to the rising or falling amplitude of the single-attribute information.
In a second aspect, an embodiment of the present application provides an alarm device, including:
the device comprises an acquisition device and a processing device, wherein the acquisition device is used for acquiring data reported by equipment, and the data comprises the alarm type and the attribute information of the equipment;
the determining device is used for determining whether the attribute information meets a preset multi-attribute combined alarm condition or not if the alarm type is a preset multi-attribute combined alarm type;
and the warning device is used for generating a warning if the attribute information meets the preset multi-attribute combined warning condition.
In a third aspect, an embodiment of the present application provides a cloud service platform, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the alarm method according to the first aspect is implemented.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when being executed by a processor, the computer program implements the alert method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that: the method comprises the steps that data reported by equipment are obtained, and the data comprise attribute information of the equipment; determining the alarm type of the equipment; if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition; and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm. The method and the device can determine whether the attribute information reported by the equipment meets the preset multi-attribute combination alarm condition, and if so, an alarm is generated, so that the reported attribute information is processed by the preset multi-attribute combination alarm condition, and the probability of false alarm is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an alarm method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an alarm method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a specific method of S203 according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an alarm device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a cloud service platform according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail, and in other instances, specific technical details may be mutually referenced in various embodiments, and a specific system not described in one embodiment may be referenced in other embodiments.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Reference throughout this specification to "one embodiment of the present application" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in other embodiments," "an embodiment of the present application," "other embodiments of the present application," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
In the monitoring platform of the internet of things, equipment reports data to a cloud service platform, and the cloud service platform performs data processing, analysis, statistics and storage. In addition to the basic data index analysis statistics, users tend to pay more attention to equipment early warning/failure data. The platform user sets a set of special alarm conditions according to the characteristics of a certain type of equipment, generates alarm information according to the alarm conditions, immediately sends an email/short message to inform the user once new alarm information is generated, and the user logs in the cloud service platform to manually process the alarm information.
However, the existing internet of things monitoring platform has the following disadvantages:
(1) and the reported data contents of the devices of different brands and models are inconsistent, and the configured alarm conditions cannot be adapted to various devices.
(2) The condition for triggering alarm is single, the reported data can not be processed by using diversified alarm conditions, and the probability of false alarm is increased.
(3) And a plan is not configured for the alarm condition, only an alarm can be generated, and the alarm information cannot be automatically processed.
In order to solve the above defects, the inventive concept of the present application is:
the method and the device introduce the product model, and solve the defects that the reported data contents of the devices of different brands and models are inconsistent and the configured alarm conditions cannot be adapted to various devices through the product model.
The method comprises the steps that data reported by equipment are obtained, and the data comprise attribute information of the equipment; determining the alarm type of the equipment; if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition; and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm. The method and the device can determine whether the attribute information reported by the equipment meets the preset multi-attribute combination alarm condition, and if so, an alarm is generated, so that the reported attribute information is processed by the preset multi-attribute combination alarm condition, and the probability of false alarm is reduced.
The method and the device aim at the alarm configuration plan capable of automatically processing, and process the alarm through the plan when the alarm is given.
In order to explain the technical means of the present application, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of an alarm method according to an embodiment of the present application, and only a part related to the present application is shown for convenience of description. The application scenario includes: cloud services platform 10 and device 20. The devices 20 may be different models of devices, and the same model of device 20 is referred to as a product.
The cloud service platform 10 includes: application Program Interface (API) base services 101, device component services 102, alarm services 103, device bus services 104, and notification services 105. In the application scenario, the cloud service platform 10 implements various functions through various services.
The cloud service platform 10 realizes the functions of adding, deleting, modifying and checking data through the API basic service 101. The functionality to forward data is implemented by the device component service 102. The alarm service 103 is used for matching the data with the alarm condition and determining the plan information. Storage, more data functions are performed by the device bus service 104. The function of notifying the user is implemented by the notification service 105.
The cloud service platform 10 is used to define a product physical model, where the physical model is a digital representation of a product (such as a sensor, a light controller, a water level sensor, etc.) in a physical space in the cloud. When the product model is defined, the dimensions of basic information of the product, attribute information of the product, uplink and downlink instructions, event information and the like can be configured to complete the definition. And the product model file can be imported for configuration through one key to finish the definition.
The basic information of the product includes a product ID, a product name, a product identifier, a product type ID, a product model, and the like, and the cloud service platform 10 generates a unique code according to the product identifier, and is unchangeable. The rest information cloud service platform 10 can perform addition, deletion, modification and check on the rest information in the basic information of the product through the API basic service 101.
The attribute information of the product comprises an attribute ID, a product identifier, an attribute name, an attribute identifier and the like, and the attribute identifier of the same type of product is not repeatable and can not be changed. The other information cloud service platforms can add, delete, modify and check the attribute information of the product through the API basic service 101. The attribute identification may not be consistent with the attributes of the device's own protocol, but must be consistent with the attributes of the device component service 102 corresponding to the product.
The uplink and downlink instruction comprises an instruction ID, a product identifier, an instruction name and an instruction identifier. The uplink instruction refers to that the device 20 reports data to the cloud service platform 10, and the downlink instruction refers to that the cloud service platform 10 issues data to the device 20. The cloud service platform 10 may perform addition, deletion, modification, and check on the uplink and downlink instructions through the API basic service 101.
The event information comprises early warning events and fault events, and the event information comprises event IDs, product identifications, event names, event sources and the like. The cloud service platform 10 may perform addition, deletion, modification, and check on the event information through the API basic service 101.
In the product model, device information is configured, and the device information includes a device ID, a product identification, a device name, a device identification, a device code, an item ID, a device status (e.g., activated or deactivated), attribute information of the device, and the like. The cloud service platform 10 may perform addition, deletion, modification, and check on the device information through the API basic service 101. The configuration equipment information can also be imported through one key of an Excel file.
In the cloud service platform 10, an alarm condition is configured, and when data reported by the device 20 meets the alarm condition, an alarm is given. The cloud service platform 10 may perform addition, deletion, modification, and check on the alarm condition through the API basic service 101.
The alarm conditions comprise alarm ID, product identification, uplink instruction name, alarm name and alarm level (1: prompt alarm; 2: secondary alarm; 3: severe alarm; 4: emergency alarm), event information, event source (the event source is mainly divided into two types, one is that no alarm is generated when the event is reported to the cloud service platform 10 and the alarm is generated only by matching with the alarm condition, the other is that the alarm is generated when the event is reported to the cloud service platform 10), alarm type (aiming at the difference of the event source, the alarm types are mainly divided into two categories, one is that the alarm type can be generated only by matching the data reported by the equipment with the alarm condition, such as preset multi-attribute combined alarm type, preset single-attribute alarm type, no-data alarm type and the like, and the other is that the alarm type can be generated without matching the data reported by the equipment with the alarm condition, that is, the device has generated an alarm when reporting data. Such as: device active reporting alarm type), alarm expression, duration, plan information, validation time, validation item, validation device, version number, notification object type (1: a user; 2: and (4) post: department, etc.), notification message type (1: an intra-site message; 2: e-mail; 3; short messages, etc.).
In the cloud service platform 10, plan information is configured for the alarm condition, and the alarm meeting the alarm condition is processed in time by using the plan information.
In the cloud service platform 10, after the alarm condition and the plan information are configured, the alarm condition and the preset information are stored, if the bytes of the alarm condition and the plan information are less, the alarm condition and the preset information may be stored by using a local memory, and if the bytes of the alarm condition and the plan information are more, the alarm condition and the plan information may be stored by using a storage system, such as Redis. In this application scenario, the storage structure is a key-value pair type (key-value). The caching of alarm conditions is divided into two types according to whether the alarm type is a dataless alarm type:
and if the product is not of a no-data alarm type, the key is a product identifier plus an instruction identifier, and the value is all alarm conditions corresponding to the uplink instruction of the product.
And secondly, alarming without data, wherein the key is a product identifier and the value is an alarm condition corresponding to the product.
The device 20 is communicatively connected to the cloud service platform 10 through one or more sets of device component services 102. The way that each type of device directly communicates with the cloud service platform 10 is different, for example, the protocols of the devices may be different through Narrow Band Internet of Things (NB-IoT), Low power local area network (Long Range, Lora), mobile communication technology (4G, 5G, etc.), Wi-Fi, Bluetooth Low Energy (BLE), etc. In the application scenario, based on each device, the device component service 102 is configured correspondingly, and is configured to forward data that is reported to the cloud service platform 10 by each device 20 and data that is issued to each device 20 by the cloud service platform 10, so that each device 20 and the cloud service platform 10 can communicate with each other. For example, the reported data may be a hexadecimal message, the device component service converts the message data into semi-structured data (json data), filters the data after the data conversion is completed, and finally sends the data to the message queue according to the platform uniform format. In the application scenario, the message queue is a high-throughput distributed publish-subscribe message system Kafka.
By defining the product model and configuring the equipment component service 102, the configured alarm condition can be adapted to various kinds of equipment even if the reported data contents of the equipment with different brands and models are inconsistent.
All alarm conditions are cached in the alarm service 103, the alarm service 103 is used for subscribing data reported by the equipment, determining whether the equipment is configured with the alarm conditions, and if the alarm conditions are configured, matching the data reported by the equipment with the alarm conditions, and determining whether to generate an alarm or eliminate the alarm. If an alarm is generated or an alarm is eliminated, alarm generation information or alarm elimination information is sent to the message queue Kafka. And determining whether the alarm configures corresponding plan information, if so, sending the plan information to a message queue, wherein the message queue can be a message queue RabbitMQ realized based on a high-level message queue protocol. The message queue involved in the application scenario is a communication method between application programs.
The device bus service 104 is used to subscribe to the generation alarm information or the elimination alarm information and update the alarm information stored in the database according to the generation alarm information or the elimination alarm information.
The notification service 105 is used to subscribe to the generation alarm information or the removal alarm information, and to notify the user of the generation alarm information or the removal alarm information.
The device bus service 104 is further configured to subscribe to the plan information corresponding to the generated alarm information, and issue the plan information to the device 20 through the device component service 102, so as to process the alarm.
Referring to fig. 2, fig. 2 is a flowchart illustrating an alarm method according to an embodiment of the present application. The execution subject of the method in fig. 2 may be the cloud service platform 10 in fig. 1. As shown in fig. 2, the method includes: s201 to S203.
S201, data reported by the equipment is obtained, and the data comprises attribute information of the equipment.
Specifically, in the embodiment of the present application, the device may include a plurality of different types of devices, such as an environment sensor, a dynamic speed limiting screen, an ammeter, a voltmeter, and a lamp controller. It may also include the same type of device, for example, only an environmental sensor or only a dynamic speed limit screen. Wherein, each device of the same type can be configured with 1 or more. The embodiment of the present application does not limit the types and the number of the devices.
The attribute information of the device is used for describing the running state of the device, such as temperature information of the environment monitored by the environment sensor, speed information monitored by the dynamic speed limiting screen, current information monitored by the ammeter, voltage information monitored by the voltmeter, abnormal light on/off information monitored by the lamp controller, and the like.
In the embodiment of the application, the data reported by the device includes a product identifier, an instruction identifier, an event type, an item ID, a device code, data reporting time, user-defined time, event information, and the like of the device. The event information includes attribute information of the device, and the specific attribute information is configured according to different types of devices.
In one embodiment, the data format reported by the device is as follows:
{// product identifier "productKey": "XXX",// instruction identifier "cmdKey": A " RealTimeDataReport,// event type "isovent"// false,// project ID " project Id ":1,// device ID" deviceId ":1,// device code" deviceEcode ": LEDD0001",// reporting data time "/," reportTime ": 2021- 01-0112: 13:14",// custom time" definitime ": 121314",// event information 'reportData' {// early warning/fault event/event compilation for active reporting of equipment Code, event status (true: event reporting; false: event removing) "eventCode": null " eventStatus ": null,// attribute information "temperature": 25, "voltage":220, "onOff":1, " level":100, ... } }
After the data reported by the equipment is acquired, whether the data format reported by the equipment is legal or not needs to be checked, and the data format reported by the equipment is directly ignored if the data format reported by the equipment is legal.
Specifically, after the data reported by the device is acquired, it is necessary to check whether the data format reported by the device conforms to the data format reported by the device, and if so, the legal data is processed, and if not, the legal data is directly ignored.
And acquiring a preset alarm condition after verifying that the data reported by the equipment is legal.
Specifically, according to a product identifier and an instruction identifier (see a data format reported by the device), which are included in the reported data, a preset alarm condition corresponding to the product is obtained from a preset alarm condition list stored in advance.
After the preset alarm condition corresponding to the product is obtained, whether the preset alarm condition corresponding to the product is configured with an effective time, an effective item and effective equipment or not needs to be judged, and if the preset alarm condition corresponding to the product is configured, whether the user-defined time of the product is within the effective time configured with the preset alarm condition, whether the item ID of the product is in the effective item configured with the preset alarm condition or not and whether the equipment ID of the product is in the effective equipment configured with the preset alarm condition or not are judged. And if the judgment results are all in accordance with the preset alarm conditions corresponding to the product, processing the data reported by the product, and if any one of the judgment results is not in accordance with the preset alarm conditions, ignoring the data reported by the product.
S202, determining the alarm type of the equipment.
Specifically, after the data reported by the product is judged to meet the effective time, effective item and effective equipment configured in the preset alarm condition corresponding to the product, the alarm type in the preset alarm condition corresponding to the product is obtained.
The alarm types in the embodiment of the application comprise: presetting a multi-attribute combined alarm type, presetting a single-attribute alarm type and the like.
The alarm types in other embodiments of the present application further include: the device actively reports the alarm type, the no-data alarm type and the like.
S203, if the alarm type is the preset multi-attribute combined alarm type, determining whether the attribute information meets the preset multi-attribute combined alarm condition.
Specifically, in the embodiment of the present application, if the alarm type obtained in S202 is a preset multi-attribute combined alarm type, the alarm type corresponds to a preset multi-attribute combined alarm condition. And processing the data reported by the equipment according to the preset multi-attribute combination alarm condition, and determining whether attribute information in the data reported by the equipment meets the preset multi-attribute combination alarm condition.
In the embodiment of the present application, please refer to fig. 3 for determining whether the attribute information satisfies the preset multi-attribute combined alarm condition, where fig. 3 is a flowchart illustrating a specific method of S203 according to an embodiment of the present application. The execution subject of the method in fig. 3 may be the cloud service platform 10 in fig. 1. As shown in fig. 3, the method includes: s301 to S302.
S301, acquiring multi-attribute information of the equipment, wherein the multi-attribute information comprises first attribute information and second attribute information.
Specifically, the obtaining of the multi-attribute information of the device is performed from data reported by the device. The obtained multi-attribute information of the equipment is different according to different equipment.
For example: the equipment is an environment sensor, and the multi-attribute information of the equipment comprises temperature, humidity and the like. Wherein the temperature may be referred to as first attribute information and the humidity may be referred to as second attribute information.
Another example is: the equipment is a lamp controller, and the multi-attribute information of the equipment comprises the on-off state of the lamp controller and the brightness value monitored by the lamp controller. Wherein the on-off state may be referred to as first attribute information and the brightness value may be referred to as second attribute information.
S302, whether the first attribute information and the second attribute information meet a preset multi-attribute combined alarm expression or not is determined.
Specifically, the preset multi-attribute combined alarm expression in the embodiment of the present application includes a preset first attribute alarm expression corresponding to the first attribute information and a preset second attribute alarm expression corresponding to the second attribute information.
The preset first attribute alarm expression comprises first attributes (speed, temperature, humidity, switch state and the like) of the equipment, relational operators (smaller than, larger than, smaller than or equal to, larger than or equal to, equal to and unequal) and a first attribute threshold.
The preset second attribute alarm expression comprises second attributes (speed, temperature, humidity, switch state and the like) of the equipment, relational operators (smaller than, larger than, smaller than or equal to, larger than or equal to, equal to and unequal) and second attribute thresholds.
It should be noted that the first attribute threshold and the second attribute threshold may be adaptively configured according to different application scenarios.
For example, if the device is an environmental sensor, the preset first attribute alarm expression is as follows: temperature ≧ temperature threshold (e.g., 30 degrees). The second attribute warning expression is preset to humidity ≦ humidity threshold (e.g., 50 degrees).
If the device is a lamp controller, the preset first attribute warning expression is that the switch state is 0 (the switch state is 0 and indicates that the switch is in the off state). The preset second attribute alarm expression is that the brightness value is 0 (the brightness value is 0, which means that the lamp controller is in the off state).
Certainly, in the embodiment of the present application, the preset multi-attribute combined alarm expression further includes a preset third attribute alarm expression, a preset fourth attribute alarm expression, and the like.
In the embodiment of the application, the preset multi-attribute combined alarm expression further includes a logic operator connecting the preset first attribute alarm expression and the preset second attribute alarm expression.
The logical operators include: logical and (& &), logical or (| |), logical not (|).
For example, the preset multi-attribute combined alarm expression may be that the temperature is greater than or equal to 30 degrees and the humidity is less than or equal to 50 degrees.
The preset multi-attribute combined alarm expression may also be that the on-off state is 0| | | brightness value is 0.
It should be noted that: the preset first attribute alarm expression, the preset second attribute alarm expression and the logic operator in the preset multi-attribute combined alarm expression need to be configured according to specific equipment and alarm requirements.
In the embodiment of the application, the preset multi-attribute combined alarm expression can also be a user-defined alarm expression.
Illustratively, the attribute information of the lamp controller includes a current value, a voltage value, and a power value. The custom alarm expression may be a current value, a voltage value, a power value < a power threshold (e.g., 30 watts)
In the embodiment of the present application, determining whether the first attribute information and the second attribute information satisfy the preset multi-attribute combined alarm expression may be:
and determining whether the temperature data and the humidity data reported by the environment sensor meet the condition that the temperature is more than or equal to 30 degrees and the humidity is less than or equal to 50 degrees.
Or whether the on-off state and the brightness value reported by the lamp controller meet the on-off state | | | brightness value ═ 0.
Or whether the current value and the voltage value reported by the lamp controller meet the current value and the voltage value, namely the power value is less than 30 watts.
In summary, the embodiment of the present application can match the attribute information by using the preset multi-attribute combination alarm expression, so that compared with a single alarm expression in the prior art, the condition for generating the alarm by the attribute information is diversified, and the probability of false alarm is reduced.
And S204, if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm.
Specifically, in the embodiment of the present application, whether the attribute information meets the preset multi-attribute combined alarm condition may be calculated by using an expression calculation engine. The Expression calculation engine can be a Fel Expression calculation engine, a Groovy Expression calculation engine, or an Expression4j Expression calculation engine.
If the attribute information meets the preset multi-attribute combination alarm condition, in order to further prevent false alarm, the first duration of the attribute information meeting the preset multi-attribute combination alarm condition needs to be determined.
For example, the environmental sensor is configured to report data once in 1 minute, and the temperature data reported by the environmental sensor in 12 minutes are 35 degrees, 32 degrees, 33 degrees, 28 degrees, 37 degrees, 38 degrees, 39 degrees, 27 degrees, 31 degrees, 32 degrees, 34 degrees and 26 degrees.
And judging the data to determine whether a preset multi-attribute combined alarm condition is met. The judgment result is that the data reported by the environment sensors in the 1 st to 3 th minutes, the 5 th to 7 th minutes and the 9 th to 11 th minutes meet the alarm condition that the temperature is more than or equal to 30 degrees and the humidity is less than or equal to 50 degrees, and the data reported in the 4 th, 8 th and 12 th minutes do not meet the alarm condition that the temperature is more than or equal to 30 degrees and the humidity is less than or equal to 50 degrees.
After the data reported by the environmental sensor is determined to meet the alarm condition, the duration of the temperature data meeting the alarm condition that the temperature is greater than or equal to 30 degrees and the humidity is less than or equal to 50 degrees needs to be determined, for example, the duration of the temperature data is determined to be 3 minutes, and the 3 minutes are referred to as a first duration in the embodiment of the present application.
If the first duration is greater than or equal to a first preset time, determining whether a first target number of times of the first duration is greater than or equal to a first preset number of times.
For example, the first preset time in the embodiment of the present application is 2 minutes, and if the first duration time 3 minutes is greater than the first preset time 2 minutes, the number of times of the first duration time is determined, for example: the first duration time of the temperature data reported by the environment sensors in the 1 st to 3 th minutes, the 5 th to 7 th minutes and the 9 th to 11 th minutes is greater than the first preset time by 2 minutes, the number of times of the first duration time is 3, and the 3 times are the first target number of times in the embodiment of the application.
And if the first target times are greater than or equal to the first preset times, generating an alarm.
Illustratively, the first preset number of times in the embodiment of the present application is 2, and if the first target number of times 3 is greater than the first preset number of times 2, an alarm is generated.
In summary, after the preset multi-attribute combination alarm expression is used for matching the attribute information, the first preset time and the first preset times are configured, so that the alarm conditions generated by the attribute information are diversified, and the probability of false alarm is further reduced.
In the embodiment of the present application, after the alarm is generated, the method further includes:
and processing the alarm according to the preset plan information corresponding to the preset multi-attribute combined alarm condition.
Specifically, in the embodiment of the present application, plan information corresponding to a preset multi-attribute combined alarm condition is stored in advance, and according to the plan information, the alarm is processed by using the own device or other devices.
For example, the processing of the alarm by the other device may be:
an environmental sensor and irrigation equipment are installed in a greenhouse, the environmental sensor reports temperature and humidity data at regular time, when the temperature and the humidity meet preset multi-attribute combination alarm conditions to alarm, a water spraying instruction can be issued to the irrigation equipment, the alarm is processed, and the temperature and the humidity in the greenhouse are recovered to be normal. The specific amount, duration and mode of water spraying can be adaptively configured according to the scale of the greenhouse, the number of irrigation equipment and the water spraying amount of single irrigation equipment.
For example, the processing of the alarm by the self device may be:
install the lamp accuse ware in the wisdom lamp pole. The attribute information of the lamp controller includes on-off state (1: on; 0: off), brightness value (0-100). The custom time range of the data reported by the lamp controller (e.g., (012345) 059487, 190000) 205959) is in the effective time configured by the preset alarm condition, e.g., the effective time is at night, the time range is (000000) 060000, 180000) 235959), and the reported attribute information of the data meets the multi-attribute combination alarm condition "(on-off state = 0| | luminance value = 0)", an abnormal lamp-off alarm is generated, and a lamp-on instruction is immediately issued to the current intelligent lamp pole.
In summary, the embodiment of the present application can process the alarm by using the plan information, and realize the functions of automatically identifying the alarm and processing the alarm by using the plan information.
In the embodiment of the application, after the alarm is generated, the alarm can be notified to the user.
Specifically, the user can be notified by means of short messages, mails, in-station messages, and the like.
And S205, if the attribute information does not meet the preset multi-attribute combined alarm condition, eliminating the alarm.
Specifically, if the attribute information does not satisfy the preset multi-attribute combination alarm condition, no alarm is generated, or after the alarm has been generated, if the attribute information does not satisfy the preset multi-attribute combination alarm condition, the alarm is eliminated.
S206, if the alarm type is the preset single-attribute alarm type, determining whether the attribute information meets the preset single-attribute alarm condition.
Specifically, in the embodiment of the present application, if the alarm type obtained in S202 is the preset single-attribute alarm type, the alarm type corresponds to the preset single-attribute alarm condition. And processing the data reported by the equipment according to the preset single-attribute alarm condition, and determining whether the attribute information in the data reported by the equipment meets the preset single-attribute alarm condition.
The preset single-attribute alarm conditions in the embodiment of the application comprise a preset single-attribute mean alarm condition, a preset single-attribute sum alarm condition, a preset single-attribute continuous rising alarm condition and a preset single-attribute continuous falling alarm condition.
The preset single-attribute alarm condition in the embodiment of the present application includes an attribute (speed, temperature, humidity, on-off state, and the like) of a device, a relationship operator (less than, greater than, less than or equal to, greater than or equal to, and unequal) and an attribute threshold.
For example, the preset single attribute mean alarm condition may be:
if the equipment is a dynamic speed limit screen and can monitor the speed of the vehicle, the preset single attribute mean value alarm condition is that the average speed (mean value) of the vehicle is more than or equal to the speed limit value in a preset first time period. For example: the average value of the vehicles is more than or equal to 60km/h within 1 hour, and the 1 hour is referred to as a preset first time period in the embodiment of the application.
The speed limit value can be configured adaptively according to the speed limit requirements of different road sections. The speed limit value is referred to as an attribute threshold value in the embodiment of the application, and the attribute threshold value in the embodiment of the application can be adaptively configured according to a specific application scene.
The preset single attribute and value alarm conditions may be:
if the device is a flow sensor, the flow rate of people can be monitored in different time periods, for example, the daily flow rate limit number of people in a certain park is 1000 people, and the preset single attribute and value alarm condition is that the sum (sum) of the flow rates of people in a preset first time period is less than or equal to the daily flow rate limit number. The present embodiment will refer to 1 day as a preset first period.
The preset single-attribute continuous rising alarm condition may be:
if the device is a water level sensor capable of monitoring the water level, the preset single-attribute continuous rising alarm condition may be that the water level rising amplitude values monitored by the water level sensor within the preset number of times of the preset second time period all exceed the preset rising amplitude value. For example, the water level rises in the range of more than 10cm for 2 consecutive monitoring within 30 minutes (e.g., 5cm for the initial water level, 16cm for the first monitoring, and 27cm for the second monitoring). In the embodiment of the present application, 30 minutes is referred to as a preset second period, 2 times is referred to as a preset number of times, and 10cm is referred to as a preset rising amplitude.
Correspondingly, the preset single-attribute continuous-reduction alarm condition may be that the water level reduction amplitude values monitored by the water level sensor within the preset number of times of the preset second time period all exceed the preset reduction amplitude values. For example, the water level decreases by more than 10cm in each of 2 consecutive monitoring within 30 minutes (e.g., 27cm for the initial water level, 16cm for the first monitoring, and 5cm for the second monitoring). The embodiment of the present application refers to 10cm as a preset reduction amplitude.
It should be noted that, in the embodiment of the present application, the preset increasing/decreasing amplitudes of each of the preset times may be the same or different, for example: the two preset raising/lowering amplitudes can be 10cm, 10cm for one time and 15cm for one time.
In the embodiment of the present application, determining whether the attribute information satisfies the preset single-attribute alarm condition includes:
and acquiring the single attribute information of the equipment within a preset first time period.
Illustratively, if the equipment is a dynamic speed limit screen, the speed monitored by the dynamic speed limit screen is acquired within 1 hour. In the embodiment of the application, the dynamic speed limit screen can monitor the vehicle speed once every 10 minutes and can monitor the vehicle speed for 6 times within 1 hour.
And carrying out mean value processing on the single attribute information of each device in a preset first time period, and determining whether the mean value meets a preset single attribute mean value alarm condition.
Illustratively, the average value of the vehicle speed of 6 times monitored by the dynamic speed limit screen within 1 hour is calculated, and whether the average value meets the alarm condition that the average value of the vehicle is more than or equal to 60km/h within 1 hour is judged.
In this embodiment of the application, in the preset first time period, the obtaining of the single attribute information of the device may further be:
for example, if the device is a flow sensor, the human flow monitored by the flow sensor is acquired within 1 day (24 hours). In the embodiment of the application, the flow sensor can monitor the human flow once every 1 hour, and can detect the human flow for 24 times within 1 day.
And summing the single attribute information of each device in a preset first time period, and determining whether the sum value meets the preset single attribute and value alarm condition.
For example, the sum of the flow rate of people monitored by the flow sensor for 24 times in 1 day is calculated, and whether the sum (sum) of the flow rate of people in 1 day is less than or equal to 1000 is judged.
In the embodiment of the present application, determining whether the attribute information meets the preset single-attribute alarm condition further includes:
and acquiring the increasing or decreasing amplitude of the single attribute information within the preset times of the preset second time period.
For example, if the device is a water level sensor, the magnitude of the increase or decrease in the water level is continuously detected 2 times within 30 minutes.
And determining whether the attribute information meets a preset single-attribute continuous rising alarm condition or a preset single-attribute continuous falling alarm condition according to the rising or falling amplitude of the single-attribute information.
For example, if the amplitude of the water level increase or decrease detected 2 times in 30 minutes is 11cm, it is determined whether the amplitude of the water level increase or decrease detected 2 times in 30 minutes is 11cm, which satisfies that the amplitudes of the water level increase or decrease detected 2 times in 30 minutes are both more than 10 cm.
In summary, when the preset single-attribute alarm condition is used for matching the attribute information, the preset single-attribute alarm condition includes a preset single-attribute mean alarm condition, a preset single-attribute sum value alarm condition, a preset single-attribute continuous rising alarm condition, and a preset single-attribute continuous falling alarm condition, so that the alarm conditions of the attribute information are diversified, and the probability of alarm false alarm is reduced.
And S207, if the attribute information meets the preset single-attribute alarm condition, generating an alarm.
In the embodiment of the application, whether the attribute information meets the preset single-attribute combined alarm condition can be calculated by using the expression calculation engine. The Expression calculation engine can be a Fel Expression calculation engine, a Groovy Expression calculation engine, or an Expression4j Expression calculation engine.
If the attribute information meets the preset single-attribute alarm condition, in order to further prevent false alarm, a second duration time of the attribute information meeting the preset single-attribute alarm condition needs to be determined; if the second duration is greater than or equal to a second preset time, determining whether a second target frequency of the second duration is greater than or equal to a second preset frequency; and if the second target times are greater than or equal to the second preset times, generating an alarm.
Specifically, after the attribute information meets the preset single-attribute alarm condition, detailed technical details in the method related before the alarm is generated may be referred to, and after the attribute information meets the preset multi-attribute combined alarm condition, the detailed technical details in the method before the alarm is generated may not be described herein again.
In summary, in the embodiment of the present application, after the preset single-attribute alarm condition is used to match the attribute information, a second preset time and a second preset number of times are configured, so that the alarm condition generated by the attribute information is diversified, and meanwhile, the probability of false alarm is further reduced.
In the embodiment of the present application, after the alarm is generated, the method further includes:
and processing the alarm according to the preset plan information corresponding to the preset single-attribute alarm condition.
Specifically, in the embodiment of the present application, plan information corresponding to a preset single-attribute alarm condition is stored in advance, and according to the plan information, an alarm is processed by using its own device or other devices.
For example, the processing of the alarm by the other device may be:
a smoke alarm and an exhaust fan are installed in a certain room, a smoke sensor reports smoke concentration data at regular time, when the smoke concentration data meet preset single-attribute alarm conditions to alarm, an opening instruction can be issued to the exhaust fan, the indoor smoke concentration is discharged outdoors, and the indoor smoke concentration is recovered to be normal.
For example, the processing of the alarm by the self device may be:
a temperature sensor is installed in an intelligent air conditioner, the temperature sensor reports ambient temperature data at regular time, and when the ambient temperature data meets preset single-attribute alarm conditions and alarms, the intelligent air conditioner automatically adjusts the refrigeration temperature and relieves the alarm.
In summary, the embodiment of the present application can process the alarm by using the plan information, and realize the functions of automatically identifying the alarm and processing the alarm by using the plan information.
In the embodiment of the application, after the alarm is generated, the alarm can be notified to the user.
Specifically, the user can be notified by means of short messages, mails, in-station messages, and the like.
In the embodiment of the application, if the alarm type is the alarm type actively reported by the equipment, the alarm is directly notified to the user.
Specifically, the device actively reports the alarm type, which is a type that an alarm can be generated without matching the data reported by the device with the alarm condition, so that the user can be directly notified of the alarm.
In the embodiment of the application, if the alarm type is a no-data alarm type, a third duration is obtained, and if the third duration is greater than or equal to a third preset time, an alarm is generated.
Specifically, the data-free state means that the cloud service platform has not received data reported by the device all the time. For example, a piece of data is reported by a certain type of device every hour, and the cloud service platform does not receive the data for a period of time (e.g., 10 hours) due to various reasons such as network jitter. The no-data alarm type proves that the communication of the equipment is abnormal.
If the alarm type is a no-data alarm type, acquiring a third duration (for example, 10 hours), determining whether the third duration is greater than or equal to a third preset time (for example, the preset third duration is 3 to 5 hours, for example, 4 hours) pre-configured in the cloud service platform, and if the third duration (10 hours) is greater than the third preset time (4 hours), generating an alarm and notifying the user of the alarm. The user can check the problems in time.
It should be noted that the third preset time can be adaptively configured according to specific devices.
And S208, if the attribute information does not meet the preset single-attribute alarm condition, eliminating the alarm.
Specifically, if the attribute information does not satisfy the preset single-attribute alarm condition, no alarm is generated, or after the alarm has been generated, if the attribute information does not satisfy the preset single-attribute alarm condition, the alarm is eliminated.
In summary, the data reported by the device is acquired, and the data includes the attribute information of the device; determining the alarm type of the equipment; if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition; and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm. The method and the device can determine whether the attribute information reported by the equipment meets the preset multi-attribute combination alarm condition, and if so, an alarm is generated, so that the reported attribute information is processed by the preset multi-attribute combination alarm condition, and the probability of false alarm is reduced.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an alarm device according to an embodiment of the present application, including:
the obtaining module 41 is configured to obtain data reported by a device, where the data includes attribute information of the device.
A first determination module 42 for determining an alarm type of the device.
And a second determining module 43, configured to determine whether the attribute information meets a preset multi-attribute combination alarm condition if the alarm type is a preset multi-attribute combination alarm type.
And the first alarm module 44 is configured to generate an alarm if the attribute information meets a preset multi-attribute combination alarm condition.
The second determining module is further configured to obtain multi-attribute information of the device, where the multi-attribute information includes the first attribute information and the second attribute information.
And determining whether the first attribute information and the second attribute information meet a preset multi-attribute combined alarm expression, wherein the preset multi-attribute combined alarm expression comprises a preset first attribute alarm expression corresponding to the first attribute information and a preset second attribute alarm expression corresponding to the second attribute information.
The device also comprises:
and the third determining module is used for determining the first duration of the attribute information meeting the preset multi-attribute combined alarm condition.
And the fourth determining module is used for determining whether the first target times of the first duration is greater than or equal to the first preset times or not if the first duration is greater than or equal to the first preset time.
And the second alarm module is used for generating an alarm if the first target frequency is greater than or equal to a first preset frequency.
The device also comprises:
and the plan module is used for processing the alarm according to the plan information corresponding to the preset multi-attribute combined alarm condition.
The device also includes:
and the fifth determining module is used for determining whether the attribute information meets the preset single-attribute alarm condition or not if the alarm type is the preset single-attribute alarm type.
And the third alarm module is used for generating an alarm if the attribute information meets the preset single-attribute alarm condition.
The preset single-attribute alarm conditions in the fifth determination module comprise preset single-attribute mean alarm conditions and preset single-attribute sum value alarm conditions.
The fifth determining module is further used for acquiring the single attribute information of the equipment within a preset first time period;
and carrying out mean value processing on the single attribute information of each device in a preset first time period, and determining whether the mean value meets a preset single attribute mean value alarm condition.
Or
And summing the single attribute information of each device in a preset first time period, and determining whether the sum value meets the preset single attribute and value alarm condition.
The preset single-attribute alarm conditions in the fifth determination module comprise preset single-attribute continuous rising alarm conditions and preset single-attribute continuous falling alarm conditions.
The fifth determining module is further configured to acquire an amplitude value of the increase or decrease of the single attribute information within a preset number of times of a preset second time period;
and determining whether the attribute information meets a preset single-attribute continuous rising alarm condition or a preset single-attribute continuous falling alarm condition according to the rising or falling amplitude of the single-attribute information.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
As shown in fig. 5, an embodiment of the present application further provides a cloud service platform 500, which includes a memory 21, a processor 22, and a computer program 23 stored in the memory 21 and operable on the processor 22, where the processor 22 implements the alert method of each of the above embodiments when the computer program 23 is executed by the processor 22.
The Processor 22 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 device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 21 may be an internal storage unit of the cloud service platform 500. The memory 21 may also be an external storage device of the cloud service platform 500, 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, which are equipped on the cloud service platform 500. Further, the memory 21 may also include both an internal storage unit and an external storage device of the cloud service platform 500. The memory 21 is used to store computer programs and other programs and data required by the cloud service platform 500. The memory 21 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the alarm method of the above embodiments is implemented.
The embodiment of the present application provides a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the alarm method of the above embodiments when executed.
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, all or part of the flow in the method of the embodiments described above can be implemented by a computer program, which can be stored in a computer readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include at least: any entity or device capable of carrying computer program code to a photographing device/base station, a recording medium, computer memory, read-only memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable storage media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and proprietary practices.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
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 embodiments of the present application.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An alert method, the method comprising:
acquiring data reported by equipment, wherein the data comprises attribute information of the equipment;
determining an alarm type of the device;
if the alarm type is a preset multi-attribute combined alarm type, determining whether the attribute information meets a preset multi-attribute combined alarm condition;
and if the attribute information meets the preset multi-attribute combined alarm condition, generating an alarm.
2. The warning method according to claim 1, wherein the determining whether the attribute information satisfies a preset multi-attribute combined warning condition comprises:
acquiring multi-attribute information of the equipment, wherein the multi-attribute information comprises first attribute information and second attribute information;
determining whether the first attribute information and the second attribute information meet a preset multi-attribute combined alarm expression, wherein the preset multi-attribute combined alarm expression comprises a preset first attribute alarm expression corresponding to the first attribute information and a preset second attribute alarm expression corresponding to the second attribute information.
3. The alert method of claim 1, further comprising, prior to said generating an alert:
determining a first duration of the attribute information meeting the preset multi-attribute combined alarm condition;
if the first duration is greater than or equal to a first preset time, determining whether a first target frequency of the first duration is greater than or equal to a first preset frequency;
and if the first target times are greater than or equal to the first preset times, generating an alarm.
4. The alerting method of any one of claims 1 to 3 further comprising, after the generating an alert:
and processing the alarm according to the preset plan information corresponding to the preset multi-attribute combined alarm condition.
5. The alerting method of claim 1 wherein the method further comprises:
if the alarm type is a preset single-attribute alarm type, determining whether the attribute information meets a preset single-attribute alarm condition;
and if the attribute information meets the preset single-attribute alarm condition, generating an alarm.
6. The warning method according to claim 5, wherein the preset single-attribute warning condition comprises a preset single-attribute mean warning condition and a preset single-attribute sum-value warning condition, and the determining whether the attribute information satisfies the preset single-attribute warning condition comprises:
acquiring single attribute information of the equipment within a preset first time period;
carrying out mean value processing on the single attribute information of each device in the preset first time period, and determining whether the mean value meets the preset single attribute mean value alarm condition;
or
And summing the single attribute information of each device in the preset first time period, and determining whether the sum value meets the preset single attribute and value alarm condition.
7. The warning method according to claim 5, wherein the preset single-attribute warning condition comprises a preset single-attribute continuously-increasing warning condition and a preset single-attribute continuously-decreasing warning condition; the determining whether the attribute information meets a preset single-attribute alarm condition includes:
acquiring the amplitude of the increase or decrease of the single attribute information within the preset times of a preset second time period;
and determining whether the attribute information meets a preset single-attribute continuous rising alarm condition or a preset single-attribute continuous falling alarm condition according to the rising or falling amplitude of the single-attribute information.
8. An alert device, comprising:
the device comprises an acquisition device and a processing device, wherein the acquisition device is used for acquiring data reported by equipment, and the data comprises the alarm type and the attribute information of the equipment;
the determining device is used for determining whether the attribute information meets a preset multi-attribute combined alarm condition or not if the alarm type is a preset multi-attribute combined alarm type;
and the warning device is used for generating a warning if the attribute information meets the preset multi-attribute combined warning condition.
9. A cloud service platform comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the alerting method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the alerting method of any one of claims 1 to 7.
CN202111475903.1A 2021-12-06 2021-12-06 Alarm method, alarm device, cloud service platform and readable storage medium Pending CN113923103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111475903.1A CN113923103A (en) 2021-12-06 2021-12-06 Alarm method, alarm device, cloud service platform and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111475903.1A CN113923103A (en) 2021-12-06 2021-12-06 Alarm method, alarm device, cloud service platform and readable storage medium

Publications (1)

Publication Number Publication Date
CN113923103A true CN113923103A (en) 2022-01-11

Family

ID=79248702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111475903.1A Pending CN113923103A (en) 2021-12-06 2021-12-06 Alarm method, alarm device, cloud service platform and readable storage medium

Country Status (1)

Country Link
CN (1) CN113923103A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412852A (en) * 2018-10-29 2019-03-01 京信通信系统(中国)有限公司 Alarm method, device, computer equipment and storage medium
CN109615817A (en) * 2018-10-30 2019-04-12 珠海派诺科技股份有限公司 Monitoring system combines alarm method, device, electronic equipment and storage medium
CN109829833A (en) * 2018-12-07 2019-05-31 国网浙江省电力有限公司 Power distribution network alarm method and system, electronic equipment and computer readable storage medium
CN111917877A (en) * 2020-08-03 2020-11-10 上海浦东东方有线网络有限公司 Data processing method and device for Internet of things equipment, electronic equipment and storage medium
CN112364900A (en) * 2020-10-28 2021-02-12 深圳市金证科技股份有限公司 Equipment alarm management method, device, client and medium for intelligent building
WO2021136247A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Alarm processing method and apparatus, and storage medium
CN113687969A (en) * 2021-07-29 2021-11-23 济南浪潮数据技术有限公司 Alarm information generation method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412852A (en) * 2018-10-29 2019-03-01 京信通信系统(中国)有限公司 Alarm method, device, computer equipment and storage medium
CN109615817A (en) * 2018-10-30 2019-04-12 珠海派诺科技股份有限公司 Monitoring system combines alarm method, device, electronic equipment and storage medium
CN109829833A (en) * 2018-12-07 2019-05-31 国网浙江省电力有限公司 Power distribution network alarm method and system, electronic equipment and computer readable storage medium
WO2021136247A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Alarm processing method and apparatus, and storage medium
CN111917877A (en) * 2020-08-03 2020-11-10 上海浦东东方有线网络有限公司 Data processing method and device for Internet of things equipment, electronic equipment and storage medium
CN112364900A (en) * 2020-10-28 2021-02-12 深圳市金证科技股份有限公司 Equipment alarm management method, device, client and medium for intelligent building
CN113687969A (en) * 2021-07-29 2021-11-23 济南浪潮数据技术有限公司 Alarm information generation method and device, electronic equipment and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王祥浩等: "基于时态产生式规则的配电网告警综合推理方法的研究", 《供用电》 *

Similar Documents

Publication Publication Date Title
CN101902359B (en) The abnormality alarming method of intelligent domestic system and service node
CN110769068A (en) Method, device, server and storage medium for generating alarm message
CN109118736A (en) Fire alarm system, method and readable storage medium storing program for executing based on Internet of Things
CN101091404A (en) Alert service method for specific location information of mobile terminal and managing apparatus and mobile terminal for the same
CN202773015U (en) Image quality diagnosis device for video monitoring system
CN107483268A (en) A kind of alert processing method and system
CN109460744B (en) Video monitoring system based on deep learning
CN110224865A (en) A kind of log warning system based on Stream Processing
CN109698934A (en) A kind of area monitoring method and device
CN109861856B (en) Method and device for notifying system fault information, storage medium and computer equipment
US20110032355A1 (en) Monitoring method and terminal using different monitoring precisions
CN112150659B (en) Full-automatic attendance card punching method and system based on terminal positioning
CN108471439A (en) A kind of intelligent radio Internet of Things electrical safety monitoring system based on Tencent&#39;s cloud
CN113242359A (en) Method for automatically sending alarm message of power plant based on enterprise WeChat
CN111341084B (en) Electric quantity early warning method, electric quantity early warning system and computer storage medium
CN109714387A (en) A kind of operation management system alarm method for subscribing subscribes to terminal, issue terminal and system
CN109409661A (en) Electronic device, the building Electrical Safety recognition methods based on cusum algorithm and storage medium
CN113923103A (en) Alarm method, alarm device, cloud service platform and readable storage medium
CN114070871A (en) Safety protection networking alarm device
CN104518913A (en) Cloud service abnormality detection method based on artificial immunity
CN208422083U (en) A kind of wireless multifunctional alarm gateway and system
CN109981338A (en) Alarm method, device and the storage medium that code pulls
CN204795405U (en) Security protection video high definition monitored control system
CN115333791A (en) Cloud-based vehicle safety protection method and related equipment
CN106488480B (en) Work order engine implementation method and device

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

Application publication date: 20220111

RJ01 Rejection of invention patent application after publication