Home security method and device based on internet of things and mobile terminal

By generating automatic and temporary inspection paths, combining user twin spaces and identification tags, and dynamically adjusting inspection paths, the problem of low efficiency of drone anti-theft monitoring is solved, and efficient home anti-theft monitoring and data collection are achieved.

CN120636053BActive Publication Date: 2025-10-17JIANGSU ZHIXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511131583.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-13
Publication Date
2025-10-17
Estimated Expiration
2045-08-13

AI Technical Summary

Technical Problem

The existing drone anti-theft monitoring technology cannot be flexibly adjusted according to the actual situation of the home environment and changes in potential threats, resulting in low inspection efficiency.

Method used

By obtaining key points and fixed objects in the user's twin space, automatic patrol paths are generated using identification tags, the path judgment coefficient is calculated based on the alarm frequency and preset priority value, the patrol path is dynamically adjusted, temporary patrol paths are generated in response to intrusion information, and indoor patrol equipment is controlled to collect anti-theft data.

Benefits of technology

It improves inspection efficiency, ensures home safety, reduces user losses, realizes automatic monitoring and data storage customized according to home layout, and responds to intrusion information in a timely manner.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120636053B_ABST
    Figure CN120636053B_ABST
Patent Text Reader

Abstract

The application provides a home anti-theft method and device based on the Internet of Things and a mobile phone terminal, acquires a user twin space corresponding to a user terminal, the user twin space comprises a plurality of key points and fixed objects, the key points have corresponding identification tags; the key points in the user twin space are connected according to a path configuration strategy, and an anti-theft twin space corresponding to the user terminal is obtained; the alarm frequency of each monitoring point in the anti-theft twin space is extracted based on a preset time period, an automatic inspection path is generated according to the alarm frequency, the indoor inspection equipment is controlled to perform automatic inspection based on the automatic inspection path, and inspection data is obtained and stored; in response to intrusion information, an inspection endpoint is called, the inspection starting point is acquired based on the fixed objects and / or the identification tags, the temporary inspection path is determined according to the inspection starting point and the inspection endpoint, the indoor inspection equipment is controlled to collect anti-theft data based on the collection points in the temporary inspection path, and the anti-theft data is sent to the user terminal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to data processing technology, in particular to a home security method and device based on Internet of Things and mobile terminal. BACKGROUND

[0002] Home security is an important measure to prevent theft, robbery and fire and other accidents. With the development of society and economy, people's safety awareness has also been improved accordingly. In order to protect their own safety, people have taken various preventive measures. Once an emergency occurs, the owner can be notified in time, so that emergency measures can be taken quickly to prevent accidents or disasters from expanding.

[0003] In the prior art, monitoring equipment is usually installed at a fixed position for security monitoring or unmanned aerial vehicles are used for security monitoring. When unmanned aerial vehicles are used for monitoring, a fixed inspection route is usually adopted, but it cannot be flexibly adjusted according to the actual situation of the home environment and the changes of potential threats.

[0004] Therefore, how to customize and plan an inspection path according to the actual family layout for automatic monitoring, improve the inspection efficiency, and ensure the safety of the home has become a problem to be solved. SUMMARY

[0005] The embodiments of the present application provide a home security method and device based on Internet of Things and mobile terminal, which can customize and plan an inspection path according to the actual family layout for automatic monitoring, improve the inspection efficiency, and ensure the safety of the home.

[0006] In a first aspect, the embodiments of the present application provide a home security method based on Internet of Things and mobile terminal, comprising:

[0007] Obtaining a user twin space corresponding to a user terminal, the user twin space comprising a plurality of key points and fixed objects, the key points having corresponding identification tags;

[0008] According to the path configuration strategy, the key points in the user twin space are connected to obtain a security twin space corresponding to the user terminal;

[0009] Based on a preset time period, the alarm frequency of each monitoring point in the security twin space is extracted, an automatic inspection path is generated according to the alarm frequency, the indoor inspection equipment is controlled based on the automatic inspection path to perform automatic inspection, and the inspection data is obtained and stored;

[0010] In response to the intrusion information, the inspection terminal is called, the inspection starting point is obtained based on the fixed object and / or the identification tag, the temporary inspection path is determined according to the inspection starting point and the inspection terminal, and the indoor inspection equipment is controlled based on the collection point in the temporary inspection path to collect security data and send it to the user terminal.

[0011] Optionally, in a possible implementation manner of the first aspect, the connecting the key points in the user twin space according to the path configuration strategy to obtain the anti-theft twin space corresponding to the user end comprises:

[0012] receiving a main inspection path configured by the user end for the user twin space, and connecting the relay points or the monitoring points in the user twin space that are closest to the corresponding main inspection path in each functional area;

[0013] connecting the key points in each functional area in the user twin space to obtain a plurality of sub-inspection paths connected with the main inspection path, wherein the key points include the relay points and the monitoring points;

[0014] obtaining a planned inspection path according to the main inspection path and the plurality of sub-inspection paths, updating the user twin space based on the planned inspection path, and obtaining the anti-theft twin space corresponding to the user end.

[0015] Optionally, in a possible implementation manner of the first aspect, the extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generating an automatic inspection path according to the alarm frequency, controlling the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and storing the inspection data comprises:

[0016] extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, and obtaining a preset priority value of the corresponding monitoring point;

[0017] calculating according to the alarm frequency and the preset priority value to obtain a path judgment coefficient corresponding to the monitoring point;

[0018] determining that the path judgment coefficient is greater than a preset judgment coefficient, regarding a sub-inspection path in which the corresponding monitoring point is located as a reserved sub-path, and regarding the remaining sub-inspection paths as deleted sub-paths;

[0019] deleting and updating the planned inspection path according to the deleted sub-paths to obtain an automatic inspection path corresponding to the anti-theft twin space, controlling the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and storing the inspection data.

[0020] Optionally, in a possible implementation manner of the first aspect, the calculating according to the alarm frequency and the preset priority value to obtain a path judgment coefficient corresponding to the monitoring point comprises:

[0021] calculating an alarm coefficient according to the alarm frequency and a reference frequency, and calculating a priority coefficient according to the preset priority value and a reference priority value.

[0022] obtaining a path judgment coefficient corresponding to the monitoring point according to a sum value of the alarm coefficient and the priority coefficient;

[0023]

[0024] wherein, is a path judgment coefficient corresponding to the i-th monitoring point, is an alarm frequency corresponding to the i-th monitoring point, is a reference frequency, is a frequency normalization value, is a preset priority value corresponding to the i-th monitoring point, is a reference priority value, is a priority normalization value, is a path judgment weight value.

[0025] Optionally, in a possible implementation manner of the first aspect, when the user terminal changes a deletion sub-path corresponding to the monitoring point to a reserved sub-path, a path judgment coefficient of the deletion sub-path is obtained as an increase training coefficient;

[0026] a path judgment coefficient of the remaining deletion sub-paths is selected as a deletion limit coefficient, and a maximum deletion limit coefficient is selected as an increase limit coefficient;

[0027] an increase difference coefficient is obtained according to a difference between the preset judgment coefficient and the increase limit coefficient, and a limit increase value is determined according to the increase difference coefficient;

[0028] an increase training value is obtained according to a difference between the preset judgment coefficient and the increase training coefficient, and the path judgment weight value is increased and trained according to the increase training value, to obtain an increased path judgment weight value;

[0029] the increased path judgment weight value is obtained through the following formula,

[0030]

[0031] wherein, is the limit increase value, is the preset judgment coefficient, is the increase limit coefficient, is an alarm frequency corresponding to the increase limit coefficient, is a preset priority value corresponding to the increase limit coefficient, is the increased path judgment weight value, is an increase constant value, ​​​To increase the training coefficient.

[0032] Optionally, in a possible implementation manner of the first aspect, when it is determined that the user terminal changes the reserved sub-path corresponding to the monitoring point to the deleted sub-path, a path judgment coefficient of the reserved sub-path is obtained as the reduction training coefficient;

