Region configuration method and apparatus, storage medium, and computer device

By using sensing equipment to automatically set and mark monitoring areas in smart homes, and using the location information of target objects for data analysis, it solves the problems of high cost and low accuracy of spatial area classification in the existing technology, and achieves efficient and accurate spatial classification. Regional classification.

WO2024199510A1PCT designated stage expired Publication Date: 2024-10-03SHENZHEN LUMIUNITED TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/085099
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-30
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

When the existing technology implements spatial area classification in the smart home field, it is necessary to set up a spatial structure map in advance, which increases the learning cost. In addition, the method of laser recognition of object information results in low detection accuracy and reduces the accuracy of classification.

Method used

By automatically setting and marking the monitoring area within the monitoring range of the sensing device, and using the location information of the target object for data analysis, the learning cost of spatial classification is reduced, and the detection accuracy and classification accuracy are improved.

Benefits of technology

It realizes automated spatial area classification in smart homes, reduces learning costs, improves detection accuracy and classification accuracy, and improves the efficiency of area management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085099_03102024_PF_FP_ABST
    Figure CN2024085099_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A region configuration method and apparatus, a storage medium, and a computer device. A region management page is used for displaying at least one monitoring region configured within a monitoring range of a sensing device; and in response to a trigger operation for configuring a monitoring region in the region management page, the configured monitoring region is marked as a target monitoring region, and the target monitoring region is displayed on the region management page. Therefore, the monitoring region is automatically configured within the monitoring range of the sensing device, so that the learning costs for implementing space region classification are reduced; the automatic detection within the range of the sensing device improves the detection accuracy and efficiency and a space region classification effect is optimized by means; and the target region is quickly marked as the target monitoring region, thereby improving the space region classification precision and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Regional setting method, device, storage medium and computer equipment

[0001] This disclosure claims priority to Chinese patent application CN 2023103531209, filed on March 30, 2023, entitled “Region setting method, device, storage medium and computer device,” the entire contents of which are hereby incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of smart homes, and in particular to a method, apparatus, storage medium, and computer equipment for setting a region. Background Art

[0003] In recent years, with the continuous acceleration of the digitalization process of spatial area management, the regional classification of specific spaces has gradually become more refined. Whether it is a large type of spatial area such as railway stations, bus stations, airports and large shopping malls, or another type of spatial area such as residences and shops, the accuracy of regional classification is constantly improving.

[0004] In related technologies, spatial region classification typically requires determining the specific type of the spatial region in the pre-set spatial structure diagram information based on the pre-set spatial structure diagram information. However, pre-setting the spatial structure diagram information in this solution increases the learning cost of spatial region classification. Furthermore, the use of laser recognition for object information results in low accuracy of the detected information, making it difficult to correctly identify the target region within the spatial region, reducing the accuracy of spatial region classification.

[0005] Summary of the Invention

[0006] Embodiments of the present disclosure provide a method, apparatus, storage medium, and computer equipment for setting a region.

[0007] According to one aspect of the present disclosure, a method for setting a region is performed by a computer device, the method comprising:

[0008] Displaying an area management page, wherein the area management page is used to display at least one monitoring area set within the monitoring range of the sensing device;

[0009] In response to a triggering operation of setting a monitoring area in the area management page, the set monitoring area is marked as a target monitoring area, and the target monitoring area is displayed on the area management page.

[0010] According to one aspect of the present disclosure, a region setting device includes:

[0011] A display unit, configured to display an area management page, wherein the area management page is configured to display at least one monitoring area set within a monitoring range of the sensing device;

[0012] The setting unit is configured to, in response to a triggering operation of setting a monitoring area in the area management page, mark the set monitoring area as a target monitoring area and display the target monitoring area on the area management page.

[0013] According to one aspect of the present disclosure, a computer device includes at least one processor and at least one memory, wherein the memory stores computer-readable instructions; when the computer-readable instructions are executed by one or more of the processors, the region setting method described above is implemented.

[0014] According to one aspect of the present disclosure, a computer-readable storage medium stores computer-readable instructions, which implement the region setting method described above when executed by one or more processors.

[0015] According to one aspect of the present disclosure, an application product includes program instructions or codes, which are stored in a storage medium. A processor of a computer device reads the program instructions or codes from the storage medium, loads and executes the program instructions or codes, so that the computer device implements the region setting method described above.

[0016] The technical solution provided by the present disclosure has the following beneficial effects:

[0017] The disclosed embodiment displays a region management page, which is used to display at least one monitoring region set within the monitoring range of the sensing device. In response to a trigger operation of setting a monitoring region in the region management page, the set monitoring region is marked as a target monitoring region, and the target monitoring region is displayed on the region management page. In this way, by automatically setting monitoring regions within the monitoring range of the sensing device, the monitoring regions and non-monitoring regions are automatically classified, reducing the learning cost of spatial region classification. Automatic detection within the range of the sensing device improves detection accuracy, while optimizing the classification effect of spatial regions. The monitoring region can be quickly marked as a target monitoring region, thereby improving the accuracy and efficiency of spatial region classification. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0019] FIG1 is a schematic diagram of a flow chart of a method for setting a region according to an embodiment of the present disclosure;

[0020] FIG2 is a schematic diagram of a scenario of a method for setting a region according to an embodiment of the present disclosure;

[0021] FIG3 is a schematic diagram of another specific scenario of the area setting method provided by an embodiment of the present disclosure;

[0022] FIG4 is another schematic flow chart of a method for setting a region according to an embodiment of the present disclosure;

