Device scene determination method and device, storage medium and electronic device

By obtaining the operation data of the target object using smart devices in the target area, generating and recommending scenarios, the problem of being unable to actively recommend scenarios in the prior art is solved, and the user experience and difficulty of using is improved.

CN115167164BActive Publication Date: 2025-02-11QINGDAO HAIER TECH +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210817071.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-12
Publication Date
2025-02-11
Estimated Expiration
2042-07-12

Smart Images

  • Figure CN115167164B_ABST
    Figure CN115167164B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for determining a device scene, a storage medium and an electronic device, and relates to the field of smart home technology. The method for determining a device scene comprises: obtaining operation data generated by a target object using a device in a target area; wherein the operation data comprises: an operation instruction sent by the target object for determining corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; generating multiple recommended scenes for the target object to use the device based on the operation data, and adding the multiple recommended scenes to a scene recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object; receiving a first scene request sent by the target object in the target application, and determining a target scene to be executed from the scene recommendation list, thereby solving the problem in the related art that scenes cannot be actively recommended to the target object according to the operation habits of the target object using smart devices.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a method and apparatus for determining a device scene, a storage medium, and an electronic device. Background Art

[0002] Now with the rapid development of smart home appliances, more and more smart home appliances are entering homes, and the concept of smart home has also emerged, which has realized a more intelligent experience for various traditional home scenes, including bedrooms, kitchens, living rooms, balconies, bathrooms, etc., greatly improving the quality of life of users. However, the scenes are pre-set, some use the officially recommended scene templates, and some require users to set them manually, which is not very good for the user experience and has a certain degree of difficulty in use. Furthermore, home appliance manufacturers have also launched their own scenes in response to demand. Most of these scenes are preset by manufacturers. The scene can only be enabled after the corresponding equipment is in the home, which cannot truly meet the needs of users.

[0003] Therefore, no effective solution has been proposed for the problem in related technologies that it is impossible to actively recommend scenarios to target objects based on the target objects' operating habits of using smart devices. Summary of the invention

[0004] The embodiments of the present application provide a method and apparatus for determining a device scene, a storage medium, and an electronic device, so as to at least solve the problem in the related art that scenes cannot be actively recommended to a target object based on the target object's operating habits of using a smart device.

[0005] According to an embodiment of the embodiments of the present application, a method for determining a device scenario is provided, comprising: obtaining operation data generated by a target object using a device in a target area; wherein the operation data comprises: an operation instruction sent by the target object for determining corresponding operating parameters of each smart device, and an operating cycle of the device in the target area; the target object and the smart device are both located in the target area; based on the operation data, a plurality of recommended scenarios for the target object to use the device are generated, and the plurality of recommended scenarios are added to a scenario recommendation list of a target application, wherein the target application is used to bind corresponding identity information of the target object; a first scenario request issued by the target object in the target application is received, and a target scenario to be executed is determined from the scenario recommendation list.

[0006] In an exemplary embodiment, multiple recommended scenarios for the target object to use the device are generated based on the operation data, including: determining a first operation instruction set for different smart devices in the operation data within the same preset time period; screening a second operation instruction set corresponding to valid instructions in the first operation instruction set, wherein the valid instructions are used to indicate instructions for controlling the smart device to be in different working states; and generating multiple recommended scenarios for the target object to use the device based on the second operation instruction set.

[0007] In an exemplary embodiment, multiple recommended scenarios for the target object to use the device are generated based on the second operation instruction set, including: determining the starting time point in the operation cycle corresponding to different operation instructions in the second operation instruction set; confirming the first time interval of at least two operation instructions in the second operation instruction set based on the starting time point; when the first time interval is less than a preset interval, determining that there is a scene association between the at least two operation instructions, and correspondingly generating target usage recommended scenarios for the at least two operation instructions; when the scene association of all operation instructions in the second operation instruction set is determined, obtaining multiple recommended scenarios that are allowed to be executed by the device to be recommended to the target object.

