Area setting method and apparatus, electronic device, and storage medium

Editing the area range in the area management page through the gesture operation of the user terminal solves the complexity problem of target space division in intelligent device control, realizes efficient and accurate area setting and automated configuration, and improves the accuracy of device control and user experience.

WO2024188191A1PCT designated stage expired Publication Date: 2024-09-19SHENZHEN LUMIUNITED TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

It is difficult to efficiently and accurately set the target space area of ​​smart devices with existing technology, leading to device control errors and affecting user experience.

Method used

Provide a region setting method and device, edit the region range in the region management page through gesture operation of the user terminal, use the gesture operation module to detect and determine the region range, and control smart devices based on the range, including a gesture operation module and a region management module and area generation module to achieve precise division and automatic configuration of functional areas.

Benefits of technology

It improves the efficiency and accuracy of regional settings, avoids incorrect execution of actions by smart devices, and enhances the accuracy and user experience of device control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024080833_19092024_PF_FP_ABST
    Figure CN2024080833_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of Internet of Things, and provides an area setting method and apparatus, an electronic device, and a storage medium. The method comprises: displaying an area management page, the area management page comprising an editing area, and an editable range of the editing area corresponding to a space range of a target space; if a gesture operation for the editing area is detected, determining an area range determined by the gesture operation; and displaying a functional area in the area management page according to the area range, so as to control a smart device in the functional area and / or the target space corresponding to the functional area. The present disclosure solves the problem in the prior art of poor accuracy of device control as a result of being difficult to accurately perform area setting for a target space.
Need to check novelty before this filing date? Find Prior Art

Description

Area setting method, device, electronic device and storage medium

[0001] This disclosure claims priority to Chinese patent application CN 2023102299040, filed on March 10, 2023, entitled “Region Setting Method, Device, Electronic Device and Storage Medium,” the entire contents of which are hereby incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of Internet of Things technology, and more specifically, to a method and device for setting a region, an electronic device, and a storage medium. Background Art

[0003] With the development of Internet of Things technology, smart devices are becoming more and more popular. Users can control smart devices in the Internet of Things through user terminals to make them perform the actions they expect.

[0004] Currently, there are two main ways for users to control smart devices: one is to directly send device control commands to control the device, and the other is to configure the smart device automatically. When the trigger conditions are met, the smart device performs the corresponding action. Automated configuration can be linked between multiple smart devices, for example, when a human sensor detects a person, the light will turn on.

[0005] However, the target space in which smart devices are located can be complex, for example, containing areas that could interfere with device control. For example, if a smart device is a human sensor and there are plants in the target space, and the plants sway in the wind, the human sensor may mistakenly interpret the swaying of the plants as human motion, resulting in an erroneous human detection result. If there are automated configurations triggered by the human sensor, the corresponding smart device may be incorrectly controlled to perform actions.

[0006] Summary of the Invention

[0007] The present disclosure provides a method, device, electronic device, and storage medium for setting a region.

[0008] According to one aspect of the present disclosure, a region setting method is executed by a user terminal, and the method includes: displaying a region management page, the region management page including an editing area, and the editable range of the editing area corresponds to the spatial range of the target space; if a gesture operation for the editing area is detected, determining the region range determined by the gesture operation; displaying a functional area in the region management page according to the region range to control the functional area and / or the smart device of the target space corresponding to the functional area.

[0009] According to one aspect of the present disclosure, an area setting device includes: an area management module for displaying an area management page, the area management page including an editing area, and the editable range of the editing area corresponds to the spatial range of the target space; a gesture operation module for displaying an area management page, the area management page including an editing area, and the editable range of the editing area corresponds to the spatial range of the target space; an area generation module for displaying a functional area in the area management page according to the area range, so as to control the functional area and / or the smart device of the target space corresponding to the functional area.

[0010] In an exemplary embodiment, the gesture operation module is also used to, if a gesture operation directed to the editing area is detected, determine the point of action of the gesture operation in the editing area, and determine whether the point of action has moved in the editing area; if not, determine that the gesture operation is a first gesture operation; and determine the area range based on the point of action of the first gesture operation in the editing area.

[0011] In an exemplary embodiment, the gesture operation module is also used to determine the moving direction of the action point in the editing area if the action point moves in the editing area; if the moving direction is the first direction, determine the gesture operation as the second gesture operation; and determine the area range based on the action point of the second gesture operation in the editing area.

[0012] In an exemplary embodiment, the gesture operation module is further configured to: if the moving direction is the second direction, determine that the gesture operation is a third gesture operation; and determine the area range based on the action point of the third gesture operation in the editing area.

[0013] In an exemplary embodiment, the gesture operation module is also used to, if the editing area where the action point is located has been selected, remove the area range where the action point is located from the area range determined by the gesture operation; if the editing area where the action point is located has not been selected, add the area range where the action point is located to the area range determined by the gesture operation.

[0014] In an exemplary embodiment, the gesture operation module is also used to, if a gesture operation directed to the editing area is detected, determine whether multiple action points of the gesture operation in the editing area have moved relative to each other in the editing area when the number of action points of the gesture operation in the editing area is greater than a set threshold; if so, determine that the gesture operation is a fourth gesture operation; and determine the area range based on the action points of the fourth gesture operation in the editing area.

[0015] In an exemplary embodiment, the gesture operation module is also used to determine the moving direction and moving distance of the multiple action points relative to each other in the editing area; if the moving direction of the relative movement indicates that the multiple action points move relatively inward in the editing area, then based on the reduction ratio corresponding to the moving distance, the area range determined by the fourth gesture operation is reduced; if the moving direction of the relative movement indicates that the multiple action points move relatively outward in the editing area, then based on the magnification ratio corresponding to the moving distance, the area range determined by the fourth gesture operation is enlarged.

[0016] In an exemplary embodiment, the gesture operation module is also used to, if a gesture operation directed to the editing area is detected, determine whether multiple action points in the editing area move along the same direction in the editing area when the number of action points of the gesture operation in the editing area is greater than a set threshold; if so, determine that the designated gesture is a fifth gesture operation; and in response to the fifth gesture operation, control the editing area to move along the moving direction of the multiple action points in the area management page.

[0017] In an exemplary embodiment, the gesture operation module is further configured to stop the movement of the editing area if the editing area is moved to a set limit range of the area management page.

[0018] In an exemplary embodiment, the area setting device also includes a device page module for displaying a device page corresponding to the smart device, wherein the device page displays an area management entrance; in response to an area management operation triggered by the area management entrance displayed on the device page, the area management page is entered from the device page.

[0019] In an exemplary embodiment, the area setting device further includes a first setting module for responding to an area setting operation for creating a new area entry in the area management page.

[0020] In an exemplary embodiment, the area setting device also includes a second setting module for responding to an area setting operation triggered within the display range of the functional area not displayed on the area management page; controlling the area management page from a display state displaying the functional area to an editing state displaying the editing area, so as to detect the gesture operation triggered in the editing area and confirm the area range for the newly created functional area.

[0021] In an exemplary embodiment, the area setting device also includes a third setting module for controlling the area management page from a display state displaying the functional area to an editing state displaying the editing area in response to an area setting operation for the functional area, so as to detect the gesture operation triggered in the editing area and modify the area range of the functional area.

[0022] In an exemplary embodiment, the area setting device further includes an area editing module for displaying an area editing entry in the area management page in response to an area editing operation triggered on the area management page, the area editing entry including at least one of an area attribute entry, an area type entry, and a monitoring sensitivity entry; if an attribute editing operation is detected for the area attribute entry, the area attributes of the functional area are updated according to the changed area attributes; if a type editing operation is detected for the area type entry, the functional area is displayed in the area setting page according to the configured area type; if a sensitivity editing operation is detected for the monitoring sensitivity entry, the area monitoring sensitivity of the functional area is adjusted; the area detection sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.

[0023] In an exemplary embodiment, the area setting device also includes an automation configuration module for displaying an automation configuration page for the functional area; generating an automation configuration plan for the functional area in response to the automation configuration operation for the functional area on the automation configuration page; the automation configuration plan is used to control the functional area and / or the smart device of the target space corresponding to the functional area to perform corresponding actions.

[0024] According to one aspect of the present disclosure, an electronic device includes at least one processor and at least one memory, wherein the memory stores computer-readable instructions; the computer-readable instructions are executed by one or more of the processors, so that the electronic device implements the region setting method as described above.

[0025] According to one aspect of the present disclosure, a computer-readable storage medium stores computer-readable instructions thereon, and the computer-readable instructions are executed by one or more processors to implement the region setting method as described above.