[0023] FIG5 is a schematic diagram of a cluster analysis process of a region setting method provided by an embodiment of the present disclosure;

[0024] FIG6 is a specific schematic diagram of cluster analysis of the region setting method provided by an embodiment of the present disclosure;

[0025] FIG7 a is a schematic diagram of a device linkage process of a region setting method provided by an embodiment of the present disclosure;

[0026] FIG7 b is another schematic diagram of a process of device linkage in the area setting method provided by an embodiment of the present disclosure;

[0027] FIG8 is a schematic structural diagram of a region setting device provided by an embodiment of the present disclosure;

[0028] FIG9 is a schematic structural diagram of a computer device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0030] Embodiments of the present disclosure provide a method, apparatus, storage medium, and computer equipment for setting a region.

[0031] It should be noted that the regional management system and scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Ordinary technicians in this field can know that with the evolution of the regional management system and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.

[0032] The following are detailed descriptions of each.

[0033] Please refer to Figure 1, which is a flow chart of a method for setting a region according to an embodiment of the present disclosure. The method for setting a region includes:

[0034] In step 101, an area management page is displayed, wherein the area management page is used to display at least one monitoring area set within the monitoring range of the sensing device.

[0035] In this embodiment, the specific application scenario may be an area classification scenario applied in the field of smart home. In some related technologies, to realize the area classification of smart home, it is necessary to pre-draw the spatial structure diagram of the current home space, and then classify the current home space according to the number of people and positions of people detected in each area of ​​the spatial structure diagram, and determine the area type of each area in the spatial structure diagram in the home environment, where the area type may be the functional type of different functional areas in the home environment.

[0036] It should be noted that in the existing technical solutions for realizing regional classification of smart homes, on the one hand, the pre-drawing of the spatial structure diagram of the home space requires manual regional classification of the current space in advance, and the specific regional type after classification is not determined during the manual regional classification stage. This method of realizing the classification of the home space increases the learning cost of regional classification of the home space. On the other hand, the number of people and personnel information of a certain area in the spatial structure diagram is obtained by direct detection, and the number of people and personnel information is used as the detection information of the area. The specific area type of the area is determined based on the detection information. However, when obtaining the number of people and personnel positions detected in each area, the method of directly detecting the personnel in the current home space using the acquisition equipment has low detection sensitivity and poor data accuracy, which in turn leads to low accuracy in classifying spatial areas.

[0037] Thus, the disclosed embodiment displays a region management page and presents at least one monitoring region on the region management page. A monitoring region is defined by automatically collecting target location information of target objects within a monitoring range over a period of time through monitoring equipment, and automatically performing data analysis on the target location information of the target objects within the monitoring range to determine the corresponding monitoring region. The disclosed embodiment not only reduces the cost of regional classification for the current space by automatically collecting data through monitoring equipment, eliminating the need to pre-enter a spatial structure diagram of the current space, but also improves the accuracy of regional classification by using the analyzed target location information as the basis for classification, thereby improving the accuracy of regional classification and, consequently, the precision of regional classification. Specifically, data accuracy and regional classification accuracy are improved by, after obtaining the target location information of target objects within the monitoring range of the sensing device, performing data statistics on the target location information of the target objects, and then performing data analysis on the data set corresponding to the statistical target location information of the target objects to determine the monitoring region within the monitoring range. Data analysis based on the data set corresponding to the target location information of the target objects improves detection accuracy, optimizes the classification effect of spatial regions, and quickly marks the monitoring region as a target monitoring region, thereby improving the accuracy and efficiency of spatial region classification. Please refer to the following steps for the detailed process.

[0038] It should be noted that in the prior art, there is little interaction between the user and the unclassified spatial areas and / or the classified areas in the home scene. In the embodiment of the present disclosure, the area management page is used to display the spatial areas that have not been monitored in the home scene and / or the spatial areas that have been monitored and classified by the monitoring device. It is understandable that the area management page can display the unclassified spatial areas and / or the classified monitoring areas within the monitoring range of the sensing device, and the user can interact with the unclassified spatial areas and / or the classified monitoring areas through the area management page.

[0039] In order to better understand the technical solution of the present invention, reference may be made to FIG2 , which is a scene diagram of the area setting method of the present invention. In the area management page 100 , within the monitoring range of the millimeter-wave radar 2001 , two monitoring areas may be included, namely, the bedroom space 21 and the entrance and exit area 22 . The walls within the monitoring range can also be identified, recorded, and displayed in the area management page. Specifically, when classifying the indoor space into areas, data analysis of the target position information of the target object within the monitoring range of the millimeter-wave radar 2001 can be performed to determine whether a certain monitoring area within the monitoring range has a special function. For example, by detecting that the number of people entering and exiting a certain monitoring area within the monitoring range is frequent (the target position information of the people is relatively dense), the area can be marked as the entrance and exit area of ​​the current room, and the monitoring area can be displayed as the entrance and exit area on the area management page.

[0040] In step 102, in response to a triggering operation of setting a monitoring area in the area management page, the set monitoring area is marked as a target monitoring area, and the target monitoring area is displayed on the area management page.

[0041] The trigger operation involved in the embodiment of the present disclosure in response to setting the monitoring area in the area management page is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay; unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0042] It should be noted that the trigger operation for setting a monitoring area on the Area Management page refers to the operation triggered by setting a monitoring area as a target monitoring area on the Area Management page. Specifically, the trigger operation for setting a monitoring area on the Area Management page can be an automatic operation that automatically identifies and sets the monitoring area within the monitoring range of the monitoring device, or it can be a manual operation in which the user sets the monitoring area through the Area Management page.

