US 12,379,766 B2
Switching method between running modes of application program, apparatus, electronic device and storage medium
Tao Ka, Beijing (CN); and Dongyang Zhao, Beijing (CN)
Assigned to BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
Appl. No. 17/610,653
Filed by BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD., Beijing (CN)
PCT Filed Sep. 8, 2021, PCT No. PCT/CN2021/117201
§ 371(c)(1), (2) Date Nov. 11, 2021,
PCT Pub. No. WO2022/057704, PCT Pub. Date Mar. 24, 2022.
Claims priority of application No. 202010967194.8 (CN), filed on Sep. 15, 2020.
Prior Publication US 2023/0251703 A1, Aug. 10, 2023
Int. Cl. G06F 1/329 (2019.01)
CPC G06F 1/329 (2013.01) 19 Claims
OG exemplary drawing
 
1. A switching method for switching between running modes of an application program, comprising:
acquiring application power-saving information preset by a user, wherein the application power-saving information comprises a power-saving switching threshold and time when the application program enters an application power-saving mode, and the power-saving switching threshold refers to remaining power of a terminal corresponding to a triggering time of switching the application program to the application power-saving mode;
acquiring remaining power of the terminal installing the application program in a running process of the application program;
determining whether to switch from a current running mode of the application program to the application power-saving mode if the application power-saving information and the remaining power of the terminal meet an application program running mode switching condition, under which a current remaining power of the terminal is less than the power-saving switching threshold, and current time reaches the time preset by the user for the application program to enter the application power-saving mode; and
after determining to switch from the current running mode of the application program to the application power-saving mode, adjusting running parameters of a target function associated with the application program, wherein the target function comprises a native function of the application program, and the native function of the application program comprises at least one of a network data transmission function, a data cleaning function, a multimedia data editing function, a multimedia data playing function, or a page rendering function.