[0026] According to one aspect of the present disclosure, a computer program product includes computer-readable instructions, which are stored in a computer-readable storage medium. One or more processors of an electronic device read the computer-readable instructions from the storage medium, load and execute the computer-readable instructions, so that the electronic device implements the region setting method as described above.

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

[0028] In the above technical solution, on the one hand, gesture operations can be used to more flexibly determine the area range for the functional area, which can not only set the area range more efficiently, but also set the area range more accurately. On the other hand, the use of automated services based on functional areas for device control and more accurate area ranges can avoid smart devices from incorrectly executing actions, making device control more accurate and more in line with user expectations, thereby improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] To more clearly illustrate the technical solutions provided by the present disclosure, the following briefly introduces the drawings required for describing the various embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0030] FIG1 is a schematic diagram of an implementation environment according to an embodiment of the present disclosure;

[0031] FIG2 is a flow chart showing a method for setting a region according to an exemplary embodiment;

[0032] FIG3 is a flowchart of a method for setting a region in one embodiment;

[0033] FIG3 a is a schematic diagram of a device page shown in one embodiment;

[0034] FIG3 b is a schematic diagram of a region management page shown in one embodiment;

[0035] FIG3 c is a schematic diagram showing editing of a functional area in one embodiment;

[0036] FIG4 a is a flowchart of editing a functional area in one embodiment;

[0037] FIG4 b is a schematic diagram of editing area attributes shown in one embodiment;

[0038] FIG4c is a schematic diagram showing an editing area type in one embodiment;

[0039] FIG4 d is a schematic diagram showing an editing monitoring sensitivity in one embodiment;

[0040] FIG4e is a schematic diagram of an edited color shown in one embodiment;

[0041] FIG4 f is a schematic diagram of editing a name shown in one embodiment;

[0042] FIG5 a is a flow chart of a method for setting a region according to another embodiment;

[0043] 5b to 5c are schematic diagrams of an automation configuration shown in one embodiment;

[0044] FIG6 is a flow chart of a method for setting a region in another embodiment;

[0045] 6a to 6g are schematic diagrams of gesture operations shown in one embodiment;

[0046] FIG7 is a flow chart of a method for setting a region in another embodiment;

[0047] FIG8 is a flowchart of a method for setting a region in one embodiment;

[0048] 8a and 8b are schematic diagrams of gesture operations shown in one embodiment;

[0049] FIG9 is a flowchart of a method for setting a region in one embodiment;

[0050] FIG9 a is a schematic diagram of a gesture operation shown in one embodiment;

[0051] FIG9 b is a schematic diagram showing movement of an editing area in an area management page in one embodiment;

[0052] FIG10 to FIG10a are schematic diagrams showing a specific implementation of a method for setting a region in an application scenario embodiment;

[0053] FIG11 is a structural block diagram of a device for setting a region according to an exemplary embodiment;

[0054] FIG12 is a hardware structure diagram of a terminal according to an exemplary embodiment;

[0055] Fig. 13 is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0056] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present disclosure and are not to be construed as limiting the present disclosure.

[0057] As mentioned above, due to the complexity of the target space, it is very difficult to divide the target space accurately.

[0058] Based on this, different zones can be set for smart devices, dividing the target space into several zones, allowing smart devices to perform different processing for different zones. However, due to the complexity of the target space, accurately dividing the target space is very difficult and inefficient. For example, the target space is a living room, which is filled with furniture such as sofas, green plants, coffee tables, and TVs. These furniture are of varying sizes and are placed irregularly. Therefore, dividing the living room into different zones is complex and tedious.

[0059] Regarding the setting of the area range, you can use single-click selection to select the area range, but selecting the area range of the grids one by one is inefficient; you can also use fixed shapes such as rectangles, circles, and triangles to select the area range by dragging, but the selection cannot meet the requirements of adding or removing one or several grid areas.

[0060] In other words, using single-click selection or box selection to set the area range cannot achieve both flexibility and efficiency. Therefore, a region setting method that is both efficient and flexible is urgently needed to divide the target space into regions.

[0061] As can be seen from the above, the related art still has the problem of difficulty in efficiently setting the area range.

[0062] To this end, the area setting method provided by the present disclosure can flexibly set the area range for the functional area, thereby effectively improving the efficiency of setting the area range, and at the same time, improving the accuracy of device control. Accordingly, the area setting method is suitable for an area setting device, which can be deployed in an electronic device. For example, the electronic device can be a laptop computer, a tablet computer, a smart phone, a smart home panel with touch function, etc.

[0063] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0064] FIG1 is a schematic diagram of an implementation environment involved in a region setting method, which includes a user terminal 110 , a smart device 130 , a gateway 150 , a server 170 , and a router 190 .

[0065] Specifically, the user terminal 110 can also be considered as a client, user end or terminal, and the smart device 130 can be associated and deployed to the client, which can also be understood as installation. The user terminal 110 can be an electronic device such as a smart phone, tablet computer, laptop computer, desktop computer, smart control panel, or other device with display and control functions, and is not limited here.

[0066] Among them, the client is associated with the smart device 130, which essentially means that the user registers an account in the client and configures the smart device 130 in the client. For example, the configuration includes adding a device identifier to the smart device 130, so that when the client is run in the user terminal 110, it can provide the user with device display, device control and other functions about the smart device 130. This client can be in the form of an application or a web page. Accordingly, the interface for device display on the client can be in the form of a program window or a web page, which is not limited here.

[0067] The smart device 130 is deployed in the gateway 150 and communicates with the gateway 150 through its own configured communication module, and is thereby controlled by the gateway 150. It should be understood that the smart device 130 generally refers to one of a plurality of smart devices 130, and the embodiments of the present disclosure only take the smart device 130 as an example, that is, the embodiments of the present disclosure do not limit the number and device types of smart devices deployed in the gateway 150. In one application scenario, the smart device 130 accesses the gateway 150 through a local area network and is thereby deployed in the gateway 150. The process of the smart device 130 accessing the gateway 150 through a local area network includes: the gateway 150 first establishes a local area network, and the smart device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. This local area network includes, but is not limited to, ZIGBEE or Bluetooth. Among them, the smart device 130 can be a smart printer, a smart fax machine, a smart camera, a smart air conditioner, a smart door lock, a smart light, or an electronic device equipped with a communication module, such as a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a Rubik's Cube controller, a curtain motor, etc.

[0068] The interaction between the user terminal 110 and the smart device 130 can be achieved through a local area network or a wide area network. In one application scenario, the user terminal 110 establishes a communication connection between the router 190 and the gateway 150 by means of a wired or wireless method. For example, the wired or wireless method includes but is not limited to WIFI, so that the user terminal 110 and the gateway 150 are deployed in the same local area network, thereby enabling the user terminal 110 to interact with the smart device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a communication connection between the server 170 and the gateway 150 by means of a wired or wireless method. For example, the wired or wireless method includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, thereby enabling the user terminal 110 to interact with the smart device 130 through the wide area network path.

[0069] The server side 170 can also be considered as a cloud, cloud platform, platform side, service side, etc. The server side 170 can be a single server, a server cluster composed of multiple servers, or a cloud computing center composed of multiple servers, so as to better provide background services to a large number of user terminals 110. For example, the background services include device control services.

[0070] In an application scenario, a user performs various gesture operations through the user terminal 110. After detecting the gesture operation, the user terminal 110 sets a functional area and its area range for the smart device 130, and controls the device through the functional area.

[0071] Referring to FIG. 2 , an embodiment of the present disclosure provides a method for setting a region. The method is applicable to an electronic device, which may specifically be the user terminal 110 in the implementation environment shown in FIG. 1 .

[0072] In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.

[0073] As shown in FIG2 , the method may include the following steps:

[0074] Step 310: Display the area management page.

[0075] Among them, the area management page includes an editing area. It should be understood that the editable range of the editing area will be limited. Specifically, the editable range of the editing area corresponds to the spatial range of the target space, wherein the target space refers to the space where the smart device corresponding to the device page is located. For example, if the smart device is deployed in the living room, then the living room is the target space.

[0076] Regarding the area management page, it can be used to edit the device page, for example, to create a functional area on the device page, edit the functional area, etc. Based on this, the editing area in the area management page is an area for editing the functional area.

[0077] In a possible implementation, as shown in FIG3 , before step 310, the following steps are further included:

[0078] Step 410: Display the device page corresponding to the smart device, and the device page displays a zone management entrance.

