Area configuration method and apparatus, and device and storage medium
Through custom area configuration methods and devices, users can select and configure any area in smart furniture, generate custom areas and perform automatic control, which solves the problem of low configuration freedom in the existing technology and improves the control accuracy of smart devices. degree and flexibility.
Patent Information
- Application Number
- PCT/CN2024/082564
- 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
The overall control and configuration process of existing smart furniture is limited to fixed area settings, resulting in a low degree of configuration freedom, making it difficult to meet user needs and reducing the control accuracy of smart devices.
An area configuration method and device are provided. By displaying the configuration page, the user can select any area, generate a custom area, and perform configuration based on the attribute information of the area to achieve automated control. The method includes displaying a configuration page, obtaining the area selected by the user, generating a function configuration area, obtaining attribute information of the function item, and configuring the custom area based on this information.
It improves the accuracy and flexibility of regional control of smart devices, lifts the fixed restrictions on regional configuration, enables users to configure smart devices more accurately to meet individual needs, and reduces the cost of automated control of smart devices.
Smart Images

Figure CN2024082564_26092024_PF_FP
Abstract
Description
Regional configuration method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 20, 2023, with application number 202310304730.X and invention name “Regional configuration method, device, equipment and storage medium”, the entire contents of which are incorporated by reference into the application. Technical Field
[0002] The present application relates to the technical field of automated control configuration, and in particular to a method, apparatus, device, and storage medium for regional configuration. Background Art
[0003] With the development of technology, smart devices have gradually emerged and are widely used. This is especially true for everyday smart devices such as smart furniture. As the variety of smart devices increases, their control methods are evolving from single-device control to unified control of the entire device. This allows for intelligent activation and adjustment of smart devices based on user habits and location, further enhancing the intelligence of smart devices.
[0004] In the existing technology, it is necessary to configure the overall control of smart devices such as smart furniture, but the configuration area is usually limited by the background settings of the configuration software, and the configuration freedom is relatively low, which reduces the control accuracy of the area where the smart device is located. Technical Solutions
[0005] This application proposes a method, apparatus, device, and storage medium for configuring a region. In a first aspect, the method:
[0006] A method for configuring a region, executed by an electronic device, comprising:
[0007] Display the configuration page; the configuration page is used to customize and select any area for configuration;
[0008] Obtain any area selected on the configuration page and generate the selected custom area;
[0009] In response to a selection operation on the custom area, displaying a function configuration area of the custom area corresponding to the selection operation;
[0010] Attribute information corresponding to each function item selected in the function configuration area is obtained, and the selected custom area is configured based on the attribute information; the configured custom area is used to achieve automatic control through area detection.
[0011] A second aspect: A region configuration device includes a first display module for displaying a configuration page; the configuration page is used to customize and select any region for configuration;
[0012] A region module, configured to obtain any region selected on the configuration page and generate the selected custom region;
[0013] a second display module, configured to display, in response to a selection operation on the custom area, a function configuration area of the custom area corresponding to the selection operation;
[0014] The configuration module is used to obtain attribute information corresponding to each function item selected in the function configuration area, and configure the selected custom area based on the attribute information; the configured custom area is used to achieve automatic control through area detection.
[0015] A third aspect: An electronic device includes a memory and a processor, wherein the memory stores a region configuration method, and the processor is configured to adopt the region configuration method when executing the region configuration method.
[0016] A fourth aspect: A storage medium storing computer-readable instructions that can be loaded by a processor and execute the above-mentioned method.
[0017] A computer program product or computer program includes computer instructions stored in a computer-readable storage medium; a processor of the computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, implements the steps of the area configuration method in each embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] FIG1 is a hardware framework diagram of a region configuration method in one embodiment.
[0020] FIG2 is an overall flow chart of a region configuration method in one embodiment.
[0021] FIG3 is a schematic diagram of a process for selecting attribute information in a region configuration method according to an embodiment.
[0022] FIG4 is a schematic diagram of a configuration page in a region configuration method according to an embodiment.
[0023] FIG5 is a schematic diagram of dividing a custom area in an area configuration method according to an embodiment.
[0024] FIG6 is a schematic diagram of a color selection page in a region configuration method according to an embodiment.
[0025] FIG. 7 is a schematic diagram of a region attribute selection page in a region configuration method according to an embodiment.
[0026] FIG8 is a schematic diagram of a region monitoring selection page in a region configuration method according to an embodiment.
[0027] FIG9 is a schematic diagram of a trigger condition page in a region configuration method according to an embodiment.
[0028] FIG10 is a schematic diagram of a region options page in a region configuration method according to an embodiment.
[0029] FIG11 is a schematic diagram of a condition page in a region configuration method according to an embodiment.
[0030] FIG12 is a schematic diagram of a room layout in a region configuration method according to an embodiment.
[0031] FIG13 is a structural block diagram of a region configuration device in one embodiment.
[0032] FIG14 is a schematic diagram of the structure of a region configuration device in one embodiment.
[0033] Implementation Methods of the Application
[0034] 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 ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0035] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0037] An embodiment of the present application provides a method for configuring a region. The method for configuring a region provided in the present application can be applied in an application environment as shown in FIG1 . It includes a terminal 001, a server 002, a gateway or router, and a smart device 003. The server 002 can be a cloud-based device; the smart device 003 can be a smart home device such as a human body sensor, a light, or an air conditioner. In one embodiment, the terminal 001 communicates with the server 002 via a network. The terminal 001 can obtain information on a configuration page and send the information to the server 002. The server 002 receives the information, forms a configuration page based on the information, and sends it to the terminal 001. The terminal 001 then generates a custom region based on the user's selected region on the configuration page; and then completes the configuration of the custom region based on the user's selected region. The terminal 001 can be, but is not limited to, various smartphones, personal computers, laptops, tablet computers, smart control panels, portable wearable devices, or other electronic devices that can be connected to the network, such as smart furniture, sensors, etc. The server 002 can be implemented as an independent server or a server cluster consisting of multiple servers. The smart device 003 detects the actual space, collects or obtains human position information or object movement information in the actual space (this embodiment does not specifically limit this), and then completes corresponding control operations according to the configuration of the custom area to achieve the purpose of intelligent control.
[0038] In another embodiment, after receiving information from the configuration page, terminal 001 displays the configuration page and generates a custom area based on the selected area on the configuration page. The custom area is then configured based on the selected area. Terminal 001 then transmits the configuration results to server 002. Server 002 automatically controls the smart furniture based on the configuration results and the detection information uploaded by the smart device.
[0039] That is, this application does not impose any specific restrictions on the current execution entity of this configuration method. It can be a terminal such as a smart phone, a computer, a smart furniture controller, or a server composed of an independent server or a cluster server.
[0040] Based on the above content, the area configuration method in the embodiment of the present application is explained in detail.
[0041] To configure the overall control of smart devices such as smart furniture, device manufacturers typically provide users with web pages, apps, software, or platforms that allow them to perform configuration operations. Users complete the configuration operations based on the tools provided by the manufacturer to achieve subsequent intelligent control of smart furniture. For example, after configuring the living room, the monitoring device automatically turns on the living room lights when it senses someone entering the living room. However, the existing configuration process is significantly restricted by the configuration background settings. The areas are fixed and cannot be changed, which reduces the configuration freedom, makes it difficult to meet user needs, and reduces the control accuracy of smart devices.
[0042] To overcome the above-mentioned drawbacks, the region configuration method provided in the embodiment of the present application is described by taking an electronic device as an example. The electronic device may be the terminal 001 in FIG1 , or any of the devices, gateways, and servers shown in FIG1 . As shown in FIG2 , the method includes the following steps:
[0043] 101. Display the configuration page.
[0044] The configuration page is used to customize any area for configuration. The electronic device displays the configuration page for the user to view. The configuration page refers to a page that can display the parameters required for smart furniture monitoring settings.
[0045] Specifically, in one embodiment, the configuration page displays the area to be configured as a two-dimensional image, that is, the area to be configured is displayed as a two-dimensional image. Specifically, the electronic device can display it through a web page or in software, which is not specifically limited in this embodiment. The configuration page can display an entire room, including a living room, bedroom, kitchen, etc., or a space without distinguishing between uses; it can also be a local area in a room, such as a living room, bathroom, or part of a living room, which is not specifically limited in this embodiment.
[0046] In another embodiment, the configuration page may also display the area to be configured in three-dimensional space, that is, the displayed area to be configured is a three-dimensional model with three axes of x, y, and z, which is not specifically limited in this embodiment.
[0047] 102. Get any area selected on the configuration page and generate the selected custom area.
[0048] In one embodiment, the custom area is a portion of the configuration page, i.e., the configuration page may include multiple custom areas; in another embodiment, the custom area is the area displayed on the entire configuration page, i.e., the configuration page may include only one custom area. This embodiment does not specifically limit this.
[0049] It should be noted that the custom area can be any area selected in the configuration page. For ease of understanding, for example, in one application scenario, the electronic device automatically sets multiple custom areas, including a sofa area, a TV area, and a coffee table area, based on the information in the configuration page. At this time, if the electronic device obtains an operation selected by the user that includes a sofa area, the sofa area set by the electronic device will be modified to the area corresponding to the user's selected operation. In another application scenario, if the electronic device obtains an operation selected by the user in the upper half of the configuration page, the electronic device will generate a custom area corresponding to the upper half.
[0050] 103. In response to a selection operation on a custom area, display a function configuration area of the custom area corresponding to the selection operation.
[0051] In one embodiment, the electronic device responds to a selection operation. The selection operation can be triggered by a user using an interactive device or can be an operation pre-stored in storage space. For example, in one application scenario, a user triggers a selection operation by touching the electronic device's touchscreen, clicking a mouse, tapping a keyboard, or speaking into a microphone. In another application scenario, a selection operation is pre-stored in storage space, and the electronic device reads a pre-stored selection operation and responds. This embodiment does not specifically limit this.
[0052] In one embodiment, the electronic device displays the function configuration area associated with the selected custom area based on the custom area selected. For ease of understanding, for example, in an application scenario, there are custom areas A, B, and C on the configuration page. If the selection operation is on custom area B, the electronic device displays function configuration area B associated with custom area B.
[0053] Specifically, the function configuration area is used to display function items that need to be configured. Function items can include names, styles, and types, etc., which are not specifically limited in this embodiment. To further illustrate the function configuration area, for example, in an application scenario, after the electronic device displays the function configuration area corresponding to the custom area according to the selection operation, the user can select the function item as the name to complete the configuration operation of the custom area regarding the name.
[0054] 104. Obtain attribute information corresponding to each function item selected in the function configuration area, and configure the selected custom area based on the attribute information; the configured custom area is used to achieve automatic control through area detection.
[0055] In one embodiment, the function configuration area includes a plurality of function items. After the electronic device obtains attribute information corresponding to each function item, it configures the custom area according to the attribute information to complete the configuration of the custom area.
[0056] Function items are the configuration items corresponding to a custom zone, i.e., the functional options that need to be configured for the custom zone. Each function item defines different functional aspects of the custom zone. Once a function item is configured, the corresponding function of the custom zone is determined.
[0057] For ease of understanding, for example, a function item can be a type configuration item of a custom area, used to limit the type of the custom area; a function item can be an attribute configuration item of a custom area, used to limit the attributes of the custom area; a function item can also be a display color configuration item of a custom area, etc., which is not specifically limited in this embodiment.
[0058] After selecting a function item, the electronic device can configure the attribute information of the selected function item. Attribute information refers to the attributes of each function item, and can also be understood as the configuration information of each function item. For example, in one application scenario, a function item has multiple pre-set attribute information. The electronic device completes the configuration of the function item corresponding to the custom area based on the selected attribute information. In another application scenario, the electronic device generates the corresponding attribute information based on information obtained or input from an external device, thereby configuring the function item corresponding to the custom area.
[0059] For ease of understanding, in one application scenario, for example, each function item is preset with multiple attribute information for the user to select. After obtaining the attribute information selected by the user, the electronic device determines the corresponding attribute information as the configuration result for the corresponding function item. After all function items have been determined to have configuration results, the electronic device determines that the configuration of the currently selected custom area is complete.
[0060] For configured custom zones, zone detection can be used to automatically control smart devices. For example, in one application scenario, custom zone A contains a TV. Based on the detection signal for custom zone A, the electronic device determines that someone has entered the space corresponding to custom zone A. At this time, the electronic device controls the TV to turn on, completing the automated control of the TV.
[0061] There is no fixed restriction on the location of the custom area in the configuration page. Any area of the configuration page can be set as a custom area, and then the custom area can be configured, which improves the control accuracy of the area where the smart device is located.
[0062] In another embodiment of the present application, the configuration page includes a region editing page. The steps for generating the selected custom region include:
[0063] 201. In response to a sliding operation on a region editing page, obtain trajectory information corresponding to the sliding operation.
[0064] The zone editing page is used to edit custom zones. After editing, the custom zone is generated and displayed on the configuration page.
[0065] In one embodiment, a user generates a sliding operation using an interactive device, and the electronic device responds to the sliding operation and obtains trajectory information corresponding to the sliding operation. For ease of understanding, for example, in one application scenario, a user touches the touch screen of an electronic device with a finger or stylus, thereby generating a starting point for the sliding operation. The user then moves the finger or stylus, forming a sliding trajectory on the touch screen until the user's finger or stylus leaves the touch screen, thereby generating an end point for the sliding operation. The electronic device recognizes the sliding operation and obtains trajectory information including a starting point, a movement path, and an end point.
[0066] In another application scenario, a user uses a mouse to move a cursor within a region editing page, causing the cursor to form a sliding track, thereby generating a sliding operation. The electronic device obtains corresponding track information based on the sliding operation. This embodiment does not specifically limit the interactive device or the process of generating the sliding operation.
[0067] 202. Generate a custom area corresponding to the sliding operation according to the trajectory information, and display the generated custom area on the area editing page.
[0068] In one embodiment, the trajectory information may represent a path with a starting point and an end point, for example, in the form of a line segment. In another embodiment, the trajectory information may represent multiple coordinate points. This embodiment is not specifically limited to this, and is intended to be able to determine an area based on the trajectory information. The electronic device determines the location of the custom area to be generated in the area editing page based on the trajectory information, and then displays the generated custom area on the area editing page.
[0069] The electronic device obtains trajectory information corresponding to the sliding operation in response to the sliding operation, and then generates and displays the custom area. The whole process is simple and fast, which improves the efficiency of generating the custom area.
[0070] In another embodiment of the present application, the configuration page may be generated based on the spatial layout diagram.
[0071] In one embodiment, the step of generating a custom area corresponding to the sliding operation according to the trajectory information includes: 301 , determining the area mapped by the trajectory information as the custom area corresponding to the sliding operation.
[0072] In one embodiment, the trajectory information represents a line segment having a starting point and an ending point. Specifically, the line segment can be a straight line or a curve, which is not specifically limited in this embodiment. The electronic device determines the custom area based on the area enclosed by the line segment, that is, the area mapped by the trajectory information.
[0073] For ease of understanding, in one application scenario, the electronic device identifies a closed figure enclosed by the trajectory information and determines an area corresponding to the closed figure as a custom area.
[0074] In another application scenario, the electronic device recognizes a figure enclosed by the trajectory information, automatically connects the starting point and the ending point in the trajectory information to form a closed figure, and determines the area corresponding to the closed figure as a custom area.
[0075] In other application scenarios, the electronic device recognizes the shape enclosed by the trajectory information and extends the area corresponding to the gap in the shape. After extending to the edge of the area editing page, the electronic device determines the enclosed area formed by the shape and the edge as the custom area. That is, this embodiment does not specifically limit the mapping process.
[0076] In another embodiment, the step of generating a custom area corresponding to the sliding operation according to the trajectory information may further include: 302, determining the grid area passed by the trajectory information as the custom area corresponding to the sliding operation according to grid coordinate information corresponding to the trajectory information.
[0077] In one embodiment, the trajectory information refers to the path traced by the user's operation. By determining the grid coordinates passed by the path trace, the grid coordinate information corresponding to the trajectory information can be obtained. The electronic device determines the custom area based on the grid coordinate information. For ease of understanding, for example, in an application scenario, the user selects two locations on the area editing page, generating two grid coordinates. The electronic device uses the two grid coordinates as opposite corners to form a rectangular area, and determines the rectangular area as the custom area.
[0078] In another application scenario, a user selects two locations on the region editing page, generating two grid coordinates. The electronic device uses the distance between the two grid coordinate points as the diameter and the midpoint of the line connecting the two grid coordinates as the center of the circle to form a circular region. The electronic device then determines the circular region as the custom region.
[0079] In other application scenarios, the user first determines two grid coordinates to generate the positions of two opposite sides of the rectangle in the trajectory information. The user then determines two more grid coordinates to generate the positions of the other two opposite sides of the rectangle in the trajectory information. The electronic device determines the custom area based on the positions of the four sides. This embodiment does not limit the specific process of determining the custom area based on the grid coordinate information.
[0080] Among them, step 301 and step 302 are in an or relationship, that is, step 301 and step 302 are two parallel solutions. However, it should be noted that in a specific application scenario, the two solutions corresponding to step 301 and step 302 can exist at the same time. For example, the user slides a single finger on the touch screen to generate trajectory information. The electronic device determines the automatic area based on the area mapped by the trajectory information, that is, the area enclosed by the trajectory information. When the user slides two fingers on the touch screen, the electronic device determines the custom area based on the starting grid coordinates corresponding to each finger.
[0081] In this embodiment, the custom area is determined in a variety of ways using trajectory information, which helps to improve the flexibility and convenience of custom area division, thereby improving the efficiency of generating the custom area.
[0082] In another embodiment of the present application, the step of obtaining attribute information corresponding to each function item selected in the function configuration area and configuring the selected custom area based on the attribute information includes:
[0083] 401 : In response to a triggering operation on a function item selected in a function configuration area, display a property selection page corresponding to the selected function item.
[0084] Specifically, after the user clicks on a function item in the function configuration area, the electronic device displays a property selection page of the corresponding function item, wherein the property selection page includes a plurality of property information for the function item.
[0085] In one embodiment, the size of the attribute selection page is the same as the maximum display area of the electronic device, that is, after the electronic device displays the attribute selection page, the attribute selection page covers other pages.
[0086] In another embodiment, the size of the attribute selection page can be smaller than the maximum display area of the electronic device, that is, when the electronic device displays the attribute selection page, the user can also see other information. Specifically, this embodiment does not specifically limit the display process of the attribute display page.
[0087] 402. Obtain attribute information corresponding to the current function item selected on the attribute selection page, and configure the current function item in the selected custom area based on the attribute information.
[0088] In one embodiment, after obtaining the attribute information, the electronic device configures the attribute information as the current function item. For ease of understanding, for example, in an application scenario, as shown in FIG3 , the electronic device displays a configuration page 10, and the configuration page 10 includes an area editing page 11 and a function configuration area 12. Among them, function item A and function item B are displayed in the function configuration area 12. When the user's trigger operation corresponds to function item A in custom area A, the electronic device displays an attribute selection page A20 associated with function item A. The attribute selection page A20 includes attribute information A1, attribute information A2, and attribute information A3; after the user selects attribute information A3, the electronic device determines attribute information A3 as the configuration result of function item A in custom area A.
[0089] In this embodiment, the electronic device facilitates the user to select the attribute information of the current function item by displaying the attribute selection page, thereby improving the efficiency of function item configuration.
[0090] In one embodiment of the present application, the function item includes a type configuration item. The step of obtaining the attribute information corresponding to the current function item selected on the attribute selection page includes:
[0091] 501. When a trigger operation for a type configuration item is obtained, a type selection page corresponding to the type configuration item is displayed.
[0092] The type selection page includes multiple type options for selection.
[0093] In one embodiment, the type configuration item is used to configure the type of the custom area. Specifically, for example, in one application scenario, the types of custom areas include sofa area, TV area, study area, and coffee table area, etc., which are not specifically limited in this embodiment.
[0094] 502. In response to a selection operation on a type option in the type selection page, the selected type option is configured as type attribute information of the custom area.
[0095] In one embodiment, the type options are all pre-set, and the user selects from the type options displayed by the electronic device. In response to the type option selected by the user, the electronic device completes the configuration of the type configuration item of the custom area.
[0096] In another embodiment, the type option includes a custom option. After the user selects the custom option, the electronic device displays an editing page and then determines the content edited by the user as the type data information of the custom area, completing the configuration of the type configuration item of the custom area.
[0097] In another embodiment of the present application, the function item includes a type configuration item. The step of obtaining attribute information corresponding to the current function item selected on the attribute selection page includes: displaying the edit page in response to a triggering operation on an edit entry on the type selection page; and configuring the type attribute information entered on the edit page as the type attribute information of the custom area.
[0098] It is understood that the type selection page may further include an editing entry, which is used to direct the user to enter the editing page to customize the type data information of the editing area on the editing page.
[0099] When an electronic device detects a trigger operation for an edit entry on a type selection page, it may display the edit page. The user can then enter configuration information for a function item on the edit page. The configuration information for a function item may include a type configuration item. The electronic device then obtains the type attribute information entered by the user on the edit page and determines the user-edited content as the type data information for the custom area, completing the configuration of the type configuration item for the custom area.
[0100] By setting the type configuration item, it is convenient to limit the type of the custom area, which is convenient for subsequent configuration of other functional items based on the type of the custom area. In addition, multiple ways to configure the type configuration item are provided, which is conducive to improving the configuration flexibility and efficiency of the type configuration item.
[0101] In one embodiment of the present application, the function items include area attribute configuration items and area monitoring attribute items. The steps of obtaining attribute information corresponding to the current function item selected on the attribute selection page and configuring the current function item of the selected custom area based on the attribute information may include:
[0102] 601. When a trigger operation for a regional attribute configuration item is obtained, a regional attribute selection page corresponding to the regional attribute configuration item is displayed.
[0103] The area attribute selection page includes multiple area attribute types for selection.
[0104] In one embodiment, the area attribute configuration item is used to configure the area attributes of a custom area. Specifically, for example, in one application scenario, the area attributes of a custom area include a monitoring area, an edge area, an interference area, and an entrance / exit area. This embodiment does not specifically limit this.
[0105] It should be noted that, in one embodiment, the monitoring area refers to an area that needs to be detected to achieve automatic control; the interference area, edge area and entrance and exit refer to areas that do not need to be detected.
[0106] 602. Obtain the regional attribute type selected on the regional attribute selection page, and configure the regional attribute type as regional attribute information of the custom region.
[0107] The area attribute type refers to the type of custom area attribute, that is, the type of attribute that the custom area belongs to. For ease of understanding, for example, area attribute types include monitoring and non-monitoring. The monitoring type indicates that the custom area requires monitoring using smart devices, such as human position monitoring; the non-monitoring type indicates that the custom area does not require monitoring using smart devices. In other words, when the custom area requires monitoring, the area attribute of the custom area is a monitoring attribute, and the corresponding area attribute type is a monitoring type. The non-monitoring type includes, but is not limited to, interference zones, edge zones, and entrances and exits, and is not specifically limited in this embodiment.
[0108] The area attribute information refers to the configuration result information of the area attribute type of the custom area. For example, when the area attribute type is selected as the monitoring type, the electronic device uses "monitoring area" as the configuration result of the area attribute type. In this case, the area attribute information is the monitoring area.
[0109] In one embodiment, the area attribute type is pre-set, and the user selects the area attribute type displayed by the electronic device. In response to the area attribute type selected by the user, the electronic device completes the configuration of the area attribute configuration items of the custom area.
[0110] 603. The page corresponding to the regional monitoring attribute item displays the configured regional monitoring attributes adapted to the regional attribute type for the custom area; the regional monitoring attributes are used to perform target detection on each custom area according to the regional monitoring attributes of each monitoring area.
[0111] The area monitoring attribute is used to characterize the monitoring sensitivity of a custom area. In one embodiment, the area monitoring attributes include high, medium, and low. Low sensitivity means that even if the area monitoring device detects a large movement of a person in the corresponding area, the control instructions of the smart device will not be triggered. High sensitivity means that if the area monitoring device detects a movement of a person in the corresponding area, the control instructions of the corresponding smart furniture will be triggered.
[0112] In one embodiment, area attribute types include monitoring areas and auxiliary areas. Auxiliary areas include edge areas, interference areas, and entrances and exits. Edge areas refer to the edges of an area, such as walls and windows in a room; interference areas refer to areas containing interfering objects, such as curtains or fans; and entrances and exits refer to the entrances and exits of the space corresponding to a custom area.
[0113] After completing the configuration of the area attribute configuration item for the custom area, the electronic device automatically configures the area monitoring attribute based on the area attribute type. In one embodiment, the area monitoring attribute includes at least one of a monitoring area and an interference area. The method further includes: when the area attribute configuration item for the custom area is configured as a monitoring area, determining the area monitoring attribute of the custom area to be a high configuration result; when the area attribute configuration item for the custom area is configured as an interference area, determining the area monitoring attribute of the custom area to be a low configuration result.
[0114] For example, in one application scenario, when the regional attribute configuration item of the custom area is configured as a monitoring area, the electronic device uses the regional monitoring attribute as high as the configuration result of the regional monitoring attribute item of the custom area; when the regional attribute configuration item of the custom area is configured as an interference area, the electronic device uses the regional monitoring attribute as low as the configuration result of the regional monitoring attribute item of the custom area.
[0115] In this implementation, the electronic device displays a regional attribute selection page to facilitate efficient selection of regional attribute types, thereby improving the efficiency of configuring regional attribute configuration items. Furthermore, automatically determining the regional monitoring attributes of regional monitoring attribute items based on the regional attribute type helps reduce the user's configuration workload and improve configuration efficiency.
[0116] In another embodiment of the present application, after obtaining the regional attribute type selected on the regional attribute selection page and configuring the regional attribute type as regional attribute information of a custom region, the method further includes:
[0117] 701. When a trigger operation for a regional monitoring attribute item is obtained, a regional monitoring selection page corresponding to the regional monitoring attribute item is displayed.
[0118] The regional monitoring selection page includes multiple regional monitoring options for selection.
[0119] 702. In response to a selection operation on a region monitoring option in a region monitoring selection page, configure the selected region monitoring option as a current region monitoring attribute of the custom region.
[0120] In one embodiment, the user can modify the area monitoring options of the custom area according to the selection operation, thereby reconfiguring the area monitoring properties of the custom area, which helps to improve the configuration flexibility and make the configuration result meet the user's needs.
[0121] In another embodiment of the present application, after obtaining attribute information corresponding to each function item selected in the function configuration area and configuring the selected custom area based on the attribute information, the method further includes:
[0122] 801. Obtain monitoring signals of each defined area in the current space.
[0123] In one embodiment, the monitoring signal is the detection signal of a human body within the actual space corresponding to the custom area by the monitoring device. In another embodiment, the monitoring signal may also include the detection of a pet. Specifically, the monitoring signal is used to represent the position, movement, and distance from the smart device of the human body and / or pet, which is not specifically limited in this embodiment.
[0124] In one embodiment, the area attribute type of the custom area includes a monitoring type. The monitoring type indicates that target detection is required for the corresponding custom area. Acquiring monitoring signals for each custom area in the current space may include acquiring monitoring signals for each custom area in the current space whose area attribute type is the monitoring type.
[0125] 802. Perform feature extraction on the monitoring signal to obtain target features of the target objects in each defined area.
[0126] The electronic device uses feature recognition software or a feature recognition model to perform feature extraction, which is not specifically limited in this embodiment. The target object can be a human body or a pet, which is not specifically limited in this embodiment. The target feature can be the position of a human body, a human hand, or a pet head, which is not specifically limited in this embodiment.
[0127] For ease of understanding, consider an application scenario where a smart device monitors a person and generates a human monitoring signal, meaning the target object is a person. When a person enters a room, the electronic device receives the human monitoring signal. The electronic device then processes the human monitoring signal using a pre-set network model, identifies the person's face, and obtains the person's facial features as target features.
[0128] In another application scenario, the target features include not only the human face but also the human hands and feet, i.e., there can be multiple target features, which is not specifically limited in this embodiment. Furthermore, after obtaining the target features, the electronic device can further obtain feature information. For example, after obtaining the human face, the facial orientation of the human body can be obtained; after obtaining the human hand, the position of the human hand, such as its height and hand shape, can be determined.
[0129] 803. Determine target detection results corresponding to each custom area based on the area monitoring attributes and target features corresponding to each custom area.
[0130] The target detection result includes the location of the target object, the distance between the target object and the smart device in the custom area, etc., which is not specifically limited in this embodiment.
[0131] For ease of understanding, for example, when a person approaches a sofa area, the electronic device determines a target detection result based on the area monitoring attribute of the sofa area and the person's buttocks. The person's buttocks are the target feature. When the area monitoring attribute is high, the distance between the person's buttocks and the sofa surface is determined as the target detection result. When the area monitoring attribute is medium, the distance between the person's buttocks and the sofa surface is determined as the target detection result only when the person's buttocks are lowered. When the area monitoring attribute is low, the distance between the person's buttocks and the sofa surface is determined as the target detection result only when the distance between the person's buttocks and the sofa surface is less than 20 cm.
[0132] 804. When the target detection result meets the triggering condition in the corresponding device control solution, the corresponding smart device is controlled to execute the device control solution.
[0133] In one embodiment, a trigger condition is used to limit whether the electronic device needs to control the smart device, such as controlling the smart device to start, pause, or power off. Examples of trigger conditions include presence, absence, presence of people in a designated area for a certain period of time, and absence of people in a designated area for a certain period of time. This embodiment does not specifically limit these conditions.
[0134] In one embodiment, the device control scheme is configured based on the specific scenario, which is not specifically limited in this embodiment. For ease of understanding, for example, in one application scenario, the smart device is a toilet, and the device control scheme is to open the toilet lid when someone is within the custom area corresponding to the toilet; and flush the toilet when the person leaves. In another application scenario, the smart device is a television, and the device control scheme is to turn on the TV when someone is within the custom area corresponding to the sofa area; and turn off the TV if the person leaves the custom area corresponding to the sofa area for more than three minutes.
[0135] By customizing the division of custom areas, each smart device can be controlled more accurately in the subsequent smart device control process, thereby improving the control accuracy of the smart device.
[0136] For ease of understanding, the configuration area is described in detail using the living room in the room as an example.
[0137] As shown in Figure 4, the electronic device displays the configuration page of the living room area in the form of a picture. The configuration page of the living room area includes an area editing page 11 and a function configuration area 12 located below the area editing page 11. The name of the custom area corresponding to the function configuration area can be "Monitoring Area 1", and the name of the custom area can be edited by yourself. Below the name of the custom area are four function items, namely color, attribute, type and monitoring sensitivity. Among them, attribute is the area attribute configuration item, type is the type configuration item, and monitoring sensitivity is the area monitoring attribute item. In the current function item, the electronic device has configured the attribute information of each function item, and displays the attribute information of attribute, type and monitoring sensitivity. Specifically, the attribute is monitoring area, the type is sofa area, and the monitoring sensitivity is high.
[0138] When a user wants to create a custom area, as shown in Figure 5, the user slides their finger on the display of the electronic device to generate trajectory information. The electronic device generates the custom area based on the trajectory information and covers the custom area with a shadow for easy viewing. The user can also cancel the selected grid by sliding in the opposite direction or clicking again.
[0139] When the user selects the color function item in FIG4 , as shown in FIG6 , the function configuration area 12 is overwritten by the attribute selection page 20 corresponding to the color. The attribute selection page 20 corresponding to the color displays color options and texture options. Based on the user's selection, the electronic device determines the corresponding color options and texture options as the color attribute information of the color function item. At the same time, the electronic device changes the display effect of the custom area named Monitoring Area 1 based on the color attribute information. For example, if the color attribute information represents red + no texture, the background color of the custom area named Monitoring Area 1 becomes red and has no texture. After determining the color attribute information, the electronic device closes the attribute selection page 20 corresponding to the color and displays the function configuration area 12. This helps users quickly determine the purpose of the areas they have configured. For example, the area attribute of "gray + texture" is used for edges and interference sources; the attribute of "green + no texture" is a commonly used monitoring area.
[0140] When the user selects the attribute function item in Figure 4, as shown in Figure 7, the function configuration area 12 is replaced by the area attribute selection page 21. Area attribute selection page 21 displays area attribute types, specifically monitoring areas, entry / exit points, interference sources, and edges. Based on the user's selection, the electronic device determines the corresponding area attribute type as the area attribute information for "Monitoring Area 1." The electronic device then closes area attribute selection page 21, displays the function configuration area 12, and displays the determined area attribute information in the attribute function item.
[0141] When the user selects the type function item in Figure 4, as shown in Figure 5, the function configuration area 12 is covered by the type selection page. The type selection page displays type options. Specifically, the type options include living room, dining room, study, bedroom, wing room and others. The electronic device determines the corresponding type option as the type attribute information of "monitoring area 1" based on the user's selection. Among them, when the user selects others, the electronic device displays the editing page, and then configures the type attribute information entered on the editing page as the type attribute information of "monitoring area 1". The electronic device then closes the type selection page, displays the function configuration area 12, and displays the determined type attribute information in the type function item, as shown in Figure 4.
[0142] When the user selects the Monitoring Sensitivity function item in Figure 4 , as shown in Figure 8 , the function configuration area 12 is overlaid with the regional monitoring selection page 22 . Regional monitoring selection page 22 displays regional monitoring options. Specifically, these options include High, Medium, and Low. Based on the user's selection, the electronic device determines the corresponding regional monitoring option as the regional monitoring attribute for "Monitoring Zone 1." The electronic device then closes the regional monitoring selection page 22, displays the function configuration area 12, and displays the determined regional monitoring attribute in the Monitoring Sensitivity function item.
[0143] After completing the above operations, you can configure the automation control scheme. As shown in Figure 9, the electronic device displays a trigger condition page 30 for the currently selected custom area. Trigger condition page 30 includes multiple automation control trigger conditions. By determining the automation control trigger conditions, when subsequently controlling the smart furniture, the smart furniture will only be controlled when the automation control trigger conditions are met.
[0144] Specifically, the user can select automation control trigger conditions such as "someone" and "no one", that is, when it detects that there is someone in the custom area, the smart furniture will be controlled, or when it detects that there is no one in the area, the smart furniture will be controlled. The user can also select automation control trigger conditions such as "area detection" and "someone in the designated area for more than a certain period of time". For example, as shown in Figure 10, after selecting "area detection", the electronic device displays the area option page 31. The area option page 31 displays two options: "toilet" area and "bathroom" area. At this time, select the toilet option to configure the automation control trigger conditions for the toilet area, and select the bathroom option to configure the automation control trigger conditions for the bathroom area.
[0145] As shown in Figure 11, after the user selects the toilet option, the electronic device displays a condition page 311. Condition page 311 includes the following options: Occupant, Approaching, Entering, No One, Leaving, and Away. After the user selects one of these options, the selected option becomes the trigger condition for automated control of the specified or all smart furniture within the corresponding custom area.
[0146] By freely defining custom zones, restrictions on zone configuration are removed, allowing users to more precisely configure zones, resulting in highly accurate zone configuration. Furthermore, since the configuration page for a room can be divided into multiple custom zones, a single monitoring device can monitor multiple custom zones, reducing hardware requirements and lowering the cost of automated control for smart devices.
[0147] In addition, an application scenario is used as an example to illustrate.
[0148] As shown in Figure 12, a room consists of five areas: bathroom, kitchen, dining room, bedroom, and living room. When configuring smart device control in a room, the smartphone displays a configuration page. This configuration page can be for any of the following areas: bathroom, kitchen, dining room, bedroom, or living room. As shown in Figure 4, the smartphone displays the living room on the area editing page 11.
[0149] The user touches the smartphone screen to select any area on the area editing page 11. The smartphone then retrieves the selected area and generates a custom area, thereby redividing the living room. The user can swipe or tap a grid on the area editing page 11 with a single finger. The smartphone then defines the area covered by the grid touched by the user as the custom area.
[0150] The smartphone displays the function configuration area of the generated custom area at the bottom of the area editing page 11. The function configuration area includes color configuration items, type configuration items, area attribute configuration items, and area monitoring attribute items.
[0151] After the user selects a color configuration item, the smartphone displays the color selection page below the region editing page. After the user selects a color and texture and clicks the OK button in the upper right corner of the color selection page, the smartphone retrieves the color attribute information, completes the color configuration for the custom region, and displays the function configuration area containing the configured color configuration items.
[0152] After the user selects a type configuration item in the function configuration area, the smartphone triggers an action for the type configuration item and displays the type selection page below the area editing page. On the type selection page, the user selects a type option or selects the edit option to edit the type attribute information. The smartphone completes the configuration of the type configuration item based on the selected type option or the edited type attribute information, and displays the function configuration area containing the configured type configuration item. Type options include dining area and sofa area, and edited type attribute information includes TV area, fitness area, and reading area.
[0153] After the user selects a regional attribute configuration item in the function configuration area, the smartphone receives a trigger action for the regional attribute configuration item and displays the regional attribute selection page below the region editing page. After the user selects the regional attribute type on the regional attribute selection page and clicks the OK button in the upper right corner of the regional attribute selection page, the smartphone obtains the regional attribute information, configures the regional attribute configuration item, and displays the function configuration area containing the configured regional attribute configuration item.
[0154] Specifically, users can divide different custom areas according to the purpose of the home space, and thus determine the regional attribute type of each custom area according to the purpose. For example, for the sofa area, TV area, coffee table area, etc. that need to be monitored, the regional attribute type of the corresponding custom area is determined as the monitoring area for regional automated management. The smartphone can determine the regional attribute information of the custom area as the entrance and exit and interference source by identifying doors and windows, as well as areas containing animals such as fans and curtains. And the smartphone can determine the location with weaker signals as the edge area based on the strength of the monitoring signal fed back by the sensor.
[0155] Furthermore, after determining the area attribute information for each custom area, the smartphone automatically configures the area monitoring attributes for each custom area based on the area attribute information. For example, the area monitoring attributes for both the interference area and the edge area can be set to low to reduce interference. If the interference area overlaps with the monitoring area, the smartphone will no longer automatically configure the area monitoring attributes for the corresponding custom area. Instead, a message indicating area overlap will pop up, prompting the user to adjust the custom area's range or type attribute information.
[0156] After the user selects a regional monitoring attribute in the function configuration area, the smartphone receives a trigger action for that attribute and displays the regional monitoring selection page below the region editing page. After selecting a regional monitoring option, the user taps the OK button in the upper right corner of the regional monitoring selection page. The smartphone then receives the regional monitoring attributes, configures the attribute, and displays the function configuration area containing the configured attribute.
[0157] It should be understood that although the various steps in the flowchart 2 of the figure are shown in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in Figure 2 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these sub-steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0158] The embodiment of the present application further provides a region configuration device, as shown in FIG13 , comprising a first display module 1 for displaying a configuration page; the configuration page is used to customize and select any region for configuration;
[0159] Region module 2, used to obtain any region selected on the configuration page and generate the selected custom region;
[0160] The second display module 3 is configured to display a function configuration area of the custom area corresponding to the selected operation in response to a selection operation on the custom area;
[0161] Configuration module 4 is used to obtain attribute information corresponding to each function item selected in the function configuration area, and configure the selected custom area based on the attribute information; the configured custom area is used to achieve automatic control through area detection.
[0162] In one embodiment, the configuration page includes an area editing page; the area module 2 includes a trajectory unit for obtaining trajectory information corresponding to the sliding operation in response to a sliding operation on the area editing page; and an area unit for generating a custom area corresponding to the sliding operation based on the trajectory information, and displaying the generated custom area on the area editing page.
[0163] In one embodiment, the configuration page is generated based on the spatial layout diagram; the area unit includes a mapping subunit for determining the area mapped by the trajectory information as a custom area corresponding to the sliding operation;
[0164] In one embodiment, the area unit includes a coordinate subunit, which is used to determine the grid area passed by the trajectory information as the custom area corresponding to the sliding operation according to the grid coordinate information corresponding to the trajectory information.
[0165] In one embodiment, the configuration module 4 includes a selection unit for displaying a property selection page corresponding to a selected function item in response to a trigger operation on a function item selected in the function configuration area; and a configuration unit for obtaining property information corresponding to the current function item selected on the property selection page, and configuring the current function item in the selected custom area based on the property information.
[0166] In one embodiment, the function item includes a type configuration item; the configuration unit includes a type selection sub-unit, which is used to display a type selection page corresponding to the type configuration item when a trigger operation for the type configuration item is obtained; the type selection page includes multiple type options for selection; the type determination sub-unit is used to configure the selected type option as the type attribute information of the custom area in response to the selection operation of the type option in the type selection page.
[0167] In one embodiment, the type determination subunit is used to display the editing page in response to a triggering operation on the editing entry in the type selection page; and configure the type attribute information entered in the editing page as the type attribute information of the custom area.
[0168] In one embodiment, the function items include regional attribute configuration items and regional monitoring attribute items; the configuration unit includes an attribute selection subunit, which is used to display the regional attribute selection page corresponding to the regional attribute configuration item when a trigger operation for the regional attribute configuration item is obtained; the regional attribute selection page includes multiple regional attribute types for selection; the attribute determination subunit is used to obtain the regional attribute type selected on the regional attribute selection page, and configure the regional attribute type as the regional attribute information of the custom area; the monitoring automatic determination subunit is used to display the configured regional monitoring attributes for the custom area that are adapted to the regional attribute type on the page corresponding to the regional monitoring attribute item; the regional monitoring attributes are used to perform target detection on each custom area according to the regional monitoring attributes of each monitoring area.
[0169] In one embodiment, the regional monitoring attribute includes at least one of a monitoring area and an interference area; the configuration unit is further used to determine the regional monitoring attribute of the custom area as a high configuration result when the regional attribute configuration item of the custom area is configured as a monitoring area; when the regional attribute configuration item of the custom area is configured as an interference area, determine the regional monitoring attribute of the custom area as a low configuration result.
[0170] In one embodiment, the device also includes a monitoring selection module, which is used to display the regional monitoring selection page corresponding to the regional monitoring attribute item when a trigger operation for the regional monitoring attribute item is obtained; the regional monitoring selection page includes multiple regional monitoring options for selection; and a monitoring determination module is used to configure the selected regional monitoring option as the current regional monitoring attribute of the custom area in response to the selection operation of the regional monitoring option in the regional monitoring selection page.
[0171] In one embodiment, the device also includes an acquisition module for acquiring monitoring signals of each custom area in the current space; a feature module for extracting features from the monitoring signals to obtain target features of the target objects in each custom area; a result module for determining the target detection results corresponding to each custom area based on the regional monitoring attributes and target features corresponding to each custom area; and a control module for controlling the corresponding intelligent device to execute the device control plan when the target detection result meets the trigger condition in the corresponding device control plan.
[0172] In one embodiment, the area attribute type of each of the custom areas includes a monitoring type; the acquisition module is further configured to acquire monitoring signals of each custom area whose area attribute type is a monitoring type in the current space.
[0173] The area module 2 can generate a custom area in any area of the configuration page, removing restrictions on the location of custom areas and increasing their flexibility. The configuration module 4 configures the custom area based on the selected attribute information, fulfilling the configuration requirements of the custom area. The first display module 1 and the second display module 2 facilitate the display of designated pages or content, facilitating user configuration of custom areas and improving configuration efficiency.
[0174] It should be noted that the description of the above embodiments of the area configuration device is similar to the description of the above method and has the same beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the area configuration device of this application, those skilled in the art should refer to the description of the method embodiment of this application for understanding.
[0175] It should be noted that, in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read Only Memory), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0176] Correspondingly, an embodiment of the present application also discloses a storage medium storing computer-readable instructions that can be loaded by a processor to execute the above method.
[0177] The present application also discloses an electronic device, as shown in FIG14 , comprising a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400, and a memory 500. The communication bus 200 is configured to implement connection and communication between these components. The user interface 300 may include a display screen, and the external communication interface 400 may include a standard wired interface and a wireless interface. The memory 500 stores a method for configuring a region. The memory 500 of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. When the computer-readable instructions are executed by the processor, the method for configuring the region of each embodiment described is implemented.
[0178] In one embodiment, an electronic device is further provided, including a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps in the above-mentioned method embodiments when executing the computer-readable instructions.
[0179] In one embodiment, a computer-readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0180] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including 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 steps of each of the above-described method embodiments.
[0181] The above description of the embodiments of the region configuration device and storage medium is similar to the description of the above-mentioned method embodiment and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the region configuration device and storage medium of this application, please refer to the description of the method embodiment of this application for understanding.
[0182] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0183] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0184] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0185] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0186] In addition, all functional units in the embodiments of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the above-mentioned integrated units can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0187] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0188] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0189] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A method for configuring a region, performed by an electronic device, comprising: Display configuration page; The configuration page is used to customize and select any area for configuration; Obtain any area selected on the configuration page and generate the selected custom area; In response to a selection operation on the custom area, displaying a function configuration area of the custom area corresponding to the selection operation; Attribute information corresponding to each function item selected in the function configuration area is obtained, and the selected custom area is configured based on the attribute information; the configured custom area is used to realize automatic control through area detection.
2. The area configuration method according to claim 1, wherein: The configuration page includes a zone editing page; Generating the selected custom area includes: In response to a sliding operation on the area editing page, obtaining track information corresponding to the sliding operation; A custom area corresponding to the sliding operation is generated according to the trajectory information, and the generated custom area is displayed on the area editing page.
3. The area configuration method according to claim 2, wherein: The configuration page is generated based on the space layout diagram; The generating a custom area corresponding to the sliding operation according to the track information includes: The area mapped by the trajectory information is determined as the custom area corresponding to the sliding operation.
4. The area configuration method according to claim 2, wherein: The configuration page is generated based on the space layout diagram; The generating a custom area corresponding to the sliding operation according to the track information includes: According to the grid coordinate information corresponding to the track information, the grid area passed by the track information is determined as the custom area corresponding to the sliding operation.
5. The area configuration method according to claim 1, wherein: The acquiring of attribute information corresponding to each function item selected in the function configuration area, and configuring the selected custom area based on the attribute information comprises: In response to a trigger operation on a function item selected in the function configuration area, displaying a property selection page corresponding to the selected function item; Acquire the attribute information corresponding to the current function item selected on the attribute selection page, and configure the current function item of the selected custom area based on the attribute information.
6. The area configuration method according to claim 5, wherein: The functional items include type configuration items; The acquiring of the attribute information corresponding to the current function item selected on the attribute selection page includes: When a trigger operation for the type configuration item is obtained, a type selection page corresponding to the type configuration item is displayed; the type selection page includes a plurality of type options for selection; In response to a selection operation on a type option in the type selection page, the selected type option is configured as type attribute information of the custom area.
7. The area configuration method according to claim 5, wherein: The functional items include type configuration items; The acquiring of the attribute information corresponding to the current function item selected on the attribute selection page includes: In response to a triggering operation on an editing entry in the type selection page, displaying an editing page; The type attribute information input on the editing page is configured as the type attribute information of the custom area.
8. The area configuration method according to claim 6 or 7, wherein: The functional items include regional attribute configuration items and regional monitoring attribute items; The acquiring of the attribute information corresponding to the current function item selected on the attribute selection page, and configuring the current function item of the selected custom area based on the attribute information includes: When a trigger operation for the regional attribute configuration item is obtained, a regional attribute selection page corresponding to the regional attribute configuration item is displayed; the regional attribute selection page includes a plurality of regional attribute types for selection; Obtain the regional attribute type selected on the regional attribute selection page, configure the regional attribute type as the regional attribute information of the custom region; and display the configured regional monitoring attributes adapted to the regional attribute type for the custom region on the page corresponding to the regional monitoring attribute item; the regional monitoring attributes are used to respectively Target detection is performed on each of the custom areas according to the regional monitoring attributes of each monitoring area.
9. The area configuration method according to claim 8, wherein: The regional monitoring attribute includes at least one of a monitoring area and an interference area; the method further includes: When the area attribute configuration item of the custom area is configured as a monitoring area, determining the area monitoring attribute of the custom area as a high configuration result; When the area attribute configuration item of the custom area is configured as an interference area, the area monitoring attribute of the custom area is determined to be a low configuration result.
10. The area configuration method according to claim 8, wherein: After acquiring the area attribute type selected on the area attribute selection page and configuring the area attribute type as the area attribute information of the custom area, the method further includes: When a trigger operation for the regional monitoring attribute item is obtained, a regional monitoring selection page corresponding to the regional monitoring attribute item is displayed; the regional monitoring selection page includes a plurality of regional monitoring options for selection; In response to a selection operation on a region monitoring option in the region monitoring selection page, the selected region monitoring option is configured as a current region monitoring attribute of the custom region.
11. The area configuration method according to any one of claims 1 to 10, wherein: After acquiring the attribute information corresponding to each function item selected in the function configuration area and configuring the selected custom area based on the attribute information, the method further includes: Get the monitoring signals of each defined area in the current space; Extracting features of the monitoring signal to obtain target features of the target object in each custom area; Determine the target detection result corresponding to each custom area according to the area monitoring attribute corresponding to each custom area and the target feature; When the target detection result meets the triggering condition in the corresponding device control scheme, the corresponding intelligent device is controlled to execute the device control scheme.
12. The area configuration method according to any one of claims 1 to 10, wherein: The area attribute type of each of the custom areas includes a monitoring type; the monitoring type indicates that target detection needs to be performed on the corresponding custom area; The obtaining of monitoring signals of each custom area in the current space includes: Get the monitoring signals of each custom area whose area attribute type is monitoring class in the current space.
13. A region configuration device, wherein: It includes a first display module for displaying a configuration page; the configuration page is used to customize and select any area for configuration; A region module, used to obtain any region selected on the configuration page and generate the selected custom region; A second display module, configured to display, in response to a selection operation on the custom area, a function configuration area of the custom area corresponding to the selection operation; The configuration module is used to obtain the attribute information corresponding to each function item selected in the function configuration area, and configure the selected custom area based on the attribute information; the configured custom area is used to realize automatic control through area detection.
14. The area configuration device according to claim 13, wherein: The configuration page includes a zone editing page; The area module includes a track unit, which is used to obtain track information corresponding to the sliding operation in response to the sliding operation on the area editing page; The area unit is used to generate a custom area corresponding to the sliding operation according to the trajectory information, and display the generated custom area on the area editing page.
15. The area configuration device according to claim 14, wherein: The configuration page is generated based on the space layout diagram; The area unit includes a mapping subunit, which is used to determine the area mapped by the track information as the custom area corresponding to the sliding operation; or a coordinate subunit, configured to determine, according to the grid coordinate information corresponding to the track information, a grid area passed by the track information as the custom area corresponding to the sliding operation.
16. The area configuration device according to claim 13, wherein: The configuration module includes a selection unit, which is used to display a property selection page corresponding to the selected function item in response to a trigger operation on the function item selected in the function configuration area; The configuration unit is used to obtain the property information corresponding to the current function item selected on the property selection page, and configure the current function item of the selected custom area based on the property information.
17. The area configuration device according to any one of claims 13 to 16, wherein: The device also includes an acquisition module for acquiring monitoring signals of each defined area in the current space; A feature module is used to extract features from the monitoring signal to obtain target features of the target object in each custom area; A result module, used to determine the target detection result corresponding to each custom area according to the area monitoring attribute corresponding to each custom area and the target feature; The control module is used to control the corresponding intelligent device to execute the device control scheme when the target detection result meets the trigger condition in the corresponding device control scheme.
18. An electronic device comprising a memory and a processor, wherein: The memory stores a region configuration method, and the processor is configured to adopt the region configuration method according to any one of claims 1 to 8 when executing the region configuration method.
19. A storage medium, wherein: The device stores computer-readable instructions that can be loaded by a processor and execute the method according to any one of claims 1 to 8.
20. A computer program product, comprising computer-readable instructions, wherein when the computer-readable instructions are executed by a processor, the area configuration method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Smart home device configuration method and smart home system
CN108508755A
Robot control method and cleaning robot
CN111185900A
Equipment configuration processing method and device, computer equipment and storage medium
CN114928538A
Region configuration method and device, equipment and storage medium
CN116501202A
Visualized edition method, device and apparatus, and storage medium
US20200410044A1
