Intelligent construction method and device based on data processing
By adopting intelligent construction methods and devices based on data processing in the construction site, using the positioning data and motion trajectory of the user side for intrusion detection and warning, the problem that existing fences and protection networks cannot meet the requirements of high safety levels is solved, and the safety of the construction site is improved.
Patent Information
- Application Number
- CN202410883260.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-07-03
AI Technical Summary
The fences and protective nets of the existing construction site cannot meet the higher safety level requirements. Outsiders may climb over the fences or protective nets into the construction site, resulting in a reduction in safety of the construction site.
Using intelligent construction and construction methods and devices based on data processing, the safety detection data and dynamic detection zone are determined through the positioning data and motion trajectory of the user end, the detection device is controlled for intrusion detection, and the monitoring equipment is controlled to collect and send data warning data based on abnormal data.
It realizes timely intrusion reminders for construction site managers, improves the safety of construction site, and can quickly determine the identity information of people entering and leaving the site and warns, ensuring the safety of the protection area.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to data processing technology, and in particular to a smart construction method and device based on data processing. Background Art
[0002] Construction refers to the production activities during the implementation stage of engineering construction, and is the construction process of various types of buildings. Since there are many dangerous factors at the construction site, safety management of the construction site is very important.
[0003] At present, fences or protective nets are usually built around the construction area to prevent outsiders from entering illegally and ensure the safety of the construction site. However, common fences generally only have basic physical interception functions and cannot meet higher security level requirements. Outsiders may climb over the fences or protective nets to enter the construction site, making it impossible for the management personnel of the construction site to detect the outside intruders in time, thereby reducing the safety of the construction site.
[0004] Based on this, there is an urgent need to provide a strategy that can alert construction site managers of intrusions, so as to improve the safety of the construction site. Summary of the invention
[0005] The present invention provides a smart construction method and device based on data processing, which can remind management personnel of construction sites of intrusions and improve the safety of the construction sites.
[0006] A first aspect of the present invention provides a smart construction method based on data processing, comprising:
[0007] Based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area is determined as a target terminal, and the enclosure construction area includes a plurality of detection devices;
[0008] Acquire the motion trajectory of the target end, and determine the security detection data corresponding to the target end according to the motion trajectory, wherein the security detection data includes a dynamic detection area and a detection time series;
[0009] Controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data;
[0010] The detection data satisfying the abnormal detection condition is determined to be abnormal data, and the monitoring device is controlled to collect data according to the abnormal data, and the obtained warning data is sent to the management end.
[0011] Optionally, in a possible implementation manner of the first aspect, based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area is determined as a target terminal, and the enclosure construction area includes multiple detection devices, including:
[0012] Acquire the preset detection area corresponding to each of the detection devices, determine that the user terminal whose positioning data is within the preset detection area meets the enclosure detection condition, and use the corresponding user terminal as the target terminal;
[0013] Acquire the motion trajectory of the target end, and determine the security detection data corresponding to the target end according to the motion trajectory, wherein the security detection data includes a dynamic detection area and a detection time series, including:
[0014] Determining a movement trajectory of the target end based on the positioning data of the target end in a historical time period;
[0015] The moving direction of the target end is determined according to the moving trajectory, and when the moving direction meets the entry and exit detection condition, the safety detection data corresponding to the target end is determined based on the moving trajectory.
[0016] Optionally, in a possible implementation manner of the first aspect, determining a movement direction of the target end according to the movement trajectory, and when the movement direction meets an entry and exit detection condition, determining security detection data corresponding to the target end based on the movement trajectory includes:
[0017] Determining the moving direction of the target end according to the tangent direction corresponding to each positioning point in the moving trajectory;
[0018] Acquire a sensing area corresponding to the detection device, and when the movement direction points to the sensing area, determine that the movement direction meets the entry and exit detection condition;
[0019] Determine the current positioning point of the target end according to the positioning data, and determine the area corresponding to the preset detection distance as the dynamic detection area corresponding to the target end with the current positioning point as the center;
[0020] A plurality of opposing light beam groups corresponding to the detection device are obtained, and each of the opposing light beam groups is arranged according to the movement direction to obtain a detection time sequence.
[0021] Optionally, in a possible implementation manner of the first aspect, controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data includes:
[0022] When there is the shielding information of the corresponding incident light beam group, determining the corresponding incident light beam group as the target light beam group;
[0023] Determine the safety detection distance corresponding to the target light beam group according to the dynamic detection area, and make a safety determination of the obstruction on the target end based on the safety detection distance to obtain a pending end or an abnormal end;
[0024] Acquire the shielding moment of each target light beam group corresponding to the pending end, arrange each target light beam group according to the shielding moment, and obtain an actual detection sequence;
[0025] Comparing the detection time sequence with the actual detection sequence, and when the detection time sequence is consistent with the actual detection sequence, determining that the pending end is a normal end;
[0026] When the detection time sequence is inconsistent with the actual detection sequence, the pending end is determined to be an abnormal end, and detection data is obtained according to the normal end or the abnormal end.
[0027] Optionally, in a possible implementation manner of the first aspect, determining a safe detection distance corresponding to the target light beam group according to the dynamic detection area, and performing an obstruction safety judgment on the target end based on the safe detection distance to obtain a pending end or an abnormal end, including:
[0028] Acquire an emission position point corresponding to each target light beam in the target light beam group, wherein the target light beam group includes two target light beams with opposite detection directions;
[0029] Determine the direction opposite to the detection direction of each target light beam as a relative direction, and obtain the difference distance between the current positioning point and the corresponding emission position point in the corresponding relative direction;
[0030] Determine the safe detection distance corresponding to the target light beam according to the difference between the phase difference distance and the preset detection distance corresponding to the dynamic detection area;
[0031] Acquire the actual detection distance of each target light beam, and obtain the offset distance of the corresponding target light beam according to the difference between the safety detection distance and the actual detection distance;
[0032] When the offset distances are all within the reference offset interval, the target end is determined to be a pending end; when there is an offset distance that is not within the reference offset interval, the target end is determined to be an abnormal end.
[0033] Optionally, in a possible implementation manner of the first aspect, determining that detection data that meets an abnormality detection condition is abnormal data, controlling a monitoring device to collect data according to the abnormal data, and obtaining warning data to send to a management terminal includes:
[0034] When the abnormal end exists, determining that the detection data meets the abnormality detection condition;
[0035] Determine a position point in the detection direction that is different from each of the emission position points by the actual detection distance as a shielding position point corresponding to the corresponding target light beam;
[0036] Acquire a center point adjacent to the obstruction position point in the detection direction as a collection position point, and determine a collection posture of the monitoring device according to the collection position point, wherein the monitoring device includes a single monitoring device or a dual monitoring device;
[0037] The monitoring device is controlled to collect data based on the collected posture to obtain real-time monitoring data, the real-time monitoring data is processed for warning, and the obtained warning data is sent to the management end.
[0038] Optionally, in a possible implementation manner of the first aspect, a center point adjacent to the occlusion position point in the detection direction is obtained as a collection position point, and a collection posture of the monitoring device is determined according to the collection position point, and the monitoring device includes a single monitoring device or a dual monitoring device, including:
[0039] When the monitoring device is a single monitoring device, a first position point of the single monitoring device is obtained, and a direction from the first position point to the shielding position point is determined as a target acquisition direction; or,
[0040] When the monitoring device is a dual monitoring device, obtaining a second position point of each sub-monitoring device, and the dual monitoring device includes a plurality of sub-monitoring devices;
[0041] Determine, according to the second position point and the shielding position point, an abnormal distance corresponding to each of the sub-monitoring devices and the abnormal end;
[0042] Determine the sub-monitoring device with the smallest abnormal distance as the target monitoring device, and determine the direction from the second position point to the blocking position point as the target acquisition direction;
[0043] Determine a current acquisition direction of the monitoring device, obtain a rotation angle from the current acquisition direction to the target acquisition direction, and determine an acquisition posture of the monitoring device according to the rotation angle.
[0044] Optionally, in a possible implementation manner of the first aspect, controlling the monitoring device to collect data based on the collected posture to obtain real-time monitoring data, performing warning processing on the real-time monitoring data, and obtaining warning data and sending it to the management end includes:
[0045] Acquire a real-time monitoring video collected by the monitoring device based on the collected posture, and extract multiple target object contours in a video frame corresponding to the real-time monitoring video, wherein the real-time monitoring data includes the real-time monitoring video;
[0046] Determine a maximum horizontal axis coordinate value, a minimum horizontal axis coordinate value, a maximum vertical axis coordinate value, and a minimum vertical axis coordinate value among a plurality of contour coordinates corresponding to a plurality of contours of the target object;
[0047] A first extreme value is obtained according to the sum of the maximum horizontal axis coordinate value and the reference offset value, and a second extreme value is obtained according to the difference between the minimum horizontal axis coordinate value and the reference offset value;
[0048] A third extreme value is obtained based on the sum of the maximum longitudinal coordinate value and the reference offset value, and a fourth extreme value is obtained based on the difference between the minimum longitudinal coordinate value and the reference offset value;
[0049] Generate frame lines corresponding to the first extreme value, the second extreme value, the third extreme value and the fourth extreme value respectively, and generate an enlarged interception frame according to the frame lines;
[0050] Acquire a reference display area corresponding to the video frame and an image display area corresponding to the image area of the enlarged captured frame;
[0051] Obtaining a magnification ratio according to a ratio of the reference display area to the image display area, and performing interception processing on the corresponding video frame based on the enlarged interception frame to obtain an intercepted video frame;
[0052] The captured video frame is enlarged based on the enlargement ratio to obtain an enlarged video frame, the enlarged video frame is displayed as a warning to obtain a warning video frame, and the warning video frames are spliced to obtain warning data and sent to the management end.
[0053] Optionally, in a possible implementation manner of the first aspect, the captured video frame is enlarged based on the enlargement ratio to obtain an enlarged video frame, the enlarged video frame is warned and displayed to obtain a warning video frame, and each of the warning video frames is spliced to obtain warning data and sent to the management end, including:
[0054] Determine the maximum area distance of the dynamic detection area, and determine the number of warnings corresponding to the target light beam according to the ratio of the offset distance to the maximum area distance;
[0055] The number of warnings is counted to obtain a total number of warnings, the number of detections at the target end is counted, and a standard number of warnings is obtained according to a difference between the total number of contours of the target object and the number of detections;
[0056] When the total warning number is equal to the standard warning number, obtaining the target direction corresponding to the detection direction of each target light beam in each of the amplified video frames;
[0057] Selecting corresponding target contours as warning contours in sequence based on the corresponding target directions, until the number of contours of the warning contours is equal to the number of warnings of the corresponding target light beams, and then stopping the selection of the warning contours;
[0058] When the total warning quantity is not equal to the standard warning quantity, performing face recognition on each of the target object contours based on the identity database, and determining that the target object contour without a preset identity in the identity database is a warning contour;
[0059] A warning prompt box corresponding to each of the warning contours is generated, and a warning display is performed on the enlarged video frame based on the warning prompt box, and the obtained warning data is sent to the management end.
[0060] A second aspect of the present invention provides a smart construction device based on data processing, comprising:
[0061] A determination module, for determining, based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area as a target terminal, wherein the enclosure construction area includes a plurality of detection devices;
[0062] An acquisition module, used for acquiring a motion trajectory of the target end, and determining safety detection data corresponding to the target end according to the motion trajectory, wherein the safety detection data includes a dynamic detection area and a detection time series;
[0063] A detection module, used for controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data;
[0064] The collection module is used to determine that the detection data that meets the abnormal detection conditions is abnormal data, control the monitoring equipment to collect data according to the abnormal data, and obtain warning data to send to the management end.
[0065] According to a third aspect of the present invention, there is provided an electronic device, comprising: a memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the first aspect of the present invention and various methods that may be involved in the first aspect.
[0066] According to a fourth aspect of the present invention, a readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, it is used to implement the first aspect of the present invention and various methods that may be involved in the first aspect.
[0067] The beneficial effects of the present invention are as follows:
[0068] 1. The present invention can quickly determine the identity information of people entering and leaving, and issue warnings in time to improve the security of the protection area. Among them, the present invention can determine the security detection data corresponding to the target end through the motion trajectory of the target end, and the security detection data includes a dynamic detection area and a detection time series, so that the detection device can be controlled to perform intrusion detection on the target end to obtain detection data, thereby facilitating the determination of whether it is an abnormal intruder. At the same time, the present invention can also control the monitoring equipment to collect data according to the abnormal data, so as to provide warning information, so that the management personnel can find abnormalities in time and quickly take relevant measures to ensure the security of the protection area.
[0069] 2. The present invention can compare the detection time sequence with the actual detection sequence obtained by the detection device, so as to determine whether the corresponding target end is a normal end or an abnormal end. At the same time, the present invention can also make an occlusion safety judgment on the target end according to the safe detection distance, so as to obtain the normal end or the abnormal end, and then obtain the corresponding detection data, so as to facilitate subsequent timely warnings and ensure the safety of the enclosure construction area.
[0070] 3. The present invention can control the monitoring equipment to collect data according to the abnormal data of the abnormal end, so as to display warnings based on the collected data, so that personnel can check and take relevant measures in time to improve the safety of the enclosure construction area. Among them, the present invention can select the monitoring equipment with a closer distance in the dual monitoring equipment according to the blocking position point of the target light beam and perform dynamic tracking and data collection, so that the information in the collected data obtained later is clearer, which is convenient for warning display and clear viewing. In addition, the present invention can also intercept and amplify the collected real-time monitoring data, and then display warnings, so that the management personnel can clearly view the corresponding abnormal intruders, take protective measures in time, and improve the safety of the enclosure construction area. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A schematic diagram of a flow chart of a smart construction method based on data processing provided by an embodiment of the present invention;
[0072] Figure 2 A schematic diagram of a detection device provided by an embodiment of the present invention;
[0073] Figure 3 A schematic diagram of a process of capturing a video frame provided by an embodiment of the present invention;
[0074] Figure 4 A schematic diagram of a smart construction device based on data processing provided by an embodiment of the present invention DETAILED DESCRIPTION
[0075] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.
[0076] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0077] See also Figure 1 , is a flow chart of a smart construction method based on data processing provided by an embodiment of the present invention, including steps S1 to S4, which are as follows:
[0078] S1, based on the positioning data of each user terminal, determine the user terminal that meets the enclosure detection conditions of the enclosure construction area as the target terminal, and the enclosure construction area includes multiple detection devices.
[0079] It should be noted that in order to prevent unrelated personnel from entering the protection area and causing dangerous accidents, and to ensure that personnel in the area do not leave without authorization within the specified time, infrared counter-radiation devices can be installed around the construction area, and the area can be monitored in real time based on the infrared counter-radiation devices to ensure the safety and management efficiency of the construction area.
[0080] It can be understood that the user end is an information terminal corresponding to the construction personnel, which can be a mobile phone, the positioning data is the location information data of the personnel, the enclosure construction area is the construction area for enclosure protection, and the detection device is a device that can detect information, such as an infrared radiation device. In practical applications, the detection device can be installed at each entrance and exit of the enclosure construction area.
[0081] Among them, the infrared radiation device utilizes the infrared rays emitted by infrared light emitting diodes, which are focused by optical lenses to form one or more beams of infrared light. When these beams are blocked, the receiving end cannot receive the infrared rays, thereby triggering an alarm.
[0082] Based on the above embodiment, the specific implementation method of step S1 (based on the positioning data of each user terminal, determining the user terminal that meets the enclosure detection condition of the enclosure construction area as the target terminal, and the enclosure construction area includes multiple detection devices) can be:
[0083] S11, obtaining a preset detection area corresponding to each detection device, determining that the user terminal whose positioning data is within the preset detection area meets the enclosure detection condition, and taking the corresponding user terminal as the target terminal.
[0084] It can be understood that the preset detection area is an area preset according to the installed detection device for determining the entry and exit of personnel, and the enclosure detection condition is the information condition that the position of the personnel is within the preset detection area.
[0085] It is not difficult to understand that when personnel want to enter and exit the construction site, they generally enter and exit from the entrance and exit of the construction site, and the detection device is installed at the entrance and exit. When a person walks near the detection device, it means that the person may want to enter and exit the construction site. At this time, the corresponding person can be detected to determine whether he is an intruder, so that the management personnel can be reminded in time when there is an intruder.
[0086] Therefore, the installed detection device can have a corresponding detection area, so that the location of the person can be determined according to the positioning information of the user terminal. When the person is in the preset detection area, it can be predicted whether the corresponding person has the need to enter or go out, and the user terminal with the need to enter or exit can be used as the target terminal for further judgment. When the person is not in the preset detection area, it can be determined that he has no need to enter or exit. Therefore, there is no need for subsequent judgment on the corresponding user terminal.
[0087] S2, acquiring a motion trajectory of the target end, and determining safety detection data corresponding to the target end according to the motion trajectory, wherein the safety detection data includes a dynamic detection area and a detection time series.
[0088] It can be understood that the motion trajectory is the trajectory of the person corresponding to the target end moving within the corresponding time period, and the safety detection data is the data for safety detection, including a dynamic detection area and a detection time series, wherein the dynamic detection area is an area centered on the person, for example, it can be an area with a radius of 0.5m with the current position of the person as the center, and the detection time series is the sequence of times for triggering different infrared light beams.
[0089] Through the above implementation, the present invention can obtain the corresponding motion trajectory, so as to determine the security detection data of the corresponding target end, so as to facilitate the subsequent intrusion judgment of personnel.
[0090] Based on the above embodiment, the specific implementation method of step S2 (obtaining the motion trajectory of the target end, and determining the security detection data corresponding to the target end according to the motion trajectory, wherein the security detection data includes a dynamic detection area and a detection time series) can be:
[0091] S21, determining a movement trajectory of the target end based on the positioning data of the target end in a historical time period.
[0092] It can be understood that the historical time period is the time period before the current moment. For example, if the current moment is 13:42, the historical time period can be the previous 10 minutes, that is, 13:32 to 13:42. Through the multiple position information of the target end in the historical time period, the movement route of the target end can be obtained, thereby determining the corresponding movement trajectory. For example, the position information of the target end within 10 minutes before the historical time period can be obtained from the current moment, so that the movement trajectory can be determined based on the position information within the previous 10 minutes, so that the action path of each person does not need to be collected in real time at all times, thereby reducing the amount of data processing. Through the above-mentioned implementation, the present invention can determine the movement trajectory of the target end, so as to facilitate the subsequent judgment of the entry and exit detection conditions.
[0093] S22, determining a movement direction of the target end according to the movement trajectory, and when the movement direction meets an entry and exit detection condition, determining security detection data corresponding to the target end based on the movement trajectory.
[0094] It can be understood that the movement direction of the current target end can be determined by the tangent direction of different position points on the motion trajectory. Therefore, when the movement direction is pointing to the entrance and exit detection area, it can be said that the target end has the need to enter and exit the enclosure construction area and meets the entry and exit detection conditions. Therefore, the target end can be tracked and the corresponding security detection data of the target end can be determined according to the motion trajectory.
[0095] The motion direction is the moving direction of the target end, the motion direction is consistent with the tangent direction, and the entry and exit detection condition is the information that the motion direction points to the entry and exit detection area.
[0096] Based on the above embodiment, the specific implementation of step S22 (determining the movement direction of the target end according to the movement trajectory, and when the movement direction meets the entry and exit detection conditions, determining the security detection data corresponding to the target end based on the movement trajectory) can be:
[0097] S221, determining the moving direction of the target end according to the tangent direction corresponding to each positioning point in the moving trajectory.
[0098] It can be understood that each positioning point in the motion trajectory has a corresponding tangent, and the direction of the tangent is consistent with the motion direction, so the motion direction of the current target end can be obtained according to the direction of the tangent.
[0099] The positioning point is a position point in the motion trajectory, and the tangent direction is the direction of the tangent of the positioning point.
[0100] Through the above implementation, the present invention can obtain the movement direction of the target end, so as to facilitate the subsequent determination of the entry and exit detection conditions.
[0101] S222, obtaining a sensing area corresponding to the detection device, and when the movement direction points to the sensing area, determining that the movement direction meets the entry and exit detection condition.
[0102] It can be understood that the sensing area is the area where the detection device performs sensing detection.
[0103] It is not difficult to understand that when the movement direction points to the sensing area, it can be said that the target end may move to the sensing area and enter and exit the area, so that it can be determined that the movement direction meets the entry and exit detection conditions, so as to facilitate the subsequent determination of the corresponding security detection data.
[0104] S223, determining the current positioning point of the target end according to the positioning data, and determining an area corresponding to a preset detection distance as a dynamic detection area corresponding to the target end with the current positioning point as the center.
[0105] It can be understood that the current positioning point is the position point of the target end at the current moment, and the preset detection distance is half of the normal shielding distance preset for determining when people enter and exit, which can be 0.5m.
[0106] It is not difficult to understand that the dynamic detection zone changes according to the movement of personnel and the change of position, so the detection zone changes dynamically.
[0107] Through the above implementation, the present invention can obtain the dynamic detection area corresponding to the target end, so as to compare and judge with the actual detected data later, so as to determine whether it is abnormal.
[0108] S224, acquiring a plurality of opposing light beam groups corresponding to the detection device, and arranging each of the opposing light beam groups according to the movement direction to obtain a detection time sequence.
[0109] It can be understood that the detection device detects and monitors based on the emitted light beam, and the difference between the present invention and other single-sided light beam detection is that the detection area is detected by bilaterally emitted light beams, so that bilateral detection can be performed through the emitted light beam group, making the abnormal results judged more accurate.
[0110] It is not difficult to understand that the detection device can emit multiple light beams, so that the area where the multiple light beams are located constitutes a sensing area that can be detected. Therefore, when a person passes through the sensing area according to the direction of movement, the light beam emitted by the detection device will be blocked, and because there is a certain distance between different light beam groups, the time when different light beams are blocked is different. Therefore, multiple opposing light beam groups can be arranged according to the direction of movement to obtain a detection time series.
[0111] It is worth mentioning that the beam groups can be numbered, e.g. Figure 2 As shown in FIG. 1 , a schematic diagram of a detection device provided by an embodiment of the present invention is shown. The light beam emitted to the right by the detection device is A, and the light beam emitted to the left by the detection device is B. The opposite light beam groups can be numbered as 1, 2, 3, 4, etc. according to the numbering direction, wherein the numbering direction can be pre-configured, for example, Figure 2 According to the direction of the example, the two beams in the No. 1 opposing beam group are numbered A1 and B1, the two beams in the No. 2 opposing beam group are numbered A2 and B2, etc., so as to facilitate the sorting of each opposing beam group.
[0112] Among them, the opposing beam group is a combination of two beams in opposite directions, and the detection time sequence is the arranged opposing beam group. For example, the detection time sequence can be (opposite beam group No. 1, opposing beam group No. 2, opposing beam group No. 3, and opposing beam group No. 4).
[0113] Through the above implementation, the present invention can obtain the detection time series, so as to compare and judge with the actual detected data later, so as to determine the abnormal situation, make warning prompts in time, and improve the safety of the area.
[0114] S3, controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data.
[0115] It is understandable that when personnel enter or exit the fenced construction area abnormally, the detection device will detect the target end and obtain actual detected data for comparison and judgment with the safety detection data.
[0116] Based on the above embodiment, the specific implementation of step S3 (controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data) may be:
[0117] S31, when there is the opposing beam group responding to the shielding information, determining the corresponding opposing beam group as the target beam group.
[0118] It is understandable that once a person enters the sensing area, some of the opposing beam groups may be blocked, and therefore, the blocked opposing beam groups may be used as the target beam groups.
[0119] S32, determining a safety detection distance corresponding to the target light beam group according to the dynamic detection area, and performing an obstruction safety determination on the target end based on the safety detection distance to obtain a pending end or an abnormal end.
[0120] It can be understood that when the target end is judged by the safety detection distance, if the judgment result is abnormal, the corresponding target end can be regarded as the abnormal end. If the judgment result is normal, the corresponding target end can be regarded as the pending end, so that the pending end can be judged again.
[0121] Among them, the safe detection distance is the normal distance obtained when a person blocks the target light beam. For example, when a person passes through the target light beam, the target light beam will be blocked, and then a safe detection distance can be obtained. When the subsequent actual detected distance is consistent with the safe detection distance, it can be said that the current number of people entering and exiting is normal. When the actual detected distance is significantly different from the safe detection distance, it means that an abnormal situation may have occurred, and there may be an intruder. Therefore, the safe detection distance can be compared with the subsequent actual detection distance to determine whether the target end is a normal end or an abnormal end.
[0122] On the basis of the above embodiment, the specific implementation of step S32 (determining the safety detection distance corresponding to the target light beam group according to the dynamic detection area, and making an obstruction safety determination on the target end based on the safety detection distance to obtain a normal end or an abnormal end) may be:
[0123] S321, acquiring an emission position point corresponding to each target beam in the target beam group, wherein the target beam group includes two target beams with opposite detection directions.
[0124] It can be understood that the target beam is a beam in the target beam group, and the emission position point is a position point of the emission beam.
[0125] Among them, Figure 2 As shown, the detection direction is the direction in which the light beam is emitted for detection, and the detection directions of the target light beams in the target light beam group are opposite.
[0126] S322, determining the direction opposite to the detection direction of each target light beam as a relative direction, and obtaining the difference distance between the current positioning point and the corresponding emission position point in the corresponding relative direction.
[0127] It is understandable that if Figure 2As shown, when the detection direction of the target light beam A1 is from left to right, the relative direction of the target light beam A1 is from right to left.
[0128] The phase difference distance is the distance between the current positioning point and the launch position point.
[0129] For example: when a person blocks target beam group No. 1, the phase difference distance corresponding to target beam A1 is the distance between the person's current position and the position point where target beam A1 is emitted on the detection device, and the phase difference distance corresponding to target beam B1 is the distance between the person's current position and the position point where target beam B1 is emitted on the detection device, wherein the target beams have one-to-one corresponding emission position points.
[0130] S323, determining a safe detection distance corresponding to the target light beam according to a difference between the phase difference distance and a preset detection distance corresponding to the dynamic detection area.
[0131] It can be understood that the safe detection distance is the difference between the phase difference distance and the preset detection distance, which is the normal distance theoretically detected by the detection device. For example, when the phase difference distance of the target beam A1 is 3.5m and the preset detection distance is 0.5m, the safe detection distance of the target beam A1 can be obtained as 3.5-0.5=3m. When the phase difference distance of the target beam B1 is 6.5m, the safe detection distance of the target beam B1 can be obtained as 6.5-0.5=6m.
[0132] Through the above implementation, the present invention can obtain the safe detection distance of the corresponding target light beam, so as to facilitate the subsequent calculation with the actual detection distance actually detected, so as to determine whether the corresponding target end position is abnormal.
[0133] S324, obtaining the actual detection distance of each target light beam, and obtaining the offset distance of the corresponding target light beam according to the difference between the safety detection distance and the actual detection distance.
[0134] It can be understood that the actual detection distance is the distance actually detected and received by the detection device, and the offset distance is the difference between the safe detection distance and the actual detection distance.
[0135] For example, when the actual detection distance of the target beam A1 is 3.2 m and the actual detection distance of the target beam B1 is 6 m, it can be obtained that the offset distance of the target beam A1 is 3.2-3=0.2 m and the offset distance of the target beam B1 is 6-6=0 m.
[0136] S325, when the offset distances are all within the reference offset interval, the target end is determined to be a pending end; when there is an offset distance that is not within the reference offset interval, the target end is determined to be an abnormal end.
[0137] It can be understood that the benchmark offset interval is a reference interval of the offset distance set in advance, such as (0, 0.5). When the offset distances of the two target light beams corresponding to the target end are both within the benchmark offset interval, it can be explained that currently only one person corresponding to the target end is entering or exiting, and the corresponding target end can be determined as a pending end to facilitate subsequent judgment. When the offset distance of a target light beam in the target light beam group is not within the benchmark offset interval, since the offset distance is too large, it can be explained that there may be multiple people entering or exiting, and the corresponding target end can be determined as an abnormal end.
[0138] For example: when the actual detection distance of target beam A1 is 3.2m and the actual detection distance of target beam B1 is 3m, it can be obtained that the offset distance of target beam A1 is 3.2-3=0.2m, and the offset distance of target beam B1 is 6-3=3m. When the reference offset interval is (0,0.5), since the offset distance of target beam B1 is 3m, which far exceeds the reference offset interval, it can be explained that at the current detection moment, multiple people enter and exit, thereby blocking the beam, so the corresponding target end can be regarded as an abnormal end.
[0139] S33, obtaining the shielding moment of each target light beam group corresponding to the pending end, and arranging each target light beam group according to the shielding moment to obtain an actual detection sequence.
[0140] It is understandable that when a person passes through the sensing area, the time when each target light beam group is blocked is different. Therefore, the target light beam groups can be arranged according to the acquired blocking moments to obtain an actual detection sequence.
[0141] The blocking moment is the moment when the light beam is blocked, and the actual detection sequence is the sequence after sorting the target light beam groups according to the actual blocking moment. For example, the actual detection sequence may be (opposite light beam group No. 1, opposite light beam group No. 2, opposite light beam group No. 3, opposite light beam group No. 4).
[0142] Through the above implementation, the present invention can obtain the actual detection sequence, so as to compare it with the detection time sequence later, so as to determine the normal end and the abnormal end.
[0143] S34, comparing the detection time sequence with the actual detection sequence, and when the detection time sequence is consistent with the actual detection sequence, determining that the pending end is a normal end.
[0144] It can be understood that when the detection time sequence of the pending end obtained according to the direction of movement is (No. 1 opposite beam group, No. 2 opposite beam group, No. 3 opposite beam group, No. 4 opposite beam group), and the actual detection sequence that is actually blocked determined according to the blocking moment of the opposite beam group in the detection device is (No. 1 opposite beam group, No. 2 opposite beam group, No. 3 opposite beam group, No. 4 opposite beam group), when the two sequences are consistent, it can be explained that the personnel are moving in the direction of movement and the distance detection is also normal, so the pending end can be determined to be a normal end.
[0145] S35, when the detection time sequence is inconsistent with the actual detection sequence, the pending end is determined to be an abnormal end, and detection data is obtained according to the normal end or the abnormal end.
[0146] It can be understood that when the detection time sequence of the pending end obtained according to the direction of movement is (No. 1 opposite beam group, No. 2 opposite beam group, No. 3 opposite beam group, No. 4 opposite beam group), and the actual detection sequence actually blocked according to the blocking time of the opposite beam group in the detection device is (No. 4 opposite beam group, No. 3 opposite beam group, No. 2 opposite beam group, No. 1 opposite beam group), when the two sequences are inconsistent, it can be explained that the person currently passing through the sensing area may be an intruder, so the pending end can be determined as an abnormal end. Among them, the detection data is the data actually detected by the detection device, including the actual detection distance and the actual detection sequence.
[0147] Through the above implementation, the present invention can determine the target end according to the actual detection sequence, thereby obtaining a normal end or an abnormal end.
[0148] S4, determining that the detection data that meets the abnormal detection condition is abnormal data, controlling the monitoring device to collect data according to the abnormal data, and obtaining warning data to send to the management end.
[0149] It can be understood that when the detection data meets the abnormal detection conditions, the detection data can be used as abnormal data, so that the monitoring equipment can be controlled to collect data, and then generate warning data and send it to the management end, so that the management personnel can take relevant measures in time according to the warning data to ensure the safety of the enclosure construction area.
[0150] Among them, the monitoring device is a device for information monitoring, which can be a camera; the management end is the terminal corresponding to the management personnel, which can be a mobile phone or a computer; the abnormal detection condition refers to the corresponding condition when the detection data is abnormal, such as the corresponding condition when the light beam distance detection is abnormal and / or the time detection is abnormal.
[0151] Based on the above embodiment, the specific implementation of step S4 (determining the detection data that meets the abnormal detection condition as abnormal data, controlling the monitoring device to collect data according to the abnormal data, and obtaining warning data and sending it to the management end) can be:
[0152] S41, when the abnormal end exists, determining whether the detection data satisfies the abnormality detection condition.
[0153] It can be understood that when there is an abnormal end, the light beam distance detection is abnormal and / or the time detection is abnormal, indicating that there is an abnormal entry and exit of personnel. Therefore, the detection data corresponding to the target end meets the abnormal detection conditions.
[0154] S42, determining a position point in the detection direction that is different from each of the emission position points by the actual detection distance as a shielding position point corresponding to the corresponding target light beam.
[0155] It can be understood that the shielding position point is a position point at an actual detection distance from the emission position point of the target light beam.
[0156] Through the above implementation, the present invention can determine the shielding position point of each target light beam, so as to facilitate the subsequent determination of the corresponding collection position point, thereby facilitating data collection.
[0157] S43, obtaining a center point adjacent to the blocking position point in the detection direction as a collection position point, and determining a collection posture of the monitoring device according to the collection position point, wherein the monitoring device includes a single monitoring device or a dual monitoring device.
[0158] It can be understood that the acquisition position point is the center point between adjacent occlusion position points in the detection direction, and the acquisition posture is the position posture of the monitoring device for shooting.
[0159] It is not difficult to understand that since the specifications of the detection areas may be different, a camera can be configured for data collection in areas with smaller specifications, that is, the above-mentioned single monitoring device, and two cameras can be configured for data collection in areas with larger specifications, that is, the above-mentioned dual monitoring device, so that the collected video data can be clearer and easier to view.
[0160] Among them, a single monitoring device is a single monitoring device, and a dual monitoring device is two monitoring devices.
[0161] Based on the above embodiment, the specific implementation of step S43 (obtaining the center point of the adjacent blocking position point in the detection direction as the acquisition position point, and determining the acquisition posture of the monitoring device according to the acquisition position point, and the monitoring device includes a single monitoring device or a dual monitoring device) can be:
[0162] S431: When the monitoring device is a single monitoring device, obtain a first position point of the single monitoring device, and determine a direction from the first position point to the blocking position point as a target acquisition direction.
[0163] It can be understood that the first position point is a position point where a single monitoring device is located, and the target acquisition direction is the direction in which the first position point points to the obstructed position point.
[0164] Through the above implementation, the present invention can obtain the target collection direction of a single monitoring device to facilitate subsequent data collection.
[0165] S432: When the monitoring device is a dual monitoring device, obtaining a second position point of each sub-monitoring device, the dual monitoring device includes a plurality of sub-monitoring devices.
[0166] It can be understood that the sub-monitoring device is one of the dual monitoring devices, and the second location point is the location point where the sub-monitoring device is located.
[0167] Through the above implementation, the present invention can obtain the second position point, so as to determine the abnormal distance later, thereby determining the data collection and monitoring equipment, and then obtain clear collection data for easy processing and observation.
[0168] S433: Determine the abnormal distance between each of the sub-monitoring devices and the abnormal end according to the second position point and the shielding position point.
[0169] It can be understood that the abnormal distance is the distance between the sub-monitoring device and the abnormal end.
[0170] For example: when the distance between the second position point and the obstruction position point of sub-monitoring device No. 1 is 8m, it can be determined that the abnormal distance between sub-monitoring device No. 1 and the abnormal end is 8m. When the distance between the second position point and the obstruction position point of sub-monitoring device No. 2 is 5m, it can be determined that the abnormal distance between sub-monitoring device No. 2 and the abnormal end is 5m.
[0171] Through the above implementation, the present invention can determine the abnormal distance corresponding to each sub-monitoring device and the abnormal end, so as to subsequently determine a suitable monitoring device for data collection.
[0172] S434: Determine the sub-monitoring device with the smallest abnormal distance as the target monitoring device, and determine the direction from the second position point to the blocking position point as the target acquisition direction.
[0173] It can be understood that selecting the sub-monitoring device with the smallest abnormal distance as the target monitoring device can make the distance between the shooting device and the shooting target closer, which can make the subsequently collected video data clearer and easier to view.
[0174] S435, determining a current acquisition direction of the monitoring device, acquiring a rotation angle from the current acquisition direction to the target acquisition direction, and determining an acquisition posture of the monitoring device according to the rotation angle.
[0175] It can be understood that the vertical angle of the monitoring device is preset manually, and it can be rotated in the horizontal direction. When rotating in the horizontal direction, the vertical angle remains fixed. The monitoring device can increase the monitoring area by rotating in the horizontal direction, and when an intruder appears later, the monitoring device can dynamically track and shoot the people in the monitoring area by rotating in the horizontal direction, so as to obtain clearer video data.
[0176] Among them, the current collection direction is the collection direction of the monitoring device at the current moment, and the rotation angle is the angle between the current collection direction and the target collection direction.
[0177] Through the above implementation, the present invention can determine the acquisition posture of the monitoring device to facilitate subsequent video acquisition.
[0178] S44, controlling the monitoring device to collect data based on the collected posture to obtain real-time monitoring data, performing warning processing on the real-time monitoring data, and obtaining warning data to send to the management terminal.
[0179] It can be understood that the real-time monitoring data is video data captured through real-time monitoring.
[0180] It is not difficult to understand that the collected real-time monitoring data is processed for warning, so that the warning data is sent to the management end, so that the management personnel can intuitively view the corresponding abnormal warning information prompts, and thus take relevant measures in time to ensure the safety of the area.
[0181] Based on the above embodiment, the specific implementation of step S44 (controlling the monitoring device to collect data based on the collected posture to obtain real-time monitoring data, performing warning processing on the real-time monitoring data, and obtaining warning data and sending it to the management end) can be:
[0182] S441, obtaining the real-time monitoring video collected by the monitoring device based on the collection posture, extracting multiple target object contours in the video frame corresponding to the real-time monitoring video, and the real-time monitoring data includes the real-time monitoring video.
[0183] It should be noted that the monitoring equipment obtains real-time monitoring video by tracking abnormal people entering and exiting. Since the monitoring equipment can capture images of a larger area, in order to view abnormal people more clearly, the people in the real-time monitoring video can be enlarged, so the outline of the people in the video can be extracted to facilitate subsequent image enlargement and viewing.
[0184] It can be understood that the real-time monitoring video is the video captured by the monitoring device through real-time monitoring, the video frame is a single-frame image frame in the real-time monitoring video, and the target object outline is the outline of the person in the video.
[0185] S442, determining the maximum horizontal axis coordinate value, the minimum horizontal axis coordinate value, the maximum vertical axis coordinate value and the minimum vertical axis coordinate value corresponding to the multiple target object contours.
[0186] It can be understood that a coordinate system can be established in the video frame to obtain the contour coordinates corresponding to the target object contour, and then determine the maximum horizontal axis coordinate value, minimum horizontal axis coordinate value, maximum vertical axis coordinate value and minimum vertical axis coordinate value of multiple contour coordinates corresponding to multiple target object contours in the video frame, so as to facilitate subsequent capture and enlargement.
[0187] Among them, the maximum horizontal axis coordinate value is the maximum horizontal axis value among multiple contour coordinates, the minimum horizontal axis coordinate value is the minimum horizontal axis value among multiple contour coordinates, the maximum vertical axis coordinate value is the maximum vertical axis value among multiple contour coordinates, and the minimum vertical axis coordinate value is the minimum vertical axis value among multiple contour coordinates.
[0188] S443, obtaining a first extreme value according to the sum of the maximum horizontal axis coordinate value and the reference offset value, and obtaining a second extreme value according to the difference between the minimum horizontal axis coordinate value and the reference offset value.
[0189] It is understandable that in order to display the enlarged image in a more standardized manner, a reference offset value can be set in advance so that there is a certain distance between the subsequent capture frame and the target object outline, and the area capture and display will not be close to the target object outline, which is easy to view.
[0190] Among them, the reference offset value is a pre-set distance value for offsetting the frame line of the person's external contour frame outward, the first extreme value is the sum of the maximum horizontal axis coordinate value and the reference offset value, and the second extreme value is the difference between the minimum horizontal axis coordinate value and the reference offset value.
[0191] For example, when the base offset value is 2, the maximum horizontal axis coordinate value is 20, and the minimum horizontal axis value is 5, the first extreme value is 20+2=22, and the second extreme value is 5-2=3.
[0192] S444: obtaining a third extreme value based on the sum of the maximum vertical axis coordinate value and the reference offset value, and obtaining a fourth extreme value based on the difference between the minimum vertical axis coordinate value and the reference offset value.
[0193] It can be understood that the third extreme value is the sum of the maximum longitudinal coordinate value and the reference offset value, and the fourth extreme value is the difference between the minimum longitudinal coordinate value and the reference offset value.
[0194] For example, when the base offset value is 2, the maximum vertical axis coordinate value is 15, and the minimum horizontal axis value is 5, the third extreme value is 15+2=17, and the fourth extreme value is 5-2=3.
[0195] S445, generating frame lines corresponding to the first extreme value, the second extreme value, the third extreme value and the fourth extreme value respectively, and generating an enlarged interception frame according to the frame lines.
[0196] It can be understood that the enlarged capture frame is a frame surrounded by four frame lines, so that the image therein can be captured and enlarged for display.
[0197] S446, obtaining a reference display area corresponding to the video frame and an image display area corresponding to the image region of the enlarged captured frame.
[0198] It can be understood that the reference display area is the area for displaying the video frame, and the image display area is the area of the image region where the enlarged capture frame is located.
[0199] Through the above implementation, the present invention can obtain the image display area, so as to compare it with the subsequent reference display area to obtain the corresponding magnification ratio, thereby performing magnified display.
[0200] S447, obtaining a magnification ratio according to a ratio of the reference display area to the image display area, and performing interception processing on the corresponding video frame based on the enlarged interception frame to obtain an intercepted video frame.
[0201] It is understandable that the magnification ratio is the ratio of the reference display area to the image display area, which may be two or three times.
[0202] Among them, Figure 3 , which is a schematic diagram of a capture process of a captured video frame provided by an embodiment of the present invention, wherein the captured video frame is a video frame of an image captured from a video frame.
[0203] Through the above implementation, the present invention can obtain the captured video frame to facilitate subsequent magnification processing, thereby facilitating warning processing.
[0204] S448, enlarging the captured video frame based on the enlargement ratio to obtain an enlarged video frame, displaying the enlarged video frame as a warning to obtain a warning video frame, splicing the warning video frames to obtain warning data and sending it to the management terminal.
[0205] It can be understood that after the captured video frame is enlarged, an enlarged video frame is obtained, and the abnormal person in the enlarged video frame is determined, so that the abnormal person in the video frame can be warned. For example, the image of the abnormal intruder can be framed to achieve the effect of highlighting the prompt. Finally, multiple warning video frames can be spliced in chronological order to obtain warning data, and send it to the management end, so that the management end can intuitively view the warning prompt information and take relevant protective measures in time.
[0206] The enlarged video frame is a video frame obtained by enlarging the captured video frame, the warning video frame is a video frame obtained by adding warning information to the enlarged video frame, and the warning data is video data obtained by splicing the warning video frames.
[0207] Based on the above embodiment, the specific implementation of step S448 (enlarging the captured video frame based on the enlargement ratio to obtain an enlarged video frame, displaying the enlarged video frame as a warning to obtain a warning video frame, splicing the warning video frames to obtain warning data and sending it to the management end) may be:
[0208] S4481, determining the maximum area distance of the dynamic detection area, and determining the number of warnings corresponding to the target light beam according to the ratio of the offset distance to the maximum area distance.
[0209] It can be understood that when multiple people enter and exit the fenced construction area at the same time, and there are people among them who belong to the construction area, the number of other intruders can be determined based on the detection data of the target end of the person, and the position of the abnormal person in the enlarged video frame can also be determined, and then a warning prompt can be issued.
[0210] It is not difficult to understand that when the offset distance of the target end is large, it can be indicated that there may be an intrusion of abnormal persons, so the number of corresponding abnormal persons can be determined according to the offset distance and the maximum area distance.
[0211] Among them, since the preset detection distance is half the distance of the dynamic detection area, the maximum area distance is twice the preset detection distance. For example, when the preset detection distance is 0.5m, the maximum area distance can be obtained as 0.5+0.5=1m, and the number of warnings is the number of warning prompts required.
[0212] It is worth mentioning that the number of warnings is obtained based on the ratio of the offset distance and the maximum area distance. When the ratio is not an integer, since there may be intervals between people, the ratio can be rounded down to obtain the number of warnings corresponding to the corresponding light beam.
[0213] S4482, counting the number of warnings to obtain a total number of warnings, counting the number of detections at the target end, and obtaining a standard number of warnings based on a difference between the total number of contours of the target object and the number of detections.
[0214] It can be understood that the total warning number is obtained by adding up the warning numbers corresponding to the two light beams in the target light beam group.
[0215] Among them, the total warning number is the sum of the warning numbers corresponding to each target beam in the target beam group corresponding to the target end, the detection number is the number of normal target ends, the total contour number is the number of target object contours in the video frame, and the standard warning number is the difference between the total contour number and the detection number.
[0216] It is not difficult to understand that the standard warning number is the number of warnings required, which is obtained by subtracting the number of actual normal target ends from the number of target contours in the video frame.
[0217] S4483, when the total warning quantity is equal to the standard warning quantity, obtaining the target direction corresponding to the detection direction of each target light beam in each of the enlarged video frames.
[0218] It is understandable that when the total number of warnings obtained based on the offset distance is equal to the standard number of warnings, it means that the determined number of abnormalities is normal, so the outline of the target object corresponding to the abnormal person can be determined, and a warning display can be performed.
[0219] Therefore, the detection direction of each target light beam in each enlarged video frame can be obtained as the target direction, so that a corresponding number of target contours can be selected for warning display according to the target direction.
[0220] S4484, selecting the corresponding target object contours as warning contours in sequence based on the corresponding target directions, until the number of contours of the warning contours is equal to the number of warnings of the corresponding target light beams, and then stopping the selection of the warning contours.
[0221] It can be understood that the target object contours are selected in sequence according to the target direction. When the number of contours is equal to the warning number of the corresponding target light beam, it can be said that the contours of abnormal people in the target direction corresponding to the target light beam have been selected, and the selection of warning contours can be stopped.
[0222] The number of contours is the number of warning contours.
[0223] For example, when the warning number of target light beam A is 1, one target object contour is selected from left to right as the warning contour.
[0224] It is understandable that since there may be a large number of people on the construction site, if the contours of abnormal people are identified through facial recognition from the beginning, a large amount of data processing may be required. Therefore, this solution will first judge the number of abnormal people based on the distance data, and select the corresponding contours of the abnormal people when it is judged to be normal, thereby reducing the amount of data processing and improving efficiency.
[0225] S4485, when the total warning quantity is not equal to the standard warning quantity, performing face recognition on each of the target object contours based on the identity database, and determining that a target object contour that does not have a preset identity in the identity database is a warning contour.
[0226] It is understandable that when the total number of warnings is not equal to the standard number of warnings, there is a deviation in the quantity calculation. In order to accurately determine the corresponding warning outline, facial recognition can be performed on the target object outline. When the facial information in the target object outline does not exist in the identity information database, it can be determined as an intruder, and the corresponding target object outline can be used as a warning outline to facilitate subsequent warning prompts, thereby improving the accuracy of the warning.
[0227] It should be noted that when personnel are normally working in the fenced construction area, the corresponding personnel information will be entered into the corresponding identity database for personnel identification, ensuring the safety of the fenced construction area and the management of personnel work.
[0228] Among them, the identity database is a database with identity information, and the preset identity is the identity information pre-set when a person enters the database.
[0229] S4486, generating a warning prompt box corresponding to each of the warning contours, performing a warning display on the enlarged video frame based on the warning prompt box, and obtaining warning data to send to the management end.
[0230] It can be understood that the warning prompt box is a box for warning prompts, and the warning prompt box can surround the warning outline so that the warning prompt box can display a warning to abnormal personnel, so that subsequent managers can intuitively view the information of the corresponding abnormal personnel when viewing the warning data, and take protective measures in time.
[0231] See also Figure 4 , is a structural diagram of a smart construction device based on data processing provided by an embodiment of the present invention. The data processing system of the smart construction device based on data processing includes:
[0232] A determination module, for determining, based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area as a target terminal, wherein the enclosure construction area includes a plurality of detection devices;
[0233] An acquisition module, used for acquiring a motion trajectory of the target end, and determining safety detection data corresponding to the target end according to the motion trajectory, wherein the safety detection data includes a dynamic detection area and a detection time series;
[0234] A detection module, used for controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data;
[0235] The collection module is used to determine that the detection data that meets the abnormal detection conditions is abnormal data, control the monitoring equipment to collect data according to the abnormal data, and obtain warning data to send to the management end.
[0236] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart construction method based on data processing, characterized in that: include: Based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area is determined as a target terminal, and the enclosure construction area includes a plurality of detection devices; Acquire the motion trajectory of the target end, and determine the security detection data corresponding to the target end according to the motion trajectory, wherein the security detection data includes a dynamic detection area and a detection time series; Controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data; Determine that the detection data that meets the abnormal detection conditions is abnormal data, control the monitoring device to collect data according to the abnormal data, and obtain warning data and send it to the management end; Determining detection data that meets the abnormality detection condition as abnormal data, controlling the monitoring device to collect data according to the abnormal data, and obtaining warning data to send to the management end, including: When there is an abnormal end, determining that the detection data meets the abnormality detection condition; Determine the position point in the detection direction that is different from each emission position point by an actual detection distance, as the shielding position point corresponding to the corresponding target light beam; Acquire a center point adjacent to the obstruction position point in the detection direction as a collection position point, and determine a collection posture of the monitoring device according to the collection position point, wherein the monitoring device includes a single monitoring device or a dual monitoring device; Control the monitoring device to collect data based on the collected posture to obtain real-time monitoring data, perform warning processing on the real-time monitoring data, and obtain warning data and send it to the management end; Controlling the monitoring device to collect data based on the collected posture to obtain real-time monitoring data, performing warning processing on the real-time monitoring data, and obtaining warning data to send to the management end, including: Acquire a real-time monitoring video collected by the monitoring device based on the collected posture, and extract multiple target object contours in a video frame corresponding to the real-time monitoring video, wherein the real-time monitoring data includes the real-time monitoring video; Determine a maximum horizontal axis coordinate value, a minimum horizontal axis coordinate value, a maximum vertical axis coordinate value, and a minimum vertical axis coordinate value among a plurality of contour coordinates corresponding to a plurality of contours of the target object; A first extreme value is obtained according to the sum of the maximum horizontal axis coordinate value and the reference offset value, and a second extreme value is obtained according to the difference between the minimum horizontal axis coordinate value and the reference offset value; A third extreme value is obtained based on the sum of the maximum longitudinal coordinate value and the reference offset value, and a fourth extreme value is obtained based on the difference between the minimum longitudinal coordinate value and the reference offset value; Generate frame lines corresponding to the first extreme value, the second extreme value, the third extreme value and the fourth extreme value respectively, and generate an enlarged interception frame according to the frame lines; Acquire a reference display area corresponding to the video frame and an image display area corresponding to the image area of the enlarged captured frame; Obtaining a magnification ratio according to a ratio of the reference display area to the image display area, and performing interception processing on the corresponding video frame based on the enlarged interception frame to obtain an intercepted video frame; The captured video frame is enlarged based on the enlargement ratio to obtain an enlarged video frame, the enlarged video frame is displayed as a warning to obtain a warning video frame, and the warning video frames are spliced to obtain warning data and sent to the management end.
2. The method according to claim 1, characterized in that Based on the positioning data of each user terminal, a user terminal that meets the enclosure detection conditions of the enclosure construction area is determined as a target terminal, and the enclosure construction area includes multiple detection devices, including: Acquire the preset detection area corresponding to each of the detection devices, determine that the user terminal whose positioning data is within the preset detection area meets the enclosure detection condition, and use the corresponding user terminal as the target terminal; Acquire the motion trajectory of the target end, and determine the security detection data corresponding to the target end according to the motion trajectory, wherein the security detection data includes a dynamic detection area and a detection time series, including: Determining a movement trajectory of the target end based on the positioning data of the target end in a historical time period; The moving direction of the target end is determined according to the moving trajectory, and when the moving direction meets the entry and exit detection condition, the safety detection data corresponding to the target end is determined based on the moving trajectory.
3. The method according to claim 2, characterized in that Determining a movement direction of the target end according to the movement trajectory, and when the movement direction meets the entry and exit detection condition, determining security detection data corresponding to the target end based on the movement trajectory, including: Determining the moving direction of the target end according to the tangent direction corresponding to each positioning point in the moving trajectory; Acquire a sensing area corresponding to the detection device, and when the movement direction points to the sensing area, determine that the movement direction meets the entry and exit detection condition; Determine the current positioning point of the target end according to the positioning data, and determine the area corresponding to the preset detection distance as the dynamic detection area corresponding to the target end with the current positioning point as the center; A plurality of opposing light beam groups corresponding to the detection device are obtained, and each of the opposing light beam groups is arranged according to the movement direction to obtain a detection time sequence.
4. The method according to claim 3, characterized in that: Controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data, including: When there is the shielding information of the corresponding incident light beam group, determining the corresponding incident light beam group as the target light beam group; Determine the safety detection distance corresponding to the target light beam group according to the dynamic detection area, and make a safety determination of the obstruction on the target end based on the safety detection distance to obtain a pending end or an abnormal end; Acquire the shielding moment of each target light beam group corresponding to the pending end, arrange each target light beam group according to the shielding moment, and obtain an actual detection sequence; Comparing the detection time sequence with the actual detection sequence, and when the detection time sequence is consistent with the actual detection sequence, determining that the pending end is a normal end; When the detection time sequence is inconsistent with the actual detection sequence, the pending end is determined to be an abnormal end, and detection data is obtained according to the normal end or the abnormal end.
5. The method according to claim 4, characterized in that Determining the safety detection distance corresponding to the target light beam group according to the dynamic detection area, and performing a safety determination of an obstruction on the target end based on the safety detection distance to obtain a pending end or an abnormal end, including: Acquire an emission position point corresponding to each target light beam in the target light beam group, wherein the target light beam group includes two target light beams with opposite detection directions; Determine the direction opposite to the detection direction of each target light beam as a relative direction, and obtain the difference distance between the current positioning point and the corresponding emission position point in the corresponding relative direction; Determine the safe detection distance corresponding to the target light beam according to the difference between the phase difference distance and the preset detection distance corresponding to the dynamic detection area; Acquire the actual detection distance of each target light beam, and obtain the offset distance of the corresponding target light beam according to the difference between the safety detection distance and the actual detection distance; When the offset distances are all within the reference offset interval, the target end is determined to be a pending end; when there is an offset distance that is not within the reference offset interval, the target end is determined to be an abnormal end.
6. The method according to claim 1, characterized in that The center point of the adjacent occlusion position point in the detection direction is obtained as a collection position point, and the collection posture of the monitoring device is determined according to the collection position point, wherein the monitoring device includes a single monitoring device or a dual monitoring device, including: When the monitoring device is a single monitoring device, a first position point of the single monitoring device is obtained, and a direction from the first position point to the shielding position point is determined as a target acquisition direction; or, When the monitoring device is a dual monitoring device, obtaining a second position point of each sub-monitoring device, and the dual monitoring device includes a plurality of sub-monitoring devices; Determine, according to the second position point and the shielding position point, an abnormal distance corresponding to each of the sub-monitoring devices and the abnormal end; Determine the sub-monitoring device with the smallest abnormal distance as the target monitoring device, and determine the direction from the second position point to the blocking position point as the target acquisition direction; Determine a current acquisition direction of the monitoring device, obtain a rotation angle from the current acquisition direction to the target acquisition direction, and determine an acquisition posture of the monitoring device according to the rotation angle.
7. The method according to claim 1, characterized in that The method of enlarging the captured video frame based on the enlargement ratio to obtain an enlarged video frame, displaying the enlarged video frame as a warning to obtain a warning video frame, and splicing the warning video frames to obtain warning data and sending it to the management end includes: Determine the maximum area distance of the dynamic detection area, and determine the number of warnings corresponding to the target light beam according to the ratio of the offset distance to the maximum area distance; The number of warnings is counted to obtain a total number of warnings, the number of detections at the target end is counted, and a standard number of warnings is obtained according to a difference between the total number of contours of the target object and the number of detections; When the total warning number is equal to the standard warning number, obtaining the target direction corresponding to the detection direction of each target light beam in each of the amplified video frames; Selecting corresponding target contours as warning contours in sequence based on the corresponding target directions, until the number of contours of the warning contours is equal to the number of warnings of the corresponding target light beams, and then stopping the selection of the warning contours; When the total warning quantity is not equal to the standard warning quantity, performing face recognition on each of the target object contours based on the identity database, and determining that the target object contour without a preset identity in the identity database is a warning contour; A warning prompt box corresponding to each of the warning contours is generated, and a warning display is performed on the enlarged video frame based on the warning prompt box, and the obtained warning data is sent to the management end.
8. A smart construction device for the smart construction method based on data processing as claimed in claim 1, characterized in that: include: A determination module, for determining, based on the positioning data of each user terminal, a user terminal that meets the enclosure detection condition of the enclosure construction area as a target terminal, wherein the enclosure construction area includes a plurality of detection devices; An acquisition module, used for acquiring a motion trajectory of the target end, and determining safety detection data corresponding to the target end according to the motion trajectory, wherein the safety detection data includes a dynamic detection area and a detection time series; A detection module, used for controlling the corresponding detection device to perform intrusion detection on the target end based on the security detection data to obtain detection data; The collection module is used to determine that the detection data that meets the abnormal detection conditions is abnormal data, control the monitoring equipment to collect data according to the abnormal data, and obtain warning data to send to the management end.
Citation Information
Patent Citations
Tunnel safety management method, device and system based on UWB positioning dynamic fence
CN110035390A