[0043] Furthermore, after triggering the operation of setting a monitoring area on the area management page, the set monitoring area will be marked as the target monitoring area and displayed on the area management page. By displaying the target monitoring area on the area management page, the user's interaction with area management is enhanced, improving the user's interactive experience.

[0044] In some embodiments, in response to a triggering operation of setting a monitoring area in the area management page, marking the set monitoring area as a target monitoring area includes:

[0045] (1) triggering a push instruction in response to determining a monitoring area within the monitoring range of the sensing device;

[0046] (2) in response to the push instruction, displaying a push window, wherein the push window is used to display push information for setting the monitoring area as the target monitoring area;

[0047] (3) In response to the triggering operation of the confirmation component in the push window, the monitoring area is marked as the target monitoring area.

[0048] When the monitoring area is determined within the monitoring range of the sensing device, the corresponding push instruction will be triggered. The method of determining the monitoring area can be manual setting by the user through the setting button of the area management page, or it can be automatically set after the monitoring area is automatically identified within the monitoring range of the monitoring device. When the setting of the monitoring area is implemented, the push instruction is triggered, and in response to the push instruction, a push window is displayed in the area management page. The push window is used to prompt the user whether to set the monitoring area as the target monitoring area. There is a confirmation component in the push window for receiving the user's authorization information. The user's authorization is obtained by the triggering operation in the confirmation component, and the monitoring area is marked as the target monitoring area based on the authorization information.

[0049] In order to better understand the technical solution of the present disclosure, reference may be made to FIG3 , which is another schematic diagram of the area setting method of the present disclosure. In the area management page 100 , there is a prompt window 1001 for prompting the user whether to set the current monitoring area (elliptical area) as the entrance and exit area. Upon receiving the trigger operation of the confirmation component 31 , the current monitoring area is set as the entrance and exit area; upon receiving the trigger operation of the cancellation component 32 , when the monitoring area has been set as the entrance and exit area, the setting of the current monitoring area as the entrance and exit area is canceled; or when the monitoring area has not been set as the entrance and exit area, the trigger operation of setting the monitoring area is ignored, and the monitoring area is not set as the entrance and exit area.

[0050] In this embodiment, the description will be made from the perspective of an area setting device. The area setting device can be specifically integrated into a terminal such as a tablet computer, a mobile phone, etc. that has a storage unit and a microprocessor installed and has computing capabilities. The terminal can open a live broadcast client. In the embodiment of the present disclosure, the live broadcast client can be a viewer client.

[0051] Please refer to Figure 4, which is another flowchart of the region setting method provided by an embodiment of the present disclosure. The method flow may include:

[0052] In step 201, the area management page is displayed.

[0053] It should be noted that the area management page is used to display the monitoring areas within the monitoring range of the sensing device. If the area classification within the monitoring range has not been completed, only one monitoring space monitored within the current home space will be displayed. This monitoring space may be an unclassified space area. If the area classification within the monitoring range has been completed, at least one monitoring area set within the monitoring range of the sensing device within the current home space and the unclassified space areas within the monitoring range will be displayed.

[0054] In some specific embodiments, the area management page allows users to manage monitoring areas within a home space. Through the area management page, users can manually set an area to a zone type, which can be a functional type for different functional areas within the home environment. Through the area management page, users can also authorize the marking of monitoring areas automatically set within the monitoring range of a sensing device as target monitoring areas. Monitoring areas are marked as target monitoring areas based on the user's authorization information on the area management page. Target monitoring areas can also be spatial areas representing functional types of different functional areas within the home environment.

[0055] In step 202, target position information of a target object within a monitoring range of a sensing device when a state change occurs is collected.

[0056] Related technologies in other fields often manage spatial regions by directly detecting the number of people within them. This approach reduces the accuracy of the data collected within the current space and can lead to problems such as creating false targets and unexpected target disappearances when classifying different areas within the space based on the detected data. Consequently, subsequent regional classification based on monitoring data suffers from low accuracy.

[0057] To address the above issues, the disclosed embodiments collect location information of a target object when it is created and / or disappears within the monitoring range of a sensing device, and collect statistics on the location information of the target object when it is created and / or disappears, thereby obtaining target location information of the target object. It should be noted that the target location information obtained by collecting statistics on the location information of the target object when it is created and / or disappears may be the location information of the target object when it appears within the monitoring range and / or the location information when it leaves the monitoring range.

[0058] The disclosed embodiment obtains the target position information of the target object (the position information when the target object is created and / or disappears) by collecting statistics on the dynamic position information of the target object within the monitoring range of the sensing device, and determines the target object with the dynamic target position information, thereby solving the problems of creating false targets and abnormal disappearance of targets.

[0059] In some embodiments, collecting target location information when a target object within a monitoring range of a sensing device changes state includes:

[0060] (1) Collect target signals within the monitoring range of the sensing device;

[0061] (2) analyzing and processing the target signal to obtain first position information of the target object;

[0062] (3) Counting target location information when the target object is created and / or disappears within the monitoring range of the sensing device.

[0063] In this embodiment, by receiving the target signal reflected back within the monitoring range of the sensing device, the target signal is analyzed and the first position information of the target object within the monitoring range of the sensing device is determined. The first position information can be the position information when the target object is created, or it can be the position information when the target object disappears. The target position information is obtained by counting the first position information of the creation or disappearance of the target object.