[0008] In an exemplary embodiment, after generating multiple recommended scenarios for the target object to use the device based on the operation data and adding the multiple recommended scenarios to the scenario recommendation list of the target application, the method further includes: obtaining a historical first scenario request of the target object; parsing the historical first scenario request to obtain a usage preference of the target object, wherein the usage preference is used to indicate the characteristics of the scenario that the target object preferentially selects in the scenario recommendation list; and using the usage preference to sort the multiple recommended scenarios added to the scenario recommendation list of the target application.

[0009] In an exemplary embodiment, a first scenario request issued by the target object in the target application is received, and a target scenario to be executed is determined from the scenario recommendation list, including: determining the scenario requirement of the target object carried by the first scenario request; matching the scenario requirement in the scenario recommendation list based on the scenario requirement, and determining the degree of match between the scenario requirement and each recommended scenario; and determining the recommended scenario with the highest degree of match from the scene recommendation list as the target scenario to be executed.

[0010] In an exemplary embodiment, after receiving a first scenario request issued by the target object in the target application and determining the target scenario to be executed from the scenario recommendation list, the method further includes: determining a device interface of a device corresponding to the target scenario; and upon obtaining a second scenario request issued by the target object in the target application, changing setting parameters corresponding to the device interface, wherein the second scenario request is used to carry the modified device parameters to be enabled of the target object.

[0011] In an exemplary embodiment, before adding the multiple recommended scenarios to the scenario recommendation list of the target application, the above method also includes: obtaining the most recent usage information of different smart devices in each of the multiple recommended scenarios; determining the scene data structure corresponding to each scene based on the usage information, and generating a data file corresponding to the scene data structure, to obtain multiple data packets corresponding to the multiple recommended scenarios.

[0012] According to another embodiment of the embodiments of the present application, a device for determining a device scenario is also provided, including: an acquisition module, used to acquire operation data generated by a target object using a device in a target area; wherein the operation data includes: an operation instruction sent by the target object for determining corresponding operating parameters of each smart device, and an operating cycle of the device in the target area; the target object and the smart device are both located in the target area; a recommendation module, used to generate multiple recommended scenarios for the target object to use the device based on the operation data, and add the multiple recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object; a determination module, used to receive a first scenario request issued by the target object in the target application, and determine the target scenario to be executed from the scenario recommendation list.

[0013] In an exemplary embodiment, the above-mentioned recommendation module is also used to determine a first set of operation instructions for different smart devices in the operation data within the same preset time period; filter a second set of operation instructions corresponding to valid instructions in the first set of operation instructions, wherein the valid instructions are used to indicate instructions for controlling the smart device in different working states; and generate multiple recommended scenarios for the target object to use the device based on the second set of operation instructions.

[0014] In an exemplary embodiment, the above-mentioned recommendation module is also used to determine the starting time point in the running cycle corresponding to different operation instructions in the second operation instruction set; confirm the first time interval of at least two operation instructions in the second operation instruction set based on the starting time point; when the first time interval is less than the preset interval, determine that there is a scene association between the at least two operation instructions, and generate a corresponding target usage recommendation scene for the at least two operation instructions; when the scene association of all operation instructions in the second operation instruction set is determined, obtain multiple recommended scenes that are allowed to be executed by the device to be recommended to the target object.

[0015] In an exemplary embodiment, the above-mentioned device also includes: a request module, which is used to obtain the historical first scene request of the target object; parse the historical first scene request to obtain the usage preference of the target object, wherein the usage preference is used to indicate the characteristics of the scene that the target object preferentially selects in the scene recommendation list; and use the usage preference to sort the multiple recommended scenes in the scene recommendation list added to the target application.

[0016] In an exemplary embodiment, the above-mentioned determination module is also used to determine the scene requirements of the target object carried by the first scene request; based on the scene requirements, matching is performed in the scene recommendation list to determine the matching degree between the scene requirements and each recommended scene; and the recommended scene with the highest matching degree is determined from the scene recommendation list as the target scene to be executed.

