Internet of Things equipment intelligent dynamic notification distribution method, device, equipment and medium
By configuring the alarm event database and the working status of multi-level responsible persons, screening and distributing notifications and dispatching responsible persons, the timeliness of notifications and dispatching of IoT devices are solved, the timeliness and fault tolerance of incident dispatch is improved, and the losses are avoided. .
Patent Information
- Application Number
- CN202411845767.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the notification of abnormal situations of IoT devices relies on manual manual, resulting in waste of manpower, poor timeliness and possible omissions, making it difficult to adapt to current development.
By configuring the alarm event database and the working status of multi-level responsible persons, filtering and distributing notifications to the responsible persons, calculating the arrival time based on the working status and location of the responsible persons, ensuring time of notification and confirmation of abnormal alarm events. If it is not successful, it will be transferred step by step Deliver until confirmation.
It improves the timely rate of event distribution, promptly detects hidden dangers, avoids greater losses, and enhances the fault tolerance and rationality of distribution.
Smart Images

Figure CN119294796A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology service management and business process management control technology, and in particular to a method, device, equipment and medium for intelligent dynamic notification distribution of Internet of Things devices. Background Art
[0002] The Internet of Things (IoT) refers to connecting various objects and devices through the Internet to achieve data interoperability and sharing. It is a combination of information technology, the Internet and communication technology, connecting the real world with the digital world, bringing great convenience to life and work. With the continuous development and innovation of science and technology, the application technology of the Internet of Things is becoming more and more mature, promoting changes and innovations in all walks of life.
[0003] In the application of the Internet of Things, various intelligent monitoring devices and Internet of Things chips are interconnected with data to realize intelligent monitoring and management functions. At the same time, an alarm will be issued for abnormal situations that occur during the monitoring process to remind relevant personnel. However, how to inform relevant personnel of abnormal situations in a timely, accurate and reasonable manner for processing is an urgent problem that needs to be solved. In the existing technology, most of them are manually dispatched, which has problems such as waste of manpower, poor timeliness and possible omissions, and is difficult to adapt to current development. Summary of the invention
[0004] In view of this, the present invention provides a method, device, equipment and medium for intelligent dynamic notification distribution of IoT devices to solve the problems of waste of manpower, poor timeliness and possible omissions in the prior art of manual distribution of abnormal situations.
[0005] In the first aspect, the present invention provides a method for intelligent dynamic notification distribution of Internet of Things devices, the method comprising: configuring an alarm event library and the working status of multiple levels of responsible persons, the alarm event library including whether the alarm is distributed and the distribution time; when the Internet of Things device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library, the notification distribution responsible person is screened according to the working status of the first type of responsible person; the abnormal alarm event is sent to the notification distribution responsible person for confirmation according to the distribution time of the alarm event library; if the notification distribution responsible person fails to confirm successfully, a new notification distribution responsible person is screened from the remaining first type of responsible persons, or a new notification distribution responsible person is assigned by other types of responsible persons, and the above-mentioned abnormal alarm event sending steps are repeated until the abnormal alarm event is successfully confirmed, and other types of responsible persons are responsible persons except the first type of responsible person among the multiple levels of responsible persons.
[0006] In the present invention, by configuring the alarm event library and the working status of multiple levels of responsible persons, when the Internet of Things device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library, the notification distribution responsible person is screened according to the working status of the first-class responsible person; the abnormal alarm event is sent to the notification distribution responsible person for confirmation according to the distribution time of the alarm event library; if the notification distribution responsible person fails to confirm successfully, the remaining first-class responsible persons are screened or the notification distribution responsible person is assigned by other types of responsible persons to send the abnormal alarm event until the abnormal alarm event is successfully confirmed. Therefore, the distribution method can improve the timeliness of event distribution, timely discover hidden dangers, and troubleshoot hidden dangers. Abnormal situations that occur can be notified in time, thereby avoiding greater losses.
[0007] In an optional implementation, persons responsible for dispatching notifications are screened based on the work status of first-category responsible persons, including: screening first-category responsible persons who are not absent from work based on the work status of first-category responsible persons; determining the distance and arrival time based on the work location of the first-category responsible persons who are not absent from work and the accident site corresponding to the abnormal alarm event; screening persons responsible for dispatching notifications based on the distance and arrival time.
[0008] In the present invention, when screening and notifying responsible persons, the arrival time from the accident site is calculated based on information such as the work location corresponding to their work status, and screening is performed based on the distance and arrival time. This ensures that the screened responsible persons can arrive at the accident site more quickly to conduct timely inspections and repairs, thereby achieving the effect of avoiding greater losses.
[0009] In an optional implementation, the first-category responsible persons who are not absent from duty include the first-category responsible persons who are on duty, the first-category responsible persons on duty, and the first-category responsible persons who are out for on-site maintenance. The distance and arrival time are determined based on the work locations of the first-category responsible persons who are not absent from duty and the accident scene corresponding to the abnormal alarm event, including: determining the first distance and the first arrival time based on the work locations of the first-category responsible persons on duty and the first-category responsible persons on duty, and the accident scene corresponding to the abnormal alarm event in combination with the map route; determining the second distance and the second arrival time based on the work location and maintenance information of the first-category responsible persons who are out for on-site maintenance, and the accident scene corresponding to the abnormal alarm event in combination with the map route.
[0010] In the present invention, when calculating the distance and arrival time between the responsible person and the accident site, the current working status of the responsible person is taken into consideration. When the responsible person is in the working status of going out to the site for repair, the repair information is further taken into consideration, so that the calculated distance and arrival time are more accurate.
[0011] In an optional implementation, the abnormal alarm event is sent to the person responsible for notification dispatch for confirmation according to the dispatch time of the alarm event library, including: using a first preset method to send the abnormal alarm event to the person responsible for notification dispatch; if the abnormal alarm event is received and confirmed by the person responsible for notification dispatch within the dispatch time of the alarm event library, a maintenance task is generated; if the person responsible for notification dispatch does not receive and confirm the abnormal alarm event within the dispatch time of the alarm event library, the abnormal alarm event is sent to the person responsible for notification dispatch using a second preset method.
[0012] In the present invention, when sending an abnormal alarm event, a dispatch time is set, and when the abnormal alarm event has not been confirmed after the dispatch time has expired, a second preset method is further used for notification, so that the corresponding responsible person can be notified more quickly.
[0013] In an optional implementation, the method further includes: after the notification dispatch responsible person successfully confirms, receiving a transfer request sent by the notification dispatch responsible person when the maintenance is impossible; and reassigning a new notification dispatch responsible person according to the transfer request.
[0014] In the present invention, after the dispatch responsible person is notified for confirmation, if it cannot be repaired due to special circumstances, it can also be transferred, which improves the fault tolerance of the dispatch and makes the dispatch more reasonable.
[0015] In an optional implementation, the alarm event library and the work status of multiple levels of responsible persons are configured, including: determining the level of the abnormal alarm event; determining whether to dispatch the abnormal alarm event and the dispatch time according to the level of the abnormal alarm event; obtaining the work status plan of each responsible person; and configuring the work status of multiple levels of responsible persons according to the work status plan.
[0016] In the present invention, whether to dispatch and the dispatch time are set according to the level of the abnormal alarm event, so that the dispatch of the abnormal alarm event is more reasonable and timely.
[0017] In an optional implementation, after configuring the alarm event library and the working status of multiple levels of responsible persons, the method further includes: configuring event receivers, the event receivers are used to receive abnormal alarm events together with the notification dispatching responsible person.
[0018] In the present invention, by setting the event receiver, the event receiver and the person responsible for notification distribution jointly receive the abnormal alarm event, thereby improving the comprehensiveness of notification distribution.
[0019] In the second aspect, the present invention provides an intelligent dynamic notification distribution device for Internet of Things devices, the device comprising: a configuration module, used to configure an alarm event library and the working status of multiple levels of responsible persons, the alarm event library including whether the alarm is distributed and the distribution time; a screening module, used to screen the notification distribution responsible person according to the working status of the first category of responsible persons when the Internet of Things device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library; a first distribution module, used to send the abnormal alarm event to the notification distribution responsible person for confirmation according to the distribution time of the alarm event library; a second distribution module, used to screen a new notification distribution responsible person from the remaining first category of responsible persons if the notification distribution responsible person fails to confirm successfully, or assign a new notification distribution responsible person by other categories of responsible persons, and repeat the above-mentioned abnormal alarm event sending steps until the abnormal alarm event is successfully confirmed, and the other categories of responsible persons are responsible persons except the first category of responsible persons among the multiple levels of responsible persons.
[0020] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for intelligent dynamic notification distribution of Internet of Things devices according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0021] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for dispatching intelligent dynamic notifications to Internet of Things devices according to the first aspect or any corresponding embodiment thereof.
[0022] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, which are used to enable a computer to execute the method for dispatching intelligent dynamic notifications to Internet of Things devices according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 It is a flowchart of a method for sending intelligent dynamic notifications to IoT devices according to an embodiment of the present invention; Figure 2 is a structural block diagram of an apparatus for sending intelligent dynamic notifications to Internet of Things devices according to an embodiment of the present invention; Figure 3It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0026] According to an embodiment of the present invention, an embodiment of a method for dispatching intelligent dynamic notifications to an Internet of Things device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0027] In this embodiment, a method for sending intelligent dynamic notifications to Internet of Things devices is provided, which can be used in electronic devices such as computers, mobile phones, tablet computers, etc. Figure 1 is a flow chart of a method for sending intelligent dynamic notifications to IoT devices according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101, configure an alarm event library and the working status of multiple levels of responsible persons, the alarm event library includes whether an alarm is dispatched and the dispatch time.
[0028] Specifically, the distribution method can be used in the background of the monitoring system, which is connected to the IoT device and can receive the data monitored by the IoT device for processing and analysis. The connection method between the monitoring system and the IoT device can be a direct connection through an open protocol, or a connection through a standard API interface, etc. Among them, the IoT devices include intelligent monitoring devices and IoT chips, etc. For example, in the fields of fire protection and pipelines, the IoT devices can be smoke, gas, etc. alarms, water pressure, water level detectors, etc. In different fields, the types of IoT devices can be different, and this embodiment does not specifically limit the types of IoT devices.
[0029] Before adopting the distribution method of this embodiment, the alarm event library and the working status of multiple levels of responsible persons can be configured in the system background. Among them, the alarm event library is configured with whether the alarm is distributed and the distribution time. Whether the alarm is distributed refers to whether the abnormal alarm event detected by the Internet of Things device needs to be distributed to the corresponding staff. Specifically, a table for whether the alarm is distributed can be set in the alarm event library. When an abnormal alarm event is detected, it can be matched with the table to determine whether the alarm is distributed. The distribution time indicates how long it takes for the monitored abnormal alarm event to be distributed to the corresponding staff in order to achieve the purpose of timely distribution. Specifically, a table of different abnormal alarm events and corresponding distribution times can also be generated in advance. When an abnormal alarm event is detected, the distribution time can be directly matched with the table to determine the distribution time.
[0030] The multi-level responsible persons may include responsible persons at multiple levels, and multiple responsible persons at each level may be classified into one category, so that the first-category responsible person, the second-category responsible person, the third-category responsible person, etc. may be set in the system background. Each responsible person in each category may include multiple working states, such as being on duty, on duty, not on duty, on business trip, on-site maintenance, etc. These states may be pre-configured in the system background so that the responsible person for notification dispatching can be determined according to the working state of each responsible person. Optionally, for multi-level responsible persons, the first-category responsible person may be set as a front-line person, and the second-category responsible person and above may be set as a non-front-line person such as a leadership level.
[0031] Step S102, when the IoT device detects an abnormal alarm event and confirms that a notification needs to be distributed according to the alarm event library, the notification distribution responsible person is screened according to the work status of the first category of responsible persons. Specifically, when the IoT device detects an abnormal alarm event, it can be transmitted to the system background through the connection with the monitoring system, and the system background will process it according to the configured alarm event library and the work status of the multi-level responsible persons. Among them, after the background receives the abnormal alarm event, it first determines whether the abnormal alarm event received this time needs to be distributed according to the information on whether the alarm is distributed pre-configured in the alarm event library. If it does not need to be distributed, no subsequent processing is required. If it is determined that it needs to be distributed, it is necessary to screen and determine the notification distribution responsible person at this time to ensure that the responsible person can handle it in time after receiving the alarm event.
[0032] Among them, when screening according to the working status of the first category of responsible persons, the responsible persons who can quickly arrive at the scene of the accident to deal with it can be screened out according to the working status of the first category of responsible persons such as on-duty, on-call, off-duty, on a business trip, and on-site maintenance.
[0033] Step S103, according to the dispatch time of the alarm event library, the abnormal alarm event is sent to the person responsible for notification dispatch for confirmation. Specifically, after the person responsible for notification dispatch is screened out, the current abnormal alarm event needs to be sent to the person responsible. Usually, the abnormal alarm event contains the alarm time, alarm source, alarm type, location information, detailed description and corresponding log file, etc. The alarm time includes the specific time when the alarm occurs; the alarm source includes which device or system component the alarm comes from, which can be specifically represented by device ID, IP address, etc.; the alarm type includes types such as high temperature and low pressure; the location information includes the location information of the alarm device, such as the geographical location, etc.; the detailed description includes detailed alarm information, such as specific data values, abnormal status, etc. The above abnormal alarm events are sent to the person responsible for notification dispatch so that the person responsible can understand the specific situation and deal with it. In addition, when sending an abnormal alarm event, the event needs to be sent to the person responsible for notification and confirmed within the dispatch time.
[0034] Step S104, if the notification dispatching responsible person is not successfully confirmed, a new notification dispatching responsible person is screened from the remaining first-category responsible persons, or a new notification dispatching responsible person is assigned by other types of responsible persons, and the above-mentioned abnormal alarm event sending steps are repeated until the abnormal alarm event is successfully confirmed by other types of responsible persons except the first-category responsible person in the multi-level responsible persons. Specifically, if the sent abnormal alarm event is not successfully confirmed by the screened notification dispatching responsible person, it is necessary to re-screen the notification dispatching responsible person. When re-screening, you can continue to screen the first-category responsible persons first, but you need to limit the number of screened in the first-category responsible persons to avoid wasting time. For example, the number of screened in the first-category responsible persons is limited to two or three. If the two or three screened first-category responsible persons cannot be successfully confirmed, the abnormal alarm event is sent to other types of responsible persons, and the other types of responsible persons assign themselves or others as notification dispatching responsible persons to receive and confirm the abnormal alarm event.
[0035] The method for distributing intelligent dynamic notifications of Internet of Things devices provided by the embodiment of the present invention configures the alarm event library and the working status of multiple levels of responsible persons. When the Internet of Things device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library, the responsible person for notification distribution is screened according to the working status of the first-class responsible person; the abnormal alarm event is sent to the responsible person for notification distribution for confirmation according to the distribution time of the alarm event library; if the responsible person for notification distribution fails to confirm successfully, the remaining first-class responsible persons are screened or the responsible person for notification distribution is assigned by other types of responsible persons to send the abnormal alarm event until the abnormal alarm event is successfully confirmed. Therefore, the distribution method can improve the timeliness of event distribution, timely discover hidden dangers, and troubleshoot hidden dangers. Greater losses can be avoided as much as possible for the occurrence of abnormal situations.
[0036] In this embodiment, a method for sending intelligent dynamic notifications to IoT devices is provided, and the process includes the following steps: Step S201, configure an alarm event library and the working status of multiple levels of responsible persons, the alarm event library includes whether an alarm is dispatched and the dispatch time.
[0037] Specifically, the above step S201 includes: Step S2011, determining the level of the abnormal alarm event.
[0038] Step S2012, determining whether to dispatch an abnormal alarm event and the dispatching time according to the level of the abnormal alarm event.
[0039] Step S2013, obtaining the work status plan of each responsible person.
[0040] Step S2014, configuring the work status of multiple levels of responsible persons according to the work status plan.
[0041] Specifically, when configuring the alarm event library, you can first classify the alarms according to the equipment type, impact level, or other customized methods. For example, pipeline leakage is a first-level alarm, which is the highest level; low equipment voltage is a second-level alarm, which is the second highest level, and so on. Then, according to the alarm level, determine whether the alarm of each alarm level is dispatched and the dispatch time. For example, the alarm event in the highest level alarm needs to be dispatched, and the dispatch time can be set to be shorter; the alarm event in the lowest level can be set not to be dispatched, or the dispatch time can be set to be longer.
[0042] Specifically, when configuring the work status, the work status plan of each responsible person can be obtained, such as the duty plan, business trip plan, etc. of each responsible person in the next month. The work status is configured according to the work status plan. At the same time, after configuring the work status, the corresponding work location can also be configured, such as the work location when on duty, the work location when on site, etc. After configuring the work status of each responsible person, if it is found that the first-class responsible person is not configured or the work status of the set first-class responsible person is not on duty, it is necessary to notify all responsible persons and inform the first-class responsible person that the post is vacant and that the on-duty personnel need to be arranged in time. At the same time, when the first-class responsible person is in the vacant post, no abnormal alarm event is distributed. In addition, if the work status changes after obtaining the work status plan of each responsible person, such as temporary business trips, leave, etc., the corresponding personnel need to initiate the offline process. After the superior reviews, the system automatically exempts notification according to the time period; at the same time, the monitoring system can also be connected with the leave approval system, etc., so that information such as leave can be obtained in time, so that the work status can be updated in time.
[0043] Step S202: When the IoT device detects an abnormal alarm event and confirms that a notification needs to be sent according to the alarm event library, the notification sending responsible person is screened according to the working status of the first type of responsible persons.
[0044] Specifically, the above step S202 includes: Step S2021, screen the first-category responsible persons who are not absent from work according to their work status; specifically, the work status includes various statuses such as on-duty, on-shift, absent from work, on business trip, and on-site maintenance. Off-duty personnel cannot go to the accident site due to leave or other reasons. Therefore, when screening, the first-category responsible persons who are not absent from work, that is, those in all work statuses except absent from work, can be screened out first, and then further screening can be performed.
[0045] Step S2022, determining the distance and arrival time according to the work location of the first-category responsible person who is not absent from work and the accident scene corresponding to the abnormal alarm event.
[0046] In an optional implementation, the above step S2022 includes: Step a1, combining the map route, determining the first distance and the first arrival time according to the work locations of the first-category responsible persons on duty and the first-category responsible persons on duty and the accident scene corresponding to the abnormal alarm event.
[0047] Step a2, combining the map route, determining the second distance and the second arrival time according to the work location and maintenance information of the first-category responsible person who goes out for on-site maintenance and the accident site corresponding to the abnormal alarm event.
[0048] Specifically, when calculating the distance and arrival time of the first-category responsible person from the accident site, in addition to considering the actual distance between the two, it is necessary to consider the current work status of the first-category responsible person. For example, if the first-category responsible person is in the state of on-site maintenance, it is necessary to further consider the maintenance time, etc. Therefore, for the first-category responsible persons who are on duty or on duty, the distance between the work place of the first-category responsible person and the accident site can be directly calculated in combination with the route on the map. Among them, when calculating the distance, the Dijkstra algorithm and A-Star algorithm that come with the existing map can be used to calculate the distance between two longitudes and latitudes under different means of transportation. Factors such as road conditions, means of transportation, road type, speed limit, etc. will be automatically considered during the calculation. In addition, when the algorithm that comes with the map cannot be used due to network or other reasons, the following Haversine formula can be used to calculate the distance:
[0049] In the formula, d represents the distance, r represents the radius of the earth (the average radius is about 6371 kilometers), and are the latitudes of the starting and ending points (in radians), and are the longitudes of the start and end points, respectively, in radians.
[0050] At the same time, the corresponding speed can be determined according to the pre-configured transportation tools, so that the arrival time can be calculated according to the distance and the corresponding speed. Specifically, the arrival time can be calculated using the following formula:
[0051] In the formula, t Indicates the arrival time (in hours). d Represents the distance between two points in kilometers. v Indicates the speed of the vehicle (in kilometers per hour). The vehicle can be configured when configuring the working status of the responsible person; at the same time, the map interface can be introduced when configuring the working status of the responsible person, so as to determine the distance according to the route on the map.
[0052] In addition, generally, on-site personnel will submit tasks to start maintenance and estimated time to the background after arriving at the site. Therefore, when the working status is on-site maintenance, the corresponding maintenance time and other information can be obtained from the background first, and then the arrival time can be calculated based on the distance and corresponding speed.
[0053] Step S2023, filter the notification dispatch responsible person according to the distance and arrival time. Specifically, when filtering, the distance and arrival time can be comprehensively filtered. For example, for those who are far away but arrive early, the arrival time may be delayed due to factors such as traffic jams on the road. Therefore, the first type of responsible person who is close in distance and arrives early can be comprehensively considered and selected as the notification dispatch responsible person.
[0054] Step S203, sending the abnormal alarm event to the person responsible for notification dispatch for confirmation according to the dispatch time of the alarm event library; Specifically, the above step S203 includes: Step S2031, using the first preset method to send the abnormal alarm event to the person responsible for notification distribution; specifically, when sending the abnormal alarm event to the person responsible for notification distribution, multiple methods can be used for sending, such as WeChat applet, APP, mobile phone text message or voice call. When determining the person responsible for notification distribution to send, you can first select the first preset method such as WeChat applet, APP, mobile phone text message and other text methods to send. At the same time, when sending, an event confirmation form can be generated based on the abnormal alarm event and sent to the person responsible for notification distribution so that the corresponding person can confirm.
[0055] Step S2032: If the abnormal alarm event is notified and the dispatch responsible person receives confirmation within the dispatch time of the alarm event library, a maintenance task is generated; specifically, for a specific abnormal alarm event, it is necessary to match it with the pre-configured alarm event library to determine the alarm level of the abnormal alarm event, thereby determining the corresponding dispatch time. Therefore, after the event confirmation form generated by the abnormal alarm event is sent to the notification responsible person, it is necessary to determine whether the confirmation of the event confirmation form is received within the dispatch time. If it is confirmed, the maintenance task can be initiated according to the interface between the monitoring system and the maintenance system.
[0056] Step S2033, if the person responsible for notification distribution does not receive and confirm the abnormal alarm event within the dispatch time of the alarm event library, the abnormal alarm event will be sent to the person responsible for notification distribution in the second preset method. Specifically, if it is not confirmed within the dispatch time due to reasons such as the person responsible for notification distribution not seeing it, the second preset method such as voice call can be continued to be used to notify again. Among them, when the second preset method is used for notification, the person's mobile phone can be called every 2 minutes, each time for 1 minute, and an intelligent voice notification can be played (configured with a number of repeated calls n times, n is less than or equal to 3, and greater than or equal to 1); when the person responsible for notification distribution cannot be contacted after n times, step S204 is executed. If the contact is successful and the person responsible for notification distribution successfully confirms, a maintenance task is generated.
[0057] Step S204, if the person responsible for notification dispatch is not successfully confirmed, a new person responsible for notification dispatch is selected from the remaining first-class responsible persons, or a new person responsible for notification dispatch is assigned by other types of responsible persons, and the above-mentioned abnormal alarm event sending steps are repeated until the abnormal alarm event is successfully confirmed, and the other types of responsible persons are responsible persons except the first-class responsible persons in the multi-level responsible persons. Specifically, in order to realize the screening of the remaining first-class responsible persons, when the person responsible for notification dispatch is screened according to the distance and arrival time in the above-mentioned step S2023, the first-class responsible persons are sorted according to the distance and arrival time. When screening, the first-class responsible person ranked first is first used as the person responsible for notification dispatch. If the person responsible for notification dispatch is not successfully confirmed, the second-class responsible person is used as the person responsible for notification dispatch. If the first two or the first three are not successfully confirmed, the other types of responsible persons are notified, and the other types of responsible persons confirm and designate themselves or others as maintenance personnel through multiple channels such as WeChat applets, APPs, and background.
[0058] In this embodiment, a method for sending intelligent dynamic notifications to IoT devices is provided, and the method comprises the following steps: Step S301, configure the alarm event library and the working status of multiple levels of responsible persons. The alarm event library includes whether the alarm is dispatched and the dispatch time; see Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0059] Step S302: When the IoT device detects an abnormal alarm event and confirms that a notification is required according to the alarm event database, the notification dispatch responsible person is selected according to the working status of the first type of responsible person; see Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0060] Step S303: send the abnormal alarm event to the person in charge of notification dispatch for confirmation according to the dispatch time of the alarm event library; Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0061] Step S304, if the notification dispatching responsible person is not successfully confirmed, a new notification dispatching responsible person is selected from the remaining first-class responsible persons, or a new notification dispatching responsible person is assigned by other types of responsible persons, and the above abnormal alarm event sending steps are repeated until the abnormal alarm event is successfully confirmed, and other types of responsible persons are responsible persons except the first-class responsible person in the multi-level responsible persons. For details, please refer to Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0062] Step S305, when the notification dispatching responsible person successfully confirms, the transfer request sent by the notification dispatching responsible person when the maintenance is not possible is received; a new notification dispatching responsible person is reassigned according to the transfer request. Specifically, when the notification dispatching responsible person receives and confirms the abnormal alarm event, but cannot perform maintenance work on the abnormal alarm event due to other circumstances, the maintenance work can be transferred, and a transfer request containing a transfer notification form can be generated and sent to the background after writing the transfer reason. After the background receives the transfer request, the notification dispatching responsible person can be re-screened from the remaining first-category responsible persons, or the transfer request can be sent to other categories of responsible persons, who can assign new notification dispatching responsible persons.
[0063] Step S306, configure the event recipient, the event recipient is used to receive abnormal alarm events together with the notification dispatch responsible person. Specifically, the event recipient can be configured at the same time as configuring multiple levels of responsible persons, and the event recipient does not need to set the working status, that is, no matter what working status the event recipient is in, he will receive abnormal alarm events together with the notification dispatch responsible person. However, the event recipient does not directly confirm the received event, nor does it transfer it. In actual applications, the event recipient can notify the corresponding notification dispatch responsible person offline or through other means such as work groups. Moreover, multiple event recipients can be set. In addition, if a certain event recipient also needs to confirm the abnormal alarm event, the event recipient can be set to include two role identities: event recipient and first-class responsible person.
[0064] As a specific application example of the present invention, the method for sending intelligent dynamic notifications to IoT devices can be implemented according to the following process: Connect IoT devices directly to the backend through open protocols or standard API interfaces.
[0065] According to the actual situation and daily work habits of the user unit, configure a variety of notification distribution methods, such as: WeChat applet, APP, mobile phone text messages, voice calls, etc.
[0066] Through the system background, you can customize the multi-level alarm level. For example, pipeline leakage is the first-level alarm, which is the highest level; low voltage of equipment is the second-level alarm, which is the second highest level. According to the alarm level, the event dispatch time of the alarm event, whether it needs to be dispatched, etc. Or according to the type of equipment, all its abnormal data will be notified for dispatch or not be notified for dispatch. Through the system background, set up multiple levels of responsible persons, such as the first-class responsible person, the second-class responsible person, the third-class responsible person, etc. At the same time, according to the work status plan of each responsible person in the next month, configure the corresponding work status, including on-the-job, on-duty, not on-the-job, on-site, maintenance, etc., and configure the longitude and latitude of the work location and means of transportation. It should be noted here that if the system does not set the first-class responsible person or the set first-class responsible person is not on-the-job, the system will send a notification to all registered personnel, informing the system that the current position is vacant and timely arranging on-the-job personnel. At the same time, the system will no longer make intelligent notifications for alarm data. In addition, for the work status plan, if there are personnel changes such as new people or personnel leaving, the plan can be maintained; at the same time, if there are special circumstances within the month, such as personnel taking leave and other non-job situations, the corresponding personnel need to initiate the review process. After the review is passed, the system automatically exempts notification according to the non-job time period; in addition, when setting up multiple levels of responsible persons, the second-class and above responsible persons can be set as non-front-line personnel such as leadership. When the corresponding personnel initiate the review process such as taking leave, all the second-class and above responsible persons can be notified.
[0067] When the IoT device detects an abnormal alarm event, after the background receives the event, first, according to the work status of the first-category responsible personnel, the personnel who are on duty, on-duty, and in maintenance (that is, the first-category responsible personnel who are not off duty) are screened as the notification distribution responsible persons. Then, according to the longitude and latitude of the location of the notification distribution responsible person (based on Baidu Map or Gaode Map), the distance and arrival time of each person from the accident scene are calculated through the map API, the configured work location, and transportation (the default transportation for the alarm event is a small car). For the responsible person whose current working status is to go to the scene, the estimated time for maintenance currently required must also be considered when calculating the distance and arrival time (the on-site personnel must submit the task of starting maintenance and the estimated time after arriving at the scene). After comprehensive calculation, the system will notify a certain notification distribution responsible person, and then send an event confirmation form containing the abnormal alarm event through WeChat applet according to the distribution time. If the responsible person receives and confirms it within the distribution time, a maintenance task will be generated. If there are special circumstances after confirmation, the person can also be transferred to other on-duty colleagues. When transferring, write the reason for the transfer and generate a transfer notice, which will be sent to the second and third responsible persons. If the responsible person does not confirm within the dispatch time, a voice notification method will be used to call the person's mobile phone every 2 minutes for 1 minute each time, and play an intelligent voice notification (configured with n repeated calls, n is less than or equal to 3, and greater than or equal to 1); when the person cannot be contacted after n times, the second responsible person mode will be immediately enabled, and the above notification will be repeated to the second and third responsible persons. When the second and third responsible persons receive the notification, they can confirm and designate maintenance personnel (themselves or others) through multiple channels such as WeChat applet, APP, and background.
[0068] In addition, you can also configure the event recipient in the background. Regardless of the event and the job status, when the first responsible person receives the notification, this type of personnel will also receive the notification. The notification cannot be confirmed or transferred. It is mainly used for offline, work group and other unit channels to confirm the event. If this person also needs to confirm the maintenance, he can be configured as the first responsible person and event recipient at the same time.
[0069] Therefore, based on the above process, the background will record the timeline of all life cycles of events so that they can be traced back, tracked, analyzed, etc. at any time.
[0070] In this embodiment, an IoT device intelligent dynamic notification distribution device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0071] This embodiment provides an intelligent dynamic notification distribution device for an Internet of Things device, such as Figure 2 As shown, including: Configuration module, used to configure the alarm event library and the working status of multi-level responsible persons. The alarm event library includes whether the alarm is dispatched and the dispatch time; A screening module is used to screen the responsible persons for notification distribution according to the working status of the first type of responsible persons when the IoT device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library; The first dispatching module is used to send the abnormal alarm event to the person responsible for notification dispatch for confirmation according to the dispatch time of the alarm event library; The second dispatching module is used to screen a new notification dispatching person from the remaining first-category responsible persons if the notification dispatching person is not successfully confirmed, or to assign a new notification dispatching person from other categories of responsible persons, and repeat the above-mentioned abnormal alarm event sending steps until the abnormal alarm event is successfully confirmed by other categories of responsible persons in the multi-level responsible persons except the first-category responsible persons.
[0072] In an optional embodiment, the screening module includes: a first screening sub-module, used to screen the first-category responsible persons who are not absent from work according to their work status; a distance and time calculation module, used to determine the distance and arrival time according to the work location of the first-category responsible persons who are not absent from work and the accident site corresponding to the abnormal alarm event; a second screening sub-module, used to screen the notification dispatching responsible persons according to the distance and arrival time.
[0073] In an optional implementation, the first-category responsible persons who are not off-duty include the first-category responsible persons who are on duty, the first-category responsible persons on duty, and the first-category responsible persons who go out for on-site maintenance. The distance and time calculation module is specifically used to: determine the first distance and the first arrival time in combination with the map route according to the work locations of the first-category responsible persons on duty and the first-category responsible persons on duty and the accident scene corresponding to the abnormal alarm event; determine the second distance and the second arrival time in combination with the map route according to the work location and maintenance information of the first-category responsible persons who go out for on-site maintenance and the accident scene corresponding to the abnormal alarm event.
[0074] In an optional embodiment, the first dispatch module is specifically used to: send the abnormal alarm event to the person responsible for notification dispatch in a first preset manner; if the abnormal alarm event is received and confirmed by the person responsible for notification dispatch within the dispatch time of the alarm event library, a maintenance task is generated; if the person responsible for notification dispatch does not receive and confirm the abnormal alarm event within the dispatch time of the alarm event library, the abnormal alarm event is sent to the person responsible for notification dispatch in a second preset manner.
[0075] In an optional embodiment, the device also includes: a transfer module, which is specifically used to receive a transfer request sent by the notification dispatch responsible person when the notification dispatch responsible person is unable to repair after successful confirmation; and re-assign a new notification dispatch responsible person according to the transfer request.
[0076] In an optional implementation, the configuration module is specifically used to: determine the level of the abnormal alarm event; determine whether to dispatch the abnormal alarm event and the dispatch time according to the level of the abnormal alarm event; obtain the work status plan of each responsible person; and configure the work status of multiple levels of responsible persons according to the work status plan.
[0077] In an optional implementation, the device further includes: an event recipient configuration module, which is used to configure event recipients, and the event recipients are used to receive abnormal alarm events together with the notification dispatch responsible person.
[0078] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0079] The embodiment of the present invention also provides a computer device having the above Figure 2 The IoT device shown is an intelligent dynamic notification distribution device.
[0080] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 3 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 3 A processor 10 is taken as an example.
[0081] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0082] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0083] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0084] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0085] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0086] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0087] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0088] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for sending intelligent dynamic notifications to IoT devices, characterized in that: The method comprises: Configure the alarm event library and the working status of multi-level responsible persons, wherein the alarm event library includes whether the alarm is dispatched and the dispatch time; When the IoT device detects an abnormal alarm event and confirms that a notification needs to be sent according to the alarm event library, the person responsible for sending the notification is screened according to the working status of the first type of responsible person; Sending the abnormal alarm event to the notification dispatching responsible person for confirmation according to the dispatching time of the alarm event library; If the notification dispatching responsible person is not successfully confirmed, a new notification dispatching responsible person is selected from the remaining first-class responsible persons, or a new notification dispatching responsible person is assigned by other types of responsible persons, and the above abnormal alarm event sending steps are repeated until the abnormal alarm event is successfully confirmed, and the other types of responsible persons are responsible persons except the first-class responsible person in the multi-level responsible persons; Configure the alarm event library and the working status of multi-level responsible persons, including: Determine the level of abnormal alarm events; Determine whether to dispatch an abnormal alarm event and the dispatch time according to the level of the abnormal alarm event; Obtain the work status plan of each responsible person; The work status of multiple levels of responsible persons is configured according to the work status plan.
2. The method according to claim 1, characterized in that The responsible persons are screened and notified based on their work status, including: Screen the first-category responsible persons who are not absent from work according to their working status; Determine the distance and arrival time based on the work location of the first-category responsible person who is not absent from work and the accident site corresponding to the abnormal alarm event; Filter the notification dispatch responsible persons based on the distance and arrival time mentioned.
3. The method according to claim 2, characterized in that The first-class responsible persons who are not absent from work include the first-class responsible persons who are on duty, the first-class responsible persons on duty, and the first-class responsible persons who are out for on-site maintenance. The distance and arrival time are determined according to the work location of the first-class responsible persons who are not absent from work and the accident site corresponding to the abnormal alarm event, including: Combined with the map route, determine the first distance and the first arrival time according to the work locations of the first responsible persons on duty and the first responsible persons on duty and the accident scene corresponding to the abnormal alarm event; In combination with the map route, the second distance and the second arrival time are determined according to the work location and maintenance information of the first-category responsible person who goes out for on-site maintenance and the accident site corresponding to the abnormal alarm event.
4. The method according to claim 1, characterized in that Sending the abnormal alarm event to the notification dispatch responsible person for confirmation according to the dispatch time of the alarm event library includes: Using a first preset method to send the abnormal alarm event to the notification dispatching responsible person; If the abnormal alarm event is received and confirmed by the notification dispatch responsible person within the dispatch time of the alarm event library, a maintenance task is generated; If the person responsible for notification distribution does not receive and confirm the abnormal alarm event within the distribution time of the alarm event library, the abnormal alarm event is sent to the person responsible for notification distribution in a second preset manner.
5. The method according to claim 1, characterized in that The method further comprises: When the notification dispatch responsible person successfully confirms, receiving a transfer request sent by the notification dispatch responsible person when the maintenance is not possible; Reassign a new notification dispatching person according to the assignment request.
6. The method according to claim 1, characterized in that After configuring the alarm event library and the working status of the multi-level responsible persons, the method further includes: Configure an event receiver, and the event receiver is used to receive abnormal alarm events together with the notification dispatcher.
7. An intelligent dynamic notification distribution device for Internet of Things devices, characterized in that: The device comprises: A configuration module, used to configure an alarm event library and the working status of multiple levels of responsible persons, wherein the alarm event library includes whether an alarm is dispatched and the dispatch time; A screening module, for screening the persons responsible for notification distribution according to the working status of the first type of responsible persons when the IoT device detects an abnormal alarm event and confirms that notification distribution is required according to the alarm event library; A first dispatching module, configured to send the abnormal alarm event to the notification dispatching responsible person for confirmation according to the dispatching time of the alarm event library; The second dispatching module is used for, if the notification dispatching responsible person is not successfully confirmed, screening a new notification dispatching responsible person from the remaining first-category responsible persons, or assigning a new notification dispatching responsible person by other-category responsible persons, and repeating the above abnormal alarm event sending steps until the abnormal alarm event is successfully confirmed by the other-category responsible persons except the first-category responsible person in the multi-level responsible persons; Configure the alarm event library and the working status of multi-level responsible persons, including: Determine the level of abnormal alarm events; Determine whether to dispatch an abnormal alarm event and the dispatch time according to the level of the abnormal alarm event; Obtain the work status plan of each responsible person; The work status of multiple levels of responsible persons is configured according to the work status plan.
8. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for dispatching intelligent dynamic notifications of an Internet of Things device according to any one of claims 1 to 6 by executing the computer instructions.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for dispatching intelligent dynamic notifications of Internet of Things devices according to any one of claims 1 to 6.
Citation Information
Patent Citations
Smart water service emergency response method and system based on Internet of Things technology
CN107945049A
Alarm information management method and device, equipment and storage medium
CN108833188A
Work order early warning method and device, computer device and storage medium
CN109636415A
SIS system control cabinet
CN109669416A
A locomotive maintenance method based on a mobile client technology
CN109685221A