EP4216033A1 - Application operation mode switching method and apparatus, electronic device, and storage medium - Google Patents

Application operation mode switching method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
EP4216033A1
EP4216033A1 EP21868529.5A EP21868529A EP4216033A1 EP 4216033 A1 EP4216033 A1 EP 4216033A1 EP 21868529 A EP21868529 A EP 21868529A EP 4216033 A1 EP4216033 A1 EP 4216033A1
Authority
EP
European Patent Office
Prior art keywords
application program
power
application
terminal
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
EP21868529.5A
Other languages
German (de)
English (en)
French (fr)
Inventor
Tao KA
Dongyang ZHAO
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of EP4216033A1 publication Critical patent/EP4216033A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3253Power saving in bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0219Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave where the power saving management affects multiple terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This disclosure relates to the technical field of computer application, and particularly, to a switching method and switching apparatus between running modes of an application program, an electronic device, and a storage medium.
  • the user terminal is caused to enter a power-saving mode by reducing data processing processes of the operating system, so as to reduce the power consumption of the user terminal.
  • the user terminal is caused to enter a power-saving mode by reducing data processing processes of the operating system, so as to reduce the power consumption of the user terminal.
  • normal running of each application program installed on the user terminal is easily affected.
  • embodiments of the present disclosure provide a switching method and switching apparatus between running modes of an application program, an electronic device, and a storage medium.
  • the embodiments of the present disclosure provide a switching method between running modes of an application program, comprising:
  • the embodiments of the present disclosure further provide a switching apparatus between running modes of an application program, comprising:
  • the embodiments of the present disclosure further provide 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 any of the switching methods between running modes of the application program according to the embodiments of the present disclosure.
  • the embodiments of the present disclosure further provide a computer-readable storage medium having therein stored a computer program which, when executed by a processor, implements any of the switching methods of the application program running mode according to the embodiments of the present disclosure.
  • the present disclosure provides a computer program, comprising: instructions which, when executed by a processor, cause the processor to perform any of the switching methods between running modes of the application program according to the embodiments of the present disclosure.
  • the present disclosure provides a computer program product, comprising instructions which, when executed by a processor, cause the processor to perform any of the switching methods between running modes of the application program according to the embodiments of the present disclosure.
  • Fig. 1 is a flowchart of switching method between running modes of an application program according to the embodiments of the present disclosure.
  • the embodiments of the present disclosure can be applied to the case of how an application program installed on a terminal is switched into a power-saving mode, so as to reduce power consumption of the terminal.
  • the method according to the embodiments of the present disclosure can be performed by running mode switching apparatus between running modes an application program.
  • the apparatus can be implemented by software and/or hardware, and can be integrated on any electronic device with computing capability, for example, a terminal such as a mobile terminal, a personal computer, a tablet computer, etc.
  • the apparatus can be implemented as a function of the application program, and integrated within the application program.
  • the application program mentioned in the embodiments of the present disclosure can be any type of application program, which is not specifically limited in the embodiments of the present disclosure.
  • the switching method between running modes of the application program can comprise: S101, acquiring application power-saving information preset by a user.
  • the application power-saving information preset by the user refers to relevant information about enabling an application power-saving mode of the application program, preset by the user, and can be used for describing information such as when the application program enters the application power-saving mode, the application program enters the power-saving mode when the terminal reaches how much remaining power, duration after the application program enters the application power-saving mode, etc.
  • the application power-saving information preset by the user can include, but is not limited to: information such as a power-saving switching threshold of automatically enabling the application power-saving mode by the application program, time when the application program enters the application power-saving mode, and duration of the application power-saving mode.
  • the power-saving switching threshold refers to remaining power of the terminal corresponding to a triggering time of switching the application program to the application power-saving mode.
  • a power-saving mode setting control related to the application program is integrated in a setting page of an operating system of the terminal, the user can preset the application power-saving information of the application program through the setting page of the operating system of the terminal, and then the application program acquires the application power-saving information preset by the user through interaction with the operating system of the terminal.
  • the application program itself of the embodiments of the present disclosure can support a function of setting the application power-saving information by the user, that is, the application program itself can provide the setting page in which relevant controls of the power-saving mode setting are integrated to support a touch operation of the user.
  • the application program can determine the application power-saving information preset by the user according to the touch operation of the user, and then acquires information without interaction with the operating system of the terminal, which on one hand, helps to enrich functions realized by the application program, and on the other hand, can improve efficiency of acquiring the application power-saving information preset by the user.
  • the application program supports the user to individually set the application power-saving information of the application program, which can improve the pertinence of the setting of the user, and avoid mistaken setting of the application power-saving information among different application programs caused by a mistaken selection operation of the user in the setting page of the operating system of the terminal.
  • the application program in the running process, comprises foreground or background running, and can detect the remaining power of the terminal in real time by using a pre-developed power detection program.
  • the power detection program can detect the remaining power of the terminal in real time by means of a detection device such as a coulometer.
  • operations S101 and S102 are not strictly limited in their execution sequence, and can be executed in a serial or parallel manner, and a logical sequence shown in Fig. 1 should not be construed as limiting the embodiments of the present disclosure.
  • the application program determines to switch from the current running mode to the application power-saving mode; and 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 determines not to execute the mode switching.
  • the application program running mode switching condition can comprise: the current remaining power of the terminal being less than a power-saving switching threshold; or the current remaining power of the terminal being less than the power-saving switching threshold, and the current time reaching the time preset by the user for the application program to enter the application power-saving mode; or without requirements on the current remaining power of the terminal, the current time reaching the time preset by the user for the application program to enter the application power-saving mode.
  • the application program running mode switching condition can be specifically determined according to contents included in the application power-saving information preset by the user.
  • the power-saving switching threshold can also be flexibly set by the user as needed, which realizes full consideration of user requirements in the process of enabling the application power-saving mode of the application program, and ensures the use experience of the user for the application program while reducing the power consumption of the terminal.
  • the duration of the application power-saving mode by presetting the duration of the application power-saving mode by the user, for example, after the application program enters the application power-saving mode, it automatically exits if the duration reaches 30 minutes, which can realize the enabling and exiting of the periodic power-saving mode of the application program, achieves the effects of flexibly reducing the power consumption of the terminal and flexibly reducing consumption on the power of the terminal, and enriches the functions of the application program.
  • the specific application program entering the application power-saving mode does not affect normal running of other application programs on the terminal, that is, the other application programs do not need to enter the power-saving mode at the same time, so that the problem of lack of the reasonable solution for effectively reducing the power consumption of the terminal in the related art is solved.
  • the embodiments of the present disclosure realize full consideration of the user requirements in the process of enabling the application power-saving mode of the application program, and ensures the use experience of the user for the application program while reducing the power consumption of the terminal.
  • the method according to the embodiments of the present disclosure further comprises:
  • Fig. 2 is a schematic diagram of a setting page of an application program according to the embodiments of the present disclosure, which is an example and should not be construed as a specific limitation on the embodiments of the present disclosure.
  • the application program can switch from an application main page into the setting page according to a touch operation of the user on a setting control on the application main page.
  • the setting page located on the left in the figure can include multiple types of setting sub-controls, such as an account setting sub-control, a general setting sub-control, an about sub-control, etc.
  • Each type of setting sub-controls can further include a plurality of sub-controls of the type, for example, the account setting sub-control including sub-controls such as account and security, privacy setting, etc., the general setting sub-control including sub-controls such as notification setting, power-saving mode, etc., and the about sub-control including sub-controls such as user protocol, feedback and help, etc.
  • the application program switches from the current setting page into a detailed setting page of the power-saving mode (i.e., a page located on the right in Fig. 2 ) according to a touch operation of the user on the power-saving mode sub-control on a left setting page.
  • the user can set the power-saving switching threshold through a sub-control of "automatically enabling the power-saving in low power", to determine a triggering condition that the application program enters the application power-saving mode.
  • the power-saving switch threshold can be set to 30%, for example, that is, when detecting that the current remaining power of the terminal is 30% of the total power, the application program can automatically enter the application power-saving mode.
  • a setting sub-control corresponding to the application power-saving mode entry time and a setting sub-control corresponding to the duration of the application power-saving mode (not shown in Fig. 2 ) can also be displayed in the detailed setting page of the power-saving mode.
  • the application program can display the power-saving prompt information or directly and automatically display the setting page in the application program, for the user to set the application power-saving information, so that the effect of timely reminding the user of the power-saving setting is realized, and the interactivity between the application program and the user is improved.
  • the detailed setting page of the power-saving mode located on the right in Fig. 2 further includes a sub-control of "enabling the power-saving” and a sub-control of "disabling the power-saving", which respectively support the user to manually enable or disable the application power-saving mode.
  • a part of functions supported by the application program will be weakened or disabled, and the running performance of the application program is degraded, so that the use experience of the user for the application program in the application power-saving mode will be lessened compared to the non-application power-saving mode.
  • the detailed setting page of the power-saving mode can further display prompt information that the application power-saving mode has been enabled, for example, "the application power-saving mode having been enabled” shown in Fig. 2 .
  • the displaying the setting page in the application program comprises:
  • Fig. 3 illustrates a schematic diagram of an application program running page having thereon displayed power-saving prompt information according to the embodiments of the present disclosure. Specifically, taking a video interaction application as an example, Fig. 3 displays a running page in a foreground running process of the video interaction application, and when the application program detects that the remaining power of the terminal is less than the prompt threshold, the power-saving prompt information is displayed on the running page.
  • the power-saving prompt information can be displayed in a form of a prompt pop-up window, and by touching an entry control on the prompt pop-up window, i.e., an arrow symbol displayed in the figure, the user can cause the application program to display the page for setting the application power-saving information, i.e., switching from the page displayed in Fig. 3 into the page displayed in Fig. 2 . Specifically, it can be first switched from the page displayed in Fig. 3 into the setting page located on the left in Fig. 2 , and then into the detailed setting page of the power-saving mode located on the right in Fig. 2 , and it can also be directly switched from the page displayed in Fig. 3 into the detailed setting page of the power-saving mode located on the right in Fig. 2 , which is related to the page jump design logic, and is not specifically limited in the embodiments of the present disclosure.
  • the method according to the embodiment of the present disclosure 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.
  • the preset time can be flexibly set, for example, 5 seconds. If the touch operation of the user on the power-saving prompt information is not detected within the preset time, this shows that the user does not need to perform the power-saving setting of the application program currently, and the power-saving prompt information is removed, thereby avoiding the display of the power-saving prompt information from affecting the display effect of the current display page of the application program.
  • Fig. 4 is a flowchart of another switching method between running modes of an application program according to the embodiments of the present disclosure, which is further optimized and expanded based on the above technical solutions, and can be combined with each of the above optional embodiments. As shown in Fig. 4 , the method can comprise:
  • the application program will, after entering the application power-saving mode, adjust the running parameters of its associated target function.
  • the running parameters that need to be adjusted are different for different target functions. Different running parameters of the target function have different consumption on the power of the terminal. The effect of reducing the power consumption of the terminal is achieved by adjusting the running parameters of the target function.
  • the native function of the application program refers to a function that can be implemented by the application program itself given by developers in a development process of the application program, and the implementation of these functions does not change due to different terminals for installing the application program; and the native function of the operating system of the terminal refers to a function carried by the terminal itself after leaving a factory, for example, a positioning function and a sensing detection function which depend on terminal hardware, and the application program installed on the terminal does not in itself have the native function of the operating system of the terminal, and if the application program needs to call the native function of the operating system of the terminal, it needs to interact with the operating system of the terminal, so that the calling of the function is realized.
  • 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.
  • the native function of the application program and the native function of the operating system of the terminal both support the running parameter adjustment, which embodies the diversification of the function running parameter adjustment supported by the application program in the embodiments of the present disclosure, and ensures the effective implementation of reducing the power consumption of the terminal.
  • the application program in the embodiments of the present disclosure includes a video editing application program; accordingly, the native function of the application program includes at least one of: a network data transmission function, a data cleaning function, a multimedia data editing function, a multimedia data playing function and a page rendering function; or 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.
  • the network data transmission function includes, but is not limited to, data transmission between the application program and a server, for example, heartbeat data packet transmission (or referred to as long-chain service) between the application program and the server;
  • the data cleaning function refers to a function that the application program cleans cached data, temporary data, downloaded data and the like generated in the program running process;
  • the multimedia data editing function refers to a function of editing video, audio and image, which is supported by the application program;
  • the multimedia data playing function refers to a function of playing multimedia data, which is supported by the application program;
  • the page rendering function refers to a function of rendering the display page by the application program.
  • the sensing device installed on the terminal can include, but is not limited to, an infrared detection sensor, a light sensor, a distance sensor, a gyroscope, a gravity sensor, a temperature sensor, an electronic compass, a position sensor, etc., and can be specifically determined according to the sensing detection function supported by the terminal.
  • a positioning type of the terminal includes a positioning function based on a Global Positioning System (GPS), a positioning function based on a BeiDou Navigation Satellite System, a wireless network positioning function, etc.
  • 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.
  • the adjustment priority of the target function can be preset by the developers in the development process of the application program, or can be set by the user in the process of using the application program.
  • the application program can further analyze use frequencies of the user for different target functions by collecting operation data in a process of using the application program by the user, so that adjustment priorities of the different target functions are determined according to the use frequencies, wherein the lower the use frequency of the user is, the higher the adjustment priority is.
  • 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 the first adjustment grade in the target functions; wherein the function belonging to the first adjustment grade comprises at least one of: the multimedia data playing function, the positioning function, the page rendering function or the network data transmission function; if the remaining power of the terminal is less than a second grade threshold, adjusting running parameters of a function belonging to the second adjustment grade in the target functions; wherein the function belonging to the second adjustment grade comprises at least one of: the data cleaning function, the multimedia data editing function and the detection function depending on the sensing device; or the second grade threshold is less than the first grade threshold, and their values can be determined as needed, for example, the first grade threshold is set to 30%, and the second grade threshold is set to 10%.
  • the video interaction application after determining to switch from the current running mode of the application program to the application power-saving mode, if the remaining power of the terminal is less than 30% but greater than 10%, brightness of playing the multimedia data by the application program, the calling of the terminal positioning function, the quantity of animation elements displayed on the page, and the number of times of transmission of the heartbeat data packets between the application program and the server are sequentially reduced; as the application program runs, if the remaining power of the terminal is less than 10%, the volume of the multimedia data played by the application program is continuously reduced, editing algorithms for adding special-effects and filters are disabled, and so on, but the video interaction application can still support video shooting and sharing.
  • the running parameters of the target function are adjusted in stages, so that the application program can really reduce the power consumption of the terminal in the power-saving mode, which realizes the effect of saving the power of the terminal in a hierarchical manner and degrades the running performance of the application program in stages, and relieves the influence of the degraded application performance on the use experience of the user to a certain extent.
  • the adjusting the running parameters of the target function associated with the application program comprising at least one of:
  • the adjusting the running parameters of the target function associated with the application program comprises at least one of:
  • the above implementations of how to adjust the running parameters of the target function should not construed as a specific limitation on the embodiments of the present disclosure, and according to the different target running functions, the running parameters corresponding to the target running function can be flexibly determined and adjusted. Moreover, various thresholds involved in the above examples can be flexibly set according to actual cases.
  • the embodiments of the present disclosure realizes the full consideration of the user requirements in the process of enabling the application power-saving mode of the application program, and ensures the use experience of the user for the application program while reducing the power consumption of the terminal.
  • Fig. 5 is a flowchart of another switching method between running modes of an application program according to the embodiments of the present disclosure, which is further optimized and expanded based on the above technical solutions, and can be combined with each of the above optional embodiments.
  • the switching method can comprise:
  • the application program can, after entering the power-saving mode, detect in real time whether the terminal enters a charging state, for example, if a change in electrical current on the terminal is detected, it can be determined that the terminal is in the charging state, or if an increase in the power on the terminal is detected, it can be determined that the terminal is in the charging state, so as to provide a better application use experience for the user, restore a function weakened or disabled by the application program, and switch from the current application power-saving mode to the non-power-saving mode.
  • a charging state for example, if a change in electrical current on the terminal is detected, it can be determined that the terminal is in the charging state, or if an increase in the power on the terminal is detected, it can be determined that the terminal is in the charging state, so as to provide a better application use experience for the user, restore a function weakened or disabled by the application program, and switch from the current application power-saving mode to the non-power-saving mode.
  • the switching from the application power-saving mode to the non-power-saving mode comprises: if it is detected that the remaining power of the terminal in the charging state is greater than a mode exiting threshold, switching from the application power-saving mode to the non-power-saving mode.
  • the mode exiting threshold can be determined as needed. When the application program detects that the remaining power of the terminal in the charging state is greater than the mode exiting threshold, this shows that the current remaining power of the terminal is relatively abundant, and can be better supplied to the running of the terminal.
  • the application program when the application program detects that the terminal just enters the charging state, it can also automatically switch from the application power-saving mode to the non-power-saving mode, so as to achieve the effect of timely restoring the running performance of the application program.
  • the switching method further comprises: displaying exit prompt information on an application program running page in the non-power-saving mode; wherein the exit prompt information is used for prompting the user that the application program is in the non-power-saving mode, and a display position of the exit prompt information on the application program running page can be an upper, middle, or lower part of the page, which can be specifically determined according to the page layout.
  • Fig. 6 is a schematic diagram of an application program running page having thereon displayed exit prompt information according to the embodiments of the present disclosure.
  • the application program after the application program exits the application power-saving mode, it can display the exit prompt information in a form of a pop-up window on the application program running page in the non-power-saving mode, specifically the upper part of the page, wherein content of the exit prompt information can be, for example, a similar language expression such as "the application power-saving mode has been automatically exited".
  • the application program can remove the exit prompt information from the current display page.
  • the embodiments of the present disclosure by determining whether the application program currently running on the terminal needs to enter the application power-saving mode according to the application power-saving information preset by the user and the remaining power of the terminal, and after determining to switch from the current running mode of the application program to the application power-saving mode, switching from the application power-saving mode to the non-power-saving mode if it is detected that the terminal is in the charging state, a reasonable solution for reducing the power consumption of the terminal is provided from the perspective of the application program, which ensures the reasonability determination of the application program entering the application power-saving mode and exiting the application power-saving mode.
  • the embodiments of the present disclosure realize the full consideration of the user requirements in the process of enabling the application power-saving mode of the application program, and ensures the use experience of the user for the application program while reducing the power consumption of the terminal.
  • Fig. 7 is a schematic structural diagram of a switching apparatus between running modes of an application program according to the embodiments of the present disclosure, wherein the apparatus can be implemented by software and/or hardware, and can be integrated on any electronic device with computing capability, for example, a terminal such as a mobile terminal, a personal computer, a tablet computer, etc. Further, the apparatus can be realized as the function of the application program and is integrated in the application program.
  • the switching apparatus of the application program running mode can comprise an information acquisition module 401, an power detection module 402, and a mode switching module 403, wherein:
  • the apparatus according to the embodiments of the present disclosure further comprises:
  • the setting page display module comprises:
  • the apparatus further comprises: a running parameter adjustment module, configured to adjust running parameters of a target function associated with the application program after determining to switch from the current running mode of the application program to the application power-saving mode; wherein the target function comprises a native function of the application program and/or a native function of an operating system of the terminal.
  • a running parameter adjustment module configured to adjust running parameters of a target function associated with the application program after determining to switch from the current running mode of the application program to the application power-saving mode
  • the target function comprises a native function of the application program and/or a native function of an operating system of the terminal.
  • the running parameter adjustment module comprises: an adjustment instruction sending unit, configured to send 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 the running parameters of the native function of the operating system of the terminal.
  • the apparatus further comprises: a charging detection module, configured to switch from the application power-saving mode to the non-power-saving mode if it is detected that the terminal is in the charging state.
  • a charging detection module configured to switch from the application power-saving mode to the non-power-saving mode if it is detected that the terminal is in the charging state.
  • the application program includes a video editing application program
  • the running parameter adjustment module is specifically configured to: adjust the running parameters of the target function based on an adjustment priority of the target function associated with the application program.
  • the running parameter adjustment module comprises:
  • the running parameter adjustment module comprises at least one of:
  • the running parameter adjustment module comprises at least one of:
  • the setting page display module further comprises: a power-saving prompt information removing unit, configured to remove power-saving prompt information from the current display page if a touch operation of the user on the power-saving prompt information is not detected within a preset time after the power-saving prompt information display unit performs an operation of displaying the power-saving prompt information on the current display page of the application program.
  • a power-saving prompt information removing unit configured to remove power-saving prompt information from the current display page if a touch operation of the user on the power-saving prompt information is not detected within a preset time after the power-saving prompt information display unit performs an operation of displaying the power-saving prompt information on the current display page of the application program.
  • the charging detection module is specifically configured to: if it is detected that the remaining power of the terminal in the charging state is greater than a mode exiting threshold, switch from the application power-saving mode to the non-power-saving mode.
  • the apparatus further comprises: an exit prompt information display module, configured to display exit prompt information on an application program running page in the non-power-saving mode after the charging detection module performs the operation of switching from the application power-saving mode to the non-power-saving mode if it is detected that the remaining power of the terminal in the charging state is greater than the mode exiting threshold, wherein the exit prompt information is used for prompting the user that the application program is in the non-power-saving mode.
  • an exit prompt information display module configured to display exit prompt information on an application program running page in the non-power-saving mode after the charging detection module performs the operation of switching from the application power-saving mode to the non-power-saving mode if it is detected that the remaining power of the terminal in the charging state is greater than the mode exiting threshold, wherein the exit prompt information is used for prompting the user that the application program is in the non-power-saving mode.
  • modules or units described above can be implemented as software components executed on one or more general-purpose processors, or as hardware that executes certain functions or a combination thereof, such as programmable logic devices and/or application-specific integrated circuits.
  • these modules or units can be embodied in a form of a software product, which can be stored in a non-volatile storage medium having therein included instructions that cause a computer device (e.g., a personal computer, a server, a network device, a mobile terminal, etc.) to implement the methods described in the embodiments of the present invention.
  • the above modules or units can further be implemented on a single device, or distributed on multiple devices. Functions of these modules or units can be combined with each other or further divided into a plurality of sub-units.
  • the switching apparatus between running modes of an application program according to the embodiments of the present disclosure can execute any switching method between running modes of an application program according to the embodiments of the present disclosure, and has function modules and beneficial effects corresponding to the execution of the method.
  • Fig. 8 is a schematic structural diagram of an electronic device according to the embodiments of the present disclosure, which is used for exemplarily explaining the terminal for executing the application program running mode switching method in the examples of the present disclosure.
  • the electronic device in the embodiments of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, notebook computer, digital broadcast receiver, PDA (Personal Digital Assistant), PAD (tablet computer), PMP (portable multimedia player), in-vehicle terminal (e.g., in-vehicle navigation terminal), etc., and a fixed terminal such as a digital TV, desktop computer, etc.
  • a mobile terminal such as a mobile phone, notebook computer, digital broadcast receiver, PDA (Personal Digital Assistant), PAD (tablet computer), PMP (portable multimedia player), in-vehicle terminal (e.g., in-vehicle navigation terminal), etc.
  • PMP portable multimedia player
  • in-vehicle terminal e.g., in-vehicle
  • an electronic device 800 can comprise a processing device (or referred to as a processor, e.g., a central processing unit, a graphic processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803.
  • ROM read-only memory
  • RAM random access memory
  • various programs and data required for operations by the electronic apparatus 800 are also stored.
  • the processing device 801, the ROM 802, and the R_AM 803 are connected to each other via a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I/O interface 805: an input device 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; a storage device 808 including, for example, a magnetic tape, hard disk, etc.; and a communication device 809.
  • the communication device 809 can allow the electronic device 800 to perform wireless or wire communication with other devices to exchange data. While Fig. 8 illustrates the electronic device 800 having various devices, it should be understood that not all illustrated devices are required to be implemented or provided. More or fewer devices can be alternatively implemented or provided.
  • the processes described above with reference to the flow diagram can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which comprises a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated by the flowchart.
  • the computer program can be downloaded and installed from a network via the communication device 809, or installed from the storage device 808, or installed from the ROM 802.
  • the processing apparatus 801 the above functions defined in the methods of the embodiments of the present disclosure are performed.
  • the above computer-readable medium of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above.
  • the computer-readable storage medium can include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium can be any tangible medium having therein contained or stored a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium can comprise a data signal propagated in baseband or as part of a carrier wave, in which the computer-readable program code is carried.
  • a propagated data signal can take a variety of forms, including, but not limited to, an electro-magnetic signal, an optical signal, or any suitable combination of the above.
  • the computer-readable signal medium can be any computer-readable medium except the computer-readable storage medium, which can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.
  • the program code contained on the computer-readable medium can be transmitted by using any appropriate medium, including but not limited to: an electrical wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
  • a client and a server can communicate by using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication (e.g., a communication network) in any form or medium.
  • a communication network include a local area network (LAN), a wide area network (WAN), an internet (e.g., the Internet), and a peer-to-peer network (e.g., ad hoc peer-to-peer network), as well as any currently known or future developed network.
  • the above computer-readable medium can be embodied in the electronic device; or can be individual and not assembled into the electronic device.
  • the above computer-readable medium has therein carried one or more programs which, when executed by the electronic device, cause the electronic device to: acquire the application power-saving information preset by the user; detect the remaining power of the terminal for installing the application program in the running process of the application program; and determine whether to switch from the current running mode of the application program to the application power-saving mode according to the application power-saving information and the remaining power of the terminal.
  • the computer program code for performing the operations of the present disclosure can be written in one or more programming languages or any combination thereof, including but not limited to an object-oriented programming language such as Java, Smalltalk, C + +, as well as a conventional procedural programming language, such as a "C" programming language or a similar programming language.
  • the program code can be executed entirely on a user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer, or can be connected to an external computer (for example, through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • the remote computer can be connected to the user's computer, or can be connected to an external computer (for example, through the Internet using an Internet service provider).
  • each block in the flowchart or block diagram can represent a module, program segment, or portion of code, which comprises one or more executable instructions for implementing the specified logic function.
  • functions noted in blocks can occur in a different order noted in the drawings. For example, two blocks expressed in succession can actually be executed substantially in parallel, or they can sometimes be executed in a reverse order, depending upon functions involved.
  • each block of the block diagram and/or flowchart, and a combination of blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system performing specified functions or operations, or a combination of dedicated hardware and computer instructions.
  • the involved modules or units described in the embodiments of the present disclosure can be implemented by software or hardware.
  • the name of the module or unit does not constitute a limitation on the module or the unit itself in some cases, for example, the information acquisition module can also be described as a "module for acquiring application power-saving information preset by a user" .
  • an exemplary hardware logic component that can be used includes: a field programmable gate array (FPGA), application specific integrated circuit (ASIC), application specific standard product (ASSP), system on a chip (SOC), complex programmable logic device (CPLD), etc.
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • ASSP application specific standard product
  • SOC system on a chip
  • CPLD complex programmable logic device
  • a machine-readable medium can be a tangible medium that can have therein contained or stored a program for use by or in combination with an instruction execution system, apparatus, or device.
  • the machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
  • the machine-readable medium can include, but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above.
  • machine-readable storage medium can include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM or flash memory erasable programmable read-only memory
  • CD-ROM portable compact disc read-only memory
  • magnetic storage device a magnetic storage device
EP21868529.5A 2020-09-15 2021-09-08 Application operation mode switching method and apparatus, electronic device, and storage medium Pending EP4216033A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010967194.8A CN112083787B (zh) 2020-09-15 2020-09-15 应用程序运行模式切换方法、装置、电子设备和存储介质
PCT/CN2021/117201 WO2022057704A1 (zh) 2020-09-15 2021-09-08 应用程序运行模式切换方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
EP4216033A1 true EP4216033A1 (en) 2023-07-26

Family

ID=73737078

Family Applications (1)

Application Number Title Priority Date Filing Date
EP21868529.5A Pending EP4216033A1 (en) 2020-09-15 2021-09-08 Application operation mode switching method and apparatus, electronic device, and storage medium

Country Status (7)

Country Link
US (1) US20230251703A1 (zh)
EP (1) EP4216033A1 (zh)
JP (1) JP7431344B2 (zh)
KR (1) KR20220131290A (zh)
CN (1) CN112083787B (zh)
BR (1) BR112022016542A2 (zh)
WO (1) WO2022057704A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083787B (zh) * 2020-09-15 2021-12-28 北京字跳网络技术有限公司 应用程序运行模式切换方法、装置、电子设备和存储介质
CN112597899A (zh) * 2020-12-24 2021-04-02 北京市商汤科技开发有限公司 一种行为状态的检测方法、装置、电子设备及存储介质
CN115442876A (zh) * 2021-06-03 2022-12-06 中兴通讯股份有限公司 终端的节电方法、装置、无线接入设备、电子设备和介质
CN114879852B (zh) * 2022-04-22 2024-03-05 常州市金坛碳谷新材料科技有限公司 一种键盘电量控制方法与系统
CN117119564A (zh) * 2022-05-16 2023-11-24 中兴通讯股份有限公司 定位追踪装置的控制方法、定位追踪装置及存储介质

Family Cites Families (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7640041B2 (en) * 2005-11-30 2009-12-29 Freescale Semiconductor, Inc. Multiple function handheld device
JP2013115670A (ja) 2011-11-30 2013-06-10 Sony Corp 撮像装置、その制御方法およびプログラム
CN103631356B (zh) * 2012-08-20 2019-01-15 联想(北京)有限公司 一种节电的方法及电子设备
US9344991B2 (en) * 2013-03-08 2016-05-17 Qualcomm Incorporated Methods and systems for responding to handover events during positioning sessions
KR101477179B1 (ko) 2013-07-19 2014-12-29 삼성전자주식회사 어플리케이션의 전력 효율을 결정하고 표시하는 방법 및 단말기
CN104460935A (zh) * 2013-09-18 2015-03-25 联想(北京)有限公司 一种信息处理方法及电子设备
JP6247066B2 (ja) 2013-09-27 2017-12-13 京セラ株式会社 電子機器、電力消費管理方法及び電力消費管理プログラム
KR102148001B1 (ko) * 2013-10-17 2020-08-25 삼성전자주식회사 디스플레이 장치 및 디스플레이 장치의 제어 방법
CN103543819A (zh) * 2013-10-29 2014-01-29 华为终端有限公司 功耗控制方法和终端
US8972760B1 (en) 2013-12-20 2015-03-03 Futurewei Technologies, Inc. Method and apparatus for reducing power consumption in a mobile electronic device using a second launcher
CN104105227A (zh) * 2014-04-17 2014-10-15 美的集团股份有限公司 基于不同应用场景的wifi模块工作方法及装置
CN104166453A (zh) * 2014-08-15 2014-11-26 百度在线网络技术(北京)有限公司 降低移动终端耗电量的方法和装置
KR102336183B1 (ko) * 2015-02-23 2021-12-07 삼성전자 주식회사 전자 장치 및 이를 위한 저전력 구동 방법
CN106161733B (zh) * 2015-03-26 2020-02-21 深圳酷派技术有限公司 一种系统切换方法、装置和移动终端
KR102334618B1 (ko) * 2015-06-03 2021-12-03 엘지전자 주식회사 이동 단말기 및 그 제어 방법
US9880611B2 (en) * 2015-08-31 2018-01-30 Google Llc Energy saving mode for electronic devices
CN106655444B (zh) * 2015-10-28 2019-05-10 华为终端(东莞)有限公司 一种电子设备及其充电方法
CN105825098B (zh) * 2016-03-16 2018-03-27 广东欧珀移动通信有限公司 一种电子终端的屏幕解锁方法、图像采集方法及装置
KR102496347B1 (ko) * 2016-04-20 2023-02-06 삼성전자주식회사 디스플레이 구동 회로 및 이를 포함하는 전자 장치
US10053002B2 (en) * 2016-04-29 2018-08-21 Nissan North America, Inc. Trailer light check activation system
CN107346167A (zh) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 一种显示控制的方法以及装置
CN106648876B (zh) * 2016-12-30 2020-09-04 北京小米移动软件有限公司 运行模式切换方法及装置
CN108804208A (zh) * 2017-04-27 2018-11-13 北京小米移动软件有限公司 终端运行方法、装置及终端
CN108803853A (zh) * 2017-04-28 2018-11-13 北京小米移动软件有限公司 终端运行方法、装置及终端、计算机可读存储介质
CN107548142A (zh) * 2017-07-31 2018-01-05 努比亚技术有限公司 一种省电控制方法、终端和计算机可读存储介质
CN109471516B (zh) * 2017-09-07 2023-07-04 中兴通讯股份有限公司 一种终端及其耗电控制方法、装置、计算机可读存储介质
US10855093B2 (en) * 2018-07-25 2020-12-01 Lear Corporation Apparatus and method for monitoring batteries and storing data based on battery status
CN112083787B (zh) * 2020-09-15 2021-12-28 北京字跳网络技术有限公司 应用程序运行模式切换方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
WO2022057704A1 (zh) 2022-03-24
US20230251703A1 (en) 2023-08-10
CN112083787B (zh) 2021-12-28
KR20220131290A (ko) 2022-09-27
BR112022016542A2 (pt) 2023-03-28
CN112083787A (zh) 2020-12-15
JP2023515031A (ja) 2023-04-12
JP7431344B2 (ja) 2024-02-14

Similar Documents

Publication Publication Date Title
EP4216033A1 (en) Application operation mode switching method and apparatus, electronic device, and storage medium
CN112261226B (zh) 横屏交互方法、装置、电子设备和存储介质
EP4333440A1 (en) Video interaction method and apparatus, electronic device, and storage medium
CN110516159B (zh) 一种信息推荐方法、装置、电子设备及存储介质
CN113038234B (zh) 视频的处理方法、装置、电子设备和存储介质
CN111177610A (zh) 素材展示方法、装置、电子设备及存储介质
CN113521728A (zh) 云应用的实现方法、装置、电子设备和存储介质
CN114760515A (zh) 媒体内容的显示方法、装置、设备、存储介质和程序产品
CN111790148B (zh) 游戏场景中的信息交互方法、设备及计算机可读介质
CN113721807B (zh) 一种信息展示方法、装置、电子设备和存储介质
CN113766303B (zh) 多屏互动方法、装置、设备及存储介质
CN110611847A (zh) 视频预览的方法、装置、存储介质及电子设备
WO2024027648A1 (zh) 信息的显示方法、装置、电子设备和存储介质
US11962929B2 (en) Method, apparatus, and device for configuring video special effect, and storage medium
CN115474086B (zh) 播放控制方法、装置、电子设备和存储介质
CN114630170B (zh) 一种音视频同步方法、装置、电子设备及存储介质
CN111867203B (zh) 台灯的工作模式切换方法、装置、设备及介质
CN113596584B (zh) 视频播放方法、设备及存储介质
CN110267089B (zh) 视频播放的控制方法、装置、电子设备、及存储介质
CN114063843A (zh) 交互方法、装置、电子设备、存储介质和计算机程序产品
CN113127101A (zh) 一种应用程序的控制方法、装置、设备及介质
CN112188274B (zh) 用于调节视频播放进度的方法、装置和电子设备
CN113010300A (zh) 图像效果的刷新方法、装置、电子设备及计算机可读存储介质
WO2023160559A1 (zh) 播放控制方法、装置、终端设备、服务器以及存储介质
CN116634006A (zh) 多系统蓝牙状态调整方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20220818

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

DAV Request for validation of the european patent (deleted)
DAX Request for extension of the european patent (deleted)
RIC1 Information provided on ipc code assigned before grant

Ipc: G06F 1/329 20190101ALI20240223BHEP

Ipc: G06F 1/3234 20190101ALI20240223BHEP

Ipc: G06F 1/3212 20190101AFI20240223BHEP