Coal mine development safety monitoring method based on edge computing
By setting up distributed camera systems and edge computing terminals in the coal mine area, switching between visible light and infrared shooting modes is realized, which solves the problem of shooting dead spots and blur in coal mining area monitoring, and improves the reliability and comprehensiveness of monitoring.
Patent Information
- Application Number
- CN202210749498.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-06-28
AI Technical Summary
The underground space in coal mining areas is narrow and the illumination is low. Conventional single-camera surveillance has problems with shooting dead spots and blurring. Moreover, surveillance cameras at different operating locations cannot perform simultaneous and timely analysis, which reduces the reliability of coal mining safety monitoring.
Set up a distributed camera system in the coal mine area, including visible light and infrared cameras, and connect it to the edge computing terminal to realize camera mode switching and image analysis and processing, identify safety hazards in real time and send alarm notifications.
Through multi-point shooting monitoring and real-time image analysis, the reliability of safety monitoring in coal mine areas is improved, adaptable to different operating scenarios, and ensuring comprehensive monitoring and timely detection of safety status.
Smart Images

Figure CN115190271B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coal mine development management, and in particular to a coal mine development safety monitoring method based on edge computing. Background Art
[0002] Coal mining is usually carried out in underground areas, where the space is narrow and the light intensity is low. If conventional single camera monitoring is used, there will not only be problems with blind spots, but also blurry images, which will make it impossible to effectively and accurately monitor coal mining. In addition, the coal mining area has a wide distribution of work sites, and the surveillance cameras at different work sites cannot synchronously and timely analyze the images captured, reducing the reliability of safety monitoring of coal mining. Summary of the invention
[0003] In view of the defects of the prior art, the present invention provides a coal mine development safety monitoring method based on edge computing, which sets a number of camera pairs at different locations in the coal mine area to form a distributed camera system, and connects the distributed camera system to the edge computing terminal, and uses the camera pairs to realize the switching of visible light shooting mode and infrared shooting mode; then the edge computing terminal is used to analyze and process the collected mining area images, determine the personnel or machine activity information at the corresponding position, so as to judge whether a safety hazard event occurs at the corresponding position, and then send an alarm notification message to the alarm terminal at the corresponding position; the above method performs multi-point shooting and monitoring of the coal mine area by setting distributed cameras, and can also switch between visible light shooting and infrared shooting, which is convenient for adapting to different operating scenarios in the coal mine area and realizing effective and comprehensive monitoring of the coal mine area. In addition, the edge computing terminal is used to synchronously and timely analyze the images captured by all camera pairs, and the safety status of the coal mine area is discovered in real time, thereby improving the monitoring reliability of coal mine development.
[0004] The present invention provides a coal mine development safety monitoring method based on edge computing, which includes the following steps:
[0005] Step S1, setting a plurality of camera pairs at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other; connecting the distributed camera system to an edge computing terminal, and setting a working mode of the distributed camera system through the edge computing terminal;
[0006] Step S2, sending a camera control instruction to the camera pair through the edge computing terminal, instructing the camera pair to collect the mining area image of its own location, and uploading the mining area image back to the edge computing terminal;
[0007] Step S3, analyzing and processing the received mining area image through the edge computing terminal to determine the activity information of personnel or machines at the location of the camera; judging whether a potential safety hazard event occurs at the location of the camera according to the activity information of personnel or machines;
[0008] Step S4: sending an alarm notification message to the alarm terminal at the corresponding location according to the above judgment result.
[0009] Further, in step S1, a plurality of camera pairs are arranged at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other, specifically including:
[0010] A plurality of camera pairs are arranged at different locations in the coal mine area, and the distance between two adjacent locations in all locations does not exceed a preset distance threshold; wherein each camera pair includes a visible light camera and an infrared camera and has an independent two-way data transmission channel with the edge computing terminal respectively;
[0011] A light sensor is provided in each camera pair, which is used to detect the ambient illumination value of the area near the location of each camera pair, and upload the ambient illumination value to the edge computing terminal.
[0012] Further, in the step S1, setting the working mode of the distributed camera system by the edge computing terminal specifically includes:
[0013] The ambient illumination value is compared with a preset illumination threshold value through the edge computing terminal; if the ambient illumination value is less than or equal to the preset illumination threshold value, a start instruction is sent to the infrared camera of the corresponding camera pair through the edge computing terminal, so that the corresponding camera pair enters the infrared camera mode; if the ambient illumination value is greater than the preset illumination threshold value, a start instruction is sent to the visible light camera corresponding to the corresponding camera through the edge computing terminal, so that the corresponding camera pair enters the visible light camera mode.
[0014] Further, in step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect an image of the mining area where the camera pair is located specifically includes:
[0015] The edge computing terminal sends a scanning camera control instruction to the visible light camera or infrared camera that is currently in the activated state, instructing the visible light camera or infrared camera that is in the activated state to scan and shoot the area near its location, so as to obtain a panoramic image of the mining area.
[0016] Further, in step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect the mining area image of the camera pair itself also includes:
[0017] If during the image acquisition process, the edge computing terminal does not receive the image taken by the camera pair within a preset time period, the edge computing terminal instructs the camera to enter a self-check and self-repair working mode, and the self-check and self-repair working mode includes: the edge computing terminal sends a switching state instruction of the visible light camera and the infrared camera to the camera pair, and again determines whether the image taken by the camera pair is not received within the preset time period. If so, the power supply line of the camera pair is switched, and at the same time, it is determined again whether the image taken by the camera pair is not received within the preset time period. According to the judgment result of the self-check and self-repair working mode, a self-check and self-repair binary code is generated, and according to the self-check and self-repair binary code, the vibration state of the vibration device of the smart gloves worn by the staff associated with the camera pair is controlled. The specific process is as follows:
[0018] Step S201, using the following formula (1), based on the data transmission status of the independent two-way data transmission channel between each camera pair and the edge computing terminal, it is determined whether the edge computing terminal has not received the image captured by the camera pair within a preset time period.
[0019]
[0020] In the above formula (1), Y k (t) indicates whether the edge computing terminal has not received the image captured by the kth camera pair within the preset time period at time t; T indicates the time length corresponding to the preset time period; Indicates that the edge computing terminal receives data from the visible light camera in the k-th camera pair from time tT to time t, and the above data is in binary-to-decimal format; t- represents the data received by the edge computing terminal from the infrared camera in the k-th camera pair from time tT to time t, and the above data is in binary-to-decimal format;
[0021] If Y k (t)=0, indicating that at time t, the edge computing terminal does not receive the image captured by the k-th camera pair within the preset time period, and the k-th camera pair is controlled to enter the self-check and self-repair working mode;
[0022] If Y k (t)≠0, indicating that the kth camera pair does not need to enter the self-check and self-repair working mode;
[0023] Step S202: If the kth camera pair enters the self-checking and self-repairing working mode, the following formula (2) is used to generate a self-checking and self-repairing binary code according to the judgment result of the self-checking and self-repairing working mode:
[0024]
[0025] In the above formula (2), I(k) represents the self-check and self-repair binary code of the k-th camera generated if the k-th camera pair enters the self-check and self-repair working mode; t q represents the control time length of the edge computing terminal sending the switch state instruction of the visible light camera and the infrared camera to the k-th camera pair plus T, wherein the switch state instruction of the visible light camera and the infrared camera includes: if the original visible light camera or the infrared camera state is in the start state, it needs to be switched to the off state; if the original visible light camera or the infrared camera state is in the off state, it needs to be switched to the start state; t g Indicates the control time for switching the power supply line of the k-th camera pair plus T, wherein each camera pair is powered by multiple lines and can independently control the switching of any power supply line;
[0026] Step S203, using the following formula (3), according to the self-checking and self-correcting binary code, controls the vibration state of the vibration device of the smart gloves worn by the associated staff member by the camera,
[0027]
[0028] In the above formula (3), Z k (1) represents the vibration state control value of the vibration device located at the thumb position on the smart glove worn by the associated staff member by the kth camera; Z k (2) represents the vibration state control value of the vibration device located at the index finger position on the smart glove worn by the associated staff member by the kth camera; Z k (3) represents the vibration state control value of the vibration device located at the middle finger position of the smart glove worn by the kth camera associated with the staff member; (1000) 2 Represents 1000 in binary form; sum,- represents the sum of all the digits of the binary number in the brackets;,- 10 Indicates that the binary number in the brackets is converted to decimal form; X*+ represents the 1 check function. If the value in the brackets is 1, the function value of the 1 check function is 1. If the value in the brackets is not 1, the function value of the 1 check function is 0.
[0029] If the vibration device at the thumb position on the smart glove vibrates, it indicates that the kth camera pair is currently working normally;
[0030] If the vibration device at the index finger position on the smart glove vibrates, it indicates that the camera function of the k-th camera pair is faulty and needs to be repaired;
[0031] If the vibration device located at the middle finger position of the smart glove vibrates, it indicates that there is a fault in the power supply circuit of the k-th camera pair and maintenance is required.
[0032] Further, in step S2, uploading the mining area image back to the edge computing terminal specifically includes:
[0033] Determine whether the visible light camera or infrared camera in the startup state has completed the shooting operation of a scanning cycle; if so, upload the panoramic mining area image obtained in the current scanning cycle back to the edge computing terminal; if not, wait for the visible light camera or infrared camera in the startup state to complete the shooting operation of the current scanning cycle, and then upload the obtained panoramic mining area image back to the edge computing terminal; wherein, the scanning cycle refers to the time required for the visible light camera or the infrared camera to complete a complete scanning and shooting operation.
[0034] Further, in step S3, the edge computing terminal analyzes and processes the received mining area image to determine the activity information of the person or machine at the location of the camera, which specifically includes:
[0035] The edge computing terminal performs image segmentation processing on the received panoramic mining area image to obtain a plurality of mining area sub-images, and the personnel or machines contained in the picture of each mining area sub-image are complete;
[0036] Then, object contour recognition processing is performed on each mining area sub-image to obtain pixel contour information of the personnel or machines in each mining area sub-image; and based on the pixel contour information, the action posture information or real-time position information of the personnel or machines in the picture of each mining area sub-image is determined, which is used as the activity information of the personnel or machines.
[0037] Further, in step S3, judging whether a potential safety hazard event occurs at the location of the camera according to the human or machine activity information specifically includes:
[0038] According to the action posture information of the person or machine, determine whether the person or machine has any illegal action posture;
[0039] According to the real-time location information of personnel or machines, determine whether the personnel or machines are in the preset restricted area of the coal mine;
[0040] If a person or machine has any illegal movements or postures, or if the person or machine is in a preset restricted area of the coal mine, it is determined that a potential safety hazard event has occurred at the location where the camera is located.
[0041] Further, in step S4, according to the above judgment result, sending an alarm notification message to the alarm terminal at the corresponding position specifically includes:
[0042] If it is determined that a potential safety hazard occurs at the location where the camera is located, an alarm notification message is sent to a mobile terminal held by a person at the corresponding location or an alarm installed on a machine; when the alarm on the machine receives the alarm notification message, it automatically cuts off power and stops running.
[0043] Compared with the existing technology, the coal mine development safety monitoring method based on edge computing sets up several camera pairs at different locations in the coal mine area to form a distributed camera system, and connects the distributed camera system to the edge computing terminal, and uses the camera pairs to realize the switching of visible light shooting mode and infrared shooting mode; then the edge computing terminal is used to analyze and process the collected mining area images, determine the personnel or machine activity information at the corresponding position, so as to judge whether a safety hazard event occurs at the corresponding position, and then send an alarm notification message to the alarm terminal at the corresponding position; the above method sets up distributed cameras to perform multi-point shooting and monitoring of the coal mine area, and can also switch between visible light shooting and infrared shooting, which is convenient for adapting to different operating scenarios in the coal mine area and realizing effective and comprehensive monitoring of the coal mine area. In addition, the edge computing terminal is used to synchronously and timely analyze the images captured by all camera pairs, and the safety status of the coal mine area is discovered in real time, thereby improving the monitoring reliability of coal mine development.
[0044] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0045] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1A schematic flow chart of the coal mine development safety monitoring method based on edge computing provided by the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] See also Figure 1 , is a flow chart of a method for monitoring safety of coal mine development based on edge computing provided by an embodiment of the present invention. The method for monitoring safety of coal mine development based on edge computing comprises the following steps:
[0050] Step S1, setting a plurality of camera pairs at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other; connecting the distributed camera system to an edge computing terminal, and setting a working mode of the distributed camera system through the edge computing terminal;
[0051] Step S2, sending a camera control instruction to the camera pair through the edge computing terminal, instructing the camera pair to collect an image of the mining area where the camera pair is located, and uploading the image of the mining area back to the edge computing terminal;
[0052] Step S3, analyzing and processing the received mining area image through the edge computing terminal to determine the activity information of personnel or machines at the location of the camera; and judging whether a potential safety hazard event occurs at the location of the camera based on the activity information of personnel or machines;
[0053] Step S4: sending an alarm notification message to the alarm terminal at the corresponding location according to the above judgment result.
[0054] The beneficial effects of the above technical solution are as follows: the coal mine development safety monitoring method based on edge computing sets up several camera pairs at different locations in the coal mine area to form a distributed camera system, and connects the distributed camera system to the edge computing terminal, and uses the camera pairs to realize the switching of visible light shooting mode and infrared shooting mode; then the edge computing terminal is used to analyze and process the collected mining area images, determine the personnel or machine activity information at the corresponding position, so as to judge whether a safety hazard event occurs at the corresponding position, and then send an alarm notification message to the alarm terminal at the corresponding position; the above method sets up distributed cameras to perform multi-point shooting and monitoring of the coal mine area, and can also switch between visible light shooting and infrared shooting, which is convenient for adapting to different operating scenarios in the coal mine area and realizing effective and comprehensive monitoring of the coal mine area. In addition, the edge computing terminal is used to synchronously and timely analyze the images captured by all camera pairs, and the safety status of the coal mine area is discovered in real time, thereby improving the monitoring reliability of coal mine development.
[0055] Preferably, in step S1, a plurality of camera pairs are arranged at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other, specifically including:
[0056] A plurality of camera pairs are arranged at different locations in the coal mine area, and the distance between two adjacent locations in all locations does not exceed a preset distance threshold; wherein each camera pair includes a visible light camera and an infrared camera and has an independent two-way data transmission channel with the edge computing terminal respectively;
[0057] A light sensor is provided in each camera pair, which is used to detect the ambient illumination value of the area near the location of each camera pair, and upload the ambient illumination value to the edge computing terminal.
[0058] The beneficial effects of the above technical solution are as follows: by setting visible light cameras and infrared cameras at different locations in the coal mine area, the corresponding coal mine location area can be switched between two different modes of visible light shooting and infrared shooting. At the same time, a light sensor is separately set in each camera pair, so that the above two shooting modes can be accurately switched based on the ambient illumination value collected by the light sensor. In addition, the distance between two adjacent positions in all positions is set to not exceed the preset distance threshold, which can ensure that the coal mine area is fully and completely photographed.
[0059] Preferably, in step S1, setting the working mode of the distributed camera system by the edge computing terminal specifically includes:
[0060] The ambient illumination value is compared with the preset illumination threshold through the edge computing terminal; if the ambient illumination value is less than or equal to the preset illumination threshold, a start instruction is sent to the infrared camera of the corresponding camera pair through the edge computing terminal, so that the corresponding camera pair enters the infrared camera mode; if the ambient illumination value is greater than the preset illumination threshold, a start instruction is sent to the visible light camera corresponding to the corresponding camera through the edge computing terminal, so that the corresponding camera pair enters the visible light camera mode.
[0061] The beneficial effect of the above technical solution is: through the above method, the ambient illumination value is used as the switch between the visible light shooting mode and the infrared shooting mode, so that regardless of whether the ambient light is sufficient or not at different locations in the coal mine area, a clear image of the corresponding position of the coal mine area can be obtained, thereby avoiding blurry images obtained and improving the quality and clarity of the shooting.
[0062] Preferably, in step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect an image of the mining area where the camera pair is located specifically includes:
[0063] The edge computing terminal sends a scanning camera control instruction to the visible light camera or infrared camera that is currently in the activated state, instructing the visible light camera or infrared camera in the activated state to scan and shoot the area near its location, so as to obtain a panoramic image of the mining area.
[0064] The beneficial effect of the above technical solution is: by sending scanning camera control instructions to the visible light camera or infrared camera in the started state through the edge computing terminal, the nearby area of the corresponding position can be scanned and photographed at a wide angle, and the people and machines in the nearby area can be included in the image to the maximum extent, effectively avoiding the situation where people and machines are missed in the shooting.
[0065] Preferably, in step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect an image of the mining area where the camera pair is located further includes:
[0066] If during the image acquisition process, the edge computing terminal does not receive the image taken by the camera pair within a preset time period, the edge computing terminal instructs the camera to enter a self-checking and self-repairing working mode, and the self-checking and self-repairing working mode includes: the edge computing terminal sends a switching state instruction of the visible light camera and the infrared camera to the camera pair, and again determines whether the image taken by the camera pair is not received within the preset time period. If so, the power supply line of the camera pair is switched, and at the same time, it is determined again whether the image taken by the camera pair is not received within the preset time period. According to the judgment result of the self-checking and self-repairing working mode, a self-checking and self-repairing binary code is generated, and according to the self-checking and self-repairing binary code, the vibration state of the vibration device of the smart gloves worn by the staff associated with the camera pair is controlled. The specific process is as follows:
[0067] Step S201, using the following formula (1), based on the data transmission status of the independent two-way data transmission channel between each camera pair and the edge computing terminal, it is determined whether the edge computing terminal has not received the image captured by the camera pair within a preset time period.
[0068]
[0069] In the above formula (1), Y k (t) indicates whether the edge computing terminal has not received the image captured by the kth camera pair within the preset time period at time t; T indicates the time length corresponding to the preset time period; Indicates that the edge computing terminal receives data from the visible light camera in the k-th camera pair from time tT to time t, and the above data is in binary-to-decimal format; Indicates that the edge computing terminal receives data from the infrared camera in the k-th camera pair from time tT to time t, and the above data is in binary-to-decimal format;
[0070] If Y k (t) = 0, indicating that at time t, the edge computing terminal has not received the image captured by the k-th camera pair within the preset time period, and the k-th camera pair is controlled to enter the self-check and self-repair working mode;
[0071] If Y k (t)≠0, indicating that the kth camera pair does not need to enter the self-check and self-repair working mode;
[0072] Step S202: If the kth camera pair enters the self-checking and self-repairing working mode, the following formula (2) is used to generate a self-checking and self-repairing binary code according to the judgment result of the self-checking and self-repairing working mode:
[0073]
[0074] In the above formula (2), I(k) represents the self-check and self-repair binary code of the k-th camera generated if the k-th camera pair enters the self-check and self-repair working mode; t q represents the control time length of the edge computing terminal sending the visible light camera and the infrared camera switching state instruction to the k-th camera pair plus T, wherein the visible light camera and the infrared camera switching state instruction includes: if the original visible light camera or the infrared camera state is in the start state, it needs to be switched to the off state; if the original visible light camera or the infrared camera state is in the off state, it needs to be switched to the start state; t g Indicates the control time of switching the power supply line of the k-th camera pair plus T, where each camera pair is powered by multiple lines and can independently control the switching of any power supply line;
[0075] Step S203, using the following formula (3), according to the self-checking and self-correcting binary code, the camera is controlled to control the vibration state of the vibration device of the smart gloves worn by the associated staff,
[0076]
[0077] In the above formula (3), Z k (1) represents the vibration state control value of the vibration device located at the thumb position on the smart glove worn by the associated staff member by the kth camera; Z k (2) represents the vibration state control value of the vibration device located at the index finger position on the smart glove worn by the associated staff member by the kth camera; Z k (3) represents the vibration state control value of the vibration device located at the middle finger position of the smart glove worn by the kth camera associated with the staff member; (1000) 2 Represents 1000 in binary form; sum,- represents the sum of all the digits of the binary number in the brackets;,- 10 Indicates that the binary number in the brackets is converted to decimal form; X*+ represents the 1 check function. If the value in the brackets is 1, the function value of the 1 check function is 1. If the value in the brackets is not 1, the function value of the 1 check function is 0.
[0078] If the vibration device at the thumb position on the smart glove vibrates, it indicates that the kth camera pair is currently working normally;
[0079] If the vibration device at the index finger position on the smart glove vibrates, it indicates that the camera function of the k-th camera pair is faulty and needs to be repaired;
[0080] If the vibration device located at the middle finger position of the smart glove vibrates, it indicates that there is a fault in the power supply circuit of the k-th camera pair and maintenance is required.
[0081] The beneficial effects of the above technical solution are as follows: using the above formula (1), according to the data transmission status of the independent two-way data transmission channel between each camera pair and the edge computing terminal, it is judged whether the edge computing terminal has not received the image collected by the camera pair for a long time, so as to know whether the camera pair has a fault, which is convenient for the subsequent automatic intelligent self-check and self-repair working mode; then using the above formula (2), based on the judgment result of the self-check and self-repair working mode, a self-check and self-repair binary code is generated, so as to use the binary data for subsequent control. First, the binary data is very stable and the control process is not prone to errors. Second, the data transmission is convenient and saves control time. Finally, using the above formula (3), according to the self-check and self-repair binary code, the vibration of the vibration device on the gloves of the corresponding staff is controlled, so that the staff knows the fault status of the camera pair and whether the camera pair can work normally after the self-check and self-repair working mode according to the vibration of the finger, which is convenient for targeted maintenance of the camera pair, making the system more humane.
[0082] Preferably, in step S2, uploading the mining area image back to the edge computing terminal specifically includes:
[0083] Determine whether the visible light camera or infrared camera in the startup state has completed the shooting operation of a scanning cycle; if so, upload the panoramic mining area image obtained in the current scanning cycle back to the edge computing terminal; if not, wait for the visible light camera or infrared camera in the startup state to complete the shooting operation of the current scanning cycle, and then upload the obtained panoramic mining area image back to the edge computing terminal; wherein, the scanning cycle refers to the time required for the visible light camera or the infrared camera to complete a complete scanning and shooting operation.
[0084] The beneficial effect of the above technical solution is: through the above method, taking the scanning cycle corresponding to the shooting operation of the visible light camera or the infrared camera as the basis, the panoramic mining area image collected is uploaded to the edge computing terminal only when the visible light camera or the infrared camera completes the shooting operation within the current scanning cycle. In this way, the integrity of the panoramic mining area image can be ensured, and the situation of missing or incomplete shooting of the coal mine area during the scanning and shooting process can be avoided.
[0085] Preferably, in step S3, the edge computing terminal analyzes and processes the received mining area image to determine the activity information of the person or machine at the location of the camera, which specifically includes:
[0086] The edge computing terminal performs image segmentation processing on the received panoramic mining area image to obtain a number of mining area sub-images, and the personnel or machines contained in the picture of each mining area sub-image are complete;
[0087] Then, object contour recognition processing is performed on each mining area sub-image to obtain pixel contour information of the personnel or machines in each mining area sub-image; and based on the pixel contour information, the action posture information or real-time location information of the personnel or machines in the picture of each mining area sub-image is determined, which is used as the activity information of the personnel or machines.
[0088] The beneficial effects of the above technical solution are as follows: through the above method, firstly, the edge computing terminal is used to perform edge pixel recognition processing on the panoramic mining area image of personnel and machines, and the edge pixel boundaries of all personnel and machines in the panoramic mining area image are determined, and then the panoramic mining area image is segmented according to the edge pixel boundaries to obtain a number of mining area sub-images, so that the personnel or machines contained in the screen of each mining area sub-image are complete, and there is no situation where personnel or machines are cut and incomplete in the screen of the mining area sub-image. In addition, object contour recognition processing is performed on each mining area sub-image to determine the action posture information or real-time location information of the personnel or machines in the screen of each mining area sub-image, so as to accurately analyze the activity behavior of the personnel or machines.
[0089] Preferably, in step S3, judging whether a potential safety hazard event occurs at the location of the camera according to the activity information of the person or machine specifically includes:
[0090] According to the action posture information of the person or machine, determine whether the person or machine has any illegal action posture;
[0091] According to the real-time location information of personnel or machines, determine whether the personnel or machines are in the preset restricted area of the coal mine;
[0092] If a person or machine has any illegal movements or postures, or is in a preset restricted area of the coal mine, it is determined that a safety hazard event has occurred at the location where the camera is located.
[0093] The beneficial effect of the above technical solution is: in actual operation, the behavior posture in the action posture information of the person or machine can be compared with the preset illegal action posture database. If the two match, it is determined whether the person or machine has an illegal action posture. In addition, the real-time position coordinates of the person or machine can be compared with the preset work restricted area position coordinate database. If the two match, it is determined that the person or machine is in the preset work restricted area position of the coal mine. In this way, it is possible to accurately and quickly judge whether a safety hazard event occurs at the location of the camera.
[0094] Preferably, in step S4, according to the above judgment result, sending an alarm notification message to the alarm terminal at the corresponding position specifically includes:
[0095] If it is determined that the camera poses a safety hazard to the location, an alarm notification message will be sent to the mobile terminal held by the person at the corresponding location or the alarm installed on the machine; when the alarm on the machine receives the alarm notification message, it will automatically cut off the power and stop running.
[0096] The beneficial effect of the above technical solution is: through the above method, when it is determined that a safety hazard event occurs at the location of the camera, an alarm notification message is sent to the mobile terminal held by the personnel at the corresponding location or the alarm installed on the machine, so that the corresponding personnel can promptly change their current mining operation behavior according to the received alarm notification message to avoid safety accidents, and the machine will automatically cut off the power and stop running when triggered by the alarm notification message to avoid the machine continuing to operate and affecting the geological structure safety of the coal mine area.
[0097] It can be seen from the contents of the above embodiments that the coal mine development safety monitoring method based on edge computing sets up several camera pairs at different locations in the coal mine area to form a distributed camera system, and connects the distributed camera system to the edge computing terminal, and uses the camera pairs to realize the switching of visible light shooting mode and infrared shooting mode; then the edge computing terminal is used to analyze and process the collected mining area images, determine the personnel or machine activity information at the corresponding position, so as to judge whether a safety hazard event occurs at the corresponding position, and then send an alarm notification message to the alarm terminal at the corresponding position; the above method performs multi-point shooting and monitoring of the coal mine area by setting distributed cameras, and can also switch between visible light shooting and infrared shooting, which is convenient for adapting to different operating scenarios in the coal mine area and realizing effective and comprehensive monitoring of the coal mine area. In addition, the edge computing terminal is used to synchronously and timely analyze the images captured by all camera pairs, and the safety status of the coal mine area is discovered in real time, thereby improving the monitoring reliability of coal mine development.
[0098] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A coal mine development safety monitoring method based on edge computing, characterized in that: It includes the following steps: Step S1, setting a plurality of camera pairs at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other; connecting the distributed camera system to an edge computing terminal, and setting a working mode of the distributed camera system through the edge computing terminal; Step S2, sending a camera control instruction to the camera pair through the edge computing terminal, instructing the camera pair to collect the mining area image of its own location, and uploading the mining area image back to the edge computing terminal; Step S3, analyzing and processing the received mining area image through the edge computing terminal to determine the activity information of personnel or machines at the location of the camera; judging whether a potential safety hazard event occurs at the location of the camera according to the activity information of personnel or machines; Step S4, sending an alarm notification message to the alarm terminal at the corresponding location according to the above judgment result; Among them, in the step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect the mining area image of the camera pair specifically includes: Sending a scanning camera control instruction to the visible light camera or infrared camera currently in the activated state to the camera through the edge computing terminal, instructing the visible light camera or infrared camera in the activated state to scan and shoot the area near its position, so as to obtain a panoramic image of the mining area; Among them, in the step S2, sending a camera control instruction to the camera pair through the edge computing terminal to instruct the camera pair to collect the image of the mining area where the camera pair is located also includes: if during the image acquisition process, the edge computing terminal does not receive the image taken by the camera pair within a preset time period, then the edge computing terminal instructs the camera to enter a self-check and self-repair working mode, and the self-check and self-repair working mode includes: the edge computing terminal sends a switching state instruction of a visible light camera and an infrared camera to the camera pair, and again determines whether the image taken by the camera pair is not received within the preset time period. If so, switching the power supply line for the camera pair, and at the same time again determining whether the image taken by the camera pair is not received within the preset time period. According to the judgment result of the self-check and self-repair working mode, a self-check and self-repair binary code is generated, and according to the self-check and self-repair binary code, the vibration state of the vibration device of the smart gloves worn by the staff associated with the camera pair is controlled, and the specific process is as follows: Step S201, using the following formula (1), based on the data transmission status of the independent two-way data transmission channel between each camera pair and the edge computing terminal, it is determined whether the edge computing terminal has not received the image captured by the camera pair within a preset time period. In the above formula (1), Y k (t) indicates whether the edge computing terminal has not received the image captured by the kth camera pair within the preset time period at time t; T indicates the time length corresponding to the preset time period; Indicates that the edge computing terminal receives data from the visible light camera in the k-th camera pair from time tT to time t, and the above data is in binary-to-decimal format; Indicates that the edge computing terminal receives data from the infrared camera in the k-th camera pair from time tT to time t, and the above data is in decimal format; If Y k (t) = 0, indicating that at time t, the edge computing terminal has not received the image captured by the k-th camera pair within the preset time period, and the k-th camera pair is controlled to enter the self-check and self-repair working mode; if Y k (t)≠0, indicating that the kth camera pair does not need to enter the self-check and self-repair working mode; Step S202: If the kth camera pair enters the self-checking and self-repairing working mode, the following formula (2) is used to generate a self-checking and self-repairing binary code according to the judgment result of the self-checking and self-repairing working mode: In the above formula (2), I(k) represents the self-check and self-repair binary code of the k-th camera generated if the k-th camera pair enters the self-check and self-repair working mode; t q represents the control time length of the edge computing terminal sending the switch state instruction of the visible light camera and the infrared camera to the k-th camera pair plus T, wherein the switch state instruction of the visible light camera and the infrared camera includes: if the original visible light camera or the infrared camera state is in the start state, it needs to be switched to the off state; if the original visible light camera or the infrared camera state is in the off state, it needs to be switched to the start state; t g Indicates the control time for switching the power supply line of the k-th camera pair plus T, wherein each camera pair is powered by multiple lines and can independently control the switching of any power supply line; Step S203, using the following formula (3), according to the self-checking and self-correcting binary code, controls the vibration state of the vibration device of the smart gloves worn by the associated staff member by the camera, In the above formula (3), Z k (1) represents the vibration state control value of the vibration device located at the thumb position on the smart glove worn by the associated staff member by the kth camera; Z k (2) represents the vibration state control value of the vibration device located at the index finger position on the smart glove worn by the associated staff member by the kth camera; Z k (3) represents the vibration state control value of the vibration device located at the middle finger position of the smart glove worn by the associated staff member by the kth camera; (1000)2 represents 1000 in binary form; sum[] represents the sum of all the digits of the binary number in the brackets; [] 10 Indicates that the binary number in the brackets is converted to decimal form; X{} represents the 1 check function. If the value in the brackets is 1, the function value of the 1 check function is 1. If the value in the brackets is not 1, the function value of the 1 check function is 0. If the vibration device at the thumb position on the smart glove vibrates, it indicates that the kth camera pair is currently working properly; If the vibration device at the index finger position on the smart glove vibrates, it indicates that the camera function of the k-th camera pair is faulty and needs to be repaired; If the vibration device located at the middle finger position of the smart glove vibrates, it indicates that there is a fault in the power supply circuit of the k-th camera pair and maintenance is required.
2. The method for coal mine development safety monitoring based on edge computing according to claim 1, characterized in that: In step S1, a plurality of camera pairs are set at different locations in the coal mine area to form a distributed camera system, wherein each camera pair includes a visible light camera and an infrared camera that work independently of each other, specifically including: A plurality of camera pairs are arranged at different locations in the coal mine area, and the distance between two adjacent locations in all locations does not exceed a preset distance threshold; wherein each camera pair includes a visible light camera and an infrared camera and has an independent two-way data transmission channel with the edge computing terminal respectively; A light sensor is provided in each camera pair, which is used to detect the ambient illumination value of the area near the location of each camera pair, and upload the ambient illumination value to the edge computing terminal.
3. The method for coal mine development safety monitoring based on edge computing according to claim 2, characterized in that: In the step S1, setting the working mode of the distributed camera system by the edge computing terminal specifically includes: The ambient illumination value is compared with a preset illumination threshold value through the edge computing terminal; if the ambient illumination value is less than or equal to the preset illumination threshold value, a start instruction is sent to the infrared camera of the corresponding camera pair through the edge computing terminal, so that the corresponding camera pair enters the infrared camera mode; if the ambient illumination value is greater than the preset illumination threshold value, a start instruction is sent to the visible light camera corresponding to the corresponding camera through the edge computing terminal, so that the corresponding camera pair enters the visible light camera mode.
4. The method for coal mine development safety monitoring based on edge computing according to claim 1, characterized in that: In the step S2, uploading the mining area image back to the edge computing terminal specifically includes: determining whether the visible light camera or the infrared camera in the startup state has completed a shooting operation of a scanning cycle; if so, uploading the panoramic mining area image obtained in the current scanning cycle back to the edge computing terminal; if not, waiting for the visible light camera or the infrared camera in the startup state to complete the shooting operation of the current scanning cycle, and then uploading the obtained panoramic mining area image back to the edge computing terminal; wherein the scanning cycle refers to the time required for the visible light camera or the infrared camera to complete a complete scanning and shooting operation.
5. The method for coal mine development safety monitoring based on edge computing according to claim 4, characterized in that: In the step S3, analyzing and processing the received mining area image by the edge computing terminal to determine the activity information of the personnel or machine at the location of the camera specifically includes: performing image segmentation processing on the received panoramic mining area image by the edge computing terminal to obtain a plurality of mining area sub-images, and the personnel or machines contained in the picture of each mining area sub-image are complete; Then, object contour recognition processing is performed on each mining area sub-image to obtain pixel contour information of the personnel or machines in each mining area sub-image; and based on the pixel contour information, the action posture information or real-time position information of the personnel or machines in the picture of each mining area sub-image is determined, which is used as the activity information of the personnel or machines.
6. The method for coal mine development safety monitoring based on edge computing according to claim 5, characterized in that: In step S3, judging whether a potential safety hazard event occurs at the location of the camera according to the human or machine activity information specifically includes: According to the action posture information of the person or machine, determine whether the person or machine has any illegal action posture; According to the real-time location information of personnel or machines, determine whether the personnel or machines are in the preset restricted area of the coal mine; If a person or machine has any illegal movements or postures, or if the person or machine is in a preset restricted area of the coal mine, it is determined that a potential safety hazard event has occurred at the location where the camera is located.
7. The method for coal mine development safety monitoring based on edge computing according to claim 6, characterized in that: In step S4, according to the above judgment result, sending an alarm notification message to the alarm terminal at the corresponding position specifically includes: If it is determined that a potential safety hazard occurs at the location where the camera is located, an alarm notification message is sent to a mobile terminal held by a person at the corresponding location or an alarm installed on a machine; when the alarm on the machine receives the alarm notification message, it automatically cuts off power and stops running.