[0064] It should be noted that the first location information may be the location information of the target object at a certain moment, the target location information may be a plurality of location information of the target object whose location changes within a period of time, and the target location information is a collection of location information within the time period when the target object within the monitoring range of the sensing device undergoes location changes. Among them, the above-mentioned period of time may be the time period from the appearance to the departure of the target object within the monitoring range of the sensing device, and correspondingly, the target location information may be the location information of the target object created and disappeared within the monitoring range of the sensing device. It can be seen that in other embodiments, the period of time (time period) during which the target object undergoes location changes can be reduced, and accordingly, the location information in the target location information corresponding to the target object collected within the monitoring range of the sensing device will be closer, and vice versa.

[0065] Among them, the target position information can be a data set of coordinate information corresponding to the position change of the target object. For example, when the target position information corresponding to the target object includes the position information of the target object created and disappeared within the monitoring range of the sensing device, the target position information can include the coordinate information of the target object appearing within the monitoring range and the coordinate information when leaving the monitoring range, or it can be the distance of the target object relative to a preset reference object when it appears and leaves the monitoring range. The position information of the target object is not specifically limited here.

[0066] Specifically, for example, in this embodiment, the sensing device may be a millimeter-wave radar sensor. This millimeter-wave radar sensor transmits microwave signals in every direction within the reach of the millimeter-wave radar sensor's microwave signals and analyzes the reflected millimeter-wave radar signals to determine the presence of target objects within the millimeter-wave radar sensor's monitoring range and the location of the detected target objects. The location information of the target objects may be the target object's coordinates. Specifically, in this embodiment, the frequency band and structure of the millimeter-wave radar sensor are not specifically limited.

[0067] In the embodiments disclosed herein, the location information may be the coordinate information of the target object, which represents the (x, y) coordinates of the target object within the monitoring range of the sensing device. The target location information when the target object is created and / or disappears within the monitoring range of the sensing device may be the coordinate data (x1, y1) when the target object appears within the monitoring range and / or the coordinate data (x2, y2) when the target object leaves the monitoring range. After statistics are collected on the coordinate data of the appearance and disappearance of several target objects, the statistical target location information of the target objects is obtained, wherein the statistical target location information is a data set of the coordinate data of the appearance and disappearance of several target objects.

[0068] In some embodiments, after collecting the target position information when the target object within the monitoring range of the sensing device changes state, the method further includes:

[0069] (1) Generate cumulative values ​​by collecting statistics on the target position information when the target object changes state;

[0070] (2) When the accumulated value does not meet the preset target value, the target position information of the target object within the monitoring range of the sensing device when the state changes is returned to the statistics until the accumulated value meets the preset target value.

[0071] It should be noted that the present disclosure collects statistics on target location information when a target object within the monitoring range of a sensing device experiences a state change, generates a cumulative value for the target location information, and performs data analysis on the target location information corresponding to the target object when the cumulative value reaches a preset target value. This approach ensures the number of sample data for the statistical target location information, optimizes the data set for data analysis, improves the accuracy of subsequent data analysis, and enhances the precision of the classification area.

[0072] In step 203, data analysis is performed based on the statistical target location information to obtain a first monitoring area that meets a preset condition, and the number of target location information in the first monitoring area is greater than a preset threshold.

[0073] Furthermore, based on the target location information collected, data analysis is performed on the location information of target objects created and / or disappeared in the monitoring area, and target location information that meets the preset conditions for data analysis is obtained. When the number of target location information that meets the preset conditions for data analysis is greater than a preset threshold, a corresponding monitoring area is generated based on the target location information that meets the preset conditions for data analysis. The number of target location information that meets the preset conditions for data analysis, which constitutes the monitoring area, must be greater than the preset threshold to improve the accuracy of the monitoring area. The preset threshold is the minimum number of target location information that meets the preset conditions for data analysis.

[0074] In some embodiments, performing data analysis based on the statistical target location information to obtain a first monitoring area that meets preset conditions includes:

[0075] (1) When the cumulative value meets a preset target value, clustering the target location information to obtain a clustering result after cluster analysis of the target location information;

[0076] (2) If the number of clusters in the clustering result exceeds a preset clustering threshold, retaining the target location information corresponding to the clustering result whose number of clusters exceeds the preset clustering threshold;

[0077] (3) Determine a first monitoring area based on target location information corresponding to the clustering result in which the number of clusters exceeds a preset clustering threshold.

[0078] It should be noted that the method for performing data analysis on the statistical target location information can be to perform cluster analysis on the statistical target location information data set. Cluster analysis is based on the density of sample points, determines all dense areas of sample points, and uses all dense areas of sample points as the clustering results of the cluster analysis.

[0079] In order to better understand the technical solution of the present invention, you can refer to Figure 5, which is a flow chart of the cluster analysis of the present invention. Cluster analysis is performed on the target position information of N times. If the number of point clouds in the cluster cluster is greater than T, the current area is marked as the first monitoring area; if the number of point clouds in the cluster cluster is not greater than T, the statistical data of the target position information is cleared, and the target position information of the statistical target object is returned.

[0080] In some embodiments, when the cumulative value meets a preset target value, clustering is performed on the target location information to obtain a clustering result after cluster analysis of the target location information, including:

[0081] Obtaining a location information set of each target location information within a preset range;

[0082] The location information set is used as the clustering result corresponding to each target location information.

[0083] When the cumulative value meets the preset target value, the target location information is clustered. This effectively ensures the number of clustering results that meet the clustering conditions and improves the accuracy of the clustering results. The clustering results of the target location information cluster analysis can be a set of location information for each target location information within a preset range. Specifically, the set of location information for each target location information within the preset range can be a cluster corresponding to the coordinate data of the target location information.