[0079] Among them, smart devices refer to smart devices deployed in the Internet of Things, for example, smart devices deployed in a smart home network, and the device page is a page used to view and manage smart devices, for example, to view the work log of the smart device, manage the functional areas of the smart device, etc.

[0080] Figure 3a shows a schematic diagram of a device page. As shown in Figure 3a, the device page 3a1 displays a device name 3a2, a target space area 3a3 and a device work log area 3a4, wherein the device name is the name of the smart device, the target space area 3a3 displays the target space, and displays the furniture, equipment, etc. of the target space; the device work log area 3a4 is an area for displaying the device work log; wherein, the device page is used to display the information of the smart device. If the smart device is set with a functional area, the functional area is displayed in the target space area 3a3 of the device page 3a1 accordingly. If the smart device does not have a functional area, the functional area is not displayed in the target space area 3a3 of the device page 3a1 accordingly; the device page 3a1 also displays a management area entrance 3a5, and by triggering the management area entrance 3a5, the functional area of ​​the smart device can be set.

[0081] Step 430 : In response to a zone management operation triggered by a zone management entry displayed on the device page, enter the zone management page from the device page.

[0082] As mentioned above, the device page displays an area management entrance, which corresponds to the area management operation and is used to display the area management page; if the user expects to manage the functional area of ​​the smart device, the area management operation can be triggered at the area management entrance to display the area management page and then manage the functional area of ​​the smart device.

[0083] For example, referring back to Figure 3a, device page 3a1 also displays a management area entry 3a5. Clicking on management area entry 3a5 detects a region management operation at the electronic device, and in response to the region management operation, displays region management page 3b1, as shown in Figure 3b. Figure 3b is a schematic diagram of a region management page. Region management page 3b1 displays an editing area 3b2 and an editing entry area 3b3. The editing entry area 3b3 displays a template entry, a sticker entry, a new monitoring area entry 3b4, and a new other area entry 3b5. The editing area 3b2 displays a blank area 3b6 and a function area 3b7. A click operation is considered a region management operation.

[0084] As mentioned above, the area management page can be used to create functional areas, edit functional areas, etc. on the device page. Based on this, the area setting operation of the functional area is triggered on the area management page, thereby displaying the editing area and then editing the functional area.

[0085] In one possible implementation, in response to an area setting operation for a new area entry in an area management page; or in response to an area setting operation triggered within a display range where a functional area is not displayed on the area management page; the area management page is controlled to enter an editing state that displays an editing area from a display state that displays the functional area, so as to detect a gesture operation triggered in the editing area and confirm the area range for the newly created functional area.

[0086] In one possible implementation, in response to an area setting operation for a functional area, the control area management page switches from a display state displaying the functional area to an editing state displaying the editing area, so as to detect a gesture operation triggered in the editing area and modify the area range for the functional area.

[0087] First of all, it should be noted that the area setting operation is an operation for editing the functional area in the editing area. In order to edit the functional area in the area management page, the control entry for the area setting operation can be set in the area management page. For example, the control entry for the area setting operation can be set in any blank display area, functional area, or new entry on the area management page, without limitation here. If the user expects to edit the functional area in the area management page, the area setting operation can be triggered through the above-mentioned control entry, thereby editing the functional area in the editing area. Among them, the area setting operation can be triggered by clicking or long pressing the above-mentioned control entry, without limitation here.

[0088] Among them, the area setting operation triggered at any blank display area or new entrance in the area management page can be used to create a new functional area for the smart device; the area setting operation triggered at the functional area in the area management page can be used to modify the area range for the existing functional area of ​​the smart device.

[0089] It should be noted that before the region editing operation is triggered, the editing area of ​​the region management page is in a non-editable state. After the region editing operation is triggered, the editing area of ​​the region management page is in an editing state. The gesture operation triggered in the editing area can be detected to confirm the region range for the newly added functional region or modify the region range of the functional region. The gesture operation can be the first gesture operation, the second gesture operation and / or the third gesture operation, which are not limited here. It is understood that if the region setting operation is not triggered on the region management page, then the corresponding functional region cannot be edited.

[0090] For example, please refer back to Figure 3b. As shown in Figure 3b, the editing entry area 3b3 in the area management page 3b1 displays a new monitoring area entry 3b4 and a new other area entry 3b5, and the editing area 3b2 displays a blank area 3b6 and a functional area 3b7; wherein, the new monitoring area entry 3b4 is used to add a monitoring area for the smart device, and the new other area entry 3b5 is used to add a functional area other than the monitoring area for the smart device; clicking on the new monitoring area entry 3b4, the new other area entry 3b5, the blank area 3b6 or the functional area 3b7, for the electronic device, a region setting operation is detected at the above-mentioned control entry, and editing of the functional area starts in response to the region setting operation. Figure 3c is a schematic diagram of editing a functional area. As shown in Figure 3c, the area management page 3c1 displays an editing area 3c2 and an area editing entry area 3c3; wherein, the editing area 3c2 corresponds to the editing area 3b2 in Figure 3b, and the area range can be set for the functional area in the editing area 3c2; the area editing entry area 3c3 includes a color entry 3c4, an area attribute entry 3c5, an area type entry 3c6, a monitoring sensitivity entry 3c7 and a name entry 3c8. By triggering the above area editing entries, the color, attribute, type, monitoring sensitivity and name of the functional area can be edited; wherein, a click operation is regarded as an area setting operation.

[0091] Optionally, in the editing area in the editing state, the area range can be set for the functional area, and the color, attribute, type, monitoring sensitivity and name of the functional area can be edited to make the functional area more practical and more in line with user needs. In one possible implementation, as shown in FIG4a, editing the functional area also includes the following steps:

[0092] Step 610: In response to the region editing operation triggered on the region management page, a region editing entry is displayed on the region management page.

[0093] The region editing operation is used to edit the functional region. To edit the functional region, a control entry for the region editing operation can be set in the region management page. If the user wishes to edit the functional region, the control entry can be triggered to edit the functional region.

[0094] The region editing entry is used to provide specific editing items. It includes at least one of the following: region attribute entry, region type entry, and monitoring sensitivity entry. It may also include a color entry and a name entry, which are not limited here. The region attribute entry corresponds to attribute editing, the region type entry corresponds to type editing, the monitoring sensitivity entry corresponds to sensitivity editing, the color entry corresponds to color editing, and the name entry corresponds to name editing.

[0095] For example, please refer back to FIG3c . As shown in FIG3c , the region editing entry area 3c3 includes a color entry 3c4 , a region attribute entry 3c5 , a region type entry 3c6 , a monitoring sensitivity entry 3c7 , and a name entry 3c8 .

[0096] Step 630: If an attribute editing operation on the area attribute entry is detected, the area attributes of the functional area are updated according to the modified area attributes.

[0097] Among them, the regional attributes are used to indicate the attributes of the functional area, which may include monitoring areas, imports and exports, interference sources and edges. It can be understood that for different functional attributes, the smart device performs differentiated processing on the functional areas based on the functional attributes.

[0098] Taking smart devices as human body sensors as an example, the regional attributes of the functional area where moving objects such as fans, air conditioners, and green plants are located in the target space are set as interference sources, and the walls in the target space are set as edges. The human body sensor will ignore the movement in the functional area when working to improve monitoring accuracy; the regional attributes of the functional area that needs to be monitored are set as monitoring areas, and the human body sensor will monitor the movement in the functional area. Optionally, users can also automatically configure the functional areas of the monitoring area based on the regional attributes; the regional attributes of the functional area where the entrances and exits of the target space are located are set as entrances and exits to increase the target creation speed and target deletion speed at the entrance and exit locations, and reduce the target creation probability at non-entrance and exit locations. The target can be a tracking target, such as animals, people, etc., which are not limited here.

[0099] Among them, the attribute editing operation is used to change the attributes of the functional area; if the user wants to edit the attributes of the functional area, the area attribute entrance can be triggered to edit the attributes of the functional area.

[0100] For example, please refer back to Figure 3c. As shown in Figure 3c, the area editing entry area 3c3 includes an area attribute entry 3c5. Click the area attribute entry 3c5. For the electronic device, a attribute editing operation is detected at the area attribute entry. In response to the attribute editing operation, the attribute selection area 4b1 is displayed. Figure 4b shows a schematic diagram of editing area attributes. As shown in Figure 4b, the attribute selection area 4b2 in the area management page 4b1 includes a monitoring area 4b3, an import and export 4b4, an interference source 4b5 and an edge 4b6. Select the monitoring area 4b2 and confirm it, and the area attribute of the functional area can be set to "monitoring area"; wherein, the click operation is regarded as an attribute editing operation.

[0101] Step 650: If a type editing operation for the area type entry is detected, the functional area is displayed in the area setting page according to the configured area type.

[0102] The area type indicates the function of the functional area. For example, if the functional area type is TV area, then it is used to place a TV. It is understood that the function of a functional area is not fixed. For example, when the equipment in the functional area changes, the type of the functional area can also be changed accordingly. For example, if the TV in the "TV" functional area is changed to a coffee table, then the area type of the "TV" functional area can be changed from "TV" to "coffee table" to obtain the "coffee table" functional area.

[0103] Among them, the type editing operation is used to change the type of the functional area; if the user wants to edit the area type of the functional area, the area type entrance can be triggered to edit the area type of the functional area.

[0104] For example, referring back to Figure 3c, as shown in Figure 3c, the area editing entry area 3c3 includes an area type entry 3c6. Clicking on the area type entry 3c6 will detect a type editing operation at the area type entry for the electronic device, and in response to the type editing operation, a type selection area 4b1 will be displayed. Figure 4c shows a schematic diagram of editing area types. As shown in Figure 4c, the type selection area 4c2 on the area management page 4c1 includes a living room 4c3, a dining room 4c4, a study 4c5, a bedroom 4c6, a kitchen 4c7, and others 4c8. Selecting others 4c8, as shown in 4c8 in Figure 4c, will display a type input box 4c9. Enter "sofa area" and confirm, as shown in 4c0 in Figure 4c, to change the area type of the functional area to the "sofa area" functional area. Clicking is considered a type editing operation.

[0105] Step 670: If a sensitivity editing operation for the monitoring sensitivity entry is detected, the regional monitoring sensitivity of the functional area is adjusted.

[0106] Among them, the regional monitoring sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.

[0107] The sensitivity editing operation is used to adjust the trigger sensitivity of the regional monitoring sensitivity of the functional area. The regional monitoring sensitivity trigger sensitivity is used to indicate the responsiveness of the smart device when the monitoring sensitivity of the functional area is triggered, that is, the minimum signal strength at which the smart device can detect the trigger operation of the functional area. It can be understood that the higher the regional monitoring sensitivity trigger sensitivity, the more accurately the smart device can detect the signal trigger operation in the functional area. For example, if the smart device is a human body sensor, if the regional monitoring sensitivity of the functional area is adjusted to high sensitivity, the human body sensor can detect slight human body signals in the functional area. If the user wishes to adjust the trigger sensitivity of the regional monitoring sensitivity of the functional area, the user can trigger the sensitivity entry to adjust the trigger sensitivity of the regional monitoring sensitivity of the functional area.

[0108] For example, for example, please refer back to Figure 3c. As shown in Figure 3c, the area editing entry area 3c3 includes a monitoring sensitivity entry 3c7. Click the monitoring sensitivity entry 3c7. For the electronic device, a sensitivity editing operation is detected at the monitoring sensitivity entry. As shown in Figure 3d, a sensitivity selection area 4d2 is displayed in the area management page 4d1. The sensitivity selection area 4d2 includes high sensitivity 4d3, medium sensitivity 4d4, and low sensitivity 4d5. Select high sensitivity 4d3 and confirm to adjust the area monitoring sensitivity of the functional area to high sensitivity. The click operation is regarded as a sensitivity editing operation.

[0109] Step 690: If a color editing operation on the color entry is detected, the function area is displayed in the area management page according to the edited color.

[0110] First of all, it should be noted that each functional area in the area management page can correspond to a different background color. By displaying functional areas with different background colors, it is convenient for users to distinguish functional areas when viewing the area management page.

[0111] The color editing operation is used to edit the background color of the functional area. If the user wants to change the background color of the functional area, the color entry can be triggered to change the background color of the functional area.

[0112] For example, please refer back to Figure 3c. As shown in Figure 3c, the area editing entry area 3c3 includes a color entry 3c4. When the color entry 3c4 is clicked, the electronic device detects a color editing operation at the color entry, and responds to the color editing operation as shown in Figure 4e. The color selection page 4e2 is displayed in the area management page 4e1. Multiple optional background colors 3e2 are displayed in the color selection page. Select one of the background colors to change the background color of the functional area and configure the selected background color as the background color of the functional area. The click operation is regarded as a color editing operation.

[0113] Step 600: If a name editing operation on a name entry is detected, the function area is displayed in the area management page according to the edited name.

[0114] First of all, it should be explained that different functional area names can be used to name the functional areas in the area management page, which makes it easier for users to distinguish the functional areas when viewing the area management page, and also makes it easier for users to accurately determine the desired functional areas when performing automatic configuration based on functional areas.

[0115] The name editing operation is used to edit the name of the functional area. If the user wants to change the background color of the functional area, the name entry can be triggered to change the name of the functional area.

[0116] For example, please refer to Figure 3c. As shown in Figure 3c, the area editing entry area 3c3 includes a name entry 3c8. Click the name entry 3c8. For the electronic device, a name editing operation is detected at the name entry, and in response to the name editing operation, as shown in Figure 4f, a name editing area 4f2 and a keyboard area 4f3 are displayed in the area management page 4f1. Use the keyboard area 4f3 to input a name and confirm, change the name of the functional area, and use the input name as the name of the functional area. The click operation is regarded as a name editing operation.

[0117] Through the above process, editable items such as the name, color, area type, area attributes, and area monitoring sensitivity of the functional area can be customized to make the functional area conform to the actual situation. This not only makes it convenient for users to manage and view each functional area, but also makes the automation configuration based on the functional area more in line with expectations, and makes the equipment control based on the automation configuration more accurate, thereby improving the practicality of equipment control and thus improving the user experience.

[0118] Step 330: If a gesture operation targeting the editing area is detected, the area range determined by the gesture operation is determined.

[0119] As previously mentioned, in the editing area, you can set an area range for the functional area. Specifically, the user performs various gesture operations on the terminal, and the area range determined by the various gesture operations is used to set the area range for the functional area. Specifically, the gesture operation may include a single click operation, a sliding operation, or a frame selection operation, which is not limited here.

[0120] For example, you can click to add or remove a grid area for the functional area in the editing area, slide to add or remove a row of grid areas for the functional area, or select a rectangle to add or remove a grid area for the functional area.

[0121] Step 350 : Displaying the functional area in the area management page according to the area range, so as to control the functional area and / or the smart device in the target space corresponding to the functional area.

[0122] First, the area management page can display the functional area based on the area range set for the functional area in the previous steps. Optionally, since the functional area has a corresponding smart device and the functional area belongs to the target space, the smart device in the target space can be controlled based on the functional area.

[0123] In a possible implementation, as shown in FIG5a , after step 350, the following steps may be further included:

[0124] Step 710: Display an automation configuration page for a functional area.

[0125] Step 730: In response to the automated configuration operation for the functional area on the automated configuration page, generate an automated configuration plan for the functional area; the automated configuration plan is used to control the functional area and / or the smart device in the target space corresponding to the functional area to perform corresponding actions.

[0126] As mentioned above, the smart device can be controlled by using the functional area, that is, the functional area can be automatically configured, wherein the automatic configuration page is a page for automatically configuring the functional area.

[0127] The automated configuration operation is used to perform automated configuration. The control entry for the automated configuration operation is set on the automated configuration page. If the user expects to perform automated operations for a functional area, the control entry can be triggered to perform automated configuration for the functional area.

[0128] For example, Figures 5b and 5c show schematic diagrams of an automation configuration. As shown in Figure 5b, the automation configuration page 5b1 of the human body sensor displays a condition selection entry 5b2, an action selection entry 5b3, and a number selection entry 5b4. Among them, the condition selection entry 5b2 is used to configure the trigger condition for the automation instruction, and the action selection control entry 5b3 is used to configure the execution action for the automation instruction. It can be understood that when the trigger condition is met, the smart device will execute the action; the number selection entry 5b4 is used to configure the number of times for the automation instruction. When the number selection entry 5b4 is in the open state, the automation instruction is triggered once and then closed; click the condition selection entry 5b2 to enter the condition selection page 5b5, which displays multiple trigger conditions to choose from. Select area detection 5b6 to enter the area selection page 5b7. Among them, area detection 5b6 uses the functional area as the trigger condition. The area selection page 5b7 displays several functional areas that can serve as trigger conditions.

[0129] Optionally, select "sofa area" as the functional area of ​​the trigger condition on the area selection page, as shown in Figure 5c, and display the trigger condition selection page 5c1 for the functional area. Several trigger conditions are displayed in the trigger condition selection page 5c1. Select "someone" as the trigger condition, and display the automation configuration page 5c2. Configure the execution action "turn on the lighting in the sofa area of ​​the living room" for the automation instruction through the action selection control entry 5c3 in the automation configuration page 5c2, and set the automation instruction to be closed when it is triggered once through the number selection entry 5c4 in the automation configuration page 5c2. Save the automation instruction to complete the automation configuration operation.

[0130] Through the above process, on the one hand, gesture operations can be used to more flexibly determine the area range for the functional area, which can not only set the area range more efficiently, but also set the area range more accurately. On the other hand, the use of automated services based on functional areas for device control and the precise area range of functional areas can avoid smart devices from erroneously executing actions, making device control more accurate and more in line with user expectations, thereby improving user experience.

[0131] Referring to FIG. 6 , a possible implementation is provided in an embodiment of the present disclosure. Step 330 may include the following steps:

[0132] Step 331 : If a gesture operation directed to the editing area is detected, then the action point of the gesture operation in the editing area is determined, and whether the action point moves in the editing area is determined.

[0133] First of all, it should be noted that the action point is used to indicate the contact point between the gesture operation and the editing area. In one possible implementation, the user performs a gesture operation on the editing area through the user terminal screen on a user terminal with a touch function. Then, the contact point between the user's gesture operation and the user terminal screen is the action point.

[0134] Among them, the number of action points is related to the gesture operation. For example, if the user performs a gesture operation on the user terminal screen with one finger, the number of action points is 1. If the user performs a gesture operation on the user terminal screen with two fingers, the number of action points is 2.

[0135] Regarding determining the point of action, it can be determined when the gesture operation interacts with the editing area, for example, when the user's finger touches the terminal screen, the point of action is determined; it can also be confirmed after the gesture operation interacts with the editing area for a period of time, for example, when the user's finger presses the user terminal screen for a preset time, the point of action is confirmed. There is no limitation here.

[0136] Regarding the movement of the action point, for example, if the user's finger touches the terminal screen and slides on the terminal screen, the action point will also move accordingly in the editing area. If the user's finger does not slide on the terminal screen after touching the terminal screen, then the action point will not move in the editing area.

[0137] Based on this, if the action point does not move in the editing area, then the gesture operation is the first gesture operation, and step 333 is executed to determine the area range based on the action point of the first gesture operation in the editing area.

[0138] Among them, the first gesture operation is used to confirm the area range of an action point in the editing area. It can be understood that the area range of an action point can be added or removed from the functional area using the first gesture operation.

[0139] For example, Figure 6a shows a schematic diagram of a first gesture operation. As shown in Figure 6a, there are multiple grids to be selected in the editing area. Click on one of the grids and release it. For the electronic device, the first gesture operation is detected at the grid, and in response to the first gesture operation, the grid is added to the area range of the functional area.

[0140] For another example, FIG6b shows a schematic diagram of another first gesture operation. As shown in FIG6b, there are multiple selected grids in the editing area 6a1, and grids 6b2 and 6b3 are clicked respectively. For the electronic device, the first gesture operation is detected at grids 6b2 and 6b3 respectively, and in response to the first gesture operation, grids 6b2 and 6b3 are removed from the area range of the functional area.

[0141] It should be noted that the rectangular grid in the above example is only for illustrative purposes, and the shape of the grid may also be hexagonal, star-shaped, triangular, etc., which is not specifically limited here.

[0142] If the action point moves in the editing area, then the gesture operation is a second gesture operation, and step 335 is executed to secondly determine the moving direction of the action point in the editing area based on the action point of the second gesture operation in the editing area.

[0143] It can be understood that the moving direction of the action point in the editing area is related to the moving direction of the second gesture operation. For example, the user's finger clicks on the user terminal screen and then moves parallel to the right on the user terminal screen. Then, the moving direction of the action point in the editing area is parallel to the right.

[0144] Optionally, the moving direction of the action point in the editing area can be a first direction or a second direction. Specifically, the first direction can be a direction in which the X and Y axes of the coordinate system with the action point as the origin coincide with each other, or the angle is less than a certain range. The second direction can be a direction in which the X and Y axes of the coordinate system with the action point as the origin are at an angle, or the angle is greater than a certain range. The range can be 5°, 10°, 15°, etc., which is not limited here.

[0145] It should be understood that different movement directions of the action point can have different effects on the area of ​​the functional area. If the movement direction is the first direction, the gesture operation is determined to be the second gesture operation. If the movement direction is the second direction, step 332 is executed to determine the area range based on the action point of the second gesture operation in the editing area.

[0146] The second gesture operation is used to confirm the area range within the movement trajectory of the action point in the editing area.

[0147] For example, Figure 6c shows a schematic diagram of a second gesture operation. As shown in Figure 6c, there are multiple grids to be selected in the editing area 6c1. Click on one of the grids 6c2, slide to grid 6c3 and release it. For the electronic device, the second gesture operation is detected at grids 6c2 to 6c3, and in response to the second gesture operation, grids 6c2 to 6c3 are added to the area range of the functional area.

[0148] If the moving direction is the second direction, step 336 is executed to determine the area range based on the action point of the third gesture operation in the editing area.

[0149] The third gesture operation is used to confirm the area within the editing area within the rectangular frame with the action point movement trajectory as the diagonal line.

[0150] For example, Figure 6d shows a schematic diagram of a third gesture operation. As shown in Figure 6d, there are multiple grids to be selected in the editing area 6d1. Click on one of the grids 6d2, slide diagonally to the grid 6d3 and then release it. For the electronic device, the third gesture operation is detected at the grids 6d2 to 6d3, and in response to the second gesture operation, all grids within the rectangular frame 6d4 with 6d2 to 6d3 as the diagonal line are added to the area range of the functional area.

[0151] It should be noted that if the area range is composed of several grids, and the action point of the gesture operation is at the grid of the area range, in one possible implementation, if all the grids on the moving trajectory of the action point in the editing area are in the same row or column, then the moving direction of the action point in the editing area is the first direction; if any grid on the moving trajectory is not in the same row or column, then the moving direction is the second direction.

[0152] Regarding the area range where the action point is located, the area range can be added to the area range of the functional area, or the area range can be excluded from the area range of the functional area, which depends on the status of the editing area where the action point is located. If the editing area where the action point is located has been selected, step 337 is executed, and the area range where the action point is located is excluded from the area range determined by the gesture operation; if the editing area where the action point is located has not been selected, step 339 is executed, and the area range where the action point is located is added to the area range determined by the gesture operation.

[0153] For example, Figure 6e shows a schematic diagram of adding an area range. As shown in Figure 6e, there are multiple grids in the editing area. Click grid 6e1 and slide to grid 6e2. For the electronic device, a second gesture operation is detected from grid 6e1 to grid 6e2. Since 6e1 is not selected, in response to the second gesture operation, all grids on the moving trajectory from grid 6e1 to grid 6e2 are added to the area range of the functional area.

[0154] For another example, Figure 6f shows a schematic diagram of the exclusion area range. As shown in Figure 6f, there are multiple grids in the editing area. Click grid 6f1 and slide to grid 6f2. For the electronic device, a second gesture operation is detected from grid 6f1 to grid 6f2. Since 6f1 is selected, in response to the second gesture operation, all grids on the moving trajectory from grid 6f1 to grid 6f2 are excluded from the area range of the functional area.

[0155] It should be noted that not only can the state of the editing area where the action point is located be used to determine whether to add or remove an area range, but in one possible implementation, as shown in Figure 6g, Figure 6g shows an editing area 6g1 and a functional area 6g2, wherein 6g2 includes an add entry 6g3 and a remove entry 6g4; clicking on the add entry 6g3, for the electronic device, an add operation is detected, and if the user uses a gesture operation to select an area range, then the selected area range will be added to the area range of the functional area; clicking on the remove entry 6g4, for the electronic device, a remove operation is detected, and if the user uses a gesture operation to select an area range, then the selected area range will be removed from the area range of the functional area.

[0156] In summary, after obtaining the area range determined by the gesture operation by using various gesture operations, the functional area can be displayed in the area management page according to the area range.

[0157] Through the above process, users can use the first gesture operation to add or remove the area range of a single grid for the functional area, and can use the second gesture operation or the third gesture operation to batch add or remove the area range of multiple grids for the functional area, so as to set the area range for the functional area more freely and more efficiently.

