A monitoring method, system and readable storage medium based on civil engineering buildings

Through the combination of image collector and monitoring neural network model, the status of advertising slogans on the exterior walls of civil engineering buildings is monitored in real time, which solves the problem of hidden dangers to pedestrian safety caused by falling advertising slogans, and achieves timely alarms and risk prevention.

CN116303954BActive Publication Date: 2024-09-13ZHEJIANG JINZHU TRANSPORTATION CONSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310212209.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-13
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

Advertising slogans on tall civil buildings can easily loosen or fall off due to wind or external environmental factors, causing potential safety hazards to pedestrians on the ground. It is difficult to effectively monitor and prevent them with existing technology.

Method used

An image collector is used to collect image data of the exterior walls of civil buildings in real time. Image recognition and analysis is performed through the monitoring neural network model, the monitoring area is divided, the degree of monitoring demand is calculated, the collection angle is adjusted, the status of the advertising slogan is monitored in real time, and when abnormalities are found Send an alert message.

Benefits of technology

It realizes real-time monitoring of advertising slogans on the exterior walls of civil buildings and provides timely alarms, avoiding potential safety hazards caused by falling advertising slogans and effectively preventing the danger to pedestrians caused by falling objects from high altitudes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116303954B
    Figure CN116303954B
Patent Text Reader

Abstract

The present invention provides a monitoring method, system and readable storage medium based on civil engineering buildings, the method comprising: dividing into multiple monitoring areas according to different advertising slogans on civil engineering buildings; calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand degree of multiple monitoring areas; adjusting the acquisition angle of the image collector and focusing it on the monitoring center; real-time acquisition of original image data of the outer wall of the civil engineering building by the image collector; preprocessing the original image data to obtain preprocessed image data, performing image recognition and analysis processing on the preprocessed image data by a monitoring neural network model, and judging whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal, if so, sending a warning message to the supervision platform. The present invention can realize real-time monitoring of advertising slogans on civil engineering buildings, effectively prevent the risk of advertising slogans falling off, and further avoid safety hazards to pedestrians.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of safety monitoring technology, and in particular to a monitoring method, system and readable storage medium based on civil engineering buildings. Background Art

[0002] As the national economy continues to improve, the pace of urbanization is also getting faster and faster. In recent years, more and more tall civil engineering buildings have sprung up in cities, such as hotels, commercial office buildings, shopping malls, residential buildings, etc. These tall civil engineering buildings also provide a better platform for major businesses to put up advertising slogans. For example, some businesses set up their own advertising slogans on the outer walls of shopping malls to expand the publicity of their products. However, if the advertising slogans are set on the outer walls of shopping malls, once the advertising slogans are loose or fall off, it will bring serious safety hazards to pedestrians on the ground. Therefore, if we ensure that the advertising slogans can exercise their publicity effects normally, how to avoid the safety hazards of the falling advertising slogans to pedestrians is a problem that needs to be solved urgently. Summary of the invention

[0003] In order to solve at least one of the above technical problems, the present invention proposes a monitoring method, system and readable storage medium based on civil engineering buildings, which can realize real-time monitoring of advertising slogans on civil engineering buildings, effectively prevent the risk of advertising slogans falling off, and further avoid safety hazards to pedestrians.

[0004] The first aspect of the present invention provides a monitoring method based on civil engineering buildings, the method comprising:

[0005] A civil engineering building and an image collector arranged around the civil engineering building are preset, and a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building;

[0006] Dividing into a plurality of monitoring areas according to different advertising slogans on the civil engineering buildings;

[0007] Calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas;

[0008] Adjusting the acquisition angle of the image collector and focusing it on the monitoring center;

[0009] The image collector collects original image data of the outer wall of the civil engineering building in real time;

[0010] Preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model;

[0011] The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform.

[0012] In this solution, the monitoring center of the outer wall of the civil engineering building is calculated based on the monitoring demand degree of multiple monitoring areas, specifically including:

[0013] The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms;

[0014] Cluster the midpoints of multiple monitoring areas to obtain cluster centers;

