Terminal behavior triggering method and terminal based on environment parameter and terminal status parameter
AssigneeHuawei Technologies Co., Ltd.
InventorZijun Li
Life of this patent
Estimating the term…
Abstract
Embodiments of the present invention disclose a terminal behavior triggering method and a terminal. The method includes: detecting an environment parameter of a terminal and a terminal status parameter of the terminal; determining a target situation event based on the environment parameter and/or the terminal status parameter; and if the environment parameter meets a first preset condition, and the terminal status parameter meets a second preset condition, triggering a terminal behavior corresponding to the target situation event.
Claims18
A method, comprising:
- detecting, by a terminal, an environment parameter of the terminal and a terminal status parameter of the terminal;
- determining, by the terminal, a target situation event according to the environment parameter or the terminal status parameter, wherein the target situation event comprises an accidental situation event or a non-accidental situation event;
- and
- triggering, by the terminal, a terminal behavior corresponding to the target situation event when the environment parameter meets a first preset condition and the terminal status parameter meets a second preset condition, wherein:
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal without prompting a user when the target situation event is the non-accidental situation event, or
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal after the terminal prompts the user and obtains user confirmation when the target situation event is the accidental situation event.
A terminal, wherein the terminal comprises:
- a non-transitory memory, configured to store programming;
- and
- at least one processor, configured to execute the programming in the non-transitory memory to cause the terminal to perform:
- detecting an environment parameter of the terminal and a terminal status parameter of the terminal;
- determining a target situation event according to the environment parameter or the terminal status parameter, wherein the target situation event comprises an accidental situation event or a non-accidental situation event;
- and
- triggering a terminal behavior corresponding to the target situation event when the environment parameter meets a first preset condition and the terminal status parameter meets a second preset condition, wherein:
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal without prompting a user when the target situation event is the non-accidental situation event, or
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal after the terminal prompts the user and obtains user confirmation when the target situation event is the accidental situation event.
A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer programming, the computer programming comprises program instructions, and when the program instructions run on a terminal, the terminal performs operations when the program instructions are executed by at least one processor, the operations including:
- detecting an environment parameter of the terminal and a terminal status parameter of the terminal;
- determining a target situation event according to the environment parameter or the terminal status parameter, wherein the target situation event comprises an accidental situation event or a non-accidental situation event;
- and
- triggering a terminal behavior corresponding to the target situation event when the environment parameter meets a first preset condition and the terminal status parameter meets a second preset condition, wherein:
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal without prompting a user when the target situation event is the non-accidental situation event, or
- the terminal behavior corresponding to the target situation event is a behavior performed by the terminal after the terminal prompts the user and obtains user confirmation when the target situation event is the accidental situation event.
Dependencies are inferred from the claim text.