IP Library Granted Patent US 12,379,766
Granted Patent B2
US 12,379,766 · App. 17/610,653 · Granted Aug 5, 2025

Switching method between running modes of application program, apparatus, electronic device and storage medium

Inventors: Tao Ka (Beijing, CN); Dongyang Zhao (Beijing, CN)
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
G06F1/329
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,379,766
App. No.
17/610,653
Granted
Aug 5, 2025
Kind
B2
Abstract

The embodiments of the present disclosure relate to a switching method and switching apparatus between running modes of an application program, an electronic device and a storage medium, wherein the switching method includes: acquiring application power-saving information preset by a user; acquiring remaining power of a terminal for installing the application program in a running process of the application program; and determining whether to switch from a current running mode of the application program to an application power-saving mode according to the application power-saving information and the remaining power of the terminal.

Claims (66)

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.

2. The switching method according to claim 1 , further comprising, before the acquiring application power-saving information preset by a user:

displaying a setting page in the application program; and

determining the application power-saving information preset by the user according to a setting operation of the user on the setting page.

3. The switching method according to claim 2 , wherein the displaying a setting page in the application program comprises:

in the running process of the application program, if the remaining power of the terminal is less than a prompt threshold, displaying power-saving prompt information on a current display page of the application program; and

according to a touch operation of the user on the power-saving prompt information, switching from the current display page to the setting page in the application program.

4. The switching method according to claim 3 , wherein the displaying a setting page in the application program further comprises:

if a touch operation of the user on the power-saving prompt information is not detected within a preset time, removing the power-saving prompt information from the current display page.

5. The switching method according to claim 1 ,

wherein the target function further comprises a native function of an operating system of the terminal.

6. The switching method according to claim 5 , wherein the adjusting running parameters of a target function associated with the application program comprises:

sending an adjustment instruction to the operating system of the terminal, wherein the adjustment instruction is used for instructing the operating system of the terminal to adjust running parameters of the native function of the operating system of the terminal.

7. The switching method according to claim 1 , further comprising:

after determining to switch from the current running mode of the application program to the application power-saving mode, if it is detected that the terminal is in a charging state, switching from the application power-saving mode to a non-power-saving mode.

8. The switching method according to claim 1 , wherein

if the application power-saving information preset by the user and the remaining power of the terminal do not meet the application program running mode switching condition, the application program determining not to execute the switching between modes.

9. The switching method according to claim 5 , wherein:

the application program comprises a video editing application program; and

the native function of the operating system of the terminal includes at least one of a positioning function or a detection function depending on a sensing device.

10. The switching method according to claim 9 , wherein the adjusting running parameters of a target function associated with the application program comprises:

adjusting the running parameters of the target function according to an adjustment priority of the target function associated with the application program.

11. The switching method according to claim 10 , wherein the target function comprises different target functions, and the adjusting the running parameters of the target function according to an adjustment priority of the target function associated with the application program comprises:

analyzing use frequencies of the user for the different target functions by collecting operation data in a process of using the application program by the user; and

determining adjustment priorities of the different target functions according to the use frequencies of the user for the different target functions, wherein the lower the use frequency is, the higher the adjustment priority is.

12. The switching method according to claim 10 , wherein the adjusting the running parameters of the target function according to an adjustment priority of the target function associated with the application program comprises:

if the remaining power of the terminal is less than a first grade threshold, adjusting running parameters of a function belonging to a first adjustment grade in the target functions, wherein the function belonging to the first adjustment grade comprises at least one of multimedia data playing function, positioning function, page rendering function or network data transmission function; and

if the remaining power of the terminal is less than a second grade threshold, adjusting running parameters of a function belonging to a second adjustment grade in the target functions, wherein the function belonging to the second adjustment grade comprises at least one of data cleaning function, multimedia data editing function or detection function depending on the sensing device, and the second grade threshold is less than the first grade threshold.

13. The switching method according to claim 9 , wherein:

if the target function is the network data transmission function, the adjusting the running parameters of the target function associated with the application program comprises at least one of:

adjusting a frequency of data interaction with a server to be less than an interaction threshold; or

adjusting a bit rate of multimedia data acquired from the server to be less than a bit rate threshold; and/or,

if the target function is the data cleaning function, the adjusting the running parameters of the target function associated with the application program comprises: adjusting a frequency of application data cleaning to be less than a cleaning threshold; and/or,

if the target function is the multimedia data editing function, the adjusting the running parameters of the target function associated with the application program comprises

disabling running a target editing algorithm, wherein the target editing algorithm comprises at least one of a filter adding algorithm, a prop adding algorithm or a special-effect adding algorithm; and/or,

if the target function is the multimedia data playing function, the adjusting the running parameters of the target function associated with the application program comprises at least one of:

adjusting playing brightness of the multimedia data to be less than a brightness threshold; or

adjusting playing volume of the multimedia data to be less than a volume threshold; and/or,

if the target function is the page rendering function, the adjusting the running parameters of the target function associated with the application program comprises at least one of:

adjusting the quantity of animation elements in a page rendering process to be less than a quantity threshold; or

switching the animation elements in the page rendering process into static elements.

14. The switching method according to claim 9 , wherein:

if the target function is the positioning function, the adjusting the running parameters of the target function associated with the application program comprises at least one of:

if it is determined that a positioning type of the terminal does not belong to target network positioning, adjusting the positioning type of the terminal to the target network positioning;

adjusting a calling frequency of the positioning function in the terminal to be less than a positioning calling threshold; or

adjusting a calling time of the positioning function in the terminal according to a running service type of the application program; and/or,

if the target function is the detection function depending on the sensing device, the adjusting the running parameters of the target function associated with the application program comprises at least one of:

adjusting a calling frequency of the detection function depending on the sensing device in the terminal to be less than a sensing calling threshold; or

according to a running service type of the application program, adjusting a calling time of the detection function depending on the sensing device in the terminal.

15. An apparatus for switching between running modes of an application program, comprising:

an information acquisition module, configured to acquire 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;

a power acquisition module, configured to acquire remaining power of the terminal for installing the application program in a running process of the application program;

a mode switching module, configured to determine 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

an adjusting module, configured to, after determining to switch from the current running mode of the application program to the application power-saving mode, adjust 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.

16. An electronic device, comprising:

a processor; and

a memory configured to store executable instructions of the processor;

wherein the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the switching method between running modes of the application program according to claim 1 .

17. The electronic device according to claim 16 , further comprising:

a detection device, configured to detect remaining power of a terminal for installing the application program in a running process of the application program.

18. A non-transitory computer-readable storage medium having therein stored a computer program which, when executed by a processor, implements the switching method between running modes of the application program according to claim 1 .

19. A non-transitory computer program product, comprising instructions which, when executed by a processor, cause the processor to perform the switching method between running modes of the application program according to claim 1 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2021
From: KA, TAO; ZHAO, DONGYANG
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 058090/0927 →
Priority Claims (1)
CN 202010967194.8 · Sep 15, 2020 · national
Continuity (1)
Related Publication 20230251703A1 · Aug 10, 2023
References Cited (57)
US 6289399B1 · Furuichi et al. · 2001 [cited by applicant]
US 7640041B2 · Ragan · 2009 [cited by examiner]
US 8937678B2 · Fuji · 2015 [cited by applicant]
US 9160853B1 · Daddi et al. · 2015 [cited by applicant]
US 10261564B1 · Gollakota · 2019 [cited by applicant]
US 10346597B2 · Yang · 2019 [cited by examiner]
US 10503280B2 · Yoo et al. · 2019 [cited by applicant]
US 20080200220A1 · Jackson · 2008 [cited by applicant]
US 20120159327A1 · Law et al. · 2012 [cited by applicant]
US 20140256323A1 · Edge · 2014 [cited by examiner]
US 20140267360A1 · Finkel · 2014 [cited by applicant]
US 20140365789A1 · Seo et al. · 2014 [cited by applicant]
US 20150113425A1 · Noh · 2015 [cited by examiner]
US 20150153810A1 · Sasidharan et al. · 2015 [cited by applicant]
US 20160247437A1 · Choi · 2016 [cited by examiner]
US 20160358631A1 · Lee · 2016 [cited by examiner]
US 20170060225A1 · Zha · 2017 [cited by examiner]
US 20170313240A1 · Randolph · 2017 [cited by examiner]
US 20170371390A1 · Wang et al. · 2017 [cited by applicant]
US 20170371394A1 · Chan et al. · 2017 [cited by applicant]
US 20180268117A1 · Yang et al. · 2018 [cited by applicant]
US 20180316212A1 · Qin et al. · 2018 [cited by applicant]
US 20190369700A1 · Chen et al. · 2019 [cited by applicant]
US 20200036203A1 · Ruiz-Garcia · 2020 [cited by examiner]
CN 103631356A · 2014 [cited by applicant]
CN 104105227A · 2014 [cited by applicant]
CN 104166453A · 2014 [cited by applicant]
CN 104460935A · 2015 [cited by applicant]
CN 106161733A · 2016 [cited by applicant]
CN 106161773A · 2016 [cited by applicant]
CN 106648876A · 2017 [cited by applicant]
CN 107346167A · 2017 [cited by applicant]
CN 107548142A · 2018 [cited by applicant]
CN 108803853A · 2018 [cited by applicant]
CN 108804208A · 2018 [cited by applicant]
CN 109803358A · 2019 [cited by applicant]
CN 112083787A · 2020 [cited by applicant]
EP 3058782A1 · 2016 [cited by applicant]
EP 3058782B1 · 2020 [cited by applicant]
JP H1173255A · 1999 [cited by applicant]
JP 2013115670A · 2013 [cited by applicant]
JP 2015070394A · 2015 [cited by applicant]
JP 2016530614A · 2016 [cited by applicant]
JP 2017501617A · 2017 [cited by applicant]
KR 20160102730A · 2016 [cited by applicant]
WO 2015008971A1 · 2015 [cited by applicant]
WO 2015062504A1 · 2015 [cited by applicant]
WO 2017190438A1 · 2017 [cited by applicant]
WO 2019047924A1 · 2019 [cited by applicant]
International Patent Application No. PCT/CN2021/117201, International Search Report mailed Nov. 26, 2021, 10 pages. [cited by applicant]
Chinese Patent Application No. 202010967194.8, First Office Action mailed Apr. 28, 2021, 15 pages with English Translation. [cited by applicant]
Notice of Reasons for Refusal issued Sep. 12, 2023 in Japanese Application No. 2022-549585, with English translation (8 pages). [cited by applicant]
European Search Report for EP Patent Application No. 21868529.5, Issued on Feb. 28, 2024, 14 pages. [cited by applicant]
European Search Report for EP Patent Application No. 21868529.5, Issued on Jun. 12, 2024, 16 pages. [cited by applicant]
Office action received from Korean patent application No. 10-2022-7028557 mailed on Jun. 19, 2024, 27 pages (15 pages English Translation and 12 pages Original Copy). [cited by applicant]
Communication pursuant to Article 94(3) EPC for European Application No. 21868529.5, mailed Mar. 7, 2025, 5 pages. [cited by applicant]
Notice of Final Rejection for Korean Application No. 10-2022-7028557, mailed Feb. 25, 2025, 18 Pages. [cited by applicant]