Scene operation switching method and device for robot terminal and robot terminal
A technology of operation switching and robotics, applied in the field of scene control, to achieve the effect of realizing intelligent, smooth and coherent switching, and improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Such as figure 1 As shown, the embodiment of the present invention provides a scene operation switching method for a robot terminal, including the following steps
[0031] The robot terminal receives a request from the user to start a new scene;
[0032] The robot terminal starts a new scene according to the request sent by the user;
[0033] The robot terminal judges whether there is a running current scene, and if not, runs the new scene; otherwise, judges whether the types of the current scene and the new scene are the same, and if so, stops running the current scene, Start to run the new scene, otherwise, compare the life cycle of the current scene with the new scene, if the life cycle of the current scene is shorter than the life cycle of the new scene, stop running the current scene and start Running the new scene; if the life cycle of the current scene is greater than the life cycle of the new scene, then suspend running the current scene, run the new scene to ...
Embodiment 2
[0061] Such as figure 2 As shown, the embodiment of the present invention provides a scene operation switching device for a robot terminal, including:
[0062] A request module, configured to receive a request from a user to start a new scene;
[0063] A startup module, configured to start a new scene according to the request data sent by the request module;
[0064] A judging module, configured to judge whether there is a running current scene, and to judge whether the types of the current scene and the new scene are the same, and to obtain a judgment result;
[0065] A comparison module, configured to compare the life cycles of the current scene and the new scene, and obtain a comparison result;
[0066] The switching module is used to issue a scene switching instruction according to the control logic and the judgment results of the judging module and the comparison module, wherein the control logic is: judging whether there is a running current scene, if not, running the...
Embodiment 3
[0085] An embodiment of the present invention also provides a robot terminal, including a processor and a storage medium, the storage medium stores instructions executed by the processor, and the instructions are executed by the processor to implement the first embodiment. The steps of the method.
[0086]The robot terminal provided in this embodiment can be used to execute the method described in Embodiment 1 of the present invention
[0087] By adopting the above-mentioned technical solution disclosed in the present invention, the following beneficial effects are obtained: the scene operation switching method and device for the robot terminal provided by the present invention, and the robot terminal, in this solution, scene types are divided based on the scene life cycle, if If the current scene exists and is of the same type as the new scene, stop running the current scene and start running the new scene; if the current scene exists and is not the same type as the new scene...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