[0017] In an exemplary embodiment, the above-mentioned device also includes: a setting module, used to determine the device interface of the device corresponding to the target scene; when obtaining a second scene request issued by the target object in the target application, changing the setting parameters corresponding to the device interface, wherein the second scene request is used to carry the modified device parameters to be enabled of the target object.

[0018] In an exemplary embodiment, the recommendation module further includes: a generation unit for obtaining the most recent usage information of different smart devices in each of the multiple recommended scenarios; determining a scene data structure corresponding to each scene based on the usage information, and generating a data file corresponding to the scene data structure to obtain multiple data packets corresponding to the multiple recommended scenarios.

[0019] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned method for determining the device scenario when running.

[0020] According to another aspect of an embodiment of the present application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for determining the device scenario through the computer program.

[0021] In an embodiment of the present application, operation data generated by a target object using a device in a target area is obtained; wherein the operation data includes: an operation instruction sent by the target object for determining the corresponding operating parameters of each smart device, and the operating cycle of the device in the target area; the target object and the smart device are both located in the target area; multiple recommended scenarios for the target object to use the device are generated based on the operation data, and the multiple recommended scenarios are added to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object; a first scenario request issued by the target object in the target application is received, and a target scenario to be executed is determined from the scenario recommendation list; the above-mentioned technical solution is adopted to solve the problem in the related art that scenarios cannot be actively recommended to the target object according to the operating habits of the target object using smart devices, and by actively obtaining the operation data of the target object using smart devices in the target area, the recommended scenario corresponding to the operation data is determined and recommended to the target object, so that the target object can effectively obtain the recommended scenario corresponding to its own behavioral habits, thereby improving the probability of the target object using the scenario in the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 It is a hardware environment diagram of a method for determining a device scenario in an embodiment of the present application;

[0025] Figure 2 is a flowchart of a method for determining a device scenario according to an embodiment of the present application;

[0026] Figure 3 is a timing diagram of a system for determining a device scenario according to an embodiment of the present application;

[0027] Figure 4 is a structural block diagram of a device for determining a device scenario according to an embodiment of the present application;

[0028] Figure 5 It is a structural block diagram of another device scenario determination apparatus according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] According to one aspect of an embodiment of the present application, a method for determining a device scene is provided. The method for determining a device scene is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned method for determining a device scene can be applied to Figure 1 In the hardware environment composed of the terminal device 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or a client installed on the terminal. A database can be set on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0032] The network may include but is not limited to at least one of the following: wired network, wireless network. The wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, local area network, and the wireless network may include but is not limited to at least one of the following: WIFI (Wireless Fidelity), Bluetooth. The terminal device 102 may be but is not limited to a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing device, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, a smart curtain, a smart audio and video, a smart socket, a smart speaker, a smart fresh air device, a smart kitchen and bathroom device, a smart bathroom device, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purification device, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0033] In this embodiment, a method for determining a device scene is provided, which is applied to the above-mentioned computer terminal. Figure 2 : is a flowchart of a method for determining a device scenario according to an embodiment of the present application, the process comprising the following steps:

[0034] Step S202, obtaining operation data generated by the target object using the device in the target area; wherein the operation data includes: an operation instruction sent by the target object for determining the corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; the target object and the smart device are both located in the target area;

[0035] It is understandable that in the smart home application scenario, the target object is an object associated with the device, that is, the target object has corresponding operation permissions on the device, and the device allows the registered target object to operate and control the device according to the relevant configuration permissions. It is understandable that the target object is an object that has obtained the corresponding function operation permissions of the device, which can be a registered target account or a registered family member. This application does not make too many restrictions on this.

[0036] Step S204, generating a plurality of recommended scenarios for the target object to use the device based on the operation data, and adding the plurality of recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object;

[0037] Optionally, the target object may actively send a control instruction to the smart device corresponding to the target application through the target application to complete the control of the smart device;

[0038] Step S206: receiving a first scene request sent by the target object in the target application, and determining a target scene to be executed from the scene recommendation list.