[0084] Furthermore, by determining whether there are clusters (information sets) exceeding a preset threshold within a preset range of the coordinate data of the target coordinate information, that is, whether the number of clustering results for each target location information within the preset range exceeds the preset threshold, if so, a monitoring area is determined based on the clusters corresponding to the coordinate data of the target location information whose clustering results exceed the preset threshold. The preset threshold can be adjusted accordingly. Accordingly, when the monitoring range of the sensing device is large, a positive adjustment of the preset threshold can appropriately increase the density of the target location information constituting the first monitoring area, thereby improving the accuracy of the first monitoring area.

[0085] Specifically, the basic principle of cluster analysis based on statistical target location information is that the data set of statistical target location information may contain coordinate data of the creation and / or disappearance of several target objects, and each coordinate data exists in the form of a "point" of coordinate information within the monitoring range of the sensing device. If there are several other "points" within the r range of "point p", the cluster corresponding to "point p" is determined with "point p" as the core and r as the domain, and a cluster corresponding to each "point" in the data set of statistical target location information is generated. By judging the number of other "points" that can be directly density-reached by the clusters corresponding to these "points", if the number of points that can be directly density-reached by the cluster corresponding to a certain point exceeds a threshold (the threshold can be appropriately adjusted), the first monitoring area is determined by merging the clusters corresponding to each point.

[0086] In some embodiments, determining the first monitoring area according to target location information corresponding to the clustering result in which the number of clusters exceeds a preset clustering threshold includes:

[0087] Determining the core points, boundary points, and noise points of each target coordinate information according to the number of clusters of the clustering result;

[0088] The region is drawn according to the core points and the boundary points to obtain a first monitoring region.

[0089] It should be noted that the coordinate type of each target coordinate information is determined based on the number of clusters in the clustering results of the target coordinate information. Coordinate types include core points, boundary points, and noise points. Core points are coordinate points where the target coordinate information is located at the core of the corresponding area of ​​the clustering results. Boundary points are located at the edge of the corresponding area of ​​the clustering results. Noise points are coordinate points where the number of clusters in the clustering results does not exceed a preset threshold. Noise points are discarded as coordinate information with insufficient cluster density. The corresponding monitoring area is then drawn based on the core points and boundary points.

[0090] In order to better understand the technical solution of the present invention, reference may be made to FIG6 , which is a specific schematic diagram of the cluster analysis of the present invention. The preset threshold value MinPts of the number of clusters is set to 4. Through iteration, it is found that point A meets the requirements for creating a core object p, and a cluster with A as the core is generated. Through continued iteration, it is found that B and C also meet the requirements for creating a core object p, but B and C are at the boundary of the entire cluster. Therefore, point A is the core point, and B and C are boundary points. N does not meet the condition of being greater than or equal to the preset threshold value MinPts of the number of clusters, and as a noise point, the point can be discarded. In some embodiments, after clustering is completed, B and C will be used as boundary points, and a rectangle will be drawn after connection, and the rectangle will be used as the monitoring area.

[0091] Specifically, for example, the spatial area within the monitoring range is monitored by sensing equipment. When the cumulative number of target location information in the spatial area within the monitoring range reaches 10, the cumulative number of target location information reaching 10 indicates that the flow of people in the area is relatively frequent. Then, a cluster analysis is performed on the data set of the 10 target location information. The cluster analysis is used to determine the number of other target location information that can be directly reached by density within a preset range and that meets the preset conditions. If, after clustering, 5 target location information with a clustering density greater than 4 are obtained, the 5 target location information are 5 points in the current spatial area. After classifying the 5 target location information, it is determined that 1 of them is the center point and 4 are boundary points. A rectangle is drawn by connecting the 4 boundary points to obtain the corresponding first monitoring area.

[0092] In step 204, at least one first monitoring area is displayed on the area management page.

[0093] Among them, the monitoring area displayed in the area management page is obtained by drawing the core points and boundary points obtained by clustering analysis of the target coordinate information of the target object within the monitoring range of the sensing device. The area management page includes at least one monitoring area. The monitoring area in the area management page can interact with the user, and in the subsequent device linkage solution, the classified monitoring areas can be used to realize the linkage of devices in different areas, thereby improving the user's interactive experience.

[0094] In step 205, when a state change of a target object within the target monitoring area is detected, a calculation instruction is triggered.

[0095] In related technologies, after spatial areas are classified, they are rarely used and have low utilization rates, resulting in a single application scenario and application function for the classified spatial areas. To address this issue, the disclosed embodiments link target monitoring areas with target devices, expanding the application scenarios and application functions of the classified spatial areas. This diversifies the management of regional classifications and improves the utilization rate of the classified spatial areas.

[0096] In some embodiments, the application of device linkage to a classified target monitoring area may be a pre-set automatic trigger within the target monitoring area, or may be triggered by a change in the state of a target object within the target monitoring area. The triggering instructions for device linkage are not specifically limited herein. The change in the state of a target object within the target monitoring area may be a change in the number of target objects within the target monitoring area, or a change in the position of a target object within the target monitoring area. The change in the state of a target object is not specifically limited herein.

[0097] In step 206 , in response to the calculation instruction, current statistical data is calculated.

[0098] Specifically, for example, the target monitoring area may be an entrance or exit area, and the change in the state of the target objects within the target monitoring area may be a change in the number of target objects within the target monitoring area. When the sensing device detects that a target person has appeared at the entrance or exit area and then leaves the monitoring range, an instruction to calculate the number of target persons within the target monitoring area is triggered. In response to this instruction, the sensing device counts the number of target persons within the target monitoring area, and determines the statistical data of the target persons within the target monitoring area of ​​the sensing device.