[0033] The path judgment coefficients of the remaining reserved sub-paths are taken as reserved restriction coefficients, and the smallest reserved restriction coefficient is taken as the reduction restriction coefficient;

[0034] Based on a difference between the reduction restriction coefficient and the preset judgment coefficient, a reduction difference coefficient is obtained, and a restriction reduction value is determined according to the reduction difference coefficient;

[0035] Based on a difference between the reduction training coefficient and the preset judgment coefficient, a reduction training value is obtained, and the path judgment weight value is trained by the reduction training value to obtain a reduced path judgment weight value;

[0036] The reduced path judgment weight value is obtained by the following formula,

[0037]

[0038] Wherein, the restriction reduction value, the preset judgment coefficient, the reduction restriction coefficient, an alarm frequency corresponding to the reduction restriction coefficient, a preset priority value corresponding to the reduction restriction coefficient, the reduced path judgment weight value, a reduction constant value, the reduction training coefficient.

[0039] Optionally, in a possible implementation manner of the first aspect, the response to the intrusion information to call the inspection terminal point comprises:

[0040] The response to the intrusion information to call the monitoring point as the inspection terminal point, based on the preset angle and the preset direction to control the indoor inspection equipment to collect, to obtain the initial judgment data, and to construct a space coordinate system in the anti-theft twin space;

[0041] When it is determined that the initial judgment data has the identification tag, the transverse distance sensor is used to obtain the transverse distance between the indoor inspection equipment and the identification tag, and the transverse positioning coordinates of the indoor inspection equipment are obtained according to the transverse distance and the transverse coordinates of the identification tag;

[0042] The longitudinal distance sensor obtains a longitudinal positioning coordinate of the indoor inspection device, and the vertical distance sensor obtains a vertical positioning coordinate of the indoor inspection device;

[0043] The horizontal positioning coordinate, the longitudinal positioning coordinate, and the vertical positioning coordinate are used to determine an inspection starting point of the indoor inspection device;

[0044] When the initial judgment data has a fixed object and does not have an identification tag, an identification tag closest to the fixed object in the anti-theft twin space is obtained as a directional positioning tag;

[0045] A relative direction between the fixed object and the directional positioning tag is obtained, and the indoor inspection device is controlled to continuously collect positioning judgment data based on the relative direction and a preset angle. When the positioning judgment data has the directional positioning tag, the inspection starting point of the indoor inspection device is determined according to the distance sensor and the directional positioning tag.

[0046] Optionally, in a possible implementation manner of the first aspect, the temporary inspection path is determined according to the inspection starting point and the inspection ending point, and the indoor inspection device is controlled to collect anti-theft data based on a collection point in the temporary inspection path and send the anti-theft data to a user end, and the method comprises the following steps.

[0047] The shortest inspection path in the planned inspection path is determined as an initial inspection path based on the inspection starting point and the inspection ending point.

[0048] An inspection speed of the indoor inspection device is obtained, and an inspection time length is obtained according to a ratio of the initial inspection path and the inspection speed.

[0049] An inspection coefficient is obtained according to a ratio of the inspection time length and the reference time length, and a collection quantity is obtained according to a product of the inspection coefficient and a reference quantity.

[0050] The inspection ending point is used as a selection starting point for collection, a key point closest to the selection starting point and not selected in the planned inspection path is selected as a current selection starting point, and the above selection of the key point is repeated until the quantity of the selected key points is equal to the collection quantity, and the selected key points are used as selection collection points.

[0051] The selection collection points and the inspection ending point are used as collection points, and a collection point not in the initial inspection path is used as an additional collection point.

[0052] The additional collection point and the initial inspection path are connected in the planned inspection path to obtain a temporary inspection path corresponding to the indoor inspection device.

[0053] The indoor inspection device is controlled to collect anti-theft data based on the collection points in the temporary inspection path and send the anti-theft data to the user end.

[0054] Optionally, in a possible implementation manner of the first aspect, the method further includes:

[0055] The preset collection angle corresponding to each collection point is acquired, and a preset time length corresponding to the preset collection angle is retrieved;

[0056] When the inspection time length is greater than the preset time length, an angle adjustment coefficient is obtained according to a ratio of the inspection time length to the preset time length, the preset collection angle is adjusted by increasing according to the angle adjustment coefficient, and an actual collection angle corresponding to each collection point is obtained.

[0057] In a second aspect of the embodiment of the application, a home anti-theft device based on an Internet of Things and a mobile phone terminal is provided, and the home anti-theft device includes:

[0058] An acquisition module is configured to acquire a user twin space corresponding to a user end, the user twin space including a plurality of key points and fixed objects, and the key points having corresponding identification tags.

[0059] A connection module is configured to connect the key points in the user twin space according to a path configuration strategy to obtain an anti-theft twin space corresponding to the user end.

[0060] A generation module is configured to extract an alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generate an automatic inspection path according to the alarm frequency, control an indoor inspection device to perform automatic inspection based on the automatic inspection path, and store inspection data obtained by the automatic inspection.

[0061] An acquisition module is configured to retrieve an inspection endpoint in response to intrusion information, acquire an inspection starting point based on the fixed objects and / or the identification tags, determine a temporary inspection path according to the inspection starting point and the inspection endpoint, and control the indoor inspection device to collect anti-theft data based on collection points in the temporary inspection path and send the anti-theft data to the user end.

[0062] In a third aspect of the embodiment of the application, an electronic device is provided, including a memory, a processor, and a computer program, the computer program being stored in the memory, and the processor running the computer program to execute the method of the first aspect and various possible methods related to the first aspect.

[0063] In a fourth aspect of the embodiment of the application, a storage medium is provided, the storage medium storing a computer program, and the computer program being executed by a processor to implement the method of the first aspect and various possible methods related to the first aspect.

[0064] The beneficial effects of the present application are as follows:

[0065] 1、The present application can customize the planning of the inspection path according to the actual family layout for automatic monitoring, improve the inspection efficiency, and ensure the safety of the home. Among them, the present application can mark the fixed objects and identification tags according to the actual space of the user, so that the subsequent indoor inspection equipment determines the inspection path for anti-theft monitoring, and the present application can also generate an automatic inspection path according to the alarm frequency of each monitoring point, so as to realize the monitoring of the monitoring point with higher alarm frequency, improve the inspection efficiency, and at the same time, the collected inspection data can be stored, so that the user can retrieve and view according to his own needs, and finally, the present application can also respond to the intrusion information, generate a temporary inspection path according to the inspection starting point and the inspection ending point, control the indoor inspection equipment to collect anti-theft data, and send it to the user for timely collection measures, reducing the user's loss.

[0066] 2、The present application can obtain the alarm frequency and preset priority of each monitoring point, thereby generating an automatic inspection path, improving the inspection efficiency of the user's house. Among them, the present application can extract the alarm frequency and preset priority of each monitoring point, so as to calculate the path judgment coefficient, thereby determining the automatic inspection path, facilitating the efficient inspection of the indoor inspection equipment, reducing the monitoring of unnecessary key points, improving the monitoring efficiency, and the present application can also customize the training and updating of the automatic inspection path according to the actual needs of the user, so that the automatic inspection path of the indoor inspection equipment is more in line with the actual situation of the user, improving the anti-theft safety of the user's home.

[0067] 3、The present application can also respond to the intrusion information, quickly generate a temporary inspection path, and collect related anti-theft data through the indoor inspection equipment and send it to the user end in time, improve the inspection efficiency, and reduce the user's loss. Among them, the present application can determine the current position of the indoor inspection equipment through the data collected by the rotation of the indoor inspection equipment, and then determine the inspection starting point of the temporary inspection path, so that the present application can automatically calculate the optimal path from the inspection starting point to the inspection ending point, control the indoor inspection equipment to collect anti-theft data, which can reduce the data processing amount while improving the anti-theft monitoring efficiency. BRIEF DESCRIPTION OF DRAWINGS