[0039] It should be noted that in order to avoid the target scene being automatically opened without the authorization of the target object, after determining the target scene, the target object is also required to open the application time of the target scene in the target application. For example, the time period in which the target object needs to execute the target scene is set, and the application of the target scene is completed before the end of the time period. And because the execution is actively controlled by the target object, the target object's usage experience of the target scene is improved.

[0040] Through the above steps, the operation data generated by the target object using the device in the target area is obtained; wherein the operation data includes: the operation instructions sent by the target object for determining the corresponding operating parameters of each smart device, and the operating cycle of the device in the target area; the target object and the smart device are both located in the target area; based on the operation data, multiple recommended scenarios for the target object to use the device are generated, and the multiple recommended scenarios are added to the scenario recommendation list of the target application, wherein the target application is used to bind the corresponding identity information of the target object; the first scenario request issued by the target object in the target application is received, and the target scenario to be executed is determined from the scenario recommendation list; the above technical solution is adopted to solve the problem in the related art that the scenario cannot be actively recommended to the target object according to the operating habits of the target object using the smart device. By actively obtaining the operation data of the target object using the smart device in the target area, the recommended scenario corresponding to the operation data is determined and recommended to the target object, so that the target object can effectively obtain the recommended scenario corresponding to its own behavior habits, thereby improving the probability of the target object using the scenario in the device.

[0041] In an exemplary embodiment, multiple recommended scenarios for the target object to use the device are generated based on the operation data, including: determining a first operation instruction set for different smart devices in the operation data within the same preset time period; screening a second operation instruction set corresponding to valid instructions in the first operation instruction set, wherein the valid instructions are used to indicate instructions for controlling the smart device to be in different working states; and generating multiple recommended scenarios for the target object to use the device based on the second operation instruction set.

[0042] For example, since smart devices are of different types and have different specific usage scenarios, in order to ensure that there are no command conflicts between the smart devices in the determined recommended scenarios, when determining multiple recommended scenarios for the device based on the operation instruction set, conflicting or abnormal instructions in the operation instruction set are removed to ensure that the final recommended scenario can be successfully executed by the smart devices in the target area.

[0043] In an exemplary embodiment, multiple recommended scenarios for the target object to use the device are generated based on the second operation instruction set, including: determining the starting time point in the operation cycle corresponding to different operation instructions in the second operation instruction set; confirming the first time interval of at least two operation instructions in the second operation instruction set based on the starting time point; when the first time interval is less than a preset interval, determining that there is a scene association between the at least two operation instructions, and correspondingly generating target usage recommended scenarios for the at least two operation instructions; when the scene association of all operation instructions in the second operation instruction set is determined, obtaining multiple recommended scenarios that are allowed to be executed by the device to be recommended to the target object.

[0044] It is understandable that in order to ensure the continuity of the recommended scenarios, when determining the recommended scenarios, it is also necessary to determine the time interval of the operating instructions corresponding to the devices under the recommended scenarios, so as to avoid the execution time of the operating instructions between different smart devices being too long, resulting in incomplete and discontinuous execution of the recommended scenarios, resulting in poor usage experience for the target objects, and resulting in poor effects of subsequent recommended scenarios.

[0045] In an exemplary embodiment, after generating multiple recommended scenarios for the target object to use the device based on the operation data and adding the multiple recommended scenarios to the scenario recommendation list of the target application, the method further includes: obtaining a historical first scenario request of the target object; parsing the historical first scenario request to obtain a usage preference of the target object, wherein the usage preference is used to indicate the characteristics of the scenario that the target object preferentially selects in the scenario recommendation list; and using the usage preference to sort the multiple recommended scenarios added to the scenario recommendation list of the target application.

[0046] In an exemplary embodiment, a first scenario request issued by the target object in the target application is received, and a target scenario to be executed is determined from the scenario recommendation list, including: determining the scenario requirement of the target object carried by the first scenario request; matching the scenario requirement in the scenario recommendation list based on the scenario requirement, and determining the degree of match between the scenario requirement and each recommended scenario; and determining the recommended scenario with the highest degree of match from the scene recommendation list as the target scenario to be executed.