[0099] Among them, the above statistical data is used to display the status information of the corresponding spatial area in the target monitoring area. Based on the status information, the equipment linkage of the target monitoring area is carried out with the target device. Please refer to the following steps for the specific process of equipment linkage in the target monitoring area.

[0100] In step 207, when the statistical data meets the preset conditions, a corresponding linkage control instruction is generated.

[0101] When the numerical value of the statistical data of a target person within the monitoring range of the sensing device meets a preset condition, a linkage control instruction corresponding to each level of the preset condition can be generated. The preset condition can include a level to represent different magnitudes of the statistical data of the target person within the monitoring range. There is a corresponding relationship between the level of the preset condition and the linkage control instruction, and the corresponding relationship between the level of the preset condition and the linkage control instruction can be adjusted accordingly.

[0102] In one embodiment, generating corresponding linkage control instructions includes:

[0103] (1) when it is detected that the statistical data is a first preset value, generating a first linkage control instruction, wherein the first linkage control instruction is an opening instruction;

[0104] (2) When it is detected that the statistical data is a second preset value, a second linkage control instruction is generated, and the second linkage control instruction is a closing instruction.

[0105] It should be noted that when the statistical data in the target monitoring area falls into different preset condition ladder levels, different linkage control instructions will be generated, and the target device will be subjected to corresponding linkage control according to the different linkage control instructions. For example, when the target monitoring area is the living room area, the ladder level of the preset conditions can be set to two ladder levels including a first preset value and a second preset value, wherein the first preset value can be the statistical data of the target person in the target monitoring area from zero to one, and the second preset value can be the statistical data of the target person in the target monitoring area from one to zero. When the statistical data of the living room area is the first preset value (from zero to one), a corresponding lighting device turn-on instruction is generated; when the statistical data of the living room area is the second preset value (from one to zero), a corresponding lighting device turn-off instruction is generated.

[0106] Specifically, referring to Figure 7a, Figure 7a is a flow chart of the device linkage of the area setting method disclosed in the present invention. When it is detected that there is a target object entering at the entrance and exit (target monitoring area), it is triggered to count the number of people in the spatial area within the monitoring range. When the number of people in the spatial area within the monitoring range of the sensing device increases, it is judged whether the number of people in the spatial area within the monitoring range is from zero to one; if the number of people is from zero to one, the light-on linkage is executed. Referring to Figure 7b, Figure 7b is another flow chart of the device linkage of the area setting method disclosed in the present invention. When it is detected that there is a target object leaving at the entrance and exit, it is triggered to count the number of people in the spatial area within the monitoring range. When the number of people in the spatial area within the monitoring range of the sensing device decreases, it is judged whether the number of people in the spatial area within the monitoring range is from one to zero; if the number of people is from one to zero, the light-off linkage is executed.

[0107] In step 208, the linkage control instruction is sent to the target device, so that the target device performs device linkage control based on the linkage control instruction.

[0108] Furthermore, after generating a linkage control instruction corresponding to the statistical data within the target monitoring area, the linkage control instruction is sent to the target device, and the corresponding control action is executed according to the linkage control instruction. Specifically, for example, the lighting device turn-on instruction is sent to the linked lighting devices in the target monitoring area, and the lighting device turns on; the lighting device turn-off instruction is sent to the linked lighting devices in the target monitoring area, and the lighting device turns off.

[0109] In this way, the technical solution disclosed in the present invention enables the interaction between users and classified spatial areas and / or unclassified spatial areas through at least one monitoring area in the area management page. On the premise of improving the accuracy and efficiency of spatial area classification, the classified spatial areas are applied to a wider range of functions, thereby expanding the application scenarios of spatial area classification, making the application scope of classified spatial areas more diversified, and improving the utilization rate of classified spatial areas.

[0110] Please refer to FIG8 , which is a schematic structural diagram of a region setting device provided in an embodiment of the present disclosure. The region setting device is applied to a terminal, wherein the region setting device may include: a display unit 301 , a setting unit 302 , and the like.

[0111] The display unit 301 is used to display an area management page, where the area management page is used to display at least one monitoring area set within the monitoring range of the sensing device.

[0112] The setting unit 302 is configured to, in response to a triggering operation of setting a monitoring area in the area management page, mark the set monitoring area as a target monitoring area and display the target monitoring area on the area management page.

[0113] In some embodiments, the setting unit 302 is configured to:

[0114] In response to determining that the monitoring area is within the monitoring range of the sensing device, triggering a push instruction;

[0115] In response to the push instruction, a push window is displayed, wherein the push window is used to display push information that the monitoring area is set as the target monitoring area;

[0116] In response to a triggering operation of a confirmation component in the push window, the monitoring area is marked as the target monitoring area.

[0117] In some embodiments, the area setting device is further configured to:

[0118] When a state change of a target object within the target monitoring area is detected, a calculation instruction is triggered;

[0119] In response to the calculation instruction, calculating current statistical data;

[0120] When the statistical data meets the preset conditions, a corresponding linkage control instruction is generated;

[0121] The linkage control instruction is sent to a target device, so that the target device performs device linkage control based on the linkage control instruction.

[0122] In some embodiments, the display unit 301 includes:

[0123] Display subunit, used to display the area management page;

[0124] A statistical subunit, used to collect statistics on target position information when a target object within the monitoring range of the sensing device changes its state;