[0015] It is determined whether the monitoring requirements of the multiple monitoring areas are the same. If so, the cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0016] In this solution, after determining whether the monitoring requirements of multiple monitoring areas are the same, the method further includes:

[0017] If no, calculate the level of monitoring need for each monitoring area;

[0018] Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively;

[0019] Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center;

[0020] Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value;

[0021] The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined;

[0022] Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point;

[0023] Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively;

[0024] Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center;

[0025] Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value;

[0026] The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined;

[0027] Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point;

[0028] The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0029] In this plan, the monitoring demand level of each monitoring area is calculated, including:

[0030] The influence weight of the height of the preset monitoring area on the monitoring demand level is w1, and the influence weight of the area of ​​the monitoring area on the monitoring demand level is w2;

[0031] Measure and calculate the height h of each monitoring area on the outer wall of the civil engineering building respectively i and area s i , where h i and i Respectively represent the height and area of ​​the i-th monitoring area, and i=1,2,…,n, n is the total number of monitoring areas;

[0032] According to the height h of each monitoring area i and area s i , and the influence weights are w1 and w2, and the monitoring demand level Q of each monitoring area is calculated i =h i ×w1+s i ×w2.

[0033] In this solution, the monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal, specifically including:

[0034] Extracting the image data of the fixed connection piece related to the advertising slogan from the pre-processed image data;

[0035] Matching the fixed connection part image data with the fixed connection part template image, and calculating the matching coincidence between the two;

[0036] When the matching overlap is less than a first preset threshold, it is determined that the corresponding fixed connection component is defective, and it is determined that the corresponding advertising slogan is abnormal.

[0037] In this solution, the original image data of the outer wall of the civil engineering building is collected in real time by the image collector, which specifically includes:

[0038] The image collector collects raw image data of the outer wall of the civil engineering building according to a first collection frequency;

[0039] Acquire current weather data, and search a preset mapping table for a second acquisition frequency that matches the current weather data, where the second acquisition frequency is different from the first acquisition frequency;

[0040] The acquisition frequency of the image collector is updated from the first acquisition frequency to the second acquisition frequency, and the original image data of the outer wall of the civil engineering building is acquired according to the second acquisition frequency.

[0041] The second aspect of the present invention further provides a monitoring system based on civil engineering buildings, comprising a memory and a processor, wherein the memory comprises a monitoring method program based on civil engineering buildings, and when the monitoring method program based on civil engineering buildings is executed by the processor, the following steps are implemented:

[0042] A civil engineering building and an image collector arranged around the civil engineering building are preset, and a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building;

[0043] Dividing into a plurality of monitoring areas according to different advertising slogans on the civil engineering buildings;

[0044] Calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas;

[0045] Adjusting the acquisition angle of the image collector and focusing it on the monitoring center;

[0046] The image collector collects original image data of the outer wall of the civil engineering building in real time;

[0047] Preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model;

[0048] The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform.

[0049] In this solution, the monitoring center of the outer wall of the civil engineering building is calculated based on the monitoring demand degree of multiple monitoring areas, specifically including:

[0050] The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms;

[0051] Cluster the midpoints of multiple monitoring areas to obtain cluster centers;

[0052] It is determined whether the monitoring requirements of the multiple monitoring areas are the same. If so, the cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0053] In this solution, after determining whether the monitoring requirements of multiple monitoring areas are the same, the monitoring method program based on civil engineering buildings further implements the following steps when executed by the processor:

[0054] If no, calculate the level of monitoring need for each monitoring area;

[0055] Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively;

[0056] Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center;

[0057] Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value;

[0058] The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined;

[0059] Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point;

[0060] Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively;

[0061] Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center;

[0062] Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value;

[0063] The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined;

[0064] Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point;

[0065] The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0066] The third aspect of the present invention further proposes a computer-readable storage medium, which includes a monitoring method program based on civil engineering structures. When the monitoring method program based on civil engineering structures is executed by a processor, the steps of the monitoring method based on civil engineering structures as described above are implemented.