[0047] That is, based on the target object's usage preference, the target object's preferred scenarios are recommended to increase the probability that the recommended scenarios will be adopted by the target object. Moreover, since the recommendations are ranked according to the target object's preferences, the target object can quickly determine the scenarios that it wants to continue using from the recommended scenarios, thereby improving the success rate of scenario recommendations.

[0048] In an exemplary embodiment, after receiving a first scenario request issued by the target object in the target application and determining the target scenario to be executed from the scenario recommendation list, the method further includes: determining a device interface of a device corresponding to the target scenario; and upon obtaining a second scenario request issued by the target object in the target application, changing setting parameters corresponding to the device interface, wherein the second scenario request is used to carry the modified device parameters to be enabled of the target object.

[0049] It is understandable that different recommended scenarios correspond to different target objects, and the device parameters executed by the corresponding smart devices will also be different. For example, when it is determined that the season corresponding to the target object's location is summer, the target object uses smart home appliances from 17:00 to 22:00, and the target object uses refrigerators, air conditioners, smart lights and other devices during this period for more than 20 days in a month, then sufficient usage data information has been stored in the big data platform. At this time, a recommended scenario can be actively customized, which can be: after the target object arrives at the home, the smart lights will be turned on automatically first, and the air conditioner will be automatically turned on and adjusted to 27 degrees, and the target object will be reminded of the drink information in the refrigerator.

[0050] Optionally, when the same scene is used by another target object, the target object requires an air conditioning temperature of 25 degrees. Therefore, when executing the target scene, it is also necessary to obtain the modified device parameters to be enabled by the target object, and flexibly control the smart devices in the target scene to ensure scene customization.

[0051] In an exemplary embodiment, before adding the multiple recommended scenarios to the scenario recommendation list of the target application, the above method also includes: obtaining the most recent usage information of different smart devices in each of the multiple recommended scenarios; determining the scene data structure corresponding to each scene based on the usage information, and generating a data file corresponding to the scene data structure, to obtain multiple data packets corresponding to the multiple recommended scenarios.

[0052] In order to better understand the process of the method for determining the above-mentioned device scenario, the implementation method flow of determining the above-mentioned device scenario is described below in combination with an optional embodiment, but it is not used to limit the technical solution of the embodiment of the present application.

[0053] In this embodiment, a system for determining a device scene is provided. Figure 3 is a timing diagram of a system for determining a device scenario according to an embodiment of the present application, such as Figure 3 As shown, the specific operation process is as follows:

[0054] Step 1: The user (equivalent to the target object in the above implementation example) controls the smart home appliance through the voice device, and the voice command will be sent to the background through the network and stored in the big data background; and the user controls the smart home appliance through the APP, and the request command data will also be stored in the big data background;

[0055] Step 2: The big data platform will learn the usage behavior data of users who meet certain conditions, combine it with some other parameters (time, season), and make customized scene recommendations based on the smart home appliances in the user's home;

[0056] Optionally, when it is determined that the season corresponding to the user's location is summer, the user uses smart home appliances from 17:00 to 22:00, and the user uses refrigerators, air conditioners, smart lights and other devices during this period for more than 20 days in a month, then the big data platform has stored sufficient usage data information. At this time, a recommended scenario can be actively customized, which can be: after the user arrives at home, the smart lights are automatically turned on, and the air conditioner is automatically turned on and adjusted to 27 degrees, and the user is reminded of the beverage information in the refrigerator. In other words, by collecting the user's usage data and usage time of different smart home appliances within a preset customization period, customized reference data is obtained, and then the smart home appliances that the user uses more frequently, the corresponding usage time of the smart home appliances, and the corresponding operating parameters of the smart home appliances are determined according to the customized reference data, and a recommended scenario that can be used by the user is obtained, which reduces the user's operating behavior and improves the user's experience of using smart home appliances.

[0057] Step 3: Recommend the push scenario determined by the big data background to the IOT cloud platform. The IOT cloud platform will package the data structure, push the scenario creation message through Kafka, and push the creation message to the server corresponding to the smart home appliances and smart home appliance APP (equivalent to the above-mentioned target application);

[0058] Step 4: The server pushes the customized new recommendation scenario to the user's APP through the message center;

[0059] Step 5. The user clicks on the new scene on the APP and enables it. The requested data will reach the IOT cloud platform. Optionally, the user can also set the operating parameters corresponding to different home appliances in the scene according to their own needs to achieve personalized customization.

[0060] Step 6: Call the interface corresponding to the enabled scene, and add the determined scene to be executed to the user's personal scene list; when the execution conditions of the scene to be executed are met, the IOT cloud platform will instruct the server to control the subordinate smart home appliances to execute the newly enabled scene. Users can also view the detailed information of the scene on the APP to ensure that the scene used meets their needs.

[0061] It should be noted that when the above-mentioned learning of user device usage habits data through big data, combining time, season, climate conditions and other data, and customizing new recommended scenarios through algorithms, in order to improve the user experience, the home area, device switch, and device function activation time of the recommended scenario can also be set, so that when applying the recommended scenario, the characteristics of the home appliance itself will not affect the overall application of the scene, and by controlling the application scope of the scene in the home area, energy consumption caused by excessive use of the same home appliance can be avoided. For example, when using smart lights, the living room and bedroom are given priority, and other smart lights in the home area can be temporarily put on standby; in addition, for users who have no operating device data, the device combination is turned on and off based on the algorithm, and when manually executed, recommendations for home areas, device switches, function switches and function parameters are made.

[0062] This embodiment can be used when the popularity of smart home appliances is increasing and users are increasingly using remote control and voice control devices. By learning a large amount of data and combining it with environmental data, etc., customized scenarios are calculated for users to choose and use, thereby improving user experience and the accuracy of human-computer interaction.

[0063] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0064] Figure 4 is a structural block diagram of a device for determining a device scenario according to an embodiment of the present application. Figure 4 As shown, including:

[0065] The acquisition module 42 is used to acquire operation data generated by the target object using the device in the target area; wherein the operation data includes: an operation instruction sent by the target object for determining the corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; the target object and the smart device are both located in the target area;

[0066] A recommendation module 44, configured to generate a plurality of recommended scenarios for the target object to use the device based on the operation data, and add the plurality of recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object;

[0067] The determination module 46 is configured to receive a first scenario request sent by the target object in the target application, and determine a target scenario to be executed from the scenario recommendation list.

[0068] Through the above-mentioned device, the operation data generated by the target object using the device in the target area is obtained; wherein the operation data includes: the operation instructions sent by the target object for determining the corresponding operating parameters of each smart device, and the operating cycle of the device in the target area; the target object and the smart device are both located in the target area; based on the operation data, multiple recommended scenarios for the target object to use the device are generated, and the multiple recommended scenarios are added to the scenario recommendation list of the target application, wherein the target application is used to bind the corresponding identity information of the target object; the first scenario request issued by the target object in the target application is received, and the target scenario to be executed is determined from the scenario recommendation list; the above-mentioned technical solution is adopted to solve the problem in the related art that the scenario cannot be actively recommended to the target object according to the operating habits of the target object using the smart device. By actively obtaining the operation data of the target object using the smart device in the target area, the recommended scenario corresponding to the operation data is determined and recommended to the target object, so that the target object can effectively obtain the recommended scenario corresponding to its own behavior habits, thereby improving the probability of the target object using the scenario in the device.

[0069] In an exemplary embodiment, the above-mentioned recommendation module is also used to determine a first set of operation instructions for different smart devices in the operation data within the same preset time period; filter a second set of operation instructions corresponding to valid instructions in the first set of operation instructions, wherein the valid instructions are used to indicate instructions for controlling the smart device in different working states; and generate multiple recommended scenarios for the target object to use the device based on the second set of operation instructions.

[0070] In an exemplary embodiment, the above-mentioned recommendation module is also used to determine the starting time point in the running cycle corresponding to different operation instructions in the second operation instruction set; confirm the first time interval of at least two operation instructions in the second operation instruction set based on the starting time point; when the first time interval is less than the preset interval, determine that there is a scene association between the at least two operation instructions, and generate a corresponding target usage recommendation scene for the at least two operation instructions; when the scene association of all operation instructions in the second operation instruction set is determined, obtain multiple recommended scenes that are allowed to be executed by the device to be recommended to the target object.

[0071] Figure 5 FIG. 1 is a structural block diagram of another device scene determination apparatus according to an embodiment of the present application. Figure 5 As shown, it includes not only the above Figure 4 All modules in the embodiment further include: a request module 50 and a setting module 52;

[0072] In an exemplary embodiment, the above-mentioned device also includes: a request module, which is used to obtain the historical first scene request of the target object; parse the historical first scene request to obtain the usage preference of the target object, wherein the usage preference is used to indicate the characteristics of the scene that the target object preferentially selects in the scene recommendation list; and use the usage preference to sort the multiple recommended scenes in the scene recommendation list added to the target application.

[0073] In an exemplary embodiment, the above-mentioned determination module is also used to determine the scene requirements of the target object carried by the first scene request; based on the scene requirements, matching is performed in the scene recommendation list to determine the matching degree between the scene requirements and each recommended scene; and the recommended scene with the highest matching degree is determined from the scene recommendation list as the target scene to be executed.

[0074] In an exemplary embodiment, the above-mentioned device also includes: a setting module, used to determine the device interface of the device corresponding to the target scene; when obtaining a second scene request issued by the target object in the target application, changing the setting parameters corresponding to the device interface, wherein the second scene request is used to carry the modified device parameters to be enabled of the target object.

[0075] In an exemplary embodiment, the recommendation module further includes: a generation unit for obtaining the most recent usage information of different smart devices in each of the multiple recommended scenarios; determining a scene data structure corresponding to each scene based on the usage information, and generating a data file corresponding to the scene data structure to obtain multiple data packets corresponding to the multiple recommended scenarios.

[0076] An embodiment of the present application further provides a storage medium, which includes a stored program, wherein the program executes any of the above methods when it is run.

[0077] Optionally, in this embodiment, the storage medium may be configured to store program codes for executing the following steps:

[0078] S1, obtaining operation data generated by a target object using a device in a target area; wherein the operation data includes: an operation instruction sent by the target object for determining corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; the target object and the smart device are both located in the target area;

[0079] S2, generating multiple recommended scenarios for the target object to use the device based on the operation data, and adding the multiple recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object;

[0080] S3, receiving a first scene request sent by the target object in the target application, and determining a target scene to be executed from the scene recommendation list.

[0081] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0082] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0083] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0084] S1, obtaining operation data generated by a target object using a device in a target area; wherein the operation data includes: an operation instruction sent by the target object for determining corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; the target object and the smart device are both located in the target area;

[0085] S2, generating multiple recommended scenarios for the target object to use the device based on the operation data, and adding the multiple recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object;

[0086] S3, receiving a first scene request sent by the target object in the target application, and determining a target scene to be executed from the scene recommendation list.

[0087] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.

[0088] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0089] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0090] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for determining a device scene, characterized in that: include: Acquire operation data generated by the target object using the devices in the target area; wherein the operation data includes: an operation instruction sent by the target object for determining the corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; Generate multiple recommended scenarios for the target object to use the device based on the operation data, and add the multiple recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object; Receive a first scene request sent by the target object in the target application, and determine a target scene to be executed from the scene recommendation list; The step of generating a plurality of recommended scenarios for the target object to use the device based on the operation data includes: Determine a first operation instruction set of different smart devices in the operation data within the same preset time period; Filtering a second operation instruction set corresponding to valid instructions in the first operation instruction set, wherein the valid instructions are used to indicate instructions for controlling the smart device to be in different working states; Determine the starting time points in the operation cycles corresponding to different operation instructions in the second operation instruction set; confirming a first time interval between at least two operation instructions in the second operation instruction set based on the starting time point; When the first time interval is less than a preset interval, determining that the at least two operation instructions are scene-related, and correspondingly generating target usage recommended scenes for the at least two operation instructions; When the scene associations of all the operation instructions in the second operation instruction set are determined, a plurality of recommended scenes that are allowed to be executed by the device to be recommended to the target object are obtained.