[0068] Figure 1 A flowchart of a home anti-theft method based on the Internet of Things and a mobile terminal provided by the present application;

[0069] Figure 2 A schematic diagram of a user twin space provided by the present application;

[0070] Figure 3 A schematic diagram of a main inspection path provided by the present application;

[0071] Figure 4 A schematic diagram of a sub-inspection path provided by the present application is shown in the figure;

[0072] Figure 5 A structural schematic diagram of a home security device based on the Internet of Things and a mobile terminal provided by the present application is shown in the figure;

[0073] Figure 6 A hardware structural schematic diagram of an electronic device provided by the present application is shown in the figure. DETAILED DESCRIPTION

[0074] The technical solutions of the present application will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0075] As shown in the figure, Figure 1 the present application provides a home security method based on the Internet of Things and a mobile terminal, comprising:

[0076] S1, obtaining a user twin space corresponding to a user terminal, the user twin space comprising a plurality of key points and fixed objects, the key points having corresponding identification tags.

[0077] It should be noted that the layout of the house corresponding to different users is different, therefore, the user twin space of the corresponding user can be received, so that the inspection path can be customized and generated according to the user twin space in the subsequent process, thereby controlling the indoor inspection equipment to automatically monitor in the user's house space.

[0078] It can be understood that the user terminal is the information terminal of the user of the home security, which can be the user's mobile phone, the user twin space is a virtual space corresponding to the user's house layout, the key point is a position point for determining the inspection position and performing security monitoring in the inspection process of the security monitoring equipment, and the fixed object is a fixed object placed in the space, such as a bookshelf or a sofa.

[0079] Among them, the identification tag is an identification for the inspection equipment to identify the inspection path during inspection, which can be a two-dimensional code.

[0080] For example, as shown in the figure, Figure 2 the corresponding user twin space can be obtained according to the user's house type and indoor layout, and the window or door can be used as the key point for inspection, wherein the key point comprises a relay point and a monitoring point, so as to determine the inspection position for subsequent security monitoring.

[0081] Through the above-mentioned embodiments, the user twin space with key points and fixed objects can be obtained, and the inspection path of the inspection equipment can be configured according to the identification tag corresponding to the key point, so as to perform security inspection on the user's house.

[0082] S2, according to the path configuration strategy, the key points in the user twin space are connected to obtain the anti-theft twin space corresponding to the user end.

[0083] It can be understood that the key points in the user twin space are connected to obtain the corresponding anti-theft twin space, so as to determine the patrol path of the indoor patrol device for subsequent anti-theft patrol.

[0084] In some embodiments, the specific implementation steps of step S2 (the key points in the user twin space are connected according to the path configuration strategy to obtain the anti-theft twin space corresponding to the user end) include:

[0085] S21, receiving the main patrol path configured by the user end for the user twin space, and selecting the relay point or monitoring point closest to the main patrol path in each functional area of the user twin space for connection.

[0086] It can be understood that the main patrol path is the main path for the anti-theft detection of the patrol device, which can be configured by a person according to a house type diagram, for example, as shown in the user twin space, the main patrol path is configured to facilitate the subsequent anti-theft patrol of the patrol device. Figure 3

[0087] Among them, the functional area is the area of the user's functional division of the house, such as the bedroom, the living room, the study room, etc., the relay point is the point of the position not connected with the outdoor, such as the key point at the position of the bedroom door in the house, the monitoring point is the point of the position connected with the outdoor, such as the door, the window position leading to the outdoor, for example, the monitoring point 2 can be the door, the monitoring points 1, 3, 4, 5 and 6 can be the window, and the relay points 1, 2, 3, 4 and 5 can be the door.

[0088] Through the above implementation, the main patrol path of the user end for the user twin space can be obtained to facilitate the planning of the patrol route for subsequent safety monitoring.

[0089] S22, the key points of each functional area in the user twin space are connected to obtain a plurality of sub-patrol paths connected with the main patrol path, and the key points include relay points and monitoring points.

[0090] It can be understood that the key points include relay points and monitoring points, and the key points of each functional area in the user twin space are connected, and the sub-patrol path is the path connected with the main patrol path after the connection of the key points in each functional area, for example, the door in the bedroom and the window in the bedroom are connected, and the paths connected with the main patrol path are all sub-patrol paths.

[0091] For example: as​ Figure 4 As shown, the key points in each functional area, such as the monitoring points in the functional area are connected in the main inspection path after being connected with the corresponding relay points, so as to obtain the sub-inspection path of the corresponding area, such as, Figure 4 The dashed line is the sub-inspection path.

[0092] Through the above embodiment, the application can obtain multiple sub-inspection paths, so as to facilitate subsequent determination of the planned inspection path together with the main inspection path, thereby facilitating the anti-theft monitoring of the user's house and improving the monitoring efficiency.

[0093] S23, obtaining a planned inspection path according to the main inspection path and the multiple sub-inspection paths, updating the user twin space based on the planned inspection path, and obtaining an anti-theft twin space corresponding to the user terminal.

[0094] It can be understood that the planned inspection path is the inspection path planned for the inspection device, and the anti-theft twin space is a virtual space with the planned inspection path.

[0095] Through the above embodiment, the application can obtain an anti-theft twin space, so that the inspection device can be controlled to perform anti-theft inspection according to the anti-theft twin space in the subsequent process. It is not difficult to understand that the planned inspection path can be obtained through the connection of the sub-inspection path and the main inspection path, and the indoor drone can inspect the key points on the planned inspection path and the lines between the key points.

[0096] S3, extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generating an automatic inspection path according to the alarm frequency, controlling the indoor inspection device to perform automatic inspection based on the automatic inspection path, and storing the inspection data.

[0097] It should be noted that there can be multiple monitoring points in the user's house, but the monitoring frequencies between different monitoring points can have certain differences. For example, the alarm frequency of monitoring point 1 in the past month is 10, and the alarm frequency of monitoring point 4 in the past month is 0. Therefore, in order to improve the monitoring efficiency of the inspection device, multiple monitoring can be performed at the monitoring point with a higher alarm frequency, and the sub-inspection path where the monitoring point 4 is located can be deleted to reduce inspection redundancy and improve home inspection efficiency and ensure home safety. At the same time, the importance of each monitoring point will be considered in the present scheme, and the more important monitoring points will be added to the inspection path.

[0098] It is not difficult to understand that by adding the monitoring points with higher alarm frequencies to the inspection path, the monitoring device can be controlled to perform monitoring on the monitoring points with higher alarm frequencies when performing indoor inspection, thereby improving the inspection efficiency.

[0099] It can be understood that the preset time period is a preset time period, for example, it can be one month, the alarm frequency is the frequency of the number of alarm prompts, the automatic inspection path is the path of the automatic anti-theft inspection of the inspection equipment, the indoor inspection equipment is the equipment for anti-theft inspection in the room, which can be an indoor unmanned aerial vehicle, and the inspection data is the video data shot during the anti-theft inspection.

[0100] Through the above embodiment, the inspection data can be obtained, and the subsequent user can retrieve and view according to the own demand.

[0101] In some embodiments, the specific implementation steps of step S3 (extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generating an automatic inspection path according to the alarm frequency, controlling the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and obtaining inspection data for storage) include:

[0102] S31, extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, and obtaining a preset priority value of the corresponding monitoring point.

[0103] It can be understood that the preset priority value is a monitoring priority value set by the user according to the important protection position of the home for the corresponding monitoring point, which can be understood as the importance, for example, the preset priority value of monitoring point 1 is 10, the preset priority value of monitoring point 2 is 5, and the preset priority value of monitoring point 4 is 2. The greater the preset priority value, the higher the importance of the corresponding monitoring point, and the corresponding monitoring point needs to be planned in the automatic inspection path for monitoring.

