Scene recommendation method, electronic equipment and server

By combining location information and device information to automatically match and recommend personalized scenarios, the problems of complex scenario configuration and inaccurate recommendations in the existing technology are solved, and the user experience is improved.

CN120017432APending Publication Date: 2025-05-16HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311521333.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, the scenario configuration process is complex, the user's use is low, and the scenario recommendation function cannot provide personalized and accurate recommendations, making it difficult to meet the user's usage needs.

Method used

By combining location information and/or device information, we automatically match scenarios that meet needs and provide personalized scenario recommendations. The specific implementation includes obtaining user operation, location information and device information on the electronic device, and the server matches and recommends corresponding scenarios based on this information.

Benefits of technology

It realizes personalized scenario recommendations, and users can obtain recommended scenarios that better meet actual usage needs, improving users' user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017432A_ABST
    Figure CN120017432A_ABST
Patent Text Reader

Abstract

The invention provides a scene recommendation method, electronic equipment and a server, and relates to the technical field of terminals. According to the method and the device, the scene meeting the requirement can be automatically matched in combination with the position information and / or the equipment information to be browsed by the user, so that the user can obtain the recommended scene better meeting the actual use requirement. The method comprises the following steps: after acquiring a first operation of a user on the first electronic equipment by the first electronic equipment, acquiring first information in response to the first operation; according to the first information, a first recommendation scene interface is displayed, and the first recommendation scene interface comprises a first scene matched with the first position information and / or a second scene matched with the first equipment information. Wherein the first information comprises at least one of the first position information or the first device information, and the first scene or the second scene is used for controlling at least one intelligent device in the control space of the first electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a scene recommendation method, electronic device and server. Background Art

[0002] With the development of terminal technology, the number of smart devices configured in users' homes is increasing to meet the various usage needs of users. Such as audio and video equipment, lighting equipment, environmental control equipment, security system equipment, etc. Users create scenes including multiple smart devices according to actual usage needs, and realize scene-based automatic control of multiple smart devices. For example, setting a home scene includes starting multiple smart devices such as living room lights, air conditioners, speakers, etc. at a preset time, as well as the startup parameters of each smart device. This makes it convenient for users to not have to turn on each smart device one by one after arriving home.

[0003] However, due to the complex scene configuration process, the popularity of user use is low. In response to this, the smart life application is equipped with a scene recommendation function to recommend scenes pre-configured by scene designers to users, and users can download and use the recommended scenes they need. However, the current scene recommendation function recommends the same scenes to all users, without more accurate and personalized recommendations, which makes it difficult to meet user needs. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a scene recommendation method, electronic device and server. The technical solution provided by the present application combines location information and / or device information to automatically match scenes that meet the needs for users to browse, so that users can obtain recommended scenes that better meet actual usage needs.

[0005] In order to achieve the above technical objectives, this application provides the following technical solutions:

[0006] In a first aspect, a scene recommendation method is provided, which is applied to a first electronic device. The method includes: obtaining a first operation of a user on the first electronic device. In response to the first operation, obtaining first information. According to the first information, a first recommendation scene interface is displayed, and the first recommendation scene interface includes a first scene matching the first location information, and / or a second scene matching the first device information, the first information includes at least one of the first location information or the first device information, and the first scene or the second scene is used to control at least one smart device in the control space of the first electronic device.

[0007] In this way, the server recommends scenarios based on the actual usage needs of users, and can realize personalized scenario usage. Compared with publishing scenarios that are limited to general scenarios published by scenario designers, the scenario recommendation method provided in the embodiment of the present application can make scenario recommendation more effective, and users can actually obtain the scenarios they need, thereby improving the user experience.

[0008] According to a first aspect, in response to a first operation, obtaining first information includes: determining first location information according to positioning information of the first electronic device and / or user information of the user.

[0009] According to the first aspect, or any implementation of the first aspect above, the user information of the user includes the first location information recorded under the account logged in by the first electronic device.

[0010] For example, the first electronic device acquires current location information in response to the first operation. Then, subsequently, the first information sent by the first electronic device to the server includes the location information.

[0011] For another example, the first electronic device obtains user information of the user in response to the first operation, and the user is, for example, the location information corresponding to the edited current login account. Optionally, the location information is, for example, the location information input by the user obtained by the first electronic device in response to the first operation by displaying prompt information; or, the location information is the location information pre-entered by the user into the first application; or, the location information is the location information obtained by the first electronic device from other applications of the first electronic device. Then, the first information sent by the first electronic device to the server includes the location information.

[0012] According to the first aspect, or any implementation of the first aspect above, in response to the first operation, obtaining first information includes: determining first device information based on information of at least one smart device in the control space of the first electronic device.

[0013] For example, the first electronic device obtains information of at least one smart device managed under the currently running smart life application account in response to a user operation. Then, subsequently, the first information sent by the first electronic device to the server includes the device information.

[0014] According to the first aspect, or any implementation of the first aspect above, the first device information includes one or more of the device type, device manufacturer, device model, and device quantity of the smart device recorded under the account logged in by the first electronic device.

[0015] Optionally, at least one smart device is recorded under the account logged in by the first electronic device.

[0016] For example, the user's home includes 10 effect lights, smart screens and smart speakers. In the scene recommendation process, the second scene that includes these smart devices in the published scenes can be recommended to the user. In this way, scene recommendations are made based on the actual situation of the smart devices included in the space, so that the recommended scene can better meet the actual usage needs of the user, and the user can actually use the recommended scene, thereby improving the user's usage experience.

[0017] According to the first aspect, or any implementation of the first aspect above, the method further includes: obtaining a second operation of the user, the second operation being an editing operation on the first scene or the second scene. After performing the second operation, obtaining and saving the edited first scene or the second scene.

[0018] Optionally, the first electronic device may also send the edited first scene or second scene to the server.

[0019] In this way, users can customize and modify the recommended scenarios according to their own needs, so that the use of recommended scenarios can better meet the personalized needs of users and the actual application needs of devices in the current home.

[0020] Furthermore, the user can save the edited scene so that the user can subsequently choose whether to use the edited scene and when to use it.

[0021] According to the first aspect, or any implementation of the first aspect above, the method further includes: obtaining a third operation of the user on the first electronic device. In response to the third operation, obtaining second information. According to the second information, displaying a second recommended scene interface, the second recommended scene interface includes a third scene matching the second location information, and / or, a fourth scene matching the second device information, the second information includes at least one of the second location information or the second device information, and the third scene or the fourth scene is used to control at least one smart device in the control space of the first electronic device.

[0022] In this way, after the first information changes (such as changes to the second information), the first electronic device can also obtain the recommended scene matching the changed first information, so that the scene recommendation process can meet the actual usage needs of the user.

[0023] According to the first aspect, or any implementation of the first aspect above, the method further includes: displaying a scene sharing interface. In response to a fourth operation of the user on the scene sharing interface, obtaining first recommended scene information, the first recommended scene information including: one or more of a scene title, a scene introduction, a scene demonstration video, a scene configuration file, and a scene location, the scene configuration file including third device information and a device task. Sending the first recommended scene information to the server.

[0024] In this way, through the scene publishing channel, the needs of users to share scenes are met. And for some users with stronger capabilities, scenes with better usage effects can be arranged.

[0025] According to the first aspect, or any implementation of the first aspect above, the method also includes: in response to a fifth operation of the user on the first electronic device, obtaining the user's evaluation information on the first scene and / or the second scene, the evaluation information including any one or more of comments, likes, likes, and dislikes on the first scene and / or the second scene.

[0026] In this way, the social attributes of scene recommendations are increased to meet the social needs of users. In addition, other users can also further understand the actual use of the scene based on the evaluation information of the scene and determine whether to import and use the scene, further improving the user experience.

[0027] According to the first aspect, or any implementation of the first aspect above, the method further includes: in response to a sixth operation of the user on the first recommended scene interface, saving a target scene indicated by the sixth operation.

[0028] In this way, users can browse more personalized scene recommendation content through simple operations and choose to import and use it, which effectively simplifies the user's scene configuration operation.

[0029] According to the first aspect, or any implementation of the first aspect above, the method further includes: executing the target scene on the first electronic device, or the first electronic device sending the target scene to other electronic devices.

[0030] Optionally, after the first electronic device imports the target scene, it sends a configuration instruction to the third electronic device controlled by the target scene instruction according to the information of the target scene to complete the configuration of the scene. Alternatively, the first electronic device sends the target scene selected by the user to the control device (such as a smart home device control panel) that manages the third electronic device, and then the control device can execute the target scene, such as completing the configuration of the target scene.

[0031] According to the first aspect, or any implementation of the first aspect above, after obtaining a first operation of a user on a first electronic device, the method further includes: receiving a location request sent by a server. Displaying a location information authorization interface. In response to an authorization operation of the user on the location information authorization interface, sending the first location of the first electronic device to the server.

[0032] In this way, the security of user information is guaranteed while scene recommendations are made based on location information.

[0033] In a second aspect, a scene recommendation method is provided, which is applied to a server. The method includes: obtaining first information corresponding to a first electronic device. According to the first information, determining a first scene matching the first location information, and / or a second scene matching the first device information, the first information including at least one of the first location information or the first device information. Sending the first scene and / or the second scene to the first electronic device, the first scene or the second scene is used to control at least one smart device in the control space of the first electronic device.

[0034] For example, the first electronic device obtains the current positioning information in response to the user's first operation, and sends the positioning information to the server. Among them, the published scenes saved in the server include the scene publishing location. Then, after receiving the positioning information, the server can match the first scene whose scene publishing location in the published scene is near the current positioning information according to the positioning information. In this way, in nearby homes with similar house types, device types, and number of devices, it is possible to recommend scenes that meet actual usage needs to users.

[0035] For another example, a user triggers browsing recommended scenes through a first electronic device while working at the company. The first electronic device responds to the user's first operation and obtains the user's user information, such as the user information includes the first location information recorded under the account logged in by the first electronic device, such as the first location information is the location information of the user's home. Then, after receiving the first location information sent by the first electronic device, the server can perform scene matching according to the first location information, thereby obtaining a second scene that better matches the user's home location information. In this way, the user can actually use the obtained second scene after returning home.

[0036] According to the second aspect, obtaining first information corresponding to the first electronic device includes: determining first location information according to positioning information and / or user information of the first electronic device.

