Method and system for home security
By generating a three-dimensional model and building a backup power supply and protocol data processing center, the installation complexity of home security equipment and the problem of non-interoperability of protocols is solved, detection accuracy and privacy protection are improved, and security functions are realized under power outages and network disconnection.
Patent Information
- Application Number
- CN202510558022.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-07-29
AI Technical Summary
The existing home security equipment has low detection accuracy, high false alarm rate, equipment protocols are not interoperable, complex installation and rely on home power, and cannot provide security functions when power is cut off.
By obtaining home house data to generate a three-dimensional model, determining the optimal installation point of security equipment, and building a backup power supply and photovoltaic power generation device; building a protocol data processing center for communication protocol conversion, obtaining user work and rest habits to identify false alarm scenarios, performing data filtering and privacy processing, and finally conducting security risk analysis and risk warnings.
It improves the detection accuracy of home security equipment, reduces false alarms, realizes protocol interoperability between different devices, provides backup power for power outages, and improves user privacy protection and real-time response capabilities for security risks.
Smart Images

Figure CN120389890A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of home security, and particularly to a method and system for home security. Background Art
[0002] With the improvement of people's living standards and the increasing demand for home security, people pay more and more attention to home security, and home security can bring better quality of life to people. Therefore, home security is becoming more and more popular in the market.
[0003] In the prior art, in the layout of home security, cameras or sensors are generally used to detect and alarm various activities in the home. However, in actual use, there are always various false alarms, and the detection accuracy is not high. Moreover, various existing home security devices are from different brands, and the protocols between brands are not interoperable, resulting in difficult connection with each other. And in the process of use, the privacy protection of the covered public area is not well done. And during the installation process, the installation position needs to be adjusted multiple times, and the device needs to be repeatedly debugged, consuming a large amount of time and human resources. It also depends more on the power source of the home itself and cannot provide security functions when the power is off or the network is disconnected. Summary of the Invention
[0004] The purpose of the present invention is to provide a method and system for home security to solve the problems raised in the above background art.
[0005] In a first aspect, the present application provides a method for home security, and the method includes: Obtain home house data and security device parameters, generate a three-dimensional model of the house according to the home house data, determine the optimal installation points of the security devices according to the three-dimensional model of the house and the security device parameters, and perform visual debugging; According to the security device parameters, obtain the power supply requirements of the security devices, and construct a backup power supply and a photovoltaic power generation device according to the power supply requirements; Construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format; Obtain the security data stream collected by the security devices, send the security data stream to the protocol data processing center, the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forwards the target data stream to the next security device; Obtain the user's work and rest habits, obtain a false alarm scenario set according to the user's work and rest habits, filter the unified data stream according to the false alarm scenario set to obtain a target data stream; Based on the target data stream, perform real-time privacy collection on the target data stream to obtain a privacy data block, and perform real-time privacy processing on the privacy data block; Based on the target data stream, perform home security risk analysis on the target data stream to obtain a home security risk, and give a risk prompt to the user's mobile phone or perform an alarm process according to the home security risk.
[0006] Preferably, the steps of generating a three-dimensional house model according to the home house data, determining the optimal installation points of security devices according to the three-dimensional house model and the security device parameters, and performing visual debugging are specifically as follows: Extract the house size data in the home house data, and construct a three-dimensional house model according to the house size data; According to the security device parameters, obtain the working mode of the security device, and determine the initial working position of the security device according to the working mode; Based on the initial working position, perform simulated device installation in the three-dimensional house model and obtain the working range of the security device; Perform visual position debugging on the security device according to the working range, determine the optimal installation point where the security device can exert the maximum utility, and install the security device in the house according to the optimal installation point.
[0007] Preferably, the steps of obtaining the power supply requirements of the security device according to the security device parameters and constructing a backup power supply and a photovoltaic power generation device are specifically as follows: Based on the security device parameters, obtain the power supply requirements of the security device, connect the security device to the residential electricity according to the power supply requirements, and reserve an emergency power supply interface at the same time; Construct a backup power supply according to the power supply requirements, collect the power supply size of the backup power supply, and obtain the installation position of the backup power supply according to the power supply size and the home house data; According to the home house data, obtain the installation conditions for photovoltaic power generation, and install photovoltaic power generation equipment according to the installation conditions for photovoltaic power generation; Electrically connect the photovoltaic power generation equipment to the backup power supply, and electrically connect the backup power supply to the emergency power supply interface.
[0008] Preferably, the steps of obtaining a plurality of different security communication protocols according to the security device parameters and performing protocol conversion on the security communication protocols by the protocol data processing center to generate a target communication protocol with a unified format are specifically as follows: Extract the security communication protocols of security devices of different brands from the security device parameters; Based on the different security communication protocols, extract the protocol features in each security communication protocol, and fuse the multiple protocol features to generate a combined protocol feature; Based on the combined protocol feature, amplify the combined protocol feature to generate a target protocol feature; Based on the target protocol feature, perform protocol conversion on the security communication protocol to generate a target communication protocol with a unified format.
[0009] Preferably, the step of sending the security data stream to the protocol data processing center, and the protocol data processing center performing protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream is specifically as follows: Send the security data stream to the protocol data processing center, and the protocol data processing center splits the security data stream to obtain content data and the security communication protocol; Based on the target communication protocol, the protocol processing center replaces the security communication protocol; Integrate the target communication protocol with the content data to generate a unified data stream.
[0010] Preferably, the step of obtaining the user's work and rest habits, obtaining a false alarm scenario set according to the user's work and rest habits, and filtering the unified data stream according to the false alarm scenario set to obtain a target data stream is specifically as follows: Obtain the user's work and rest habits, and perform scenario division on the user's work and rest habits to obtain a user behavior scenario set; Perform false recognition evaluation on the user behavior scenario set to obtain the false recognition probability of each user behavior scenario in the user behavior scenario set; Judge whether the false recognition probability is greater than a preset probability threshold. If it is judged that the false recognition probability is greater than the probability threshold, then obtain multiple false recognition scenarios; Generate a false recognition scenario set by aggregating the multiple false recognition scenarios, and filter the unified data stream according to the false recognition scenario set to obtain a precisely recognized target data stream.
[0011] Preferably, the step of performing real-time privacy collection on the target data stream to obtain a privacy data block and performing real-time privacy processing on the privacy data block is specifically as follows: Perform type division on the target data stream to obtain a picture data stream and a signal data stream collected by the security device; Based on the screen data stream, perform dynamic polarization filtering on the screen data stream to obtain a target screen data stream with clear images; Perform privacy recognition on the target screen data stream to obtain a screen privacy data block, and perform real-time blurring processing on the screen privacy data block; Based on the signal data stream, perform signal content recognition and signal enhancement on the signal data stream to obtain a target signal data stream with complete signals; Perform privacy recognition on the target signal data stream to obtain a signal privacy data block, and perform real-time blurring processing on the signal privacy data block.
[0012] Preferably, the steps of performing security risk analysis on the target data stream to obtain a home security risk, and giving a risk prompt to the user's mobile phone or performing an alarm process according to the home security risk are specifically as follows; Based on the screen data stream, perform screen recognition on the screen data stream to obtain a portrait screen, a behavior screen, and a disaster screen; Perform security risk assessment on the portrait screen and the behavior screen to obtain a first screen risk, perform security risk assessment on the disaster screen to obtain a second screen risk, and combine the first screen risk and the second screen risk to obtain a screen security risk; Based on the signal data stream, perform abnormal signal recognition on the signal data stream to obtain an abnormal signal, and extract the signal strength and signal frequency of the abnormal signal; Based on the signal strength and the signal frequency, obtain a signal security risk, and combine the signal security risk and the screen security risk to generate a home security risk; Based on the home security risk, generate a security risk prompt, send the security risk prompt to the user's mobile phone, and record the operation time of the user's mobile phone from receiving the security risk prompt to confirming the security risk prompt; Judge whether the operation time is greater than a preset time threshold. If it is judged that the operation time is greater than the preset time threshold, extract the risk type of the home security risk and alarm the corresponding unit according to the risk type.
[0013] In a second aspect, the present application provides a system for home security, and the system includes: Installation and debugging module: used to obtain home house data and security device parameters, generate a three-dimensional model of the house according to the home house data, determine the best installation points of the security devices according to the three-dimensional model of the house and the security device parameters, and perform visual debugging; Standby power supply module: configured to obtain the power supply requirements of the security device according to the security device parameters, and construct a standby power supply and a photovoltaic power generation device according to the power supply requirements; Protocol generation module: configured to construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format; Protocol conversion module: configured to obtain the security data stream collected by the security device, send the security data stream to the protocol data processing center, and the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forward the target data stream to the next security device; False alarm identification module: configured to obtain the user's work and rest habits, obtain a false alarm scenario set according to the user's work and rest habits, and filter the unified data stream according to the false alarm scenario set to obtain a target data stream; Privacy processing module: configured to perform real-time privacy collection on the target data stream based on the target data stream to obtain a privacy data block, and perform real-time privacy processing on the privacy data block; Risk alarm module: configured to perform security risk analysis on the target data stream based on the target data stream to obtain a home security risk, and give a risk prompt to the user's mobile phone or perform an alarm process according to the home security risk.
[0014] In summary, the present application includes at least one of the following beneficial technical effects: Obtain the data of the family house and the parameters of the security devices, construct a three-dimensional model of the house, use the parameters of the security devices in the three-dimensional model of the house to determine the optimal installation points, and at the same time, visual adjustment can be carried out. Then, according to the parameters of the security devices, obtain the power supply requirements of the security devices, set up a backup power supply and a photovoltaic power generation device according to the power supply requirements, connect them to the security devices, and provide a backup power supply. Then, according to the parameters of the security devices, obtain the communication protocol of each security device, construct a protocol data processing center, after the security devices collect the data stream, send it to the protocol data processing center, and after the protocol data processing center replaces the data stream with the target communication protocol, send it to other security devices that need the data stream. Obtain the user's work and rest habits, obtain the false alarm scenario set according to the user's work and rest habits, filter the unified data stream according to the false alarm scenario set, remove the unified data stream that may be falsely alarmed, and obtain the target data stream. After performing fuzzy privacy processing on the privacy scenarios in the target data stream, perform security risk analysis to obtain the home security risk, and then send the home security risk to the user's mobile phone. If the user has not operated the mobile phone for a long time, directly report to the relevant unit according to the home security risk. This improves the accuracy of home security identification, the correlation between different devices, and the privacy level of users. Description of the Drawings
[0015] Figure 1 is a flowchart of the steps of a method for home security provided by an embodiment of the present application; Figure 2 is a block diagram of the modules of a system for home security provided by an embodiment of the present application.
[0016] Description of the reference numerals: 1. Installation and debugging module; 2. Backup power supply module; 3. Protocol generation module; 4. Protocol conversion module; 5. False alarm identification module; 6. Privacy processing module; 7. Risk alarm module. Detailed Embodiment
[0017] The following combines the attached Figure 1 - Figure 2 Further detailed description of the present application is made below, but the implementation manner of the present invention is not limited thereto.
[0018] An embodiment of the present application discloses a method and a system for home security.
[0019] In this embodiment, a method for home security includes: S100: Obtain the data of the family house and the parameters of the security devices, generate a three-dimensional model of the house according to the data of the family house, determine the optimal installation points of the security devices according to the three-dimensional model of the house and the parameters of the security devices, and perform visual debugging; S200: According to the parameters of the security devices, obtain the power supply requirements of the security devices, and construct a backup power supply and a photovoltaic power generation device according to the power supply requirements; S300: Construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, perform protocol conversion on the security communication protocols according to the protocol data processing center, and generate a target communication protocol with a unified format; S400: Obtain the security data stream collected by the security device, send the security data stream to the protocol data processing center, and the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forwards the target data stream to the next security device; S500: Obtain the user's work and rest habits, obtain a false alarm scenario set according to the user's work and rest habits, and filter the unified data stream according to the false alarm scenario set to obtain a target data stream; S600: Based on the target data stream, perform real-time privacy collection on the target data stream to obtain a privacy data block, and perform real-time privacy processing on the privacy data block; S700: Based on the target data stream, perform security risk analysis on the target data stream to obtain a home security risk, and give a risk prompt to the user's mobile phone or perform an alarm process according to the home security risk.
[0020] It should be noted that the above modules are only the basic steps of this embodiment. In the specific implementation process, without affecting the overall implementation effect, some steps can be appropriately added, reduced or modified.
[0021] The steps of generating a three-dimensional house model according to the home house data, determining the optimal installation points of the security devices according to the three-dimensional house model and the security device parameters, and performing visual debugging are specifically as follows: Extract the house size data in the home house data and construct a three-dimensional house model according to the house size data; According to the security device parameters, obtain the working mode of the security device, and determine the initial working position of the security device according to the working mode; Based on the initial working position, simulate the installation of the device in the three-dimensional house model and obtain the working range of the security device; Perform visual position debugging on the security device according to the working range, determine the optimal installation points where the security device can exert the maximum utility, and install the security device in the house according to the optimal installation points.
[0022] In operation, taking a 120-square-meter residence with three bedrooms and one living room as an example, the house size data in the family house data of this house is extracted, including the length, width, and height parameters of each room (master bedroom: 4m × 5m × 2.8m, secondary bedroom: 3.5m × 4m × 2.8m, living room: 6m × 4.5m × 3m). According to these size data, a three-dimensional model of the house is constructed, and the positions of doors and windows in the model are marked as hollow frames (for example, the size of the master bedroom window is 1.8m × 1.5m, and the size of the entrance door is 0.9m × 2.1m). According to the security device parameters, the working mode of the intelligent camera is obtained as horizontal rotation monitoring at 120 degrees, and the initial working positions are determined as the two corner points of the diagonal of the living room (coordinate point A(0,0,2.5m) and coordinate point B(6,4.5,2.5m)). After simulating the installation in the three-dimensional model, it is found that the working range of the camera at coordinate point A can cover 80% of the living room area, but there is a blind area blocked by the kitchen, and there is a balcony reflection interference at coordinate point B. After visual debugging, coordinate point A is adjusted to (0.5,0.5,2.6m) and a 30-degree downward angle is added, so that the working range covers the entire living room area and the kitchen entrance. Finally, this point is determined as the optimal installation point.
[0023] According to the security device parameters, obtain the power supply requirements of the security device, and the steps for constructing a backup power supply and a photovoltaic power generation device according to the power supply requirements are as follows: Based on the security device parameters, obtain the power supply requirements of the security device, connect the security device to the household electricity according to the power supply requirements, and at the same time reserve an emergency power supply interface; Construct a backup power supply according to the power supply requirements, collect the power supply size of the backup power supply, and obtain the installation position of the backup power supply according to the power supply size and the family house data; According to the family house data, obtain the installation conditions for photovoltaic power generation, and install photovoltaic power generation equipment according to the installation conditions for photovoltaic power generation; Electrically connect the photovoltaic power generation equipment to the backup power supply, and electrically connect the backup power supply to the emergency power supply interface.
[0024] In operation, taking a 120-square-meter residence with three bedrooms and one living room as an example, the total power consumption is calculated to be 85 W based on the equipment parameters (where two smart cameras total 30 W, three door and window sensors total 15 W, one smoke alarm is 5 W, and the main control device is 35 W). An emergency interface (output 220 V / 10 A) is reserved in the distribution box, and a lithium iron phosphate backup power supply (capacity 2000 Wh, size 400 mm × 300 mm × 200 mm) is installed. The backup power supply is installed on the wall of the storage room according to the floor plan of the house (coordinate point C(1.2, 3.8, 0.6 m)). It is detected that the outer wall of the south-facing balcony meets the conditions for photovoltaic installation (sunshine duration 6 hours per day, no obstruction), and three 450-W monocrystalline photovoltaic panels (size 1765 mm × 992 mm × 35 mm) are installed. The output end (DC 48 V) of the photovoltaic equipment is connected to the input end of the backup power supply through a 6-square copper core cable, and the output end of the backup power supply is connected to the emergency interface through a converter. The test shows that in the case of a power outage, the backup power supply can maintain the operation of the security system for 23 hours.
[0025] According to the security equipment parameters, obtain multiple different security communication protocols, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format. The specific steps are as follows: Based on the security equipment parameters, extract the security communication protocols of security equipment of different brands in the security equipment parameters; Based on different security communication protocols, extract the protocol features in each security communication protocol, and fuse multiple protocol features to generate a combined protocol feature; Based on the combined protocol feature, amplify the combined protocol feature to generate a target protocol feature; Based on the target protocol feature, perform protocol conversion on the security communication protocol to generate a target communication protocol with a unified format.
[0026] In operation, taking a 120-square-meter residence with three bedrooms and one living room as an example, a certain family mixes A-brand cameras (using the Modbus protocol) and B-brand sensors (using the Zigbee3.0 protocol). The protocol data processing center extracts the register address features of the Modbus protocol (4-byte data frame, function code 03) and the mesh network features of the Zigbee protocol (16-bit short address, CSMA-CA collision detection). The two protocol features are fused to generate a joint protocol feature, including a data length field (0x0004), a verification method (CRC16), and a device identification field (8-bit manufacturer code + 16-bit device ID). The check bit is extended to 32 bits through feature amplification to generate a target protocol feature (data header 0xAA55, data body containing 32-bit timestamp + 128-bit encrypted payload). When converting the protocol, the 03 function code of the A-brand data frame is converted into the action code 0x01 of the target protocol, and the short address of Zigbee is converted into the position code 0x1F03 of the target protocol, and finally a data packet in a unified format is generated (total length 256 bytes, including 16-byte packet header and 240-byte payload).
[0027] The steps of sending the security data stream to the protocol data processing center, and the protocol data processing center performing protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream are as follows: Send the security data stream to the protocol data processing center, and the protocol data processing center splits the security data stream to obtain content data and a security communication protocol; Based on the target communication protocol, the protocol processing center replaces the security communication protocol; Integrate the target communication protocol with the content data to generate a unified data stream.
[0028] In operation, taking a 120-square-meter residence with three bedrooms and one living room as an example, when the living room camera detects a moving object, an original data stream is generated (including an H.264 video stream of 30 frames per second and a TCP / IP protocol header). The protocol data processing center splits the data stream into content data (video payload) and protocol data (source IP 192.168.1.100, target port 554). Replace the RTSP protocol with the target communication protocol, and the new protocol header includes a device type code 0x02 (video device) and a timestamp 2023-08-20T14:30:00.000Z. The content data remains in the original H.264 encoding unchanged. The length of the re-encapsulated unified data stream changes from 1500 bytes to 1632 bytes, with a 32-byte target protocol header added. When this data stream is forwarded to the intelligent door lock device, the door lock recognizes it as video data according to the device type code 0x02 in the protocol header and automatically calls the video decoding module for processing.
[0029] Steps for obtaining the user's daily routine habits, obtaining a false alarm scenario set based on the user's daily routine habits, and filtering the unified data stream according to the false alarm scenario set to obtain the target data stream are as follows: Obtain the user's daily routine habits, divide the user's daily routine habits into scenarios, and obtain a set of user behavior scenarios; Conduct a misidentification assessment on the set of user behavior scenarios to obtain the misidentification probability of each user behavior scenario in the set of user behavior scenarios; Judge whether the misidentification probability is greater than a preset probability threshold. If it is judged that the misidentification probability is greater than the probability threshold, then obtain multiple misidentification scenarios; Generate a false alarm scenario set by aggregating multiple misidentification scenarios, and filter the unified data stream according to the false alarm scenario set to obtain the accurately identified target data stream.
[0030] In application, taking a 120-square-meter three-bedroom and one-living-room residence as an example, collect the daily routine data of Mr. Wang, a user, through a mobile APP: getting up at 7:00 on weekdays (activity in the bedroom), leaving home at 8:30 (front door opening), returning at 18:30 (front door closing), and having activities in the living room at 20:00. Divide 12 scenarios such as morning dressing (7:00 - 7:30) and night movie watching (20:00 - 22:00). After evaluation, it is found that the misidentification rate of the pet dog (a golden retriever, weighing 30 kg) running in the living room from 19:00 to 20:00 is 78%, and the misidentification rate of the curtain swaying (when the wind speed is 3 m / s) is 65%. Set the probability threshold to 60% to generate a false alarm scenario set including pet activities and curtain swaying. When a living room movement signal (coordinate area X: 2 - 3 m, Y: 1 - 2 m) appears in the unified data stream and the timestamp is 19:30, compare the characteristics of the false alarm scenario set (moving speed 1.5 m / s, heat source size 40 cm × 60 cm) to filter the data stream, reducing the alarm trigger rate from 5.2 times per day to 0.8 times.
[0031] Steps for performing real-time privacy collection on the target data stream to obtain a privacy data block and performing real-time privacy processing on the privacy data block are as follows: Classify the target data stream to obtain a video data stream and a signal data stream collected by security devices; Based on the video data stream, perform dynamic polarization filtering on the video data stream to obtain a target video data stream with clear images; Perform privacy identification on the target video data stream to obtain a video privacy data block, and perform real-time video blurring processing on the video privacy data block; Based on the signal data stream, perform signal content identification and signal enhancement on the signal data stream to obtain a target signal data stream with complete signals; Perform privacy identification on the target signal data stream to obtain signal privacy data blocks, and perform real-time signal blurring processing on the signal privacy data blocks.
[0032] In operation, taking a 120-square-meter three-bedroom and one-living-room residence as an example, the system separates the data stream of the entry camera into a video stream (1920×1080@30fps) and a door magnetic signal stream (switching quantity). Apply a polarization filter (angle 45 degrees) to the video stream to eliminate the glass reflection interference (the brightness of the reflection area drops from 250 cd / m² to 80 cd / m²). After identifying the face area of the visitor in the picture (pixel coordinates X400-600, Y300-500), perform Gaussian blurring processing (radius 15 pixels). After the door magnetic signal is enhanced by an amplifier circuit (the signal amplitude is increased from 0.3V to 3.3V), identify a wireless signal (2.4GHz band) containing the mobile phone number "13845821234", and replace the number field with asterisks. The facial features in the processed video stream are unrecognizable, and the signal log shows "User 138****1234 connected".
[0033] Steps for performing security risk analysis on the target data stream to obtain home security risks and giving risk warnings to the user's mobile phone or performing alarm processing according to the home security risks are as follows; Based on the picture data stream, perform picture recognition on the picture data stream to obtain portrait pictures, behavior pictures, and disaster pictures; Perform security risk assessment on the portrait pictures and behavior pictures to obtain the first picture risk, perform security risk assessment on the disaster pictures to obtain the second picture risk, and combine the first picture risk and the second picture risk to obtain the picture security risk; Based on the signal data stream, perform abnormal signal identification on the signal data stream to obtain abnormal signals, and extract the signal strength and signal frequency of the abnormal signals; Based on the signal strength and signal frequency, obtain the signal security risk, and combine the signal security risk and the picture security risk to generate the home security risk; Based on the home security risk, generate a security risk warning, send the security risk warning to the user's mobile phone, and record the operation time of the user's mobile phone from receiving the security risk warning to confirming the security risk warning; Judge whether the operation time is greater than a preset time threshold. If it is judged that the operation time is greater than the preset time threshold, extract the risk type of the home security risk and report to the corresponding unit according to the risk type.
[0034] In operation, taking a 120-square-meter residence with three bedrooms and one living room as an example, the system analyzes the video of the kitchen camera, detects a smoke-filled area (occupying 40% of the area, Y value of YUV color < 50), and determines it as a secondary fire risk. At the same time, the door magnetic sensor detects abnormal vibrations (frequency 15 Hz, duration 120 seconds), which is evaluated as a tertiary intrusion risk. The comprehensive home security risk value is 78 / 100. A push notification (title "Abnormal Smoke Alarm in the Kitchen") is sent to the user's mobile phone, and the user response time is recorded as 85 seconds (preset threshold 60 seconds). The system automatically activates the alarm process: sending location data (latitude 31.2304°N, longitude 121.4737°E) to the 119 fire alarm center and sending a help request message (room number 902) to the property management. At the same time, a voice alarm is activated (volume 85 dB, content "Fire detected, alarm has been sent").
[0035] An embodiment of the present invention provides a system for home security, using a method for home security as described in any one of the above. The system includes the following: Installation and commissioning module 1: Used to obtain home house data and security device parameters, generate a three-dimensional model of the house according to the home house data, determine the optimal installation points of the security devices according to the three-dimensional model of the house and the security device parameters, and perform visual debugging; Backup power supply module 2: Used to obtain the power supply requirements of the security devices according to the security device parameters, and construct a backup power supply and a photovoltaic power generation device according to the power supply requirements; Protocol generation module 3: Used to construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format; Protocol conversion module 4: Used to obtain the security data stream collected by the security devices, send the security data stream to the protocol data processing center, and the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forwards the target data stream to the next security device; False alarm identification module 5: Used to obtain the user's daily routine habits, obtain a set of false alarm scenarios according to the user's daily routine habits, and filter the unified data stream according to the set of false alarm scenarios to obtain a target data stream; Privacy processing module 6: Used to perform real-time privacy collection on the target data stream based on the target data stream to obtain a privacy data block, and perform real-time privacy processing on the privacy data block; Risk alarm module 7: Used to perform security risk analysis on the target data stream based on the target data stream to obtain a home security risk, and perform risk prompts or alarm processing on the user's mobile phone according to the home security risk.
[0036] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereby. Therefore, all equivalent changes made according to the structure, shape, and principle of the present application shall be covered within the protection scope of the present application.
Claims
1. A method for home security, characterized in that, It includes the following steps: Obtain the home house data and security device parameters, generate a 3D model of the house based on the home house data, determine the optimal installation points of the security devices according to the 3D model of the house and the security device parameters, and perform visual debugging; Obtain the power supply requirements of the security devices according to the security device parameters, and construct a backup power supply and a photovoltaic power generation device according to the power supply requirements; Construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format; Obtain the security data stream collected by the security devices, send the security data stream to the protocol data processing center, and the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forwards the target data stream to the next security device; Obtain the user's work and rest habits, obtain a false alarm scenario set according to the user's work and rest habits, and filter the unified data stream according to the false alarm scenario set to obtain a target data stream; Based on the target data stream, perform real-time privacy collection on the target data stream to obtain a privacy data block, and perform real-time privacy processing on the privacy data block; Based on the target data stream, perform security risk analysis on the target data stream to obtain the home security risk, and give a risk prompt to the user's mobile phone or perform an alarm process according to the home security risk.
2. The method for home security according to claim 1, characterized in that, The steps of generating a 3D model of the house based on the home house data, determining the optimal installation points of the security devices according to the 3D model of the house and the security device parameters, and performing visual debugging are specifically as follows: Extract the house size data in the home house data, and construct a 3D model of the house according to the house size data; Obtain the working mode of the security devices according to the security device parameters, and determine the initial working positions of the security devices according to the working mode; Based on the initial working positions, perform simulated device installation in the 3D house model and obtain the working ranges of the security devices; Perform visual position debugging on the security devices according to the working ranges, determine the optimal installation points where the security devices can exert the maximum utility, and install the security devices in the house according to the optimal installation points.
3. A method for home security according to claim 2, characterized in that, The steps of obtaining the power supply requirements of the security devices according to the security device parameters, and constructing a backup power supply and a photovoltaic power generation device according to the power supply requirements are specifically as follows: Based on the security device parameters, obtain the power supply requirements of the security devices, connect the security devices to the residential electricity according to the power supply requirements, and reserve an emergency power supply interface at the same time; Construct a backup power supply according to the power supply requirements, collect the power supply size of the backup power supply, and obtain the installation position of the backup power supply according to the power supply size and the home house data; Obtain the photovoltaic power generation installation conditions according to the home house data, and install photovoltaic power generation equipment according to the photovoltaic power generation installation conditions; Electrically connect the photovoltaic power generation equipment to the backup power supply, and electrically connect the backup power supply to the emergency power supply interface.
4. A method for home security according to claim 1, characterized in that, According to the security device parameters, obtaining multiple different security communication protocols, and performing protocol conversion on the security communication protocols by the protocol data processing center to generate a target communication protocol with a unified format. The specific steps are as follows: Based on the security device parameters, extracting the security communication protocols of security devices of different brands in the security device parameters; Based on different security communication protocols, extracting the protocol features in each security communication protocol, and fusing multiple protocol features to generate a combined protocol feature; Based on the combined protocol feature, amplifying the combined protocol feature to generate a target protocol feature; Based on the target protocol feature, performing protocol conversion on the security communication protocol to generate a target communication protocol with a unified format.
5. A method for home security according to claim 4, characterized in that, Sending the security data stream to the protocol data processing center, and the protocol data processing center performing protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream. The specific steps are as follows: Sending the security data stream to the protocol data processing center, and the protocol data processing center splitting the security data stream to obtain content data and the security communication protocol; Based on the target communication protocol, the protocol processing center performing protocol replacement on the security communication protocol; Integrating the target communication protocol with the content data to generate a unified data stream.
6. A method for home security according to claim 5, characterized in that, Obtaining the user's work and rest habits, obtaining a false alarm scenario set according to the user's work and rest habits, and filtering the unified data stream according to the false alarm scenario set to obtain a target data stream. The specific steps are as follows: Obtaining the user's work and rest habits, performing scenario division on the user's work and rest habits to obtain a user behavior scenario set; Performing false recognition evaluation on the user behavior scenario set to obtain the false recognition probability of each user behavior scenario in the user behavior scenario set; Judging whether the false recognition probability is greater than a preset probability threshold. If it is judged that the false recognition probability is greater than the probability threshold, obtaining multiple false recognition scenarios; Generating a false recognition scenario set by aggregating multiple false recognition scenarios, and filtering the unified data stream according to the false recognition scenario set to obtain a precisely recognized target data stream.
7. A method for home security according to claim 6, characterized in that, Performing real-time privacy collection on the target data stream to obtain a privacy data block, and performing real-time privacy processing on the privacy data block. The specific steps are as follows: Performing type division on the target data stream to obtain a picture data stream and a signal data stream collected by security devices; Based on the picture data stream, performing dynamic polarization filtering on the picture data stream to obtain a target picture data stream with clear pictures; Performing privacy recognition on the target picture data stream to obtain a picture privacy data block, and performing real-time picture blurring processing on the picture privacy data block; Based on the signal data stream, performing signal content recognition and signal enhancement on the signal data stream to obtain a target signal data stream with complete signals; Performing privacy recognition on the target signal data stream to obtain a signal privacy data block, and performing real-time signal blurring processing on the signal privacy data block.
8. A method for home security according to claim 7, characterized in that, Perform security risk analysis on the target data stream to obtain home security risks, and the steps of giving risk warnings to the user's mobile phone or performing alarm processing according to the home security risks are as follows: Based on the video data stream, perform video recognition on the video data stream to obtain portrait videos, behavior videos, and disaster videos; Perform security risk assessment on the portrait videos and behavior videos to obtain the first video risk, perform security risk assessment on the disaster videos to obtain the second video risk, and combine the first video risk and the second video risk to obtain video security risks; Based on the signal data stream, perform abnormal signal recognition on the signal data stream to obtain abnormal signals, and extract the signal strength and signal frequency of the abnormal signals; Based on the signal strength and the signal frequency, obtain signal security risks, and combine the signal security risks and the video security risks to generate home security risks; Based on the home security risks, generate security risk warnings, send the security risk warnings to the user's mobile phone, and record the operation time of the user's mobile phone from receiving the security risk warnings to confirming the security risk warnings; Judge whether the operation time is greater than a preset time threshold. If it is judged that the operation time is greater than the preset time threshold, extract the risk types of the home security risks, and alarm the corresponding unit according to the risk types.
9. A system for home security, the system using a method for home security according to any one of claims 1-8, characterized in that, The system includes: Installation and debugging module: used to obtain home house data and security device parameters, generate a three-dimensional house model according to the home house data, determine the optimal installation points of security devices according to the three-dimensional house model and the security device parameters, and perform visual debugging; Standby power supply module: used to obtain the power supply requirements of security devices according to the security device parameters, and construct a standby power supply and a photovoltaic power generation device according to the power supply requirements; Protocol generation module: used to construct a protocol data processing center, obtain multiple different security communication protocols according to the security device parameters, and perform protocol conversion on the security communication protocols according to the protocol data processing center to generate a target communication protocol with a unified format; Protocol conversion module: used to obtain the security data stream collected by security devices, send the security data stream to the protocol data processing center, and the protocol data processing center performs protocol conversion on the security data stream according to the target communication protocol to generate a unified data stream, and forward the target data stream to the next security device; False alarm recognition module: used to obtain the user's work and rest habits, obtain a false alarm scenario set according to the user's work and rest habits, and filter the unified data stream according to the false alarm scenario set to obtain a target data stream; Privacy processing module: used to perform real-time privacy collection on the target data stream based on the target data stream to obtain privacy data blocks, and perform real-time privacy processing on the privacy data blocks; Risk alarm module: used to perform security risk analysis on the target data stream based on the target data stream to obtain home security risks, and give risk warnings to the user's mobile phone or perform alarm processing according to the home security risks.