[0104] It is not difficult to understand that the alarm frequency and the preset priority value of each monitoring point are obtained in order to subsequently perform comprehensive calculation, thereby automatically calculating the key points of the inspection and determining the automatic inspection path in order to facilitate the indoor inspection equipment to perform anti-theft monitoring.

[0105] S32, calculating according to the alarm frequency and the preset priority value to obtain a path judgment coefficient corresponding to the monitoring point.

[0106] It can be understood that the path judgment coefficient is a coefficient value for judging the key point to be added to the path. When the path judgment coefficient is greater, it can be indicated that the corresponding monitoring point is more important and needs to be added to the automatic inspection path for anti-theft monitoring, thereby ensuring the safety of the user's home.

[0107] In some embodiments, the specific implementation steps of step S32 (calculating according to the alarm frequency and the preset priority value to obtain a path judgment coefficient corresponding to the monitoring point) include:

[0108] S321, calculating an alarm coefficient based on the alarm frequency and the reference frequency, and calculating a priority coefficient based on the preset priority value and the reference priority value.

[0109] It can be understood that the reference frequency is the reference value for calculating the alarm frequency to obtain the alarm coefficient, which can be preset manually. For example, the reference frequency can be 2. The alarm coefficient is the proportional value for determining the occurrence of an alarm at the monitoring point, which can be obtained by calculating the ratio of the alarm frequency to the reference frequency.

[0110] The reference priority value is a reference value of the priority value, and the reference value of the priority coefficient is obtained, which can be preset manually.

[0111] Through the above implementation, by calculating that when the alarm frequency is large, the corresponding alarm coefficient is large, and when the preset priority value is large, the corresponding priority coefficient is large, the present invention can obtain the alarm coefficient and the priority coefficient, so as to facilitate subsequent calculation to obtain the path judgment coefficient, thereby judging whether the corresponding monitoring point needs to be added to the automatic inspection path.

[0112] S322: Obtain a path judgment coefficient corresponding to the monitoring point based on the sum of the alarm coefficient and the priority coefficient.

[0113] It is understandable that the alarm coefficient and the priority coefficient are summed up to obtain the path judgment coefficient of the corresponding monitoring point through calculation, so as to judge the monitoring point in the automatic inspection path, thereby facilitating the inspection of indoor inspection equipment.

[0114] S323, the path judgment coefficient is obtained by the following formula:

[0115]

[0116] in, For the The path judgment coefficient corresponding to the monitoring point is For the The alarm frequency corresponding to each monitoring point, is the reference frequency, is the alarm coefficient, is the frequency normalized value, For the The preset priority value corresponding to each monitoring point, is the base priority value, is the priority normalization value, is the priority coefficient, Determine the weight value for the path.

[0117] It is understandable that when The greater the alarm frequency, and The larger the preset value is, the larger the corresponding path judgment coefficient will be, so that the corresponding monitoring point can be determined as the monitoring point in the inspection path. Similarly, when The smaller the alarm frequency, and The smaller the preset value, the smaller the corresponding path judgment coefficient will be. It can be understood that the larger the path judgment coefficient, the more important the monitoring point is and the more alarms have occurred. The larger the path judgment coefficient, the less important the monitoring point is and the fewer alarms have occurred.

[0118] It is not difficult to understand that through Frequency normalized values ​​and Priority normalization value, normalize the alarm coefficient and priority coefficient at the numerical level, where: and It can be preset manually to facilitate the judgment of the obtained path judgment coefficient, thereby determining the corresponding monitoring point.

[0119] S33: When it is determined that the path judgment coefficient is greater than the preset judgment coefficient, the sub-inspection path corresponding to the monitoring point is used as a retained sub-path, and the remaining sub-inspection paths are used as deleted sub-paths.

[0120] It can be understood that the preset judgment coefficient is a reference coefficient value for numerical judgment of the path judgment coefficient, and can be preset.

[0121] It is not difficult to understand that when the obtained path judgment coefficient is greater than the preset judgment coefficient, it can be said that the corresponding monitoring point needs to be monitored in key areas, so that the sub-inspection path where the monitoring point is located can be used as a retained sub-path, and the remaining sub-inspection paths can be used as deleted sub-paths, thereby reducing the inspection time of unnecessary inspection sub-paths and enabling efficient monitoring of the monitoring points in the retained sub-paths.

[0122] The retained sub-path is the inspection sub-path that is retained for anti-theft inspection, and the deleted sub-path is the inspection sub-path that does not need to be inspected.

[0123] For example: when the sub-inspection path containing monitoring point 1 is the sub-inspection path of the bedroom area, and the corresponding path judgment coefficient of monitoring point 1 is higher, the sub-inspection path of the bedroom area will be used as a retained sub-path, so that the subsequent automatic inspection path will contain the retained sub-path to complete the anti-theft monitoring of monitoring point No. 1. When the path judgment coefficient of monitoring point 4 is lower, the sub-inspection path containing monitoring point 4 will be used as a deleted sub-path.

[0124] S34, delete and update the planned inspection path according to the deleted sub-path, obtain the automatic inspection path corresponding to the anti-theft twin space, control the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and obtain the inspection data for storage.

[0125] It can be understood that deleting the deleted sub-paths in the planned inspection path will reduce the inspection time of unimportant and alarm-free sub-paths, so that the updated automatic inspection paths can be efficiently inspected. The inspection data of the automatic inspection can be stored subsequently, and users can choose to view the videos stored on the corresponding date according to their own needs.

[0126] It should be noted that the alarm frequencies of different monitoring points may change over time. Therefore, the present invention can also automatically adjust according to the actual alarm situation and priority value to determine the corresponding automatic inspection path and improve the efficiency of anti-theft inspection. Therefore, it also includes:

[0127] A1: When it is determined that the user terminal changes the deleted sub-path corresponding to the monitoring point into a retained sub-path, a path judgment coefficient of the deleted sub-path is obtained as an increased training coefficient.

[0128] It is understandable that if the sub-patrol path in the kitchen area is determined to be a deleted sub-path after calculation, but the user believes that the corresponding sub-patrol path needs to be added to the automatic patrol path for anti-theft inspection, the corresponding sub-patrol path can be updated, and the deleted sub-path can be changed to a retained sub-path, thereby automatically training and adjusting the path judgment weight value so that the corresponding sub-patrol path is determined to be a retained sub-path after calculation. In other words, when the user changes the deleted sub-path to a retained sub-path, that is, the user believes that the corresponding monitoring point is relatively important but has not been added to the patrol path, at this time, the preset priority value corresponding to the monitoring point is larger, and therefore the corresponding path judgment coefficient is larger in the deleted sub-path, but the path judgment coefficient has not yet exceeded the preset judgment coefficient. Therefore, this solution will automatically train the path judgment weight value.

[0129] The added training coefficient is the path judgment coefficient for changing the deleted subpath to the retained subpath.

[0130] For example, when the path judgment coefficient of the monitoring point corresponding to the deletion of the sub-path and the change to the retention of the sub-path is 5, the increase in the training coefficient can be obtained as 5.

[0131] Through the above implementation, the present invention can obtain an increased training coefficient, which is convenient for subsequent automatic training and adjustment of the path judgment weight value.

[0132] A2, taking the path judgment coefficients of the remaining delete sub-paths as delete limit coefficients, and taking the maximum delete limit coefficient as an increase limit coefficient.

[0133] It can be understood that the delete limit coefficient is the path judgment coefficient of the delete sub-path that is not changed to the reserved sub-path, for example, when there are 3 delete sub-paths, after changing delete sub-path 1 to the reserved sub-path, the path judgment coefficients of the remaining 2 delete sub-paths can be obtained and taken as delete limit coefficients, and the increase limit coefficient is the maximum value in the delete limit coefficients.

[0134] It can be understood that when there are multiple delete sub-paths, the increase limit coefficient can be obtained, so as to prevent the path judgment weight values of the remaining delete sub-paths from being adjusted to the range of the path judgment coefficients of the reserved sub-paths when the path judgment weight values are trained and adjusted.

