CN110769070B - Configurable alarm method, system and storage medium based on Internet of things - Google Patents
Configurable alarm method, system and storage medium based on Internet of things Download PDFInfo
- Publication number
- CN110769070B CN110769070B CN201911048578.3A CN201911048578A CN110769070B CN 110769070 B CN110769070 B CN 110769070B CN 201911048578 A CN201911048578 A CN 201911048578A CN 110769070 B CN110769070 B CN 110769070B
- Authority
- CN
- China
- Prior art keywords
- equipment
- alarm
- information
- parameters
- alarm rule
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/80—Arrangements in the sub-station, i.e. sensing device
- H04Q2209/82—Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data
- H04Q2209/823—Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data where the data is sent when the measured values exceed a threshold, e.g. sending an alarm
Abstract
The invention discloses a configurable alarm method, a configurable alarm system and a storage medium based on the Internet of things, wherein the configurable alarm method comprises the following steps: receiving an alarm rule configuration file uploaded by a client terminal; analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information; searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information; searching in an equipment data set based on the monitoring parameters to obtain equipment parameters matched with the monitoring parameters; and acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal, and returning the acquired equipment parameters and the alarm signal to the client terminal. The system can be effectively applied to various different Internet of things devices, and can also reduce the device data range, so that the efficiency of alarm data screening and collection is improved.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a configurable alarm method, a configurable alarm system and a storage medium based on the Internet of things.
Background
At present, the Internet of things equipment is various, the parameter types and parameter data of different equipment are inconsistent, the alarming parameters and the alarming values of the corresponding parameters are different in rules, a traditional alarming system is used for different equipment, a manufacturer needs to develop and maintain multiple kinds of equipment at the same time, multiple sets of alarming systems are used, and the working process is complicated and high in cost.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a configurable alarm method, a configurable alarm system and a storage medium based on the Internet of things, which are based on alarm rules and can be effectively applied to various different Internet of things devices.
In order to achieve the purpose, the invention provides a configurable alarm method based on the Internet of things, which comprises the following steps:
receiving an alarm rule configuration file uploaded by a client terminal;
analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information;
searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
searching in an equipment data set based on the monitoring parameters to obtain equipment parameters matched with the monitoring parameters;
and acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal, and returning the acquired equipment parameters and the alarm signal to the client terminal.
Further preferably, the device type information includes: a terminal type number, a terminal type name and a terminal model parameter.
Further preferably, the monitoring parameter information includes at least one device parameter type to be monitored.
Further preferably, after the alarm rule configuration information is obtained, the obtained alarm rule configuration information is stored in the first variable.
Further preferably, the searching in the device type database based on the device type information to obtain the device data set matched with the device type information includes:
and matching the first variable with an equipment type database to obtain an equipment data set matched with the equipment type information.
Further preferably, the searching in the device data set based on the monitoring parameter to obtain the device parameter matched with the monitoring parameter includes:
and matching the first variable with an equipment data set to obtain an equipment parameter matched with the monitoring parameter.
Further preferably, after the data is collected, the collected data is stored into the second variable.
In order to achieve the above object, the present invention further provides a configurable alarm system based on the internet of things, including:
the receiving module is used for receiving the alarm rule configuration file uploaded by the client terminal;
the analysis module is used for analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information;
the first matching module is used for searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
the second matching module is used for searching in the equipment data set based on the monitoring parameters to obtain the equipment parameters matched with the monitoring parameters;
and the data acquisition module is used for acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal and returning the acquired equipment parameters and the alarm signal to the client terminal.
To achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above method.
According to the configurable alarm method, the configurable alarm system and the storage medium based on the Internet of things, the alarm rule configuration file uploaded by the client terminal is analyzed based on the alarm rule to obtain the equipment type, the monitoring parameter and the alarm rule to be monitored, the equipment type is searched and matched firstly, the equipment parameter to be monitored is matched subsequently, and whether the alarm is needed or not is judged finally.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a configurable alarm method based on the internet of things in the embodiment of the invention;
fig. 2 is a schematic structural diagram of a configurable alarm method based on the internet of things in the embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; the connection can be mechanical connection, electrical connection, physical connection or wireless communication connection; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, the technical solutions in the embodiments of the present invention may be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should not be considered to exist, and is not within the protection scope of the present invention.
As shown in fig. 1, a configurable alarm method based on the internet of things includes the following steps:
receiving an alarm rule configuration file uploaded by a client terminal;
analyzing the alarm rule configuration file to obtain alarm rule configuration information, and storing the obtained alarm rule configuration information into a first variable, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information. Wherein the device type information includes: a terminal type number, a terminal type name, a terminal model parameter and a terminal state parameter; the monitoring parameter information includes at least one device parameter type to be monitored, such as oil temperature, coolant temperature, speed or longitude and latitude coordinates of the transport vehicle.
Searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
searching in an equipment data set based on the monitoring parameters to obtain equipment parameters matched with the monitoring parameters;
and acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal, storing the acquired equipment parameters into a second variable, and then returning the acquired data and the alarm signal to the client terminal, wherein the staff can inquire the alarm equipment parameters in time after receiving the prompt of the alarm signal.
The embodiment is based on real-time alarm rule configuration, and the alarm rule configuration file uploaded by the client terminal is analyzed to obtain the equipment type, the monitoring parameters and the alarm rule which need to be monitored, the equipment type is searched and matched firstly, the equipment parameters which need to be monitored are matched subsequently, and whether alarm is needed or not is judged finally.
Fig. 2 shows a configurable alarm system based on the internet of things, which includes:
the receiving module is used for receiving the alarm rule configuration file uploaded by the client terminal;
the analysis module is used for analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information;
the first matching module is used for searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
the second matching module is used for searching in the equipment data set based on the monitoring parameters to obtain the equipment parameters matched with the monitoring parameters;
and the data acquisition module is used for acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal and returning the acquired equipment parameters and the alarm signal to the client terminal.
The configurable alarm method and system based on the internet of things in this embodiment are further described below by taking a sanitation vehicle and a passenger vehicle as examples respectively
Example one
Firstly, an alarm rule configuration file is configured, wherein the alarm rule configuration file has alarm rule configuration information, and specifically comprises equipment type information, monitoring parameter information and alarm rule information. Wherein:
the device type information includes: terminal type number-DFH, terminal type name-Sanitation car, sitting vehicle, terminal model parameter-1250D 4;
the monitoring parameter information includes: speed-speed _ H, sewage tank capacity-DI _ SewagefuelAlm _ H, hydraulic oil leakage-DI _ OilLekAlm _ H;
the alarm rule information includes: the method comprises the following steps of speed alarm value-true, sewage tank capacity alarm value-true and hydraulic oil leakage alarm value-true.
The alarm system analyzes the alarm rule configuration file after receiving the file, so as to obtain alarm rule configuration information containing the alarm rule, and then stores the analyzed alarm rule configuration information into a first variable BW;
matching the first variable BW with an equipment type database, and matching a specific sanitation vehicle according to the equipment type information to obtain an equipment data set of the sanitation vehicle;
adjusting and taking out a real-time speed parameter, a sewage tank capacity parameter and a hydraulic oil leakage parameter in the equipment data set of the sanitation truck according to the monitoring parameter information;
comparing and judging the real-time speed parameter, the sewage tank capacity parameter and the hydraulic oil leakage parameter with a speed alarm value, a sewage tank capacity alarm value and a hydraulic oil leakage alarm value respectively, and judging whether any parameter reaches the alarm value;
if all the three parameters reach alarm values, the process is directly ended; if some parameters reach the alarm value, for example, the speed value in this embodiment reaches the alarm value, the speed sensor on the device terminal collects the speed of the sanitation vehicle in real time and stores the speed into the second variable BJ-BW, and finally, the collected device parameters and the alarm signal are returned to the client terminal.
Example two
Firstly, an alarm rule configuration file is configured, wherein the alarm rule configuration file has alarm rule configuration information, and specifically comprises equipment type information, monitoring parameter information and alarm rule information. Wherein:
the device type information includes: the terminal type number-DREV, the terminal type name-passenger car, passger vehicle, and the terminal model parameter-6361;
the monitoring parameter information includes: speed-speed _ C, cooling liquid level-DI _ ColLvlVluAlm _ H, engine water temperature-DI _ WtrTmpAlm _ H;
the alarm rule information includes: the engine water temperature alarm system comprises a speed alarm value-true, a cooling liquid level alarm value-true and an engine water temperature alarm value-true.
The alarm system analyzes the alarm rule configuration file after receiving the file, so as to obtain alarm rule configuration information containing the alarm rule, and then stores the analyzed alarm rule configuration information into a first variable BC;
matching the first variable BC with an equipment type database, and matching a specific sanitation vehicle according to the equipment type information to obtain an equipment data set of the passenger vehicle;
according to the monitoring parameter information, a real-time speed parameter, a cooling liquid level parameter and an engine water temperature parameter are centrally adjusted and taken out from the equipment data of the passenger vehicle;
comparing and judging the real-time speed parameter, the cooling liquid level parameter and the engine water temperature parameter with a speed alarm value, a cooling liquid level alarm value and an engine water temperature alarm value respectively, and judging whether the parameters reach the alarm values or not;
if all the three parameters reach alarm values, the process is directly ended; if some parameters reach the alarm value, for example, the water temperature of the engine in the embodiment reaches the alarm value, the vehicle speed of the passenger vehicle is collected in real time through a vehicle speed sensor on the equipment terminal and stored in a second variable BJ-BC, and finally, the collected equipment parameters and the alarm signal are returned to the client terminal.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (4)
1. A configurable alarm method based on the Internet of things is characterized by comprising the following steps:
receiving an alarm rule configuration file uploaded by a client terminal;
analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information, and the equipment type information comprises: a terminal type number, a terminal type name and a terminal model parameter;
searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
searching in an equipment data set based on the monitoring parameters to obtain equipment parameters matched with the monitoring parameters;
acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal, and returning the acquired equipment parameters and the alarm signal to the client terminal;
after the alarm rule configuration information is obtained, storing the obtained alarm rule configuration information into a first variable;
the searching in the device type database based on the device type information to obtain a device data set matched with the device type information specifically comprises:
matching the first variable with an equipment type database to obtain an equipment data set matched with the equipment type information;
the searching in the equipment data set based on the monitoring parameters to obtain the equipment parameters matched with the monitoring parameters specifically comprises the following steps:
matching the first variable with an equipment data set to obtain an equipment parameter matched with the monitoring parameter;
after the data is collected, storing the collected data in a second variable.
2. The configurable alarm method based on the internet of things of claim 1, wherein the monitoring parameter information comprises at least one device parameter type to be monitored.
3. An internet of things-based configurable alarm system is characterized in that the internet of things-based configurable alarm method according to claim 1 or 2 is adopted, and comprises the following steps:
the receiving module is used for receiving the alarm rule configuration file uploaded by the client terminal;
the analysis module is used for analyzing the alarm rule configuration file to obtain alarm rule configuration information, wherein the alarm rule configuration information comprises equipment type information, monitoring parameter information and alarm rule information;
the first matching module is used for searching in an equipment type database based on the equipment type information to obtain an equipment data set matched with the equipment type information;
the second matching module is used for searching in the equipment data set based on the monitoring parameters to obtain the equipment parameters matched with the monitoring parameters;
and the data acquisition module is used for acquiring data of the equipment parameters which accord with the alarm rule information on the equipment terminal and returning the acquired equipment parameters and the alarm signal to the client terminal.
4. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911048578.3A CN110769070B (en) | 2019-10-31 | 2019-10-31 | Configurable alarm method, system and storage medium based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911048578.3A CN110769070B (en) | 2019-10-31 | 2019-10-31 | Configurable alarm method, system and storage medium based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110769070A CN110769070A (en) | 2020-02-07 |
CN110769070B true CN110769070B (en) | 2022-04-12 |
Family
ID=69333478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911048578.3A Active CN110769070B (en) | 2019-10-31 | 2019-10-31 | Configurable alarm method, system and storage medium based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110769070B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112231371A (en) * | 2020-10-15 | 2021-01-15 | 中电工业互联网有限公司 | Configurable report generation method and system based on engineering machinery big data |
CN112711514A (en) * | 2020-12-30 | 2021-04-27 | 北京珞安科技有限责任公司 | Monitoring system, method and device of terminal equipment |
CN114023051A (en) * | 2021-10-19 | 2022-02-08 | 深圳市有方科技股份有限公司 | Terminal linkage system, terminal equipment and terminal linkage method thereof |
CN114430421A (en) * | 2022-01-19 | 2022-05-03 | 徐工汉云技术股份有限公司 | Method and system for automatically generating alarm rules based on function sets of various vehicle types |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827447A (en) * | 2016-03-31 | 2016-08-03 | 乐视控股(北京)有限公司 | Service alarm method and apparatus |
CN108595300A (en) * | 2018-03-21 | 2018-09-28 | 北京奇艺世纪科技有限公司 | A kind of method and device of configurable monitoring and alarm |
CN110134659B (en) * | 2019-05-08 | 2023-03-21 | 厦门稿定股份有限公司 | Log monitoring system, method, medium, and apparatus for running program |
-
2019
- 2019-10-31 CN CN201911048578.3A patent/CN110769070B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110769070A (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110769070B (en) | Configurable alarm method, system and storage medium based on Internet of things | |
US10474684B2 (en) | Method, computer program, computer program product and system for handling sensor data | |
CN108021625B (en) | Vehicle abnormal gathering place monitoring method and system, and computer readable storage medium | |
KR102215547B1 (en) | Machine monitoring | |
US9478079B2 (en) | Device for monitoring a sensor of a vehicle | |
CN105261229B (en) | A kind of monitoring method and system of business's concrete car | |
US20140379205A1 (en) | Vehicle efficiency and defect recognition based on gps location | |
CN111845728B (en) | Driving assistance data acquisition method and system | |
CN113839904B (en) | Security situation awareness method and system based on intelligent network-connected automobile | |
AU2017223240B2 (en) | Road monitoring method and system | |
CN102681514A (en) | Fuel oil monitoring system and method and engineering vehicle | |
DE102020130668A1 (en) | SYNCHRONIZATION OF ACQUISITION SYSTEMS | |
CN112947137A (en) | Hydrogen energy automobile control method, hydrogen energy automobile and Internet of things system | |
CN107437147A (en) | Reduce the vehicle travel risk dynamic assessment method and its system of freight logistics scene | |
WO2015027830A1 (en) | Systems and methods for acquiring water depth information | |
US20230343151A1 (en) | Systems and methods for diagnostic tool detection in a telematics device | |
CN105573299A (en) | Intelligent on-vehicle diagnosis system capable of supporting LTE communication and method thereof | |
CN106980029B (en) | Vehicle overspeed judgment method and system | |
CN109204195B (en) | Vehicle state data real-time monitoring method, device and system for automobile repair | |
WO2021203241A1 (en) | Positioning method, apparatus, and system | |
CN105374083B (en) | vehicle identification method and device | |
Sik et al. | Gamification and driving decision support using the sensors of vehicles and smartphones | |
CN202267501U (en) | Automotive oil consumption measuring device | |
JP6677074B2 (en) | Driving diagnostic device | |
Jeon et al. | Real-time aggressive driving detection system based on in-vehicle information using lora communication |
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 | ||
CB02 | Change of applicant information |
Address after: Room 201, building 9, phase I, Changsha Zhongdian Software Park, No. 39, Jianshan Road, Changsha hi tech Development Zone, Changsha City, Hunan Province Applicant after: CHINA POWER INDUSTRY INTERNET Co.,Ltd. Address before: 410000 Room 201, Building 9, Changsha Zhongdian Software Park Phase I, 39 Jianshan Road, Yuelu District, Changsha City, Hunan Province Applicant before: CHINA POWER INDUSTRY INTERNET Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |