Space template recommendation method and apparatus, electronic device, and storage medium
By displaying smart space templates recommended based on geographical location on the user terminal, the configuration process of smart devices is simplified, the problem of configuration complexity caused by the increase in the number of smart devices is solved, and the user experience and practicality of the templates are improved.
Patent Information
- Application Number
- PCT/CN2024/080414
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-06
- Filing Date
- 2024-03-06
- Publication Date
- 2024-09-12
AI Technical Summary
With the increase in smart devices, the complexity and difficulty for users to configure device control services for smart devices in different spaces has increased significantly, affecting user experience.
Provide a space template recommendation method and device that displays intelligent space templates recommended based on the current geographical location through a user terminal, including matching functional areas and equipment control services, allows users to edit and apply these templates, and simplifies the configuration process of equipment control services.
It reduces the complexity for users to configure device control services for smart devices in different spaces, improves user experience, and makes the edited smart space template more practical and suitable for user needs.
Smart Images

Figure CN2024080414_12092024_PF_FP_ABST
Abstract
Description
Spatial template recommendation method, device, electronic device and storage medium
[0001] This disclosure claims priority to Chinese patent application CN202310205584.5, filed on March 6, 2023, entitled “Spatial template recommendation method, device, electronic device and storage medium,” and all of its contents are 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, device, electronic device, and storage medium for recommending a spatial template. Background Art
[0003] With the development of the Internet of Things (IoT), smart devices are increasingly entering people's homes, bringing great convenience to people's lives. A variety of smart devices are connected to the Internet to form a smart home network, which people can control through user terminals.
[0004] Currently, the main approach is to configure corresponding device control services for smart devices in different spaces in the client running on the user terminal, allowing users to control smart devices in different spaces at home through the user terminal. Spaces can include bedrooms and study rooms in smart home scenarios, as well as meeting rooms and laboratories in office scenarios.
[0005] However, as spaces become more complex and more smart devices are used, it will become increasingly cumbersome for users to configure device control services for smart devices in different spaces, and the difficulty will increase dramatically, greatly reducing the user experience.
[0006] From the above, we can see that how to reduce the complexity of users configuring device control services for smart devices in different spaces needs to be solved urgently.
[0007] Summary of the Invention
[0008] The present disclosure provides a spatial template recommendation method, device, electronic device, and storage medium.
[0009] According to one aspect of the present disclosure, a space template recommendation method is executed by a user terminal, and the method includes: displaying at least one smart space template recommended based on the current geographical location on a template recommendation page; the smart recommendation template includes functional areas under the template space that matches the geographical location of the target space, devices that can be deployed in the target space, and device control services provided for the devices that can be deployed in the target space; in response to a selection operation on the smart space template, displaying a template editing page corresponding to the selected smart space template; the template editing page is used to edit each functional area, device, and device control service in the selected smart space template; in response to a storage operation on the edited smart space template, applying the edited smart space template to the target space.
[0010] According to one aspect of the present disclosure, a space template recommendation device includes: a recommendation module for displaying at least one smart space template recommended based on the current geographic location in a template recommendation page; the smart recommendation template includes functional areas under the template space that matches the geographic location of the target space, devices that can be deployed in the target space, and device control services provided for the devices that can be deployed in the target space; an editing module for displaying a template editing page corresponding to the selected smart space template in response to a selection operation on the smart space template; the template editing page is used to edit each functional area, device, and device control service in the selected smart space template; and a storage module for applying the edited smart space template to the target space in response to a storage operation on the edited smart space template.
[0011] 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; when the computer-readable instructions are executed by one or more of the processors, the spatial template recommendation method described above is implemented.
[0012] According to one aspect of the present disclosure, a computer-readable storage medium stores computer-readable instructions, which implement the spatial template recommendation method described above when executed by one or more processors.
[0013] According to one aspect of the present disclosure, a computer program product includes computer-readable instructions, which implement the spatial template recommendation method described above when executed by a processor.
[0014] The technical solution provided by the present disclosure has the following beneficial effects:
[0015] In the above technical solution, at least one smart space template recommended based on the current geographic location is displayed on the template recommendation page, so that the user can select the smart space template displayed on the template recommendation page and edit the functional areas, devices, and device control services in the selected smart space template, so that the edited smart space template is applied to the target space. It can be seen that the smart space template recommended based on the current geographic location can not only recommend functional areas under the template space that match the geographic location of the target space to the user, but also recommend devices that can be deployed in the functional areas and device control services provided for the devices to the user, avoiding the user from manually configuring each smart device in different spaces one by one, effectively reducing the complexity of the user configuring device control services for smart devices in different spaces, and improving the user experience; in addition, the user is provided with an editing function for the recommended smart space template, and the user can also customize the functional areas, devices, and device control services in the smart space template according to his or her actual needs, making the edited smart space template more practical and more in line with user needs, thereby further helping to improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] 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 application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.
[0017] FIG1 is a schematic diagram of an implementation environment according to an embodiment of the present disclosure;
[0018] FIG2 is a flow chart showing a method for recommending a spatial template according to an exemplary embodiment;
[0019] FIG3 is a flowchart of a spatial template recommendation method according to an embodiment;
[0020] FIG4 a is a schematic diagram of a template recommendation page in one embodiment;
[0021] FIG4 b is a schematic diagram of a selection operation involved in an embodiment;
[0022] FIG5 is a flowchart of a spatial template recommendation method according to another embodiment;
[0023] FIG5 a is a schematic diagram of an editing operation involved in an embodiment;
[0024] FIG6 is a flow chart of a spatial template recommendation method according to another embodiment;
[0025] FIG6 a is a schematic diagram of an editing operation involved in an embodiment;
[0026] FIG7 is a flowchart of a method for recommending a spatial template according to another embodiment;
[0027] FIG8 is a flowchart of a spatial template recommendation method according to another embodiment;
[0028] FIG9 is a flowchart of a method for recommending a spatial template according to an embodiment;
[0029] FIG10 is a schematic diagram of a specific implementation of a spatial template recommendation method in an application scenario embodiment;
[0030] FIG11 is a structural block diagram of a spatial template recommendation device according to an exemplary embodiment;
[0031] FIG12 is a hardware structure diagram of a terminal according to an exemplary embodiment;
[0032] Fig. 13 is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0033] 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.
[0034] As mentioned earlier, as the number of user spaces and the devices therein increases, it becomes increasingly cumbersome and difficult for users to configure device control services for smart devices in different spaces, thus affecting the user's smart home experience.
[0035] To this end, this application proposes a solution based on smart space templates to assist users in configuring device control services for smart devices in different spaces.
[0036] Regarding smart space templates, on the one hand, the types of smart space templates are limited, making it difficult to meet the actual needs of different users. For example, the template space in the smart space template cannot fit different spaces. On the other hand, even if the smart space template is applied, if the devices and device control services provided by the smart space template may not match the smart devices and their device control services in different spaces, users need to reconfigure them, resulting in a high complexity for users to configure device control services for smart devices in different spaces.
[0037] As can be seen from the above, the related art still has the defect of high complexity in which users configure device control services for smart devices in different spaces.
[0038] To this end, the spatial template recommendation provided by the present disclosure can effectively simplify the steps for users to configure device control services for smart devices in different spaces, thereby effectively reducing the difficulty. Accordingly, the spatial template recommendation method is suitable for a spatial template recommendation device, which can be deployed on an electronic device. For example, the electronic device can be a computer device deployed on a von Neumann architecture. The computer device can be a desktop computer, a laptop computer, a server, etc. The electronic device can also be a portable mobile terminal. The portable mobile terminal can be a smart phone, a tablet computer, etc.
[0039] 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.
[0040] FIG1 is a schematic diagram of an implementation environment involved in a spatial template recommendation method, which includes a user terminal 110 , a smart device 130 , a gateway 150 , a server 170 , and a router 190 .
[0041] Specifically, user terminal 110, which can also be considered a client, user end, or terminal, can be associated with and deployed to the client, which can also be understood as installation. User terminal 110 can be a smartphone, tablet computer, laptop computer, desktop computer, smart control panel, or other electronic device with display and control functions, and is not limited here.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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 backend services to a large number of user terminals 110. For example, the backend service includes a space template recommendation service.
[0046] In an application scenario, a user can view a template recommendation page through the user terminal 110, in which recommended smart space templates based on the current geographic location are displayed. The user selects a smart space template from the displayed smart space templates. For the user terminal 110, if the user's selection operation is detected, the template editing page corresponding to the selected smart space template is displayed in response to the selection operation. At this time, the user can edit the functional areas, devices, and device control services in the smart space template on the template editing page, so that the user terminal 110 responds to the storage operation of the edited smart space template and applies the edited smart space template to the target space.
[0047] As a result, users can not only be recommended smart space templates that match their current geographic location, but can also edit the functional areas, devices, and device control services in the smart space templates, effectively reducing the complexity of users configuring device control services for smart devices in different spaces in the home. It also makes the edited smart space templates more practical and in line with user needs, thereby helping to enhance the user's smart home experience.
[0048] Please refer to FIG. 2 . An embodiment of the present disclosure provides a spatial template recommendation method. The method is applicable to an electronic device, which may specifically be the user terminal 110 in the implementation environment shown in FIG. 1 .
[0049] 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.
[0050] As shown in FIG2 , the method may include the following steps:
[0051] Step 310: Display at least one smart space template recommended based on the current geographical location on the template recommendation page.
[0052] The smart space template is a template provided for configuring device control services for smart devices in the target space. The smart space template may include, but is not limited to, functional areas and devices under the template space, as well as corresponding device control services provided for the devices.
[0053] The target space is the space where the user wishes to configure the device control service. For example, if the user wishes to configure the device control service for the entire home, the home is considered the target space. Alternatively, if the user wishes to configure the device control service for the bedroom, the bedroom is considered the target space. Functional areas indicate the functions of areas within the target space. For example, a "sofa area" within the target space indicates that this area is for rest.
[0054] In one possible implementation, the electronic device recommends a smart space template based on the current geographical location, where the current location can be the current location of the terminal or a location selected by the user.
[0055] Specifically, as shown in FIG3 , recommending at least one configuration data based on the current geographic location, and displaying at least one smart space template recommended based on the current geographic location on a template recommendation page based on the configuration data, may include the following steps:
[0056] Step 311: Obtain the geographical location of the target space.
[0057] Regarding obtaining the geographic location of the target space, it can be obtained based on the global positioning system, IP address, Wi-Fi or mobile network signal of the electronic devices in the smart home network, or it can be obtained by the user manually entering the location information, which is not limited here.
[0058] Step 313: Request recommendation based on the template space at the acquired geographic location to obtain recommended spatial data.
[0059] The spatial data indicates the functional areas within the template space within the smart space template that match the geographic location of the target space. This means that the spatial data can be used to display the functional areas within the template space within the smart space template on the template recommendation page. It should be noted that template spaces refer to the different spaces within a home where device control services have been configured for smart devices. These template spaces are stored on the server to facilitate the server's recommendation of smart space templates.
[0060] It should be understood that the greater the probability that the target space is similar to the template space, the greater the geographical location. For example, the target space can be the living room of user A's home, and the template space can be the living room of user B's home. If users A and B have the same geographical location, it means that users A and B are located in the same community. In this case, the probability that living rooms in different homes in the same community have the same spatial layout is greater. Based on this, the user terminal can recommend corresponding spatial data to the user based on the current geographical location. Specifically, the user terminal sends a recommendation request to the server. This recommendation request carries the geographical location of the target space. After obtaining the geographical location from the recommendation request, the server can search for template spaces with similar geographical locations from the stored template spaces as recommended spatial data.
[0061] Of course, the target space is not limited to a small, independent space within a larger space, such as the living room in the aforementioned house. It can also refer to the larger space itself, such as the entire house, without any limitation here. For example, houses in the same geographical location, such as in the same residential complex, are more likely to have the same floor plan layout.
[0062] Step 315 , obtaining recommended configuration data based on the recommended spatial data, the device data associated with the recommended spatial data, and the scene linkage data.
[0063] Configuration data can include space data, device data, and scenario linkage data configured for the template space. Device data indicates devices that can be deployed in the target space; that is, the device data can be used to display the devices that can be deployed in the target space on the template recommendation page. Scenario linkage data indicates the device control services provided for devices that can be deployed in the target space. In one possible implementation, configuration data can be used to display the functional areas, devices, and corresponding device control services under the template space in the smart space template on the template recommendation page.
[0064] After obtaining the recommended spatial data to determine the functional area under the template space, the user terminal also determines the devices that can be deployed in the target space under the template space, as well as the device control services that can be provided for the device. Therefore, the spatial data, device data, and scene linkage data can be recommended to the user as configuration data at the same time.
[0065] Device control services can include device services, scenario services, and automation services. Device services allow users to use their terminals to view the status of each device and control the device to perform actions. Scenario services allow users to configure multiple scenarios, such as home and reading, and control the devices in those scenarios to perform actions when triggered. Automation services allow users to configure automation instructions, which control the device to perform actions when the triggering conditions for the automation instructions are met. It should be noted that the above solutions are merely illustrative and do not constitute limitations on this disclosure.
[0066] The template recommendation page is a page for displaying smart space templates. For example, Figure 4a shows a schematic diagram of a template recommendation page. As shown in Figure 4a, the template recommendation page 401 includes a smart space template display area 402 and an editing area 403 corresponding to the currently selected smart space template; wherein, the smart space template display area 403 displays the current geographical location 404, namely "Nanshan District xx Community", which is obtained based on the current real-time location of the user terminal, or it can be a location manually selected by the user, which is not limited here; the smart space template display area 403 also displays three recommended smart space template thumbnails, namely, the "Bathroom" smart space template thumbnail 405, the "Living Room" smart space template thumbnail 406, and the "Bedroom" smart space template thumbnail 407.
[0067] Recommendations for smart space templates can be made not only based on the current geographic location, but also based on the functional areas under the target space, based on the devices deployed in each functional area under the target space, and based on the user's device usage habits, without limitation here.
[0068] Step 330 : In response to the selection operation on the smart space template, a template editing page corresponding to the selected smart space template is displayed.
[0069] The template editing page is used to edit the functional areas, devices, and device control services in the selected smart space template.
[0070] The selection operation is used to jump to the template editing page corresponding to the selected smart space template for editing. If the recommended smart space template meets the user's expectations, the control entry corresponding to the selection operation of the smart space template can be triggered to enter the template editing page corresponding to the smart space template.
[0071] For example, referring back to FIG4a , as shown in FIG4a , three recommended smart space template thumbnails and an application entry 408 are also displayed in the smart space template display area 403. Clicking the application entry selects the currently selected smart space template as the smart space template for the target space. For example, if the “living room” smart space template thumbnail 406 is selected and the application entry 408 is clicked, the electronic device detects a selection operation at the application entry. In response to the selection operation, the “living room” smart space template is selected as the smart space template for the target space. As shown in FIG4b , a template editing page 4b1 corresponding to the “living room” smart space template is displayed. The template editing page 4b1 includes an area editing area 4b2 and an editing entry area 4b3. The editing entry area 4b3 includes an editing entry 4b4 for configuration data, a color entry 4b5, a function label entry 4b6, and a sensitivity entry 4b7. Clicking the application entry is considered a selection operation.
[0072] It's worth noting that the specific actions triggered at the control entry can vary depending on the input components (mouse, touchscreen, keyboard) used in the electronic device. For example, if the electronic device is a smartphone with a touchscreen, the actions could be gestures like clicking and moving. If the electronic device is a desktop computer with a mouse, the actions could be mechanical actions like single-clicking, double-clicking, and dragging. These are not specific here.
[0073] It is further explained that selecting a smart space template can automatically make adaptive adjustments based on the devices and / or scenarios under the user's smart home network. For example, the configuration data includes device data and device linkage data about the projector. In fact, there is no projector configured under the user's smart network. Then, when selecting the smart space template, the above configuration data can be ignored; the user can also make adaptive adjustments to the configuration data in the smart space template according to actual conditions, which is not limited here.
[0074] In one possible implementation, as shown in FIG5 , editing configuration data includes the following steps:
[0075] Step 810: Display editable configuration data on the template editing page.
[0076] As mentioned above, configuration data includes space data, device data, and scene linkage data. Then, users can edit the above three types of configuration data according to their needs, so that the edited configuration data meets user needs.
[0077] Step 830: If an editing operation on editable configuration data is detected, the smart space template in the template editing page is updated according to the edited configuration data.
[0078] The edit operation is used to edit the configuration data available for editing on the template edit page. To edit the editable configuration data, a control entry for the edit operation is provided on the template edit page. If a user wishes to edit the configuration data, they can trigger the edit operation through this control entry, thereby editing the editable configuration data.
[0079] For example, Figure 5a shows a schematic diagram of editing configuration data. As shown in Figure 5a, a control entry 5a2 for editing operations is displayed in the template editing page 5a1. Click the control entry 5a2. For the electronic device, an editing operation for the editable configuration data is detected at the control entry 5a2. In response to the editing operation, the page jumps to the configuration data page 5a3. The configuration data page 5a3 displays an editing entry 5a4 for device data, an editing entry 5a4 for scene linkage data, and another editing entry 5a6 for scene linkage data. Click the editing entry 5a6 to display a list of automation instructions, as shown in 5a7 in Figure 5a, to turn on the automation instruction of "turn off spotlight T2 (15 degrees) when no one is around"; wherein, the clicking operation is regarded as an editing operation.
[0080] Optionally, when a user connects any device to the Internet of Things through a user terminal, the smart space template can search for data matching the device based on the configuration data and display the corresponding device control service to the user. For example, if the smart space template includes an automation instruction of "turn off the lights when no one is around", if the user connects spotlight T2 to the Internet of Things, the server detects spotlight T2 and matches it with the automation instruction. At this time, as shown in Figure 5a, the automation instruction of "turn off spotlight T2 (15 degrees) when no one is around" is displayed in the configuration data page 5a3.
[0081] It should be noted that the smart space template may not completely conform to the actual situation of the user's home. For example, the "living room" smart space template shows a "dining table" functional area. In fact, the "dining table" functional area in the user's home is actually the "coffee table" functional area. Therefore, this functional area needs to be adjusted to make the smart space template conform to the user's actual situation.
[0082] In one possible implementation, as shown in FIG6 , editing a smart space template may include the following steps:
[0083] Step 710 : In response to the region editing operation on the functional region displayed on the template recommendation page, a region editing entry corresponding to the functional region is displayed on the template recommendation page.
[0084] 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 smart space template. If the user wishes to edit the functional region, the control entry can be triggered to edit the functional region.
[0085] Regarding the area editing entry, which is used to provide specific editing items, the area editing entry may include at least one of a color entry, a function label entry, and a sensitivity entry; wherein the color entry corresponds to a color editing operation, the function label entry corresponds to a label editing operation, and the sensitivity entry corresponds to a sensitivity editing operation.
[0086] For example, Figure 6a shows a schematic diagram of an area editing operation. As shown in Figure 6a, the template editing page 6a1 displays an area editing area 6a2 and an editing entry area 6a3, wherein the area editing area 6b2 displays the functional areas in the smart space template, and the editing entry area 6a3 displays the editing entry corresponding to each functional area; for example, click the "TV" functional area 6a4 in the area editing area 6b2, the editing entry area 6a3 displays the color entry 6a5, function label entry 6a6 and sensitivity entry 6a7 of the "TV area" functional area, and also displays a name entry 6a8.
[0087] Step 730: If a color editing operation on the color entry is detected, the function area is displayed in the configuration page according to the edited color.
[0088] First, it should be noted that each functional area in the smart template page can be assigned a different background color. By displaying functional areas with different background colors, users can easily distinguish functional areas when viewing the configuration page. 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 a functional area, they can trigger the color entry to change the background color of the functional area.
[0089] For example, please refer back to Figure 6a. As shown in Figure 6a, the area editing area 6b2 displays a color entry 6a5 of the "TV area" functional area. Click the color entry 6a2. For the electronic device, a color editing operation is detected at the color entry, and a color selection page is displayed in response to the color editing operation. The color selection page displays multiple optional background colors. 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 "TV area" functional area. The click operation is regarded as a color editing operation.
[0090] Step 750: If a label editing operation for a function label entry is detected, the function area is displayed in the configuration page according to the edited function label.
[0091] It can be understood that the functions of functional areas are not static. For example, when the equipment in a functional area changes, the type of the functional area may also change accordingly. The function label of the functional area is used to indicate the function of the functional area. For example, if the TV in the "TV" functional area is changed to a coffee table, then the function label of the "TV" functional area can be changed from "TV" to "coffee table" to obtain the "coffee table" functional area.
[0092] Among them, the label editing operation is used to change the function of the functional area; if the user wants to edit the type of the functional area, the function label entrance can be triggered to edit the type of the functional area.
[0093] For example, please refer back to Figure 6a. As shown in Figure 6a, a function label entry 6a6 of the "TV area" function area is displayed in the area editing area 6b2. Click the function label entry 6a6. For the electronic device, a label editing operation is detected at the function label entry, and in response to the label editing operation, the function label selection page 6a9 is displayed. The function label selection page displays multiple optional function labels, including TV area, sofa area, fitness area, etc. Select the fitness area 6a0 to change the "TV area" function area to the "fitness area" function area; wherein, the click operation is regarded as a label editing operation.
[0094] Step 770: If a sensitivity editing operation for the sensitivity entry is detected, the regional monitoring sensitivity of the functional area is adjusted.
[0095] The sensitivity editing operation is used to adjust the regional monitoring sensitivity of a functional area. The regional monitoring sensitivity indicates the monitoring sensitivity of the corresponding device for that functional area, that is, the minimum signal strength that the electronic device can detect in that functional area. It can be understood that a higher regional monitoring sensitivity means that the electronic device can more accurately detect signals appearing in the functional area. For example, if the corresponding device is a human body sensor, if the regional monitoring sensitivity of the functional area is adjusted to high sensitivity, the human body sensor will be able to detect even the slightest human body signal in the functional area. If the user wishes to adjust the regional monitoring sensitivity of a functional area, they can trigger the sensitivity entry to adjust the regional monitoring sensitivity of the functional area.
[0096] For example, please refer back to Figure 6a. As shown in Figure 6a, the sensitivity entrance 6a4 of the "TV area" functional area is displayed in the area editing area 6b2. Click the sensitivity entrance 6a4. For the electronic device, the sensitivity editing operation is detected at the sensitivity entrance, and in response to the sensitivity editing operation, the area monitoring sensitivity of the "TV area" functional area is adjusted from low sensitivity to high sensitivity, wherein the click operation is regarded as the sensitivity editing operation.
[0097] In one possible implementation, if the user selects a function label of a functional area, the server will directly push the area monitoring sensitivity corresponding to the function label of the functional area to the user terminal based on the pre-stored "function label-area monitoring sensitivity" relationship mapping table, and display the area monitoring sensitivity in the sensitivity entry in the area editing area. Of course, the user can also adjust the area monitoring sensitivity of the functional area by triggering the sensitivity entry.
[0098] Optionally, if the smart space template lacks a functional area, a corresponding functional area may be added to the smart space template.
[0099] In one possible implementation, in response to an area adding operation triggered in any blank display area of a template recommendation page, the added functional area is displayed in the blank display area of the template recommendation page; a configuration operation for the added functional area is obtained, and the area configuration page corresponding to the functional area is displayed; and in response to the configuration data configured on the area configuration page, a device control service for the functional area is generated.
[0100] It is understood that the template recommendation page may include a region editing page, and the user may also customize and select any region in the region editing page of the user terminal to create a customized functional region. Specifically, the user may add a new customized functional region in the blank area of the region editing page. Of course, the user may also create a new customized functional region based on an existing functional region, that is, the newly created functional region may overlap with an existing functional region.
[0101] Users can further configure the added functional area. Specifically, users can select the added functional area on the area configuration page or the automation configuration page to display the configuration page for that functional area. Users can then configure configuration items related to the device control service on this configuration page, such as the trigger conditions and target actions corresponding to the device control service. The configuration data configured on the area configuration page can be used to generate a device control service for the functional area. This allows users to configure corresponding service functions for the customized functional area.
[0102] Step 350 : In response to the storage operation on the edited smart space template, apply the edited smart space template to the target space.
[0103] The storage operation is used to save the edited smart space template and apply the edited smart space template to the target space so that subsequent users can use the smart space template to experience smart home services.
[0104] Through the above process, based on the configuration data recommended based on the current geographic location, not only can the functional areas under the template space that match the geographic location of the target space be recommended to the user, but also the devices that can be deployed in the functional areas and the device control services provided for the devices can be recommended to the user, avoiding the user's manual configuration of each smart device in different spaces of the home one by one, effectively reducing the complexity of the user's configuration of device control services for smart devices in different spaces of the home, and improving the user's smart home experience; in addition, the user is provided with an editing function for the recommended smart space template, and the user can also customize the functional areas, devices, and device control services in the smart space template according to his or her actual needs, making the edited smart space template more practical and more in line with user needs, thereby further helping to improve the user's smart home experience.
[0105] Of course, although the target space matches the template space's geographic location, even within the same geographic location, the spatial layout or other aspects of the space may differ. For example, the functional areas within the space may be different, or the devices deployed within the space may be different, or the device control services provided to the devices may be different. Based on this, in order to make the recommended smart space template more suitable for the user's actual situation, recommendations can also be made based on the functional areas within the target space, the devices deployed within the target space, and the device usage habits within the target space.
[0106] Referring to FIG. 9 , in an exemplary embodiment, the method may further include: recommending at least one configuration data based on the functional area of the target space, so as to display at least one smart space template recommended based on the functional area of the target space and the configuration data on a template recommendation page. Specifically, the method may include the following steps:
[0107] Step 410: Acquire the function labels of the function areas in the target space.
[0108] As mentioned above, the functional area is used to indicate the function of an area in the target space. Optionally, the target space may include several functional areas, and then several functional labels are obtained.
[0109] Step 430 : Based on each function label, search the template space for a first candidate space having a function area similar to the function area included in the target space.
[0110] It can be understood that the more similar the functional areas of the template space are to the functional areas of the target space, the more compatible the template space is with the target space. For example, the target space includes a sofa area, a TV area, and a coffee table area, template space A includes a sofa area and a projector area, and template space B includes a sofa area and a TV area. Then, the target space is more compatible with template space B.
[0111] It should be noted that when determining the similarity between the target space and the template space, the user terminal can determine that the two are similar when the similarity meets a similarity threshold. For example, if the similarity between the functional area of the target space and the functional area of the template space exceeds 80%, the two are similar. Alternatively, similarity can be determined when the number of identical functional areas between the two exceeds a set value. For example, if the number of identical functional areas between the two exceeds three, the two are similar. It should be noted that the above solutions are merely exemplary and do not constitute limitations on this disclosure.
[0112] Then, after obtaining a first candidate space having similar functional areas according to the functional areas of the target space and the template space, corresponding spatial data can be obtained based on the first candidate space.
[0113] Step 450 : The spatial data of the first candidate space found, the device data associated with the found spatial data, and the scene linkage data are used as recommended configuration data.
[0114] After obtaining the spatial data to determine the functional area of the first candidate space, the user terminal also determines the devices that can be deployed in the functional area of the first candidate space and the device control services that can be provided for these devices. Therefore, the spatial data, device data, and scene linkage data can be used as configuration data. Based on this configuration data, a corresponding smart space template is recommended to the user, ensuring that the user is recommended a smart space template that is more similar to the functional area of the target space. Furthermore, when different users arrange the same target space, they may configure different devices according to their actual needs. Therefore, corresponding template spaces can be recommended based on the devices already configured in the target space.
[0115] In an exemplary embodiment, the method may further include: recommending at least one configuration data based on the devices deployed in the target space, displaying the devices deployed in the target space on a template recommendation page, and recommending at least one smart space template based on the configuration data. Specifically, as shown in FIG8 , the method may include the following steps:
[0116] Step 510: Acquire target device data of the target space.
[0117] The target device data is used to indicate the devices deployed in the target space.
[0118] Step 530 : Based on the target device data, search the template space for a second candidate space having deployed devices similar to the deployed devices in the target space.
[0119] It can be understood that the more similar the deployed devices in the template space are to the devices deployed in the functional area of the target space, the more compatible the template space is with the target space. For example, if the target space includes a desk lamp, a TV, and an air conditioner, and template space A includes a refrigerator, an air conditioner, and a CFL, while template space B also includes a CFL, a TV, and an air conditioner, then the target space is more compatible with template space B.
[0120] It is further explained that when determining whether they are the same device, the judgment can be based on the device type. For example, energy-saving lamps and desk lamps are both lighting devices. The judgment can be based on the device model. For example, energy-saving lamps and desk lamps have different models, so they are not the same device.
[0121] It should be noted that the similarity between the target space and the template space can be determined when the similarity meets a similarity threshold. For example, if the similarity between the devices configured in the target space and the devices configured in the template space exceeds 80%, the two are considered similar. Alternatively, similarity can be determined when the number of identical devices exceeds a set value. For example, if the number of identical devices exceeds 3, the two are considered similar. It should be noted that the above solutions are merely illustrative and do not constitute limitations on this disclosure.
[0122] Then, when the user terminal obtains a second candidate space with similar configured devices based on the configured devices in the target space and the configured devices in the template space, the user terminal can obtain corresponding space data based on the second candidate space.
[0123] Step 550 : The spatial data of the found second candidate space, the device data and the scene linkage data associated with the found spatial data are used as recommended configuration data.
[0124] After the user terminal obtains the spatial data and determines the functional area of the second candidate space, it also determines the devices that can be deployed in the functional area of the second candidate space and the device control services that can be provided for the devices. Therefore, the spatial data, device data, and scene linkage data can be used as configuration data, and the corresponding smart space template can be recommended to the user based on the configuration data, so that the user is recommended a smart space template that is more similar to the devices deployed in the functional area of the target space.
[0125] In addition, device usage habits vary greatly between different users. Therefore, in an exemplary embodiment, step 330 of the method may further include: recommending at least one configuration data based on the device usage habits in the target space, displaying the device usage habits in the target space on the template recommendation page, and recommending at least one smart space template based on the configuration data. Specifically, as shown in FIG9 , the method may include the following steps:
[0126] Step 610: Obtain target space device usage data.
[0127] Among them, device usage data is used to describe the user's device usage habits in the target space. Device usage data can indicate the working time and working mode of the device. It can be understood that through device usage data, it is possible to analyze what device the user frequently uses and when and where, what working mode the user is accustomed to configuring when using the device, and other information, thereby obtaining the user's device usage habits in the functional area of the target space.
[0128] Step 630 : Based on the device usage data, search the template space for a third candidate space having a device usage habit similar to that of the target space.
[0129] Since different users have different living habits, their device usage habits in daily life are not exactly the same. Therefore, by analyzing the device usage data generated by each functional area of each user's family in the target space, we can recommend template spaces that meet their device usage habits. For example, based on the device usage data, we know that the user will appear in the reading area to read at 8 o'clock every night and turn on the reading light. Then, when making recommendations, the space template with the reading light turned on at 8 o'clock can be recommended first.
[0130] Based on this, when the user terminal searches for a template space similar to the user's device usage habits according to the user's device usage habits and obtains a third candidate space, the corresponding space data can be obtained based on the third candidate space.
[0131] Step 650 : Use the found spatial data of the third candidate space, the device data associated with the found spatial data, and the scene linkage data as recommended configuration data.
[0132] After obtaining the found spatial data and determining the functional area under the third candidate space, the user terminal also determines the devices that can be deployed in the functional area under the third candidate space, as well as the device control services that can be provided for the device. Therefore, the spatial data, device data, and scene linkage data can be used as configuration data, and the corresponding smart space template can be recommended to the user based on the configuration data, so that the user can be recommended a smart space template that is more in line with his or her own device usage habits.
[0133] With the cooperation of the above embodiments, not only can smart space templates be recommended based on the functional areas under the target space, but also based on the devices deployed in the target space, and based on the user's device usage habits; on the one hand, the recommended smart space templates are more in line with the user's usage scenarios, reducing the user's editing of the smart space templates, reducing the steps and difficulty of setting up, and thus solving the problem of cumbersome and difficult setting steps of the smart space templates; on the other hand, by recommending similar smart space templates, users can learn more about smart home installation implementation plans, which is convenient for users to implement customized modifications later.
[0134] Of course, in other embodiments, the smart space template can also be recommended based on any number of the current geographic location, the functional area under the target space, the devices deployed in the target space, and the user's device usage habits. For example, the smart space template is recommended to the user based on the current geographic location and the user's device usage habits. The above embodiment does not constitute a specific limitation to this.
[0135] FIG10 is a schematic diagram of a specific implementation of a space template recommendation in an application scenario, wherein this application scenario is a smart home scenario.
[0136] As shown in Figure 10, this application scenario may include the following steps:
[0137] Through step 1001, the user opens the template recommendation page.
[0138] Through step 1003, the current geographical location is obtained.
[0139] Through step 1005 , the smart space templates are displayed on the template recommendation page, and the smart space templates with the same geographical location as the current location are recommended first.
[0140] Through step 1007, the user selects a smart space template and enters the corresponding template editing page.
[0141] Through step 1009, the user edits the functional areas, devices, and device control services in the smart space template on the template editing page, and stores the edited smart space template.
[0142] Through step 1011 , the edited smart space template is displayed to apply the edited smart space template to the target space.
[0143] Through step 1013 , the user controls the devices in the target space based on the smart space template.
[0144] Through step 1015, device usage data is obtained.
[0145] In step 1017 , a periodic analysis is performed based on the device usage data to obtain the user's device usage habits.
[0146] Through step 1019, a smart space template is recommended to the user based on the user's device usage habits.
[0147] Among them, after the user uses the smart space template, the electronic device will collect the corresponding device usage data, and by comparing it according to the set period (day, week, month), it will obtain the user's daily, weekly, and monthly device usage, and then recommend a smart space template that meets the user's device usage.
[0148] In this application scenario, first, smart space templates are recommended based on the current geographic location, avoiding unsupported smart space templates in advance. The smart space templates have a higher matching degree and can be quickly applied without user editing. Second, smart space templates similar to the user's device usage habits are recommended based on the user's device usage habits, enabling rapid application, reducing configuration operations, and improving the smart home experience.
[0149] The following are embodiments of the apparatus disclosed herein, which can be used to perform the spatial template recommendation 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 spatial template recommendation involved in the present disclosure.
[0150] Please refer to FIG. 11 . An embodiment of the present disclosure provides a spatial template recommendation device 900 , including but not limited to: a recommendation module 910 , a module 930 , and an application module 950 .
[0151] Among them, the recommendation module 910 is used to display at least one smart space template recommended based on the current geographic location in the template recommendation page; the smart recommendation template includes functional areas under the template space that match the geographic location of the target space, devices that can be deployed in the target space, and device control services provided for devices that can be deployed in the target space.
[0152] The editing module 930 is configured to display a template editing page corresponding to the selected smart space template in response to a selection operation on the smart space template; the template editing page is used to edit the functional areas, devices, and device control services in the selected smart space template.
[0153] The application module 950 is configured to apply the edited smart space template to the target space in response to the storage operation on the edited smart space template.
[0154] In one embodiment, the recommendation module 910 is also used to recommend at least one configuration data based on the current geographic location, so as to display at least one smart space template recommended based on the current geographic location in the template recommendation page based on the configuration data; including: obtaining the geographic location of the target space; requesting a recommendation based on the template space obtained on the geographic location to obtain recommended space data; obtaining recommended configuration data based on the recommended space data, the device data associated with the recommended space data, and the scene linkage data.
[0155] In one embodiment, the current location includes at least one of the current location of the user terminal and a user-selected location.
[0156] In one embodiment, the smart space template is recommended based on at least one of the current geographical location, the functional area of the target space, the devices deployed in the target space, and the device usage habits.
[0157] In one embodiment, the recommendation module 910 is also used to recommend at least one configuration data based on the functional area under the target space, so as to display the functional area under the target space in the template recommendation page, and recommend at least one smart space template based on the configuration data, including: obtaining the functional label of the functional area under the target space; based on each functional label, searching for a first candidate space in the template space whose functional area is similar to the functional area included in the target space; and combining the spatial data of the found first candidate space with the device data and scene linkage data associated with the found spatial data to obtain recommended configuration data.
[0158] In one embodiment, the recommendation module 910 is also used to recommend at least one configuration data based on the devices deployed in the target space, so as to display the devices deployed in the target space in the template recommendation page, and recommend at least one smart space template based on the configuration data, including: obtaining target device data of the target space; the target device data is used to indicate the devices deployed in the target space; based on the target device data, searching in the template space for a second candidate space in which the deployed devices are similar to the devices deployed in the target space; and associating the spatial data of the found second candidate space with the device data and scene linkage data found in the spatial data to obtain recommended configuration data.
[0159] In one embodiment, the recommendation module 910 is also used to recommend at least one configuration data based on the device usage habits in the target space, so as to display the device usage habits based on the target space in the template recommendation page, and recommend at least one smart space template based on the configuration data, including: device usage data for the target space; the device usage data is used to describe the user's device usage habits in the target space; based on the device usage data, searching the template space for a third candidate space whose device usage habits are similar to the device usage habits in the target space; and associating the spatial data of the found third candidate space with the device data and scene linkage data found in the spatial data to obtain recommended configuration data.
[0160] In one embodiment, the editing module 930 is further configured to display editable configuration data in the template editing page; if an editing operation on the editable configuration data is detected, the smart space template in the template editing page is updated according to the edited configuration data.
[0161] In one embodiment, the editing module 930 is also used to display the area editing entry corresponding to the functional area in the template recommendation page in response to the area editing operation for the functional area displayed in the template recommendation page; the area editing entry includes at least one of a function label entry and a sensitivity entry; if a label editing operation for the function label entry is detected, the functional area is displayed in the template recommendation page according to the edited function label; if a sensitivity editing operation for the sensitivity entry is detected, the area monitoring sensitivity of the functional area is adjusted, and the area monitoring sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.
[0162] In one embodiment, the editing module 930 is also used to display the added functional area in the blank display area of the template recommendation page in response to an area adding operation triggered in any blank display area of the template recommendation page; obtain the configuration operation for the added functional area, and display the area configuration page corresponding to the functional area; and generate a device control service for the functional area in response to the configuration data configured on the area configuration page.
[0163] It should be noted that the spatial template recommendation device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when performing spatial template recommendation. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the spatial template recommendation device will be divided into different functional modules to complete all or part of the functions described above.
[0164] In addition, the spatial template recommendation device and the spatial template recommendation 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 embodiment and will not be repeated here.
[0165] 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 terminal 110 in the implementation environment shown in Fig. 1.
[0166] 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.
[0167] 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.
[0168] Among them, the memory 101 can be used to store program instructions or codes, such as the program instructions or codes corresponding to the spatial template recommendation 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 spatial template recommendation method.
[0169] 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.
[0170] 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.
[0171] 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.
[0172] 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.
[0173] 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.
[0174] 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.
[0175] 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.
[0176] 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.
[0177] 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.
[0178] Referring to FIG. 13 , the electronic device 4000 includes at least one processor 4001 and at least one memory 4003 .
[0179] 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.
[0180] 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.
[0181] 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.
[0182] 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.
[0183] 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 .
[0184] The computer-readable instructions are executed by one or more processors 4001 to implement the spatial template recommendation method in the above embodiments.
[0185] 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 spatial template recommendation method as described above.
[0186] In one embodiment, a computer program product is provided, comprising computer-readable storage instructions, which, when executed by a processor, implement the steps of the spatial template recommendation method provided in any one or more embodiments of the present application.
[0187] Compared with related technologies, first, the smart space template recommended based on the current geographic location can recommend template spaces and functional areas that match the geographic location of the target space to users, reducing the steps for users to set up smart space templates; second, the device data and scene linkage data contained in the smart space template can provide users with device control services, reducing the difficulty for users to set up device control services; third, the smart space template editing function is provided to users, and users can adaptively adjust the smart space template according to actual needs, making the adjusted smart space template more practical and improving the user's smart home experience; fourth, by recommending spatial data based on the functional areas under the target space, based on the devices in each functional area of the target space and / or based on the user's device usage habits, the recommended smart space template can be more in line with the user's usage scenario, reducing the user's editing of the smart space template, and reducing the steps and difficulty of setting up; fifth, by recommending similar smart space templates, users can understand more smart home installation implementation plans, which is convenient for users to implement subsequent customized modifications.
[0188] 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.
[0189] 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 spatial template recommendation method, performed by an electronic device, comprising: Displaying at least one smart space template recommended based on the current geographical location on the template recommendation page; The intelligent recommendation template includes a functional area under the template space matching the geographical location of the target space, a device that can be deployed in the target space, and a device control service provided for the device that can be deployed in the target space; In response to a selection operation on the smart space template, displaying a template editing page corresponding to the selected smart space template; The template editing page is used to edit each functional area, device, and device control service in the selected smart space template; In response to a storage operation on the edited smart space template, the edited smart space template is applied to the target space.
2. The method of claim 1, wherein: The method further includes: recommending at least one configuration data based on the current geographical location, so as to display at least one smart space template recommended based on the current geographical location in a template recommendation page based on the configuration data; The recommending at least one configuration data based on the current geographical location includes: Obtaining the geographical location of the target space; Requesting recommendation based on the template space at the acquired geographical location to obtain the recommended spatial data; The recommended configuration data is obtained according to the recommended spatial data, the device data associated with the recommended spatial data, and the scene linkage data.
3. The method of claim 1, wherein: The current location includes at least one of a current location of the user terminal and a user-selected location.
4. The method of claim 1, wherein: The smart space template is recommended based on at least one of the current geographical location, the functional area under the target space, the devices deployed in the target space, and the device usage habits.
5. The method of claim 1, wherein: The method further includes: recommending at least one configuration data based on the functional area under the target space, so as to display at least one smart space template recommended based on the functional area under the target space and based on the configuration data in a template recommendation page; The recommending at least one configuration data based on the functional area under the target space includes: Obtaining a functional label of a functional area in the target space; Based on each of the function labels, searching in the template space for a first candidate space having a function area similar to the function area included in the target space; The spatial data of the first candidate space found, the device data and the scene linkage data associated with the spatial data found are used as the recommended configuration data.
6. The method of claim 1, wherein: The method further includes: recommending at least one configuration data based on the devices deployed in the target space, so as to display the devices deployed in the target space in a template recommendation page, and recommending at least one smart space template based on the configuration data; The recommending at least one configuration data based on the device deployed in the target space includes: Acquire target device data of the target space; the target device data is used to indicate the devices deployed in the target space; Based on the target device data, searching in the template space for a second candidate space in which deployed devices are similar to the deployed devices in the target space; The found spatial data of the second candidate space, the device data and the scene linkage data associated with the found spatial data are used as the recommended configuration data.
7. The method of claim 1, wherein: The method further includes: recommending at least one configuration data based on the device usage habits in the target space, so as to display the device usage habits in the target space in a template recommendation page, and recommending at least one smart space template based on the configuration data; The recommending at least one configuration data based on the device usage habits in the target space includes: Acquire device usage data for the target space; the device usage data is used to describe the user's device usage habits in the target space; Based on the device usage data, searching in the template space for a third candidate space in which device usage habits are similar to those in the target space; The found spatial data of the third candidate space, the device data and the scene linkage data associated with the found spatial data are used as the recommended configuration data.
8. The method according to any one of claims 1 to 7, wherein: After the template editing page corresponding to the selected smart space template is displayed in response to the selection operation on the smart space template, the method further includes: Displaying editable configuration data in the template editing page; If an editing operation on editable configuration data is detected, the smart space template in the template editing page is updated according to the edited configuration data.
9. The method according to any one of claims 1 to 7, wherein: After the edited smart space template is applied to the target space in response to the storage operation on the edited smart space template, the method further includes: In response to an area editing operation on a function area displayed in the template recommendation page, an area editing entry corresponding to the function area is displayed in the template recommendation page; the area editing entry includes at least one of a function label entry and a sensitivity entry; If a label editing operation for the function label entry is detected, the function area is displayed in the template recommendation page according to the edited function label; If a sensitivity editing operation for the sensitivity entry is detected, the regional monitoring sensitivity of the functional area is adjusted, and the regional monitoring sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.
10. The method according to any one of claims 1 to 7, wherein: After the edited smart space template is applied to the target space in response to the storage operation on the edited smart space template, the method further includes: In response to an area adding operation triggered in any blank display area of the template recommendation page, displaying the added functional area in the blank display area of the template recommendation page; Obtain configuration operations for the added functional area, and display the area configuration page corresponding to the functional area; In response to the configuration data configured on the area configuration page, a device control service for the functional area is generated.
11. A spatial template recommendation device, wherein: The device comprises: A recommendation module, configured to display at least one smart space template recommended based on the current geographic location in a template recommendation page; the smart recommendation template includes a functional area under a template space matching the geographic location of a target space, a device that can be deployed in the target space, and a device control service provided for the device that can be deployed in the target space; An editing module, configured to display a template editing page corresponding to the selected smart space template in response to a selection operation on the smart space template; the template editing page is configured to edit each functional area, device, and device control service in the selected smart space template; The storage module is configured to apply the edited smart space template to the target space in response to a storage operation on the edited smart space template.
12. The device of claim 11, wherein: The recommendation module is also used to recommend at least one configuration data based on the current geographic location, so as to display at least one smart space template recommended based on the current geographic location in the template recommendation page based on the configuration data; including: obtaining the geographic location where the target space is located; requesting a recommendation based on the template space obtained at the geographic location to obtain the recommended space data; and obtaining the recommended configuration data based on the recommended space data, the device data associated with the recommended space data, and the scene linkage data.
13. The device of claim 11, wherein: The recommendation module is also used to recommend at least one configuration data based on the functional area under the target space, so as to display the functional area under the target space in the template recommendation page, and at least one smart space template recommended based on the configuration data, including: obtaining the function label of the functional area under the target space; based on each of the function labels, searching in the template space for a first candidate space whose function area is similar to the function area included in the target space; and obtaining the recommended configuration data by combining the space data of the found first candidate space with the device data and the scene linkage data associated with the found space data.
14. The device of claim 11, wherein: The recommendation module is also used to recommend at least one configuration data based on the devices deployed in the target space, so as to display the devices deployed in the target space in the template recommendation page, and recommend at least one smart space template based on the configuration data, including: obtaining target device data of the target space; the target device data is used to indicate the devices deployed in the target space; based on the target device data, searching in the template space for a second candidate space in which the deployed devices are similar to the devices deployed in the target space; and combining the space data of the found second candidate space with the device data and the scene linkage data associated with the found space data to obtain the recommended configuration data.
15. The device of claim 11, wherein: The recommendation module is also used to recommend at least one configuration data based on the device usage habits in the target space, so as to display the device usage habits in the target space in the template recommendation page, and recommend at least one smart space template based on the configuration data, and the recommended at least one smart space template includes: device usage data for the target space; the device usage data is used to describe the user's device usage habits in the target space; based on the device usage data, searching the template space for a third candidate space whose device usage habits are similar to those in the target space; and combining the spatial data of the third candidate space found with the device data and the scene linkage data associated with the found spatial data to obtain the recommended configuration data.
16. The device according to any one of claims 9 to 13, wherein: The device also includes an editing module, which is used to display editable configuration data in the template editing page; if an editing operation on the editable configuration data is detected, the smart space template in the template editing page is updated according to the edited configuration data.
17. The device according to any one of claims 9 to 13, wherein: The device further includes an editing module, which is used to display a region editing entry corresponding to the function region in the template recommendation page in response to a region editing operation on the function region displayed in the template recommendation page; the region editing entry includes at least one of a function label entry and a sensitivity entry; If a label editing operation for the function label entry is detected, the function area is displayed in the template recommendation page according to the edited function label; If a sensitivity editing operation for the sensitivity entry is detected, the regional monitoring sensitivity of the functional area is adjusted, and the regional monitoring sensitivity is used to indicate the monitoring sensitivity of the corresponding device to the functional area.
18. An electronic device comprising at least one processor and at least one memory, wherein: The memory stores computer-readable instructions; when the computer-readable instructions are executed by one or more processors, the spatial template recommendation method according to any one of claims 1 to 10 is implemented.
19. A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by one or more processors, implement the spatial template recommendation method according to any one of claims 1 to 10.
20. A computer program product, comprising computer-readable instructions, wherein when the computer-readable instructions are executed by a processor, the spatial template recommendation method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Automatic recommendation method and device, electronic equipment and storage medium
CN109829106A
Method, device and equipment for acquiring smart home scene, medium and product
CN113341755A
Intelligent scene configuration method, mobile terminal and server
CN114721281A
Scene configuration method, device and system for smart home equipment
CN114879528A
Equipment configuration processing method and device, computer equipment and storage medium
CN114928538A