[0158] It is further explained that, as described above, the editing area in the area management page is composed of a plurality of grids. If the grid is too small, the user may not be able to accurately select the desired grid when performing a gesture operation. If the grid is too large, the area management page may not be able to display all the editing areas, which may cause the user to be unable to select all the desired grids at once when performing a gesture operation. Based on this, in one possible implementation, as shown in FIG7 , step 330 may further include the following steps:

[0159] Step 510 : If a gesture operation targeting the editing area is detected, then if the number of action points of the gesture operation in the editing area is greater than a set threshold, it is determined whether the multiple action points have moved relatively in the editing area.

[0160] First, it should be noted that the number of action points is related to the gesture operation, and therefore, the setting of the threshold is also related to the gesture operation.

[0161] In one possible implementation, the action points of the first gesture operation, the second gesture operation, and the third gesture operation are all gestures for adding or removing area ranges for the functional area, and the action points of the above gesture operations are all 1; then, in order to distinguish gesture operations of different functions, the set threshold can be "the action point is not 1", or "the action point is 2", etc., which is not limited here.

[0162] As mentioned above, as the gesture operation moves on the user terminal, the action point will also move in the editing area. However, since the action point is greater than the set threshold, there are two ways of movement for multiple action points in the editing area, one is relative movement, and the other is movement in the same direction. Optionally, two different gesture operations can be set based on these two different movement methods to achieve different functions.

[0163] Specifically, if multiple action points move relatively in the editing area, the gesture operation is determined to be the fourth gesture operation, and step 530 is executed to determine the area range based on the action points of the fourth gesture operation in the editing area.

[0164] The fourth gesture operation is used to zoom in and out of the determined area. Optionally, since there are two relative movement modes, one is relative inward movement and the other is relative outward movement, the two different relative movement modes can be used to respectively implement the zoom-in and zoom-out functions.

[0165] In a possible implementation, as shown in FIG8 , step 530 may further include the following steps:

[0166] Step 531: Determine the relative movement directions and distances of the plurality of action points in the editing area.

[0167] First, it is explained that if the direction of the relative movement is relatively inward, the fourth gesture operation realizes a zoom-out function, and if the direction of the relative movement is relatively outward, the fourth gesture operation realizes a zoom-in function.

[0168] The relative movement distance is related to the zoom ratio. In one possible implementation, the greater the relative outward movement distance, the greater the zoom ratio; the shorter the relative outward movement distance, the greater the zoom ratio.

[0169] Step 533: If the movement direction of the relative movement indicates that the plurality of action points move relatively inward in the editing area, the area determined by the fourth gesture operation is reduced based on the reduction ratio corresponding to the movement distance.

[0170] For example, Figure 8a shows a schematic diagram of a fourth gesture operation. As shown in Figure 8a, the user pinches and shrinks two fingers on the user terminal screen. For the electronic device, the fourth gesture operation is detected and, in response to the fourth gesture operation, the area determined by the fourth gesture operation is reduced.

[0171] Step 535 : If the movement direction of the relative movement indicates that the plurality of action points move relatively outward in the editing area, the area determined by the fourth gesture operation is enlarged based on the enlargement ratio corresponding to the movement distance.

[0172] For example, Figure 8b shows a schematic diagram of a fourth gesture operation. As shown in Figure 8b, the user's two fingers are spread out to zoom in on the user terminal screen. For the electronic device, the fourth gesture operation is detected and, in response to the fourth gesture operation, the area determined by the fourth gesture operation is enlarged.

[0173] In addition, if the area management page may not display all editing areas, it may cause the user to be unable to select all desired grids when performing gesture operations. In this case, the editing area can be moved so that the user can view and select grids in other areas. In one possible implementation, as shown in Figure 9, moving the editing area may include the following steps:

[0174] Step 610 : If a gesture operation targeting the editing area is detected, then if the number of action points of the gesture operation in the editing area is greater than a set threshold, determine whether the multiple action points move along the same direction in the editing area.

[0175] Step 630: If yes, determine that the designated gesture is the fifth gesture operation.

[0176] Step 650 : In response to the fifth gesture operation, control the editing area to move along the moving directions of the multiple action points in the area management page.

[0177] Among them, the fifth gesture operation is used to control the movement of the editing area on the area management page.

[0178] For example, Figure 9a shows a schematic diagram of a fifth gesture operation. As shown in Figure 9a, the user's two fingers move along one direction on the user terminal screen. For the electronic device, the fifth gesture operation is detected, and the editing area is controlled to move along the moving direction of the two fingers in the area management page.

[0179] It should be noted that when controlling the movement of the editing area in the area management page, if the set area range is moved outside the editing area, it may be difficult to move it back into the editing area. For example, the area of ​​the target space is large, and accordingly, the editable range of the editing area is large. Then, after moving the editing area, it is difficult to locate it back to the position before the move.

[0180] Based on this, in one possible implementation, if the editing area is moved to a set restricted range on the area management page, the movement of the editing area is stopped.

[0181] Among them, setting a restriction range is used to instruct the editing area to stop moving along the moving direction of multiple action points. It can be the boundary of all set area ranges. For example, the set area range is 6*6 grids, and the restriction range is set to 6*6 grids. Then, when the editing area moves to the boundary of the above-mentioned 6*6 grids on the area management page, that is, when the editing area continues to move and the 6*6 grid position cannot be displayed, it stops moving; it can also be the boundary of part of the set area range. For example, the set area range is 6*6 grids, and the restriction range is set to 4*4 grids. Then, when the editing area moves to the boundary of any 4*4 grid in the 6*6 grids on the area management page, that is, when the editing area continues to move and the 4*4 grid position cannot be displayed, it stops moving.

[0182] For example, Figure 9a shows a schematic diagram of an editing area moving in an area management page. As shown in Figure 9b, an editing area 9b2 is displayed in the area management page 9b1, and a set area range 9b3 - 4*4 grids - is displayed in the editing area 9b2; if the set limit range is 4*4 grids, then if the editing area 9b2 moves to the left in the area management page, it will exceed the set limit range, and therefore, the editing area 9b2 cannot move to the left; if the set limit range is 2*2 grids, then if the editing area 9b2 moves to the left in the area management page and reaches the set limit range 9b4, moving further to the left will exceed the set limit range 9b4, and therefore, the editing area 9b2 stops moving at the set limit range 9b4.

[0183] In combination with the above embodiments, on the one hand, by enlarging, reducing, and moving the displayed area range, users can more smoothly set the desired area range for the functional area; on the other hand, users can use various gesture operations to add or remove any area range for the functional area individually or in batches, and can more efficiently and freely set the area range for the functional area; thus, the functional area generated for the smart device is more accurate and practical, and the functional area is used to control the device to enhance the user's smart home experience.

[0184] FIG10 is a schematic diagram showing a specific implementation of a region setting method in an application scenario. This application scenario is applicable to the user terminal 110 in the implementation environment of FIG1 .

[0185] Through step 801, the area management page is displayed.

[0186] Through step 803, a monitoring area is added for the smart device in the area management page.

[0187] For example, the smart device may be a human body sensor.

[0188] Through step 805, using the third gesture operation, the editing area in the area management page is used to select or delete the area range of multiple grids for the monitoring area.

[0189] Through step 807, a second gesture operation is used to slide in the editing area of ​​the area management page to add or delete the area range of multiple grids for the monitoring area.

[0190] Through step 809, using the first gesture operation, the editing area in the area management page is used to add or delete the area range of a single grid for the monitoring area.

[0191] Through step 811, the area range of the monitoring area is determined, and the monitoring area is displayed on the area management page.

[0192] As shown in FIG10 a , FIG10 a shows the area range set for the monitoring area in this application scenario.

[0193] Through step 813, the automation configuration page is displayed, and the automation configuration is completed with "someone is detected in the monitoring area" as the trigger condition and "push alarm notification" as the execution action.

[0194] In this application scenario, on the one hand, the desired area range can be drawn through various gesture operations, making the overall operation efficient and smooth. At the same time, special-shaped and complex area ranges can be quickly drawn to meet different needs, achieving high scalability, high efficiency and high personalization in setting area ranges; on the other hand, different functional areas are set for the target space, so that smart devices can perform different processing for different functional areas, making device control more precise.

[0195] The following are embodiments of the apparatus disclosed herein, which can be used to execute the region setting method involved in the present disclosure. For details not disclosed in the apparatus embodiments of the present disclosure, please refer to the method embodiments of the region setting method involved in the present disclosure.

[0196] Please refer to FIG. 11 . An embodiment of the present disclosure provides a region setting device 900 , including but not limited to: a region management module 910 , a gesture operation module 930 and a region generation module 950 .

