US 11,782,590 B2
Scene-operation method, electronic device, and non-transitory computer readable medium
Xiangwen Huang, Guangdong (CN)
Assigned to SHENZHEN HEYTAP TECHNOLOGY CORP., LTD., Guangdong (CN); and GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed by SHENZHEN HEYTAP TECHNOLOGY CORP., LTD., Guangdong (CN); and GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD., Guangdong (CN)
Filed on Nov. 3, 2021, as Appl. No. 17/518,566.
Application 17/518,566 is a continuation of application No. PCT/CN2019/087312, filed on May 16, 2019.
Prior Publication US 2022/0057927 A1, Feb. 24, 2022
Int. Cl. G06F 3/04847 (2022.01); G06F 16/24 (2019.01); G16Y 10/75 (2020.01); H04L 67/306 (2022.01)
CPC G06F 3/04847 (2013.01) [G06F 16/24 (2019.01); H04L 67/306 (2013.01); G16Y 10/75 (2020.01)] 17 Claims
OG exemplary drawing
 
1. A scene-operation method, comprising:
acquiring, from a scene correspondence, a plurality of scenes corresponding to a scene-trigger condition, wherein each scene of the plurality of scenes comprises multiple operations corresponding to respective smart devices in the scene, and the method configures an electronic device to realize data interaction with the smart devices as controlled devices;
wherein the scene correspondence is pre-stored, and comprises a plurality of scene-trigger conditions and at least one scene corresponding to each of the plurality of scene-trigger conditions;
acquiring a priority of each scene of the plurality of scenes, wherein the acquiring a priority of each scene of the plurality of scenes comprises:
acquiring, from a correspondence between the plurality of scenes and description information of the plurality of scenes, preset operation instructions of each smart device in each scene, comprising:
searching the description information of the scene corresponding to each of the plurality of scenes corresponding to the scene-trigger condition in the correspondence between the plurality of scenes and description information of the plurality of scenes;
parsing the description information of the scene to determine the preset operation instructions of each smart device corresponding to the scene;
wherein the description information of each scene comprises multiple operations corresponding to respective smart devices in the scene;
acquiring historical operation data of each smart device under the scene-trigger condition; and
determining the priority of each scene according to the historical operation data and the preset operation instructions of each smart device;
sorting the plurality of scenes according to the priority of each scene, and obtaining an execution sequence for the plurality of scenes;
finding a scene with an order in the execution sequence meeting a preset standard as a forbidden scene; and
executing the plurality of scenes according to the execution sequence, wherein the executing the plurality of scenes according to the execution sequence comprises:
sending operation instructions, when executing each scene, to the respective smart devices in the scene.