[0135] A3, obtaining an increase difference coefficient based on the difference between the preset judgment coefficient and the increase limit coefficient, and determining a limit increase value according to the increase difference coefficient.

[0136] It can be understood that the increase difference coefficient is the difference between the preset judgment coefficient and the increase limit coefficient, for example, when the preset judgment coefficient is 10 and the increase limit coefficient is 4, the increase difference coefficient can be obtained as 10-4=6, so that the limit increase value can be obtained as 6.

[0137] The limit increase value is a limited value for increasing the numerical value, so as to limit the range of increase and ensure that only the corresponding sub-inspection path is changed.

[0138] Through the above implementation, the limit increase value can be determined, so that the increased numerical value does not exceed the limit range when the path judgment weight value is adjusted subsequently.

[0139] A4, obtaining an increase training value according to the difference between the preset judgment coefficient and the increase training coefficient, and increasing training the path judgment weight value according to the increase training value to obtain an increased path judgment weight value.

[0140] It can be understood that the increase training value is the difference between the preset judgment coefficient and the increase training coefficient, for example, when the preset judgment coefficient is 10 and the increase training coefficient is 5, the increase training value can be obtained as 10-5=5, and 5 divided by the fixed coefficient value in front of the path judgment weight value in the path judgment coefficient calculation formula can obtain the maximum weight difference value, so that the increased path judgment weight value can be calculated according to the increase training value subsequently.

[0141] A5, obtaining the increased path judgment weight value through the following formula,

[0142]

[0143] wherein, is a limit increase value, is a preset judgment coefficient, is an increase limit coefficient, is an alarm frequency corresponding to the increase limit coefficient, is a preset priority value corresponding to the increase limit coefficient, is an increased path judgment weight value, is an increase constant value, is an increase training coefficient, and the increase constant value The increase training coefficient can be artificially preset.

[0144] It can be understood that when the difference between the preset judgment coefficient and the increase limit coefficient is greater, the corresponding calculated limit increase value will also be greater, and since the difference between the increased path judgment weight value and the original path judgment weight value needs to be less than the limit increase value, and the original path judgment weight value is determined, the increased path judgment weight value can be obtained according to the limit increase value.

[0145] It should be noted that the present application not only can automatically adjust the change from a deleted sub-path to a retained sub-path, but also can calculate the path judgment weight value of the change from a retained sub-path to a deleted sub-path, and realize the deletion update of the corresponding sub-inspection path, so the specific embodiment further includes:

[0146] B1, when determining that the user terminal changes the corresponding retained sub-path of the monitoring point to a deleted sub-path, obtaining the path judgment coefficient of the corresponding retained sub-path as a reduction training coefficient.

[0147] It can be understood that the reduction training coefficient is the path judgment coefficient of the corresponding retained sub-path changed to a deleted sub-path.

[0148] Through the above embodiment, the present application can obtain the reduction training coefficient, so as to subsequently calculate the reduction difference coefficient according to the reduction training coefficient, and then calculate the reduced path judgment weight value, and realize the automatic update of the path.

[0149] B2, taking the path judgment coefficients of the remaining retained sub-paths as retained limit coefficients, and selecting the smallest retained limit coefficient as a reduction limit coefficient.

[0150] It can be understood that the retained limit coefficient is the path judgment coefficient of the retained sub-path that is not changed to a deleted sub-path, and the reduction limit coefficient is the smallest value in the retained limit coefficient.

[0151] Through the above embodiment, the application can obtain a reduction limit coefficient, so as to facilitate subsequent calculation of path judgment weight values, thereby obtaining path judgment weight values adjusted through training.

[0152] B3, based on the difference between the reduction limit coefficient and the preset judgment coefficient, a reduction difference coefficient is obtained, and a limit reduction value is determined according to the reduction difference coefficient.

[0153] It can be understood that the reduction difference coefficient is the difference between the reduction limit coefficient and the preset judgment coefficient, for example, when the reduction limit coefficient is 13 and the preset judgment coefficient is 10, the reduction difference coefficient is 13-10=3.

[0154] The limit reduction value is a value for limiting the change of the reduction value, for example, when the limit reduction value is 3, it means that the difference between the reduced path judgment weight value and the original path judgment weight value is not more than 3, that is, the limit change value is within the range of 3, so as to prevent excessive reduction, so that the path judgment coefficients of the remaining reserved sub-paths are less than the preset judgment coefficient, and the remaining reserved sub-paths become deletion sub-paths.

[0155] B4, according to the difference between the reduction training coefficient and the preset judgment coefficient, a reduction training value is obtained, and the path judgment weight value is trained according to the reduction training value, to obtain a reduced path judgment weight value.

[0156] It can be understood that the reduction training value is the difference between the reduction training coefficient and the preset judgment coefficient, for example, when the reduction training coefficient is 14 and the preset judgment coefficient is 10, the reduction training value is 14-10=4.

[0157] Through the above embodiment, the application can obtain a reduction training value, so that when the path judgment weight value is trained, a reduced path judgment weight value is obtained, so as to change the reserved sub-paths to deletion sub-paths.

[0158] B5, the reduced path judgment weight value is obtained through the following formula,

[0159]

[0160] wherein, is the limit reduction value, is the preset judgment coefficient, is the reduction limit coefficient, is the alarm frequency corresponding to the reduction limit coefficient, is the preset priority value corresponding to the reduction limit coefficient, is the reduced path judgment weight value, is a reduction constant value, To reduce the training coefficient, reduce the constant value It can be preset artificially.

[0161] It can be understood that when the reduction limit coefficient is larger, the numerical value of the obtained limit reduction value will also be larger. It is not difficult to understand that when the degree of change of the path judgment weight value, that is, the difference between the path judgment weight value and the reduced path judgment weight value is less than the limit reduction value, it can prevent the path judgment coefficient of the corresponding monitoring point of the remaining retained sub-path after the path judgment weight value is reduced and adjusted from being lower than the preset judgment coefficient, thereby realizing the update and adjustment of the automatically planned path.

[0162] S4, in response to the intrusion information, retrieve the inspection end point, obtain the inspection starting point based on the fixed object and / or the identification tag, determine a temporary inspection path based on the inspection starting point and the inspection end point, and control the indoor inspection equipment based on the collection points in the temporary inspection path to collect anti-theft data and send it to the user end.

[0163] It can be understood that the intrusion information is a prompt information of human intrusion. For example, when a person breaks in through the window, the corresponding infrared device will be triggered, causing the alarm device connected to the infrared device to send an alarm prompt information, so that the patrol end point corresponding to the intrusion can be retrieved according to the intrusion information, so that the indoor patrol equipment can determine the monitoring position. At the same time, the current position of the indoor patrol equipment can be determined based on the fixed object or identification tag, so as to automatically plan a temporary patrol path from the current position to the patrol end point for anti-theft monitoring, and the collected anti-theft data can be sent to the user end in a timely manner so that the user can take quick measures to reduce user losses.

[0164] Among them, the inspection end point is the location end point of the patrol inspection, the inspection starting point is the current location of the indoor inspection equipment, the temporary inspection path is the inspection path temporarily added when an abnormal situation occurs, and the anti-theft data is the video data captured in response to intrusion information.

[0165] In some embodiments, the specific implementation steps of step S4 (the step of retrieving the inspection endpoint in response to the intrusion information and obtaining the inspection starting point based on the fixed object and / or the identification tag) include:

[0166] S401, in response to the intrusion information, the corresponding monitoring point is retrieved as the inspection end point, the indoor inspection equipment is controlled to collect data based on the preset angle and preset direction, initial judgment data is obtained, and a spatial coordinate system is constructed in the anti-theft twin space.

[0167] It can be understood that the current position of the indoor inspection device needs to be determined, so that the temporary inspection path is determined according to the inspection end point to perform anti-theft monitoring, and therefore, the indoor inspection device can be controlled to collect information according to the preset angle and the preset direction, so that the current position of the indoor inspection device can be obtained by analyzing the collected initial judgment data.

