Area configuration method and apparatus, and computer-readable storage medium
By using electronic devices to generate prompt information and automatically generate edge areas in home scenes, the problem of false target interference is solved, the accuracy of spatial edge configuration is improved, and the accuracy of smart home automation control is ensured.
Patent Information
- Application Number
- PCT/CN2024/082821
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-20
- Filing Date
- 2024-03-20
- Publication Date
- 2024-09-26
AI Technical Summary
In home scenes, strong echoes from indoor wall positions cause false targets to be generated when users move, causing erroneous data in radar detection results and affecting the accurate construction of spatial areas in home scenes.
Display the area configuration page through the electronic device, respond to the trigger operation of the edge configuration item, generate prompt information, instruct the target object to move in the target space, and automatically generate edge areas based on the detection information, determine the location of the target and false targets, and display the automatically generated edges area to improve accuracy in edge areas.
Effectively reduce false target interference, improve the accuracy and reliability of edge configuration of home scene space areas, and ensure the accurate deployment of smart home automation control solutions.
Smart Images

Figure CN2024082821_26092024_PF_FP
Abstract
Description
Area configuration method, device, and computer-readable storage medium
[0001] This application claims priority to Chinese patent application CN2023103132270, filed on March 20, 2023, entitled “Region Configuration Method, Device and Computer-Readable Storage Medium,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a method, device, and computer-readable storage medium for configuring a region. Background Art
[0003] IoT technology can be applied to home environments to control home appliances. For example, remote control of networked home appliances such as TVs and air conditioners can be achieved through terminal devices, or other smart terminals can be used to control other home appliances connected to the same network. However, to further promote smart home automation, related technologies pre-define the spatial edge areas of the home environment. When a user object is detected within the spatial area of the home environment, the home appliances in the space are controlled.
[0004] However, when setting the spatial area of a home scene in related technologies, due to the strong echo from the indoor wall position, when the user moves indoors, it is easy to generate false targets, which can easily cause erroneous data in the radar detection results. As a result, it is impossible to accurately determine the edge area in the space, affecting the construction of the spatial area of the home scene.
[0005] Summary of the Invention
[0006] Embodiments of the present application provide a region configuration method, apparatus, and computer-readable storage medium.
[0007] An embodiment of the present application provides a region configuration method, which is performed by an electronic device and includes:
[0008] Displaying a region configuration page, the region configuration page including edge configuration items;
[0009] In response to a triggering operation on the edge configuration item, generating prompt information, wherein the prompt information is used to indicate that the target object moves in the target space;
[0010] An automatically generated edge region is displayed on the region configuration page, where the edge region is determined based on detection information corresponding to the target object moving in the target space.
[0011] A region recognition method, performed by an electronic device, comprising:
[0012] Acquire detection information corresponding to the target object moving in the target space, collected by the detection device based on the detection instruction, wherein the detection instruction is generated based on a trigger operation for an edge configuration item in the area configuration page;
[0013] Determining, based on the detection information, a position of the target object in the target space and a position of a false target corresponding to the target object;
[0014] Based on the position of the target object and the position of the false target, an edge area corresponding to the target space is determined, wherein the obtained edge area is used to respond to a trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
[0015] Accordingly, an embodiment of the present application provides a region configuration device, including:
[0016] A display unit, configured to display a region configuration page, wherein the region configuration page includes edge configuration items;
[0017] a generating unit, configured to generate prompt information in response to a triggering operation on the edge configuration item, wherein the prompt information is used to indicate that the target object moves in the target space;
[0018] A display unit is configured to display an automatically generated edge region on the region configuration page, where the edge region is determined based on detection information corresponding to the target object moving in the target space.
[0019] A region identification device, comprising:
[0020] an acquiring unit, configured to acquire detection information corresponding to a target object moving in a target space, collected by a detection device based on a detection instruction; the detection instruction is generated based on a trigger operation for an edge configuration item in a region configuration page;
[0021] a first determining unit, configured to calculate, based on the detection information, a position of the target object in the target space and a position of a false target corresponding to the target object;
[0022] The second determination unit is used to determine the edge area corresponding to the target space based on the position of the target object and the position of the false target; the obtained edge area is used to respond to the trigger operation of the edge configuration item and automatically displayed in the area configuration page.
[0023] According to one aspect of the present application, an electronic 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 area configuration method described above is implemented.
[0024] According to one aspect of the present application, a computer-readable storage medium stores computer-readable instructions, which implement the above-mentioned region configuration method when executed by one or more processors.
[0025] According to one aspect of the present application, an application product includes program instructions or codes, the program instructions or codes are stored in a computer-readable storage medium, and a processor of an electronic device reads the program instructions or codes from the computer-readable storage medium, loads and executes the program instructions or codes, so that the electronic device implements the area configuration method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0027] FIG1 is a schematic diagram of a scenario of a regional configuration system provided by an embodiment of the present application;
[0028] FIG2 is a schematic diagram of the steps of the area configuration method provided in an embodiment of the present application;
[0029] FIG3 is a schematic diagram of a region editing page provided in an embodiment of the present application;
[0030] FIG4 is a page diagram of configuration options in a region configuration page provided in an embodiment of the present application;
[0031] FIG5 is an example diagram of an edge attribute configuration page provided in an embodiment of the present application;
[0032] FIG6 is a schematic diagram of a display page for prompt information provided in an embodiment of the present application;
[0033] FIG7 is a schematic diagram of the automatic configuration result in the area configuration page provided in an embodiment of the present application;
[0034] FIG8 is a schematic diagram of a color attribute configuration page provided in an embodiment of the present application;
[0035] FIG9 is a schematic diagram of another step flow of the area configuration method provided in an embodiment of the present application;
[0036] FIG10 is a flowchart of determining an edge area according to an embodiment of the present application;
[0037] FIG11 is an example diagram of a distribution scenario of target objects and false targets in a target space provided by an embodiment of the present application;
[0038] FIG12 is a schematic diagram of a page for configuring edge regions of multiple targets provided by the present application;
[0039] FIG13 is a first structural diagram of a region configuration device provided in an embodiment of the present application;
[0040] FIG14 is a second structural diagram of the area configuration device provided in an embodiment of the present application;
[0041] FIG15 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0043] The embodiments of the present application provide a method, device and computer-readable storage medium for regional configuration. Specifically, the embodiments of the present application will be described from the perspective of a regional configuration device, which can be integrated into a computer device, which can be a server or a user terminal or other device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The user terminal can be a smart phone, a smart control panel, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a smart home appliance, a car terminal, an intelligent voice interaction device, an aircraft, etc., but is not limited to this.
[0044] The area configuration method provided in the embodiments of the present application can be applied to various application scenarios, including but not limited to the application scenario of area configuration of a home space, which is specifically described by the following embodiments:
[0045] For example, referring to FIG1 , which is a schematic diagram of a regional configuration system provided in an embodiment of the present application, the system may include a terminal and a data processing terminal, and its specific implementation scenario may be as follows:
[0046] The terminal can be used to: display an area configuration page, which includes edge configuration items; generate prompt information in response to a trigger operation on the edge configuration item, and the prompt information is used to indicate that the target object moves in the target space; display the automatically generated edge area on the area configuration page, and the edge area is determined based on the detection information corresponding to the target object moving in the target space.
[0047] The data processing end can be a detection device or a server, or a combination of a detection device and a server. The detection device can be a device that has the function of detecting the position of the face, such as a human body sensor, a millimeter wave radar, or the like.
[0048] Specifically, the data processing end can be used to: obtain detection information corresponding to the target object collected by the detection device based on the detection instruction when it moves in the target space, wherein the detection instruction is generated based on the trigger operation for the edge configuration item in the area configuration page; based on the detection information, determine the position of the target object in the target space, and the position of the false target corresponding to the target object; based on the position of the target object and the position of the false target, determine the edge area corresponding to the target space, wherein the obtained edge area is used to respond to the trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
[0049] Among them, the area configuration process may include displaying the area configuration page, prompting the target object to move, collecting detection information of the target object movement process, determining the location of the target object and the false target, determining the edge area, and displaying the edge area on the area configuration page.
[0050] It should be noted that the order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0051] In the embodiment of the present application, the description will be made from the perspective of execution by an electronic device, for example, the electronic device can be a terminal. Referring to FIG2 , FIG2 is a schematic flow chart of the steps of a region configuration method provided in the embodiment of the present application, and the specific process is as follows:
[0052] 101. Display the area configuration page.
[0053] In the embodiments of the present application, in order to implement the deployment of an intelligent automation control solution in a space, it is necessary to first determine the spatial area within which the automation control solution is deployed. For example, in a smart home, in order to deploy an automation control solution for a home appliance indoors, it is necessary to first determine the indoor space within which the automation control solution is implemented. This can be done by first determining the edge area of the indoor space, that is, first determining the walls of the indoor space, and using the indoor walls as the boundaries to determine the indoor space within which the automation control solution is deployed. This allows the implementation of automation control of the home appliance in the smart home when a target is subsequently detected in the indoor space.
[0054] The above are only examples. The embodiments of the present application can also be applied to the configuration process of edge areas in spaces in other scenarios, such as home scenes, offices, indoor sports venues, indoor parking lots, etc. The examples listed above are not intended to limit the implementation of the present application.
[0055] It should be noted that the spatial region described in this application can be understood as the region of the target space configured on the region configuration page. The edge region can be the region corresponding to the boundary of the target object's movement in the target space, or the region corresponding to the boundary of the target object's movement in the target space. For example, it can be a wall region or wall region, obstacle region, etc. in the target space.
[0056] When configuring a spatial area for deploying an automated control solution through a terminal, in order to improve the accuracy of the configured edge area, the user can participate in the configuration process of the edge area so that the accuracy can be confirmed or other edits can be made after the edge area configuration is completed, thereby meeting the user's personalized needs and improving the user's participation experience.
[0057] In an embodiment of the present application, in order to enable users to participate in the configuration process of the edge area, a region configuration page on the terminal interface can be provided for users to participate. Specifically, a related application for region configuration can be pre-installed on the terminal, or a corresponding region configuration page can be displayed on the terminal interface via a web page, so that users can select configuration functions or set related configuration parameters through the region configuration page in the terminal to configure the edge area.
[0058] Among them, the area configuration page can be a content screen containing relevant information of the area configuration, for example, including one or more configuration function controls, and a display area including the configured edge area, etc. Exemplarily, the area configuration page may include a function bar and a content display area, and the content display area is not limited to displaying the configured spatial area and the edge area corresponding to the spatial area and other content screens. The function bar may include multiple function controls, such as the function bar includes automatic configuration items, edge configuration items, color configuration items, save items, area adjustment items and other function controls. It should be noted that the above function controls can be in the same page or in different pages after jumping.
[0059] The area configuration page includes at least an edge configuration item, which is used to trigger the edge area configuration function to execute the relevant logic of the edge area configuration and realize the configuration process of the edge area.
[0060] Specifically, when the target application for region configuration is installed on the terminal, the region configuration page can be accessed through the target application or through a web page. At this time, the region configuration page will be displayed on the terminal's display interface. The region configuration page contains at least an edge configuration item. The user can then trigger the edge configuration item to start the edge configuration process for the spatial region.
[0061] For example, as shown in Figure 3, a target application related to regional configuration is installed on the terminal. When the user opens the target application, an initial page will be displayed on the terminal interface. The initial page is not limited to a function bar and a content display area. The function bar contains "template", "sticker", "new monitoring area", "new other area", etc. Above the function bar is the content display area, which is the "editing area". The user manually edits by triggering the "editing area". When the user triggers the "new other area" item in the function bar, the user can jump from the initial page to the regional configuration page.
[0062] As shown in Figure 4, the function bar of the area configuration page may include multiple attribute items, such as "Interference Source", "Import / Export", and "Edge". The "Edge" control is an edge configuration item, and the user can trigger this edge configuration item to configure the spatial area. The above is only an example and does not constitute a specific limitation for the implementation of this application.
[0063] In the above manner, the terminal may display the area configuration page so that the user can subsequently participate in the configuration of the spatial area through the area configuration page, thereby personalizing the configured area and improving the accuracy of configuring the edges of the spatial area.
[0064] 102. Generate prompt information in response to a triggering operation on an edge configuration item.
[0065] Among them, the edge configuration item can be used to trigger the control of automatic configuration of the edge area.
[0066] In an embodiment of the present application, when a user triggers the edge configuration item in the region configuration page through a terminal, the user enters an automatic region configuration mode. In this automatic region configuration mode, the edges of the spatial region are determined based on information related to the target object's movement. Therefore, the terminal generates a prompt indicating that the target object is moving within the current target space. At this point, the relevant detection equipment collects information about the target object's movement within the target space, so that the spatial region corresponding to the target space can be subsequently constructed on the region configuration page based on the detection information.
[0067] Exemplarily, when the user triggers the edge configuration item in the region configuration page through the terminal, the user can directly display or jump to the edge attribute configuration page, or enter the automatic configuration region mode to further trigger the automatic configuration region mode.
[0068] Specifically, after the terminal triggers the edge configuration item, the function bar can directly display or jump to the edge property configuration page. The property configuration page is shown in Figure 5. The edge property configuration page includes an "automatic configuration" item. When the "automatic configuration" item is triggered, the automatic configuration area mode can be entered. In this mode, the terminal will generate prompt information to indicate that the target object moves in the target space, so that after the subsequent detection information of the target object's movement process is collected, the edge area will be displayed in the area configuration page. The obtained configuration result is shown in the mark of Figure 5, which includes the edge area and the spatial area enclosed by the edge area. Among them, the prompt information includes at least one of voice prompts, vibration prompts, text prompts and image prompts.
[0069] In some embodiments, after generating the prompt information, the terminal instructs the target object to move through the prompt information. The prompt information may be provided by voice prompting, and the prompt information may be a voice prompt for prompting the target object to move. By playing the voice prompt corresponding to the prompt information, the target object may move within the target space according to the voice prompt until the information collection is completed.
[0070] In some embodiments, after generating the prompt information, the terminal may also use other terminal functions to prompt the target object to move in the target space. For example, if the terminal vibrates to provide a tactile prompt, the prompt information may be a vibration signal used to prompt the target object to move. During the target object's movement, the terminal will continue to vibrate until the information collection is completed, at which point the terminal will stop vibrating.
[0071] In some embodiments, after generating the prompt information, the terminal can also display the prompt information in the form of text and / or images to indicate that the target object moves in the target space. For example, after generating the prompt information, the text corresponding to the prompt information can be displayed in the area configuration page.
[0072] For example, in combination with Figures 4-6, after the user triggers the edge configuration item in the area configuration page of Figure 4 through the terminal, the user can also enter the edge attribute configuration page. The attribute configuration page is shown in Figure 5. After the user selects the "Automatic Configuration" item in the attribute configuration page through the terminal, a prompt message is displayed at the bottom of the area configuration page, namely the "Configuration Prompt" shown in Figure 6. After reading the text related to the "Configuration Prompt", the user can trigger the "Confirm" item or "Cancel" item through the terminal to determine whether to execute the configuration process of the participating area. After the user triggers the "Confirm" item, the user can move according to the prompt information in the area configuration page so that the detection device can collect relevant information about the moving target object, until the area configuration page of the terminal switches to display another prompt message to prompt that the information collection is complete. After the information collection is completed, the terminal can display the text of the second prompt message in the area configuration page to inform the user that "the current information collection is complete and there is no need to move further."
[0073] In some implementations, after generating the prompt information, the terminal may further prompt the target object to move in the target space by displaying an icon on the area configuration page or by distinguishing parts of the page.
[0074] Specifically, since the terminal interface is generally a quadrilateral, in order to enable users to better cooperate with information collection, the terminal can generate a prompt signal on any side around the area configuration page to indicate the moving direction of the target object when it moves in the target space.
[0075] For example, since the terminal's display interface is generally rectangular, the area configuration page is generally also rectangular, with each side of the rectangle representing a direction. For example, the top of the area configuration page represents the forward direction, the bottom of the area configuration page represents the backward direction, the left side of the area configuration page represents the left direction, and the right side of the area configuration page represents the right direction. Furthermore, after the terminal generates prompt information, the prompt information may include the indicator icon to be displayed and the display position of the indicator icon. The indicator icon may be displayed at the corresponding position on the area configuration page according to the prompt information, instructing the target object to move in the direction of the position of the indicator icon on the area configuration page.
[0076] For example, taking an indicator icon as an example, the indicator icon can be an "arrow" with a directional indication attribute. When the user needs to be prompted to move left in the target space, the terminal displays an "arrow" pointing to the left on the left side of the area configuration page. When the user needs to be prompted to move forward in the target space, the terminal displays an arrow pointing to the top at the top of the area configuration page. When the user needs to be prompted to move backward in the target space, the terminal displays an "arrow" pointing to the bottom at the bottom of the area configuration page, and so on.
[0077] Exemplarily, taking the method of displaying some areas of the page in a differentiated manner as an example, the differentiated display may be an icon with a color that is different from other colors of the page. Specifically, the icon may be a bar icon. When the user needs to be prompted to move to the right in the target space, the terminal displays the colored bar icon on the right edge of the area configuration page. When the user needs to be prompted to move forward in the target space, the terminal displays the colored bar icon on the top edge of the area configuration page, and so on. During the display process, the color may be any color, such as red, green, blue, etc. In addition, the display method may be a flashing display.
[0078] It should be noted that the terminal can determine the prompt target object to move by combining multiple prompt methods of the above prompt information. For example, after prompting the target object in text form that it needs to move in the target space, the moving direction of the target object in the target space is indicated by an icon until the information collection of the target object during the movement is completed.
[0079] Through the above method, after the user triggers the edge configuration item in the area configuration page, prompt information can be generated to prompt the target object to move in the target space, so that the relevant detection equipment can collect information when the target object moves in the target space and calculate the edge area of the spatial area that needs to be configured.
[0080] 103. Display the automatically generated edge area on the area configuration page.
[0081] In an embodiment of the present application, after collecting the movement process of the target object, the terminal can obtain detection information of the target object's movement process in the target space, and then determine the edge area corresponding to the spatial area of the target object.
[0082] The edge region is determined based on detection information corresponding to the target object moving in the target space. Furthermore, the automatically generated edge region is displayed in the region configuration page.
[0083] It should be noted that after the terminal collects the detection information of the target object moving in the target space, the terminal can directly calculate and determine the edge position of the spatial area corresponding to the target space in the area configuration page based on the detection information, thereby determining the edge area at the edge position. In addition, the detection information of the target object moving in the target space can be collected by a special detection device, and the detection device or other equipment can calculate the edge area of the target space in the spatial area in the area configuration page based on the detection information. Furthermore, the terminal can automatically generate an edge area at the edge position corresponding to the spatial area in the area configuration page, thereby completing the area configuration. The configuration result can be seen in Figure 7.
[0084] In some embodiments, the process of displaying the automatically generated edge region on the region configuration page may include: the terminal obtaining detection information of the target object moving in the target space; the detection information includes the position information of the target object and may also include the position information of a false target mapped by the target object. The terminal then generates an edge region corresponding to the target space based on the detection information, and displays the automatically generated edge region on the region configuration page of the terminal.
[0085] In some embodiments, after the terminal displays the automatically generated edge area in the area configuration page, in order to ensure the accuracy of the configured spatial area or meet the user's individual needs for the spatial area, the terminal may provide a way for the user to actively adjust the area.
[0086] For example, after step 103, the following steps may also be included:
[0087] (103.A) In response to the adjustment operation on the edge area, displaying the adjusted target edge area on the area configuration page;
[0088] (103.B) In response to a trigger operation on an item stored in the region configuration page, synchronize the target edge region to a detection device that provides detection information.
[0089] Specifically, after configuring the edge area on the area configuration page, the terminal can adjust the edge area to ensure the accuracy of the configured spatial area or to meet the user's personalized needs. During the process of adjusting the edge area, the user can trigger an adjustment operation on the edge area on the area configuration page through the terminal, so that the area configuration page is updated in real time based on the adjustment operation to display the adjusted target edge area.
[0090] Furthermore, the information of the configured edge region can be provided by a detection device or other processing end based on detection information. When a user adjusts an automatically configured edge region, the information of the target edge region for the adjustment needs to be synchronized with the detection device or corresponding processing end. Therefore, after completing the adjustment of the configured edge region, the terminal can respond to the user's trigger instruction for the storage item in the region configuration page and synchronize the adjusted target edge region to the detection device or other processing end for storage, thereby ensuring the data consistency of the final configured edge region and spatial region, so as to facilitate the subsequent execution of the automated control solution.
[0091] In an embodiment of the present application, the user can adjust the automatically configured edge area through the area configuration page of the terminal. When adjusting the edge area, the edge areas in multiple directions can be adjusted simultaneously, or the edge areas in each direction can be adjusted separately. The adjustment method is not limited to the color and position of the area, and labels, icons, etc. can also be added to the area.
[0092] In some implementations, the terminal may perform individual adjustments for each edge region. For example, the region adjustment process may include:
[0093] (A.1.1) Get the trigger action for the currently selected region and display the property configuration page for the currently selected region, which includes region adjustment items;
[0094] (A.1.2) In response to a triggering operation on a regional adjustment item, displaying a property selection page corresponding to the regional adjustment item;
[0095] (A.1.3) Get the attribute configuration information selected on the attribute selection page and configure the attribute configuration information for the currently selected area.
[0096] Specifically, the user can select the area that needs to be configured in the area configuration page through triggering methods such as long pressing, touching, single-clicking, and double-clicking on the terminal. At this time, the terminal can obtain the area currently selected by the user based on any trigger operation, and overlay the attribute configuration page of the selected area on the area configuration page. The attribute configuration page can be understood as a function bar, which contains area adjustment items. Furthermore, when the user triggers the area adjustment item, the terminal will display the attribute selection page corresponding to the area adjustment item. The display process can be displayed by jumping between pages, or by overlaying the attribute selection page on the attribute configuration page. Finally, the terminal detects the attribute configuration information selected by the user in the attribute selection page, and configures the selected area according to the attribute configuration information to complete the area adjustment, so that the adjusted target edge area is displayed on the area configuration page.
[0097] For example, after completing the automatic configuration of the edge area, if the user wants to adjust the color of the edge area, at this time, the edge area to be adjusted can be selected in the area configuration page through any triggering method such as terminal clicking, long pressing, etc. At this time, the attribute configuration page is displayed for the selected edge area. The attribute configuration page is shown in Figure 7. The attribute configuration page may include area adjustment items of multiple attributes.
[0098] As shown in Figure 7, the area adjustment options for attributes such as color, size, and position are not limited to these. Furthermore, the user can select a color area adjustment item within the attribute configuration page on the terminal, causing the terminal interface to jump to or overlay the corresponding attribute selection page for that color area adjustment item. The color area adjustment item is used to adjust the color of the selected edge area; the size area adjustment item is used to adjust the size of the selected edge area; and the position area adjustment item is used to adjust the position of the selected edge area within the target space.
[0099] As shown in Figure 8, the attribute selection page now includes multiple color attributes, such as red, green, blue, yellow, purple, and black. The user can select one of these color attributes as the attribute configuration information, or they can select multiple color attributes as the attribute configuration information. When selecting multiple color attributes, the attribute configuration information can be determined by synthesizing multiple colors into a new color attribute, which is not limited here. Finally, the selected edge area is adjusted using the attribute configuration information.
[0100] In some embodiments, the user can adjust the position of the automatically configured edge area by dragging. For example, the area adjustment process may include:
[0101] (A.2.1) Obtain the trigger operation for the currently selected edge region and display the property configuration page for the currently selected region, which includes region adjustment items;
[0102] (A.2.2) In response to a triggering operation of the region adjustment item, marking the edge region selected in the region configuration page to obtain a marked edge region;
[0103] (A.2.3) In response to a drag instruction for the marked edge region, the display position of the marked edge region on the region configuration page is updated to obtain an adjusted target edge region.
[0104] Specifically, the user can select the area to be configured in the area configuration page through triggering methods such as long pressing, touching, clicking, and double-clicking on the terminal. At this time, the terminal can obtain the area currently selected by the user based on any trigger operation, and overlay the attribute configuration page of the selected area on the area configuration page. The attribute configuration page can be understood as a function bar, which contains area adjustment items. Furthermore, when the user triggers the area adjustment item through the terminal, the edge area in the area configuration page will be marked, that is, displayed as a marked edge area. Finally, the user can adjust the position of the selected edge area by dragging. Specifically, the terminal can respond to the drag instruction for the marked edge area to update the display position of the marked edge area in the area configuration page, thereby completing the adjustment of the position of the edge area and obtaining the adjusted target edge area.
[0105] For example, after completing the automatic configuration of the edge area, if the user wants to adjust the position of the edge area in the area configuration page, the user can select the edge area to be adjusted in the area configuration page through any triggering method such as terminal clicking, long pressing, etc. At this time, the property configuration page displayed for the selected edge area may include area adjustment items of multiple attributes, such as area adjustment items including color, size, position and other attributes. Furthermore, the user can select the area adjustment item of the position in the property configuration page. At this time, the selected edge area will be marked, such as with a false wireframe, a thick wireframe, a highlighted colored wireframe, etc. to obtain a marked edge area. Finally, the user adjusts the position of the edge area by dragging the position of the marked edge area.
[0106] In the embodiment of the present application, after configuring the edge area, the terminal can set the automation control scheme for the configured spatial area to realize the application in the intelligent automation scenario. Among them, when deploying the intelligent automation control scheme, the terminal can set the automation control scheme based on any location area in the configured spatial area.
[0107] In some embodiments, the area configuration page includes a spatial area corresponding to the target space, and the deployment process of the automation control scheme may include: obtaining any area selected in the spatial area and generating a customized monitoring area; in response to the selection operation of the monitoring area, displaying the function configuration page for the selected monitoring area; obtaining the control attribute information configured on the function configuration page, and generating an automation control scheme for each monitoring area. The configured monitoring area and edge area are used to achieve automation control through area detection.
[0108] For example, a user can select any location area within the spatial area on the area configuration page, such as a specific edge area or multiple edge areas, to set the selected area as a monitoring area. For example, the terminal can mark the selected location area as a monitoring area or report the selected location area as a monitoring area. Furthermore, when the user triggers the selection of a monitoring area, the terminal jumps to or overlays the function configuration page corresponding to the monitoring area on the area configuration page, which includes multiple function attributes.
[0109] For example, a smart home scenario includes features like lighting, TV, air conditioning, and fans. When a user selects the TV's control attributes on the function configuration page, this information is sent to a detection device or other processing end to generate an automated control plan for the currently selected monitoring area. This allows the TV to automatically turn on and off to play programs when a user subsequently enters the monitoring area.
[0110] In addition, when configuring an automation control scheme for an area, the terminal can also select an entire space area. For example, assuming that the user selects the entire space area and selects the control attribute information of the light in the function configuration page, the terminal will configure the automation control scheme of the light for the entire space area, so that when it detects that a user appears in the target space, it will automatically control the switch of the light to provide lighting.
[0111] For example, suppose a user wants to set up an automated control plan for the ambient light at a specific wall location in the target space. The user selects a certain edge area within the spatial area on the Area Configuration page as the monitoring area, and then selects the ambient light control attribute information for that monitoring area on the Function Configuration page to generate an automated control plan. Then, when the user appears within that monitoring area in the target space, the ambient light will automatically illuminate.
[0112] Through the above method, the terminal can display the automatically configured edge area in the area configuration page to determine the scope of the spatial area corresponding to the target space, so as to establish an automatic control plan in the area within the spatial area, and realize intelligent automatic control of the spatial area or any location within the spatial area, thereby improving the user experience.
[0113] By implementing any one implementation or combination of implementations in the embodiments of the present application, the application scenario of the area configuration process can be realized.
[0114] As can be seen from the above, in the embodiment of the present application, the terminal can display a region configuration page, and the region configuration page includes an edge configuration item; in response to a trigger operation for the edge configuration item, a prompt message is generated, and the prompt message is used to indicate that the target object moves in the target space; the automatically generated edge area is displayed on the region configuration page, and the edge area is determined based on the detection information corresponding to the target object when it moves in the target space. It can be seen that this solution allows the user to participate in configuring the edge area of the space. The terminal first displays the region configuration page in the interface, and then, when the user triggers the edge configuration item in the region configuration page, the user is prompted to move in the target space so that other detection sources can collect detection information of the target object when it moves. Finally, the automatically generated edge area is displayed on the region configuration page according to the detection information; in this way, the user participates in the configuration of the edge area, and the edge area in the space is determined based on the detection information of the user during the movement, thereby improving the accuracy of constructing the edge of the spatial area and having reliability.
[0115] The method described in the above embodiment will be further described in detail below with examples.
[0116] The embodiment of the present application takes data processing as an example to further describe the data processing method provided in the embodiment of the present application.
[0117] Figure 9 is a schematic diagram of another step of the region configuration method provided by an embodiment of the present application, Figure 10 is a flowchart of determining edge regions provided by an embodiment of the present application, Figure 11 is an example diagram of the distribution of target objects and false targets in the target space provided by an embodiment of the present application, and Figure 12 is a page schematic diagram of the edge region configuration scenario of multiple targets provided by an embodiment of the present application. For ease of understanding, the embodiments of the present application are described in conjunction with Figures 3-12.
[0118] In the embodiment of the present application, the method will be described from the perspective of electronic equipment, which can be a detection device, a terminal, or a server. The specific process of the area configuration method is as follows:
[0119] 201. Acquire detection information corresponding to a target object moving in a target space, collected by a detection device based on a detection instruction.
[0120] The target object may be an object that can move in the target space, such as a human body, an intelligent robot, a sweeping robot, and the like.
[0121] In the embodiments of the present application, in order to deploy an automated control solution in a target space and realize an intelligent automated control scenario for related equipment or functional components, it is necessary to first accurately determine the spatial scope of the target space, so as to facilitate the precise deployment of the subsequent automated control solution and improve the user experience when executing the intelligent control solution. In determining the spatial scope of the target space, the electronic device can determine the edge position of the wall or fence in the target space by collecting detection information of the target object moving in the target space, thereby configuring the spatial area corresponding to the target space.
[0122] Therefore, when configuring the spatial area corresponding to the target space, the terminal can do so through user-involved configuration. Specifically, the user can participate in the automatic setting of the edges of the spatial area through the area configuration page displayed on the terminal device. For example, the user can open the area configuration page through a pre-installed area configuration application or web page on the terminal. Furthermore, the user can trigger the edge configuration item on the area configuration page to prompt the target object to move within the target space.
[0123] In addition, the electronic device simultaneously generates a detection instruction, which is generated based on the trigger operation for the edge configuration item in the area configuration page, and is used to instruct the detection device to collect detection information when the target object moves in the target space.
[0124] Among them, the detection device can be a human body sensor or a radar device, which is used to collect the position information of any target in the target space, such as the position information of the target object and the projection target associated with the target object. The detection device can realize data collection through point cloud data collection.
[0125] The detection information may include the location information of the target object, and may also include the location information of the false target mapped by the target object. It should be noted that the false target may be a target generated by the target object after being affected by factors such as light or signal echo. For example, taking the detection device as a radar device, when the radar device emits electromagnetic waves, when the electromagnetic waves encounter the target object during transmission, refraction, reflection, scattering, etc. will occur, thereby causing false targets to appear in the target space, such as one or more false targets corresponding to the target object appearing on the wall or the ground. The detection information may be point cloud data and location, etc.
[0126] In the above manner, the electronic device can collect detection information of the target object when it moves in the target space, so as to subsequently determine the position of the detected target based on the detection information, and further determine the position of the edge area based on the position of the detected target.
[0127] 202. Determine a position of a target object in the target space and a position of a false target corresponding to the target object based on the detection information.
[0128] In an embodiment of the present application, after the electronic device collects detection information when the target object moves in the target space, it can analyze the position of the target object and the associated false target in the target space based on the detection information, so as to subsequently determine the position of the wall in the target space based on the analyzed position, thereby completing the configuration of the edge area in the spatial area in the area configuration page.
[0129] In some embodiments, the electronic device may analyze and determine the real target object and the corresponding false target based on the distance and position relationship between the detected target and the detection device, thereby obtaining the positions of the real target object and the false target.
[0130] For example, step 202 may include:
[0131] (202.1) Identifying the positions of various targets in the target space based on the detection information, where the targets include target objects and false targets;
[0132] (202.2) Determine the distance between each target and the detection device based on the location of each target;
[0133] (202.3) Determine the target object in the target space and the false target corresponding to the target object according to the distance between each target and the detection device, so as to obtain the position of the target object and the position of the false target.
[0134] Specifically, the electronic device determines the position of each detected target based on the detection information to calculate the positional distance between the position of each target and the position of the detection device, thereby determining the distance between each target and the detection device. Furthermore, the electronic device analyzes the real target objects and corresponding false targets from the multiple detected targets based on the distance relationship between each target and the detection device. Thus, the position of the target object in the target space and the position of the false target in the target space can be obtained. In this way, the edge area in the spatial area can be subsequently constructed based on the obtained positions of the target object and the false target.
[0135] In some embodiments, the electronic device can analyze the real target object and the associated false targets based on the distance relationship between the detected target and the detection device. For example, step (202.3) may include: based on the distance between each target and the detection device, determining the target with the smallest distance from the detection device as the target object; and determining the targets other than the target object as false targets corresponding to the target object.
[0136] It should be noted that due to the refraction and scattering of detection signals from the target object in the target space, false targets may appear behind or to the side of the target object. However, the real target object is closer to the radar equipment than other false targets. Therefore, the real target object and false targets can be distinguished based on the distance between the detected target and the detection equipment.
[0137] Specifically, the electronic device locates the target with the smallest distance value based on the distance between each target and the detection device, and identifies the target closest to the detection device as the true target object. Subsequently, all detected targets in the target space other than the true target object are identified as false targets associated with the target object. This allows the position of the edge area to be determined by combining the positions of the identified target objects and false targets.
[0138] Through the above method, the electronic device can analyze the position of the target object and the associated false target in the target space based on the collected detection information, so as to subsequently determine the position of the wall in the target space in combination with the identified target object and the position of the false target, thereby completing the configuration of the edge area in the spatial area in the area configuration page.
[0139] 203. Determine an edge region corresponding to the target space based on the position of the target object and the position of the false target.
[0140] In the embodiment of the present application, after obtaining the position of the target object and the position of the false target, the edge area corresponding to the target space, that is, the position area of the wall, can be determined based on the above-obtained positions.
[0141] In some embodiments, the edge area corresponding to the target space may be determined based on the position distribution relationship between the target object and the false target in the target space. For example, step 203 may include:
[0142] (203.1) Determine a position distribution relationship of each false target relative to the target object based on the position of the target object and the positions of the false targets;
[0143] (203.2) Determine the edge position corresponding to each false target based on the position distribution relationship;
[0144] (203.3) Determine the edge area corresponding to the target space according to the edge position.
[0145] The position distribution relationship includes the position distribution of each false target and the target object in the target space. Based on the position distribution relationship, the distance between each false target and the target object can be determined.
[0146] Specifically, after obtaining the position of the target object and the position of the false target, the position distribution relationship of the false target relative to the target object in the target space can be determined based on the positions of the target object and the false target. Furthermore, when there are multiple false targets, each false target will generally be scattered on the wall in the target space, and the detection device collects the false targets through point cloud or other means. Therefore, each false target can correspond to a corresponding cavity in the target space, and the position of the false target can be used to determine the position of the wall in the target space, that is, the edge position. Finally, after determining the edge position corresponding to the target space, the edge area corresponding to the target space can be generated according to the determined edge position, so that the information data of the edge area can be transmitted to the terminal to display the edge area in the area configuration page of the terminal.
[0147] In an embodiment of the present application, the edge area obtained is used to respond to a trigger operation for an edge configuration item and is automatically displayed in the area configuration page. Specifically, the user triggers the edge configuration item in the area configuration page of the terminal, and after instructing the detection device to collect relevant detection information during the movement of the target object, the detection device or other processing end (such as a server) determines the edge area of the target space based on the position of the target object and the false target reflected in the detection information. Thereafter, the detection device or other processing end sends the information data of the edge area to the terminal to automatically display the edge area in the area configuration page, thereby realizing the configuration of the spatial area corresponding to the target space.
[0148] In some embodiments, there may be multiple false targets on the same side edge, which may interfere with the determination of the position of the same side edge and affect the accuracy. Therefore, when multiple false targets appear on the same side edge, the electronic device needs to select a false target that conforms to the spatial distribution in order to further determine the edge position. For example, taking the position of the detection device in the target space as the origin, when the target object is located directly in front of the detection device, the false target may be located on the wall in front of the target object. Step (203.2) may include: when it is determined based on the position distribution relationship that the false target is located directly in front of the target object, the false target located directly in front of the target object is determined as the front false target; when the number of front false targets identified is multiple, the position of the front false target closest to the target object is determined as the edge position.
[0149] In some embodiments, for false targets located on the side wall, when determining the edge position, it may also include: when it is determined based on the position distribution relationship that the false target is located on the side of the target object, the false target on the side of the target object is determined as a side false target; when the number of side false targets is identified to be multiple, the position of the side false target closest to the target object is determined as the edge position.
[0150] In an embodiment of the present application, after the edge region is sent to the terminal's region configuration page for display, when the user adjusts the automatically configured edge region, it is necessary to ensure that the information data of the edge region in the detection device or other processing end (such as a server) is consistent. Therefore, when the terminal responds to the adjustment operation of any edge region in the region configuration page, it will transmit the relevant data of the adjusted target edge region to the detection device or other processing end (such as a server) to synchronize the data of the edge region adjusted by the user with the data of the detection device or other processing end, so as to subsequently achieve precise control of the intelligent automatic control solution.
[0151] In an embodiment of the present application, users can set up automated control schemes for configured spatial areas to achieve intelligent control. Specifically, when a user selects any area as a monitoring area through the spatial area in the area configuration page of the terminal, and then configures and saves relevant control attribute information for the monitoring area, the electronic device will then synchronize the monitoring area and control attribute information to the detection device to complete the construction of the automated control scheme, so that the detection device can perform target detection for the monitoring area, so that when a target is detected in the monitoring area, the automated control scheme will be executed, for example, automatically controlling the switch of a light to provide lighting.
[0152] Through the above method, the edge area corresponding to the target space can be determined, so that the various edge areas of the space area can be automatically displayed in the area configuration page later, and the accurate configuration of the space area corresponding to the target space can be completed.
[0153] To facilitate understanding of the embodiments of the present application, the embodiments of the present application will be described using a specific application scenario example. Specifically, the application scenario example is described by executing the above steps 201-203 and combining Figures 3-12.
[0154] The application scenario examples of the embodiments of the present application can be applied to regional configuration scenarios such as smart homes, parking lots, and indoor sports fields. For ease of understanding, the embodiments of the present application will be described in the context of smart homes, and the regional configuration scenarios of the smart homes are as follows:
[0155] Users can configure the edges of the spatial area through the APP area configuration page on the terminal. When the user rotates the automatic configuration, the user is prompted to move in the space. At this time, the signals of the user and the false target in the space can be collected. Through signal processing, the position of the false target is determined, and the position of the wall in the space is determined. The position data of the wall is transmitted to the terminal to display the automatically configured edge area on the area configuration page. It should be noted that targets other than walls can be regarded as false interference targets. The position data of false interference targets will not be transmitted to the terminal, which improves the accuracy of the configured edge area.
[0156] The regional configuration scenarios of this smart home can be realized through terminals and detection devices, as follows:
[0157] (1) The regional configuration process for interface interaction on the terminal side is as follows:
[0158] (1.1) After opening the region configuration application on the terminal, the terminal displays the edit region interface, which can be regarded as the initial page, as shown in Figure 3. It is not limited to including a function bar and a content display area. The function bar contains "Template", "Sticker", "New Monitoring Area", "New Other Area", etc. When the user triggers the "New Other Area" item, the user can jump from the initial page to the region configuration page, so that the region configuration page is displayed in the terminal interface.
[0159] (1.2) The area configuration page, shown in Figure 4, includes properties such as "Interference Source," "Import / Export," and "Edge." The "Edge" control is the edge configuration item. Users can trigger this edge configuration item through the terminal, and the function bar will jump to the edge property configuration page, as shown in Figure 5. This property configuration page includes items such as "Color" and "Auto Configuration." This is only an example.
[0160] (1.3) When the user triggers the "Auto Configure" option, the user enters the Auto Configure Area mode. In this mode, a prompt message is generated, and the triggering operation for the "Auto Configure" option causes the function bar to jump to the information prompt page, so that the prompt message can be displayed in text form on the information prompt page, as shown in Figure 6. This can indicate the movement of the target object in the target space. In addition, a detection instruction can be generated to instruct the detection device to collect detection information when the target object moves.
[0161] (1.4) The terminal displays the automatically generated edge area in the content display area of the area configuration page. The automatic configuration result of the edge area can be seen in Figure 7.
[0162] (1.5) For the automatically configured edge area, the user can make adjustments through the terminal to ensure the accuracy of the area configuration or meet personalized needs. For example, the user can select the attribute configuration information of "color" in the attribute configuration page corresponding to the edge configuration item (Figure 7) so that the function bar jumps to the attribute selection page corresponding to "color". As shown in Figure 8, the attribute configuration page of "color" displays multiple colors such as red, green, blue, yellow, purple, and black. If the user selects the "red" attribute configuration information in the attribute configuration page, the automatically configured edge area will be adjusted to red based on the "red" attribute configuration information. In addition, the user can also adjust the position of the automatically configured edge area. It should be noted that for the adjustment of the edge area, the adjusted edge area data needs to be synchronized to the detection device or other processing end.
[0163] (2) Taking a radar device as an example, as shown in FIG10 , the edge area determination process on the detection device side is as follows:
[0164] (2.1) The radar device can initiate detection based on a detection command triggered by the edge adjustment option on the area configuration page, or it can initiate detection proactively. During the detection process, the radar device detects the movement of the target object in the target space to obtain the detected target's location.
[0165] (2.2) Determine whether the number of detected targets is greater than 1. The number of detected targets determined here is the total number of real target objects and false targets. If the number of detected targets is greater than 1, obtain the position of each detected target and take the target closest to the radar device as the real target.
[0166] (2.3) The process of determining the edge position:
[0167] (2.3.a) In target space, when there is a wall behind the real target object, a false target 1 appears directly behind the target object (the target with the shortest x-distance from the radar device). This false target 1 is used to determine the wall directly in front of the radar, that is, the front edge position.
[0168] (2.3.b) If the target space contains walls in multiple directions, multiple false targets may appear, meaning the number of detected targets is greater than 2. In this case, the position of each detected target is obtained separately. If there is a wall directly behind the real target object, a false target 1 will be directly behind the real target object. This false target 1 is used to determine the edge position directly in front of the radar.
[0169] Furthermore, false target 2 and false target 3 appear on the left and right walls of false target 1 respectively. The distribution relationship of false targets 1, 2 and 3 in the target space is shown in Figure 11. At this time, the false target closest to false target 1 is used as the position of the left and right walls, that is, the edge position of the left and right sides. The obtained area configuration result is shown in Figure 12.
[0170] (3) After the area configuration is completed, the terminal can deploy an automation control plan for the configured spatial area and monitor the spatial area through detection equipment. When a target object is detected and the situation of the detected target object meets the triggering conditions of the automation control plan, the corresponding equipment is controlled to execute the corresponding automation control plan.
[0171] Through the above application scenario examples, the following effects can be achieved: automatic configuration of areas is achieved through user interface interaction. Users only need to leave the room or walk around the room as required to complete the configuration. The operation is simple and practical; it can effectively suppress the influence of false interference targets on area configuration. The method is simple and highly accurate. It can be applied to the deployment of automated control solutions for spaces to realize intelligent control of spaces.
[0172] From the above, it can be seen that the embodiment of the present application can allow the user to participate in configuring the edge area of the space. The area configuration page is first displayed in the interface. Then, when the user triggers the edge configuration item in the area configuration page, the user is prompted to move in the target space so that other detection sources can collect detection information of the target object when moving. Finally, the automatically generated edge area is displayed in the area configuration page according to the detection information; in this way, the user participates in the configuration of the edge area, and the edge area in the space is determined according to the detection information of the user during the movement, thereby improving the accuracy of constructing the edge of the spatial area and having reliability.
[0173] In order to better implement the above method, the embodiment of the present application further provides a region configuration device. For example, as shown in FIG13 , the region configuration device may include a display unit 401 , a generation unit 402 , and a presentation unit 403 .
[0174] A display unit 401 is used to display a region configuration page, which includes edge configuration items;
[0175] A generating unit 402 is configured to generate prompt information in response to a triggering operation on an edge configuration item, where the prompt information is used to indicate that the target object moves in the target space;
[0176] The display unit 403 is configured to display the automatically generated edge region on the region configuration page, where the edge region is determined based on the detection information corresponding to the target object moving in the target space.
[0177] In some embodiments, the area configuration device also includes a synchronization unit for: displaying the adjusted target edge area in the area configuration page in response to an adjustment operation on the edge area; and synchronizing the target edge area to a detection device that provides detection information in response to a trigger operation on a storage item in the area configuration page.
[0178] In some embodiments, the area configuration device also includes an adjustment unit, which is used to: obtain a trigger operation for the currently selected area, display a property configuration page for the currently selected area, and the property configuration page includes an area adjustment item; in response to a trigger operation for the area adjustment item, display a property selection page corresponding to the area adjustment item; obtain the property configuration information selected on the property selection page, and configure the property configuration information for the currently selected area.
[0179] In some embodiments, the area configuration page includes a spatial area corresponding to the target space, and the area configuration device also includes a configuration unit, which is used to: obtain any area selected in the spatial area and generate a customized monitoring area; in response to the selection operation of the monitoring area, display the function configuration page for the selected monitoring area; obtain the control attribute information configured on the function configuration page, and generate an automation control plan for each monitoring area. The configured monitoring area and edge area are used to achieve automatic control through area detection.
[0180] In some embodiments, the generation unit is also used to obtain detection information of the target object moving in the target space; the detection information includes at least one of the position information of the target object and the position information of the false target mapped by the target object; an edge area is generated based on the detection information, and the automatically generated edge area is displayed on the area configuration page.
[0181] In some embodiments, the prompt information includes a displayed indication icon, the indication icon includes a position direction in the area configuration page, and the indication icon is used to instruct the target object to move according to the position direction of the indication icon in the area configuration page.
[0182] In some embodiments, the prompt information includes at least one of a voice prompt, a vibration prompt, a text prompt, and an image prompt.
[0183] In some embodiments, the area adjustment item is at least one of color, size, and position; the area adjustment item corresponding to the color is used to adjust the color of the selected edge area; the area adjustment item corresponding to the size is used to adjust the area size of the selected edge area; and the area adjustment item corresponding to the position is used to adjust the position of the selected edge area in the target space.
[0184] From the above, it can be seen that the embodiment of the present application can allow the user to participate in configuring the edge area of the space. First, the area configuration page is displayed in the interface. Then, when the user triggers the edge configuration item in the area configuration page, the user is prompted to move in the target space so that other detection sources can collect detection information of the target object when moving. Finally, the automatically generated edge area is displayed in the area configuration page according to the detection information; in this way, the user participates in the configuration of the edge area, and the edge area in the space is determined according to the detection information of the user during the movement, thereby improving the accuracy of constructing the edge of the spatial area and having reliability.
[0185] To better implement the above method, the present invention also provides a region identification device. For example, as shown in FIG14 , the region configuration device may include an acquisition unit 501 , a first determination unit 502 , and a second drive unit 503 .
[0186] An acquisition unit 501 is configured to acquire detection information corresponding to a target object moving in a target space, collected by a detection device based on a detection instruction; the detection instruction is generated based on a trigger operation for an edge configuration item in a region configuration page;
[0187] A first determining unit 502 is configured to calculate a position of a target object in a target space and a position of a false target corresponding to the target object based on the detection information;
[0188] The second determining unit 503 is used to determine the edge area corresponding to the target space based on the position of the target object and the position of the false target; the obtained edge area is used to respond to the trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
[0189] In some embodiments, the first determination unit 502 is further used to: identify the position of each target in the target space based on the detection information, the targets including target objects and false targets; determine the distance between each target and the detection device based on the position of each target; determine the target object in the target space and the false target corresponding to the target object based on the distance between each target and the detection device, so as to obtain the position of the target object and the position of the false target.
[0190] In some embodiments, the first determination unit 502 is further used to: determine the target with the smallest distance from the detection device as the target object based on the distance between each target and the detection device; and determine the targets other than the target object as false targets corresponding to the target object.
[0191] In some embodiments, the second determination unit 503 is further used to: determine the position distribution relationship of each false target relative to the target object based on the position of the target object and the position of the false target; determine the edge position corresponding to each false target according to the position distribution relationship; and determine the edge area corresponding to the target space according to the edge position.
[0192] From the above, it can be seen that the embodiment of the present application can allow the user to participate in configuring the edge area of the space. The area configuration page is first displayed in the interface. Then, when the user triggers the edge configuration item in the area configuration page, the user is prompted to move in the target space so that other detection sources can collect detection information of the target object when moving. Finally, the automatically generated edge area is displayed in the area configuration page according to the detection information; in this way, the user participates in the configuration of the edge area, and the edge area in the space is determined according to the detection information of the user during the movement, thereby improving the accuracy of constructing the edge of the spatial area and having reliability.
[0193] The present application also provides a computer device, as shown in FIG15 , which shows a schematic diagram of the structure of the computer device involved in the present application embodiment. Specifically:
[0194] The computer device may include one or more processing cores of a processor 601, one or more computer-readable storage media of a memory 602, a power supply 603, an input unit 604, and other components. Those skilled in the art will appreciate that the computer device structure shown in FIG15 does not limit the computer device, and may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0195] Processor 601 is the control center of the computer device. It connects all components of the computer device using various interfaces and circuits. It executes software programs and / or modules stored in memory 602 and accesses data stored in memory 602 to perform various computer functions and process data. Optionally, processor 601 may include one or more processing cores. Preferably, processor 601 integrates an application processor and a modem processor. The application processor primarily handles 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 601.
[0196] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and regional configurations by running the software programs and modules stored in the memory 602. The memory 602 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 602 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 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0197] The computer device also includes a power supply 603 for supplying power to various components. Preferably, the power supply 603 can be logically connected to the processor 601 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 603 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.
[0198] The computer device may further include an input unit 604, 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.
[0199] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail here. Specifically, in the embodiment of the present application, the processor 601 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602 to implement various functions as follows:
[0200] Display an area configuration page, which includes an edge configuration item; generate prompt information in response to a trigger operation on the edge configuration item, and the prompt information is used to indicate that the target object moves in the target space; display the automatically generated edge area on the area configuration page, and the edge area is determined based on the detection information corresponding to the target object moving in the target space.
[0201] Alternatively, detection information corresponding to the target object moving in the target space collected by the detection device based on the detection instruction is obtained, wherein the detection instruction is generated based on the trigger operation for the edge configuration item in the area configuration page; based on the detection information, the position of the target object in the target space and the position of the false target corresponding to the target object are determined; based on the position of the target object and the position of the false target, the edge area corresponding to the target space is determined, wherein the obtained edge area is used to respond to the trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
[0202] The specific implementation of the above operations can be found in the previous embodiments and will not be described in detail here.
[0203] It can be seen that this solution allows users to participate in configuring the edge area of the space. First, the area configuration page is displayed in the interface. Then, when the user triggers the edge configuration item in the area configuration page, the user is prompted to move in the target space so that other detection sources can collect detection information of the target object when it moves. Finally, the automatically generated edge area is displayed in the area configuration page according to the detection information. In this way, through the user's participation in the configuration of the edge area, the edge area in the space can be determined according to the detection information of the user during the movement, thereby improving the accuracy of constructing the edge of the spatial area and being reliable.
[0204] 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.
[0205] To this end, an embodiment of the present application provides a computer-readable storage medium storing a plurality of instructions that can be loaded by a processor to execute the steps of any of the region configuration methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:
[0206] Display an area configuration page, which includes an edge configuration item; generate prompt information in response to a trigger operation on the edge configuration item, and the prompt information is used to indicate that the target object moves in the target space; display the automatically generated edge area on the area configuration page, and the edge area is determined based on the detection information corresponding to the target object moving in the target space.
[0207] Alternatively, detection information corresponding to the target object moving in the target space collected by the detection device based on the detection instruction is obtained, wherein the detection instruction is generated based on the trigger operation for the edge configuration item in the area configuration page; based on the detection information, the position of the target object in the target space and the position of the false target corresponding to the target object are determined; based on the position of the target object and the position of the false target, the edge area corresponding to the target space is determined, wherein the obtained edge area is used to respond to the trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
[0208] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0209] The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0210] Since the instructions stored in the computer-readable storage medium can execute the steps in any data processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any data processing method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0211] According to one aspect of the present application, 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.
[0212] The above is a detailed introduction to a regional configuration method, device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for configuring a region, performed by an electronic device, the method comprising: Displaying a region configuration page, the region configuration page including edge configuration items; In response to a trigger operation on the edge configuration item, generating prompt information, the prompt information is used to indicate that the target object moves in the target space; The automatically generated edge region is displayed on the region configuration page, and the edge region is determined based on the detection information corresponding to the target object moving in the target space.
2. The method according to claim 1, wherein: After the automatically generated edge area is displayed on the area configuration page, the method further includes: In response to the adjustment operation on the edge area, displaying the adjusted target edge area in the area configuration page; In response to a trigger operation on a storage item in the region configuration page, the target edge region is synchronized to a detection device that provides the detection information.
3. The method according to claim 1, wherein: The method further comprises: Obtain a trigger operation for the currently selected area, and display a property configuration page for the currently selected area, wherein the property configuration page includes area adjustment items; In response to a triggering operation on the area adjustment item, displaying an attribute selection page corresponding to the area adjustment item; The property configuration information selected on the property selection page is obtained, and the property configuration information is configured for the currently selected area.
4. The method according to any one of claims 1 to 3, wherein: The area configuration page includes a space area corresponding to the target space, and the method further includes: Obtaining any area selected in the spatial area to generate a custom monitoring area; In response to a selection operation on the monitoring area, displaying a function configuration page for the selected monitoring area; The control attribute information configured on the function configuration page is obtained, and an automatic control plan for each monitoring area is generated. The configured monitoring areas and edge areas are used to realize automatic control through area detection.
5. The method according to any one of claims 1 to 3, wherein: After the region configuration page displays the automatically generated edge region, the region configuration page displays the automatically generated edge region, including: Acquire detection information of the target object moving in the target space; the detection information includes at least one of position information of the target object and position information of a false target mapped by the target object; An edge region is generated based on the detection information, and the automatically generated edge region is displayed on the region configuration page.
6. The method according to any one of claims 1 to 3, wherein: The prompt information includes a displayed indication icon, the indication icon includes a position direction in the area configuration page, and the indication icon is used to instruct the target object to move according to the position direction of the indication icon in the area configuration page.
7. The method according to any one of claims 1 to 3, wherein: The prompt information includes at least one of a voice prompt, a vibration prompt, a text prompt and an image prompt.
8. The method according to any one of claims 1 to 3, wherein: The area adjustment item is at least one of color, size and position; the area adjustment item corresponding to the color is used to adjust the color of the selected edge area; the area adjustment item corresponding to the size is used to adjust the area size of the selected edge area; the area adjustment item corresponding to the position is used to adjust the position of the selected edge area in the target space.
9. A region recognition method, performed by an electronic device, the method comprising: Acquire detection information corresponding to the target object moving in the target space collected by the detection device based on the detection instruction, wherein the detection instruction is generated based on the trigger operation for the edge configuration item in the area configuration page; Based on the detection information, determining the position of the target object in the target space and the position of a false target corresponding to the target object; Based on the position of the target object and the position of the false target, an edge area corresponding to the target space is determined, wherein the obtained edge area is used to respond to a trigger operation on the edge configuration item and is automatically displayed in the area configuration page.
10. The method according to claim 9, wherein: The determining, based on the detection information, the position of the target object in the target space and the position of the false target corresponding to the target object comprises: Identify the position of each target in the target space according to the detection information, wherein the target includes a target object and a false target; According to the position of each target, respectively determine the distance between each target and the detection device; According to the distance between each of the targets and the detection device, a target object in the target space and a false target corresponding to the target object are determined to obtain the position of the target object and the position of the false target.
11. The method according to claim 10, wherein: The step of determining the target object in the target space and the false target corresponding to the target object according to the distance between each target and the detection device includes: According to the distance between each of the targets and the detection device, determining the target with the shortest distance from the detection device as the target object; Targets other than the target object among the targets are determined as false targets corresponding to the target object.
12. The method according to any one of claims 9 to 12, wherein: The step of determining the edge area corresponding to the target space based on the position of the target object and the position of the false target includes: Based on the position of the target object and the position of the false target, determining a position distribution relationship of each false target relative to the target object; According to the position distribution relationship, determining the edge position corresponding to each false target; An edge region corresponding to the target space is determined according to the edge position.
13. A region configuration device, wherein: include: A display unit, configured to display a region configuration page, wherein the region configuration page includes edge configuration items; A generating unit, configured to generate prompt information in response to a triggering operation on the edge configuration item, wherein the prompt information is used to indicate that the target object moves in the target space; A display unit is used to display the automatically generated edge area on the area configuration page, where the edge area is determined based on detection information corresponding to the target object moving in the target space.
14. The device according to claim 13, wherein: The area configuration device also includes a synchronization unit for displaying an adjusted target edge area in the area configuration page in response to an adjustment operation on the edge area; and synchronizing the target edge area to a detection device that provides detection information in response to a trigger operation on a storage item in the area configuration page.
15. A region recognition device, wherein: include: An acquisition unit, used to acquire detection information corresponding to the target object moving in the target space collected by the detection device based on the detection instruction; The detection instruction is generated based on a trigger operation for an edge configuration item in a region configuration page; A first determining unit, configured to calculate, based on the detection information, a position of the target object in the target space and a position of a false target corresponding to the target object; The second determination unit is used to determine the edge area corresponding to the target space based on the position of the target object and the position of the false target; the obtained edge area is used to respond to the trigger operation for the edge configuration item and is automatically displayed in the area configuration page.
16. According to the device according to claim 15, the area configuration device also includes a synchronization unit for displaying the adjusted target edge area in the area configuration page in response to an adjustment operation on the edge area; and synchronizing the target edge area to the detection device that provides the detection information in response to a trigger operation on a storage item in the area configuration page.
17. According to the device according to claim 15, the area configuration device also includes an adjustment unit, which is used to obtain a trigger operation for a currently selected area, display a property configuration page for the currently selected area, and the property configuration page includes an area adjustment item; in response to a trigger operation for the area adjustment item, display a property selection page corresponding to the area adjustment item; obtain the property configuration information selected on the property selection page, and configure the property configuration information for the currently selected area.
18. An electronic 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 of the processors, the area configuration method according to any one of claims 1 to 8 is implemented.
19. A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by one or more processors, implement the area configuration method according to any one of claims 1 to 8.
20. An application product, comprising program instructions or codes, wherein the program instructions or codes are stored in a computer-readable storage medium, and a processor of an electronic device reads the program instructions or codes from the computer-readable storage medium, loads and executes the program instructions or codes, so that the electronic device implements the area configuration method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Intelligent monitoring method, device and system and storage medium
CN111479090A
Prompting method and device in image acquisition process, electronic equipment and storage medium
CN114500831A
Virtual boundary establishment method and device, intelligent terminal and computer storage medium
CN114721385A
Region configuration method and device and computer readable storage medium
CN116521030A
Systems and methods for navigation using bounding areas
US10746557B1