[0037] According to the second aspect, or any implementation of the second aspect above, obtaining first information corresponding to the first electronic device includes: determining the first device information based on information of at least one smart device in the control space of the first electronic device.

[0038] According to the second aspect, or any implementation of the second aspect above, according to the first information, determining a first scene that matches the first location information, and / or a second scene that matches the first device information, includes: when the account logged in by the first electronic device is a whole-house user account, determining the first scene that matches the first location information. In this way, the server can match the scenes published by devices near the first location information based on the first location information. These scenes can be more adapted to the current needs of the first electronic device. When the account logged in by the first electronic device is not a whole-house user account, determining the second scene that matches the first device information. In this way, the server makes more accurate scene recommendations based on the device information, so that the recommended scenes better meet the actual usage needs of the user.

[0039] According to the second aspect, or any implementation of the second aspect above, before obtaining the first information corresponding to the first electronic device, the method also includes: receiving second recommended scene information sent by the second electronic device, the second recommended scene information including one or more of the scene title, scene introduction, scene demonstration video, scene configuration file, and scene location of the first scene and / or the second scene, and the scene configuration file includes third device information and device tasks.

[0040] Optionally, the functions and operations performed by the above server may also be performed by other types of devices. For example, an electronic device obtains the first information of the first device, and obtains the scene matching the first information from a local database or server, and then sends it to the first device to configure the scene, etc.

[0041] The technical effects corresponding to the second aspect and any implementation method of the second aspect can be found in the technical effects corresponding to the above-mentioned first aspect and any implementation method of the first aspect, and will not be repeated here.

[0042] In a third aspect, a first electronic device is provided. The first electronic device includes: a processor, a memory and a display screen, the memory and the display screen are coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the first electronic device executes: obtaining a first operation of the user on the first electronic device. In response to the first operation, first information is obtained. According to the first information, a first recommended scene interface is displayed, the first recommended scene interface includes a first scene matching the first location information, and / or, a second scene matching the first device information, the first information includes at least one of the first location information or the first device information, and the first scene or the second scene is used to control at least one smart device in the control space of the first electronic device.

[0043] According to a third aspect, in response to a first operation, obtaining first information includes: determining first location information according to positioning information of the first electronic device and / or user information of the user.

[0044] According to the third aspect, or any implementation of the third aspect above, the user information of the user includes the first location information recorded under the account logged in by the first electronic device.

[0045] According to the third aspect, or any implementation of the third aspect above, in response to the first operation, obtaining the first information includes: determining the first device information based on the information of at least one smart device in the control space of the first electronic device.

[0046] According to the third aspect, or any implementation of the third aspect above, the first device information includes one or more of the device type, device manufacturer, device model, and device quantity of the smart device recorded under the account logged in by the first electronic device.

[0047] According to the third aspect, or any implementation of the third aspect above, when the processor reads the computer instruction from the memory, the first electronic device is further caused to execute: obtaining a second operation of the user, where the second operation is an editing operation on the first scene or the second scene. After executing the second operation, obtaining and saving the edited first scene or the second scene.

[0048] According to the third aspect, or any implementation of the third aspect above, when the processor reads the computer instruction from the memory, it also causes the first electronic device to execute: obtaining a third operation of the user on the first electronic device. In response to the third operation, obtaining second information. According to the second information, displaying a second recommended scene interface, the second recommended scene interface includes a third scene matching the second location information, and / or, a fourth scene matching the second device information, the second information includes at least one of the second location information or the second device information, and the third scene or the fourth scene is used to control at least one smart device in the control space of the first electronic device.

[0049] According to the third aspect, or any implementation of the third aspect above, when the processor reads the computer instruction from the memory, it also causes the first electronic device to execute: displaying a scene sharing interface. In response to a fourth operation of the user on the scene sharing interface, obtaining first recommended scene information, the first recommended scene information including: one or more of a scene title, a scene introduction, a scene demonstration video, a scene configuration file, and a scene location, the scene configuration file including third device information and a device task. Sending the first recommended scene information to the server.

[0050] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also enables the first electronic device to execute: in response to the fifth operation of the user on the first electronic device, obtain the user's evaluation information on the first scene and / or the second scene, and the evaluation information includes any one or more of comments, likes, likes, and dislikes on the first scene and / or the second scene.

[0051] According to the third aspect, or any implementation of the third aspect above, when the processor reads computer instructions from the memory, it also enables the first electronic device to execute: in response to the user's sixth operation on the first recommended scene interface, save the target scene indicated by the sixth operation.

[0052] According to the third aspect, or any implementation of the third aspect above, when the processor reads the computer instruction from the memory, it also enables the first electronic device to execute: executing the target scene on the first electronic device, or the first electronic device sends the target scene to other electronic devices.

[0053] According to the third aspect, or any implementation of the third aspect above, after obtaining the first operation of the user on the first electronic device, the method further includes: receiving a location request sent by the server. Displaying a location information authorization interface. In response to the user's authorization operation on the location information authorization interface, sending the first location of the first electronic device to the server.

[0054] The technical effects corresponding to the third aspect and any one of the implementation methods of the third aspect can be found in the technical effects corresponding to the above-mentioned first aspect and any one of the implementation methods of the first aspect, and will not be repeated here.

[0055] In a fourth aspect, a server is provided. The server includes: a processor and a memory, the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, when the processor reads the computer instructions from the memory, the server executes: obtain first information corresponding to the first electronic device. According to the first information, determine a first scene matching the first location information, and / or a second scene matching the first device information, the first information includes at least one of the first location information or the first device information. Send the first scene and / or the second scene to the first electronic device.

[0056] According to a fourth aspect, obtaining first information corresponding to a first electronic device includes: determining first location information according to positioning information and / or user information of the first electronic device.

[0057] According to the fourth aspect, or any implementation of the fourth aspect above, obtaining first information corresponding to the first electronic device includes: determining the first device information based on information of at least one smart device in the control space of the first electronic device.

[0058] According to the fourth aspect, or any implementation of the fourth aspect above, determining, based on the first information, a first scenario matching the first location information, and / or a second scenario matching the first device information, includes: when the account logged in by the first electronic device is a whole-house user account, determining the first scenario matching the first location information. When the account logged in by the first electronic device is not a whole-house user account, determining the second scenario matching the first device information.

[0059] According to the fourth aspect, or any implementation of the fourth aspect above, when the processor reads computer instructions from the memory, it also enables the server to execute: receiving second recommended scene information sent by the second electronic device, the second recommended scene information including one or more of the scene title, scene introduction, scene demonstration video, scene configuration file, and scene location of the first scene and / or the second scene, and the scene configuration file includes third device information and device tasks.

[0060] The technical effects corresponding to the fourth aspect and any one of the implementation methods of the fourth aspect can be found in the technical effects corresponding to the above-mentioned second aspect and any one of the implementation methods of the second aspect, and will not be repeated here.

[0061] In a fifth aspect, an electronic device is provided, which has the function of implementing the scene recommendation method described in the first aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0062] In a sixth aspect, a server is provided, which has the function of implementing the scene recommendation method described in the second aspect and any possible implementation thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

[0063] In a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as an instruction or code), and when the computer program is executed by an electronic device, the electronic device executes the method of the first aspect or any one of the implementations of the first aspect.

[0064] In an eighth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (also referred to as instructions or codes), and when the computer program is executed by a server, the server executes the method of the second aspect or any one of the implementations of the second aspect.

[0065] According to a ninth aspect, a computer program product is provided. When the computer program product is run on an electronic device, the electronic device executes the method according to the first aspect or any one of the embodiments of the first aspect.

[0066] In a tenth aspect, a computer program product is provided. When the computer program product runs on a server, the server executes the method in the first aspect or any one of the implementations in the first aspect.

[0067] In the eleventh aspect, a circuit system is provided, the circuit system includes a processing circuit, and the processing circuit is configured to execute the method of the first aspect or any one of the embodiments of the first aspect; or, the processing circuit is configured to execute the method of the second aspect or any one of the embodiments of the second aspect.

[0068] In the twelfth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method of the first aspect or any one of the embodiments of the first aspect; or, the at least one processor executes the method of the second aspect or any one of the embodiments of the second aspect.

[0069] The technical effects of the aforementioned aspects can be referenced to each other and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 Schematic diagram of the scene recommendation interface provided in the embodiment of the present application Figure 1 ;

[0071] Figure 2 A schematic diagram of a communication system to which the scenario recommendation method provided in an embodiment of the present application is applied;

[0072] Figure 3 A schematic diagram of the hardware structure of a first electronic device provided in an embodiment of the present application;

[0073] Figure 4 A schematic diagram of the hardware structure of a server provided in an embodiment of the present application;

[0074] Figure 5 Schematic diagram of the scene recommendation method provided in the embodiment of the present application Figure 1 ;

[0075] Figure 6Schematic diagram of the scene recommendation interface provided in the embodiment of the present application Figure 2 ;

[0076] Figure 7 Schematic diagram of the scene recommendation interface provided in the embodiment of the present application Figure 3 ;

[0077] Figure 8 A schematic diagram of the scenario recommendation process provided in an embodiment of the present application;

[0078] Fig. 9 Schematic diagram of the scene recommendation interface provided in the embodiment of the present application Figure 4 ;

[0079] Fig.10 Schematic diagram of the scene recommendation interface provided in the embodiment of the present application Figure 5 ;

[0080] Fig.11 A schematic diagram of the entire process of scenario recommendation provided in an embodiment of the present application;

[0081] Fig.12 Schematic diagram of the scene recommendation method provided in the embodiment of the present application Figure 2 ;

[0082] Fig.13 A schematic diagram of the structure of a first electronic device provided in an embodiment of the present application;

[0083] Fig.14 A hardware diagram of a server provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION

[0084] The technical solutions in the embodiments of the present application are described below in conjunction with the accompanying drawings in the embodiments of the present application. Wherein, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two).

[0085] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0086] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0087] In some embodiments, various electronic devices have entered people's lives, and the concept of smart home system is proposed for the home use scenarios of electronic devices. Among them, the electronic devices in the smart home system are, for example, smart home devices. Smart home devices are intelligent devices, such as audio and video devices (such as large-screen devices, Bluetooth speakers, etc.), lighting equipment (such as ceiling lights, table lamps, spotlights, etc.), environmental control equipment (such as air conditioners, air purifiers, etc.), anti-theft alarm equipment (such as human sensors, cameras, etc.), etc.

[0088] In some examples, the smart home system uses the residence as a platform and uses technologies such as the Internet of Things and automatic control to organically combine various electronic devices and application subsystems related to home life. Among them, users can manage the devices in the smart home system by logging into the smart life application account, and the smart life application account includes the whole house user account and the non-whole house user account. Among them, the whole house user account means that multiple devices managed by the account are managed by a unified central device, and the central device is, for example, a whole house smart host, a smart home device control panel, a whole house smart light host and other types of devices. For example, in the pre-installation process before the smart home devices in the whole house smart home system are delivered to the user, after the smart home device control panel logs in to the whole house user account, the engineer connects all the smart home devices in the house to the smart home device control panel, and the smart home control panel manages the multiple smart home devices. Subsequent users can also connect these smart home devices to the smart home device control panel when they purchase more smart home devices. For another example, if there is no unified central device in the house, users can connect to smart home devices individually or connect some smart home devices according to their needs to achieve intelligent control. In this case, the account corresponding to the smart home device login is not a full-house user account.

[0089] Optionally, after the electronic device logs into the smart life application in response to a user operation, it can distinguish whether the current smart life application account is a whole-house user account or a non-whole-house user account, and then determine whether the user is a whole-house user or a non-whole-house user.

[0090] In some examples, during the use of smart home devices, users can achieve scene control of smart home devices and improve the control efficiency of smart home devices by creating smart home device scenes. For example, according to the actual usage scenario, the user can add the smart home devices included in the actual usage scenario to the corresponding scene, and set the trigger conditions and tasks that the smart home devices need to perform. For example, setting a scene to turn off the air conditioner includes turning off all the air conditioners in the home when clicking the scene card. This makes it convenient for users to turn off the air conditioner when they need to, without having to operate each air conditioner one by one. It should be understood that scene configuration can be achieved regardless of whether the smart home device is logged in to the whole-house user account or the non-whole-house user account.

[0091] Among them, during the scene configuration process, the user needs to pre-conceive the scene implementation content, and the scene configuration process is relatively complicated, which leads to high requirements on the user's logical thinking ability and complex operation, which affects the use of ordinary users.

[0092] In this regard, the scene designer pre-configures some scenes and publishes them to the cloud server. In this way, users can download the required scenes through the scene recommendation function configured in the smart life application.

[0093] For example, Figure 1 As shown in (a), the electronic device responds to the user's operation to start the smart life application and displays the smart life application discovery interface 101. On the smart life application discovery interface 101, the electronic device can display the scene recommendation option as shown in the figure mark 11, through which the user can enter the scene recommendation page and browse the scenes published by the scene designer. Alternatively, the electronic device responds to the user's operation on the scene control 12, and can display the scene recommendation option as shown in the figure mark 11. Figure 1 In the scene discovery interface 102 shown in (b), the electronic device can display the scene recently released by the scene designer, as shown by reference numeral 13. Alternatively, in response to the user's operation on the ranking control 14, the electronic device can display the scene recently released by the scene designer, as shown by reference numeral 13. Figure 1 (c) shows a scene ranking interface 103. On the scene ranking interface 103, the electronic device can display scenes published by multiple scene designers according to the download amount.

[0094] It can be seen that although publishing scenarios through scenario designers can simplify the process of user scenario configuration, the current scenario recommendation function recommends the same scenarios to all users, without more accurate and personalized recommendations, and it is difficult to meet the user's usage needs.

[0095] Therefore, the present application provides a scene recommendation method. The server combines the device information of the smart device in the space, automatically matches the target scene that meets the device information requirements, and recommends the target scene to the configured device, so that the configured device can obtain the recommended scene that better meets the user's actual usage needs.

[0096] Figure 2 A schematic diagram of a communication system to which the scenario recommendation method provided in an embodiment of the present application is applied. Figure 2 As shown, the communication system includes a first electronic device 100 , a second electronic device 200 , a third electronic device 300 and a server 400 .

[0097] Optionally, the first electronic device 100 or the second electronic device 200 may be connected to one or more third electronic devices 300 for managing and controlling the third electronic devices 300 .

[0098] Optionally, the first electronic device 100 or the second electronic device 200 may be a dedicated device for controlling smart home devices, or a device including the function of controlling smart home devices. For example, the first electronic device 100 or the second electronic device 200 may be a smart home device control panel, or a terminal device such as a mobile phone, a tablet, a smart speaker, a smart watch, etc. Among them, the smart home device control panel is a dedicated device for controlling smart home devices in a smart home system. In some embodiments, the first electronic device 100 or the second electronic device 200 may be a fixed device or a portable device. This application does not impose any special restrictions on the specific form of the first electronic device 100 or the second electronic device 200.

[0099] In some embodiments, the first electronic device 100 or the second electronic device 200 is connected to one or more third electronic devices 300 to obtain device information of the third electronic device 300. The first electronic device 100 or the second electronic device 200 provides a human-computer interaction interface, displays device information of the third electronic device 300 to the user through the human-computer interaction interface, and receives control commands from the user on the devices of the third electronic device 300.

[0100] In some embodiments, a first application is installed in the first electronic device 100 or the second electronic device 200. The first application is a smart home application that can connect to a smart home device and edit and manage the smart home device. Figure 2 As shown, the first electronic device 100 or the second electronic device 200 is connected to one or more third electronic devices 300 through a first application. Optionally, the first application is a smart life application. It should be understood that the third electronic device 300 connected to the first electronic device 100 and the third electronic device 300 connected to the second electronic device 200 are the same, different, or partially the same.

[0101] Optionally, the server 400 may be a device or network device with computing functions such as a cloud server or a network server. The server 400 may be a single server, or a server cluster consisting of multiple servers, or a cloud computing service center. The server 400 may also be described as a smart home cloud platform, which is used to manage smart home devices included in the smart home system, scenes corresponding to the smart home devices, etc.

[0102] Optionally, the third electronic device 300 may be, for example, a speaker, a smart screen, a desk lamp, a light, a camera, an air purifier, a mobile phone, a tablet computer, a personal computer (PC), a personal digital assistant (PDA), a netbook, a wearable electronic device, an artificial intelligence terminal, or other terminal devices. The present application does not impose any special restrictions on the specific form of the third electronic device 300. The operating system installed in the third electronic device 300 includes but is not limited to Or other operating systems. The third electronic device 300 may not be installed with an operating system. In some embodiments, the third electronic device 300 may be a fixed device or a portable device. This application does not limit the specific type of the third electronic device 300, whether an operating system is installed, and the operating system installed when an operating system is installed.

[0103] In some embodiments, the third electronic device 300 may be a smart home device, and each third electronic device 300 may be connected to each other to form a smart home system. The third electronic device 300 may be connected to the server 400, and the server 400 manages each third electronic device 300.

[0104] For example, the server 400 manages one or more third electronic devices 300 included in one or more homes in a home unit. When the third electronic device 300 requests to join the network configuration of the smart home system, the server 400 adds the third electronic device 300 to the corresponding home. In this way, during the network configuration process, the server 400 can obtain device information of the third electronic device 300 included in a home.

[0105] In some examples, after the first electronic device 100 or the second electronic device 200 logs in to the first application, the server 400 can determine the home corresponding to the account based on the account logged in by the first application, and then determine the device information of the third electronic device 300 included in the home. In some examples, an account of the first application can also correspond to multiple homes. Then, after the first electronic device 100 or the second electronic device 200 logs in to the first application, it can determine the home of the third electronic device 300 that the current user instructs to control based on the user operation, and the server 400 can also obtain the corresponding device information of the third electronic device 300.

[0106] In some embodiments, the second electronic device 200 completes the arrangement of the scene in response to the user's operation in the first application. Afterwards, the second electronic device 200 can send the arranged scene to the server 400 according to the user's operation to complete the release of the scene. After receiving the scene uploaded by the second electronic device 200, the server 400 can obtain the scene information included in the scene, such as the third electronic device 300, trigger conditions, execution tasks, etc. included in the scene.

[0107] Subsequently, the first electronic device 100 determines that the user indicates to display the scene recommendation page according to the user's operation in the first application, and can send a scene recommendation request to the server. After receiving the scene recommendation request, the server 400 can obtain the device information of the third electronic device 300 under the account of the first application currently logged in by the first electronic device 100, thereby matching one or more recommended scenes with the highest adaptability in the published scenes according to the device information, and sending the recommended scene to the first electronic device 100. In this way, the first electronic device 100 can obtain recommended scenes that better meet the actual usage needs of the user.

[0108] In some embodiments, Figure 2 As shown, the above communication system may also not include the first electronic device 100 (or the second electronic device 200). The first electronic device 100 (or the second electronic device 200) is added to the home managed by the server 400, and the server 400 can directly obtain the information of all the third electronic devices 300 in the home. Then, subsequently, any electronic device with processing capability among the third electronic devices 300 can send a request to the server 400 as needed to obtain the information of other third electronic devices 300. Afterwards, the electronic device, as the main device, can be used to control other third electronic devices 300 and create a scene including one or more third electronic devices 300.

[0109] That is, the third electronic device 300 includes the first electronic device 100 (or the second electronic device 200).

[0110] In some embodiments, the operating system is, for example, a smart home system, and the third electronic device 300 is a smart home device. Alternatively, the operating system is a smart office system, and the third electronic device 300 is a smart office device. Alternatively, the communication system may also be other communication systems such as a smart campus communication system, which is not limited in the embodiments of the present application. The following takes the case where the communication system is, for example, a smart home system and the third electronic device 300 is a smart home device as an example to introduce in detail the scenario recommendation method provided in the embodiments of the present application.

[0111] Optionally, the first electronic device 100, the second electronic device 100, the third electronic device 300, and the server 400 in the embodiment of the present application may be implemented by different devices, and the different devices may have the same, similar, or somewhat different hardware structures, such as Figure 3 or Figure 4 The hardware structure shown.

[0112] For example, the first electronic device 100 has Figure 3 Take the hardware structure shown in the figure as an example. Figure 3 The hardware structure shown is described.

[0113] For example, Figure 3 A schematic structural diagram of the first electronic device 100 is shown.

[0114] The first electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc.

[0115] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0116] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0117] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0118] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0119] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0120] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to a touch sensor, a charger, a flash, a camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to a touch sensor through an I2C interface, so that the processor 110 communicates with the touch sensor through the I2C bus interface to realize the touch function of the first electronic device 100.

[0121] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the first electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the first electronic device 100.

[0122] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the first electronic device 100, and can also be used to transfer data between the first electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0123] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the first electronic device 100. In other embodiments of the present application, the first electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0124] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the first electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0125] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0126] The wireless communication function of the first electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0127] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the first electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0128] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0129] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device, or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0130] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., applied on the first electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and filters it, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0131] In some embodiments, the antenna 1 of the first electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the first electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0132] In some embodiments, the first electronic device 100 communicates with the server 400 and the third electronic device 300 through the mobile communication module 150 or the wireless communication module 160 to achieve the arrangement, release, download, modification, etc. of the scene.

[0133] The first electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0134] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be manufactured using a liquid crystal display (LCD), such as an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-led, Micro-led, Micro-oled, quantum dot light emitting diodes (QLED), etc. In some embodiments, the first electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0135] In some embodiments, the first electronic device 100, in the process of displaying the first application through the display screen 194, responds to the user's operation of opening the scene recommendation page, and sends a scene recommendation request to the server 400 to obtain the recommended scene sent by the server 400, and the recommended scene is the scene matched by the server 400 according to the device information of the third electronic device 300 managed under the account of the first application logged in by the first electronic device 100. Afterwards, the first electronic device 100 can display the recommended scene information sent by the server 400 through the display 194.

[0136] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the first electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0137] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the first electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0138] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the first electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the first electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.

[0139] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110. The first electronic device 100 can use the audio module 170, such as music playing, recording, etc. The audio module 170 can include a speaker, a receiver, a microphone, a headphone interface, and an application processor to implement audio functions.

[0140] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0141] The pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be set on the display screen 194. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The first electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen, the first electronic device 100 detects the touch operation intensity according to the pressure sensor. The first electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0142] A touch sensor is also called a "touch control device". The touch sensor can be arranged on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor can also be arranged on the surface of the first electronic device 100, which is different from the position of the display screen 194.

[0143] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The first electronic device 100 may receive key input and generate key signal input related to user settings and function control of the first electronic device 100.

[0144] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0145] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0146] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the first electronic device 100 by inserting or removing the SIM card interface 195. The first electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.

[0147] For example, the server 400 has Figure 4 Take the hardware structure shown in the figure as an example. Figure 4 The hardware structure shown is described.

[0148] Figure 4 The hardware structure diagram of the server 400 provided in the embodiment of the present application is shown. The server 400 includes at least one processor 401, a communication line 402, a memory 403 and at least one communication interface 404. The memory 403 may also be included in the processor 401.

[0149] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the server 400. In other embodiments of the present application, the server 400 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0150] The processor 401 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0151] The communication link 402 may include a pathway to transmit information between the above-mentioned components.

[0152] Communication interface 404, used to communicate with other devices. In the embodiment of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other device capable of implementing a communication function, used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver, which is used to receive information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information, and the embodiment of the present application does not limit the specific implementation of the transceiver.

[0153] The memory 403 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 402. The memory may also be integrated with the processor.

[0154] The memory 403 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 401. The processor 401 is used to execute the computer-executable instructions stored in the memory 403, thereby implementing the scene recommendation method provided in the following embodiments of the present application.

[0155] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer program or other names, which are not specifically limited in the embodiments of the present application.

[0156] In a specific implementation, as an embodiment, the processor 401 may include one or more CPUs, such as Figure 4 CPU0 and CPU1 in.

[0157] In a specific implementation, as an embodiment, the server 400 may include multiple processors, such as Figure 4 401 and processor 405 in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0158] In the following, the scenario recommendation method provided in the application embodiment is introduced in detail by taking the first electronic device 100 or the second electronic device 200 as a smart home device control panel or a mobile phone, the third electronic device 300 as a smart home device, and the first application for managing the smart home device as a smart life application as an example.

[0159] Figure 5 This is a flow chart of a scenario recommendation method provided in an embodiment of the present application. It should be noted that this method does not Figure 5 The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0160] S501: The second electronic device sends scene information to a server.

[0161] In some embodiments, the first application is installed in the second electronic device, and in response to the user's operation in the first application, the second electronic device can complete the account registration of the first application. Subsequently, during the operation of the first application, the second electronic device detects the user's operation of adding a device, searches for nearby smart home devices, and configures the searched smart home devices. In the network configuration process, the second electronic device sends the network information of the local area network (such as the network name and password) to the smart home device, assists the smart home device to join the same local area network as the second electronic device, and the smart home device can establish a wireless communication connection with the second electronic device. In addition, the second electronic device sends the device information of the smart home device to the server, so that the server adds the smart home device to the corresponding first application account and assigns a device identity document (ID) to the smart home device. Then, the subsequent server can uniformly manage the smart home devices included in the first application account.

[0162] For example, a user registers for a smart life application and obtains an account username and password. Later, during the network configuration process of a new electronic device, the user logs in to the account through other electronic devices that have been configured (such as a second electronic device) to assist the new electronic device in network configuration. Then, the server divides the electronic devices under the same account into the same home to implement electronic device management based on home. Optionally, the server manages one or more homes, and a home includes all electronic devices in a home added by the user.

[0163] In some embodiments, after the second electronic device is connected to the local area network, it can find other electronic devices connected to the same local area network and / or logged in to the same account, and these electronic devices can be classified as smart home devices in the same home. Then, the electronic devices in the same home can be arranged in scenes.

[0164] Optionally, scene arrangement includes scene creation, scene editing, etc.

[0165] In some embodiments, during the scene arrangement process, the second electronic device sets the trigger conditions, judgment rules, and action execution of the scene. Optionally, the trigger conditions include, for example, manual, voice input, time, location, device status (such as opening a door, etc.), system functions, and other triggering methods. The judgment rules include, for example, rules for judging whether the third electronic device performs a task and the effect of task execution. The action rules include, for example, task information that the third electronic device needs to perform.

[0166] Exemplarily, the second electronic device receives a scene creation command input by the user during the running of the first application and displays a scene creation interface. On the scene creation interface, the second electronic device determines the third electronic device that the user instructs to be added to the currently created scene and the task performed by the third electronic device according to the user's operation, and creates a corresponding scene. The task performed by the third electronic device includes, for example, changing the device state, parameters, etc. Afterwards, the second electronic device can save the scene created by the user, so that subsequent users can choose whether to apply the scene and trigger the scene.

[0167] For example, the mobile phone displays a scene creation interface, creates a home scene according to the user's operation, adds a porch light, air conditioner and curtains to the home scene, where the task of the porch light is to turn on, the task of the air conditioner is to turn on and run in mode 1, and the task of the curtains is to turn off. In addition, the mobile phone responds to the user's operation and sets the trigger condition of the home scene to be the door opening.

[0168] In some embodiments, after completing the arrangement of a scene, the user can choose whether to publish the scene. If the user chooses to publish the scene, the information of the arranged scene can be uploaded to the server. In this way, other users can obtain these published scenes and perform operations such as previewing, evaluating, and importing these scenes, thereby increasing the social attributes of the scene.

[0169] For example, Figure 6As shown in (a), in response to the user's instruction to share the scene, the second electronic device displays interface 601. On interface 601, the user can choose to edit the title, introduction and other information of the scene. Optionally, the user can also trigger the scene execution and record the execution process of the scene to obtain the real scene execution effect. Afterwards, on interface 601, the user can choose to upload the video recorded during the scene execution, so that other users can intuitively understand the scene execution effect through the video after the subsequent scene is released. Optionally, on interface 601, the user can also authorize the upload of location information, which is used to indicate the spatial location of the device in the scene, such as city, district, county, community and other information. Optionally, the second electronic device can automatically locate the user's current location, simplify the user input operation, and the user can modify the automatically located location information. In this way, the server can recommend suitable scenes to other users based on the applicable location of the published scene. Optionally, configuration file information is also displayed on interface 601, and the second electronic device can automatically generate the configuration file information based on the configuration information of the scene.

[0170] Afterwards, in response to the user's operation on the sharing control 61, the second electronic device displays the following Figure 6 Interface 602 shown in (b). A pop-up window 62 is displayed on interface 602, and one or more scene sharing channels can be displayed in window 62. In response to the user's operation on the smart life control 63, the second electronic device determines that the user instructs to share the current scene through the smart life cloud server. Then, the second electronic device can upload the scene information collected through interface 601 to the server (such as the smart life cloud server).

[0171] It should be understood that electronic devices can provide user prompts through pop-up windows, drop-down menus, etc., which will not be elaborated below.

[0172] In some embodiments, the scene information uploaded by the second electronic device to the server also includes device information. For example, the second electronic device determines the third electronic device included in the scene created by the user in response to the user's operation of creating a scene. In some examples, the third electronic device can upload its own device manufacturer, device type and other information during the network configuration process. Then, the second electronic device can obtain the device information of the third electronic device in the scene that has been created, such as part or all of the device manufacturer, device type, number of devices, device name, device identification, etc. In the subsequent scene publishing process, the configuration information generated by the second electronic device includes this device information.

[0173] S502: The first electronic device detects a user request for a recommended scene in a first application.

[0174] S503: The first electronic device sends a scene recommendation request to the server.

[0175] The first application is, for example, a smart life application. It should be understood that the first application can also be other applications, applets, cards, etc. for managing scenes. The following takes the first application being smart life as an example to introduce the scene recommendation process.

[0176] In some embodiments, the first electronic device starts a smart life application in response to a user operation. During the operation of the smart life application, in response to a user instruction to perform a scene recommendation operation, a scene recommendation request may be sent to a server to obtain a recommended scene. Optionally, the scene recommendation request carries account information of the smart life application account of the first electronic device.

[0177] S504: The server determines that the login account of the first application is a whole-house user account. If yes, execute step S505; if no, execute step S506.

[0178] In some embodiments, the smart life application account includes a whole-house user account and a non-whole-house user account. Among them, the whole-house user account means that multiple devices managed by the account are managed by a unified central device, and the central device is, for example, a whole-house smart host, a smart home device control panel, a whole-house smart light host and other types of devices. In some examples, the first electronic device is a central device or is not a central device. A non-whole-house user account means that a unified central device is not configured in the house, and users can connect to smart home devices individually or establish connections with some smart home devices according to their needs to achieve intelligent control.

[0179] In some embodiments, after receiving the scene recommendation request sent by the first electronic device, the server can obtain the smart life application account of the first electronic device. In the device network configuration process, the server can obtain the smart life application account logged in by the device and the device information, so the server can obtain all the device information under a smart life account. Therefore, after obtaining the smart life application account of the first electronic device, the server can determine whether the account is a whole-house user account or a non-whole-house user account based on whether there is a hub device under the account.

[0180] In some examples, when the smart life application account of the first electronic device is a whole-house user account, during the pre-installation process, the houses in the same community not only have similar house types, but also have the same devices in the houses. Therefore, the server can match the scenes published by the devices near the location information according to the location information of the first electronic device. These scenes can be more suitable for the current needs of the first electronic device. Therefore, the server can perform the following step S505 to match the target scene information according to the location information.

[0181] In some examples, when the smart life application account of the first electronic device is not a whole-house user account, the server may execute the following step S506 to match the target scene information according to the device information to obtain a scene that better meets the device situation in the current space.

[0182] S505. The server matches nearby target scene information according to the location information corresponding to the login account.

[0183] In some embodiments, the first electronic device logs into the smart life application, obtains user authorization, and carries the location information of the first electronic device in the scene recommendation request sent to the server. Then, after receiving the scene recommendation request sent by the first electronic device, the server can determine the current location information.

[0184] Optionally, when the first electronic device starts the smart life application for the first time, the user may be prompted to authorize the location information. For example, the first electronic device displays options such as always allowing the acquisition of location information, allowing the acquisition of location information during operation, and not allowing the acquisition of location information through a pop-up window, and then the first electronic device may obtain the corresponding authorization according to the user's selection operation. Alternatively, after detecting that the user instructs to perform a scene recommendation operation, the first electronic device triggers the user to authorize the location information.

[0185] In some other embodiments, when registering a smart life application account, the first electronic device obtains user authorization and sends location information to the server. Then, in response to the received scene recommendation request sent by the first electronic device, the server matches the smart life application account logged in by the first electronic device to obtain the corresponding location information, which can be the unique location information corresponding to the smart life account.

[0186] Optionally, some smart life application accounts can be used to manage multiple homes. Then, after registering the smart life application account, the first electronic device can create a new home and send the location information of the new home to the server. The server assigns different home IDs to different homes under the same smart life application account, and the first electronic device can obtain the home ID. Among them, when the first electronic device detects the user's instruction to perform a scene recommendation operation, the home interface displayed carries the home ID of the home in the scene recommendation request sent to the server. Then, after receiving the scene recommendation request, the server can obtain the home ID, and then the first electronic device determines the location information corresponding to the home ID.

[0187] In some embodiments, the server determines that the login account of the first electronic device is a whole-house user account based on the login account. Then, after obtaining the location information corresponding to the login account, the server can obtain the scene location information included in all published scene information, match the location information corresponding to the login account with the scene location information, obtain the scene location information within a preset range near the location information corresponding to the login account, and determine that the scene information corresponding to these scene location information is the target scene information that needs to be recommended.

[0188] S506: The server matches the target scene information according to the device information corresponding to the login account.

[0189] In some embodiments, the server determines that the login account of the first electronic device is not a whole-house user account based on the login account of the first electronic device. Then, the server can obtain the device information of the third electronic device that has been bound to the login account. In some examples, the smart life application account corresponds to at least one home, and during the network configuration process of the third electronic device, the server has added the third electronic device to the corresponding home. Therefore, after obtaining the smart life application account, the server can obtain the device information of all third electronic devices in the home corresponding to the smart life application account. In some examples, if the smart life application account includes multiple homes, the server can determine the home of the currently required recommended scene based on the home ID carried in the scene recommendation request sent by the first electronic device, and then obtain the device information of all third electronic devices in the home.

[0190] In some embodiments, after obtaining the device information corresponding to the login account (for the convenience of description, the device information is described as device information 1), the server can obtain the device information in the published scene information (for the convenience of description, the device information is described as device information 2). Afterwards, the server matches device information 1 and device information 2 through the <device manufacturer, device type, device quantity> triple, sorts them according to the degree of matching, obtains a preset number of device information 2 that are sorted first, and then determines that the scene information corresponding to these device information 2 is the target scene information.

[0191] It should be understood that a certain device information included in the device information 1 or the device information 2 is all or part of the information in the triplet of <device manufacturer, device type, device quantity>.

[0192] In some examples, the server can determine a unique device item based on the device manufacturer and device type. Then, the server can determine the third electronic device based on the device manufacturer and device type of the third electronic device included in the device information 1. Optionally, after determining the third electronic device, the server can match the device information 2 with the corresponding number of the third electronic devices based on the number of the third electronic devices in the device information 1, so that the first electronic device can implement the recommended scene in the home after obtaining the recommended scene.

[0193] For example, home includes 5 smart lights of model X from manufacturer A. The server matches the published scenes including the smart lights of model X from manufacturer A according to the device manufacturer and device type. Afterwards, the server matches the recommended scene M including 5 of the smart lights among the published scenes. Then, after the first electronic device obtains the recommended scene M sent by the server, it can configure the scene M in home to meet the user's usage needs.

[0194] In some examples, the server obtains the matching degree f(x) of the device item x included in the device information 1 and the device information 2 through the following formula (1). x Indicates the number of equipment items x included in the equipment information corresponding to the login account, b x Indicates the number of device items x in a published scene. When f(x) is greater than 1, it means that the device information corresponding to the logged-in account completely matches the number of device items x in the currently published scene. In this case, in order to avoid affecting the overall matching degree, the server sets the matching degree to 1.

[0195]

[0196] Afterwards, the server obtains the sum of the matching degrees of all equipment items included in equipment information 1 and equipment information 2 through the following formula (2): wherein m represents the number of all equipment items included in equipment information 1. To preset coefficients, in order to avoid data overflow or rollover problems during the calculation process.

[0197]

[0198] Afterwards, the server obtains a preset number of device information 2 with a higher matching degree and a higher ranking according to the sum of the matching degrees of all device items included in device information 1 and device information 2, and then determines the target scene information corresponding to device information 2.

[0199] In this way, the server provides users with more targeted and personalized scenario recommendations based on the device configuration in the home to enhance the user experience.

[0200] S507: The server sends target scene information to the first electronic device.

[0201] In some embodiments, after determining the target scene information, the server may send the target scene information to the first electronic device for scene recommendation. Correspondingly, after receiving the target scene information, the first electronic device may display a scene recommendation interface and display the target scene information on the scene recommendation interface.

[0202] For example, Figure 7 As shown, the first electronic device detects the user clicking the scene control 71 during the process of displaying the smart life application discovery interface 701, and determines that the user instructs to recommend a scene. The first electronic device can send a scene recommendation request to the server.

[0203] Some examples include Figure 8 As shown, after receiving the scene recommendation request sent by user B through the first electronic device, the server determines that the login account of the smart life application in the first electronic device is the whole-house user account. Then, the server can match the scene information with the publishing location within a preset range nearby according to the location information corresponding to user B, such as the server matches the scene published by user A. Afterwards, the server can push the scene to the first electronic device of user B to send the target scene information. It can be seen that the locations of user A and user B are relatively close, such as being located in the same community, so the house types and third electronic devices included in the homes of user A and user B may be the same, so that the target scene information matched by the server can be used by user B to a greater extent and is effective scene information. Accordingly, after receiving the target scene information sent by the server, the first electronic device can display the following Figure 7 Interface 702 shown in (b). On interface 702, as shown by reference numeral 72, the first electronic device displays the discovered nearby scenes. Among them, these nearby scenes can be sorted according to the degree of matching, with the ones with a high degree of matching being sorted first and the ones with a low degree of matching being sorted later. Afterwards, the user can choose to view the corresponding recommended scenes according to their own needs and determine whether they need to be imported for use. Optionally, as shown in step S501 above, the scene information includes the title, introduction, video and other information of the scene, and the user can fully understand the scenes recommended by the server based on the scene information.

[0204] In other examples, after receiving the scene recommendation request sent by the first electronic device, the server determines that the login account of the smart life application in the first electronic device is not a whole-house user account. Then, the server matches and recommends scenes based on the device information of the first electronic device. Accordingly, after receiving the target scene information sent by the server, the first electronic device can display the following Fig. 9Interface 901 is shown. On interface 901, as shown by reference numeral 91, the first electronic device displays scenes recommended by the server for the user to browse and import.

[0205] In this way, the server recommends scenarios based on the actual usage needs of users, and can realize personalized scenario usage. Compared with publishing scenarios that are limited to general scenarios published by scenario designers, the scenario recommendation method provided in the embodiment of the present application can make scenario recommendation more effective, and users can actually obtain the scenarios they need, thereby improving the user experience.

[0206] In addition, through the scene publishing channel, the needs of users to share scenes are met. And for some users with stronger capabilities, scenes with better usage effects can be arranged.

[0207] In addition, users can browse more personalized scene recommendation content through simple operations and choose to import and use it, which effectively simplifies the user's scene configuration operation.

[0208] In some embodiments, after receiving the scene recommendation request, the server may also directly match the target scene information according to the device information corresponding to the login account of the smart life application. That is, the above step S504 is an optional step.

[0209] In this way, the server can make more accurate scene recommendations based on device information, so that the recommended scenes better meet the user's actual usage needs.

[0210] In some embodiments, after receiving the scene recommendation request, the server may also first match the target scene information according to the location information corresponding to the login account of the smart life application, and obtain the target scene information 1. Afterwards, the server further matches the target scene information 1 that has been matched according to the device information corresponding to the login account of the smart life application, and obtains the final target scene information 2. Afterwards, the server may feed back the target scene information 2 to the first electronic device.

[0211] Optionally, when the login account of the smart life application is a whole-house user account, the server first matches the scene information according to the location information corresponding to the login account, and then matches the scene information according to the device information corresponding to the login account.

[0212] Optionally, the server may first match the scene information according to the device information corresponding to the login account of the smart life application, and then match the scene information according to the location information corresponding to the login account.

[0213] In this way, the server combines location information and device information to achieve more accurate target scene information recommendations.