2. The method for determining a device scene according to claim 1, characterized in that: After generating a plurality of recommended scenarios for the target object to use the device based on the operation data and adding the plurality of recommended scenarios to a scenario recommendation list of the target application, the method further includes: Obtaining a historical first scene request of the target object; Parsing the historical first scene request to obtain a usage preference of the target object, wherein the usage preference is used to indicate a feature of a scene that the target object preferentially selects from the scene recommendation list; The plurality of recommended scenes added to the scene recommendation list of the target application are sorted using the usage preference.

3. The method for determining a device scene according to claim 1, characterized in that: Receiving a first scene request sent by the target object in the target application, and determining a target scene to be executed from the scene recommendation list, including: Determining a scene requirement of the target object carried in the first scene request; Matching the scene requirement in the scene recommendation list based on the scene requirement, and determining a matching degree between the scene requirement and each recommended scene; A recommended scene with the highest matching degree is determined from the scene recommendation list as the target scene to be executed.

4. The method for determining a device scene according to claim 1, characterized in that: After receiving a first scene request sent by the target object in the target application and determining a target scene to be executed from the scene recommendation list, the method further includes: Determine a device interface of a device corresponding to the target scenario; In the case of obtaining a second scenario request sent by the target object in the target application, the setting parameters corresponding to the device interface are changed, wherein the second scenario request is used to carry the modified device parameters to be enabled by the target object.

5. The method for determining a device scene according to claim 1, characterized in that: Before adding the plurality of recommended scenarios to the scenario recommendation list of the target application, the method further includes: Acquire the most recent usage information of different smart devices in each of the multiple recommended scenarios; The scene data structure corresponding to each scene is determined based on the usage information, and a data file corresponding to the scene data structure is generated to obtain multiple data packets corresponding to the multiple recommended scenes.

6. A device for determining a device scene, characterized in that: include: An acquisition module, used to acquire operation data generated by a target object using a device in a target area; The operation data includes: an operation instruction sent by the target object for determining the corresponding operation parameters of each smart device, and an operation cycle of the device in the target area; the target object and the smart device are both located in the target area; A recommendation module, configured to generate a plurality of recommended scenarios for the target object to use the device based on the operation data, and add the plurality of recommended scenarios to a scenario recommendation list of a target application, wherein the target application is used to bind the corresponding identity information of the target object; A determination module, configured to receive a first scenario request issued by the target object in the target application, and determine a target scenario to be executed from the scenario recommendation list; The recommendation module is also used to determine a first set of operation instructions for different smart devices in the operation data within the same preset time period; filter a second set of operation instructions corresponding to valid instructions in the first set of operation instructions, wherein the valid instructions are used to indicate instructions for controlling smart devices in different working states; determine the starting time points in the operation cycles corresponding to different operation instructions in the second set of operation instructions; confirm a first time interval between at least two operation instructions in the second set of operation instructions based on the starting time point; when the first time interval is less than the preset interval, determine that there is a scene association between the at least two operation instructions, and generate a target usage recommendation scene for the at least two operation instructions; when the scene association of all operation instructions in the second set of operation instructions is determined, obtain multiple recommended scenes that are allowed to be executed by the device to be recommended to the target object.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 5 when executed.

8. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 5 through the computer program.

Citation Information

Patent Citations

  • Interaction scene recommendation method and device and electronic equipment

    CN113934926A

  • Associated scene recommendation method and device, storage medium and electronic device

    CN114690731A