Intelligent monitoring security system and method based on Internet of Things
By constructing a three-dimensional model of the building area and using IoT devices to monitor the status, the existing technology problems of being unable to monitor targets that are not within the area and low query efficiency are solved, and real-time monitoring and efficient query of target motion trajectories are achieved.
Patent Information
- Application Number
- CN202311493528.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-11-10
AI Technical Summary
The existing monitoring system cannot monitor targets that are not within the monitoring area, and cannot know the target's activity trajectory in the monitoring area in real time, resulting in extremely low efficiency in subsequent queries.
By constructing a three-dimensional model of the building area, using the monitoring status of the Internet of Things equipment to create target information, collecting target data according to the preset time step, determining the target location, and recording the target trajectory in the three-dimensional model, real-time monitoring and control of the target movement trajectory is achieved. storage.
Real-time position monitoring and trajectory recording of targets in the monitoring area are realized, which improves the efficiency of subsequent queries and can directly retrieve trajectory data based on target association.
Smart Images

Figure CN117541984B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent security technology, and in particular relates to an intelligent monitoring security system and method based on the Internet of Things. Background Art
[0002] Smart security refers to the information technology of services, image transmission and storage technology. It should have anti-theft alarm system, video surveillance alarm system, access control alarm system, security personnel patrol alarm system, GPS vehicle alarm management system and 110 alarm network transmission system, etc.
[0003] In the current monitoring system, video can only be collected within the monitoring range. The monitoring equipment does not have perfect coverage. Targets that are not in the monitoring area cannot be monitored, and the activity tracks of each target in the monitoring area cannot be known. In the subsequent target query process, frame-by-frame query is required, which is extremely inefficient. Summary of the invention
[0004] The purpose of the present invention is to provide an intelligent monitoring and security method based on the Internet of Things, which aims to solve the problem that targets that are not in the monitoring area cannot be monitored, and the activity tracks of each target in the monitoring area cannot be known. In the subsequent target query process, frame-by-frame query is required, which is extremely inefficient.
[0005] The present invention is implemented in this way: an intelligent monitoring and security method based on the Internet of Things, the method comprising:
[0006] Constructing a monitoring area map, constructing a three-dimensional model of the building area based on the building area map, and determining each monitoring area based on the three-dimensional model of the building area, wherein the three-dimensional model of the building area at least includes a building model, a road model, and a monitoring area model;
[0007] Obtain the monitoring status of IoT devices, create target information based on the monitoring status, and create different target information storage types for different targets;
[0008] Collect target data according to a preset time step, locate the target based on the target data, and determine the target position;
[0009] The three-dimensional model of the building area is marked based on the target location. When the target leaves the monitoring area based on the monitoring status of the IoT device, the target trajectory monitoring data is generated and stored.
[0010] Preferably, the steps of obtaining the monitoring status of the IoT device, creating target information based on the monitoring status, and creating different target information storage types for different targets specifically include:
[0011] Receive status data of IoT devices, determine whether a target has entered based on the status data, and receive target detection data;
[0012] Determine the target type based on the target detection data, and create target information, wherein the target information includes target type information, target entry time information, and target entry mode information;
[0013] A plurality of storage areas are created based on the target information storage type, and different storage areas store different information data, wherein the information data at least includes image data and three-dimensional coordinate data.
[0014] Preferably, the step of collecting target data according to a preset time step, locating the target based on the target data, and determining the target position specifically includes:
[0015] Obtain target data from each IoT device according to a preset time step;
[0016] Extract signal strength data from target data, perform multi-party distance calculation based on the signal strength data, and obtain a distance calculation result;
[0017] Based on the distance calculation results, a target location area is constructed in the three-dimensional model of the building area, and the target location is determined according to the overlapping relationship between the target location areas.
[0018] Preferably, the step of marking the position of the three-dimensional model of the building area based on the target position, and generating and storing target trajectory monitoring data when determining that the target leaves the monitoring area based on the monitoring status of the Internet of Things device specifically includes:
[0019] Construct a three-dimensional coordinate system based on the three-dimensional model of the building area, and determine a three-dimensional coordinate based on each target position;
[0020] The IoT device identifies the time when the target enters the monitoring area and the time when it leaves the monitoring area, and obtains the monitoring interval segment;
[0021] The three-dimensional coordinates of the target at each moment within the monitoring time period are recorded, and the target trajectory monitoring data is generated and stored.
[0022] Preferably, the following formula is used for multi-party distance calculation:
[0023]
[0024] Among them, P is the calculated distance value, Si is the signal strength value, w is the signal strength per unit distance, and k is the environmental attenuation factor.
[0025] Another object of the present invention is to provide an intelligent monitoring and security system based on the Internet of Things, the system comprising:
[0026] A model building module, used to build a monitoring area map, build a three-dimensional model of the building area based on the building area map, and determine each monitoring area based on the three-dimensional model of the building area, wherein the three-dimensional model of the building area at least includes a building model, a road model and a monitoring area model;
[0027] The target recognition module is used to obtain the monitoring status of the IoT device, create target information based on the monitoring status, and create different target information storage types for different targets;
[0028] A target positioning module is used to collect target data according to a preset time step, locate the target based on the target data, and determine the target position;
[0029] The trajectory recording module is used to mark the location of the three-dimensional model of the building area based on the target location, and to generate and store target trajectory monitoring data when it is determined that the target has left the monitoring area based on the monitoring status of the Internet of Things device.
[0030] Preferably, the target recognition module includes:
[0031] A status monitoring unit, used to receive status data of the IoT device, determine whether a target has entered based on the status data, and receive target detection data;
[0032] A target information recording unit, used to determine the target type based on the target detection data and create target information, wherein the target information includes target type information, target entry time information and target entry mode information;
[0033] The target information storage unit is used to create multiple storage areas based on the target information storage type, and different storage areas store different information data, and the information data at least includes image data and three-dimensional coordinate data.
[0034] Preferably, the target positioning module includes:
[0035] A target data acquisition unit, used to acquire target data from each IoT device according to a preset time step;
[0036] A distance calculation unit, used to extract signal strength data from target data, perform multi-party distance calculation based on the signal strength data, and obtain a distance calculation result;
[0037] The position recognition unit is used to construct a target position area in the three-dimensional model of the building area based on the distance calculation result, and determine the target position according to the overlapping relationship between the target position areas.
[0038] Preferably, the track recording module includes:
[0039] A coordinate conversion unit, used for constructing a three-dimensional coordinate system based on the three-dimensional model of the building area, and determining a three-dimensional coordinate based on each target position;
[0040] An interval identification unit is used to identify the time when the target enters the monitoring area and the time when the target leaves the monitoring area through the Internet of Things device to obtain a monitoring interval segment;
[0041] The data recording unit is used to record the three-dimensional coordinates of the target at each moment within the monitoring time period, generate target trajectory monitoring data, and store it.
[0042] Preferably, the following formula is used for multi-party distance calculation:
[0043]
[0044] Among them, P is the calculated distance value, Si is the signal strength value, w is the signal strength per unit distance, and k is the environmental attenuation factor.
[0045] The intelligent monitoring and security method based on the Internet of Things provided by the present invention continuously monitors the target through multiple Internet of Things devices set up in the monitoring area, and continuously measures the position of the target, so as to determine the position of the target in the three-dimensional model, realize real-time recording of the target movement trajectory, and when it is needed to be retrieved later, the trajectory is directly retrieved according to the relationship between the targets, which greatly improves the efficiency of information query. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A flowchart of an intelligent monitoring and security method based on the Internet of Things provided by an embodiment of the present invention;
[0047] Figure 2 A flowchart of the steps of obtaining the monitoring status of an Internet of Things device, creating target information based on the monitoring status, and creating different target information storage types for different targets provided by an embodiment of the present invention;
[0048] Figure 3 A flowchart of the steps of collecting target data according to a preset time step, locating the target based on the target data, and determining the target position provided by an embodiment of the present invention;
[0049] Figure 4 A flowchart of the steps of marking the position of a three-dimensional model of a building area based on the target position, generating and storing target trajectory monitoring data when determining that the target has left the monitoring area based on the monitoring status of an Internet of Things device provided in an embodiment of the present invention;
[0050] Figure 5 An architecture diagram of an intelligent monitoring and security system based on the Internet of Things provided by an embodiment of the present invention;
[0051] Figure 6 An architecture diagram of a target recognition module provided by an embodiment of the present invention;
[0052] Figure 7 An architecture diagram of a target positioning module provided by an embodiment of the present invention;
[0053] Figure 8 An architecture diagram of a trajectory recording module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0055] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script.
[0056] like Figure 1 FIG. 1 is a flow chart of an intelligent monitoring and security method based on the Internet of Things provided by an embodiment of the present invention, and the method includes:
[0057] S100, constructing a monitoring area map, constructing a three-dimensional building area model based on the building area map, and determining each monitoring area based on the three-dimensional building area model, wherein the three-dimensional building area model at least includes a building model, a road model, and a monitoring area model.
[0058] In this step, a monitoring area map is constructed, map information of the area that needs to be monitored and protected is collected, a monitoring area map is constructed, a two-dimensional plan is constructed according to the locations of roads and buildings in the monitoring area map, the structure of each building in the two-dimensional plan is determined, and a three-dimensional model of the building area is constructed in the three-dimensional software. A three-dimensional model of each building is constructed in the three-dimensional model of the building area. For the area that needs to be monitored and protected, gates are provided at the entrances and exits, and the gates are equipped with vehicle recognition and portrait recognition functions. Within the monitoring range, multiple cameras are provided, and the cameras have at least one short-range wireless communication module, such as a Bluetooth communication module or a WIFI communication module. Cameras are also provided inside the building. In the three-dimensional model of the building area, each camera is modeled to determine the specific location of the camera in the three-dimensional model of the building area. Furthermore, the monitoring area of each camera in the three-dimensional model of the building area can be determined based on the image acquisition angle and installation angle of the camera to obtain the three-dimensional model of the building area.
[0059] S200, obtaining the monitoring status of the IoT device, creating target information based on the monitoring status, and creating different target information storage types for different targets.
[0060] In this step, the monitoring status of the Internet of Things device is obtained. The Internet of Things device is a gate. When a person or a vehicle passes through the gate, information is recorded. If only a person enters, the portrait information is recorded. If a vehicle enters, the license plate information needs to be recorded. Regardless of whether it is a person or a vehicle entering, when they enter, wireless communication signals are recorded to identify and detect all wireless communication devices. The above-mentioned wireless communication devices include vehicle-mounted equipment and mobile devices carried by people and other devices with wireless communication functions. When only people enter, the information that needs to be stored is the portrait information and the location information corresponding to the wireless communication equipment. When a vehicle enters, the license plate information needs to be additionally stored. Regardless of whether it is a person or a vehicle entering, the vehicle and wireless communication equipment corresponding to the person entering at this time are bound.
[0061] S300, collecting target data according to a preset time step, locating the target based on the target data, and determining the target position.
[0062] In this step, target data is collected according to a preset time step, and the time step is determined according to the accuracy of the target trajectory to be obtained. The higher the accuracy, the smaller the time step. For example, target data collection is performed every ten seconds. During target data collection, all cameras in the area that needs to be monitored and protected perform a signal detection through their wireless communication modules, and record the signal strength of each wireless communication signal, that is, multiple target data are obtained. The target data are bound based on their positional relationship, and the distance between the target and each IoT device is determined based on the signal strength recorded in each target data, thereby determining the position of the target in the three-dimensional model of the building area.
[0063] S400, marking the location of the three-dimensional model of the building area based on the target location, and generating and storing target trajectory monitoring data when determining that the target leaves the monitoring area based on the monitoring status of the Internet of Things device.
[0064] In this step, the three-dimensional model of the building area is marked based on the target position. In order to record the position of the target, a three-dimensional coordinate system is constructed based on the three-dimensional model of the building area. The three-dimensional model of the building area is created in proportion in the three-dimensional coordinate system. Each target position can be represented by a set of three-dimensional coordinates. In the process of continuous detection, the target position is continuously updated, so that when the target is in the area that needs to be monitored and secured, a trajectory of the target's movement will be formed. When the target leaves, the trajectory record for the target is completed and stored.
[0065] In this embodiment, when it is necessary to query a certain person or vehicle, the target data bound to it is determined based on the portrait information or license plate information, and then the corresponding target trajectory monitoring data can be extracted. Based on the target trajectory monitoring data and the three-dimensional model of the building area, the movement trajectory of the target in the historical process can be reproduced. If monitoring verification is required, the corresponding position and the video data collected by the corresponding camera can be extracted according to the time point and the three-dimensional model of the building area, which greatly improves the efficiency of information search.
[0066] like Figure 2 As shown, as a preferred embodiment of the present invention, the steps of obtaining the monitoring status of the IoT device, creating target information based on the monitoring status, and creating different target information storage types for different targets specifically include:
[0067] S201, receiving status data of an IoT device, determining whether a target has entered based on the status data, and receiving target detection data.
[0068] In this step, the status data of the Internet of Things device is received. When the gate detects that a person or a vehicle passes through, target judgment is started to determine whether it is a vehicle or a person entering. After determination, the license plate information of the vehicle is collected, and the portrait information of the person is collected. In the present invention, a data processing center is set up, and the video data collected by all cameras and the information collected by the Internet of Things devices are sent to the data processing center for unified processing. After the Internet of Things device completes data collection, the target detection data is sent to the data processing center.
[0069] S202, determining the target type based on the target detection data, and creating target information, wherein the target information includes target type information, target entry time information, and target entry mode information.
[0070] S203, creating multiple storage areas based on the target information storage type, where different storage areas store different information data, and the information data at least includes image data and three-dimensional coordinate data.
[0071] In this step, the target type is determined based on the target detection data, and target information is created, that is, the target information that needs to be stored is determined. The target information includes target type information, target entry time information, and target entry method information. The target type is vehicle and / or person. A storage area is created, and an independent storage area is set to store portrait information and license plate information. In addition, a storage area is designated to store information data, wherein the image data is the person image data and vehicle image data acquired by the camera, and the three-dimensional coordinate data is the data used to characterize the target position when the target position is subsequently identified.
[0072] like Figure 3 As shown, as a preferred embodiment of the present invention, the steps of collecting target data according to a preset time step, locating the target based on the target data, and determining the target position specifically include:
[0073] S301, obtaining target data from each IoT device according to a preset time step.
[0074] In this step, target data is obtained from each IoT device according to a preset time step. The IoT devices include at least a gate and a camera. Target data is obtained from the gate and the camera according to a preset time step. The target data includes both the video data collected by the camera and the wireless signal strength of each wireless communication device collected by the short-range wireless communication module.
[0075] S302, extracting signal strength data from the target data, performing multi-party distance calculation based on the signal strength data, and obtaining a distance calculation result.
[0076] In this step, the signal strength data is extracted from the target data. If the collected signal is a Bluetooth signal, the signal strength data is the Bluetooth signal strength. If the collected signal is a WIFI signal, the signal strength data is the WIFI signal strength. The following formula is used for multi-party distance calculation:
[0077]
[0078] Among them, P is the distance calculation value, Si is the signal strength value, w is the signal strength per unit distance, and k is the environmental attenuation factor;
[0079] Take a target as an example. The person carries a mobile device. After the person enters the monitored area, within an information collection cycle, the Bluetooth communication modules in three cameras detect the Bluetooth signal of the mobile device, and the strength values of the three Bluetooth signals are obtained. The above Bluetooth signal strength values are substituted into the above calculation formula to determine the distance between the mobile device and the corresponding camera, which is the distance calculation result.
[0080] S303: constructing a target location area in the three-dimensional model of the building area based on the distance calculation result, and determining the target location according to the overlapping relationship between the target location areas.
[0081] In this step, a target location area is constructed in the three-dimensional model of the building area based on the distance calculation result. The distance obtained by measuring the distance using the Bluetooth signal strength is the distance between the mobile device and the Bluetooth module, which is a spherical area in space. The spherical area is marked in the three-dimensional model of the building area, which is the target location area. The target location area is a spherical area with a radius equal to the distance calculation value. If three Bluetooth modules detect the same device, then three target location areas can be determined in the three-dimensional model of the building area. The number of target location areas can be multiple. The overlapping areas between the multiple target location areas are determined, and the projection of the overlapping area on the ground included in the three-dimensional model of the building area is determined. The center of the projection is determined, and the center is regarded as the target location. If the number of target location areas is 1, the target location area is directly used as the overlapping area. When there are multiple target location areas, and there is a target location area that does not overlap with other target location areas, the non-overlapping target location area is discarded.
[0082] like Figure 4 As shown, as a preferred embodiment of the present invention, the steps of marking the position of the three-dimensional model of the building area based on the target position, determining that the target leaves the monitoring area based on the monitoring status of the Internet of Things device, generating target trajectory monitoring data, and storing the data specifically include:
[0083] S401, constructing a three-dimensional coordinate system based on the three-dimensional model of the building area, and determining a three-dimensional coordinate based on each target position.
[0084] In this step, a three-dimensional coordinate system is constructed based on the three-dimensional model of the building area, and the three-dimensional model of the building area is drawn in the three-dimensional coordinate system, so that each target position is represented by a three-dimensional coordinate. Then, in the three-dimensional coordinate system, the scale of the created three-dimensional model of the building area is 1:1. Similarly, in the three-dimensional coordinate system, the coordinates of each IoT device are recorded.
[0085] S402, using the IoT device to identify the time when the target enters and leaves the monitoring area, and obtain a monitoring interval.
[0086] S403, recording the three-dimensional coordinates of the target at each moment in the monitoring time period, generating and storing target trajectory monitoring data.
[0087] In this step, the IoT device is used to identify the time when the target enters and leaves the monitoring area. When a person is detected leaving through the gate, the information record of the person is completed. The movement trajectory of the person during the activity is stored in the form of target trajectory monitoring data. In the target trajectory monitoring data, the movement trajectory of the wireless communication device corresponding to the person and the time corresponding to any point on the movement trajectory of the wireless communication device are recorded.
[0088] like Figure 5 As shown, an intelligent monitoring and security system based on the Internet of Things provided by an embodiment of the present invention includes:
[0089] The model building module 100 is used to build a monitoring area map, build a three-dimensional building area model based on the building area map, and determine each monitoring area based on the three-dimensional building area model. The three-dimensional building area model at least includes a building model, a road model and a monitoring area model.
[0090] In this system, the model building module 100 builds a monitoring area map, collects map information for the area that needs to be monitored and protected, builds a monitoring area map, builds a two-dimensional plan according to the location of the roads and buildings in the monitoring area map, determines the structure of each building in the two-dimensional plan, and thus builds a three-dimensional model of the building area in the three-dimensional software. The three-dimensional model of each building is built in the three-dimensional model of the building area. For the area that needs to be monitored and protected, the entrances and exits are all equipped with gates, and the gates are equipped with vehicle recognition and portrait recognition functions. Within the monitoring range, multiple cameras are set up, and the cameras have at least one short-range wireless communication module, such as a Bluetooth communication module or a WIFI communication module. Cameras are also set up inside the building. In the three-dimensional model of the building area, each camera is modeled to determine the specific position of the camera in the three-dimensional model of the building area. Furthermore, the monitoring area of each camera in the three-dimensional model of the building area can be determined based on the image acquisition angle and installation angle of the camera to obtain the three-dimensional model of the building area.
[0091] The target identification module 200 is used to obtain the monitoring status of the IoT device, create target information based on the monitoring status, and create different target information storage types for different targets.
[0092] In this system, the target recognition module 200 obtains the monitoring status of the Internet of Things device, which is the gate. When a person or a vehicle passes through the gate, information is recorded. If only a person enters, the portrait information is recorded. If a vehicle enters, the license plate information needs to be recorded. Regardless of whether it is a person or a vehicle entering, when they enter, wireless communication signals are recorded to identify and detect all wireless communication devices. The above-mentioned wireless communication devices include vehicle-mounted equipment and mobile devices carried by people and other devices with wireless communication functions. When only people enter, the information that needs to be stored is the portrait information and the location information corresponding to the wireless communication device. When a vehicle enters, the license plate information needs to be additionally stored. Regardless of whether it is a person or a vehicle entering, the vehicle and wireless communication device corresponding to the person entering at this time are bound.
[0093] The target positioning module 300 is used to collect target data according to a preset time step, locate the target based on the target data, and determine the target position.
[0094] In this system, the target positioning module 300 collects target data according to a preset time step. The time step is determined according to the accuracy of the target trajectory to be obtained. The higher the accuracy, the smaller the time step. For example, target data collection is performed every ten seconds. During target data collection, all cameras in the area that needs to be monitored and protected perform a signal detection through their wireless communication modules, and record the signal strength of each wireless communication signal, that is, multiple target data are obtained. The target data are bound based on the positional relationship of the target data, and the distance between the target and each IoT device is determined based on the signal strength recorded in each target data, thereby determining the position of the target in the three-dimensional model of the building area.
[0095] The trajectory recording module 400 is used to mark the location of the three-dimensional model of the building area based on the target location, and when it is determined based on the monitoring status of the Internet of Things device that the target leaves the monitoring area, generate and store target trajectory monitoring data.
[0096] In this system, the trajectory recording module 400 marks the position of the three-dimensional model of the building area based on the target position. In order to record the position of the target, a three-dimensional coordinate system is constructed according to the three-dimensional model of the building area. The three-dimensional model of the building area is created in proportion in the three-dimensional coordinate system. Each target position can be represented by a set of three-dimensional coordinates. In the process of continuous detection, the target position is continuously updated, so that when the target is in the area that needs to be monitored and secured, a trajectory of the target's movement will be formed. When the target leaves, the trajectory record for the target is completed and stored.
[0097] like Figure 6 As a preferred embodiment of the present invention, the target recognition module 200 includes:
[0098] The state monitoring unit 201 is used to receive the state data of the IoT device, determine whether a target enters based on the state data, and receive target detection data.
[0099] In this module, the status monitoring unit 201 receives the status data of the Internet of Things device. When the gate detects that a person or a vehicle passes through, it starts to perform target judgment to determine whether it is a vehicle or a person entering. After determination, the license plate information of the vehicle is collected and the portrait information of the person is collected. In the present invention, a data processing center is set up, and the video data collected by all cameras and the information collected by the Internet of Things devices are sent to the data processing center for unified processing. After the Internet of Things device completes data collection, the target detection data is sent to the data processing center.
[0100] The target information recording unit 202 is used to determine the target type based on the target detection data and create target information, wherein the target information includes target type information, target entry time information and target entry mode information.
[0101] The target information storage unit 203 is used to create multiple storage areas based on the target information storage type, and different storage areas store different information data, and the information data at least includes image data and three-dimensional coordinate data.
[0102] In this module, the target information recording unit 202 determines the target type based on the target detection data and creates target information, that is, determines the target information that needs to be stored, the target information includes target type information, target entry time information and target entry method information, the target type is vehicle and / or personnel, creates a storage area, sets up an independent storage area to store portrait information and license plate information, and separately demarcates a storage area to store information data, wherein the image data is the personnel image data and vehicle image data acquired by the camera, and the three-dimensional coordinate data is the data used to characterize the target position generated when the target position is subsequently identified.
[0103] like Figure 7 As a preferred embodiment of the present invention, the target positioning module 300 includes:
[0104] The target data acquisition unit 301 is used to acquire target data from each IoT device according to a preset time step.
[0105] In this module, the target data acquisition unit 301 acquires target data from each IoT device according to a preset time step. The IoT devices include at least a gate and a camera. The target data is acquired from the gate and the camera according to a preset time step. The target data includes both the video data collected by the camera and the wireless signal strength of each wireless communication device collected by the short-range wireless communication module.
[0106] The distance calculation unit 302 is used to extract signal strength data from the target data, perform multi-party distance calculation based on the signal strength data, and obtain a distance calculation result.
[0107] In this module, the distance calculation unit 302 extracts signal strength data from the target data. If the collected signal is a Bluetooth signal, the signal strength data is the Bluetooth signal strength. If the collected signal is a WIFI signal, the signal strength data is the WIFI signal strength. The following formula is used for multi-party distance calculation:
[0108]
[0109] Among them, P is the distance calculation value, Si is the signal strength value, w is the signal strength per unit distance, and k is the environmental attenuation factor;
[0110] Take a target as an example. The person carries a mobile device. After the person enters the monitored area, within an information collection cycle, the Bluetooth communication modules in three cameras detect the Bluetooth signal of the mobile device, and the strength values of the three Bluetooth signals are obtained. The above Bluetooth signal strength values are substituted into the above calculation formula to determine the distance between the mobile device and the corresponding camera, which is the distance calculation result.
[0111] The position identification unit 303 is used to construct a target position area in the three-dimensional model of the building area based on the distance calculation result, and determine the target position according to the overlapping relationship between the target position areas.
[0112] In this module, the position identification unit 303 constructs a target position area in the three-dimensional model of the building area based on the distance calculation result. The distance obtained by measuring the distance through the Bluetooth signal strength is the distance between the mobile device and the Bluetooth module, which is a spherical area in space. The spherical area is marked in the three-dimensional model of the building area, which is the target position area. The target position area is a spherical area with a radius equal to the distance calculation value. If three Bluetooth modules detect the same device, then three target position areas can be determined in the three-dimensional model of the building area. The number of target position areas can be multiple, and the overlapping areas between the multiple target position areas are determined. The projection of the overlapping area on the ground included in the three-dimensional model of the building area is determined, and the center of the projection is determined. The center is regarded as the target position. If the number of target position areas is 1, the target position area is directly used as the overlapping area. When there are multiple target position areas, and there is a target position area that does not overlap with other target position areas, the non-overlapping target position area is discarded.
[0113] like Figure 8 As a preferred embodiment of the present invention, the track recording module 400 includes:
[0114] The coordinate conversion unit 401 is used to construct a three-dimensional coordinate system based on the three-dimensional model of the building area and determine a three-dimensional coordinate based on each target position.
[0115] In this module, the coordinate conversion unit 401 constructs a three-dimensional coordinate system based on the three-dimensional model of the building area, and draws the three-dimensional model of the building area in the three-dimensional coordinate system, so that each target position is represented by a three-dimensional coordinate. Then, in the three-dimensional coordinate system, the scale of the created three-dimensional model of the building area is 1:1. Similarly, in the three-dimensional coordinate system, the coordinates of each Internet of Things device are recorded.
[0116] The interval identification unit 402 is used to identify the time when the target enters the monitoring area and the time when the target leaves the monitoring area through the Internet of Things device to obtain the monitoring interval segment.
[0117] The data recording unit 403 is used to record the three-dimensional coordinates of the target at each time within the monitoring time period, generate target trajectory monitoring data, and store it.
[0118] In this module, the IoT device is used to identify the time when the target enters and leaves the monitoring area. When a person is detected leaving through the gate, the information record of the person is completed. The movement trajectory of the person during the activity is stored in the form of target trajectory monitoring data. In the target trajectory monitoring data, the movement trajectory of the wireless communication device corresponding to the person and the time corresponding to any point on the movement trajectory of the wireless communication device are recorded.
[0119] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0120] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0121] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0122] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0123] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent monitoring and security method based on the Internet of Things, characterized in that: The method comprises: Constructing a monitoring area map, constructing a three-dimensional model of the building area based on the building area map, and determining each monitoring area based on the three-dimensional model of the building area, wherein the three-dimensional model of the building area at least includes a building model, a road model, and a monitoring area model; Obtain the monitoring status of IoT devices, create target information based on the monitoring status, and create different target information storage types for different targets; Collect target data according to a preset time step, locate the target based on the target data, and determine the target position; Mark the location of the three-dimensional model of the building area based on the target location, and generate and store target trajectory monitoring data when the target leaves the monitoring area based on the monitoring status of the IoT device; The steps of obtaining the monitoring status of the IoT device, creating target information based on the monitoring status, and creating different target information storage types for different targets specifically include: Receive status data of IoT devices, determine whether a target has entered based on the status data, and receive target detection data; Determine the target type based on the target detection data, and create target information, wherein the target information includes target type information, target entry time information, and target entry mode information; Creating multiple storage areas based on the target information storage type, where different storage areas store different information data, the information data at least including image data and three-dimensional coordinate data; The step of collecting target data according to a preset time step, locating the target based on the target data, and determining the target position specifically includes: Obtain target data from each IoT device according to a preset time step; Extract signal strength data from target data, perform multi-party distance calculation based on the signal strength data, and obtain a distance calculation result; Based on the distance calculation results, a target location area is constructed in the three-dimensional model of the building area, and the target location is determined according to the overlapping relationship between the target location areas; Based on the distance calculation result, a target location area is constructed in the three-dimensional model of the building area. The distance obtained by measuring the distance through the Bluetooth signal strength is the distance between the mobile device and the Bluetooth module, which is a spherical area in space. The spherical area is marked in the three-dimensional model of the building area, which is the target location area. The target location area is a spherical area with a radius equal to the distance calculation value. If three Bluetooth modules detect the same device, three target location areas are determined in the three-dimensional model of the building area. If the number of target location areas is multiple, the overlapping areas between the multiple target location areas are determined, and the projection of the overlapping area on the ground included in the three-dimensional model of the building area is determined. The center of the projection is determined, and the center is regarded as the target location. If the number of target location areas is 1, the target location area is directly regarded as the overlapping area. When there are multiple target location areas, and there is a target location area that does not overlap with other target location areas, the non-overlapping target location area is discarded.
2. The intelligent monitoring and security method based on the Internet of Things according to claim 1 is characterized in that: The steps of marking the location of the three-dimensional model of the building area based on the target location, and generating and storing target trajectory monitoring data when the target leaves the monitoring area based on the monitoring status of the Internet of Things device specifically include: Construct a three-dimensional coordinate system based on the three-dimensional model of the building area, and determine a three-dimensional coordinate based on each target position; The IoT device identifies the time when the target enters the monitoring area and the time when it leaves the monitoring area, and obtains the monitoring interval segment; The three-dimensional coordinates of the target at each moment within the monitoring time period are recorded, and the target trajectory monitoring data is generated and stored.
3. The intelligent monitoring and security method based on the Internet of Things according to claim 1 is characterized in that: The following formula is used for multi-party distance calculation: in, P is the distance calculation value, Si is the signal strength value, w is the signal strength per unit distance, k is the environmental attenuation factor.
4. An intelligent monitoring and security system based on the Internet of Things, characterized in that: The system comprises: A model building module, used to build a monitoring area map, build a three-dimensional model of the building area based on the building area map, and determine each monitoring area based on the three-dimensional model of the building area, wherein the three-dimensional model of the building area at least includes a building model, a road model and a monitoring area model; The target recognition module is used to obtain the monitoring status of the IoT device, create target information based on the monitoring status, and create different target information storage types for different targets; A target positioning module is used to collect target data according to a preset time step, locate the target based on the target data, and determine the target position; The trajectory recording module is used to mark the location of the three-dimensional model of the building area based on the target location, and to generate and store target trajectory monitoring data when the target leaves the monitoring area based on the monitoring status of the IoT device; The target recognition module comprises: A status monitoring unit, used to receive status data of the IoT device, determine whether a target has entered based on the status data, and receive target detection data; A target information recording unit, used to determine the target type based on the target detection data and create target information, wherein the target information includes target type information, target entry time information and target entry mode information; A target information storage unit, used to create a plurality of storage areas based on the target information storage type, wherein different storage areas store different information data, and the information data at least includes image data and three-dimensional coordinate data; The target positioning module includes: A target data acquisition unit, used to acquire target data from each IoT device according to a preset time step; A distance calculation unit, used to extract signal strength data from target data, perform multi-party distance calculation based on the signal strength data, and obtain a distance calculation result; A position identification unit, used to construct a target position area in the three-dimensional model of the building area based on the distance calculation result, and determine the target position according to the overlapping relationship between the target position areas; Based on the distance calculation result, a target location area is constructed in the three-dimensional model of the building area. The distance obtained by measuring the distance through the Bluetooth signal strength is the distance between the mobile device and the Bluetooth module, which is a spherical area in space. The spherical area is marked in the three-dimensional model of the building area, which is the target location area. The target location area is a spherical area with a radius equal to the distance calculation value. If three Bluetooth modules detect the same device, three target location areas are determined in the three-dimensional model of the building area. If the number of target location areas is multiple, the overlapping areas between the multiple target location areas are determined, and the projection of the overlapping area on the ground included in the three-dimensional model of the building area is determined. The center of the projection is determined, and the center is regarded as the target location. If the number of target location areas is 1, the target location area is directly regarded as the overlapping area. When there are multiple target location areas, and there is a target location area that does not overlap with other target location areas, the non-overlapping target location area is discarded.
5. The intelligent monitoring and security system based on the Internet of Things according to claim 4 is characterized in that: The track recording module comprises: A coordinate conversion unit, used to construct a three-dimensional coordinate system based on the three-dimensional model of the building area, and determine a three-dimensional coordinate based on each target position; An interval identification unit is used to identify the time when the target enters the monitoring area and the time when the target leaves the monitoring area through the Internet of Things device to obtain a monitoring interval segment; The data recording unit is used to record the three-dimensional coordinates of the target at each moment within the monitoring time period, generate target trajectory monitoring data, and store it.
6. The intelligent monitoring and security system based on the Internet of Things according to claim 4 is characterized in that: The following formula is used for multi-party distance calculation: in, P is the distance calculation value, Si is the signal strength value, w is the signal strength per unit distance, k is the environmental attenuation factor.