[0067] The present invention proposes a monitoring method, system and readable storage medium based on civil buildings, which can monitor the hanging objects (such as advertising slogans, etc.) on the outer walls of civil buildings in real time, and give timely alarms when abnormalities occur in the monitoring, thereby avoiding the risk of the hanging objects on the outer walls of civil buildings falling off, and effectively preventing the safety hazards caused by falling objects from high altitudes to pedestrians.

[0068] Additional aspects and advantages of the present invention will be given in part in the following description, and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1A flow chart of a monitoring method based on civil engineering buildings according to the present invention is shown;

[0070] Figure 2 A block diagram of a monitoring system based on civil engineering buildings according to the present invention is shown. DETAILED DESCRIPTION

[0071] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0072] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0073] Figure 1 A flow chart of a monitoring method based on civil engineering buildings according to the present invention is shown.

[0074] like Figure 1 As shown, the first aspect of the present invention provides a monitoring method based on civil engineering buildings, the method comprising:

[0075] S102, presetting a civil engineering building and an image collector arranged around the civil engineering building, wherein a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building;

[0076] S104, dividing the civil engineering building into a plurality of monitoring areas according to different advertising slogans on the civil engineering building;

[0077] S106, calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of the multiple monitoring areas;

[0078] S108, adjusting the acquisition angle of the image collector and focusing it on the monitoring center;

[0079] S110, collecting original image data of the outer wall of the civil engineering building in real time by the image collector;

[0080] S112, preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model;

[0081] S114, the monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform.

[0082] It should be noted that some billboards or slogans are usually hung on the outer walls of civil engineering buildings (such as hotels or commercial buildings). However, these billboards or slogans are easily affected by wind or external environmental factors, which can easily lead to the risk of falling off. Once they fall off, it will cause life safety hazards to pedestrians on the ground. The present invention collects image data of the outer walls of civil engineering buildings in real time through an image collector, and analyzes the image data through a monitoring neural network model, so as to realize real-time monitoring of the advertising slogans on the outer walls of these civil engineering buildings, grasp the firmness of the advertising slogans in advance, and when the advertising slogans are abnormal (such as loose or defective fixed connectors), an alarm reminder is issued, and a warning message is sent to the supervision platform, and the supervisor implements ground dangerous area isolation measures to avoid the risk of falling from high altitude advertising slogans.

[0083] It should be noted that the warning information at least includes the coordinate position of the abnormal advertising slogan on the outer wall of the civil building and the abnormality type, and the abnormality type at least includes defects in the fixing connectors of the advertising slogan, damage to the advertising slogan, and deformation of the advertising slogan.

[0084] According to a specific embodiment of the present invention, preprocessing the original image data to obtain preprocessed image data specifically includes:

[0085] Performing defogging processing on the original image data according to a defogging algorithm to obtain defogging image data;

[0086] The fog-free image data is enhanced to obtain preprocessed image data.

[0087] According to a specific embodiment of the present invention, defogging the original image data according to a defogging algorithm specifically includes:

[0088] Get the current atmospheric light intensity, and get the RGB value and window transmittance of each pixel in the original image data;

[0089] Subtract the current atmospheric light intensity from the RGB value of each pixel in the original image data to obtain a difference, and divide the difference by the window transmittance of the corresponding pixel to obtain a quotient, and add the quotient to the current atmospheric light intensity to obtain the RGB value of the corresponding pixel after defogging.

[0090] It is understandable that fog is prone to occur in winter, and the images collected by the image collector may be affected by the fog and unclear. After acquiring the original image data, the embodiments of the present invention can perform defogging and enhancement processing to obtain clearer image data, so as to facilitate subsequent image recognition and analysis processing.

[0091] According to an embodiment of the present invention, calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas specifically includes:

[0092] The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms;

[0093] Cluster the midpoints of multiple monitoring areas to obtain cluster centers;

[0094] It is determined whether the monitoring requirements of the multiple monitoring areas are the same. If so, the cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0095] It should be noted that in order to enable the image collector to more comprehensively collect image data of the exterior wall of the civil engineering building and focus on the advertising slogans that need to be monitored more, the embodiment of the present invention integrates the midpoints of multiple monitoring areas, calculates the cluster center by clustering, and focuses the image collector on the cluster center.

