Accident alarm method and device for power distribution room, electronic equipment and storage medium
Through the combination of intelligent camera equipment and sensing equipment, image analysis is carried out to verify the authenticity of alarm information, solving the problems of low operation and maintenance efficiency of distribution rooms and difficulty in confirming safety hazards, and achieving efficient and accurate safety accident alarms and handling.
Patent Information
- Application Number
- CN202411861143.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-16
AI Technical Summary
There are a large number of safety hazards in daily operation and maintenance of distribution rooms, resulting in low operation and maintenance efficiency and high labor costs. The existing camera functions are limited, and it is impossible to effectively confirm the safety hazards detected by sensing equipment.
The method of combining intelligent camera equipment and sensing equipment is adopted to perform secondary verification through the alarm information generated by the sensing equipment. The intelligent camera equipment takes and analyzes the image to determine whether there are safety hazards and conducts accident alarms based on the analysis results.
It improves the operation and maintenance efficiency of distribution rooms, reduces labor costs, reduces alarm false alarms, improves the accuracy of alarms, and ensures the safe operation of distribution rooms.
Smart Images

Figure CN119723840A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image data processing in a power distribution room, and in particular to an accident alarm method, device, electronic equipment and storage medium for a power distribution room. Background Art
[0002] The power distribution room is an important facility in the power system. It is mainly responsible for converting electric energy from high-voltage transmission lines or main power grids into low-voltage electric energy suitable for users through transformers, and distributing it to various electrical equipment or areas. It is a key link in the power system, ensuring that electricity can be supplied safely, stably and reasonably to where it is needed. Therefore, power distribution rooms are often deployed in large numbers in industrial parks, factory areas, residential areas, commercial buildings and shopping centers.
[0003] There are a lot of safety hazards in the daily operation and maintenance of the distribution room. For example, the distribution workers fail to strictly follow the safety regulations, such as not wearing work clothes or helmets, the equipment is abnormally powered off, and small animals such as cats and mice break into the distribution room, causing equipment damage or tripping. Safety accidents will affect the reliability of power supply. Therefore, in the daily operation and maintenance of the distribution room, a large number of monitoring and management needs are generated. In the existing technology, a small number of cameras are installed in some distribution rooms, but the functions of conventional cameras are limited. After the sensor equipment in the distribution room detects safety hazards, the operation and maintenance personnel still need to conduct on-site confirmation, which leads to a large amount of manpower costs for operation and maintenance in the distribution room and low operation and maintenance efficiency. Summary of the invention
[0004] In response to the above problems, the example of the present application provides an accident alarm method, device, electronic equipment and storage medium for a distribution room. The adoption of the solution of the present application is conducive to improving the operation and maintenance efficiency of the distribution room.
[0005] To achieve the above-mentioned objectives, in a first aspect, an embodiment of the present application provides an accident alarm method for a distribution room, which is applied to a management system of the distribution room, the management system comprising: an intelligent camera device and a sensor device, and the method comprising: the sensor device generates a first alarm message and sends the first alarm message to the intelligent camera device, the first alarm message being used to indicate that there is a safety hazard in a first area of the distribution room; the intelligent camera device receives the first alarm message and photographs the first area according to the first alarm message to obtain a first image; the intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, the first analysis result being used to indicate whether there are staff members in the distribution room, and the second analysis result being used to indicate whether there is a safety accident in the first area; the intelligent camera device issues an accident alarm based on the first analysis result and the second analysis result.
[0006] It can be seen that in the embodiment of the present application, the authenticity of the first alarm information is analyzed based on the first image by the intelligent camera device, and the alarm information generated by the sensor device is verified for the second time, thereby preventing the alarm information generated by the sensor device from being misjudged and reported to the cloud platform or the user terminal. The operation and maintenance personnel do not need to process all the alarm information generated by the sensor device, thereby reducing labor costs and improving the operation and maintenance efficiency of the distribution room.
[0007] In combination with the first aspect, in a possible embodiment, the management system also includes: an administrator terminal, which performs an accident alarm based on the first analysis result and the second analysis result, including: if the first analysis result indicates that there are staff members in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a first voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a safety accident in the first area; if the first analysis result indicates that there are staff members in the distribution room, and the second analysis result indicates that there is no safety accident in the first area, the intelligent camera device generates a second voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a false alarm of an accident in the first area; if the first analysis result indicates that there are no staff members in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a second alarm message and sends the second alarm message to the management terminal, and the second alarm message is used to indicate that there is a safety accident in the first area.
[0008] It can be seen that in the embodiment of the present application, the intelligent camera device issues an alarm based on the first analysis result and the second analysis result, thereby reducing false alarms and improving the accuracy of the alarm while ensuring the safety of the power distribution room, thereby avoiding the transmission of erroneous alarm information. Different alarm methods are selected based on whether there are staff in the power distribution room, further improving the efficiency of the alarm.
[0009] In combination with the first aspect, in a possible embodiment, the first image includes a second image obtained by photographing a first area and a third image obtained by photographing the second area, the first area includes the second area, and the second area is determined by the intelligent camera device based on the first alarm information; the intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, including: the intelligent camera device inputs the second image into a first image analysis model to obtain a first analysis result, and the first image analysis model is used to analyze and determine whether there is a person image in the third image; the intelligent camera device inputs the third image into a second image analysis model to obtain a second analysis result, and the second image analysis model is used to analyze and determine whether there is target feature information corresponding to at least one type of safety accident in the first image.
[0010] It can be seen that in the embodiment of the present application, based on the need to analyze the portrait or analyze the target feature information based on the first analysis result, the intelligent camera device adopts the corresponding first image analysis model and second image analysis model respectively, thereby improving the accuracy of the first analysis result and the second analysis result.
[0011] In combination with the first aspect, in a possible embodiment, the intelligent camera device is also connected to a cloud server, and the method also includes: the intelligent camera device generates a subscription request and sends a subscription request to the cloud server, where the subscription request is used to subscribe to the first image analysis model and the second image analysis model; the intelligent camera device receives the latest versions of the first image analysis model and the second image analysis model, and the latest versions of the first image analysis model and the second image analysis model are sent by the cloud server in response to the subscription request.
[0012] It can be seen that in the embodiment of the present application, cloud-edge collaboration is achieved through the cloud server and the smart camera device, so that the smart camera device can obtain the latest version of the first image analysis model and the second image analysis model from the cloud server, thereby improving the accuracy of the first analysis result and the second analysis result.
[0013] In combination with the first aspect, in a possible embodiment, the management system includes multiple sensor devices, and the sensor devices correspond to a security accident type. If the second analysis result indicates that the existing security accident type does not correspond to the target sensor device that reports the first alarm information, the target sensor device is one of the multiple sensor devices. The method also includes: if the security accident type indicated by the second analysis result is the target type, and the sensor device that reports the first alarm information includes the target sensor device and other sensor devices, then it is determined that the target sensor device is faulty, wherein the other sensor devices correspond to the target type; if the sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device and other sensor devices, then it is determined that the first target sensor device is faulty, and the first target sensor device and the second target sensor device constitute the target sensor device; if the sensor device that reports the first alarm information does not include other sensor devices, then it is determined that the second analysis result is incorrect; the first image data of the first target area is re-shot, and the second analysis result is obtained through analysis.
[0014] It can be seen that in an embodiment of the present application, when the second analysis result indicates that the type of existing safety accident does not correspond to the target sensor device that reported the first alarm information, the second analysis result is verified based on whether other sensor devices upload alarm information corresponding to the target type, thereby further improving the accuracy of the second analysis result.
[0015] In combination with the first aspect, in a possible embodiment, the management system also includes: an intelligent recording device, the intelligent recording device is used to save all images taken by the intelligent camera device, and after the intelligent camera device analyzes the first image to obtain the first analysis result and the second analysis result, the method also includes: the intelligent camera device generates a marking time information according to the first alarm information, and the marking time information is used to mark the occurrence time of the safety hazard indicated by the first alarm information and the second analysis result; the intelligent camera device generates first image data, the first image data includes all images taken by the intelligent recording device between a first time period, and the first time period includes the time corresponding to the marking time information; the intelligent camera device sends the first image data and the marking time information to the intelligent recording device; the intelligent recording device receives the first image data and the marking time information and saves them locally; if the first image data is saved in the intelligent recording device for a time period greater than a preset time period, second image data is generated according to the first image data and the marking time information, the second image data includes all images taken by the intelligent recording device between the second time period, the first time period includes the second time period, and the second time period includes the occurrence time marked by the moment marking information; the intelligent recording device deletes the first image data.
[0016] It can be seen that in the embodiment of the present application, the images taken by the intelligent camera device are saved by the intelligent recording device, and unimportant images are periodically deleted according to the characteristics of the images, and the images used by the intelligent recording device in the image analysis process are saved, thereby saving the storage space of the intelligent recording device and reducing the amount of data that the intelligent recording device needs to upload or transmit.
[0017] In combination with the first aspect, in a possible embodiment, the management system also includes an emergency handling device, which corresponds to a safety accident type. If the second analysis result indicates that there is a safety accident in the first area, the method also includes: the intelligent camera device obtains the safety hazard type corresponding to the sensing device, and matches the corresponding emergency handling instructions according to the first alarm information and the safety hazard type; the intelligent camera device sends the emergency handling instructions to the emergency handling device, so that the emergency handling device executes the emergency handling instructions; the intelligent camera device photographs the emergency handling device to obtain a fourth image; the intelligent camera device analyzes the fourth image to obtain an emergency handling result, and sends the emergency handling result to the user terminal, and the emergency handling result includes successful processing or failed processing.
[0018] It can be seen that in the embodiment of the present application, by controlling the emergency equipment in the distribution room through intelligent camera equipment, it is possible to realize the automated handling of safety accidents without the presence of staff, thereby ensuring the safe operation of the distribution room and further reducing labor costs.
[0019] In a second aspect, an embodiment of the present application provides an accident alarm device for a distribution room, which is used to execute an accident alarm method for a distribution room, and belongs to a management system for a distribution room. The management system includes: an intelligent camera device and a sensor device. The device includes:
[0020] A generating unit, configured to generate first alarm information and send the first alarm information to the intelligent camera device, wherein the first alarm information is used to indicate that there is a potential safety hazard in a first area of the power distribution room;
[0021] A receiving unit, configured to receive the first alarm information and photograph the first area to obtain a first image according to the first alarm information;
[0022] An analysis unit, configured to analyze the first image to obtain a first analysis result and a second analysis result, wherein the first analysis result is used to indicate whether there are staff members in the power distribution room, and the second analysis result is used to indicate whether there is a safety accident in the first area;
[0023] The alarm unit is used to issue an accident alarm based on the first analysis result and the second analysis result.
[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and one or more instructions are suitable for being loaded by the processor and executing part or all of the method of the first aspect.
[0025] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the method of the first aspect.
[0026] In a fifth aspect, the present application provides a computer program product. When a computer reads and executes the computer program product, the computer executes the method in any possible design of the first aspect above.
[0027] It can be understood that the beneficial effects of the embodiments of the second to fifth aspects can refer to the beneficial effects of the method of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1A schematic diagram of an application scenario of an accident alarm method for a power distribution room provided in an embodiment of the present application;
[0030] Figure 2 A schematic diagram of a flow chart of an accident alarm method for a power distribution room provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of a connection between a cloud server and an intelligent camera device provided in an embodiment of the present application;
[0032] Figure 4 A schematic diagram of a management area of a first target sensor device and a second target sensor device provided in an embodiment of the present application;
[0033] Figure 5 A schematic diagram of equipment connection of a management system for a power distribution room provided in an embodiment of the present application;
[0034] Figure 6 A schematic diagram of generating second image data provided in an embodiment of the present application;
[0035] Figure 7 A schematic diagram of the structure of an accident alarm device for a power distribution room provided in an embodiment of the present application;
[0036] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0038] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0039] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0040] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0041] In the existing energy storage system, there are usually multiple parallel branches. The energy storage equipment is usually connected to the energy storage system in parallel or in series. Figure 1 , Figure 1 A schematic diagram of an application scenario of an accident alarm method for a power distribution room provided in an embodiment of the present application, in Figure 1 The application scenario 100 shown includes an intelligent camera device 101 and a sensor device 102, wherein the intelligent camera device is used to obtain image data in a power distribution room and analyze whether there are safety hazards or safety accidents in the power distribution room based on the image data. The sensor device 102 is installed at a preset position in the power distribution room, and analyzes whether there are safety hazards or safety accidents in the power distribution room based on the acquired sensor data.
[0042] The smart camera device 101 here is specifically a smart device with a built-in processor and a smart operating system. In addition, the smart camera device also includes hardware such as a microphone and a speaker.
[0043] The sensing device 102 is specifically a gas sensor, a temperature sensor or a water immersion sensor, etc., which is connected to the smart camera device 101 through a wired or wireless communication method. The sensing device 102 can also be a smart sensing device with a built-in processor and a smart operating system, and the same operating system as the smart camera device 101 is installed.
[0044] In the embodiment of the present application, the sensor device 102 generates a first alarm message and sends the first alarm message to the intelligent camera device. The first alarm message is used to indicate that there is a safety hazard in the first area of the power distribution room. The specific content of the first alarm message here depends on the device type of the sensor device 102. For example, if the specific type of the sensor device 102 is a temperature sensor and is used to collect the temperature of the target power distribution box, the first alarm message here specifically indicates that there is a safety hazard of excessively high device temperature in the first area of the power distribution room (the area where the target power distribution box is located).
[0045] The intelligent camera device 101 receives the first alarm information and photographs the first area according to the first alarm information to obtain a first image;
[0046] The intelligent camera device 101 analyzes the first image to obtain a first analysis result and a second analysis result, wherein the first analysis result is used to indicate whether there are staff members in the power distribution room, and the second analysis result is used to indicate whether there is a safety accident in the first area; the intelligent camera device 101 here obtains the first analysis result and the second analysis result based on the first image obtained by shooting the first area. The intelligent camera device 101 can specifically obtain the first analysis result and the second analysis result by image analysis, image comparison, and the like.
[0047] The intelligent camera device 101 issues an accident alarm based on the first analysis result and the second analysis result. Specifically, the alarm method is determined based on whether there are staff members in the first area, and the number and type of staff members.
[0048] It can be seen that in the embodiment of the present application, the authenticity of the first alarm information is analyzed based on the first image by the intelligent camera device, and the alarm information generated by the sensor device is verified for the second time, thereby preventing the alarm information generated by the sensor device from being misjudged and reported to the cloud platform or the user terminal. The operation and maintenance personnel do not need to process all the alarm information generated by the sensor device, thereby reducing labor costs and improving the operation and maintenance efficiency of the distribution room.
[0049] See also Figure 2 , Figure 2 A schematic diagram of a flow chart of an accident alarm method for a power distribution room provided in an embodiment of the present application, which can be based on Figure 1 The application scenario shown is implemented as follows Figure 2 As shown, steps S201-S204 are included:
[0050] S201: The sensor device generates first alarm information and sends the first alarm information to the intelligent camera device, where the first alarm information is used to indicate that there is a safety hazard in the first area of the power distribution room.
[0051] Specifically, the target sensor is used to obtain sensor data of the first area of the distribution room, and then determine whether there are safety hazards in the first area. When the sensor data obtained by the target sensor reaches a preset threshold, a first alarm message is generated and sent to the smart camera device to report the existence of safety hazards in the first area to the smart camera device.
[0052] S202: The intelligent camera device receives the first alarm information and photographs the first area according to the first alarm information to obtain a first image.
[0053] Specifically, after receiving the first alarm information, the smart camera device determines that there is a safety hazard in the first area. However, the first alarm information here may be caused by the sensor device being triggered by mistake, so the smart camera device will capture the first area based on the first alarm information to obtain a first image, and then can further determine whether the safety hazard in the first area is true based on the first image.
[0054] S203: The intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, where the first analysis result is used to indicate whether there are workers in the power distribution room, and the second analysis result is used to indicate whether there is a safety accident in the first area.
[0055] Specifically, the first analysis result here is used to indicate whether there are staff members in the power distribution room, and the intelligent camera device can determine the reporting method, judgment criteria, etc. of the second analysis result based on the first analysis result. The second analysis result here is used to indicate whether there is a safety accident in the first area. When the second analysis result is that there is no safety accident in the first area, the intelligent camera device determines that the first alarm information is a false alarm caused by the false triggering of the sensor device, and when the second analysis result is that there is a safety accident in the first area, the intelligent camera device determines that the first alarm information is true.
[0056] S204: The intelligent camera device issues an accident alarm based on the first analysis result and the second analysis result.
[0057] Specifically, the intelligent camera device performs an accident alarm based on the first analysis result and the second analysis result. For example, when the first analysis result indicates that there are staff members in the distribution room, the intelligent camera device reports the second analysis result to the staff members in the distribution room. When the first analysis result indicates that there are no staff members in the distribution room, the intelligent camera device sends the second analysis result to the administrator terminal of the manager of the distribution room.
[0058] In addition, the first analysis result can also affect the analysis rules of the second analysis result. When the first analysis result indicates that there are staff in the distribution room, the analysis standard of the second analysis result is stricter; when the first analysis result indicates that there are no staff in the distribution room, the analysis standard of the second analysis result is looser.
[0059] In a possible embodiment, the management system also includes: an administrator terminal, which performs an accident alarm based on the first analysis result and the second analysis result, including: if the first analysis result indicates that there are staff members in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a first voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a safety accident in the first area; if the first analysis result indicates that there are staff members in the distribution room, and the second analysis result indicates that there is no safety accident in the first area, the intelligent camera device generates a second voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a false alarm of an accident in the first area; if the first analysis result indicates that there are no staff members in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a second alarm message and sends the second alarm message to the management terminal, and the second alarm message is used to indicate that there is a safety accident in the first area.
[0060] Specifically, in the embodiment of the present application, the management system also includes an administrator terminal, where the administrator terminal is bound to the power distribution room, and the user of the administrator terminal can communicate with the intelligent camera device based on the administrator terminal, thereby enabling remote management of the power distribution room. The intelligent camera device issues an alarm based on the first analysis result and the second analysis result, which involves the administrator terminal and the staff that may be in the power distribution room.
[0061] If the first analysis result indicates that there are workers in the power distribution room, that is, there are workers in the power distribution room who are conducting inspections, maintenance, etc., the intelligent camera equipment will mainly alert the workers in the power distribution room.
[0062] When the first analysis result indicates that there are staff members in the power distribution room, if the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates and broadcasts a first voice alarm to inform the staff members in the power distribution room of the second analysis result and the location of the safety accident so as to solve the corresponding safety accident as soon as possible. If the second analysis result indicates that there is no safety accident in the first area, the intelligent camera device generates and broadcasts a second voice alarm. The first voice alarm is used to indicate that there is a false alarm of an accident in the first area; thereby enabling the staff members to know that the sensor device has made a misjudgment and to judge whether to recheck the sensor device.
[0063] If the first analysis result indicates that there is no staff in the power distribution room, that is to say, there is no staff in the power distribution room and the power distribution room is in an unmanned state.
[0064] When the first analysis result indicates that there are no staff in the distribution room, if the second analysis result indicates that there is a safety accident in the first area, that is to say, the intelligent camera device determines that the first alarm information of the sensor device is true by analyzing the first image, the intelligent camera device generates a second alarm information and sends the second alarm information to the management terminal. The second alarm information is used to indicate that there is a safety accident in the first area.
[0065] It can be seen that in the embodiment of the present application, the intelligent camera device issues an alarm based on the first analysis result and the second analysis result, thereby reducing false alarms and improving the accuracy of the alarm while ensuring the safety of the power distribution room, thereby avoiding the transmission of erroneous alarm information. Different alarm methods are selected based on whether there are staff in the power distribution room, further improving the efficiency of the alarm.
[0066] In a possible embodiment, the sensing device is a smoke sensor. If the first analysis result indicates that there are staff members in the distribution room, and the second analysis result indicates that there are no safety accidents in the first area, the intelligent camera device generates and broadcasts a second voice alarm. The first voice alarm is used to indicate that there is a false alarm of an accident in the first area, including: the first analysis result is also used to indicate whether the staff members are located in the second area where the sensing device is located; if the first analysis result also indicates that the staff members are located in the second area, the first voice alarm is also used to instruct the staff members to pay attention to work specifications.
[0067] In the embodiment of the present application, the sensor device is a smoke sensor. When the sensor device sends the first alarm information, the first alarm information indicates that there is a fire safety hazard in the second area where the sensor device is located. However, the second analysis result indicates that there is no safety accident in the first area. Therefore, the first alarm information sent by the sensor device is a misjudgment. If the staff is also in the second area where the sensor device is located at this time, it is suspected that the sensor device here is caused by the staff's illegal smoking, etc. Therefore, the first voice alarm is also used to instruct the staff to pay attention to work specifications.
[0068] In a possible embodiment, the first image includes a second image obtained by photographing a first area and a third image obtained by photographing the second area, the first area includes the second area, and the second area is determined by the intelligent camera device according to the first alarm information; the intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, including: the intelligent camera device inputs the second image into a first image analysis model to obtain a first analysis result, and the first image analysis model is used to analyze and determine whether there is a person image in the third image; the intelligent camera device inputs the third image into a second image analysis model to obtain a second analysis result, and the second image analysis model is used to analyze and determine whether there is target feature information corresponding to at least one type of safety accident in the first image.
[0069] Specifically, in the embodiment of the present application, the corresponding first analysis result and the second analysis result are determined based on whether there is a corresponding person image or target feature information in the first image. The first area here includes the second area, the first area is larger, and the second area is an area determined based on the first alarm information. The smart camera device thus takes a close-up shot of the second area with potential safety hazards to obtain a third image.
[0070] The intelligent camera device inputs the second image into the first image analysis model. The first image analysis model here is a recognition model based on human recognition training, which is used to determine whether there is a human image in the third image, and then determine whether there is a worker in the power distribution room. Furthermore, the first image analysis model here is also used to analyze whether the worker has violated the rules, such as not wearing work clothes or safety helmets, and whether small animals such as cats and mice have broken in.
[0071] The intelligent camera device inputs the third image into the second image analysis model to obtain a second analysis result; the second image analysis model here is a recognition model trained based on accident feature information, and is used to analyze and determine whether there is target feature information corresponding to at least one type of safety accident in the first image. The safety accidents here include fire accidents, flooding accidents, overheating accidents and other types. The type of safety accident corresponds to the type of sensor equipment, that is, the first alarm information sent by the sensor equipment of the fire accident type is the alarm information of the fire accident type. At this time, the second image analysis model is mainly used to analyze and determine whether there is target feature information corresponding to the fire accident type in the first image, such as flames, smoke, etc.
[0072] It can be seen that in the embodiment of the present application, based on the need to analyze the portrait or analyze the target feature information based on the first analysis result, the intelligent camera device adopts the corresponding first image analysis model and second image analysis model respectively, thereby improving the accuracy of the first analysis result and the second analysis result.
[0073] In a possible embodiment, the smart camera device is also connected to a cloud server, and the method also includes: the smart camera device generates a subscription request and sends a subscription request to the cloud server, where the subscription request is used to subscribe to the first image analysis model and the second image analysis model; the smart camera device receives the latest versions of the first image analysis model and the second image analysis model, and the latest versions of the first image analysis model and the second image analysis model are sent by the cloud server in response to the subscription request.
[0074] Specifically, since the training of the model requires a lot of computing power support, a single smart camera device can support the model to run locally but cannot train and improve the model. Therefore, in an embodiment of the present application, the smart camera device is also connected to the cloud server, and the first image analysis model and the second image analysis model are trained through the computing power of the cloud server.
[0075] After the smart camera equipment is deployed in the power distribution room, it will first generate a subscription request based on the spatiotemporal information of the power distribution room and the accident types corresponding to all the sensor devices configured in the power distribution room, thereby obtaining the image analysis model required by this power distribution room. The spatiotemporal information here is used to indicate the region where the power distribution room is located and the current time. This is because the cloud server will train specialized models corresponding to different locations and seasons based on the regions and seasons corresponding to the training data, so here the smart camera equipment sends a subscription request to the cloud server in order to obtain the latest and most appropriate first image analysis model and second image analysis model.
[0076] The smart camera device sends a subscription request to the cloud server, so that the cloud server determines the latest versions of the first image analysis model and the second image analysis model based on the request of the smart camera device, and sends the latest versions of the first image analysis model and the second image analysis model to the smart camera device.
[0077] The server here stores multiple image analysis models, which will be connected to multiple smart camera devices, and then train the multiple image analysis models according to the training data generated by the multiple smart camera devices according to the first image, the second image or the third image to obtain a more accurate image analysis model.
[0078] For example, see Figure 3 , Figure 3 A cloud-edge collaboration schematic diagram of a cloud server and an intelligent camera device provided for an embodiment of the present application shows that the cloud server here is connected to the first intelligent camera device and the second intelligent camera device based on a data ring network. The data ring network is a computer network topology in which multiple devices (such as computers, switches, etc.) are connected together in a ring to achieve cloud-edge collaboration. In this network, data flows from one device to the next until a closed loop is formed. Data ring networks are commonly used in local area networks (LANs), especially in environments that require efficient and reliable communication. The first intelligent camera device and the second intelligent camera device send training data to the video platform in the cloud server through the data ring network, and call the training data in the video platform based on the training and reasoning modules. The training model warehouse multiple models, and then respond to the subscription request of the intelligent camera device to send the latest version of the model to each intelligent camera device. After the version of the first image analysis model and the second image analysis model is updated, the cloud server will send the latest version of the first image analysis model and the second image analysis model to the intelligent camera device again. The first image analysis model here is trained by the cloud server based on training data of different spatiotemporal information. For example, the first image analysis model trained according to the training data corresponding to spring in the first region is used for image analysis in spring by smart camera equipment in the distribution room of the first region.
[0079] The second image analysis model here is trained by the cloud server based on different accident types. For example, the second image analysis model trained according to the training data corresponding to the fire accident is used by the intelligent camera device to analyze the third image corresponding to the first alarm information of the fire accident.
[0080] It can be seen that in the embodiment of the present application, cloud-edge collaboration is achieved through the cloud server and the smart camera device, so that the smart camera device can obtain the latest version of the first image analysis model and the second image analysis model from the cloud server, thereby improving the accuracy of the first analysis result and the second analysis result.
[0081] In a possible embodiment, the management system includes multiple sensor devices, and the sensor devices correspond to a security accident type. If the second analysis result indicates that the existing security accident type does not correspond to the target sensor device that reports the first alarm information, the target sensor device is one of the multiple sensor devices. The method also includes: if the security accident type indicated by the second analysis result is the target type, and the sensor device that reports the first alarm information includes the target sensor device and other sensor devices, then it is determined that the target sensor device is faulty, wherein the other sensor devices correspond to the target type; if the sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device and other sensor devices, then it is determined that the second target sensor device is faulty, and the first target sensor device and the second target sensor device constitute the target sensor device; if the sensor device that reports the first alarm information does not include other sensor devices, then it is determined that the second analysis result is incorrect; the first image data of the first target area is re-photographed, and the second analysis result is obtained through analysis.
[0082] Specifically, in the embodiment of the present application, the second analysis result indicates that the type of safety accident that exists does not correspond to the sensor device that reported the first alarm information. For example, if the sensor device that reported the first alarm information, that is, the safety accident type corresponding to the sensor device is a fire accident type, but the sensor device that reported the first alarm information is a water immersion sensor, and the corresponding safety accident type is a water immersion accident type, then the corresponding second analysis result needs to be re-verified. Based on the different sensor devices that report the alarm information at the same time, the embodiment of the present application provides three verification methods.
[0083] First, for the first case, if the security accident type indicated by the second analysis result is the target type, the sensor device that reports the first alarm information includes the target sensor device and other sensor devices, and multiple first alarm messages (sent by the target sensor device and other sensor devices, and the target sensor device and other sensor devices correspond to different security accident types) are sent to the smart camera device at the same time or in the same time period, then the target sensor device is determined to be faulty, where the other sensor devices correspond to the target type. In this case, a security accident of the target type did occur in the first area and was reported by other sensor devices of the corresponding type, but at this time the target sensor device was also triggered and uploaded, so it is considered here that the target sensor device is faulty, and the first alarm message sent by the target sensor device is a misjudgment.
[0084] Secondly, for the second situation, if the sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device and other sensor devices, it is determined that the second target sensor device is faulty. In this case, the first target sensor device and the second target sensor device constitute the target sensor device, and the first target sensor device and the second target sensor device are sensor devices of the same accident type, and are respectively used to monitor different subdivided areas in the first area.
[0085] For example, see Figure 4 , Figure 4 A schematic diagram of a management area of a first target sensor device and a second target sensor device provided in an embodiment of the present application. It can be seen that the first target sensor device and the second target sensor device are used to manage the first sub-area and the second sub-area of the first area, respectively. The first target sensor device is used to manage multiple power distribution cabinets in the first sub-area, and the second target sensor device is used to manage multiple power distribution cabinets in the second sub-area. The intelligent camera device shoots the first sub-area or the second sub-area based on the first alarm information sent by the first target sensor device or the second target sensor device.
[0086] The sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device. The reason for this situation may be that the safety accident occurred in the area where the second target sensor device is located, and triggered the first target sensor device (the reason for the trigger may be that the first sub-area and the second sub-area are relatively close), resulting in the intelligent camera device failing to determine the corresponding safety accident type based on the first alarm information sent by the first target sensor device. This is because the safety accident damaged the second target sensor device (for example, damage caused by a fire accident or a flood accident), so the second target sensor device failed to generate the corresponding alarm information in time. Therefore, it is judged that the second target sensor device is damaged at this time.
[0087] Further, after determining that the second target sensing device fails, the intelligent camera device also photographs a third area corresponding to the second target sensing device, analyzes the third area to obtain a second analysis result, and the first area includes the third area.
[0088] Finally, for the third case, if the sensor device that reports the first alarm information does not include other sensor devices, it is determined that the second analysis result is wrong; the first image data of the first target area is re-photographed, and the second analysis result is obtained through analysis. In this case, no safety accident of the target type has occurred in the first area, and no other sensor device of the corresponding type has reported. Therefore, it is considered that the second analysis result is wrong, so the first image data of the first target area is re-photographed, and the second analysis result is obtained through analysis. The second analysis result is verified once.
[0089] It can be seen that in an embodiment of the present application, when the second analysis result indicates that the type of existing safety accident does not correspond to the target sensor device that reported the first alarm information, the second analysis result is verified based on whether other sensor devices upload alarm information corresponding to the target type, thereby further improving the accuracy of the second analysis result.
[0090] In a possible embodiment, the management system also includes: an intelligent recording device, the intelligent recording device is used to save all images taken by the intelligent camera device, after the intelligent camera device analyzes the first image to obtain the first analysis result and the second analysis result, the method also includes: the intelligent camera device generates marking time information according to the first alarm information, the marking time information is used to mark the occurrence time of the safety hazard indicated by the first alarm information and the second analysis result; the intelligent camera device generates first image data, the first image data includes all images taken by the intelligent recording device between the first time period, and the first time period includes the time corresponding to the marking time information; the intelligent camera device sends the first image data and the marking time information to the intelligent recording device; the intelligent recording device receives the first image data and the marking time information and saves them locally; if the first image data is saved in the intelligent recording device for a period longer than a preset period, second image data is generated according to the first image data and the marking time information, the second image data includes all images taken by the intelligent recording device between the second time period, the first time period includes the second time period, and the second time period includes the occurrence time marked by the moment marking information; the intelligent recording device deletes the first image data.
[0091] Specifically, in the embodiment of the present application, the management system also includes: an intelligent recording device, which is specifically a network video recorder (NVR) that can receive image data sent by the intelligent camera device, and save the image data sent by the intelligent camera device locally or forward it to a cloud server.
[0092] See also Figure 5 , Figure 5A device connection diagram of a management system for a power distribution room provided in an embodiment of the present application, including intelligent camera equipment, intelligent video recording equipment and sensor equipment. The intelligent camera equipment, intelligent video recording equipment and sensor equipment communicate through a soft bus (Soft Bus) generated by a gateway device. The soft bus here is a communication mechanism implemented by software, which is used to transfer data and signals between different hardware devices or software components. Unlike the traditional hardware bus, the soft bus usually relies on the computer's operating system and program to simulate or control the data transmission process, rather than being directly managed by dedicated hardware circuits. At the same time, the intelligent camera equipment and the intelligent video recording equipment can also be connected to the cloud server through the gateway machine. More intelligent camera equipment and sensor equipment may be configured in the actual power distribution room, which will not be repeated here.
[0093] After the smart camera equipment is deployed in the power distribution room for the first time, the smart camera equipment also actively sends docking information to the cloud server. The docking information here is used to realize device registration. The docking information includes the IP segment, password and docking platform information of the smart camera equipment. The cloud service sends the docking information to the smart video equipment in the corresponding power distribution room, and then realizes the connection between the docking information issued by the smart video equipment bureau and the resume of the smart camera equipment, thereby realizing the automatic configuration of the smart camera equipment. This simplifies the deployment steps of the smart camera equipment and reduces the deployment cost.
[0094] After the intelligent camera device analyzes the first image to obtain the first analysis result and the second analysis result, the intelligent video recording device generates marking time information according to the first alarm information to indicate the time when the first alarm information occurs.
[0095] The first image data generated by the intelligent recording device includes all images taken within the first time period, and the first time period includes the moment corresponding to the marked moment information. That is to say, the intelligent recording device will send the captured images to the intelligent recording device for storage at a predetermined frequency. In the embodiment of the present application, the intelligent recording device packages all images taken within the first time period based on the first image data and sends them to the intelligent recording device, and also sends the marked moment information to the intelligent recording device. This is because in the first image data, in addition to the images taken by the intelligent camera device to determine whether the first alarm information is true, the intelligent camera device will also take a large number of images used to determine whether there are staff members in the power distribution room. However, the storage space of the intelligent recording device is limited, so the intelligent recording device will regularly delete images used to determine whether there are staff members in the power distribution room, etc. The characteristics of this type of image are that they are in the same picture for a long time, so the value of retaining them is not high and they can be cleared immediately.
[0096] Therefore, if the first image data is stored in the intelligent recording device for a period longer than a preset period (for example, 7 days, 30 days, 180 days, etc. The specific preset period can be determined based on the storage space of the intelligent recording device), the second image data is generated based on the first image data and the marking time information. The second image data here is a segment of images generated based on the occurrence time marked by the moment marking information (for example, all images from 30s before the moment marked by the moment marking information to 30s after the moment marked by the moment marking information).
[0097] For example, see Figure 6 , Figure 6 A schematic diagram of generating the second image data provided in an embodiment of the present application shows that the first image data includes the second image and the third image. As shown in the figure, the time axis of the second image and the third image in the first time period is shown, wherein the second image is used to determine whether there is a staff in the power distribution room, so in Figure 6 The second image continues in the first time period shown, while the third image is used to determine whether the potential safety hazard at the target moment is real, so the second image only lasts for a period of time in the first time period. The second time period is determined by the target moment, and the second time period is from a preset time before the target moment to a preset time after the target moment. It can be seen that the second image data here includes part of the second image and the third image.
[0098] The intelligent recording device generates the second image data and the corresponding time stamp information, and records the first alarm information received by the intelligent camera device, the second image data obtained, and the final second analysis result in the second image data, thereby recording the judgment process, judgment basis, and judgment result of the intelligent camera device for the first alarm information.
[0099] Furthermore, after the intelligent recording device deletes the first image data, the intelligent recording device sends the second image data and the corresponding time mark information to the cloud server, so that the cloud server generates training data based on the second image data and the corresponding time mark information to train the corresponding image analysis model.
[0100] It can be seen that in the embodiment of the present application, the images taken by the intelligent camera device are saved by the intelligent recording device, and unimportant images are periodically deleted according to the characteristics of the images, and the images used by the intelligent recording device in the image analysis process are saved, thereby saving the storage space of the intelligent recording device and reducing the amount of data that the intelligent recording device needs to upload or transmit.
[0101] In a possible embodiment, the management system also includes an emergency processing device. If the second analysis result indicates that there is a safety accident in the first area, the method also includes: the intelligent camera device obtains the safety hazard type corresponding to the sensing device, and matches the corresponding emergency processing instruction according to the first alarm information and the safety hazard type; the intelligent camera device sends the emergency processing instruction to the emergency processing device, so that the emergency processing device executes the emergency processing instruction; the intelligent camera device photographs the emergency processing device to obtain a fourth image; the intelligent camera device analyzes the fourth image to obtain an emergency processing result, and sends the emergency processing result to the user terminal, and the emergency processing result includes successful processing or failed processing.
[0102] Specifically, in the embodiment of the present application, the management system also includes emergency processing equipment, and the emergency processing equipment here also corresponds to a safety accident type. For example, the emergency processing equipment corresponding to the flooding accident type is a water pump.
[0103] If the second analysis result indicates that there is a safety accident in the first area, that is, when the intelligent camera device determines that there is a safety accident in the power distribution room, it is usually necessary to send a notification to the administrator terminal, or notify the staff in the power distribution room, so that the user of the administrator terminal or the staff in the power distribution room can handle the corresponding safety accident. Under the premise that the staff or the user of the administrator terminal cannot handle it in time, this embodiment also handles it through the emergency processing equipment.
[0104] The intelligent camera device obtains the type of safety hazard corresponding to the sensor device, and allocates the corresponding emergency handling instruction according to the first alarm information and the type of safety hazard. The emergency handling instruction here is generated according to the type of safety hazard corresponding to the sensor device and the first alarm information, and is used to indicate the area and time of the safety accident to the corresponding type of emergency handling equipment, so that the emergency handling equipment executes the emergency handling instruction.
[0105] At the same time, the intelligent camera device photographs the emergency processing device to obtain a fourth image, analyzes the processing effect of the emergency processing device through the fourth image, obtains the emergency processing result, and sends the emergency processing result to the user terminal. The emergency processing result includes processing success or processing failure.
[0106] It can be seen that in the embodiment of the present application, by controlling the emergency equipment in the distribution room through intelligent camera equipment, it is possible to realize the automated handling of safety accidents without the presence of staff, thereby ensuring the safe operation of the distribution room and further reducing labor costs.
[0107] By implementing the method in the above-mentioned application embodiment, it can be seen that the first alarm information sent by the sensor device is verified twice by the intelligent camera device to determine whether the first alarm information is true, thereby reducing labor costs and improving the operation and maintenance efficiency of the distribution room. The accuracy of the first analysis result and the second analysis result is improved according to the first image analysis model and the second image analysis model. The cloud-edge collaboration realized based on the cloud server and the intelligent camera device further improves the accuracy of the first analysis result and the second analysis result. The second analysis result is verified based on the alarm information uploaded by other sensor devices, further improving the accuracy of the second analysis result. The intelligent recording device reduces the amount of data that the intelligent recording device needs to upload or transmit. The emergency equipment in the distribution room is controlled by the intelligent camera device, which further reduces labor costs.
[0108] Based on the description of the above configuration method embodiment, the present application also provides an accident alarm device 700 for a power distribution room. The accident alarm device 700 for a power distribution room can be a device running on Figure 1 A computer program (including program code) in the smart camera device 101 or the sensor device 102 shown. The accident alarm device 700 of the power distribution room can be applied to Figure 1 The application scenario shown in the figure is executed Figure 2 See the method shown in Figure 7 , Figure 7 The schematic diagram of the structure of the accident alarm device of the power distribution room provided in the embodiment of the present application, the accident alarm device 700 of the power distribution room includes:
[0109] A generating unit 701 is used to generate first alarm information and send the first alarm information to the intelligent camera device, where the first alarm information is used to indicate that there is a safety hazard in the first area of the power distribution room;
[0110] A receiving unit 702 is configured to receive first alarm information and photograph a first area to obtain a first image according to the first alarm information;
[0111] An analysis unit 703 is used to analyze the first image to obtain a first analysis result and a second analysis result, wherein the first analysis result is used to indicate whether there are workers in the power distribution room, and the second analysis result is used to indicate whether there is a safety accident in the first area;
[0112] The alarm unit 704 is used to generate an accident alarm according to the first analysis result and the second analysis result.
[0113] In a possible embodiment, the management system also includes: an administrator terminal, and in terms of performing accident alarm according to the first analysis result and the second analysis result, the generation unit 701 is also specifically used for: if the first analysis result indicates that there are staff in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a first voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a safety accident in the first area; if the first analysis result indicates that there are staff in the distribution room, and the second analysis result indicates that there is no safety accident in the first area, the intelligent camera device generates a second voice alarm and broadcasts it, and the first voice alarm is used to indicate that there is a false alarm of an accident in the first area; if the first analysis result indicates that there are no staff in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a second alarm message and sends the second alarm message to the management terminal, and the second alarm message is used to indicate that there is a safety accident in the first area.
[0114] In a possible embodiment, the first image includes a second image obtained by photographing a first area and a third image obtained by photographing a second area, the first area includes the second area, and the second area is determined by the intelligent camera device according to the first alarm information; in terms of the intelligent camera device analyzing the first image to obtain the first analysis result and the second analysis result, the generation unit 701 is also specifically used for: the intelligent camera device inputs the second image into a first image analysis model to obtain a first analysis result, and the first image analysis model is used to analyze and determine whether there is a person image in the third image; the intelligent camera device inputs the third image into a second image analysis model to obtain a second analysis result, and the second image analysis model is used to analyze and determine whether there is target feature information corresponding to at least one type of safety accident in the first image.
[0115] In a possible embodiment, the smart camera device is also connected to a cloud server, and the generation unit 701 is further specifically used to: the smart camera device generates a subscription request and sends a subscription request to the cloud server, where the subscription request is used to subscribe to the first image analysis model and the second image analysis model; the smart camera device receives the latest versions of the first image analysis model and the second image analysis model, and the latest versions of the first image analysis model and the second image analysis model are sent by the cloud server in response to the subscription request.
[0116] In a possible embodiment, the management system includes multiple sensor devices, and the sensor devices correspond to one security accident type. If the second analysis result indicates that the existing security accident type does not correspond to the target sensor device that reports the first alarm information, and the target sensor device is one of the multiple sensor devices, the analysis unit 703 is also specifically used to: if the security accident type indicated by the second analysis result is the target type, and the sensor device that reports the first alarm information includes the target sensor device and other sensor devices, then it is determined that the target sensor device is faulty, wherein the other sensor devices correspond to the target type; if the sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device and other sensor devices, then it is determined that the first target sensor device is faulty, and the first target sensor device and the second target sensor device constitute the target sensor device; if the sensor device that reports the first alarm information does not include other sensor devices, then it is determined that the second analysis result is incorrect; and the first image data of the first target area is re-photographed, and the second analysis result is obtained through analysis.
[0117] In a possible embodiment, the management system also includes: an intelligent recording device, the intelligent recording device is used to save all images taken by the intelligent camera device, after the intelligent camera device analyzes the first image to obtain the first analysis result and the second analysis result, the analysis unit 703 is also specifically used to: the intelligent camera device generates marking time information according to the first alarm information, the marking time information is used to mark the occurrence time of the safety hazard indicated by the first alarm information and the second analysis result; the intelligent camera device generates first image data, the first image data includes all images taken by the intelligent recording device between the first time period, and the first time period includes the time corresponding to the marking time information; the intelligent camera device sends the first image data and the marking time information to the intelligent recording device; the intelligent recording device receives the first image data and the marking time information and saves them locally; if the first image data is saved in the intelligent recording device for a period longer than a preset period, second image data is generated according to the first image data and the marking time information, the second image data includes all images taken by the intelligent recording device between the second time period, the first time period includes the second time period, and the second time period includes the occurrence time marked by the moment marking information; the intelligent recording device deletes the first image data.
[0118] In a possible embodiment, the management system also includes an emergency processing device, which corresponds to a safety accident type. If the second analysis result indicates that there is a safety accident in the first area, the receiving unit 702 is also specifically used for: the intelligent camera device obtains the safety hazard type corresponding to the sensing device, and matches the corresponding emergency processing instruction according to the first alarm information and the safety hazard type; the intelligent camera device sends the emergency processing instruction to the emergency processing device, so that the emergency processing device executes the emergency processing instruction; the intelligent camera device shoots the emergency processing device to obtain a fourth image; the intelligent camera device analyzes the fourth image to obtain the emergency processing result, and sends the emergency processing result to the user terminal, and the emergency processing result includes successful processing or failed processing.
[0119] Based on the description of the above method embodiment and device embodiment, please refer to Figure 8 , Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 The electronic device 800 shown (the electronic device 800 may be a computer device) includes a memory 801, a processor 802, a communication interface 803 and a bus 804. The memory 801, the processor 802 and the communication interface 803 are connected to each other through the bus 804.
[0120] The memory 801 may be a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM).
[0121] The memory 801 can store programs. When the program stored in the memory 801 is executed by the processor 802, the processor 802 and the communication interface 803 are used to execute the various steps of the accident alarm method for the power distribution room of the embodiment of the present application.
[0122] The processor 802 can adopt a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU) or one or more integrated circuits to execute relevant programs to implement the functions that need to be performed by the units in the electronic device 800 of the embodiment of the present application, or to execute the accident alarm method of the distribution room of the method embodiment of the present application.
[0123] The processor 802 may also be an integrated circuit chip with signal processing capability. In the implementation process, each step of the accident alarm method of the power distribution room of the present application may be completed by the hardware integrated logic circuit or software instructions in the processor 802. The above-mentioned processor 802 may also be a general-purpose processor, a digital signal processor (DigitalSignal Processing, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (Field ProgrammableGate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 801, and the processor 802 reads the information in the memory 801, and combines its hardware to complete the functions required to be performed by the units included in the electronic device 800 of the embodiment of the present application, or executes the accident alarm method of the distribution room of the method embodiment of the present application.
[0124] The communication interface 803 uses a transceiver such as, but not limited to, a transceiver to implement communication between the electronic device 800 and other devices or a communication network. For example, data can be acquired through the communication interface 803 .
[0125] The bus 804 may include a path for transmitting information between various components of the electronic device 800 (eg, the memory 801 , the processor 802 , and the communication interface 803 ).
[0126] It should be noted that although Figure 8 The electronic device 800 shown only shows a memory 801, a processor 802, and a communication interface 803. However, in the specific implementation process, those skilled in the art should understand that the electronic device 800 also includes other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the electronic device 800 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the electronic device 800 may also only include the devices necessary for implementing the embodiments of the present application, and does not necessarily include Figure 8 All devices shown in .
[0127] An embodiment of the present application further provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to implement the accident alarm method for a power distribution room.
[0128] Optionally, as an implementation method, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the accident alarm method for the distribution room.
[0129] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.
[0130] The embodiment of the present application further provides a computer program product including instructions. When the computer program product is executed on a computer or a processor, the computer or the processor executes one or more steps in any of the above methods.
[0131] Those skilled in the art will appreciate that the functions described in conjunction with the various illustrative logic blocks, modules, and algorithm steps disclosed herein can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logic blocks, modules, and steps can be stored or transmitted as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to tangible media, such as data storage media, or includes any media (e.g., based on a communication protocol) that facilitates the transfer of a computer program from one place to another. In this manner, computer-readable media may generally correspond to (1) non-temporary tangible computer-readable storage media, or (2) communication media, such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in this application. A computer program product may include computer-readable media.
[0132] As an example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio and microwave are included in the definition of media. However, it should be understood that the computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but are actually directed to non-temporary tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser optical disks, optical optical disks, digital versatile disks (DVDs), and Blu-ray disks, where disks typically reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0133] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Thus, the term "processor" as used herein may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. Additionally, in some aspects, the functions described by the various illustrative logic blocks, modules, and steps described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated in a combined codec. Moreover, the techniques may be fully implemented in one or more circuits or logic elements.
[0134] The techniques of the present application may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in this application to emphasize functional aspects of devices for performing the disclosed techniques, but do not necessarily need to be implemented by different hardware units. In fact, as described above, the various units may be combined in an encoded hardware unit in conjunction with appropriate software and / or firmware, or provided by interoperating hardware units (including one or more processors as described above).
[0135] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the specific descriptions of the corresponding steps in the aforementioned method embodiments, and will not be repeated here.
[0136] It should be understood that in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; wherein A and B can be singular or plural. Also, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, wherein a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be necessarily different. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete manner for ease of understanding.
[0137] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the division of the unit is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling, direct coupling, or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0138] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0139] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a read-only memory (ROM), or a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state disk (SSD), etc.
[0140] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.
[0141] The device embodiments described above are merely illustrative, wherein the units and modules described as separate components may or may not be physically separated. In addition, some or all of the units and modules may be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art may understand and implement the present invention without creative effort.
[0142] The above is only a specific implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. An accident alarm method for a power distribution room, characterized in that: The method is applied to a management system of a power distribution room, the management system comprising: an intelligent camera device and a sensor device, and the method comprises: The sensor device generates first alarm information and sends the first alarm information to the intelligent camera device, where the first alarm information is used to indicate that there is a safety hazard in the first area of the power distribution room; The intelligent camera device receives the first alarm information and photographs the first area according to the first alarm information to obtain a first image; The intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, wherein the first analysis result is used to indicate whether there are staff members in the power distribution room, and the second analysis result is used to indicate whether there is a safety accident in the first area; The intelligent camera device issues an accident alarm based on the first analysis result and the second analysis result.
2. The method according to claim 1, characterized in that The management system further includes: an administrator terminal, and the step of providing an accident alarm according to the first analysis result and the second analysis result includes: If the first analysis result indicates that there are staff members in the power distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates and broadcasts a first voice alarm, where the first voice alarm is used to indicate that there is a safety accident in the first area; If the first analysis result indicates that there are staff members in the power distribution room, and the second analysis result indicates that there are no safety accidents in the first area, the intelligent camera device generates and broadcasts a second voice alarm, where the first voice alarm is used to indicate that there is a false alarm of an accident in the first area; If the first analysis result indicates that there are no staff in the distribution room, and the second analysis result indicates that there is a safety accident in the first area, the intelligent camera device generates a second alarm message and sends the second alarm message to the management terminal, and the second alarm message is used to indicate that there is a safety accident in the first area.
3. The method according to claim 1, characterized in that The first image includes a second image obtained by photographing a first area and a third image obtained by photographing a second area, the first area includes the second area, and the second area is determined by the intelligent camera device according to the first alarm information; The intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, including: The intelligent camera device inputs the second image into a first image analysis model to obtain a first analysis result, wherein the first image analysis model is used to analyze and determine whether there is a person image in the third image; The intelligent camera device inputs the third image into a second image analysis model to obtain a second analysis result, where the second image analysis model is used to analyze and determine whether there is target feature information corresponding to at least one type of safety accident in the first image.
4. The method according to claim 3, characterized in that The intelligent camera device is also connected to a cloud server, and the method further includes: The smart camera device generates a subscription request according to the above and sends the subscription request to the cloud server, where the subscription request is used to subscribe to the first image analysis model and the second image analysis model; The smart camera device receives the latest versions of the first image analysis model and the second image analysis model, where the latest versions of the first image analysis model and the second image analysis model are sent by the cloud server in response to the subscription request.
5. The method according to any one of claims 1 to 4, characterized in that: The management system includes a plurality of sensor devices, each of which corresponds to a security incident type. If the second analysis result indicates that the existing security incident type does not correspond to a target sensor device that reports the first alarm information, the target sensor device is one of the plurality of sensor devices. The method further includes: If the security incident type indicated by the second analysis result is a target type, and the sensor device that reports the first alarm information includes a target sensor device and other sensor devices, then it is determined that the target sensor device is faulty, wherein the other sensor devices correspond to the target type; If the sensor device that reports the first alarm information includes the first target sensor device, but does not include the second target sensor device and other sensor devices, it is determined that the first target sensor device is faulty, and the first target sensor device and the second target sensor device constitute the target sensor device; If the sensor device that reports the first alarm information does not include the other sensor devices, determining that the second analysis result is wrong; The first image data of the first target area is re-photographed, and the second analysis result is obtained through analysis.
6. The method according to any one of claims 1 to 5, characterized in that: The management system further includes: an intelligent recording device, the intelligent recording device being used to save all images captured by the intelligent camera device, and after the intelligent camera device analyzes the first image to obtain a first analysis result and a second analysis result, the method further includes: The intelligent camera device generates marking time information according to the first alarm information, wherein the marking time information is used to mark the time when the potential safety hazard indicated by the first alarm information occurs and the second analysis result; The intelligent camera device generates first image data, the first image data including all images taken by the intelligent camera device during a first time period, the first time period including the moment corresponding to the marked moment information; The intelligent camera device sends the first image data and the marking time information to the intelligent video recording device; The intelligent video recording device receives the first image data and the marking time information and stores them locally; If the first image data is stored in the intelligent recording device for a time period longer than a preset time period, generating second image data according to the first image data and the marked time information, wherein the second image data includes all images taken by the intelligent recording device during a second time period, the first time period includes the second time period, and the second time period includes the occurrence time marked by the time mark information; The intelligent recording device deletes the first image data.
7. The method according to any one of claims 1 to 6, characterized in that: The management system further includes an emergency processing device, the emergency processing device corresponds to a safety accident type, and if the second analysis result indicates that a safety accident exists in the first area, the method further includes: The intelligent camera device obtains the potential safety hazard type corresponding to the sensor device, and generates a corresponding emergency processing instruction according to the first alarm information and the potential safety hazard type; The intelligent camera device sends the emergency processing instruction to the emergency processing device, so that the emergency processing device executes the emergency processing instruction; The intelligent camera device photographs the emergency processing device to obtain a fourth image; The intelligent camera device analyzes the fourth image to obtain an emergency processing result, and sends the emergency processing result to the user terminal, where the emergency processing result includes a successful processing or a failed processing.
8. An accident alarm device for a power distribution room, characterized in that: The invention relates to a method for executing an accident alarm in a power distribution room, which belongs to a management system of a power distribution room. The management system comprises: an intelligent camera device and a sensor device. The method comprises: A generating unit, configured to generate first alarm information and send the first alarm information to the intelligent camera device, wherein the first alarm information is used to indicate that there is a safety hazard in the first area of the power distribution room; A receiving unit, configured to receive the first alarm information and photograph the first area to obtain a first image according to the first alarm information; An analysis unit, configured to analyze the first image to obtain a first analysis result and a second analysis result, wherein the first analysis result is used to indicate whether there are any staff members in the power distribution room, and the second analysis result is used to indicate whether there is any safety accident in the first area; An alarm unit is used to issue an accident alarm based on the first analysis result and the second analysis result.
9. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Fire alarm method, apparatus, and facility
CN108053627A
Intelligent cable fault determination method and device based on image data
CN114034972A
Smoke alarm method and system, electronic equipment and computer storage medium thereof
CN114821996A
Control system for facility by using a / v record device
KR100978373B1
Cited By
Water immersion linkage monitoring method for power distribution station house
CN121691619A