[0197] The area management module 910 is used to display an area management page, which includes an editing area. The editable range of the editing area corresponds to the spatial range of the target space.

[0198] The gesture operation module 930 is used to display the area management page, which includes an editing area. The editable range of the editing area corresponds to the spatial range of the target space.

[0199] The area generation module 950 is used to display the functional area in the area management page according to the area range, so as to control the functional area and / or the smart device in the target space corresponding to the functional area.

[0200] In an exemplary embodiment, the gesture operation module 930 is also used to, if a gesture operation directed to the editing area is detected, determine the point of action of the gesture operation in the editing area, and determine whether the point of action has moved in the editing area; if not, determine that the gesture operation is a first gesture operation; and determine the area range based on the point of action of the first gesture operation in the editing area.

[0201] In an exemplary embodiment, the gesture operation module 930 is also used to determine the direction of movement of the action point in the editing area if the action point moves in the editing area; if the movement direction is the first direction, determine that the gesture operation is a second gesture operation; and determine the area range based on the action point of the second gesture operation in the editing area.

[0202] In an exemplary embodiment, the gesture operation module 930 is further configured to: if the moving direction is the second direction, determine that the gesture operation is a third gesture operation; and determine the area range based on the action point of the third gesture operation in the editing area.

[0203] In an exemplary embodiment, the gesture operation module 930 is also used to, if the editing area where the action point is located has been selected, remove the area range where the action point is located from the area range determined by the gesture operation; if the editing area where the action point is located has not been selected, add the area range where the action point is located to the area range determined by the gesture operation.

[0204] In an exemplary embodiment, the gesture operation module 930 is also used to, if a gesture operation directed to the editing area is detected, determine whether multiple action points have moved relative to each other in the editing area when the number of action points of the gesture operation in the editing area is greater than a set threshold; if so, determine that the gesture operation is a fourth gesture operation; and determine the area range based on the action points of the fourth gesture operation in the editing area.

[0205] In an exemplary embodiment, the gesture operation module 930 is also used to determine the moving direction and moving distance of the relative movement of multiple action points in the editing area; if the moving direction of the relative movement indicates that the multiple action points move relatively inward in the editing area, then based on the reduction ratio corresponding to the moving distance, the area range determined by the fourth gesture operation is reduced; if the moving direction of the relative movement indicates that the multiple action points move relatively outward in the editing area, then based on the magnification ratio corresponding to the moving distance, the area range determined by the fourth gesture operation is enlarged.

[0206] In an exemplary embodiment, the gesture operation module 930 is also used to, if a gesture operation directed to the editing area is detected, determine whether multiple action points move in the same direction in the editing area when the number of action points of the gesture operation in the editing area is greater than a set threshold; if so, determine that the specified gesture is the fifth gesture operation; and in response to the fifth gesture operation, control the editing area to move along the moving direction of multiple action points in the area management page.

[0207] In an exemplary embodiment, the gesture operation module 930 is further configured to stop the movement of the editing area if the editing area is moved to a set restricted range of the area management page.

[0208] In an exemplary embodiment, the area setting device 900 also includes a device page module for displaying a device page corresponding to the smart device, where the device page displays an area management entrance; in response to an area management operation triggered by the area management entrance displayed on the device page, the area management page is entered from the device page.

[0209] In an exemplary embodiment, the area setting device 900 also includes a first setting module for responding to an area setting operation for a new area entrance in the area management page; or responding to an area setting operation triggered within a display range where a functional area is not displayed on the area management page; controlling the area management page to enter an editing state of displaying an editing area from a display state of displaying a functional area, so as to detect a gesture operation triggered in the editing area and confirm the area range for the newly created functional area.

[0210] In an exemplary embodiment, the area setting device 900 also includes a second setting module for controlling the area management page from a display state of displaying the functional area to an editing state of displaying the editing area in response to an area setting operation for the functional area, so as to detect a gesture operation triggered in the editing area and modify the area range of the functional area.

[0211] In an exemplary embodiment, the area setting device 900 further includes an area editing module for displaying an area editing entry in the area management page in response to an area editing operation triggered on the area management page, the area editing entry including at least one of an area attribute entry, an area type entry, and a monitoring sensitivity entry; if an attribute editing operation is detected for the area attribute entry, the area attributes of the functional area are updated according to the changed area attributes; if a type editing operation is detected for the area type entry, the functional area is displayed in the area setting page according to the configured area type; if a sensitivity editing operation is detected for the monitoring sensitivity entry, the area monitoring sensitivity of the functional area is adjusted; the area detection sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.

[0212] In an exemplary embodiment, the area setting device 900 also includes an automation configuration module for displaying an automation configuration page for the functional area; generating an automation configuration plan for the functional area in response to the automation configuration operation for the functional area on the automation configuration page; the automation configuration plan is used to control the functional area and / or the smart device of the target space corresponding to the functional area to perform corresponding actions.

[0213] It should be noted that the area setting device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when performing device control. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the area setting device will be divided into different functional modules to complete all or part of the functions described above.

[0214] In addition, the embodiments of the area setting device and the area setting method provided in the above embodiments belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments and will not be repeated here.

[0215] Please refer to Fig. 12, which is a schematic diagram showing the structure of a terminal according to an exemplary embodiment. The terminal is applicable to the user terminal 110 in the implementation environment shown in Fig. 1.

[0216] It should be noted that the terminal is only an example adapted for the present disclosure and should not be considered to provide any limitation on the scope of use of the present disclosure. The terminal should not be interpreted as needing to rely on or necessarily having one or more components in the exemplary terminal 1100 shown in Figure 12.

[0217] As shown in FIG12 , terminal 1100 includes a memory 101, a memory controller 103, one or more (only one is shown in FIG12 ) processors 105, a peripheral interface 107, a radio frequency module 109, a positioning module 111, a camera module 113, an audio module 115, a touch screen 117, and a key module 119. These components communicate with each other via one or more communication buses / signal lines 121.

[0218] Among them, the memory 101 can be used to store program instructions or codes, such as the program instructions or codes corresponding to the area setting method and device in the exemplary embodiment of the present disclosure. The processor 105 executes various functions and data processing by running the program instructions or codes stored in the memory 101, thereby completing the area setting method.

[0219] The memory 101 is a carrier for resource storage and can be a random access memory, such as a high-speed random access memory, a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other solid-state memory. The storage method can be temporary storage or permanent storage.

[0220] The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-parallel conversion interface, at least one input / output interface, and at least one USB interface, etc., for coupling various external input / output devices to the memory 101 and the processor 105 to achieve communication with various external input / output devices.

[0221] The RF module 109 is used to transmit and receive electromagnetic waves, converting electromagnetic waves into electrical signals, thereby communicating with other devices via a communication network. The communication network includes a cellular telephone network, a wireless local area network, or a metropolitan area network. The above communication networks can use various communication standards, protocols, and technologies.

[0222] The positioning module 111 is used to obtain the current geographical location of the terminal 1100. Examples of the positioning module 111 include, but are not limited to, a global positioning system (GPS) and positioning technologies based on a wireless local area network or a mobile communication network.

[0223] The camera module 113 is a camera that is used to take pictures or videos. The pictures or videos taken can be stored in the memory 101 and can also be sent to the host computer through the radio frequency module 109.

[0224] The audio module 115 provides an audio interface to the user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. The audio data is interacted with other devices through the audio interface. The audio data can be stored in the memory 101 and can also be sent through the radio frequency module 109.

[0225] Touch screen 117 provides an input / output interface between terminal 1100 and the user. Specifically, the user can use touch screen 117 to perform input operations, such as clicks, touches, and swipes, to cause terminal 1100 to respond to the input operations. Terminal 1100 then displays output content, such as text, images, or videos, in any form or combination thereof, to the user via touch screen 117.

[0226] The key module 119 includes at least one key to provide an interface for the user to input to the terminal 1100. The user can press different keys to make the terminal 1100 perform different functions. For example, the sound adjustment key allows the user to adjust the volume of the sound played by the terminal 1100.

[0227] It is understood that the structure shown in Figure 12 is merely illustrative, and terminal 1100 may include more or fewer components than shown in Figure 12, or have components different from those shown in Figure 12. Each component shown in Figure 12 may be implemented using hardware, software, or a combination thereof.

[0228] Referring to FIG. 13 , an embodiment of the present disclosure provides an electronic device 4000 , which may include a server and the like.

[0229] In FIG. 13 , the electronic device 4000 includes at least one processor 4001 and at least one memory 4003 .