[0214] In some embodiments, after detecting that the user instructs to perform a scene recommendation operation, the first electronic device may pop up a window to prompt the user to select a scene recommendation method. For example, the scene recommendation method includes recommending the closest scene, scenes in similar house types, scenes corresponding to similar devices, etc. Figure 7 The operation of the scene control 71 in the interface 701 shown in (a) is shown as follows Fig.10 Interface 1001 is shown. On interface 1001, the user can select the required scene recommendation method. Afterwards, in response to the user's operation of the confirmation control 101, the first electronic device sends a scene recommendation request to the server, and carries the scene recommendation method selected by the user in the scene recommendation request. Accordingly, after receiving the scene recommendation request, the server can match the corresponding target scene information according to the scene recommendation method carried therein. Optionally, in the case where the scene recommendation method selected by the user is to recommend the scene with the closest distance, if the first electronic device has obtained the user's authorization to obtain the location information, the location information can be carried in the scene recommendation request; if the first electronic device has not obtained the user's authorization to obtain the location information, the first electronic device can pop up a window to prompt the user to authorize.

[0215] In this way, the server can make scene recommendations based on the scene recommendation method required by the user, thereby recommending to the user scenes that better meet the user's actual usage needs.

[0216] In some embodiments, after receiving the scene recommendation request sent by the first electronic device, the server can also directly match the target scene information according to the information carried in the scene recommendation request. That is, the server does not need to distinguish the login account of the smart life application in the first electronic device, or whether the login account is a whole-house user account.

[0217] For example, after the first electronic device detects that the user requests a recommended scene in a smart life application, it obtains the current location information. After that, the first electronic device sends a scene recommendation request carrying the location information to the server. Then, after receiving the scene recommendation request, the server can match the target scene information according to the location information therein. In this way, the first electronic device can also obtain the target scene information that meets the user's usage needs.

[0218] For another example, after the first electronic device detects that the user requests an operation to recommend a scene in a smart life application, it obtains the location information corresponding to the current login account edited by the user. Afterwards, the first electronic device sends a scene recommendation request carrying the location information to the server. Then, after receiving the scene recommendation request, the server can match the target scene information according to the location information therein. In this way, the first electronic device can also obtain the target scene information that meets the user's usage needs. Optionally, the location information corresponding to the current login account edited by the user is, for example, the location information input by the user obtained by the first electronic device in response to the user's request to recommend a scene, displaying prompt information; or, the location information is the location information pre-entered by the user into the smart life application; or, the location information is the location information obtained by the first electronic device from other applications of the first electronic device.

[0219] For another example, after the first electronic device detects that the user requests a recommended scene in a smart life application, it obtains the device information corresponding to the home interface displayed by the current smart life application, such as the device identification of all devices included in the home. Afterwards, the first electronic device sends a scene recommendation request carrying the device information to the server. Then, after receiving the scene recommendation request, the server can match the target scene information according to the device information therein. In this way, the first electronic device can also obtain the target scene information that meets the user's usage needs. Optionally, after obtaining the device information sent by the first electronic device, the server can also obtain more detailed device information entered by the device corresponding to the device information during the network configuration process. Afterwards, the server matches the target scene information based on the more detailed device information.

[0220] For another example, if the first electronic device is not logged into the smart life application, then after detecting the user's request for a recommended scene in the smart life application, the first electronic device can obtain the device information and / or location information stored in the first electronic device, and carry the device information and / or location information in the scene recommendation request sent to the server. In this way, the server can also match the target scene information that meets the user's usage needs based on the device information and / or location information sent by the first electronic device.

[0221] In this way, the server achieves target scene information matching based on the information uploaded by the first electronic device, simplifies the target scene information matching process, and improves the target scene information matching efficiency.

[0222] In some embodiments, the server may obtain target scene information less than the preset amount during the process of matching the preset amount of target scene information.

[0223] In some examples, the server may send matched target scene information to the first electronic device. This part of the target scene information is the best matching scene information and can better meet the actual usage needs of the user.

[0224] In other examples, the server can match the target scene information of different quantities in a preset manner. For example, the preset number is 10. The server matches 8 target scene information within a preset range nearby based on the smart life application account being a user account for the whole house. Then, the server can match 2 target scene information based on the device information corresponding to the smart life application account to recommend a preset number of target scene information to the first electronic device. Alternatively, the server matches 8 target scene information within a preset range nearby based on the smart life application account being a user account for the whole house. Then, the server can expand a certain preset range based on the preset range floating threshold, and then match 2 target scene information within a slightly farther range nearby to recommend a preset number of target scene information to the first electronic device.

[0225] In some embodiments, the third electronic device included in the target scene information matched by the server may exceed the coverage of the third electronic device included in the device information corresponding to the smart life application account. Then, the server can send device recommendation information to the first electronic device to recommend the third electronic device that is not installed in the home corresponding to the smart life application account. Therefore, in the case where the recommended scene is not completely matched, the user can also purchase a suitable third electronic device according to the device recommendation information, thereby completing the configuration of the favorite scene.

[0226] For example, the user's home includes 10 effect lights and a smart screen, and the target scene information recommended by the server includes an audio-visual entertainment scene. The realization of the audio-visual entertainment scene requires the cooperation of 10 effect lights, a smart screen, and a smart speaker. Then, in the process of recommending the scene, the server can send device recommendation information to the first electronic device, and the device recommendation information includes information about the smart speaker, such as manufacturer, model, etc. In this way, when the user wants to use the audio-visual entertainment scene, he can also purchase a suitable smart speaker according to the device recommendation information to realize the use of the scene and further enhance the user's experience.

[0227] In some embodiments, the first electronic device may import the target scene information in response to a user operation during the process of displaying the target scene information to complete the configuration of the target scene. Subsequently, in response to satisfying the trigger condition of the target scene, the first electronic device may send a control command to a third electronic device included in the target scene to trigger the third electronic device to perform the corresponding target scene task, thereby realizing the application of the target scene.

[0228] In some examples, after importing the target scene information, the first electronic device may also modify the target scene information according to user operations to better meet the user's usage needs.

[0229] Exemplarily, the target scene is an audio-visual entertainment scene, including 10 effect lights, a smart screen, and a smart speaker. After the user imports the target scene information, he finds that only 8 effect lights are configured in the room where the smart screen is located in his home. Then, the user can modify the target scene to make it more in line with the equipment requirements in the actual physical space nearby. After the first electronic device modifies the target scene in response to the user's editing operation, it can save the modified target scene for subsequent use of the modified target scene. Alternatively, the user finds that the execution parameters in the target scene task executed by the third electronic device in the imported target scene information are not the parameters he needs, and he can also modify the parameters to better meet his needs. For example, the target scene information indicates that the air conditioner is started at 26°C, and the air conditioning temperature that the user is accustomed to using is 23°C. Then, the first electronic device can modify the target scene task execution parameters of the air conditioner included in the target scene according to the user's operation, and save the modified target scene.

[0230] In this way, a scene modification entry is provided to users, so that end users can obtain scenes that better meet their usage needs and improve their usage experience.

[0231] In some examples, after modifying the target scene information, the user may also choose to upload the acquired new scene information to the server to facilitate other users to use the scene information.

[0232] For example, Figure 8 As shown, after the server pushes the scene to user B, user B rearranges the imported scene. Afterwards, the user can choose to upload the rearranged scene to the server.

[0233] In some embodiments, the first electronic device may receive user evaluation operations such as comments, likes, likes, and dislikes on the target scene information during the process of displaying the target scene information. In response to the user's evaluation operation, the first electronic device generates evaluation information. Afterwards, the first electronic device may send the evaluation information to the server. Correspondingly, the server receives the evaluation information on the target scene information sent by the first electronic device. Then, in the process of making scene recommendations, the server includes the evaluation information in the target recommendation scene information sent to the first electronic device or the second electronic device.

[0234] In this way, by adding the evaluation function, the social attribute of scene recommendation is increased, meeting the needs of users to communicate with others about scenes. In addition, users can also refer to other people's evaluation information on scenes to determine whether to import the scene, thus realizing flexible scene import.

[0235] Based on the above embodiments, in some examples, in the process of implementing scene recommendation, user behavior can form a closed loop. Fig.11 As shown, during the scene arrangement process, users can create their own scenes according to the actual equipment conditions at home, their own usage needs, their own arrangement capabilities and other conditions. Afterwards, users can export the created scenes and save them locally for backup. In addition, users can also choose whether to publish the created scenes. In addition, users can also choose to download scenes posted by others on the server, browse and evaluate them, import their favorite scenes to the local computer, and choose whether to apply the imported scenes. During the scene application process, users can also rearrange the scenes according to their own needs and choose whether to publish the rearranged scenes.

[0236] It should be understood that the user can choose to execute part or all of the above closed-loop user behavior.

[0237] In this way, by increasing the social attributes of scene recommendations, users can obtain scenes that are more in line with actual usage needs, increase the fun of scene recommendations, and improve the user experience.

[0238] In some embodiments, the above embodiments take the example of the first electronic device requesting a recommended scene from the server and the server determining the target scene information as an example to introduce the scene recommendation process. In some examples, the first electronic device may also request the server to obtain the published scene information, and then the first electronic device may match the target scene locally according to the location information or device information after detecting the user's instruction to perform a scene recommendation operation, and complete the scene recommendation.

[0239] Optionally, the first electronic device, in response to the user indicating the recommended scene operation, requests the server to obtain the published scene information. Alternatively, the first electronic device, in response to the user starting the smart life application operation, requests the server to obtain the published scene information. Alternatively, after obtaining the scene information uploaded by the second electronic device, the server actively synchronizes the scene information with the first electronic device.

[0240] Fig.12 This is a flow chart of another scenario recommendation method provided in the embodiment of the present application. It should be noted that this method does not Fig.12The specific order described below is a limitation, and it should be understood that in other embodiments, the order of some steps in the method can be interchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:

[0241] S1201: A first electronic device obtains a first operation of a user on the first electronic device.

[0242] The first operation is, for example, an operation of requesting a scene recommendation. Optionally, the first operation is, for example, an operation on a first application (such as a smart life application).

[0243] For example, the first electronic device detects a first operation of the user starting the first application, and determines that a scene recommendation is required. For another example, the first electronic device detects an operation of the user instructing to display a scene recommendation interface of the first application, and determines that a scene recommendation is required.

[0244] S1202: In response to the first operation, the first electronic device obtains first information.