[0096] According to a specific embodiment of the present invention, the midpoints of multiple monitoring areas are calculated by a geometric algorithm, specifically including:

[0097] Establishing a two-dimensional coordinate system about the outer wall of the civil engineering building;

[0098] Preset a monitoring area as a polygon, and obtain the coordinates of the polygon vertices of the monitoring area, wherein the polygon vertex coordinates include abscissa data and ordinate data;

[0099] The horizontal coordinate data of all polygon vertices in the monitoring area are accumulated to obtain a first accumulated result, and then the first accumulated result is divided by the number of polygon vertices to obtain the horizontal coordinate data of the midpoint of the monitoring area; the vertical coordinate data of all polygon vertices in the monitoring area are accumulated to obtain a second accumulated result, and then the second accumulated result is divided by the number of polygon vertices to obtain the vertical coordinate data of the midpoint of the monitoring area. The coordinate position of the midpoint of the monitoring area can be determined by the horizontal coordinate data and the vertical coordinate data of the midpoint.

[0100] According to a specific embodiment of the present invention, clustering the midpoints of multiple monitoring areas to obtain cluster centers specifically includes:

[0101] Calculate and obtain the midpoint coordinate position and area of ​​each monitoring area respectively, and each midpoint coordinate position includes midpoint horizontal coordinate data and midpoint horizontal coordinate data;

[0102] Accumulate the areas of multiple monitoring areas to obtain the total area, multiply the area of ​​each monitoring area by the abscissa data of its midpoint, add the products to obtain the first intermediate value, and divide the first intermediate value by the total area to obtain the abscissa data of the cluster center;

[0103] The area of ​​each monitoring area is multiplied by the ordinate data of its midpoint, and each product is added to obtain a second intermediate value, and the second intermediate value is divided by the total area to obtain the ordinate data of the cluster center.

[0104] According to an embodiment of the present invention, after determining whether the monitoring requirements of the plurality of monitoring areas are the same, the method further includes:

[0105] If no, calculate the level of monitoring need for each monitoring area;

[0106] Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively;

[0107] Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center;

[0108] Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value;

[0109] The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined;

[0110] Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point;

[0111] Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively;

[0112] Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center;

[0113] Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value;

[0114] The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined;

[0115] Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point;

[0116] The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0117] It should be noted that since the monitoring requirements of various monitoring areas are different, the present invention divides the areas into regions, comprehensively considers the sum of the monitoring requirements of various areas, and calculates the deviation value, and then corrects the above-mentioned cluster center according to the deviation value, so that the image collector's attention is more aligned with the locations that need monitoring, with a high degree of intelligence.

[0118] It can be understood that the cluster center is located at the midpoint between the first cluster center and the second cluster center, and between the third cluster center and the fourth cluster center.

[0119] According to an embodiment of the present invention, calculating the monitoring requirement level of each monitoring area specifically includes:

[0120] The influence weight of the height of the preset monitoring area on the monitoring demand level is w1, and the influence weight of the area of ​​the monitoring area on the monitoring demand level is w2;

[0121] Measure and calculate the height h of each monitoring area on the outer wall of the civil engineering building respectively i and area s i , where h i and i Respectively represent the height and area of ​​the i-th monitoring area, and i=1,2,…,n, n is the total number of monitoring areas;

[0122] According to the height h of each monitoring area i and area s i , and the influence weights are w1 and w2, and the monitoring demand level Q of each monitoring area is calculated i =h i ×w1+s i ×w2.

[0123] It can be understood that the danger level caused by the falling off of high-position advertising slogans is higher than that of low-position advertising slogans, therefore, the monitoring requirement level of high-position advertising slogans should also be higher than that of low-position advertising slogans; correspondingly, the danger level caused by the falling off of advertising slogans with larger areas is higher than that of advertising slogans with smaller areas, therefore, the monitoring requirement level of advertising slogans with larger areas should also be higher than that of advertising slogans with smaller areas. The present invention calculates a relatively reasonable monitoring requirement level of each monitoring area by comprehensively considering the height and area of ​​each monitoring area, as well as the corresponding influence weights, so as to facilitate the subsequent adjustment of the attention of the image collector.

