WO2021047582A1 - 终端的节电方法和装置 - Google Patents

终端的节电方法和装置 Download PDF

Info

Publication number
WO2021047582A1
WO2021047582A1 PCT/CN2020/114450 CN2020114450W WO2021047582A1 WO 2021047582 A1 WO2021047582 A1 WO 2021047582A1 CN 2020114450 W CN2020114450 W CN 2020114450W WO 2021047582 A1 WO2021047582 A1 WO 2021047582A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
terminal
consuming process
slave
slave terminal
Prior art date
Application number
PCT/CN2020/114450
Other languages
English (en)
French (fr)
Inventor
牛翔宇
马晓伟
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20863416.2A priority Critical patent/EP4020131A4/en
Priority to US17/641,581 priority patent/US12007827B2/en
Publication of WO2021047582A1 publication Critical patent/WO2021047582A1/zh

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
    • 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
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria

Definitions

  • This application relates to the field of communication technologies, and in particular, to a method and device for saving power of a terminal.
  • the terminal With the continuous enhancement of terminal functions, the terminal has entered people's work and life, and has become an indispensable part of people's work and life.
  • the power of the terminal battery is continuously consumed, causing the terminal to appear "not durable", that is, the terminal battery has poor endurance. Therefore, how to improve the endurance of the terminal battery so that the terminal can better serve the user is very important.
  • the software in the terminal is controlled and/or the hardware is optimized to reduce the power consumption of the terminal battery.
  • common software management and control solutions may include central processing unit (CPU) frequency control, process freezing, push message management and control, global positioning system (GPS) management and control agents, and so on.
  • Common hardware optimization solutions may include CPU AVS, liquid crystal display (LCD) CABL, and so on. Take the software management and control solution as an example.
  • the CPU frequency can be limited, but limiting the CPU frequency will affect the operation of the program, which will cause conflicts in the terminal's performance.
  • the embodiments of the present application provide a method and device for saving power of a terminal, so as to improve the battery life of the terminal without affecting the operation of the program.
  • an embodiment of the present application provides a power saving method for a terminal, which is applied to a master terminal.
  • the master terminal is powered by a battery.
  • the master terminal and at least one slave terminal are in the same networking.
  • the power saving method for the terminal may include :
  • the target slave terminal is determined from at least one slave terminal.
  • the master terminal when it detects that it is currently running a power-consuming process and/or is about to run a power-consuming process, it can determine the target slave terminal from at least one slave terminal, and set the current running
  • the power-consuming process and/or the power-consuming process that will be running are moved to the target slave terminal to run the currently running power-consuming process and/or the power-consuming process that is about to run through the target slave terminal, so that for the master terminal, it does not need To run the currently running power-consuming process and/or the power-consuming process that is about to run, you only need to receive the running result sent by the target from the terminal, thereby avoiding the main terminal from running the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the power consumption caused by the electrical process saves the power of the main terminal, thereby ensuring that the battery life of the terminal is improved without affecting the operation of the program.
  • the number of slave terminals is at least two, and when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, the target slave terminal is determined from at least one slave terminal ,include:
  • the slave terminal list is determined from at least two slave terminals; wherein, the slave terminal list includes at least one slave terminal.
  • the target slave terminal is determined from the list of slave terminals according to the relocation conditions; the relocation conditions include that the available power meets the current running power-consuming process and/or is about to The power demand of the running power-consuming process, and the available resources meet the resource demand of the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the slave terminal list is determined according to the available power and available resources corresponding to each of the at least two slave terminals.
  • the purpose is to: Initial screening of the target slave terminal.
  • the slave terminal that currently meets the preset conditions does not guarantee that when the terminal detects that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, it can also meet the relocation conditions. Therefore, the follow-up When the terminal detects that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, when determining the target slave terminal, it still needs to determine the target slave terminal from the slave terminal list according to the relocation conditions. It can be seen that through this preliminary screening, the subsequent data processing amount when the target slave terminal is determined from the slave terminal list according to the relocation conditions can be reduced, thereby improving the relocation efficiency of the process.
  • the relocation conditions include at least one of the following:
  • the first type of relocation conditions power supply, no user operation, and the available resources of the slave terminal are greater than the current running power-consuming process and/or the power-consuming process that is about to run.
  • the resource requirements of the power process the second type of relocation conditions: power supply, user operation, and the available resources from the terminal are greater than or equal to X* the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run; third; Class relocation conditions: power supply, no user operation for more than the preset time period and the current time is within the system preset time period; fourth relocation conditions: battery power supply, battery available power greater than Y*current running power-consuming process and/ Or the power demand of the power-consuming process that is about to run, and there is no user operation, the available resources of the slave terminal are greater than or equal to Z * the resource demand of the currently running power-consuming process and/or the power-consuming process that will be running; X, Y, Z Both are greater than
  • the priority of the relocation conditions decreases in the order of the first type of relocation conditions, the second type of relocation conditions, the third type of relocation conditions, and the fourth type of relocation conditions.
  • the higher the priority of the relocation condition the higher the priority that the slave terminal that meets the relocation condition will be selected.
  • the slave terminal that satisfies the relocation condition is more conducive to the relocation of the power-consuming process currently running and/or the power-consuming process that is about to run on the master terminal, that is, the greater the probability of successful operation after the relocation.
  • the target slave terminal is determined from the slave terminal list according to the relocation conditions, including:
  • the main terminal When it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, start from the first slave terminal in the slave terminal list, obtain the current target power and target resources of the slave terminal; and determine the current target power of the slave terminal Whether the target power and target resources meet the relocation conditions until the slave terminal that meets the relocation condition is determined, and the slave terminal that meets the relocation condition is determined as the target slave terminal.
  • the target slave terminal is determined from the slave terminal list according to the relocation condition.
  • this possible implementation method is adopted. As long as it is determined that one slave terminal in the slave terminal list meets the relocation condition, the slave that currently meets the relocation condition can be selected.
  • the terminal is determined as the target slave terminal, and it is not necessary to determine whether the current target power and target resource corresponding to each slave terminal in the slave terminal list meet the relocation conditions, thereby reducing the amount of data processing and improving the operating efficiency of the process.
  • the target slave terminal is determined from the slave terminal list according to the relocation conditions, including:
  • the main terminal When it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, obtain the current target power and target resources corresponding to all the slave terminals in the slave terminal list, and determine all the slave terminals in the slave terminal list Whether the corresponding current target power and target resources meet the relocation conditions, determine the target slave terminal from all the slave terminals that meet the relocation conditions.
  • the target slave terminal is determined from all slave terminals that meet the relocation conditions, including:
  • this possible implementation is to determine the slave terminal corresponding to the relocation condition type with the highest priority as the target slave terminal, so that the target slave terminal is more conducive to the current running power-consuming process and/or the upcoming running of the master terminal.
  • the relocation of the power-consuming process that is, after the relocation, the greater the probability that the main terminal is currently running a power-consuming process and/or the power-consuming process will run successfully on the target slave terminal, thereby further improving the success rate of the process relocation.
  • obtaining the current target power and target resources corresponding to the slave terminal includes:
  • the corresponding key device is equal to the key device corresponding to the slave terminal, thereby increasing the probability that the slave terminal can successfully run the current running power-consuming process and/or the power-consuming process that is about to run on the master terminal.
  • determining the slave terminal list from at least two slave terminals includes:
  • the available power and available resources corresponding to at least two slave terminals are obtained, and the slave terminal list is determined according to the available power and available resources corresponding to the at least two slave terminals.
  • the slave terminals in the slave terminal list meet the preset requirements. Set the conditions, so that the first determination of the slave terminal list can be used as a preliminary screening in selecting the target slave terminal.
  • the slave terminal that currently meets the preset conditions does not guarantee that the terminal will detect that the master terminal is currently running a power-consuming process and/or is about to run.
  • the power-consuming process can also meet the relocation conditions.
  • the terminal detects that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, when determining the target slave terminal, it still needs to be based on the relocation conditions. Identify the target slave terminal in the list. It can be seen that through this preliminary screening, the subsequent data processing amount when the target slave terminal is determined from the slave terminal list according to the relocation conditions can be reduced, thereby improving the relocation efficiency of the process.
  • an embodiment of the present application also provides a power saving device for a terminal, which is applied to a master terminal.
  • the master terminal is powered by a battery.
  • the master terminal and at least one slave terminal are in the same networking.
  • the power saving device of the terminal can be include:
  • the processing unit is configured to determine the target slave terminal from at least one slave terminal when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process.
  • the relocation unit is used to relocate the currently running power-consuming process and/or the power-consuming process to be run to the target slave terminal, so as to run the currently running power-consuming process and/or the power-consuming process to be run from the terminal through the target.
  • the receiving unit is used to receive the running result sent by the target from the terminal.
  • the number of slave terminals is at least two, and the processing unit is specifically configured to determine the slave terminal list from the at least two slave terminals during the networking process; wherein, the slave terminal list includes At least one slave terminal; and when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, the target slave terminal is determined from the list of slave terminals according to the relocation conditions; the relocation conditions include the available power to meet the current operating consumption The power requirements of the power process and/or the power-consuming process to be run, and the available resources meet the resource requirements of the currently running power-consuming process and/or the power-consuming process to be run.
  • the relocation conditions include at least one of the following:
  • the first type of relocation conditions power supply, no user operation, and the available resources of the slave terminal are greater than the current running power-consuming process and/or the power-consuming process that is about to run.
  • the resource requirements of the power process the second type of relocation conditions: power supply, user operation, and the available resources from the terminal are greater than or equal to X* the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run; third; Class relocation conditions: power supply, no user operation for more than the preset time period and the current time is within the system preset time period; fourth relocation conditions: battery power supply, battery available power greater than Y*current running power-consuming process and/ Or the power demand of the power-consuming process that is about to run, and there is no user operation, the available resources of the slave terminal are greater than or equal to Z * the resource demand of the currently running power-consuming process and/or the power-consuming process that will be running; X, Y, Z Both are greater than
  • the priority of the relocation conditions decreases in the order of the first type of relocation conditions, the second type of relocation conditions, the third type of relocation conditions, and the fourth type of relocation conditions.
  • the processing unit is specifically configured to start from the first slave terminal in the terminal list when it detects that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, and obtain the slave The current target power and target resources of the terminal; determine whether the current target power and target resources of the terminal meet the relocation conditions, until the slave terminal that meets the relocation conditions is determined; the slave terminal that meets the relocation conditions is determined as the target slave terminal.
  • the processing unit is specifically configured to obtain the current corresponding to all slave terminals in the slave terminal list when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process.
  • Target power and target resources determine whether the current target power and target resources corresponding to all slave terminals in the slave terminal list meet the relocation conditions; determine the target slave terminal from all slave terminals that meet the relocation conditions.
  • the processing unit is specifically used to determine the relocation condition type corresponding to each of all the slave terminals that meet the relocation conditions; and determine the slave terminal corresponding to the relocation condition type with the highest priority as the target From the terminal.
  • the processing unit is specifically configured to obtain the current available power and available resources corresponding to the slave terminal; and respectively normalize the current available power and available resources corresponding to the slave terminal to obtain the slave terminal.
  • the current target power and target resources corresponding to the terminal is specifically configured to obtain the current available power and available resources corresponding to the slave terminal; and respectively normalize the current available power and available resources corresponding to the slave terminal to obtain the slave terminal.
  • the processing unit is specifically configured to obtain the available power and available resources corresponding to at least two slave terminals during the networking process; and according to the available power and available resources corresponding to the at least two slave terminals. Resources, determine the slave terminal list, and the slave terminals in the slave terminal list meet the preset conditions.
  • an embodiment of the present application also provides a terminal device.
  • the terminal device may include a processor and a memory, where:
  • the memory is used to store program instructions
  • the processor is configured to execute program instructions in the memory, so that the terminal device executes the power saving method for the terminal according to any one of the foregoing first aspects.
  • an embodiment of the present application further provides a computer storage medium, including instructions, when the instructions are executed by one or more processors, cause the electronic device to execute the section of the terminal according to any one of the above-mentioned first aspects. Electric method.
  • an embodiment of the present application also provides a chip on which a computer program is stored, and the computer program is executed by a processor in the method for saving power of a terminal according to any one of the above-mentioned first aspects.
  • the master terminal can determine the target slave from at least one slave terminal when it detects that it is currently running a power-consuming process and/or is about to run a power-consuming process. Terminal, and relocate the currently running power-consuming process and/or the power-consuming process to be run to the target slave terminal, so as to run the currently running power-consuming process and/or the power-consuming process about to run from the target slave terminal.
  • the terminal does not need to run the currently running power-consuming process and/or the power-consuming process that is about to run, but only needs to receive the running result sent by the target from the terminal, thereby avoiding the main terminal from running the currently running power-consuming process and / Or the power consumption caused by the power-consuming process that is about to run saves the power of the main terminal, thereby ensuring that the battery life of the terminal is improved without affecting the running of the program.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application
  • FIG. 2 is a schematic flowchart of a power saving method for a terminal according to an embodiment of the application
  • FIG. 3 is a schematic flowchart of another power saving method for a terminal according to an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a power saving device of a terminal according to an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • the embodiments of this application are applied to communication systems, such as public land mobile network (PLMN) systems, even fifth generation (5G) communication systems, or other systems that may appear in the future.
  • PLMN public land mobile network
  • 5G fifth generation
  • the following is a part of this application Explain using terms to facilitate the understanding of those skilled in the art. It should be noted that when the solution of the embodiment of this application is applied to a 5G system or other systems that may appear in the future, the names of network devices and terminals may change, but this does not affect the implementation of the solution of the embodiment of this application.
  • an embodiment of the present application provides a terminal power saving method, and the terminal power saving method can be applied through A battery-powered master terminal, the master terminal and at least one slave terminal are in the same networking, and any two devices in the networking are mutually trusted devices.
  • FIG. 1 is a schematic diagram of an application scenario provided by an embodiment of the application.
  • the application scenario may include a master terminal and at least one slave terminal in the same networking as the master terminal.
  • the master terminal When the master terminal detects that it is currently running a power-consuming process and/or is about to run a power-consuming process, it can determine the target slave terminal from at least one of the slave terminals, and compare the currently running power-consuming process and/or the upcoming power-consuming process. The power process is moved to the target slave terminal to run the currently running power-consuming process and/or the upcoming power-consuming process through the target slave terminal, so that for the master terminal, it does not need to run the currently running power-consuming process and/or the upcoming power-consuming process.
  • the running power-consuming process only needs to receive the running result sent by the target from the terminal, thus avoiding the power consumption of the main terminal due to running the currently running power-consuming process and/or the power-consuming process that is about to run, saving the main terminal This ensures that the battery life of the terminal is improved without affecting the operation of the program.
  • the master terminal relocates the currently running power-consuming process and/or the power-consuming process that is about to run to the target slave terminal. It can be understood that the master terminal relocates the currently running power-consuming process and/or Or the running operation of the power-consuming process that is about to run is performed by the target slave terminal. The master terminal does not need to execute the running operation of the currently running power-consuming process and/or the power-consuming process that is about to run. It only needs to receive the target from the terminal to run the current The running result of the running power-consuming process and/or the power-consuming process to be run is sufficient.
  • the master terminal relocates the currently running power-consuming process and/or the power-consuming process that will be running to the target slave terminal, for example, when there are more power-consuming programs currently running and/or power-consuming processes that will be running, you can change The more currently running power-consuming programs and/or upcoming power-consuming processes are relocated to a target and run from the terminal.
  • the currently running power-consuming programs and/or the upcoming power-consuming processes can also be relocated to The two targets run on the terminal.
  • the number of target slave terminals can be determined according to actual needs.
  • the embodiment of the present application does not make further restrictions.
  • the specific method of relocating the currently running power-consuming program and/or the power-consuming process that is about to run to two targets and running from the terminal is the same as the current running power-consuming program and/or the power-consuming process that is about to run
  • the specific method of relocating to a target slave terminal is similar.
  • the embodiment of this application will select a target slave terminal from at least one slave terminal, that is, the current running power consumption program of the master terminal and/or the power consumption to be run soon. The process moves to a target and runs from the terminal as an example for description, but it does not mean that the embodiment of the present application is limited to this.
  • the master terminal when the master terminal selects the target slave terminal from at least one slave terminal in the same networking as the master terminal, it does not arbitrarily select a slave terminal as the target slave terminal, but Need to meet the relocation conditions, only the slave terminal that meets the relocation conditions can be determined as the target slave terminal.
  • the relocation condition includes that the available power meets the power requirements of the currently running power consuming process and/or the power consuming process that is about to run, and the available resources meets the resource demand of the currently running power consuming process and/or the power consuming process that is about to run.
  • a terminal also known as a terminal device or a user equipment, is a device that provides users with voice and/or data connectivity, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • Common terminal devices include, for example, mobile phones, tablet computers, notebook computers, handheld computers, mobile internet devices (MID), and wearable devices.
  • wearable devices include, for example, smart watches, smart bracelets, and step counters.
  • FIG. 2 is a schematic flowchart of a terminal power saving method provided by an embodiment of the application.
  • the terminal power saving method can be applied to the main terminal.
  • the main terminal is powered by a battery, and the main terminal and at least A slave terminal is in the same networking, and the master terminal and the slave terminal are mutually trusted devices.
  • the power saving method of the terminal may include:
  • S201 When it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, determine a target slave terminal from a list of slave terminals according to a relocation condition.
  • At least one slave terminal is included in the slave terminal list.
  • the relocation conditions may include at least one of the following:
  • the first type of relocation conditions power supply, no user operation, and the available resources from the terminal are greater than the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run ;
  • the second type of relocation conditions power supply, user operation, and the available resources from the terminal are greater than or equal to X* the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run;
  • the third type of relocation condition power The time of power supply and no user operation exceeds the preset time period and the current time is within the preset time period of the system;
  • the fourth type of relocation condition battery power supply, battery available power greater than Y*currently running power consumption process and/or upcoming consumption
  • the power demand of the power process without user operation, and the available resources of the slave terminal are greater than or equal to Z*The resource requirements of the currently running power-consuming process and/or the power-consuming process to be run;
  • X, Y, and Z are all
  • the presence or absence of user operations can be understood as a factor that takes into account terminal resources.
  • the embodiment of the present application only takes as an example that the relocation conditions can include the five types of relocation conditions, and the specific settings can be set according to actual needs.
  • the preset time period in the third relocation condition may be 30 minutes
  • the current time in the preset system time period may be 0:00 to 06:00 at night, indicating that there is currently no user operation on the slave terminal.
  • the higher the priority of the relocation condition the higher the priority that the slave terminal that meets the relocation condition will be selected.
  • the slave terminal that satisfies the relocation condition is more conducive to the relocation of the power-consuming process currently running and/or the power-consuming process that is about to run on the master terminal, that is, the greater the probability of successful operation after the relocation.
  • each of the relocation conditions includes two consideration factors, one consideration factor is the current available power situation of the slave terminal, and the other consideration factor is the available resource situation of the slave terminal.
  • one consideration factor is the current available power situation of the slave terminal
  • the other consideration factor is the available resource situation of the slave terminal.
  • the first consideration when determining whether the current available power of the slave terminal meets the demand, one situation is: the current available power of the slave terminal is large enough to meet the current running power consumption process and/or the upcoming running of the master terminal The power demand of the power-consuming process. In this case, regardless of whether the slave terminal is battery-powered or power-powered, it is considered that the current available power of the slave terminal meets the power of the current running power-consuming process and/or the power-consuming process to be run demand.
  • the slave terminal is Power is supplied by a power source.
  • the current available power of the slave terminal meets the power demand of the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the current available resources of the slave terminal may include at least three types of resources, the three types of resources are: CPU resources, GPU resources , And DDR resources, of course, can also include other resources.
  • the embodiments of the present application only take the three types of resources as examples for description, but it does not mean that the embodiments of the present application are limited to these.
  • the current available CPU resources of the slave terminal can be represented by SC
  • the current available GPU resources of the slave terminal can be represented by SG
  • the current available DDR resources of the slave terminal can be represented by SD.
  • the three types of resources indicate the current available resource situation of the slave terminal to determine that the current available resources of the slave terminal meet the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run, correspondingly, It is necessary to obtain the resources required by the currently running power-consuming process and/or the power-consuming process to be run.
  • the resources required by the currently running power-consuming process and/or the power-consuming process to be run can also be obtained through this Three types of resource representations, namely, the CPU resources required by the currently running power-consuming process and/or the power-consuming process that is about to run, the currently running power-consuming process and/or the GPU resource required by the power-consuming process that is about to run, and DDR resources required by the currently running power-consuming process and/or the power-consuming process to be run.
  • the CPU resources required by the currently running power-consuming process and/or the upcoming power-consuming process can be represented by Cx
  • the GPU resources required by the currently running power-consuming process and/or the upcoming power-consuming process can be used Gx represents
  • the DDR resources required by the currently running power-consuming process and/or the power-consuming process to be run can be represented by Dx.
  • the available resources from the terminal can be obtained Compare the resources required by the current running power-consuming process and/or the upcoming power-consuming process of the master terminal to determine whether the current available resources of the slave terminal meet the currently running power-consuming process and/or the upcoming power-consuming process Resource requirements.
  • the first type of relocation conditions can be transformed into: power supply, no user operation, and SC greater than Or equal to Cx;
  • the second type of relocation conditions can be transformed into: power supply, user operation, and SC greater than or equal to X*Cx, SG greater than or equal to X*Gx, and SD greater than or equal to X*Dx;
  • third type of relocation The conditions are still: power supply, no user operation for more than the preset time period and the current system time is in the second preset system time period;
  • the fourth type of relocation conditions can be extended to at least two different relocation conditions,
  • the first type of relocation The conditions are: battery power supply, battery available power greater than Y* current running power-consuming process and/or power demand of upcoming power-consuming process, and no user operation, and SC is greater than or equal to Z*Cx;
  • the second relocation condition Powering the battery, the available battery power is greater than Y* the power demand of the current running power-consuming process
  • X, Y, and Z are all greater than or equal to 1.
  • the priority of the first type of relocation condition is higher than the priority of the second type of relocation condition.
  • the current available power from the terminal is the power demand of the currently running power-consuming process and/or the power-consuming process that is about to run, and whether the current available resource from the terminal is When meeting the resource requirements of the currently running power-consuming process and/or the power-consuming process to be run, when the key device corresponding to the master terminal is equivalent to the key device corresponding to the slave terminal, for example, the master terminal is a mobile phone and the slave terminal is also a mobile phone When the master terminal mobile phone and the slave terminal mobile phone correspond to the system-on chip (SOC) of the same model, the current available power and available resources of the slave terminal and the current running power consumption of the master terminal are obtained.
  • SOC system-on chip
  • the current available power and available resources of the terminal can be compared with the power-consuming process currently running and/or the power-consuming process that is about to run on the main terminal, respectively.
  • the required power and resources are compared, that is, the current available power and available resources of the slave terminal are the current target power and target resources of the terminal, so as to determine whether the current target power of the slave terminal is a current running power-consuming process and/or is about to The power demand of the running power-consuming process, and whether the current target resource of the terminal meets the resource demand of the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the master terminal is a mobile phone and the slave terminal is a watch
  • the respective SOCs of the master terminal mobile phone and the slave terminal watch are not of the same model, so
  • the current available power and available resources of the slave terminal and the current running power-consuming process of the master terminal are respectively obtained And/or the power demand and resource demand of the power-consuming process to be run, the power demand and resource demand of the power-consuming process currently running on the master terminal and/or the power-consuming process to be run, and/or the current power demand from the terminal
  • the available power and available resources are normalized.
  • the current target power and target resources of the slave terminal can be obtained, and then the current target power and target resources of the slave terminal will be compared with the current target power of the master terminal.
  • the power and resources required by the running power-consuming process and/or the power-consuming process to be run are compared to determine whether the current target power from the terminal is the power demand of the currently running power-consuming process and/or the power-consuming process to be run , And whether the current target resource of the slave terminal meets the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the normalization process can be implemented in three ways. In one way, you can Based on the industry’s general performance measurement method, the current available power and available resources of the slave terminal, and the current running power consumption process of the master terminal and/or the power and resources required for the power consumption process to be run are all normalized. , So that the key device corresponding to the master terminal is equivalent to the key device corresponding to the slave terminal, thereby increasing the probability that the slave terminal can successfully run the power-consuming process currently running and/or the power-consuming process that is about to run on the master terminal.
  • the required CPU resource Cx Cx/the highest frequency of the main terminal CPU * the dhrystone score of the highest frequency point
  • Required GPU resource Gx Gx/Main terminal GPU highest frequency*Highest frequency point Manhattan 3.0 running points
  • required DDR resource Dx Dx*Main terminal DDR highest frequency, so SC and Cx, SG and Gx, SD and Dx, SP and Px can be compared with the same level benchmark.
  • the power consumption and resources required for the current running power-consuming process and/or the power-consuming process to be run on the master terminal can be respectively normalized based on the device capability of the slave terminal.
  • the current available power and available resources of the slave terminal may be normalized separately based on the device capability of the master terminal.
  • the current available power and available resources of the slave terminal are based on the general performance measurement method in the industry.
  • the power and resources required by the process are all normalized as an example for description, but it does not mean that the embodiment of the present application is limited to this. It can be seen that before normalizing the power and resources required for the current running power-consuming process and/or the power-consuming process that is about to run on the main terminal, it is necessary to obtain the current running power-consuming process and/or of the main terminal separately. Or the power and resources required by the power-consuming process to be run, before the current available power and available resources of the slave terminal can be normalized respectively.
  • the current running power-consuming process and/or the power-consuming process that is about to run may be obtained in advance.
  • the corresponding power consumption during each day of the week during operation is obtained, and 7 power consumption values are obtained, and each power consumption value of the 7 power consumption values is rounded to the integer to obtain 7 after the hundreds digit is obtained.
  • a power consumption value, and then further calculate the mathematical expected value of the seven power consumption values obtained after the hundred digits are obtained.
  • the final mathematical expected value can be used as the current running power consumption process and/or the power consumption process that is about to run on the main terminal. Estimated power demand Px.
  • the corresponding acquisition method is the same as the power-consuming process currently running on the main terminal and/or Or the method of obtaining the power required by the power-consuming process that is about to run is similar, and the details will not be repeated in the embodiment of the present application.
  • the target slave terminal from the slave terminal list according to the relocation conditions when it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process.
  • the slave terminal that meets the relocation conditions is determined as the target slave terminal.
  • the judgment can be made according to the existing order in the slave terminal list, so that the first slave terminal and the first slave terminal are included in the order from the terminal list.
  • the second slave terminal, the third slave terminal, and the fourth slave terminal are taken as examples. First, obtain the current target power and target resources of the first slave terminal in the existing sequence, and determine whether the current target power and target resources of the first slave terminal meet the above requirements.
  • any of the four types of relocation conditions if the current target power and target resources of the first slave terminal do not meet any of the above four types of relocation conditions, continue to obtain the current sequence of the second slave terminal in the current sequence Target power and target resources, and determine whether the current target power and target resources of the second slave terminal meet any of the above four types of relocation conditions, if the current target power and target available resources of the second slave terminal meet the above four types One of the relocation conditions.
  • the second slave terminal is determined to be the target slave terminal.
  • the target slave terminal is determined from the slave terminal list according to the relocation conditions, the judgment may not be made according to the existing order in the slave terminal list, but the current target power and target resources of a certain slave terminal in the terminal list can be randomly obtained For example, if the certain slave terminal is the second slave terminal, the current target power and target resources of the second slave terminal are obtained, and it is determined whether the current target power and target resources of the second slave terminal meet the above four types of relocation conditions.
  • any relocation conditions if the current target power and target resources of the second slave terminal do not meet any of the above four types of relocation conditions, continue to randomly obtain the current target power and target resources of another slave terminal from the terminal list For example, if the other slave terminal is the fourth slave terminal, the current target power and target resources of the fourth slave terminal are acquired, and it is determined whether the current target power and target resources of the fourth slave terminal meet the above four types of relocation conditions.
  • the target slave terminal is determined from the slave terminal list according to the relocation condition.
  • this possible implementation method is adopted. As long as it is determined that one slave terminal in the slave terminal list meets the relocation condition, the slave that currently meets the relocation condition can be selected.
  • the terminal is determined as the target slave terminal, and it is not necessary to determine whether the current target power and target resource corresponding to each slave terminal in the slave terminal list meet the relocation conditions, thereby reducing the amount of data processing and improving the operating efficiency of the process.
  • the target slave terminal when determining the target slave terminal from all slave terminals that meet the relocation conditions, you can first determine the relocation condition type corresponding to each slave terminal among all the slave terminals that meet the relocation condition; and correspond to the relocation condition type with the highest priority The slave terminal is determined as the target slave terminal.
  • the first slave terminal, the second slave terminal, the third slave terminal, and the fourth slave terminal correspond to the current target power and target resources, and determine the current target power and target corresponding to the first slave terminal, the second slave terminal, the third slave terminal, and the fourth slave terminal.
  • the resource meets the relocation conditions, if it is satisfied, it is determined that the first slave terminal meets the first type of relocation conditions, the second slave terminal does not meet any of the four types of relocation conditions, and the third slave terminal meets the third type of relocation conditions , The fourth slave terminal satisfies the fourth type of relocation condition.
  • the slave terminals that meet the relocation condition are the first slave terminal, the third slave terminal, and the fourth slave terminal. Further, the priorities of the first type of relocation condition met by the first slave terminal, the third type of relocation condition met by the third slave terminal, and the fourth type of relocation condition met by the fourth slave terminal can be compared, due to the first type of relocation condition The priority of is greater than the priority of the third type of relocation condition and the priority of the fourth type of relocation condition.
  • the first slave terminal corresponding to the first type of relocation condition with the highest priority can be determined as the target slave terminal, so that the first slave terminal It is more conducive to the relocation of the power-consuming process currently running and/or the power-consuming process that is about to run on the master terminal, that is, after the relocation, the power-consuming process currently running and/or the power-consuming process that is about to run on the master terminal succeeds on the first slave terminal The greater the probability of operation, which further improves the success rate of the process relocation.
  • the second slave terminal does not meet any of the four types of relocation conditions
  • the third slave terminal meets the third type of relocation condition
  • the fourth slave terminal meets the fourth type of relocation condition.
  • the difference from the first possible implementation above is that this possible need to determine the current target power and target corresponding to each slave terminal in the terminal list one by one. Whether the resource meets the relocation condition, the slave terminal corresponding to the relocation condition type with the highest priority is determined as the target slave terminal.
  • this possible implementation is compared with the first possible implementation above, because this possible implementation is to determine the slave terminal corresponding to the relocation condition type with the highest priority as the target slave terminal, the target slave The terminal is more conducive to the relocation of the power-consuming process currently running on the main terminal and/or the power-consuming process that is about to run, that is, after the relocation, the power-consuming process currently running and/or the power-consuming process that is about to run on the main terminal succeeds on the target slave terminal The greater the probability of operation, which further improves the success rate of the process relocation.
  • S202 Relocate the currently running power-consuming process and/or the power-consuming process to be run to the target slave terminal, so as to run the currently running power-consuming process and/or the power-consuming process to be run from the terminal through the target.
  • the target slave terminal After receiving the currently running power-consuming process and/or the power-consuming process to be relocated from the master terminal, the current running power-consuming process and/or the power-consuming process to be run of the master terminal can be run , In order to obtain the running result, and send the running to the main terminal, so that the main terminal can display or output the running result of the power-consuming process currently running on the main terminal and/or the power-consuming process to be run.
  • S203 Receive the running result sent by the target from the terminal.
  • the master terminal when it detects that it is currently running a power-consuming process and/or is about to run a power-consuming process, it can determine the target slave terminal from at least one slave terminal, and set the current running
  • the power-consuming process and/or the power-consuming process that will be running are moved to the target slave terminal to run the currently running power-consuming process and/or the power-consuming process that is about to run through the target slave terminal, so that for the master terminal, it does not need To run the currently running power-consuming process and/or the power-consuming process that is about to run, you only need to receive the running result sent by the target from the terminal, thereby avoiding the main terminal from running the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the power consumption caused by the electrical process saves the power of the main terminal, thereby ensuring that the battery life of the terminal is improved without affecting the operation of the program.
  • the target slave is determined from the slave terminal list according to the relocation conditions. Before terminal, you need to get the list of slave terminals.
  • the slave terminal list includes at least one slave terminal.
  • the slave terminal list may be determined from the at least two slave terminals.
  • FIG. 3 is a schematic flowchart of another terminal power saving method according to an embodiment of the application, and the terminal power saving method may further include:
  • S301 During the networking process, obtain the available power and available resources corresponding to each of at least two slave terminals.
  • the master terminal when it obtains the available power and available resources corresponding to at least two slave terminals, it can actively obtain the available power and available resources corresponding to each of the at least two slave terminals. , It can also passively receive the available power and available resources corresponding to each of the at least two slave terminals, which can be specifically set according to actual needs.
  • the available power and available resources corresponding to each of the at least two slave terminals The method of obtaining the data is not further limited in the embodiment of this application.
  • S302 Determine a slave terminal list according to the available power and available resources corresponding to each of the at least two slave terminals.
  • the slave terminal in the slave terminal list meets the preset condition.
  • the preset condition is different from the aforementioned relocation condition, and the restriction degree of the preset condition is weaker than the aforementioned relocation condition.
  • the preset condition may include that the power is greater than 20%, and the available resources are greater than a certain threshold when the power is charged.
  • the power of the slave terminal is less than 20%, and the battery is charged, or the key components of the master terminal and the slave terminal are completely unequal, for example, when the master terminal is a mobile phone and the slave terminal is a watch, the two SOCs are not at the same level.
  • the slave terminal will not be included in the slave terminal list.
  • the slave terminal list is determined according to the available power and available resources corresponding to each of the at least two slave terminals.
  • the purpose is to: Initial screening of the target slave terminal.
  • the slave terminal that currently meets the preset conditions does not guarantee that when the terminal detects that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, it can also meet the relocation conditions. Therefore, the follow-up When the terminal detects that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process, when determining the target slave terminal, it still needs to determine the target slave terminal from the slave terminal list according to the relocation conditions. It can be seen that through this preliminary screening, the subsequent data processing amount when the target slave terminal is determined from the slave terminal list according to the relocation conditions can be reduced, thereby improving the relocation efficiency of the process.
  • the master terminal is a mobile phone
  • the first slave terminal is a smart TV box
  • the second slave terminal is a smart speaker.
  • the available power of the master terminal is less than 20%
  • the first slave terminal and the second slave terminal Both are powered by a power source, and neither the first slave terminal nor the second slave terminal is currently used by users.
  • the master terminal needs to move the currently running game to the target slave terminal To run, you need to select the target slave terminal from the first slave terminal and the second slave terminal according to the relocation conditions.
  • the game is moved from the master terminal to The second slave terminal smart speaker to run the game through the smart speaker and receive the running result sent by the smart speaker.
  • the main terminal only receives and displays the running results, and hands a large amount of running calculation work to the smart speaker for execution. Therefore, the main terminal can run the game for 2 hours more than if it is not relocated. It can be seen that the main terminal relocates the currently running game process to the smart speaker to run the game process through the smart speaker.
  • the main terminal it does not need to run the game process, but only needs to receive the running result sent by the smart speaker. That is, the power consumption of the main terminal due to running the game process is avoided, the power of the main terminal is saved, and the battery life of the terminal is improved without affecting the running of the program.
  • the master terminal is a mobile phone
  • the first slave terminal is a smart TV box
  • the second slave terminal is a smart speaker.
  • the available power of the master terminal is less than 20%
  • the first slave terminal and The second slave terminal is powered by a power supply, and neither the first slave terminal nor the second slave terminal is currently used by users.
  • the current time is 01:00, that is at night
  • the user has opened a variety of instant messaging (IM) applications on the main terminal and will turn on the WIFI switch or link data services, and control the main terminal to be in the off-screen standby state
  • IM instant messaging
  • the main terminal although the main terminal is in the off-screen standby state, it can still receive instant messaging messages sent by other devices.
  • the target slave terminal can be selected from the first slave terminal and the second slave terminal according to the relocation conditions. After judgment, if the second slave terminal smart speaker is determined to be the target slave terminal, it will be able to Relocate at least one instant messaging application among the opened multiple instant messaging applications from the master terminal to the second slave terminal smart speaker, so as to run the at least one instant messaging application through the smart speaker, and receive the operation sent by the smart speaker result.
  • relocating all open instant messaging applications from the master terminal to the second slave terminal smart speaker saves the most power, that is, the master terminal consumes the least power.
  • the main terminal does not need to run the at least one instant messaging application process, but only needs to receive the running result sent by the smart speaker, thereby avoiding the main terminal from running the at least one instant messaging application.
  • the power consumption caused by the application process saves the power of the main terminal, thereby ensuring that the battery life of the terminal is improved without affecting the running of the program.
  • the main terminal only needs to receive the running result sent by the smart speaker.
  • the process of at least one instant messaging application is running, it will receive the message of the at least one instant messaging application.
  • Messages can include valid messages or spam messages. Therefore, in order to avoid the power consumption of the main terminal due to receiving spam messages, the smart speaker can further filter the received messages. If it is determined that a certain message is a valid message, Then the effective efficiency is sent to the main terminal, on the contrary, if a certain message is spam, the spam message is not sent to the main terminal, so that the power consumption caused by receiving spam messages can be avoided, and the main terminal is further saved This ensures that the battery life of the terminal is improved without affecting the operation of the program.
  • the power saving device 40 of the terminal may include:
  • the processing unit 401 is configured to determine a target slave terminal from at least one slave terminal when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process.
  • the relocation unit 402 is configured to relocate the currently running power-consuming process and/or the power-consuming process to be run to the target slave terminal, so as to run the currently running power-consuming process and/or the power-consuming process to be run from the terminal through the target.
  • the receiving unit 403 is configured to receive the running result sent by the target from the terminal.
  • the number of slave terminals is at least two
  • the processing unit 401 is specifically configured to determine a slave terminal list from the at least two slave terminals during the networking process; wherein the slave terminal list includes at least one slave terminal ; And when it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, the target slave terminal is determined from the list of slave terminals according to the relocation conditions; the relocation conditions include the available power to meet the current running power-consuming process and/ Or the power demand of the power-consuming process that is about to run, and the available resources meet the resource demand of the currently running power-consuming process and/or the power-consuming process that is about to run.
  • the relocation conditions include at least one of the following:
  • the first type of relocation conditions power supply, no user operation, and the available resources from the terminal are greater than the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run ;
  • the second type of relocation conditions power supply, user operation, and the available resources from the terminal are greater than or equal to X* the resource requirements of the currently running power-consuming process and/or the power-consuming process that is about to run;
  • the third type of relocation condition power The time of power supply and no user operation exceeds the preset time period and the current time is within the preset time period of the system;
  • the fourth type of relocation condition battery power supply, battery available power greater than Y*currently running power consumption process and/or upcoming consumption
  • the power demand of the power process without user operation, and the available resources of the slave terminal are greater than or equal to Z*The resource requirements of the currently running power-consuming process and/or the power-consuming process to be run;
  • X, Y, and Z are all greater
  • the priority of the relocation conditions decreases in the order of the first type of relocation conditions, the second type of relocation conditions, the third type of relocation conditions, and the fourth type of relocation conditions.
  • the processing unit 401 is specifically configured to, when it is detected that the main terminal is currently running a power-consuming process and/or is about to run a power-consuming process, start from the first slave terminal in the slave terminal list to obtain the current status of the slave terminal.
  • Target power and target resources determine whether the current target power and target resources of the slave terminal meet the relocation conditions, until the slave terminal that meets the relocation conditions is determined; the slave terminal that meets the relocation conditions is determined as the target slave terminal.
  • the processing unit 401 is specifically configured to obtain the current target power and target power corresponding to all the slave terminals in the slave terminal list when it is detected that the master terminal is currently running a power-consuming process and/or is about to run a power-consuming process. Resources; determine whether the current target power and target resources corresponding to all the slave terminals in the terminal list meet the relocation conditions; determine the target slave terminal from all the slave terminals that meet the relocation conditions.
  • the processing unit 401 is specifically configured to determine the relocation condition type corresponding to each of all the slave terminals that meet the relocation condition; and determine the slave terminal corresponding to the relocation condition type with the highest priority as the target slave terminal.
  • the processing unit 401 is specifically configured to obtain the current available power and available resources corresponding to the slave terminal; and respectively perform normalization processing on the current available power and available resources corresponding to the slave terminal to obtain the current available power and resources corresponding to the slave terminal.
  • the target power and target resources are specifically configured to obtain the current available power and available resources corresponding to the slave terminal; and respectively perform normalization processing on the current available power and available resources corresponding to the slave terminal to obtain the current available power and resources corresponding to the slave terminal.
  • the target power and target resources are specifically configured to obtain the current available power and available resources corresponding to the slave terminal; and respectively perform normalization processing on the current available power and available resources corresponding to the slave terminal to obtain the current available power and resources corresponding to the slave terminal.
  • the power saving device 40 of the terminal in the embodiment shown in FIG. 4 may be the terminal itself, or a component (such as a chip or a circuit) configurable in the terminal.
  • the power-saving device 40 of the terminal shown in the embodiment of the present application can implement the technical solution of the power-saving method of the terminal shown in any of the above embodiments, and its implementation principle and beneficial effects are the same as those of the power-saving method of the terminal. The effect is similar and will not be repeated here.
  • FIG. 5 is a schematic structural diagram of a terminal device 50 provided by an embodiment of the application.
  • the terminal device 50 may include a processor 501 and a memory 502, where:
  • the memory 502 is used to store program instructions
  • the processor 501 is configured to execute the program instructions in the memory 502, so that the terminal device 50 executes the technical solution of the terminal power saving method shown in any of the above embodiments, and its implementation principle and beneficial effects are similar to those of the terminal.
  • the realization principle and beneficial effects of the power saving method are similar, and will not be repeated here.
  • An embodiment of the present application further provides a computer storage medium, including instructions, when the instructions are run by one or more processors, cause the terminal device to execute the technical solution of the terminal power saving method shown in any of the above embodiments,
  • the implementation principle and beneficial effects are similar to the implementation principles and beneficial effects of the power saving method of the terminal, and will not be repeated here.
  • the embodiment of the present application also provides a chip on which a computer program is stored.
  • the computer program is executed by a processor in the technical solution of the terminal power saving method shown in any of the above embodiments.
  • the implementation principle and beneficial effects of the terminal The realization principle and beneficial effects of the power saving method are similar, and will not be repeated here.
  • the processor in each of the foregoing embodiments may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA), or Other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • Other programmable logic devices discrete gates or transistor logic devices, discrete hardware components.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory (RAM), flash memory, read-only memory (read-only memory, ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc. mature in the field Storage medium.
  • RAM random access memory
  • flash memory read-only memory
  • read-only memory read-only memory
  • ROM programmable read-only memory or electrically erasable programmable memory, registers, etc. mature in the field Storage medium.
  • the storage medium is located in the memory, and the processor reads the instructions in the memory and completes the steps of the above method in combination with its hardware.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Telephone Function (AREA)
  • Power Sources (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种终端的节电方法和装置,主终端在检测到其当前运行有耗电进程和/或即将运行耗电进程时,可以从至少一个从终端中确定出目标从终端,并将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,这样对于主终端而言,其无需运行当前运行的耗电进程和/或即将运行的耗电进程,只需要接收目标从终端发送的运行结果即可,从而避免了主终端由于运行当前运行的耗电进程和/或即将运行的耗电进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。

Description

终端的节电方法和装置
本申请要求于2019年09月11日提交中国专利局、申请号为201910859145.X、申请名称为“终端的节电方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种终端的节电方法和装置。
背景技术
随着终端功能的不断强大,终端已经进入到人们的工作和生活当中,成为人员工作和生活不可或缺的一部分。在使用终端的过程中,会不断消耗终端电池的电量,使得终端会出现“不耐用”的现象,即终端电池的续航能力较差。因此,如何提高终端电池的续航能力,使得终端能够更好地为用户服务是至关重要的。
现有技术中,为了降低终端电池的耗电量,提高终端电池的续航能力,会对终端中的软件进行管控和/或对硬件进行优化,以降低终端电池的耗电量。例如,常见的软件管控方案可以包括中央处理器(central processing unit,CPU)频率控制、进程冷冻、推送消息管控、全球定位系统(global positioning system,GPS)管控代理等。常见的硬件优化方案可以包括CPU AVS、液晶显示器(liquid crystal display,LCD)CABL等。以软件管控方案为例,为了降低终端屏幕的耗电量,可以对CPU频率进行限制,但是限制CPU频率会影响程序的运行,从而使得终端的性能产生冲突。
因此,如何在保证不影响程序运行的情况下,提高终端电池的续航时间,是本领域技术人员亟待解决的问题。
发明内容
本申请实施例提供一种终端的节电方法和装置,实现在保证不影响程序运行的情况下,提高了终端电池的续航时间。
第一方面,本申请实施例提供一种终端的节电方法,应用于主终端,主终端通过电池供电,主终端和至少一个从终端处于同一个组网中,该终端的节电方法可以包括:
在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端。
将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程。
接收目标从终端发送的运行结果。
由此可见,在本申请实施例中,主终端在检测到其当前运行有耗电进程和/或即将运行耗电进程时,可以从至少一个从终端中确定出目标从终端,并将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,这样对于主终端而言,其无需运行当前运行的耗电进程和/或即 将运行的耗电进程,只需要接收目标从终端发送的运行结果即可,从而避免了主终端由于运行当前运行的耗电进程和/或即将运行的耗电进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
在一种可能的实现方式中,从终端的个数为至少两个,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端,包括:
在组网过程中,从至少两个从终端中确定从终端列表;其中,从终端列表中包括至少一个从终端。
在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端;搬迁条件包括可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
可以理解的是,在本申请实施例中,在组网过程中,根据至少两个从终端中每一个从终端各自对应的可用电量和可用资源,确定从终端列表,其目的在于:是在选择目标从终端的初步筛选,当前满足预设条件的从终端并不能保证在后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,同样能够满足搬迁条件,因此,后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,确定目标从终端时,仍然需要根据搬迁条件,从从终端列表中确定目标从终端。由此可见,通过该初步筛选,可以降低后续根据搬迁条件,从从终端列表中确定目标从终端时的数据处理量,从而提高了进程的搬迁效率。
在一种可能的实现方式中,搬迁条件包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、从终端的可用资源大于或等于Z*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;X、Y、Z均大于或者等于1。
其中,搬迁条件的优先级按照第一类搬迁条件、第二类搬迁条件、第三类搬迁条件及第四类搬迁条件的顺序依次降低。
需要说明的是,搬迁条件的优先级越高,满足该搬迁条件的从终端被选择的优先级就越高。换言之,满足该搬迁条件的从终端,更利于主终端当前运行的耗电进程和/或即将运行的耗电进程的搬迁,即搬迁之后,成功运行的概率越大。
在一种可能的实现方式中,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端,包括:
在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从从终端列表中的第一个从终端开始,获取从终端当前的目标电量和目标资源;并判断从终端当前的目标电量和目标资源是否满足搬迁条件,直至确定出满足搬迁条件的从终端,将满足搬迁条件的从终端确定为目标从终端。
由此可见,在根据搬迁条件从从终端列表中确定目标从终端时,采用该种可能的实现 方式,只要确定从终端列表中有一个从终端满足搬迁条件,就可以将当前满足搬迁条件的从终端确定为目标从终端,而不需要逐个判断从终端列表中每一个从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件,从而减少数据处理量,提高进程的运行效率。
在一种可能的实现方式中,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端,包括:
在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取从终端列表中所有从终端各自对应的当前的目标电量和目标资源,并判断从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件,从所有满足搬迁条件的从终端中确定目标从终端。
在一种可能的实现方式中,从所有满足搬迁条件的从终端中确定目标从终端,包括:
确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型,并将优先级最高的搬迁条件类型对应的从终端确定为目标从终端。
由此可见,该种可能的实现方式是将优先级最高的搬迁条件类型对应的从终端确定为目标从终端,使得该目标从终端更利于主终端当前运行的耗电进程和/或即将运行的耗电进程的搬迁,即搬迁之后,主终端当前运行有耗电进程和/或即将运行耗电进程在该目标从终端上成功运行的概率越大,从而进一步提高了进程搬迁的成功率。
在一种可能的实现方式中,获取从终端对应的当前的目标电量和目标资源,包括:
获取从终端对应的当前的可用电量和可用资源,并分别对从终端对应的当前的可用电量和可用资源进行归一化处理,得到从终端对应的当前的目标电量和目标资源,以使主终端对应的关键器件与从终端对应的关键器件对等,从而提高了从终端可成功地运行主终端当前运行的耗电进程和/或即将运行的耗电进程的概率。
在一种可能的实现方式中,在组网过程中,从至少两个从终端中确定从终端列表,包括:
在组网过程中,获取至少两个从终端各自对应的可用电量和可用资源,根据至少两个从终端各自对应的可用电量和可用资源,确定从终端列表,从终端列表中的从终端满足预设条件,这样先确定从终端列表,可以作为在选择目标从终端的初步筛选,当前满足预设条件的从终端并不能保证在后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,同样能够满足搬迁条件,因此,后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,确定目标从终端时,仍然需要根据搬迁条件,从从终端列表中确定目标从终端。由此可见,通过该初步筛选,可以降低后续根据搬迁条件,从从终端列表中确定目标从终端时的数据处理量,从而提高了进程的搬迁效率。
第二方面,本申请实施例还提供一种终端的节电装置,应用于主终端,主终端通过电池供电,主终端和至少一个从终端处于同一个组网中,该终端的节电装置可以包括:
处理单元,用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端。
搬迁单元,用于将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程。
接收单元,用于接收目标从终端发送的运行结果。
在一种可能的实现方式中,从终端的个数为至少两个,处理单元,具体用于在组网过 程中,从至少两个从终端中确定从终端列表;其中,从终端列表中包括至少一个从终端;并在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端;搬迁条件包括可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
在一种可能的实现方式中,搬迁条件包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、从终端的可用资源大于或等于Z*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;X、Y、Z均大于或者等于1。
其中,搬迁条件的优先级按照第一类搬迁条件、第二类搬迁条件、第三类搬迁条件及第四类搬迁条件的顺序依次降低。
在一种可能的实现方式中,处理单元,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从终端列表中的第一个从终端开始,获取从终端当前的目标电量和目标资源;判断从终端当前的目标电量和目标资源是否满足搬迁条件,直至确定出满足搬迁条件的从终端;将满足搬迁条件的从终端确定为目标从终端。
在一种可能的实现方式中,处理单元,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取从终端列表中所有从终端各自对应的当前的目标电量和目标资源;判断从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件;从所有满足搬迁条件的从终端中确定目标从终端。
在一种可能的实现方式中,处理单元,具体用于确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型;并将优先级最高的搬迁条件类型对应的从终端确定为目标从终端。
在一种可能的实现方式中,处理单元,具体用于获取从终端对应的当前的可用电量和可用资源;并分别对从终端对应的当前的可用电量和可用资源进行归一化处理,得到从终端对应的当前的目标电量和目标资源。
在一种可能的实现方式中,处理单元,具体用于在组网过程中,获取至少两个从终端各自对应的可用电量和可用资源;并根据至少两个从终端各自对应的可用电量和可用资源,确定从终端列表,从终端列表中的从终端满足预设条件。
第三方面,本申请实施例还提供一种终端设备,该终端设备可以包括处理器和存储器,其中,
所述存储器用于存储程序指令;
所述处理器用于执行所述存储器中的程序指令,使得所述终端设备执行上述第一方面任一项所述的终端的节电方法。
第四方面,本申请实施例还提供一种计算机存储介质,包括指令,当所述指令由一个或多个处理器运行时,使得电子设备执行上述第一方面任一项所述的终端的节电方法。
第五方面,本申请实施例还提供一种芯片,芯片上存储有计算机程序,在计算机程序被处理器执行上述第一方面任一项所述的终端的节电方法。
由此可见,本申请实施例的终端的节电方法和装置,主终端在检测到其当前运行有耗电进程和/或即将运行耗电进程时,可以从至少一个从终端中确定出目标从终端,并将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,这样对于主终端而言,其无需运行当前运行的耗电进程和/或即将运行的耗电进程,只需要接收目标从终端发送的运行结果即可,从而避免了主终端由于运行当前运行的耗电进程和/或即将运行的耗电进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
附图说明
图1为本申请实施例提供的一种应用场景示意图;
图2为本申请实施例提供的一种终端的节电方法的流程示意图;
图3为本申请实施例提供的另一种终端的节电方法的流程示意图;
图4为本申请实施例提供的一种终端的节电装置的结构示意图;
图5为本申请实施例提供的一种终端设备的结构示意图。
具体实施方式
本申请实施例应用于通信系统,例如公共陆地移动网络(public land mobile network,PLMN)系统,甚至第五代(5th generation,5G)通信系统或未来可能出现的其他系统,以下对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。需要说明的是,当本申请实施例的方案应用于5G系统或未来可能出现的其他系统时,网络设备和终端的名称可能发生变化,但这并不影响本申请实施例方案的实施。
鉴于现有技术中存在的问题,为了保证不影响程序运行的情况下,提高终端电池的续航时间,本申请实施例提供了一种终端的节电方法,该终端的节电方法可以应用于通过电池供电的主终端,该主终端和至少一个从终端处于同一个组网中,并且该组网中的任意两个设备互为可信设备。示例的,可参见图1所示,图1为本申请实施例提供的一种应用场景示意图,该应用场景中可以包括主终端和与该主终端处于同一个组网中的至少一个从终端,主终端在检测到其当前运行有耗电进程和/或即将运行耗电进程时,可以从至少一个从终端中确定出目标从终端,并将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,这样对于主终端而言,其无需运行当前运行的耗电进程和/或即将运行的耗电进程,只需要接收目标从终端发送的运行结果即可,从而避免了主终端由于运行当前运行的耗电进程和/或即将运行的耗电进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
可以理解的是,在本申请实施例中,主终端将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,可以理解为主终端将当前运行的耗电进程和/或即将运行的耗电进程的运行操作交由目标从终端执行,该主终端无需再执行当前运行的耗电进程和/或即将运行的耗电进程的运行操作,只需要接收目标从终端运行当前运行的耗电进程和/或即将运 行的耗电进程的运行结果即可。主终端在将当前运行的耗电进程和/或即将运行的耗电进程搬迁至目标从终端时,示例的,当前运行的耗电程序和/或即将运行的耗电进程的较多时,可以将该较多的当前运行的耗电程序和/或即将运行的耗电进程搬迁至一个目标从终端上运行,当然,也可以将当前运行的耗电程序和/或即将运行的耗电进程搬迁至两个目标从终端上运行,具体可以根据实际需要确定目标从终端的个数,在此,本申请实施例不做进一步地限制。需要说明的是,将当前运行的耗电程序和/或即将运行的耗电进程搬迁至两个目标从终端上运行的具体方法与将当前运行的耗电程序和/或即将运行的耗电进程搬迁至一个目标从终端上运行的具体方法类似,下面,本申请实施例将以在至少一个从终端中选择一个目标从终端,即主终端当前运行的耗电程序和/或即将运行的耗电进程搬迁至一个目标从终端上运行为例进行说明,但并不代表本申请实施例仅局限于此。
需要说明的是,在本申请实施例中,主终端在从与其为同一个组网中的至少一个从终端中选择目标从终端时,不是任意选择一个从终端都可以作为目标从终端,而是需要满足搬迁条件,只有满足搬迁条件的从终端,才可以确定为目标从终端。其中,搬迁条件包括可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
其中,1)终端,又称为终端设备、用户设备,是一种向用户提供语音和/或数据连通性的设备,例如,具有无线连功能的手持式设备、车载设备等。常见的终端设备例如包括:手机、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,其中,可穿戴设备例如包括:智能手表、智能手环、计步器等。
2)在本申请的实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”一般表示前后关联对象是一种“或”的关系。
下面以具体的实施例对本申请的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
示例的,请参见图2,图2为本申请实施例提供的一种终端的节电方法的流程示意图,该终端的节电方法可以应用于主终端,主终端通过电池供电,主终端和至少一个从终端处于同一个组网中,且主终端和从终端互为可信设备,该终端的节电方法可以包括:
S201、在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端。
可以理解的是,从终端列表中包括至少一个从终端。
示例的,搬迁条件可以包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、从终端的可用资源大于或等于Z*当前运行的耗电进程和/或即将运行的耗电进程的资源需 求;X、Y、Z均大于或者等于1;其中,搬迁条件的优先级按照第一类搬迁条件、第二类搬迁条件、第三类搬迁条件及第四类搬迁条件的顺序依次降低。其中,有无用户操作可以理解为考量从终端资源的因素。当然,本申请实施例只是以搬迁条件可以包括该五类搬迁条件为例进行说明,具体可以根据实际需要进行设置。示例的,第三搬迁条件中的预设时间段可以为30分钟,且当前时间处于预设系统时间段可以为夜间0:00至06:00,说明该从终端当前无用户操作。
需要说明的是,搬迁条件的优先级越高,满足该搬迁条件的从终端被选择的优先级就越高。换言之,满足该搬迁条件的从终端,更利于主终端当前运行的耗电进程和/或即将运行的耗电进程的搬迁,即搬迁之后,成功运行的概率越大。
可以看出,上述四类搬迁条件中,每一个搬迁条件均包括了两个考量因素,一个考量因素是从终端当前的可用电量情况,一个考量因素是从终端的可用资源情况。对于第一个考量因素,在确定从终端当前的可用电量情况是否满足需求时,一种情况是:从终端当前可用电量较多,足以满足主终端当前运行的耗电进程和/或即将运行的耗电进程的电量需求,在该种情况下,无论从终端是电池供电还是电源供电,均认为该从终端当前的可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求。一种情况是:虽然从终端当前的可用电量较少,仅依靠当前的剩余电量不足以满足主终端当前运行的耗电进程和/或即将运行的耗电进程的电量需求,但是该从终端是通过电源供电,在该种情况下,也可以认为该从终端当前的可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求。
对于第二个考量因素,在确定从终端当前的可用资源情况是否满足需求时,从终端当前的可用资源可以包括至少三种类型的资源,该三种类型的资源分别为:CPU资源、GPU资源,及DDR资源,当然,也可以包括其它资源,本申请实施例只是以该三种类型的资源为例进行说明,但并不代表本申请实施例仅局限于此。示例的,从终端当前的可用CPU资源可以用SC表示,从终端当前的可用GPU资源可以用SG表示,从终端当前的可用DDR资源可以用SD表示。在通过该三种类型的资源表示从终端当前的可用资源情况,以确定从终端当前的可用资源满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求时,对应的,也需要获取到当前运行的耗电进程和/或即将运行的耗电进程所需的资源情况,当然,该当前运行的耗电进程和/或即将运行的耗电进程所需的资源也可以通过该三种类型的资源表示,即当前运行的耗电进程和/或即将运行的耗电进程所需的CPU资源、当前运行的耗电进程和/或即将运行的耗电进程所需的GPU资源及当前运行的耗电进程和/或即将运行的耗电进程所需的DDR资源。示例的,当前运行的耗电进程和/或即将运行的耗电进程所需的CPU资源可以用Cx表示、当前运行的耗电进程和/或即将运行的耗电进程所需的GPU资源可以用Gx表示,及当前运行的耗电进程和/或即将运行的耗电进程所需的DDR资源可以用Dx表示。在分别获取到从终端的三种类型的可用资源,及主终端当前运行的耗电进程和/或即将运行的耗电进程所需的三种类型的资源之后,就可以将从终端的可用资源与主终端当前运行的耗电进程和/或即将运行的耗电进程所需的资源进行比较,从而确定从终端当前的可用资源是否满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
可以理解的是,当从终端的可用资源包括可用CPU资源、可用GPU资源,及可用DDR 资源三种类型的资源时,第一类搬迁条件可以变换为:电源供电、无用户操作、且SC大于或等于Cx;第二类搬迁条件可以变换为:电源供电、有用户操作、且SC大于或等于X*Cx、SG大于或等于X*Gx、且SD大于或等于X*Dx;第三类搬迁条件仍为:电源供电、无用户操作的时间超过预设时间段且当前系统时间处于第二预设系统时间段;第四类搬迁条件可以延伸出至少两种不同的搬迁条件,第一种搬迁条件为:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、且SC大于或等于Z*Cx;第二种搬迁条件为电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、SC大于或等于Y*Cx、SG大于或等于Y*Gx、且SD大于或等于Y*Dx。X、Y、Z均大于或者等于1。示例的,在本申请实施例中,对于第四类搬迁条件延伸出的两种不同的搬迁条件,第一种搬迁条件的优先级高于第二种搬迁条件的优先级。
需要说明的是,在通过上述四种类型的搬迁条件,判断从终端当前的可用电量是否当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且从终端当前的可用资源是否满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求时,当主终端对应的关键器件与从终端对应的关键器件对等时,例如,主终端为手机,从终端也为手机时,该主终端手机和从终端手机各自对应的系统级芯片(system on chip,SOC)属于同一个型号,在分别获取到从终端当前的可用电量和可用资源,及主终端当前运行的耗电进程和/或即将运行的耗电进程的电量需求和资源需求之后,就可以将从终端当前的可用电量和可用资源,分别与主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量和资源进行比较,即从终端当前的可用电量和可用资源即为该终端当前的目标电量和目标资源,从而确定从终端当前的目标电量是否当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且从终端当前的目标资源是否满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
相反的,当主终端对应的关键器件与从终端对应的关键器件不对等,例如,主终端为手机,从终端为手表,该主终端手机和从终端手表各自对应的SOC不属于同一个型号,因此,为了保证从终端可成功地运行主终端当前运行的耗电进程和/或即将运行的耗电进程,在分别获取到从终端当前的可以电量和可以资源,及主终端当前运行的耗电进程和/或即将运行的耗电进程的电量需求和资源需求之后,需要对主终端当前运行的耗电进程和/或即将运行的耗电进程的电量需求和资源需求,和/或,从终端当前的可以电量和可以资源进行归一化处理。以对从终端当前的可以电量和可以资源进行归一化处理为例,可以得到从终端当前的目标电量和目标资源,之后,再将从终端当前的目标电量和目标资源,分别与主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量和资源进行比较,以确定从终端当前的目标电量是否当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且从终端当前的目标资源是否满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
示例的,在本申请实施例中,为了使得主终端对应的关键器件与从终端对应的关键器件对等,在进行归一化处理时,可以通过三种方式实现,在一种方式中,可以以业界通用性能衡量方法为基础,对从终端的当前的可用电量和可用资源,及主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量和资源均进行归一化处理,以使主终端对应的关键器件与从终端对应的关键器件对等,从而提高了从终端可成功地运行主终端当前运行的耗电进程和/或即将运行的耗电进程的概率。示例的,在该种可能的方式中,在对从终端的当 前的可用电量SP进行归一化处理时,从终端的当前的可用电量SP=SP*从终端的电池容量,该从终端是指使用电池供电的设备。在对从终端的当前的可用CPU资源、可用GPU资源,及可用DDR资源进行归一化处理时,从终端的当前的可用CPU资源SC=SC/从终端CPU最高主频/最高频点的dhrystone分数,从终端的当前的可用GPU资源SG=SG/从终端GPU最高主频*最高频点曼哈顿3.0跑分,从终端的当前的可用DDR资源SD=SD*主终端DDR最高主频。在对主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量Px进行归一化处理时,主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量px=Px*主终端的电池容量。在对主终端当前运行的耗电进程和/或即将运行的耗电进程所需的CPU资源、主终端当前运行的耗电进程和/或即将运行耗电进程所需的GPU资源,及主终端当前运行的耗电进程和/或即将运行耗电进程所需的DDR资源进行归一化处理时,所需的CPU资源Cx=Cx/主终端CPU最高主频*最高频点的dhrystone分数,所需的GPU资源Gx=Gx/主终端GPU最高主频*最高频点曼哈顿3.0跑分,所需的DDR资源Dx=Dx*主终端DDR最高主频,这样SC和Cx、SG和Gx、SD和Dx、SP和Px就可以同一水平基准进行比较。在另一种方式中,可以以从终端的设备能力为基准,对主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量和资源分别进行归一化处理。在再一种方式中,可以以主终端的设备能力为基准,对从终端的当前的可用电量和可用资源分别进行归一化处理。当然,本申请实施例只是以这三种方式为例进行说明,但并不代表本申请实施例仅局限于此。
需要说明的是,在本申请实施例中,只是以业界通用性能衡量方法为基础,对从终端的当前的可用电量和可用资源,及主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量和资源均进行归一化处理为例进行说明,但并不代表本申请实施例仅局限于此。可以看出,在对主终端当前运行的耗电进程和/或即将运行耗电进程所需的电量和资源均进行归一化处理之前,需要先分别获取主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量和资源,之后才能对从终端的当前的可用电量和可用资源分别进行归一化处理。示例的,在获取主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量时,可以预先获取该当前运行的耗电进程和/或即将运行的耗电进程在之前的一周中每一天运行时对应的耗电量,得到7个耗电量值,并对该7个耗电量值中的每一个耗电量值进行百位取整,得到百位取证后的7个耗电量值,再进一步计算该百位取证后的7个耗电量值的数学期望值,最终得到的数学期望值可以作为主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量预估值Px。类似的,对于主终端当前运行的耗电进程和/或即将运行的耗电进程所需的CPU资源、GPU资源,及DDR资源,其对应的获取方式与主终端当前运行的耗电进程和/或即将运行的耗电进程所需的电量的获取方式类似,在此,本申请实施例不再进行赘述。
基于上述描述,在充分理解了搬迁条件之后,就可以在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端。可选的,在本申请实施例中,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端可以通过下述至少两种可能的实现方式:
在一种可能的实现方式中,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从从终端列表中的第一个从终端开始,获取从终端当前的目标电量和目标资源;并判断从终端当前的目标电量和目标资源是否满足搬迁条件,直至确定出满足搬迁条件的从 终端;将满足搬迁条件的从终端确定为目标从终端。
在该种可能的实现方式中,在根据搬迁条件从从终端列表中确定目标从终端时,可以按照从终端列表中的现有顺序进行判断,以从终端列表中顺序包括第一从终端、第二从终端、第三从终端及第四从终端为例,先获取现有顺序中第一从终端当前的目标电量和目标资源,并判断第一从终端当前的目标电量和目标资源是否满足上述四类搬迁条件中的任一搬迁条件,若第一从终端当前的目标电量和目标资源不满足上述四类搬迁条件中的任一搬迁条件,则继续获取现有顺序中第二从终端当前的目标电量和目标资源,并判断第二从终端当前的目标电量和目标资源是否满足上述四类搬迁条件中的任一搬迁条件,若第二从终端当前的目标电量和目标可用资源满足上述四类搬迁条件中的某一个搬迁条件,此时,为了减少数据处理量,提高进程的运行效率,可以无需再获取现有顺序中第三从终端当前的目标电量和目标资源进行比较,而是直接将该第二从终端确定为目标从终端。当然,在根据搬迁条件从从终端列表中确定目标从终端时,可以不按照从终端列表中的现有顺序进行判断,而是随机获取从终端列表中某一个从终端当前的目标电量和目标资源,例如该某一个从终端为第二从终端,则获取该第二从终端当前的目标电量和目标资源,并判断第二从终端当前的目标电量和目标资源是否满足上述四类搬迁条件中的任一搬迁条件,若第二从终端当前的目标电量和目标资源不满足上述四类搬迁条件中的任一搬迁条件,则继续随机获取从终端列表中另一个从终端当前的目标电量和目标资源,例如该另一个从终端为第四从终端,则获取该第四从终端当前的目标电量和目标资源,并判断第四从终端当前的目标电量和目标资源是否满足上述四类搬迁条件中的任一搬迁条件,若第四从终端当前的目标电量和目标可用资源满足上述四类搬迁条件中的某一个搬迁条件,此时,为了减少数据处理量,提高进程的运行效率,可以无需再随机获取其它从终端当前的目标电量和目标资源进行比较,而是直接将该第四从终端确定为目标从终端,具体可以根据实际需要进行设置,在此,本申请实施例只是以这两种方式为例进行说明,但并不代表本申请实施例仅局限于此。
由此可见,在根据搬迁条件从从终端列表中确定目标从终端时,采用该种可能的实现方式,只要确定从终端列表中有一个从终端满足搬迁条件,就可以将当前满足搬迁条件的从终端确定为目标从终端,而不需要逐个判断从终端列表中每一个从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件,从而减少数据处理量,提高进程的运行效率。
在一种可能的实现方式中,在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取从终端列表中所有从终端各自对应的当前的目标电量和目标资源;判断从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件;并从所有满足搬迁条件的从终端中确定目标从终端。
可选的,从所有满足搬迁条件的从终端中确定目标从终端时,可以先确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型;并将优先级最高的搬迁条件类型对应的从终端确定为目标从终端。
在该种可能的实现方式中,以从终端列表中包括第一从终端、第二从终端、第三从终端及第四从终端为例,需要分别获取第一从终端、第二从终端、第三从终端及第四从终端自对应的当前的目标电量和目标资源,并判断第一从终端、第二从终端、第三从终端及第四从终端自对应的当前的目标电量和目标资源是否满足搬迁条件,若经过满足之后,确定 第一从终端满足第一类搬迁条件,第二从终端不满足四类搬迁条件中的任一个搬迁条件,第三从终端满足第三类搬迁条件,第四从终端满足第四类搬迁条件,可以看出,满足搬迁条件的从终端为第一从终端、第三从终端及第四从终端。进一步地,可以比较第一从终端满足的第一类搬迁条件、第三从终端满足的第三类搬迁条件及第四从终端满足的第四类搬迁条件的优先级,由于第一类搬迁条件的优先级大于第三类搬迁条件和第四类搬迁条件的优先级,因此,可以将优先级最高的第一类搬迁条件对应的第一从终端确定为目标从终端,使得该第一从终端更利于主终端当前运行的耗电进程和/或即将运行的耗电进程的搬迁,即搬迁之后,主终端当前运行有耗电进程和/或即将运行耗电进程在该第一从终端上成功运行的概率越大,从而进一步提高了进程搬迁的成功率。当然,在确定第一从终端满足第一类搬迁条件,第二从终端不满足四类搬迁条件中的任一个搬迁条件,第三从终端满足第三类搬迁条件,第四从终端满足第四类搬迁条件之后,也可以无需进一步判断第一从终端满足的第一类搬迁条件、第三从终端满足的第三类搬迁条件及第四从终端满足的第四类搬迁条件的优先级,而是直接在满足搬迁条件的第一从终端、第三从终端及第四从终端中任意选择一个从终端作为目标从终端,在此,本申请实施例只是以进一步判断第一从终端满足的第一类搬迁条件、第三从终端满足的第三类搬迁条件及第四从终端满足的第四类搬迁条件的优先级,以确定目标从终端为例进行说明,但并不代表本申请实施例仅局限于此。
由此可见,在该种可能的实现方式中,与上述第一种可能的实现方式不同的是,该种可能的需要逐个判断从终端列表中每一个从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件,将优先级最高的搬迁条件类型对应的从终端确定为目标从终端。虽然该种可能的实现方式与上述第一种可能的实现方式相比,但由于该种可能的实现方式是将优先级最高的搬迁条件类型对应的从终端确定为目标从终端,使得该目标从终端更利于主终端当前运行的耗电进程和/或即将运行的耗电进程的搬迁,即搬迁之后,主终端当前运行有耗电进程和/或即将运行耗电进程在该目标从终端上成功运行的概率越大,从而进一步提高了进程搬迁的成功率。
在通过S201在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端之后,就可以将该当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,即执行下述S202:
S202、将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程。
对于目标从终端而言,在接收到主终端搬迁的当前运行的耗电进程和/或即将运行的耗电进程之后,可以运行主终端当前运行的耗电进程和/或即将运行的耗电进程,以得到运行结果,并将运行发送给主终端,以使主终端向用户展示或者输出主终端当前运行的耗电进程和/或即将运行的耗电进程的运行结果。
S203、接收目标从终端发送的运行结果。
需要说明的是,在整个进程搬迁过程中,虽然增加了进程的运行时延,但是整个搬迁过程对于用户而言是无感知的。
由此可见,在本申请实施例中,主终端在检测到其当前运行有耗电进程和/或即将运行 耗电进程时,可以从至少一个从终端中确定出目标从终端,并将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程,这样对于主终端而言,其无需运行当前运行的耗电进程和/或即将运行的耗电进程,只需要接收目标从终端发送的运行结果即可,从而避免了主终端由于运行当前运行的耗电进程和/或即将运行的耗电进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
基于上述图2所示的实施例,可以看出,在执行上述S201在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端之前,需要先获取到该从终端列表。其中,从终端列表中包括至少一个从终端。示例的,可以在主终端和至少一个从终端在组网过程中,从至少两个从终端中确定从终端列表。请参见图3所示,图3为本申请实施例提供的另一种终端的节电方法的流程示意图,该终端的节电方法还可以包括:
S301、在组网过程中,获取至少两个从终端各自对应的可用电量和可用资源。
示例的,在组网过程中,主终端在获取至少两个从终端各自对应的可用电量和可用资源时,可以根据主动获取至少两个从终端中每一个从终端各自对应的可用电量和可用资源,也可以被动地接收至少两个从终端中每一个从终端各自对应的可用电量和可用资源,具体可以根据实际需要进行设置,在此,对于至少两个从终端各自对应的可用电量和可用资源的获取方式,本申请实施例不做进一步地限制。
在获取到至少两个从终端中每一个从终端各自对应的可用电量和可用资源之后,就可以判断至少两个从终端中每一个从终端各自对应的可用电量和可用资源是否满足预设条件,从而确定从终端列表,即执行下述S302:
S302、根据至少两个从终端各自对应的可用电量和可用资源,确定从终端列表。
其中,从终端列表中的从终端满足预设条件。示例的,该预设条件不同于上述搬迁条件,与上述搬迁条件相比,该预设条件的限制程度较弱。示例的,预设条件可以包括电量大于20%,且通过电源充电,可用资源大于某一阈值即可。相反的,若从终端的电量小于20%,且通过电池充电、或者主终端和从终端的关键器件完全不对等,例如主终端为手机时,从终端为手表时,两个SOC完全不是一个等级时,则认为该从终端不满足预设条件,当然,从终端列表中也不会包括该从终端。
可以理解的是,在本申请实施例中,在组网过程中,根据至少两个从终端中每一个从终端各自对应的可用电量和可用资源,确定从终端列表,其目的在于:是在选择目标从终端的初步筛选,当前满足预设条件的从终端并不能保证在后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,同样能够满足搬迁条件,因此,后续当终端检测主终端当前运行有耗电进程和/或即将运行耗电进程时,确定目标从终端时,仍然需要根据搬迁条件,从从终端列表中确定目标从终端。由此可见,通过该初步筛选,可以降低后续根据搬迁条件,从从终端列表中确定目标从终端时的数据处理量,从而提高了进程的搬迁效率。
需要说明的是,在判断至少两个从终端中每一个从终端各自对应的可用电量和可用资源是否满足预设条件,从而确定从终端列表时,可以直接将至少两个从终端中每一个从终端各自对应的可用电量和可用资源与预设条件进行比较,以确定从终端列表,当然,也可 以先对至少两个从终端中每一个从终端各自对应的可用电量和可用资源进行归一化处理,再判断归一化处理后的每一个从终端各自对应的可用电量和可用资源是否满足预设条件,从而确定从终端列表,具体可以根据实际需要进行设置,在此,本申请实施例不做进一步地限制。
为了便于理解上述本申请实施例提供的技术方案,下面,将结合两种具体的场景对本申请实施例提供的技术方案进行说明。在一种可能的场景中,主终端为手机,第一从终端为智能电视盒子,第二从终端为智能音箱,其中,主终端的可用电量不足20%,第一从终端和第二从终端均通过电源供电,第一从终端和第二从终端当前均无用户使用。当用户点击运行游戏时,可以根据统计,预估该运行该游戏所需的耗电量为P1,且P1>=800mAh,此时,若主终端需要将当前运行的游戏搬迁至目标从终端上运行,则需要根据搬迁条件在第一从终端和第二从终端中选择目标从终端,经过判断之后,若确定将第二从终端智能音箱确定为目标从终端,则将游戏从主终端搬迁至第二从终端智能音箱上,以通过智能音箱运行该游戏,并接收智能音箱发送的运行结果。由于在整个过程中,主终端只是接收并显示运行结果,而把将大量运行计算工作交给智能音箱执行,因此,相对于不搬迁而言,主终端可多运行游戏2小时。由此可见,主终端将当前即将运行的游戏进程搬迁到智能音箱,以通过智能音箱运行该游戏进程,这样对于主终端而言,其无需运行该游戏进程,只需要接收智能音箱发送的运行结果即可,从而避免了主终端由于运行该游戏进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
需要说明的是,通过搬迁操作,虽然增加了游戏进程的运行时延,但是整个搬迁过程对于用户而言是无感知的。
在另一种可能的场景中,同样的,主终端为手机,第一从终端为智能电视盒子,第二从终端为智能音箱,其中,主终端的可用电量不足20%,第一从终端和第二从终端均通过电源供电,第一从终端和第二从终端当前均无用户使用。此时,若当前时间为01:00,即处于夜间,用户在主终端上打开了多款即时通信(IM)类应用并将打开WIFI开关或链接数据业务,并控制主终端处于灭屏待机状态,且经统计该主终端的平均夜间待机耗电超过5%,对于主终端而言,虽然该主终端处于灭屏待机状态,但是仍然可以接收到其它设备发送的即时通信类消息。为了降低主终端的电量消耗,可以根据搬迁条件在第一从终端和第二从终端中选择目标从终端,经过判断之后,若确定将第二从终端智能音箱确定为目标从终端,则将可以将打开的多款即时通信类应用中的至少一个即时通信类应用从主终端搬迁至第二从终端智能音箱上,以通过智能音箱运行该至少一个即时通信类应用,并接收智能音箱发送的运行结果。当然,将所有打开的多款即时通信类应用均从主终端搬迁至第二从终端智能音箱上,节省的电量最多,即主终端的电量消耗最小。由于在整个过程中,对于主终端而言,其无需运行该至少一个即时通信类应用的进程,只需要接收智能音箱发送的运行结果即可,从而避免了主终端由于运行该至少一个即时通信类应用的进程导致的电量消耗,节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
在该种场景中,对于主终端而言,只需要接收智能音箱发送的运行结果,但是由于在运行至少一个即时通信类应用的进程时,会接收到该至少一个即时通信类应用的消息,该 消息可以包括有效消息,也可以为垃圾消息,因此,为了避免主终端由于接收垃圾消息而导致的电量消耗,智能音箱可以进一步地对接收到的消息进行过滤,若确定某一个消息为有效消息,则将该有效效率发送给主终端,相反的,若某一个消息为垃圾消息,则不将该垃圾消息发送给主终端,从而可以避免由于接收垃圾消息而导致的电量消耗,进一步节省了主终端的电量,从而保证了不影响程序运行的情况下,提高了终端电池的续航时间。
图4为本申请实施例提供的一种终端的节电装置40的结构示意图,应用于主终端,所述主终端通过电池供电,所述主终端和至少一个从终端处于同一个组网中,示例的,请参见图4所示,该终端的节电装置40可以包括:
处理单元401,用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端。
搬迁单元402,用于将当前运行的耗电进程和/或即将运行的耗电进程搬迁到目标从终端,以通过目标从终端运行当前运行的耗电进程和/或即将运行的耗电进程。
接收单元403,用于接收目标从终端发送的运行结果。
可选的,从终端的个数为至少两个,处理单元401,具体用于在组网过程中,从至少两个从终端中确定从终端列表;其中,从终端列表中包括至少一个从终端;并在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从从终端列表中确定目标从终端;搬迁条件包括可用电量满足当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
可选的,搬迁条件包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、从终端的可用资源大于或等于Z*当前运行的耗电进程和/或即将运行的耗电进程的资源需求;X、Y、Z均大于或者等于1。
其中,搬迁条件的优先级按照第一类搬迁条件、第二类搬迁条件、第三类搬迁条件及第四类搬迁条件的顺序依次降低。
可选的,处理单元401,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从从终端列表中的第一个从终端开始,获取从终端当前的目标电量和目标资源;判断从终端当前的目标电量和目标资源是否满足搬迁条件,直至确定出满足搬迁条件的从终端;将满足搬迁条件的从终端确定为目标从终端。
可选的,处理单元401,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取从终端列表中所有从终端各自对应的当前的目标电量和目标资源;判断从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件;从所有满足搬迁条件的从终端中确定目标从终端。
可选的,处理单元401,具体用于确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型;并将优先级最高的搬迁条件类型对应的从终端确定为目标从终端。
可选的,处理单元401,具体用于获取从终端对应的当前的可用电量和可用资源;并 分别对从终端对应的当前的可用电量和可用资源进行归一化处理,得到从终端对应的当前的目标电量和目标资源。
可选的,处理单元401,具体用于在组网过程中,获取至少两个从终端各自对应的可用电量和可用资源;并根据至少两个从终端各自对应的可用电量和可用资源,确定从终端列表,从终端列表中的从终端满足预设条件。
可以理解的是,图4所示的实施例中的终端的节电装置40可以是终端本身,也可以是可配置于终端中的部件(例如芯片或者电路)。
本申请实施例所示的终端的节电装置40,可以执行上述任一实施例所示的终端的节电方法的技术方案,其实现原理以及有益效果与终端的节电方法的实现原理及有益效果类似,此处不再进行赘述。
图5为本申请实施例提供的一种终端设备50的结构示意图,该终端设备50可以包括处理器501和存储器502,其中,
所述存储器502用于存储程序指令;
所述处理器501用于执行所述存储器502中的程序指令,使得所述终端设备50执行上述任一实施例所示的终端的节电方法的技术方案,其实现原理以及有益效果与终端的节电方法的实现原理及有益效果类似,此处不再进行赘述。
本申请实施例还提供一种计算机存储介质,包括指令,当所述指令由一个或多个处理器运行时,使得终端设备执行上述任一实施例所示的终端的节电方法的技术方案,其实现原理以及有益效果与终端的节电方法的实现原理及有益效果类似,此处不再进行赘述。
本申请实施例还提供一种芯片,芯片上存储有计算机程序,在计算机程序被处理器执行上述任一实施例所示的终端的节电方法的技术方案,其实现原理以及有益效果与终端的节电方法的实现原理及有益效果类似,此处不再进行赘述。
上述各个实施例中处理器可以是通用处理器、数字信号处理器(digital signalprocessor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的 部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。

Claims (19)

  1. 一种终端的节电方法,其特征在于,应用于主终端,所述主终端通过电池供电,所述主终端和至少一个从终端处于同一个组网中,所述方法包括:
    在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端;
    将所述当前运行的耗电进程和/或即将运行的耗电进程搬迁到所述目标从终端,以通过所述目标从终端运行所述当前运行的耗电进程和/或即将运行的耗电进程;
    接收所述目标从终端发送的运行结果。
  2. 根据权利要求1所述的方法,其特征在于,所述从终端的个数为至少两个,所述在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端,包括:
    在组网过程中,从至少两个从终端中确定从终端列表;其中,所述从终端列表中包括至少一个从终端;
    在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从所述从终端列表中确定所述目标从终端;所述搬迁条件包括可用电量满足所述当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
  3. 根据权利要求2所述方法,其特征在于,
    所述搬迁条件包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、从终端的可用资源大于或等于Z*所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;X、Y、Z均大于或者等于1;
    其中,所述搬迁条件的优先级按照所述第一类搬迁条件、所述第二类搬迁条件、所述第三类搬迁条件及所述第四类搬迁条件的顺序依次降低。
  4. 根据权利要求2或3所述的方法,其特征在于,所述在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从所述从终端列表中确定所述目标从终端,包括:
    在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从所述从终端列表中的第一个从终端开始,获取所述从终端当前的目标电量和目标资源;
    判断所述从终端当前的目标电量和目标资源是否满足所述搬迁条件,直至确定出满足搬迁条件的从终端;
    将所述满足搬迁条件的从终端确定为所述目标从终端。
  5. 根据权利要求3所述的方法,其特征在于,所述在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从所述从终端列表中确定所述目标从终端,包括:
    在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取所述从终端列表中所有从终端各自对应的当前的目标电量和目标资源;
    判断所述从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件;
    从所有满足搬迁条件的从终端中确定所述目标从终端。
  6. 根据权利要求5所述的方法,其特征在于,所述从所有满足搬迁条件的从终端中确定所述目标从终端,包括:
    确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型;
    将优先级最高的搬迁条件类型对应的从终端确定为所述目标从终端。
  7. 根据权利要求4-6任一项所述的方法,其特征在于,获取所述从终端对应的当前的目标电量和目标资源,包括:
    获取所述从终端对应的当前的可用电量和可用资源;
    分别对所述从终端对应的当前的可用电量和可用资源进行归一化处理,得到所述从终端对应的当前的目标电量和目标资源。
  8. 根据权利要求3-7任一项所述的方法,其特征在于,所述在组网过程中,从至少两个从终端中确定从终端列表,包括:
    在组网过程中,获取所述至少两个从终端各自对应的可用电量和可用资源;
    根据所述至少两个从终端各自对应的可用电量和可用资源,确定所述从终端列表,所述从终端列表中的从终端满足预设条件。
  9. 一种终端的节电装置,其特征在于,应用于主终端,所述主终端通过电池供电,所述主终端和至少一个从终端处于同一个组网中,所述装置包括:
    处理单元,用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从至少一个从终端中确定目标从终端;
    搬迁单元,用于将所述当前运行的耗电进程和/或即将运行的耗电进程搬迁到所述目标从终端,以通过所述目标从终端运行所述当前运行的耗电进程和/或即将运行的耗电进程;
    接收单元,用于接收所述目标从终端发送的运行结果。
  10. 根据权利要求9所述的装置,其特征在于,所述从终端的个数为至少两个,
    所述处理单元,具体用于在组网过程中,从至少两个从终端中确定从终端列表;其中,所述从终端列表中包括至少一个从终端;并在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,根据搬迁条件从所述从终端列表中确定所述目标从终端;所述搬迁条件包括可用电量满足所述当前运行的耗电进程和/或即将运行的耗电进程的电量需求,且可用资源满足所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求。
  11. 根据权利要求10所述装置,其特征在于,
    所述搬迁条件包括如下至少一种:第一类搬迁条件:电源供电、无用户操作、且从终端的可用资源大于所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第二类搬迁条件:电源供电、有用户操作且从终端的可用资源大于或等于X*所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;第三类搬迁条件:电源供电、无用户操作的时间超过预设时间段且当前时间处于系统预设时间段;第四类搬迁条件:电池供电、电池可用电量大于Y*当前运行的耗电进程和/或即将运行的耗电进程的电量需求、且无用户操作、 从终端的可用资源大于或等于Z*所述当前运行的耗电进程和/或即将运行的耗电进程的资源需求;X、Y、Z均大于或者等于1;
    其中,所述搬迁条件的优先级按照所述第一类搬迁条件、所述第二类搬迁条件、所述第三类搬迁条件及所述第四类搬迁条件的顺序依次降低。
  12. 根据权利要求10或11所述的装置,其特征在于,
    所述处理单元,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,从所述从终端列表中的第一个从终端开始,获取所述从终端当前的目标电量和目标资源;判断所述从终端当前的目标电量和目标资源是否满足所述搬迁条件,直至确定出满足搬迁条件的从终端;将所述满足搬迁条件的从终端确定为所述目标从终端。
  13. 根据权利要求11所述的装置,其特征在于,
    所述处理单元,具体用于在检测到主终端当前运行有耗电进程和/或即将运行耗电进程时,分别获取所述从终端列表中所有从终端各自对应的当前的目标电量和目标资源;判断所述从终端列表中所有从终端各自对应的当前的目标电量和目标资源是否满足搬迁条件;从所有满足搬迁条件的从终端中确定所述目标从终端。
  14. 根据权利要求13所述的装置,其特征在于,
    所述处理单元,具体用于确定所有满足搬迁条件的从终端中每一个从终端对应的搬迁条件类型;并将优先级最高的搬迁条件类型对应的从终端确定为所述目标从终端。
  15. 根据权利要求12-14任一项所述的装置,其特征在于,
    所述处理单元,具体用于获取所述从终端对应的当前的可用电量和可用资源;并分别对所述从终端对应的当前的可用电量和可用资源进行归一化处理,得到所述从终端对应的当前的目标电量和目标资源。
  16. 根据权利要求11-15任一项所述的装置,其特征在于,
    所述处理单元,具体用于在组网过程中,获取所述至少两个从终端各自对应的可用电量和可用资源;并根据所述至少两个从终端各自对应的可用电量和可用资源,确定所述从终端列表,所述从终端列表中的从终端满足预设条件。
  17. 一种终端设备,其特征在于,包括处理器和存储器,其中,
    所述存储器用于存储程序指令;
    所述处理器用于执行所述存储器中的程序指令,使得所述终端设备执行上述权利要求1-8中任一项所述的终端的节电方法。
  18. 一种计算机存储介质,包括指令,其特征在于,
    当所述指令由一个或多个处理器运行时,使得终端设备执行上述权利要求1-8中任一项所述的终端的节电方法。
  19. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-8任意一项所述的方法。
PCT/CN2020/114450 2019-09-11 2020-09-10 终端的节电方法和装置 WO2021047582A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20863416.2A EP4020131A4 (en) 2019-09-11 2020-09-10 POWER SAVING METHOD FOR TERMINAL AND DEVICE
US17/641,581 US12007827B2 (en) 2019-09-11 2020-09-10 Terminal power saving method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910859145.X 2019-09-11
CN201910859145.XA CN112486313B (zh) 2019-09-11 2019-09-11 终端的节电方法和装置

Publications (1)

Publication Number Publication Date
WO2021047582A1 true WO2021047582A1 (zh) 2021-03-18

Family

ID=74865835

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/114450 WO2021047582A1 (zh) 2019-09-11 2020-09-10 终端的节电方法和装置

Country Status (4)

Country Link
US (1) US12007827B2 (zh)
EP (1) EP4020131A4 (zh)
CN (1) CN112486313B (zh)
WO (1) WO2021047582A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929999B2 (en) * 2007-05-29 2011-04-19 International Business Machines Corporation Method and system for harnessing processor power of mobile devices
CN103618565A (zh) * 2013-12-03 2014-03-05 珠海市杰理科技有限公司 穿戴式电子设备的数据处理与通信方法及系统
CN104487912A (zh) * 2012-03-08 2015-04-01 惠普发展公司,有限责任合伙企业 在一组个人移动设备间虚拟化电池
CN105511880A (zh) * 2015-12-11 2016-04-20 中南大学 一种基于透明计算的软件智能启动方法
CN106598204A (zh) * 2016-12-21 2017-04-26 上海摩软通讯技术有限公司 移动终端及其数据处理系统和方法

Family Cites Families (42)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437727B2 (en) * 2002-03-21 2008-10-14 Network Appliance, Inc. Method and apparatus for runtime resource deadlock avoidance in a raid system
US9405348B2 (en) * 2008-04-21 2016-08-02 Adaptive Computing Enterprises, Inc System and method for managing energy consumption in a compute environment
CN101615168A (zh) * 2009-08-04 2009-12-30 上海华勤通讯技术有限公司 利用电脑处理移动终端数据的系统及其实现方法
US8495129B2 (en) * 2010-03-16 2013-07-23 Microsoft Corporation Energy-aware code offload for mobile devices
US8458699B2 (en) * 2010-11-18 2013-06-04 Hewlett-Packard Development Company, L.P. Methods, systems, and apparatus to prioritize computing devices for virtualization
WO2012065273A1 (en) * 2010-11-19 2012-05-24 Research In Motion Limited Offloading tasks for energy efficient execution
CN102026346B (zh) * 2010-12-15 2014-12-10 中兴通讯股份有限公司 一种移动终端及其计算方法
US9250863B1 (en) * 2010-12-28 2016-02-02 Amazon Technologies, Inc. Managing virtual machine migration
US9026814B2 (en) * 2011-06-17 2015-05-05 Microsoft Technology Licensing, Llc Power and load management based on contextual information
CN102868802A (zh) * 2011-07-08 2013-01-09 北京龙光科技有限公司 数据处理装置、数据处理适配装置和通信系统
TWI470567B (zh) * 2012-02-03 2015-01-21 Univ Nat Chiao Tung 考慮耗時與耗電的卸載運算量的決策方法與運算系統
CN105848089A (zh) * 2012-08-31 2016-08-10 珠海市魅族科技有限公司 一种数据处理、发送方法及相关设备
US9563483B2 (en) * 2012-12-19 2017-02-07 Microsoft Technology Licensing, Llc Server rack fuel cell
US9665154B2 (en) * 2013-05-31 2017-05-30 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Subsystem-level power management in a multi-node virtual machine environment
WO2015074232A1 (zh) * 2013-11-22 2015-05-28 华为技术有限公司 一种内存数据的迁移方法、计算机和装置
US9503975B2 (en) * 2014-02-07 2016-11-22 Open Garden Inc. Exchanging energy credits wirelessly
TWI602125B (zh) * 2014-04-17 2017-10-11 國立臺灣大學 資源分配方法
US10382588B2 (en) * 2014-06-30 2019-08-13 Electronic Arts Inc. Resource access driven distributed transaction coordination system
JP6451149B2 (ja) * 2014-09-01 2019-01-16 富士通株式会社 管理装置、マイグレーション制御プログラム、情報処理システム
US9733688B2 (en) * 2014-09-05 2017-08-15 Mediatek Inc. Virtual battery management in electronic device
US9594591B2 (en) * 2014-09-26 2017-03-14 International Business Machines Corporation Dynamic relocation of applications in a cloud application service model
US9684364B2 (en) * 2014-12-09 2017-06-20 Intel Corporation Technologies for out-of-band power-based task scheduling for data centers
US9788138B2 (en) 2015-04-03 2017-10-10 Snaptrack, Inc. Methods and systems of allocating application functions to motion-correlated devices
US20160378570A1 (en) * 2015-06-25 2016-12-29 Igor Ljubuncic Techniques for Offloading Computational Tasks between Nodes
CN105208639A (zh) * 2015-08-31 2015-12-30 宇龙计算机通信科技(深圳)有限公司 一种可穿戴设备及其功耗优化方法
EP3221789A1 (en) * 2015-10-21 2017-09-27 Deutsche Telekom AG Method and system for code offloading in mobile computing
US9874924B1 (en) * 2015-12-03 2018-01-23 Amazon Technologies, Inc. Equipment rack power reduction using virtual machine instance migration
CN105549045A (zh) * 2015-12-14 2016-05-04 联想(北京)有限公司 一种信息处理方法及电子设备
US10228930B2 (en) * 2016-01-28 2019-03-12 Microsoft Technology Licensing, Llc Offloading network connectivity and execution tasks to an assistant device
CN107272866B (zh) 2016-04-08 2021-03-16 北京嘀嘀无限科技发展有限公司 打车方法、信息交互方法、移动终端、服务器和打车系统
US20180039519A1 (en) * 2016-08-08 2018-02-08 Qualcomm Incorporated Systems and methods for managing processing load
CN109697120B (zh) * 2017-10-20 2023-06-27 伊姆西Ip控股有限责任公司 用于应用迁移的方法、电子设备
JP6969282B2 (ja) * 2017-10-25 2021-11-24 富士通株式会社 情報処理装置、情報処理システムおよび情報処理方法
US10725834B2 (en) * 2017-11-30 2020-07-28 International Business Machines Corporation Job scheduling based on node and application characteristics
US11467866B2 (en) * 2018-01-29 2022-10-11 Salesforce.Com, Inc. Scheduling framework for organization migrations
US10776147B2 (en) * 2018-01-29 2020-09-15 Salesforce.Com, Inc. Orchestration engine for migrating application data and application services using migration steps in migration component
JP6973188B2 (ja) * 2018-03-06 2021-11-24 富士通株式会社 マイグレーションプログラム、マイグレーション方法及びマイグレーションを指示するサーバ
CN110347483B (zh) * 2018-04-08 2021-05-11 中兴通讯股份有限公司 物理机到虚拟机迁移方法、装置及存储介质
US10664324B2 (en) * 2018-05-30 2020-05-26 Oracle International Corporation Intelligent workload migration to optimize power supply efficiencies in computer data centers
CN109218521A (zh) 2018-08-22 2019-01-15 努比亚技术有限公司 一种事件转移方法、装置、设备及存储介质
US11194620B2 (en) * 2018-10-31 2021-12-07 Nutanix, Inc. Virtual machine migration task management
CN109309953B (zh) * 2018-11-30 2023-12-12 努比亚技术有限公司 功耗检测方法、装置、终端及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7929999B2 (en) * 2007-05-29 2011-04-19 International Business Machines Corporation Method and system for harnessing processor power of mobile devices
CN104487912A (zh) * 2012-03-08 2015-04-01 惠普发展公司,有限责任合伙企业 在一组个人移动设备间虚拟化电池
CN103618565A (zh) * 2013-12-03 2014-03-05 珠海市杰理科技有限公司 穿戴式电子设备的数据处理与通信方法及系统
CN105511880A (zh) * 2015-12-11 2016-04-20 中南大学 一种基于透明计算的软件智能启动方法
CN106598204A (zh) * 2016-12-21 2017-04-26 上海摩软通讯技术有限公司 移动终端及其数据处理系统和方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4020131A4

Also Published As

Publication number Publication date
US20220300058A1 (en) 2022-09-22
CN112486313A (zh) 2021-03-12
EP4020131A4 (en) 2022-11-16
US12007827B2 (en) 2024-06-11
EP4020131A1 (en) 2022-06-29
CN112486313B (zh) 2024-03-26

Similar Documents

Publication Publication Date Title
US9378536B2 (en) CPU/GPU DCVS co-optimization for reducing power consumption in graphics frame processing
CN110018901B (zh) 内存回收方法、装置、计算机设备和计算机可读存储介质
US20160357616A1 (en) Application management method and application management apparatus
US20160266633A1 (en) Methods and Systems for Coordination of Operating States amongst Multiple SOCs within a Computing Device
US9477293B2 (en) Embedded controller for power-saving and method thereof
CN109544183A (zh) 一种业务咨询方法及装置
CN110602772A (zh) WiFi模块控制方法、控制装置、电子装置及存储介质
WO2021047582A1 (zh) 终端的节电方法和装置
WO2018076698A1 (zh) 终端的延迟显示的方法、装置及终端、计算机存储介质
US20160275900A1 (en) Adaptive partial screen update with dynamic backlight control capability
CN110045811B (zh) 应用程序处理方法和装置、电子设备、计算机可读存储介质
CN106569579A (zh) 一种终端省电控制方法及装置
US11880259B2 (en) Smart assertion management
US20160315582A1 (en) Method and apparatus for modifying image to increase solar energy collection efficiency
CN105828421A (zh) 一种终端及终端省电的方法
WO2020103027A1 (zh) 网络功耗调整方法、网络功耗调整装置及移动终端
CN110096315B (zh) 一种组件加载方法和装置
CN107870809B (zh) 应用关闭方法、装置、存储介质及电子设备
CN116610204B (zh) 一种用电设备电源管理方法、系统、电子设备及介质
WO2024098975A1 (zh) 一种功耗控制方法及相关装置
WO2024098975A9 (zh) 一种功耗控制方法及相关装置
TW201310220A (zh) 節能系統以及節能方法
CN113760092A (zh) 一种应用于低功耗模式下人机交互的检测方法
CN116461384A (zh) 一种车辆的充电控制方法、装置、电子设备以及存储介质
CN115237479A (zh) 屏幕控制方法、装置、移动终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20863416

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020863416

Country of ref document: EP

Effective date: 20220323