[0245] In some examples, the first electronic device determines the first location information based on the positioning information of the first electronic device and / or the user information of the user. Optionally, the user information of the user includes the first location information recorded under the account logged in by the first electronic device.

[0246] For example, the first electronic device acquires current location information in response to the first operation. Then, subsequently, the first information sent by the first electronic device to the server includes the location information.

[0247] For another example, the first electronic device obtains user information of the user in response to the first operation, and the user is, for example, the location information corresponding to the edited current login account. Optionally, the location information is, for example, the location information input by the user obtained by the first electronic device in response to the first operation by displaying prompt information; or, the location information is the location information pre-entered by the user into the first application; or, the location information is the location information obtained by the first electronic device from other applications of the first electronic device. Then, the first information sent by the first electronic device to the server includes the location information.

[0248] In some examples, the first electronic device determines the first device information based on information of at least one smart device in a control space of the first electronic device.

[0249] Optionally, the first device information includes one or more of the device type, device manufacturer, device model, and device quantity of the smart device recorded under the account logged in by the first electronic device. Optionally, at least one smart device is recorded under the account logged in by the first electronic device.

[0250] For example, the first electronic device obtains information of at least one smart device managed under the currently running smart life application account in response to a user operation. Then, subsequently, the first information sent by the first electronic device to the server includes the device information.

[0251] For example, the user's home includes 10 effect lights, smart screens and smart speakers. In the scene recommendation process, the second scene that includes these smart devices in the published scenes can be recommended to the user. In this way, scene recommendations are made based on the actual situation of the smart devices included in the space, so that the recommended scene can better meet the actual usage needs of the user, and the user can actually use the recommended scene, thereby improving the user's usage experience.

[0252] S1203: The first electronic device sends first information to the server.

[0253] In some embodiments, after acquiring the first information, the first electronic device sends the first information to the server. Correspondingly, the server receives the first information sent by the first electronic device.

[0254] S1204. The server determines, based on the first information, a first scenario that matches the first location information and / or a second scenario that matches the first device information, wherein the first information includes at least one of the first location information or the first device information.

[0255] In some embodiments, the server can obtain a scene uploaded by at least one electronic device. For example, after a user arranges a scene according to his / her own needs, the arranged scene can be uploaded to the server.

[0256] In some examples, the server may obtain the scene uploaded by the first electronic device. For example, the first electronic device displays a scene sharing interface. In response to the fourth operation of the user on the scene sharing interface, the first electronic device obtains the first recommended scene information, and the first recommended scene information includes: one or more of the scene title, scene introduction, scene demonstration video, scene configuration file, and scene location, and the scene configuration file includes third device information and device tasks. Afterwards, the first electronic device sends the first recommended scene information to the server.

[0257] In some other examples, the server may obtain the scene uploaded by the second electronic device. For example, the server receives the second recommended scene information sent by the second electronic device, and the second recommended scene information includes one or more of the scene title, scene introduction, scene demonstration video, scene configuration file, and scene location of the first scene and / or the second scene, and the scene configuration file includes the third device information and device tasks.

[0258] For example, Figure 6As shown in (a), in response to the user's instruction to share the scene, the second electronic device displays interface 601. On interface 601, the user can choose to edit the title, introduction and other information of the scene. Optionally, the user can also trigger the scene execution and record the execution process of the scene to obtain the real scene execution effect. Afterwards, on interface 601, the user can choose to upload the video recorded during the scene execution (i.e., the scene demonstration video), so that other users can intuitively understand the scene execution effect through the video after the subsequent scene is released. Optionally, on interface 601, the user can also authorize the upload of location information (i.e., scene location), which is used to indicate the spatial location of the device in the scene, such as city, district, county, community and other information. Optionally, the second electronic device can automatically locate the user's current location, simplify the user input operation, and the user can modify the automatically located location information. Optionally, configuration file information is also displayed on interface 601, and the second electronic device can automatically generate the configuration file information (i.e., scene configuration file) according to the configuration information of the scene.

[0259] In this way, through the scene publishing channel, the needs of users to share scenes are met. And for some users with stronger capabilities, scenes with better usage effects can be arranged.

[0260] In some embodiments, the server can match a suitable scene in the published scenes according to the first information corresponding to the first electronic device obtained and the first location information and / or the first device information included in the first information. The scene matched by the server meets the requirements of the first information, and thus can meet the user's usage needs and realize personalized recommendation.

[0261] For example, the first electronic device obtains the current positioning information in response to the user's first operation, and sends the positioning information to the server. Among them, the published scenes saved in the server include the scene publishing location. Then, after receiving the positioning information, the server can match the first scene whose scene publishing location in the published scene is near the current positioning information according to the positioning information. In this way, in nearby homes with similar house types, device types, and number of devices, it is possible to recommend scenes that meet actual usage needs to users.

[0262] For another example, a user triggers browsing recommended scenes through a first electronic device while working at the company. The first electronic device responds to the user's first operation and obtains the user's user information, such as the user information includes the first location information recorded under the account logged in by the first electronic device, such as the first location information is the location information of the user's home. Then, after receiving the first location information sent by the first electronic device, the server can perform scene matching according to the first location information, thereby obtaining a second scene that better matches the user's home location information. In this way, the user can actually use the obtained second scene after returning home.

[0263] In other embodiments, after receiving the first information sent by the first electronic device, the server can determine the account of the first application currently logged in by the first electronic device, and then determine whether the account is a whole-house user account. In the case where the account logged in by the first electronic device is a whole-house user account, the server determines the first scene that matches the first location information. In this way, the server can match the scenes published by the devices near the first location information based on the first location information. These scenes can be more suitable for the current needs of the first electronic device. In the case where the account logged in by the first electronic device is not a whole-house user account, the server determines the second scene that matches the first device information. In this way, the server makes more accurate scene recommendations based on the device information, so that the recommended scenes better meet the actual usage needs of the user.

[0264] Optionally, the first information includes user information of the user, such as an account of a first application logged in by the first electronic device, and a home currently being displayed by the first electronic device.

[0265] In some examples, one or more homes can be managed under a first application account. In some examples, all homes in one or more homes correspond to whole-house users, or some homes correspond to whole-house users, and obtaining all homes corresponds to non-whole-house users. Then, an account that is a whole-house user account can also be used to indicate that the home under the account currently performing scene recommendation corresponds to the whole-house user, and an account that is a non-whole-house user account can also be used to indicate that the home under the account currently performing scene recommendation corresponds to the non-whole-house user.

[0266] Optionally, after receiving the first information, the server obtains the account and home information included in the first information, and then determines whether it is a whole-house user account.

[0267] In some embodiments, during the device network configuration process, the smart device managed under the account logged in by the first electronic device has been registered with the server, so the server stores the device information of at least one third electronic device managed under the account. In some examples, the first information carries location information. The server performs scene matching based on the location information to determine the target scene. Afterwards, the server can further match the target scene information based on the saved device information managed under the account logged in by the first electronic device to determine the target scene that is finally matched.

[0268] In other embodiments, during the registration process of the first application account, the server can obtain the location information of the user registration. Therefore, during the scene recommendation process, the first information carries the device information, and the server matches the scene according to the device information to determine the target scene. Afterwards, the server can further match the target scene information according to the saved location information corresponding to the account logged in by the first electronic device to determine the final matched target scene.

[0269] In this way, the location information and device information are combined for scene matching to improve the accuracy of scene recommendations.

[0270] S1205: The server sends the first scene and / or the second scene to the first electronic device.

[0271] In some embodiments, after matching the first scene and / or the second scene, the server sends the first scene and / or the second scene to the first electronic device. Correspondingly, the first electronic device receives the first scene and / or the second scene sent by the server.

[0272] S1206: The first electronic device displays a scene recommendation interface, where the scene recommendation interface includes the first scene and / or the second scene.

[0273] In some embodiments, the first electronic device displays a scene recommendation interface based on the received first scene and / or second scene. The scene recommendation interface is used to display the first scene and / or the second scene. Optionally, all or part of the scenes in the first scene and / or the second scene are displayed on the scene recommendation interface. Optionally, the information of the first scene and / or the second scene displayed on the scene recommendation interface is part or all of the information of the first scene and / or the second scene obtained by the first electronic device from the server. In the case of displaying partial information, in response to the user's operation on one of the scenes, the first electronic device may display the details page of the scene to display all the information of the scene.

[0274] In this way, the server recommends scenarios based on the actual usage needs of users, and can realize personalized scenario usage. Compared with publishing scenarios that are limited to general scenarios published by scenario designers, the scenario recommendation method provided in the embodiment of the present application can make scenario recommendation more effective, and users can actually obtain the scenarios they need, thereby improving the user experience.

[0275] In addition, users can browse more personalized scene recommendation content through simple operations and choose to import and use it, which effectively simplifies the user's scene configuration operation.

[0276] In some embodiments, the first electronic device obtains a second operation of the user, where the second operation is an editing operation on the first scene or the second scene. After performing the second operation, the first electronic device obtains and saves the edited first scene or the second scene.

[0277] Optionally, the first electronic device may also send the edited first scene or second scene to the server.

[0278] In this way, users can customize and modify the recommended scenarios according to their own needs, so that the use of recommended scenarios can better meet the personalized needs of users and the actual application needs of devices in the current home.

[0279] Furthermore, the user can save the edited scene so that the user can subsequently choose whether to use the edited scene and when to use it.

[0280] In addition, users can upload edited scenes to the server to increase the social attributes of scene recommendations and meet users' social needs.

[0281] In some embodiments, in response to a fifth operation performed by the user on the first electronic device, the first electronic device obtains the user's evaluation information on the first scene and / or the second scene, and the evaluation information includes any one or more of comments, likes, likes, and dislikes on the first scene and / or the second scene.

[0282] In this way, the social attributes of scene recommendations are increased to meet the social needs of users. In addition, other users can also further understand the actual use of the scene based on the evaluation information of the scene and determine whether to import and use the scene, further improving the user experience.

[0283] In some embodiments, in response to a sixth operation of the user on the first recommended scene interface, the first electronic device saves the target scene indicated by the sixth operation.

[0284] In this way, when browsing the recommended scenes, the user can choose to import the target scene he likes according to his own needs, so as to realize the actual use of the recommended scene.

[0285] In some embodiments, the target scene is executed on the first electronic device, or the first electronic device sends the target scene to other electronic devices.