[0124] According to a specific embodiment of the present invention, after obtaining the corrected cluster center, the method further includes:

[0125] A correspondence table between the fixed duration of the advertising slogans on the exterior walls of the civil engineering buildings and the risk level of easy falling off is preset;

[0126] Obtaining the current fixed duration of all advertising slogans on the exterior wall of the civil engineering building, and determining the risk level of each advertising slogan according to the above correspondence table;

[0127] The cluster centers corrected above are re-corrected based on the risk levels of different advertising slogans.

[0128] According to a specific embodiment of the present invention, a secondary correction is performed on the corrected cluster center based on the risk levels of different advertising slogans, specifically including:

[0129] Taking the corrected cluster center as a new reference point and establishing a new two-dimensional coordinate system of the outer wall of the civil engineering building, the new two-dimensional coordinate system includes a new X-axis and a new Y-axis, taking the new X-axis as a third boundary, dividing the outer wall of the civil engineering building into a fifth area and a sixth area, and counting the monitoring areas corresponding to the advertising slogans in the fifth area and the sixth area respectively;

[0130] Clustering the midpoints of the multiple monitoring areas in the fifth area to obtain a fifth cluster center, and clustering the midpoints of the multiple monitoring areas in the sixth area to obtain a sixth cluster center;

[0131] Accumulating the risk levels of all the advertising slogans in the fifth area to obtain a fifth accumulated value, and accumulating the risk levels of all the advertising slogans in the sixth area to obtain a sixth accumulated value;

[0132] The sixth accumulated value is divided by the fifth accumulated value to obtain a third ratio; the straight line segment between the fifth cluster center and the sixth cluster center is divided according to the third ratio to obtain a third division point, and the ordinate data of the third division point is determined;

[0133] The second ordinate data deviation is calculated based on the ordinate data of the corrected cluster center and the ordinate data of the third segmentation point;

[0134] Taking the new Y-axis as the fourth boundary, the outer wall of the civil engineering building is divided into a seventh area and an eighth area, and the monitoring areas corresponding to the advertising slogans located in the seventh area and the eighth area are counted respectively;

[0135] Clustering the midpoints of the multiple monitoring areas in the seventh area to obtain a seventh cluster center, and clustering the midpoints of the multiple monitoring areas in the eighth area to obtain an eighth cluster center;

[0136] The risk levels of all the advertising slogans in the seventh area are accumulated to obtain a seventh accumulated value, and the risk levels of all the advertising slogans in the eighth area are accumulated to obtain an eighth accumulated value;

[0137] The eighth accumulated value is divided by the seventh accumulated value to obtain a fourth ratio; the straight line segment between the seventh cluster center and the eighth cluster center is divided according to the fourth ratio to obtain a fourth division point, and the ordinate data of the fourth division point is determined;

[0138] The second abscissa data deviation is calculated based on the abscissa data of the cluster center after correction and the ordinate data of the fourth segmentation point;

[0139] The corrected cluster center is corrected according to the second abscissa data deviation and the second ordinate data deviation to obtain a second corrected cluster center, and the second corrected cluster center is used as a new monitoring center for the exterior wall of the civil engineering building.

[0140] It is understandable that since many advertising slogans are made of metal, they will age as the fixed time increases, and there is a risk of them falling off. This embodiment continues to analyze the fixed duration of each advertising slogan, and adjusts the attention of the image collector based on the fixed duration, so that the image collector can better collect and monitor advertising slogans that are prone to risks.

[0141] According to an embodiment of the present invention, the monitoring neural network model performs image recognition analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal, specifically including:

[0142] Extracting the image data of the fixed connection piece related to the advertising slogan from the pre-processed image data;

[0143] Matching the fixed connection part image data with the fixed connection part template image, and calculating the matching coincidence between the two;

[0144] When the matching overlap is less than a first preset threshold, it is determined that the corresponding fixed connection component is defective, and it is determined that the corresponding advertising slogan is abnormal.