[0230] Data exchange between the processor 4001 and the memory 4003 can be achieved through at least one communication bus 4002. The communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in FIG13 , but this does not mean that there is only one bus or one type of bus.

[0231] Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data exchange between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the number of transceivers 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present disclosure.

[0232] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0233] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program instructions or codes in the form of instructions or data structures and can be accessed by the electronic device 400, but is not limited to these.

[0234] Computer-readable instructions are stored in the memory 4003 , and the processor 4001 can read the computer-readable instructions stored in the memory 4003 through the communication bus 4002 .

[0235] The computer-readable instructions are executed by one or more processors 4001 to implement the region setting method in the above embodiments.

[0236] In addition, an embodiment of the present disclosure provides a storage medium having program instructions or codes stored thereon, which are loaded and executed by a processor to implement the region setting method as described above.

[0237] In an embodiment of the present disclosure, a computer program product is provided. The computer program product includes program instructions or codes. The program instructions or codes are stored in a storage medium. A processor of an electronic device reads the program instructions or codes from the storage medium, loads and executes the program instructions or codes, so that the electronic device implements the area setting method described above.

[0238] Compared with related technologies, this solution enables users to set the desired area range for functional areas more smoothly by enlarging, reducing, and moving the displayed area range; and users can use various gesture operations to add or remove any area range for functional areas individually or in batches, and can set the area range for functional areas more efficiently, freely, and accurately; on the one hand, the functional areas generated for smart devices are more accurate and practical, and on the other hand, the use of the functional areas for automatic configuration and more accurate area range can make device control more in line with user expectations, thereby improving user experience.

[0239] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0240] The above description is only part of the embodiments of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications should also be regarded as within the scope of protection of the present disclosure.

Claims

1. A method for setting a region, executed by an electronic device, comprising: Displaying an area management page, wherein the area management page includes an editing area, and an editable range of the editing area corresponds to a spatial range of the target space; If a gesture operation on the editing area is detected, determining the area range determined by the gesture operation; The functional area is displayed in the area management page according to the area range, so as to control the functional area and / or the smart device in the target space corresponding to the functional area.

2. The method of claim 1, wherein: If a gesture operation directed to the editing area is detected, determining the area range determined by the gesture operation includes: If a gesture operation on the editing area is detected, determining an action point of the gesture operation in the editing area, and determining whether the action point moves in the editing area; If not, determining that the gesture operation is the first gesture operation; The area range is determined based on an action point of the first gesture operation in the editing area.

3. The method of claim 2, wherein: If a gesture operation directed to the editing area is detected, determining the area range determined by the gesture operation further includes: If the action point moves in the editing area, determining a moving direction of the action point in the editing area; If the moving direction is the first direction, determining that the gesture operation is a second gesture operation; The area range is determined based on the action point of the second gesture operation in the editing area.

4. The method of claim 3, wherein: If a gesture operation directed to the editing area is detected, determining the area range determined by the gesture operation further includes: If the moving direction is the second direction, determining that the gesture operation is a third gesture operation; The area range is determined based on the action point of the third gesture operation in the editing area.

5. The method according to any one of claims 2 to 4, wherein: The method further comprises: If the editing area where the action point is located has been selected, the area where the action point is located is removed from the area determined by the gesture operation; If the editing area where the action point is located is not selected, the area range where the action point is located is added to the area range determined by the gesture operation.

6. The method of claim 1, wherein: If a gesture operation directed to the editing area is detected, determining the area range determined by the gesture operation includes: If a gesture operation on the editing area is detected, determining whether a plurality of action points of the gesture operation on the editing area have moved relatively in the editing area if the number of action points of the gesture operation on the editing area is greater than a set threshold; If yes, determining that the gesture operation is the fourth gesture operation; The area range is determined based on an action point of the fourth gesture operation in the editing area.

7. The method of claim 6, wherein: The determining the area range based on the point of action of the fourth gesture operation on the editing area includes: Determining the moving directions and moving distances of the plurality of action points moving relative to each other in the editing area; If the moving direction of the relative movement indicates that the plurality of action points move relatively inward in the editing area, then based on the reduction ratio corresponding to the moving distance, the area range determined by the fourth gesture operation is reduced; If the moving direction of the relative movement indicates that the plurality of action points move relatively outward in the editing area, the area range determined by the fourth gesture operation is enlarged based on the enlargement ratio corresponding to the moving distance.

8. The method of claim 1, wherein: The method further comprises: If a gesture operation directed to the editing area is detected, determining whether a plurality of action points of the gesture operation in the editing area move along the same direction in the editing area if the number of action points of the gesture operation in the editing area is greater than a set threshold; If yes, determining that the specified gesture is the fifth gesture operation; In response to the fifth gesture operation, the editing area is controlled to move along the moving direction of the plurality of action points in the area management page.

9. The method of claim 8, wherein: In response to the fifth gesture operation, controlling the editing area to move along the moving directions of the plurality of action points in the area management page includes: If the editing area is moved to a setting limit range of the area management page, the movement of the editing area is stopped.

10. The method of claim 1, wherein: The display area management page includes: Displaying a device page corresponding to the smart device, wherein the device page displays a zone management entrance; In response to a region management operation triggered by a region management entry displayed on the device page, the region management page is entered from the device page.

11. The method of claim 1, wherein: After displaying the functional area in the area management page according to the area range, the method further includes: In response to a region setting operation for a region new entry in the region management page.

12. The method of claim 1, wherein: After displaying the functional area in the area management page according to the area range, the method further includes: In response to an area setting operation triggered within the display range of the functional area not being displayed on the area management page; controlling the area management page to enter an editing state of displaying the editing area from a display state of displaying the functional area, so as to detect the gesture operation triggered in the editing area and confirm the area range for the newly created functional area.

13. The method of claim 1, wherein: After displaying the functional area in the area management page according to the area range, the method further includes: In response to the area setting operation for the functional area, the area management page is controlled to enter an editing state displaying the editing area from a display state displaying the functional area, so as to detect the gesture operation triggered in the editing area and modify the area range of the functional area.

14. The method of claim 1, wherein: The method further comprises: In response to a region editing operation triggered on the region management page, displaying a region editing entry on the region management page, the region editing entry including at least one of a region attribute entry, a region type entry, and a monitoring sensitivity entry; If an attribute editing operation for the regional attribute entry is detected, updating the regional attributes of the functional area according to the changed regional attributes; If a type editing operation for the area type entry is detected, displaying the functional area in the area setting page according to the configured area type; If a sensitivity editing operation for the monitoring sensitivity entry is detected, the regional monitoring sensitivity of the functional area is adjusted; the regional detection sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.

15. The method of claim 1, wherein: The method further comprises: If a color editing operation for a color entry is detected, the functional area is displayed in the area management page according to the edited color; If a name editing operation on a name entry is detected, the functional area is displayed in the area management page according to the edited name.

16. The method of claim 1, wherein: After displaying the functional area in the area management page according to the area range to control the functional area and / or the smart device in the target space corresponding to the functional area, the method further includes: Displaying an automation configuration page for the functional area; In response to the automated configuration operation for the functional area on the automated configuration page, an automated configuration plan for the functional area is generated; the automated configuration plan is used to control the functional area and / or the smart device of the target space corresponding to the functional area to perform corresponding actions.

17. The method of claim 1, wherein: Displaying a region management page, adding a monitoring area for the electronic device in the region management page; Determine the area range of the monitoring area, and display the monitoring area in the area management page.

18. A device for setting a region, wherein: include: An area management module, used to display an area management page, wherein the area management page includes an editing area, and the editable range of the editing area corresponds to the spatial range of the target space; A gesture operation module, used for displaying an area management page, wherein the area management page includes an editing area, and an editable range of the editing area corresponds to a spatial range of a target space; The area generation module is used to display the functional area in the area management page according to the area range, so as to control the smart device in the target space corresponding to the functional area.

19. An electronic device, wherein: include: at least one processor and at least one memory, wherein: The memory has computer-readable instructions stored thereon; The computer-readable instructions are executed by one or more of the processors so that the electronic device implements the area setting method according to any one of claims 1 to 18.

20. A computer-readable storage medium having computer-readable instructions stored thereon, wherein: The computer-readable instructions are executed by one or more processors to implement the area setting method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Intelligent household control system based on intelligent carpets

    CN106125564A

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

    CN112859636A

  • Sweeping robot, control method and device thereof, equipment and storage medium

    CN113749562A

  • Household equipment control method and device, electronic equipment and storage medium

    CN115189978A

  • Region configuration method and device, equipment and storage medium

    CN116501202A