[0168] The preset angle is a preset angle, which can be 90°, so that the indoor inspection device can rotate and shoot according to the preset angle, and when the initial judgment data collected has a fixed object or an identification tag, the collection of the initial judgment data can be stopped, avoiding shooting and collecting data at all angles, so as to reduce the data processing amount. The preset direction is a preset rotation direction, which can be a clockwise direction or a counterclockwise direction, and the initial judgment data is video image data collected by the indoor inspection device to judge the current position.

[0169] Through the above embodiment, the spatial coordinate system can be obtained, so that the current position of the indoor inspection device in space can be determined subsequently, so that the temporary inspection path can be determined to perform anti-theft monitoring.

[0170] S402, when the initial judgment data has an identification tag, the lateral distance between the indoor inspection device and the identification tag is obtained based on the lateral distance sensor, and the lateral positioning coordinate of the indoor inspection device is obtained according to the lateral distance and the lateral coordinate of the identification tag.

[0171] It should be noted that the spatial coordinate system is a three-dimensional coordinate system with three directions, and the accurate position of the indoor inspection device is determined, so that the distance between the indoor inspection device and the fixed object or the identification tag in three directions is obtained.

[0172] It can be understood that when the initial judgment data contains an identification tag, the lateral distance between the indoor inspection device and the identification tag can be obtained by the lateral sensor, so as to determine the accurate position of the indoor inspection device. The lateral sensor can be an infrared distance measuring sensor to measure the lateral distance between the two-dimensional code in space. Herein, it is prior art and will not be described in detail.

[0173] The lateral distance sensor is a sensor for measuring the lateral distance, the lateral distance is the distance between the indoor inspection device and the identification tag in the lateral direction, and the lateral positioning coordinate is the coordinate of the indoor inspection device in the lateral direction.

[0174] S403, the longitudinal positioning coordinate of the indoor inspection device is obtained according to the longitudinal distance sensor, and the vertical positioning coordinate of the indoor inspection device is obtained according to the vertical distance sensor.

[0175] It can be understood that the longitudinal distance sensor is a sensor for measuring the distance in the longitudinal direction, the vertical distance sensor is a sensor for measuring the distance in the vertical direction, the longitudinal positioning coordinate is the coordinate in the longitudinal direction of the indoor inspection device, the vertical positioning coordinate is the coordinate in the vertical direction of the indoor inspection device, and the longitudinal and vertical distance sensors can be infrared distance sensors.

[0176] S404, determining the inspection starting point of the indoor inspection device based on the lateral positioning coordinate, the longitudinal positioning coordinate and the vertical positioning coordinate.

[0177] It can be understood that the position of the indoor inspection device in the anti-theft twin space is determined according to the lateral positioning coordinate, the longitudinal positioning coordinate and the vertical positioning coordinate, so that the corresponding position point can be used as the inspection starting point of the anti-theft inspection, so as to determine the temporary inspection path subsequently, thereby performing the anti-theft inspection.

[0178] S405, when the initial judgment data contains a fixed object and does not contain an identification tag, acquiring an identification tag closest to the fixed object in the anti-theft twin space as a directional positioning tag.

[0179] It can be understood that when the initial judgment data contains a fixed object and does not contain an identification tag, the identification tag closest to the fixed object can be acquired through the fixed object, and the identification tag is used as a directional positioning tag, so as to determine the inspection starting point of the indoor inspection device, thereby performing the anti-theft monitoring.

[0180] Wherein, the directional positioning tag is an identification tag for determining the direction.

[0181] S406, acquiring the relative direction between the fixed object and the directional positioning tag, and controlling the indoor inspection device to continuously collect based on the relative direction and a preset angle to obtain positioning judgment data, until the positioning judgment data contains the directional positioning tag, and determining the inspection starting point of the indoor inspection device according to the distance sensor and the directional positioning tag.

[0182] It can be understood that the relative direction is the position direction between the fixed object and the directional positioning tag, and the positioning judgment data is the data collected by the indoor inspection device according to the relative direction and the preset angle.

[0183] Through the above embodiments, the positioning judgment data with the direction positioning label can be obtained, so as to determine the inspection starting point of the indoor inspection equipment. The nearest two-dimensional code can be determined through the fixed object, so as to determine the direction for collection. The direction positioning label can be positioned under the premise of collecting less video data, so that the data collected is less, and the data for subsequent data analysis is less, thereby improving the positioning efficiency of the unmanned aerial vehicle. Without performing full-angle panoramic scanning to collect 360° video, rapid positioning can be performed.

[0184] In some embodiments, the specific implementation steps of step S4 (determining a temporary inspection path according to the inspection starting point and the inspection ending point, and controlling the indoor inspection equipment to collect anti-theft data based on the collection points in the temporary inspection path and send the anti-theft data to the user end) include:

[0185] S407, determining the shortest inspection path in the planned inspection path as an initial inspection path based on the inspection starting point and the inspection ending point.

[0186] It can be understood that the initial inspection path is the path with the shortest distance between the inspection starting point and the inspection ending point.

[0187] S408, obtaining the inspection speed of the indoor inspection equipment, and obtaining an inspection time length according to the ratio of the initial inspection path and the inspection speed.

[0188] It can be understood that the inspection speed is the flight speed of the indoor inspection equipment for patrol monitoring, and the inspection time length is the time length for the indoor inspection equipment to complete the inspection of the initial inspection path. For example, the inspection time length can be 30s, that is, the inspection time of the indoor inspection equipment from the inspection starting point to the inspection ending point is 30s.

[0189] S409, obtaining an inspection coefficient according to the ratio of the inspection time length and the reference time length, and obtaining a collection quantity according to the product of the inspection coefficient and the reference quantity.

[0190] It should be noted that when the time length required for the indoor unmanned aerial vehicle to fly to the monitoring point where the intrusion information is sent is relatively long, the intruder is more likely to move the position, and therefore, the application can dynamically select the corresponding key point as the key point for inspection according to the time length, and the key point and the distance between the key points will be inspected subsequently.

[0191] It can be understood that the reference time length is a time length set artificially, which can be 10s, the inspection coefficient is the ratio of the inspection time length and the reference time length, and the reference quantity is a reference value corresponding to the reference time length. For example, when the reference time length is 10s, the corresponding reference quantity can be 1, and the collection quantity is the number of key points for collecting anti-theft data.

[0192] For example, when the inspection time length is 30s, the reference time length is 10s, and the reference quantity is 1, the inspection coefficient is 30 / 10=3, and the corresponding collection quantity is 3x1=3.

[0193] Through the above embodiment, the collection quantity can be determined, so that the corresponding key points are determined according to the collection quantity, and the anti-theft data collection is performed.

[0194] S410, taking the inspection end point as the selection starting point for collection, selecting the key point closest to the selection starting point in the planned inspection path as the current selection starting point, repeating the above key point selection step until the number of selected key points is equal to the collection quantity, and taking the selected key points as the selection collection points.

[0195] It can be understood that there may be multiple key points in the planned inspection path, and since the intruder is at the key point position responding to the intrusion information at takeoff, in order to reduce the data processing amount, the present application collects data in the area of the key point near the intrusion information according to the inspection time length, and in order to determine the position of the key point at which the indoor inspection device starts to collect, the inspection end point can be taken as the selection starting point, so that the key point closest to the selection starting point is selected as the current selection starting point, and when the number of selected key points is equal to the collection quantity, the selected key points can be taken as the selection collection points, so that the indoor inspection device can collect data of the image of the position area of the selection collection points.

[0196] Among them, the selection collection point is the key point selected for data collection.

[0197] It is worth mentioning that the selected collection points can be key points not on the initial inspection path, so that the area near the inspection end point can be collected for anti-theft data, so that the storage amount of the collected anti-theft data is ensured to be complete in a small amount.