[0145] It can be understood that for advertising slogans, in order to prevent them from falling off, the defects of the fixed connectors are crucial. When the fixed connectors are defective, the corresponding advertising slogans are prone to the risk of falling off. In this embodiment, the fixed connector image data is extracted through image analysis, and the grayscale values ​​of the same pixels of the fixed connector image data and the complete fixed connector template image are matched one by one, and whether the fixed connector is defective is determined based on the consistency or overlap of the matching between the two. Once a defect occurs, an alarm is sent to the monitoring platform, thereby effectively avoiding safety accidents.

[0146] According to a specific embodiment of the present invention, after extracting the image data of the fixed connection piece related to the advertising slogan from the pre-processed image data, the method further includes:

[0147] It is assumed that a certain advertising slogan has N fixed connectors, and the weights of the N fixed connectors affecting the falling off of the advertising slogan are W1, W2, …, W respectively. N ;

[0148] Through the template image matching method, the defect levels T1, T2, ..., T of the fixed connectors at N locations are obtained respectively. N ;

[0149] The defect levels of the fixing parts at N locations are multiplied by the corresponding weights respectively, and the sum is accumulated to obtain the easy-to-fall-off risk level of the advertising slogan F=T1×W1+T2×W2+,…,T N ×W N ;

[0150] The easy-to-fall-off risk level F of the advertising slogan is compared with a second preset threshold value. If it is determined that the risk level F is greater than a second preset threshold value, it is determined that the corresponding advertising slogan is abnormal and an alarm is issued.

[0151] It can be understood that since an advertising slogan may have multiple fixed connectors, the fixed connectors in different parts have different degrees of fixation on the advertising slogan. In this embodiment, the defect level of each fixed connector is calculated, and each defect level is multiplied by the corresponding weight, and then accumulated to finally obtain the comprehensive risk level of falling off of the advertising slogan. By comparing with the second preset threshold, it is determined whether the alarm requirement is met. Therefore, the present invention can achieve more accurate alarms for each advertising slogan, thereby improving the accuracy and credibility of monitoring.

[0152] According to an embodiment of the present invention, real-time acquisition of original image data of the exterior wall of the civil engineering building by the image collector specifically includes:

[0153] The image collector collects raw image data of the outer wall of the civil engineering building according to a first collection frequency;

[0154] Acquire current weather data, and search a preset mapping table for a second acquisition frequency that matches the current weather data, where the second acquisition frequency is different from the first acquisition frequency;

[0155] The acquisition frequency of the image collector is updated from the first acquisition frequency to the second acquisition frequency, and the original image data of the outer wall of the civil engineering building is acquired according to the second acquisition frequency.

[0156] The preset mapping table is a table of the relationship between weather data and acquisition frequency. It can be understood that when the wind is strong, there is a risk that the advertising slogans are prone to fall off, so it is necessary to increase the acquisition frequency of the image collector to achieve more real-time monitoring of the advertising slogans. In order to further reduce the monitoring cost, in weather with low or no wind, there is no need to monitor the advertising slogans of civil buildings all the time, and the acquisition frequency can be reduced.

[0157] Figure 2 A block diagram of a monitoring system based on civil engineering buildings according to the present invention is shown.

[0158] like Figure 2 As shown, the second aspect of the present invention further proposes a monitoring system 2 based on civil engineering buildings, comprising a memory 21 and a processor 22, wherein the memory comprises a monitoring method program based on civil engineering buildings, and when the monitoring method program based on civil engineering buildings is executed by the processor, the following steps are implemented:

[0159] A civil engineering building and an image collector arranged around the civil engineering building are preset, and a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building;

[0160] Dividing into a plurality of monitoring areas according to different advertising slogans on the civil engineering buildings;

[0161] Calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas;

[0162] Adjusting the acquisition angle of the image collector and focusing it on the monitoring center;

[0163] The image collector collects original image data of the outer wall of the civil engineering building in real time;

[0164] Preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model;

[0165] The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform.

[0166] According to an embodiment of the present invention, calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas specifically includes:

[0167] The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms;