[0125] An analysis subunit is configured to perform data analysis based on the statistical target location information to obtain a first monitoring area that meets a preset condition, wherein the amount of target location information within the first monitoring area is greater than a preset threshold;

[0126] The display subunit is used to display at least one first monitoring area on the area management page.

[0127] In some embodiments, the statistics subunit is further configured to:

[0128] Collect target signals within the monitoring range of the sensing device;

[0129] Analyzing and processing the target signal to obtain first position information of the target object;

[0130] Count target location information when the target object is created and / or disappears within the monitoring range of the sensing device.

[0131] In some embodiments, the display unit 301 is further configured to:

[0132] By collecting statistics on the target position information when the target object changes state, a cumulative value is generated;

[0133] When the accumulated value does not meet the preset target value, the target position information of the target object within the monitoring range of the sensing device when the state changes is returned to be counted until the accumulated value meets the preset target value.

[0134] In some embodiments, the area setting device further includes:

[0135] a clustering subunit, configured to cluster the target location information when the cumulative value satisfies a preset target value, and obtain a clustering result after cluster analysis of the target location information;

[0136] an analyzing subunit, configured to retain target location information corresponding to the clustering results whose number of clusters exceeds the preset clustering threshold if the number of clusters in the clustering result exceeds the preset clustering threshold;

[0137] The determination subunit is configured to determine a first monitoring area according to target location information corresponding to the clustering result in which the number of clusters exceeds a preset clustering threshold.

[0138] In some embodiments, the clustering subunit is further configured to:

[0139] Obtaining a location information set of each target location information within a preset range;

[0140] The location information set is used as the clustering result corresponding to each target location information.

[0141] In some embodiments, the determining subunit is further configured to:

[0142] Determining the core points, boundary points, and noise points of each target coordinate information according to the number of clusters of the clustering result;

[0143] The region is drawn according to the core points and the boundary points to obtain a first monitoring region.

[0144] The present disclosure also provides a computer device, which may be a terminal. FIG9 shows a schematic diagram of the structure of the computer device involved in the present disclosure. Specifically:

[0145] The computer device may include one or more processing cores of a processor 401, one or more computer-readable storage media of a memory 402, a power supply 403, an input unit 404, and other components. Those skilled in the art will appreciate that the computer device structure shown in FIG9 does not limit the computer device, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0146] Processor 401 is the control center of the computer device. It connects the various components of the computer device using various interfaces and circuits. By running or executing software programs and / or units stored in memory 402 and accessing data stored in memory 402, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the computer device. Optionally, processor 401 may include one or more processing cores. Preferably, processor 401 may integrate an application processor and a modem processor, with the application processor primarily processing the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

[0147] The memory 402 can be used to store software programs and units. The processor 401 executes various functional applications and data processing by running the software programs and units stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0148] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0149] The computer device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0150] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the computer device will load the executable files corresponding to one or more application processes into the memory 402 according to the following instructions, and the processor 401 will run the application stored in the memory 402 to implement various functions as follows:

[0151] Displaying an area management page, wherein the area management page is used to display at least one monitoring area set within the monitoring range of the sensing device;

[0152] In response to a triggering operation of setting a monitoring area in the area management page, the set monitoring area is marked as a target monitoring area, and the target monitoring area is displayed on the area management page.

[0153] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of the area setting method above, and will not be repeated here.

[0154] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0155] To this end, an embodiment of the present disclosure provides a computer storage medium, in which a plurality of instructions are stored. The instructions can be loaded by a processor to execute the steps in any one of the region setting methods provided in the embodiment of the present disclosure.

[0156] According to one aspect of the present disclosure, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations provided in the above embodiments.

[0157] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0158] The computer storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0159] Since the instructions stored in the computer storage medium can execute the steps in any of the area setting methods provided in the embodiments of the present disclosure, the beneficial effects that can be achieved by any of the area setting methods provided in the embodiments of the present disclosure can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0160] The above is a detailed introduction to a method, apparatus, storage medium, and computer device for setting a region provided by an embodiment of the present disclosure. Specific examples are used herein to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only intended to help understand the method and core concept of the present disclosure. At the same time, for those skilled in the art, according to the concept of the present disclosure, there may be changes in the specific implementation methods and application scope. In summary, the contents of this specification should not be understood as limiting the present disclosure.

Claims

1. A method for setting a region, executed by a computer device, the method comprising: Displaying a region management page, wherein the region management page is used to display at least one monitoring region set within the monitoring range of the sensing device; In response to a triggering operation of setting a monitoring area in the area management page, the set monitoring area is marked as a target monitoring area, and the target monitoring area is displayed on the area management page.

2. The area setting method according to claim 1, wherein: In response to the triggering operation of setting the monitoring area in the area management page, marking the set monitoring area as a target monitoring area includes: In response to determining that the monitoring area is within the monitoring range of the sensing device, triggering a push instruction; In response to the push instruction, display a push window, the push window being used to display push information that the monitoring area is set as the target monitoring area; In response to a triggering operation of a confirmation component in the push window, the monitoring area is marked as the target monitoring area.

3. The area setting method according to claim 1, wherein: After marking the set monitoring area as the target monitoring area, the method further includes: When a state change of a target object in the target monitoring area is detected, a calculation instruction is triggered; In response to the calculation instruction, calculate current statistical data; When the statistical data meets the preset conditions, a corresponding linkage control instruction is generated; The linkage control instruction is sent to a target device, so that the target device performs device linkage control based on the linkage control instruction.