[0198] S411, taking the selection collection points and the inspection end point as collection points, and taking the collection points not on the initial inspection path as additional collection points.

[0199] It can be understood that the collection points are position points for anti-theft data collection, including the selection collection points and the inspection end point, and the additional collection points are key points not on the initial inspection path in the collection points.

[0200] For example, when the inspection starting point is at the position of relay point 1 and the inspection ending point is at monitoring point 6, the collection points can be monitoring point 6, relay point 2, relay point 5 and relay point 4. When relay point 2 is not in the initial inspection path, relay point 2 can be taken as an additional collection point.

[0201] S412, connecting the additional collection point with the initial inspection path in the planned inspection path to obtain a temporary inspection path corresponding to the indoor inspection device.

[0202] It can be understood that the temporary inspection path is an inspection path obtained by connecting the additional collection point with the initial inspection path.

[0203] Through the above embodiments, the temporary inspection path can be obtained, so that the indoor inspection device can subsequently collect anti-theft information at the position of the key point generating the intrusion information, thereby enabling the user to retain the anti-theft data and take relevant measures in a timely manner to reduce user loss.

[0204] S413, controlling the indoor inspection device to collect anti-theft data based on the collection points in the temporary inspection path and sending the anti-theft data to the user end.

[0205] It can be understood that the indoor inspection device collects data at the collection points in the temporary inspection path, and sends the anti-theft data to the user end after shooting, so that the user can determine the relevant intruding personnel according to the anti-theft data.

[0206] It should be noted that the indoor inspection device takes a certain length of time to reach the inspection ending point. For example, when the inspection time is relatively long, the intruding personnel can have entered the room and moved away from the window. Therefore, when the indoor inspection device reaches the window, the data shot at the pre-set angle can lack information. Therefore, the shooting angle of the indoor inspection device can be adjusted according to the inspection time, so that the collected data information is more complete and effective.

[0207] C1, obtaining a pre-set collection angle corresponding to each collection point and calling a pre-set time length corresponding to the pre-set collection angle.

[0208] It can be understood that the pre-set collection angle is a pre-set collection shooting angle, and the pre-set time length is a pre-set time length corresponding to the pre-set collection angle. For example, when the inspection time to reach the inspection ending point is 10s, the corresponding pre-set collection angle is 90°, that is, the picture data within a range of 90° around the inspection ending point can be collected. When the inspection time to reach the inspection ending point is 60s, the corresponding pre-set collection angle is 360°, that is, the picture data within a range of 360° around the inspection ending point can be collected, so as to ensure the completeness of the data.

[0209] C2, when the inspection duration is greater than the preset duration, obtaining an angle adjustment coefficient according to a ratio of the inspection duration and the preset duration, increasing and adjusting the preset collection angle according to the angle adjustment coefficient to obtain an actual collection angle corresponding to each collection point.

[0210] It can be understood that the inspection duration is a duration from an inspection starting point to an inspection ending point of the indoor inspection device, the angle adjustment coefficient is a coefficient value for adjusting the collection angle of the indoor inspection device, and the actual collection angle is an angle for actually collecting the anti-theft data, which can be 180° or 360°.

[0211] For example, when the inspection duration is 30s and is greater than the preset duration 10s, the angle adjustment coefficient is obtained as 30 / 10=3, which indicates that the indoor inspection device reaches the inspection ending point for a relatively long time, and therefore a region around the inspection ending point needs to be collected in detail, so that the collection angle is adjusted, the indoor inspection device is rotated, and the range of the shooting region is increased. For example, when the angle adjustment coefficient is 3, the preset collection angle 90° is adjusted to 270°, so that the collected anti-theft data is more complete.

[0212] As shown in Figure 5 FIG. 1 is a structural schematic diagram of a home anti-theft device based on an Internet of Things and a mobile terminal according to an embodiment of the present application, which comprises:

[0213] An acquisition module is configured to acquire a user twin space corresponding to a user terminal, wherein the user twin space comprises a plurality of key points and fixed objects, and each key point has a corresponding identification tag.

[0214] An adaptation module is configured to adapt the key points in the user twin space according to a path configuration strategy to obtain an anti-theft twin space corresponding to the user terminal.

[0215] A generation module is configured to extract an alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generate an automatic inspection path according to the alarm frequency, control an indoor inspection device to perform automatic inspection based on the automatic inspection path, and store inspection data obtained.

[0216] A collection module is configured to call an inspection ending point in response to intrusion information, acquire an inspection starting point based on the fixed objects and / or the identification tags, determine a temporary inspection path according to the inspection starting point and the inspection ending point, and control the indoor inspection device to collect anti-theft data based on collection points in the temporary inspection path and send the anti-theft data to the user terminal.

[0217] As shown in Figure 6 FIG. 2 is a hardware structure schematic diagram of an electronic device according to an embodiment of the present application, which comprises a processor 61, a memory 62, and a computer program; wherein

[0218] a memory 62, configured to store the computer program. The memory can also be a flash memory. The computer program can be an application program, a functional module, or the like, which implements the above method.

[0219] a processor 61, configured to execute the computer program stored in the memory, so as to implement each step of the method performed by the device. Details can be referred to the related description in the above method embodiments.

[0220] Optionally, the memory 62 can be independent or integrated with the processor 61.

[0221] When the memory 62 is independent of the processor 61, the device can further include:

[0222] a bus 63, configured to connect the memory 62 and the processor 61.

[0223] The present application further provides a readable storage medium, wherein the readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method provided by the various embodiments.

[0224] The readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general or special purpose computer. For example, the readable storage medium is coupled to the processor, so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). In addition, the ASIC can be located in a user equipment. Of course, the processor and the readable storage medium can also exist as discrete components in a communication device. The readable storage medium can be a read only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0225] The present application further provides a program product, which includes execution instructions stored in a readable storage medium. At least one processor of a device can read the execution instructions from the readable storage medium, and the at least one processor executes the execution instructions to make the device implement the method provided by the various embodiments.

[0226] In the embodiments of the above apparatus, it should be understood that the processor can be a central processing unit (CPU for short), and can also be other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the present application can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.

[0227] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A home anti-theft method based on the Internet of Things and mobile phone terminals, characterized in that: include: Obtaining a user twin space corresponding to the user terminal, wherein the user twin space includes multiple key points and fixed objects, and the key points have corresponding identification tags; Connecting key points in the user twin space according to the path configuration strategy to obtain an anti-theft twin space corresponding to the user terminal; Extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generating an automatic inspection path according to the alarm frequency, controlling the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and obtaining and storing the inspection data; In response to the intrusion information, the inspection end point is retrieved, the inspection starting point is obtained based on the fixed object and / or the identification tag, a temporary inspection path is determined based on the inspection starting point and the inspection end point, and the indoor inspection equipment is controlled based on the collection points in the temporary inspection path to collect anti-theft data and send it to the user end.

2. The method according to claim 1, characterized in that Connecting the key points in the user twin space according to the path configuration strategy to obtain the anti-theft twin space corresponding to the user terminal includes: Receive the main inspection path configured by the user end for the user twin space, and select the relay point or monitoring point closest to each functional area in the user twin space and connect them with the corresponding main inspection path; Connecting the key points of each functional area in the user twin space to obtain multiple sub-inspection paths connected to the main inspection path, wherein the key points include relay points and monitoring points; A planned inspection path is obtained according to the main inspection path and the multiple sub-inspection paths, and the user twin space is updated based on the planned inspection path to obtain an anti-theft twin space corresponding to the user terminal.