[0286] Optionally, after the first electronic device imports the target scene, it sends a configuration instruction to the third electronic device controlled by the target scene instruction according to the information of the target scene to complete the configuration of the scene. Alternatively, the first electronic device sends the target scene selected by the user to the control device (such as a smart home device control panel) that manages the third electronic device, and then the control device can execute the target scene, such as completing the configuration of the target scene.

[0287] In some embodiments, the first electronic device obtains a third operation of the user on the first electronic device. In response to the third operation, the second information is obtained. The first electronic device displays a second recommended scene interface based on the second information, and the second recommended scene interface includes a third scene matching the second location information, and / or a fourth scene matching the second device information, the second information includes at least one of the second location information or the second device information, and the third scene or the fourth scene is used to control at least one smart device in the control space of the first electronic device.

[0288] In this way, after the first information changes (such as changes to the second information), the first electronic device can also obtain the recommended scene matching the changed first information, so that the scene recommendation process can meet the actual usage needs of the user.

[0289] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information (such as location information, etc.) involved are in compliance with the relevant laws and regulations and do not violate public order and good morals. For example, in the technical solution of this application, the processing of user personal information is carried out with the authorization of the user, which is uniformly explained here and will not be repeated below.

[0290] Combination of the above Figure 5-Figure 12 The scene recommendation method provided by the embodiment of the present application is described in detail. Fig.13 Detailed description of the first electronic device provided in the embodiment of the present application, and Fig.14 The server provided in the embodiment of the present application is described in detail.

[0291] In one possible design, Fig.13 This is a schematic diagram of the structure of a first electronic device provided in an embodiment of the present application. Fig.13 As shown, the first electronic device 1300 may include: a transceiver unit 1301, a processing unit 1302, and a display unit 1303. The first electronic device 1300 may be used to implement the functions of the first electronic device 100 involved in the above method embodiment.

[0292] Optionally, the transceiver unit 1301 is used to support the first electronic device 1300 to execute Figure 5 S502, S503 and S507 in; and / or, for supporting the first electronic device 1300 to execute Fig.12 S1201, S1203 and S1205 in it.

[0293] Optionally, the processing unit 1302 is used to support the first electronic device 1300 to execute Fig.12 S1202 in.

[0294] Optionally, the display unit 1303 is used to support the first electronic device 1300 to display interface content; and / or to support the first electronic device 1300 to execute Fig.12 S1206 in.

[0295] Among them, the transceiver unit may include a receiving unit and a sending unit, and may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the first electronic device 1300 are respectively to implement the corresponding process of the scene recommendation method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.

[0296] Optionally, Fig.13 The first electronic device 1300 shown may also include a storage unit ( Fig.13 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1301, the processing unit 1302 and the display unit 1303 execute the program or instruction, Fig.13 The first electronic device 1300 shown can execute the scene recommendation method described in the above method embodiment.

[0297] Fig.13 The technical effects of the first electronic device 1300 shown can refer to the technical effects of the scene recommendation method described in the above method embodiment, and will not be repeated here.

[0298] In addition to being in the form of the first electronic device 1300, the technical solution provided in the present application may also be a functional unit or chip in the first electronic device, or a device used in conjunction with the first electronic device.

[0299] In one possible design, Fig.14 This is a schematic diagram of the structure of the server provided in the embodiment of the present application. Fig.14As shown, the server 1400 may include: a transceiver unit 1401 and a processing unit 1402. The server 1400 may be used to implement the functions of the server 400 involved in the above method embodiment.

[0300] Optionally, the transceiver unit 1401 is used to support the server 1400 to execute Figure 5 S503 and S507 in; and / or, for supporting the server 1400 to execute Fig.12 S1203 and S1205 in.

[0301] Optionally, the processing unit 1402 is used to support the server 1400 to execute Figure 5 S504, S505 and S506 in; and / or, for supporting the server 1400 to execute Fig.12 S1204 in.

[0302] Among them, the transceiver unit may include a receiving unit and a sending unit, which may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module. The operations and / or functions of each unit in the server 1400 are respectively to implement the corresponding process of the scene recommendation method described in the above method embodiment. All relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional unit, and for the sake of brevity, they will not be repeated here.

[0303] Optionally, Fig.14 The server 1400 shown may also include a storage unit ( Fig.14 (not shown), the storage unit stores a program or instruction. When the transceiver unit 1401 and the processing unit 1402 execute the program or instruction, Fig.14 The server 1400 shown can execute the scene recommendation method described in the above method embodiment.

[0304] Fig.14 The technical effects of the server 1400 shown can refer to the technical effects of the scene recommendation method described in the above method embodiment, and will not be repeated here.

[0305] In addition to being in the form of server 1400, the technical solution provided by the present application may also be a functional unit or chip in the server, or a device used in conjunction with the server.

[0306] An embodiment of the present application also provides a chip system, including: a processor, the processor is coupled to a memory, the memory is used to store programs or instructions, when the program or instructions are executed by the processor, the chip system implements the method in any of the above method embodiments.

[0307] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0308] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0309] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.

[0310] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0311] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a computer, the computer executes the above-mentioned related steps to implement the scene recommendation method in the above-mentioned embodiment.

[0312] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the scene recommendation method in the above-mentioned embodiment.

[0313] In addition, an embodiment of the present application further provides a device. The device may be a component or a module, and the device may include one or more processors and a memory connected to each other. The memory is used to store a computer program. When the computer program is executed by one or more processors, the device performs the scene recommendation method in the above-mentioned method embodiments.

[0314] Among them, the device, computer-readable storage medium, computer program product or chip provided in the embodiments of the present application are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0315] The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs or any other form of storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC).

[0316] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed; that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0317] In the several embodiments provided in the present application, it should be understood that the disclosed method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of modules or units, which can be electrical, mechanical or other forms.

[0318] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0319] Computer-readable storage media include, but are not limited to, any of the following: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media that can store program codes.

[0320] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A scene recommendation method, characterized in that: Applied to a first electronic device, the method includes: Acquire a first operation performed by a user on the first electronic device; In response to the first operation, obtaining first information; Based on the first information, a first recommended scene interface is displayed, wherein the first recommended scene interface includes a first scene matching the first location information and / or a second scene matching the first device information, wherein the first information includes at least one of the first location information or the first device information, and the first scene or the second scene is used to control at least one smart device in the control space of the first electronic device.

2. The method according to claim 1, characterized in that The acquiring first information in response to the first operation includes: The first location information is determined according to the positioning information of the first electronic device and / or the user information of the user.

3. The method according to claim 2, characterized in that The user information of the user includes the first location information recorded under the account logged in by the first electronic device.

4. The method according to any one of claims 1 to 3, characterized in that: The acquiring first information in response to the first operation includes: The first device information is determined according to information of at least one smart device in the control space of the first electronic device.

5. The method according to claim 4, characterized in that The first device information includes one or more of the device type, device manufacturer, device model, and device quantity of the smart device recorded under the account logged in by the first electronic device.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquire a second operation of the user, where the second operation is an editing operation on the first scene or the second scene; After performing the second operation, the edited first scene or the second scene is acquired and saved.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Acquire a third operation performed by the user on the first electronic device; In response to the third operation, obtaining second information; Based on the second information, a second recommended scenario interface is displayed, and the second recommended scenario interface includes a third scene matching the second location information and / or a fourth scene matching the second device information. The second information includes at least one of the second location information or the second device information. The third scene or the fourth scene is used to control at least one smart device in the control space of the first electronic device.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Display the scene sharing interface; In response to a fourth operation of the user on the scene sharing interface, first recommended scene information is obtained, where the first recommended scene information includes: one or more of a scene title, a scene introduction, a scene demonstration video, a scene configuration file, and a scene location, where the scene configuration file includes third device information and a device task; The first recommended scene information is sent to the server.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: In response to a fifth operation performed by the user on the first electronic device, evaluation information of the user on the first scene and / or the second scene is obtained, wherein the evaluation information includes any one or more of comments, likes, likes, and dislikes on the first scene and / or the second scene.

10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: In response to a sixth operation performed by the user on the first recommended scene interface, a target scene indicated by the sixth operation is saved.

11. The method according to claim 10, characterized in that The method further comprises: The target scene is executed on the first electronic device, or the first electronic device sends the target scene to other electronic devices.

12. A scene recommendation method, characterized in that: Applied to a server, the method comprises: Acquire first information corresponding to the first electronic device; Determining, according to the first information, a first scenario matching the first location information and / or a second scenario matching the first device information, wherein the first information includes at least one of the first location information or the first device information; The first scene and / or the second scene is sent to the first electronic device, where the first scene or the second scene is used to control at least one smart device in a control space of the first electronic device.

13. The method according to claim 12, characterized in that The acquiring first information corresponding to the first electronic device includes: The first location information is determined according to the positioning information and / or user information of the first electronic device.

14. The method according to claim 12 or 13, characterized in that The acquiring first information corresponding to the first electronic device includes: The first device information is determined according to information of at least one smart device in the control space of the first electronic device.

15. The method according to any one of claims 12 to 14, characterized in that: The determining, according to the first information, a first scenario matching the first location information and / or a second scenario matching the first device information includes: In a case where the account logged into the first electronic device is a whole-house user account, determining the first scene matching the first location information; When the account logged in by the first electronic device is not a whole-house user account, the second scenario matching the first device information is determined.

16. The method according to any one of claims 12 to 15, characterized in that: Before acquiring the first information corresponding to the first electronic device, the method further includes: Receive second recommended scene information sent by a second electronic device, wherein the second recommended scene information includes one or more of a scene title, a scene introduction, a scene demonstration video, a scene configuration file, and a scene location of the first scene and / or the second scene, and the scene configuration file includes third device information and device tasks.

17. An electronic device, characterized in that: include: A processor, a memory and a display screen, wherein the memory and the display screen are coupled to the processor, the memory is used to store computer program code, and the computer program code includes computer instructions. When the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 1 to 11.

18. A server, characterized in that: include: A processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor reads the computer instructions from the memory, the electronic device executes the method as described in any one of claims 12-16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program, which, when executed on an electronic device, enables the electronic device to execute a method as described in any one of claims 1 to 11; or, when executed on a server, enables the server to execute a method as described in any one of claims 12 to 16.

20. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 11; or the computer is enabled to execute the method according to any one of claims 12 to 16.