[0168] Cluster the midpoints of multiple monitoring areas to obtain cluster centers;

[0169] It is determined whether the monitoring requirements of the multiple monitoring areas are the same. If so, the cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0170] According to an embodiment of the present invention, after determining whether the monitoring requirements of multiple monitoring areas are the same, the monitoring method program based on civil engineering buildings further implements the following steps when executed by the processor:

[0171] If no, calculate the level of monitoring need for each monitoring area;

[0172] Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively;

[0173] Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center;

[0174] Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value;

[0175] The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined;

[0176] Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point;

[0177] Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively;

[0178] Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center;

[0179] Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value;

[0180] The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined;

[0181] Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point;

[0182] The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

[0183] The third aspect of the present invention further proposes a computer-readable storage medium, which includes a monitoring method program based on civil engineering structures. When the monitoring method program based on civil engineering structures is executed by a processor, the steps of the monitoring method based on civil engineering structures as described above are implemented.

[0184] The present invention proposes a monitoring method, system and readable storage medium based on civil buildings, which can monitor the hanging objects (such as advertising slogans, etc.) on the outer walls of civil buildings in real time, and give timely alarms when abnormalities occur in the monitoring, thereby avoiding the risk of the hanging objects on the outer walls of civil buildings falling off, and effectively preventing the safety hazards caused by falling objects from high altitudes to pedestrians.

[0185] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0186] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; 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 present embodiment.

[0187] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0188] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0189] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0190] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A monitoring method based on civil engineering buildings, characterized in that: The method comprises: A civil engineering building and an image collector arranged around the civil engineering building are preset, and a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building; Dividing into a plurality of monitoring areas according to different advertising slogans on the civil engineering buildings; Calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas; Adjusting the acquisition angle of the image collector and focusing it on the monitoring center; The image collector collects original image data of the outer wall of the civil engineering building in real time; Preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model; The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform; The monitoring center of the outer wall of the civil engineering building is calculated based on the monitoring demand degree of multiple monitoring areas, specifically including: The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms; Cluster the midpoints of multiple monitoring areas to obtain cluster centers; Determine whether the monitoring requirements of multiple monitoring areas are the same, and if so, use the cluster center as the monitoring center of the outer wall of the civil engineering building; After determining whether the monitoring requirements of the plurality of monitoring areas are the same, the method further includes: If no, calculate the level of monitoring need for each monitoring area; Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively; Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center; Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value; The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined; Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point; Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively; Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center; Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value; The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined; Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point; The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

2. A monitoring method based on civil engineering buildings according to claim 1, characterized in that: Calculate the monitoring requirement level for each monitoring area, including: The influence weight of the height of the preset monitoring area on the level of monitoring demand is: The weight of the area of ​​the monitoring area on the level of monitoring demand is ; Measure and calculate the height of each monitoring area on the outer wall of the civil engineering building and area ,in and Respectively represent The height and area of ​​the monitoring area, and , is the total number of monitoring areas; According to the height of each monitoring area and area , and the influence weight is and , calculate the monitoring demand level of each monitoring area .

3. A monitoring method based on civil engineering buildings according to claim 1, characterized in that: The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal, specifically including: Extracting the image data of the fixed connection piece related to the advertising slogan from the pre-processed image data; Matching the fixed connection part image data with the fixed connection part template image, and calculating the matching coincidence between the two; When the matching overlap is less than a first preset threshold, it is determined that the corresponding fixed connection component is defective, and it is determined that the corresponding advertising slogan is abnormal.

4. A monitoring method based on civil engineering buildings according to claim 1, characterized in that: The original image data of the outer wall of the civil engineering building is collected in real time by the image collector, specifically including: The image collector collects raw image data of the outer wall of the civil engineering building according to a first collection frequency; Acquire current weather data, and search a preset mapping table for a second acquisition frequency that matches the current weather data, where the second acquisition frequency is different from the first acquisition frequency; The acquisition frequency of the image collector is updated from the first acquisition frequency to the second acquisition frequency, and the original image data of the outer wall of the civil engineering building is acquired according to the second acquisition frequency.