3. The method according to claim 2, characterized in that The method extracts the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generates an automatic inspection path according to the alarm frequency, controls indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and obtains and stores inspection data, including: Extracting the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, and obtaining a preset priority value of the corresponding monitoring point; Calculating according to the alarm frequency and the preset priority value to obtain a path judgment coefficient corresponding to the monitoring point; When it is determined that the path judgment coefficient is greater than the preset judgment coefficient, the sub-inspection path where the corresponding monitoring point is located is used as a retained sub-path, and the remaining sub-inspection paths are used as deleted sub-paths; The planned inspection path is deleted and updated according to the deleted sub-path to obtain an automatic inspection path corresponding to the anti-theft twin space. Based on the automatic inspection path, the indoor inspection equipment is controlled to perform automatic inspection, and the inspection data is obtained and stored.

4. The method according to claim 3, characterized in that The calculating according to the alarm frequency and the preset priority value to obtain the path determination coefficient corresponding to the monitoring point includes: An alarm coefficient is calculated based on the alarm frequency and the reference frequency, and a priority coefficient is calculated based on the preset priority value and the reference priority value; Based on the sum of the alarm coefficient and the priority coefficient, a path judgment coefficient corresponding to the monitoring point is obtained; The path judgment coefficient is obtained by the following formula: ; in, For the The path judgment coefficient corresponding to the monitoring point is For the The alarm frequency corresponding to each monitoring point, is the reference frequency, is the frequency normalized value, For the The preset priority value corresponding to each monitoring point, is the base priority value, is the priority normalization value, Determine the weight value for the path.

5. The method according to claim 4, characterized in that Also includes: When it is determined that the user terminal changes the deleted sub-path corresponding to the monitoring point into a retained sub-path, obtaining a path judgment coefficient of the deleted sub-path as an increased training coefficient; The path judgment coefficients of the remaining deleted sub-paths are used as deletion restriction coefficients, and the largest deletion restriction coefficient is selected as the addition restriction coefficient; Based on the difference between the preset judgment coefficient and the increase limit coefficient, an increase difference coefficient is obtained, and a limit increase value is determined according to the increase difference coefficient; Obtaining an increased training value according to a difference between the preset judgment coefficient and the increased training coefficient, and performing increased training on the path judgment weight value according to the increased training value to obtain an increased path judgment weight value; The increased path judgment weight value is obtained through the following formula: ; in, To limit the added value, is the preset judgment coefficient, To increase the restriction factor, To increase the alarm frequency corresponding to the limit coefficient, To increase the preset priority value corresponding to the restriction coefficient, is the increased path judgment weight value, To increase the constant value, To increase the training coefficient.

6. The method according to claim 4, characterized in that Also includes: When determining that the user terminal changes the retained sub-path corresponding to the monitoring point into a deleted sub-path, obtaining a path judgment coefficient of the retained sub-path as a reduced training coefficient; Using the path judgment coefficients of the remaining retained sub-paths as retained restriction coefficients, and selecting the smallest retained restriction coefficient as the reduced restriction coefficient; Based on the difference between the reduction limit coefficient and the preset judgment coefficient, a reduction difference coefficient is obtained, and a limit reduction value is determined according to the reduction difference coefficient; Obtaining a reduced training value according to a difference between the reduced training coefficient and the preset judgment coefficient, and performing reduction training on the path judgment weight value according to the reduced training value to obtain a reduced path judgment weight value; The reduced path judgment weight value is obtained by the following formula: ; in, To limit the reduction value, is the preset judgment coefficient, To reduce the restriction factor, In order to reduce the alarm frequency corresponding to the limit coefficient, To reduce the preset priority value corresponding to the restriction coefficient, is the weight value of the reduced path judgment, To reduce the constant value, To reduce the training coefficient.

7. The method according to claim 2, characterized in that The step of retrieving the inspection endpoint in response to the intrusion information and obtaining the inspection starting point based on the fixed object and / or the identification tag includes: In response to the intrusion information, the corresponding monitoring point is retrieved as the inspection end point, the indoor inspection equipment is controlled to collect data based on a preset angle and a preset direction, initial judgment data is obtained, and a spatial coordinate system is constructed in the anti-theft twin space; When it is determined that the initial judgment data contains an identification tag, obtaining a lateral distance between the indoor inspection device and the identification tag based on a lateral distance sensor, and obtaining a lateral positioning coordinate of the indoor inspection device based on the lateral distance and the horizontal coordinate of the identification tag; Acquire the longitudinal positioning coordinates of the indoor inspection device according to the longitudinal distance sensor, and acquire the vertical positioning coordinates of the indoor inspection device according to the vertical distance sensor; Determining an inspection starting point of the indoor inspection device based on the horizontal positioning coordinate, the longitudinal positioning coordinate, and the vertical positioning coordinate; When it is determined that the initial judgment data contains a fixed object but no identification tag, obtaining the identification tag closest to the corresponding fixed object in the anti-theft twin space as a direction positioning tag; Obtain the relative direction between the corresponding fixed object and the direction positioning tag, control the indoor inspection equipment to continuously collect data based on the relative direction and the preset angle, and obtain positioning judgment data. Until the positioning judgment data has the direction positioning tag, determine the inspection starting point of the indoor inspection equipment according to the distance sensor and the direction positioning tag.

8. The method according to claim 7, characterized in that The determining of a temporary inspection path according to the inspection starting point and the inspection end point, and controlling the indoor inspection equipment to collect anti-theft data based on the collection points in the temporary inspection path and sending the collected data to the user end includes: Determine the shortest inspection path among the planned inspection paths as the initial inspection path based on the inspection starting point and the inspection end point; Obtaining the inspection speed of the indoor inspection equipment, and obtaining the inspection duration according to the ratio of the initial inspection path and the inspection speed; An inspection coefficient is obtained according to the ratio of the inspection duration to the benchmark duration, and the collection quantity is obtained according to the product of the inspection coefficient and the benchmark quantity, where the benchmark duration is a duration preset manually, and the benchmark quantity is a benchmark value corresponding to the benchmark duration; The inspection endpoint is used as the selection starting point for collection, and the key point that is closest to the selection starting point and has not been selected in the planned inspection path is selected as the current selection starting point. The above steps of selecting key points are repeated until the number of selected key points is equal to the number of collection points, and the selected key points are used as the selection collection points; The selected collection point and the inspection endpoint are used as collection points, and the collection points that are not on the initial inspection path are used as additional collection points; Connecting the additional collection point with the initial inspection path in the planned inspection path to obtain a temporary inspection path corresponding to the indoor inspection equipment; Based on the collection points in the temporary inspection path, the indoor inspection equipment is controlled to collect anti-theft data and send it to the user end.

9. The method according to claim 8, characterized in that Also includes: Obtaining a preset acquisition angle corresponding to each of the acquisition points, and retrieving a preset duration corresponding to the preset acquisition angle; When it is determined that the inspection duration is greater than the preset duration, an angle adjustment coefficient is obtained according to the ratio of the inspection duration to the preset duration, and the preset collection angle is increased and adjusted according to the angle adjustment coefficient to obtain the actual collection angle corresponding to each collection point.

10. A home anti-theft device based on the Internet of Things and mobile phone terminals, characterized in that: include: An acquisition module, configured to acquire a user twin space corresponding to the user terminal, wherein the user twin space includes a plurality of key points and fixed objects, and the key points have corresponding identification tags; A connection module, used to connect the key points in the user twin space according to the path configuration strategy to obtain the anti-theft twin space corresponding to the user terminal; A generation module is used to extract the alarm frequency of each monitoring point in the anti-theft twin space based on a preset time period, generate an automatic inspection path according to the alarm frequency, control the indoor inspection equipment to perform automatic inspection based on the automatic inspection path, and store the obtained inspection data; The collection module is used to respond to the intrusion information to retrieve the inspection end point, obtain the inspection starting point based on the fixed object and / or the identification tag, determine a temporary inspection path based on the inspection starting point and the inspection end point, and control the indoor inspection equipment based on the collection points in the temporary inspection path to collect anti-theft data and send it to the user end.

Citation Information

Patent Citations

  • Indoor unattended safety inspection system

    CN103839371A

  • Home security system and method make possible aninvasion position confirmation

    KR1020080009483A