4. The area setting method according to claim 1, wherein: The display area management page includes: Display the area management page; Count the target location information when the state of the target object within the monitoring range of the sensing device changes; Performing data analysis based on the statistical target location information to obtain a first monitoring area that meets a preset condition, wherein the amount of target location information within the first monitoring area is greater than a preset threshold; At least one first monitoring area is displayed on the area management page.

5. The area setting method according to claim 4, wherein: The target position information of the target object within the monitoring range of the sensing device when the state changes includes: Collect target signals within the monitoring range of the sensing device; Analyzing and processing the target signal to obtain first position information of the target object; The target location information when the target object is created and / or disappears within the monitoring range of the sensing device is counted.

6. The area setting method according to claim 4, wherein: After collecting the target position information when the state of the target object in the statistical monitoring range changes, the method further includes: By collecting statistics on the target position information when the target object changes state, a cumulative value is generated; When the cumulative value does not meet the preset target value, the target object within the monitoring range of the sensing device is returned to the statistics. The target position information when the state changes occurs, until the accumulated value meets the preset target value.

7. The area setting method according to claim 6, wherein: The step of performing data analysis based on the statistical target location information to obtain a first monitoring area that meets preset conditions includes: When the accumulated value meets the preset target value, clustering the target location information to obtain a clustering result after cluster analysis of the target location information; If the number of clusters in the clustering result exceeds a preset clustering threshold, then retaining the target location information corresponding to the clustering result whose number of clusters exceeds the preset clustering threshold; The first monitoring area is determined according to the target location information corresponding to the clustering result in which the number of clusters exceeds a preset clustering threshold.

8. The area setting method according to claim 7, wherein: When the cumulative value meets the preset target value, clustering is performed on the target location information to obtain a clustering result after cluster analysis of the target location information, including: Obtaining a location information set of each target location information within a preset range; The location information set is used as the clustering result corresponding to each target location information.

9. The area setting method according to claim 7, wherein: The determining of the first monitoring area according to the target location information corresponding to the clustering result in which the number of clusters exceeds a preset clustering threshold comprises: Determine the core point, boundary point and noise point of each target coordinate information according to the number of clusters of the clustering result; The region is drawn according to the core points and the boundary points to obtain a first monitoring region.

10. The area setting method according to claim 5, wherein: The first location information is location information of the target object at a moment, and the target location information is a plurality of location information of the target object whose location changes within a period of time.

11. The area setting method according to claim 10, wherein: The target position information is a data set of coordinate information corresponding to the position change of the target object.

12. The area setting method according to claim 3, wherein: The generating of corresponding linkage control instructions comprises: When it is detected that the statistical data is a first preset value, a first linkage control instruction is generated, wherein the first linkage control instruction is an opening instruction; When it is detected that the statistical data is a second preset value, a second linkage control instruction is generated, and the second linkage control instruction is a closing instruction.

13. The area setting method according to claim 1, wherein: The trigger operation for setting the monitoring area in the area management page includes automatic operation of automatically identifying and setting the monitoring area within the monitoring range, or manual operation of setting the monitoring area through the area management page.

14. A device for setting a region, wherein: include: A display unit, used to display a region management page, wherein the region management page is used to display at least one monitoring region set within the monitoring range of the sensing device; The setting unit is used for marking the set monitoring area as a target monitoring area in response to a triggering operation of setting the monitoring area in the area management page, and displaying the target monitoring area on the area management page.

15. The device of claim 14, wherein: The setting unit is used for: In response to determining that the monitoring area is within the monitoring range of the sensing device, triggering a push instruction; In response to the push instruction, display a push window, the push window being used to display push information that the monitoring area is set as the target monitoring area; In response to a triggering operation of a confirmation component in the push window, the monitoring area is marked as the target monitoring area.

16. The device of claim 14, wherein: The display unit comprises: Display subunit, used to display the area management page; A statistical subunit, used to count target position information when a target object within the monitoring range of the sensing device changes state; An analysis subunit is used to perform data analysis based on the statistical target location information to obtain a first monitoring area that meets a preset condition, wherein the amount of target location information in the first monitoring area is greater than a preset threshold; The display subunit is used to display at least one first monitoring area on the area management page.

17. The device of claim 14, wherein: The device is also used for: When a state change of a target object in the target monitoring area is detected, a calculation instruction is triggered; In response to the calculation instruction, calculate current statistical data; When the statistical data meets the preset conditions, a corresponding linkage control instruction is generated; The linkage control instruction is sent to a target device, so that the target device performs device linkage control based on the linkage control instruction.

18. A computer device comprising at least one processor and at least one memory, wherein: The memory stores computer-readable instructions; when the computer-readable instructions are executed by one or more processors, the area setting method according to any one of claims 1 to 13 is implemented.

19. A computer-readable storage medium having computer-readable instructions stored thereon, wherein: When the computer-readable instructions are executed by one or more processors, the area setting method according to any one of claims 1 to 13 is implemented.

20. An application product, comprising program instructions or codes, wherein the program instructions or codes are stored in a storage medium, and a processor of a computer device reads the program instructions or codes from the storage medium, loads and executes the program instructions or codes, so that the computer device implements the area setting method as described in any one of claims 1 to 13.

Citation Information

Patent Citations

  • Monitoring method and apparatus, and electronic device

    CN106851209A

  • Intelligent control method, device and system for smart home equipment

    CN112650074A

  • Smart home control method and device, home control equipment and readable storage medium

    CN112859636A

  • Device and method for determining millimeter wave radar monitoring area boundary

    CN113687429A

  • Region setting method and device, storage medium and computer equipment

    CN116456548A