5. A monitoring system based on civil engineering buildings, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a monitoring method program based on civil engineering buildings, and when the monitoring method program based on civil engineering buildings is executed by the processor, the following steps are implemented: A civil engineering building and an image collector arranged around the civil engineering building are preset, and a plurality of advertising slogans are fixedly arranged on the outer wall of the civil engineering building; Dividing into a plurality of monitoring areas according to different advertising slogans on the civil engineering buildings; Calculating the monitoring center of the outer wall of the civil engineering building based on the monitoring demand levels of multiple monitoring areas; Adjusting the acquisition angle of the image collector and focusing it on the monitoring center; The image collector collects original image data of the outer wall of the civil engineering building in real time; Preprocessing the original image data to obtain preprocessed image data, and inputting the preprocessed image data into a monitoring neural network model; The monitoring neural network model performs image recognition and analysis on the pre-processed image data, and determines whether the corresponding advertising slogan on the outer wall of the civil engineering building is abnormal. If so, a warning message is sent to the supervision platform; The monitoring center of the outer wall of the civil engineering building is calculated based on the monitoring demand degree of multiple monitoring areas, specifically including: The shapes of multiple monitoring areas are obtained respectively, and the midpoints of the multiple monitoring areas are calculated by geometric algorithms; Cluster the midpoints of multiple monitoring areas to obtain cluster centers; Determine whether the monitoring requirements of multiple monitoring areas are the same, and if so, use the cluster center as the monitoring center of the outer wall of the civil engineering building; After determining whether the monitoring requirements of the plurality of monitoring areas are the same, the monitoring method program based on civil engineering buildings further implements the following steps when executed by the processor: If no, calculate the level of monitoring need for each monitoring area; Taking the cluster center as a reference point and establishing a two-dimensional coordinate system of the outer wall of the civil engineering building, the two-dimensional coordinate system includes an X-axis and a Y-axis, taking the X-axis of the two-dimensional coordinate system as a first boundary, dividing the outer wall of the civil engineering building into a first area and a second area, and counting the monitoring areas located in the first area and the second area respectively; Clustering the midpoints of the plurality of monitoring areas in the first area to obtain a first cluster center, and clustering the midpoints of the plurality of monitoring areas in the second area to obtain a second cluster center; Accumulating the demand levels of all monitoring areas in the first area to obtain a first accumulated value, and accumulating the demand levels of all monitoring areas in the second area to obtain a second accumulated value; The second accumulated value is divided by the first accumulated value to obtain a first ratio; the straight line segment between the first cluster center and the second cluster center is segmented according to the first ratio to obtain a first segmentation point, and the ordinate data of the first segmentation point is determined; Calculating a first ordinate data deviation according to the ordinate data of the cluster center and the ordinate data of the first segmentation point; Taking the Y axis of the two-dimensional coordinate system as the second boundary, the outer wall of the civil engineering building is divided into a third area and a fourth area, and the monitoring areas located in the third area and the fourth area are counted respectively; Clustering the midpoints of the plurality of monitoring areas in the third area to obtain a third cluster center, and clustering the midpoints of the plurality of monitoring areas in the fourth area to obtain a fourth cluster center; Accumulating the demand levels of all monitoring areas in the third area to obtain a third accumulated value, and accumulating the demand levels of all monitoring areas in the fourth area to obtain a fourth accumulated value; The fourth accumulated value is divided by the third accumulated value to obtain a second ratio; the straight line segment between the third cluster center and the fourth cluster center is divided according to the second ratio to obtain a second division point, and the ordinate data of the second division point is determined; Calculating the first abscissa data deviation according to the abscissa data of the cluster center and the ordinate data of the second segmentation point; The cluster center is corrected according to the first horizontal coordinate data deviation and the first vertical coordinate data deviation to obtain a corrected cluster center, and the corrected cluster center is used as the monitoring center of the outer wall of the civil engineering building.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a monitoring method program based on civil engineering structures. When the monitoring method program based on civil engineering structures is executed by a processor, the steps of a monitoring method based on civil engineering structures as described in any one of claims 1 to 4 are implemented.