WO2020063916A1 - 一种信息处理方法及电子设备 - Google Patents

一种信息处理方法及电子设备 Download PDF

Info

Publication number
WO2020063916A1
WO2020063916A1 PCT/CN2019/108735 CN2019108735W WO2020063916A1 WO 2020063916 A1 WO2020063916 A1 WO 2020063916A1 CN 2019108735 W CN2019108735 W CN 2019108735W WO 2020063916 A1 WO2020063916 A1 WO 2020063916A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
operating system
hardware platform
hardware
intel
Prior art date
Application number
PCT/CN2019/108735
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 US17/280,429 priority Critical patent/US11994929B2/en
Publication of WO2020063916A1 publication Critical patent/WO2020063916A1/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/3234Power saving characterised by the action undertaken
    • 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
    • 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/324Power saving characterised by the action undertaken by lowering clock frequency
    • 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/3243Power saving in microcontroller unit
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of electronic technology, and in particular, to an information processing method and an electronic device.
  • power management can be achieved through hardware management or control of software parameters of the operating system alone, there is no coordination and linkage between hardware management and control of software parameters of the operating system, and the power saving effect is not good.
  • the SoC configuration parameters that limit performance are called, but the operating system is still a high-performance configuration, and the overall result is that the power saving effect is not good.
  • the purpose of this application is to provide an information processing method and an electronic device, which can achieve better power-saving effects through coordination and linkage between hardware management and control of software parameters of an operating system, and can be targeted at user usage scenarios and Need smart adjustments.
  • An aspect of the present application provides an information processing method including: obtaining a first parameter of a hardware platform or obtaining a second parameter of an operating system; and configuring a second parameter of the operating system based on the first parameter of the hardware platform, Or configuring the first parameter of the hardware platform based on the second parameter of the operating system so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system .
  • the obtaining the first parameter of the hardware platform includes: obtaining the information corresponding to the status of the first application or the first hardware based on the status information of the first application or the first hardware running on the hardware platform.
  • Configuring the second parameter of the operating system based on the first parameter of the hardware platform includes: determining a second parameter corresponding to the first parameter, and determining a current first parameter of the operating system Two parameters are configured.
  • determining the second parameter corresponding to the first parameter and configuring the current second parameter of the operating system includes: based on the correspondence between the first parameter and the second parameter, checking A second parameter corresponding to the first parameter is obtained; and an actuator of the hardware platform or operating system is instructed to configure the current second parameter of the operating system according to the corresponding first parameter.
  • configuring the first parameter of the hardware platform based on the second parameter of the operating system includes: obtaining the second parameter; determining the first parameter corresponding to the second parameter, and The corresponding first parameter is used to configure the current first parameter of the hardware platform.
  • obtaining the second parameter comprises: instructing an actuator of the hardware platform to read the second parameter based on the second parameter of the operating system.
  • determining the first parameter corresponding to the second parameter and configuring the current first parameter of the hardware platform includes: based on the correspondence between the first parameter and the second parameter, checking Obtaining a first parameter corresponding to the second parameter; and instructing the hardware platform to configure the current first parameter according to the corresponding first parameter.
  • the first parameter is a hardware parameter of a first application program or a working state of the first hardware, wherein the hardware parameter includes energy consumption and temperature parameters; and the working state is a working state of a power supply.
  • the second parameter is a process management parameter or a frequency management parameter of the operating system to the CPU, wherein the process management parameter is to start or stop a process related to the working state of the first hardware.
  • Another aspect of the present application provides an electronic device including: a hardware platform that provides a first parameter; a controller and a memory that configure a second parameter of an operating system of the electronic device based on the first parameter of the hardware platform, or The first parameter of the hardware platform is configured based on the second parameter of the operating system, so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system.
  • the controller and the memory based on the first parameter of the hardware platform, further configure the second parameter of the operating system through an actuator of the hardware platform or an operating system.
  • the controller and the memory are further configured to obtain, based on the status information of the first application program or the first hardware running on the hardware platform, information corresponding to the status information of the first application program or the first hardware.
  • the controller and the memory are further configured to: find a second parameter corresponding to the first parameter based on a correspondence between the first parameter and the second parameter; and instruct the hardware platform or An actuator of the operating system configures a current second parameter of the operating system.
  • the controller and the memory are further configured to: obtain the second parameter; determine a first parameter corresponding to the second parameter, and configure a current first parameter of the hardware platform.
  • the controller and the memory are further configured to instruct an actuator of the hardware platform to read the second parameter based on the second parameter of the operating system.
  • the controller and the memory are further configured to: find a first parameter corresponding to the second parameter based on a correspondence between the first parameter and the second parameter; and instruct the hardware platform to The current first parameter is configured.
  • the first parameter is a hardware parameter of a first application program or a working state of the first hardware, wherein the hardware parameter includes energy consumption and temperature parameters; and the working state is a working state of a power supply.
  • the second parameter is a process management parameter or a frequency management parameter of the operating system to the CPU, wherein the process management parameter is to start or stop a process related to the working state of the first hardware.
  • a third aspect of the present application further provides an electronic device, including: a parameter obtaining module configured to obtain a first parameter of a hardware platform or a second parameter of an operating system; a parameter configuration module configured to be based on the hardware platform The first parameter configures the second parameter of the operating system, or configures the first parameter of the hardware platform based on the second parameter of the operating system, so that the power consumption configuration of the hardware platform itself is different from that of the hardware platform.
  • the power consumption configuration of the hardware platform controlled by the operating system is matched.
  • the parameter obtaining module is further configured to obtain, based on the status information of the first application program or the first hardware running on the hardware platform, a parameter corresponding to the status information of the first application program or the first hardware.
  • a first parameter; the parameter configuration module is further configured to determine a second parameter corresponding to the first parameter and configure a current second parameter of the operating system.
  • the parameter configuration module is further configured to: find a second parameter corresponding to the first parameter based on a correspondence between the first parameter and the second parameter; and instruct the hardware platform or operation An actuator of the system configures a current second parameter of the operating system.
  • the parameter obtaining module obtains the second parameter; the parameter configuration module is further configured to: determine a first parameter corresponding to the second parameter, and perform the current first parameter of the hardware platform. Configuration.
  • the parameter obtaining module is further configured to instruct an actuator of the hardware platform to read the second parameter based on the second parameter of the operating system.
  • the parameter configuration module is further configured to: find a first parameter corresponding to the second parameter based on a correspondence between the first parameter and the second parameter; and instruct the hardware platform to verify the current parameter.
  • the first parameter is configured.
  • the first parameter is a hardware parameter of a first application program or a working state of the first hardware, wherein the hardware parameter includes energy consumption and temperature parameters; and the working state is a working state of a power supply.
  • the second parameter is a process management parameter or a frequency management parameter of the operating system to the CPU, wherein the process management parameter is to start or stop a process related to the working state of the first hardware.
  • the beneficial effects of the embodiments of the present application are that the information processing method and electronic device provided by the present application can achieve better power saving effects through coordination and linkage between hardware management and software parameters of the operating system, and can be targeted at users. Use scenes and needs to make intelligent adjustments.
  • FIG. 1 illustrates an information processing method for configuring a second parameter of an operating system based on a first parameter of a hardware platform according to an embodiment of the present application
  • FIG. 2 illustrates another information processing method for configuring a second parameter of an operating system based on a first parameter of a hardware platform according to an embodiment of the present application
  • FIG. 3 illustrates an information processing method for configuring a first parameter of a hardware platform based on a second parameter of an operating system according to an embodiment of the present application
  • FIG. 4 illustrates another information processing method for configuring a first parameter of a hardware platform based on a second parameter of an operating system according to an embodiment of the present application.
  • This application provides an information processing method in one embodiment, including: obtaining a first parameter of a hardware platform or obtaining a second parameter of an operating system; configuring a second parameter of the operating system based on the first parameter of the hardware platform, or The first parameter of the hardware platform is configured based on the second parameter of the operating system so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system.
  • the first parameter of the hardware platform can be obtained, and the second parameter of the operating system is configured based on the first parameter of the hardware platform, so that the power consumption configuration of the hardware platform itself and the hardware controlled by the operating system are configured.
  • the platform's power configuration matches.
  • the second parameter of the operating system may be obtained, and the first parameter of the hardware platform is configured based on the second parameter of the operating system; so that the power consumption configuration of the hardware platform itself and the operating system are configured.
  • the power configuration of the controlled hardware platform matches.
  • the first parameter may be a hardware parameter of the first application program or a working state of the first hardware.
  • the second parameter is a process management parameter or a frequency management parameter of the CPU by the operating system.
  • the hardware parameters include energy consumption and temperature parameters; the working state is the working state of the power supply.
  • the process management parameter is to start or close a process related to the working state of the first hardware.
  • the information processing method provided by this application can achieve better power saving effects through the coordination and linkage between hardware management and software parameters of the operating system, and can intelligently adjust according to the user's use scenario and needs.
  • obtaining the first parameter of the hardware platform includes: obtaining status information related to the first application or the first hardware based on the status information of the first application or the first hardware running on the hardware platform.
  • a corresponding first parameter; configuring the second parameter of the operating system based on the first parameter of the hardware platform includes: determining a second parameter corresponding to the first parameter, and according to the corresponding second parameter, setting a current second parameter of the operating system Configure it.
  • the first case obtaining the first parameter based on the first application program running on the hardware platform.
  • first parameters corresponding to the first application program are obtained; the first parameter may be, for example, a hardware parameter of the first application program, and specifically, may be Are energy consumption and temperature parameters.
  • the second parameter is obtained based on the first parameter, and the current second parameter of the operating system is configured.
  • the second parameter may be, for example, a frequency management parameter of the CPU by the operating system.
  • Intel DPTF Intelligent Platform and Thermal Framework detects a first application program running on a hardware platform.
  • the first application program may be, for example, a video player, game software, a web browser, or office software.
  • the Intel DPTF only detects an application program currently performed on an electronic device, so the first application program is not specifically limited in this application.
  • the Intel SoC parameter configuration table corresponding to the first application is called, that is, each application corresponds to an Intel SoC parameter configuration table.
  • Table 1 First application and Intel SoC parameters Correspondence of the configuration table.
  • the Intel SoC parameter configuration table specifically includes the following data: pl1 (the ability of the CPU to continuously consume power), the maximum value of the CPU body temperature, pl2 (the instantaneous power of the CPU), and the temperature of the surface of the electronic device.
  • pl1 the ability of the CPU to continuously consume power
  • pl2 the instantaneous power of the CPU
  • the temperature of the surface of the electronic device after detecting the first application, a set of values in the Intel SoC parameter configuration table is called.
  • There can be multiple Intel SoC parameter configuration tables for example, Intel SoC parameter configuration table (1), Intel SoC parameter configuration table (2), Intel SoC parameter configuration table (3), and so on.
  • the specific parameter included in the Intel SoC parameter configuration table is the first parameter, that is, a set of values included in the Intel SoC parameter configuration table. Therefore, the first parameter can also be understood as the Intel SoC parameter configuration Table number.
  • the Intel SoC parameter configuration table corresponding to the first running application program it is determined that the serial number parameter configuration table is called (for example, the first serial number Intel SoC parameter configuration is called).
  • the table that is, the Intel SoC parameter configuration table (1) is called, can determine the second parameter corresponding to the Intel SoC parameter configuration table number.
  • the second parameter is, for example, a frequency management parameter of the CPU by the operating system, and more specifically, an EPP parameter value, such as a performance mode of a hardware platform controlled by the operating system.
  • the operating system can control the hardware platform to achieve three different performance modes, which are: best performance, best battery, and high performance. In this embodiment, three different performance modes are the second parameters.
  • the current second parameter of the operating system is configured.
  • the second case obtaining the first parameter based on the state information of the first hardware running on the hardware platform.
  • a first parameter corresponding to the state information of the first hardware is obtained.
  • the first parameter may be, for example, the working state of the first hardware.
  • the first parameter may be the working state of the power supply.
  • the second parameter is obtained based on the first parameter, and the current second parameter of the operating system is configured.
  • the second parameter may be, for example, a process management parameter. Further, the process management parameter is to start or close a process related to the working state of the first hardware.
  • Intel RTD3 Intel Real-Time Switching Technology detects status information of the first hardware running on the hardware platform.
  • the first hardware may be, for example, a WIFI module, a camera, a touch panel, a touch screen, a fan, or a fingerprint recognition module.
  • the Intel RTD3 only detects status information of the first hardware on the current electronic device, that is, detects whether the first hardware is in a working state, so the present application does not specifically limit the first hardware. When the working state of the first hardware is detected, Intel RTD3 selects a state that matches the current working state of the first hardware.
  • the Intel RTD3 When the first hardware is in the working state, the Intel RTD3 has a state 1 corresponding to the first hardware in the working state, which is denoted as Intel RTD3 (1). When the first hardware is in a non-working state, the Intel RTD3 has a state 2 corresponding to the first hardware in a non-working state, which is denoted as Intel RTD3 (2), and the state 2 is specifically manifested as cutting off the power of the first hardware.
  • Table 2 for the corresponding relationship between the working status of the first hardware and the status of Intel RTD3.
  • Intel RTD3 detects the working state of the first hardware, it calls a state that matches the current working state of the first hardware.
  • the two different states of Intel RTD3 are the first parameters.
  • the second parameter is, for example, a process management parameter, and more specifically, starts or closes a process related to the working state of the first hardware. After selecting the second parameter according to the sequence number of the Intel RTD3 status, the current second parameter of the operating system is configured.
  • Intel RTD3 detects the working status of the WIFI module. When it detects that the WIFI module is in working state, it calls Intel RTD3 (1). When it detects that the WIFI module is in non-working state, it detects that the WIFI module is in an idle state, and calls Intel RTD3 (2), that is, it turns off WIFI.
  • the power of the module enables the hardware platform to complete its own power consumption configuration to achieve the power saving mode of the hardware platform.
  • Intel RTD3 (2) is called, a second parameter corresponding to Intel RTD3 (2) is determined. In this embodiment, the second parameter is to close the processes that depend on the WIFI module to work in the task manager.
  • Intel RTD3 detects the working state of the camera.
  • Intel RTD3 (1) is called.
  • Intel RTD3 (2) is called, which cuts off the power of the camera and enables the hardware platform to complete its own power consumption configuration.
  • a second parameter corresponding to Intel RTD3 (2) is determined.
  • the second parameter is to close the process related to the camera in the task manager. At this time, the process related to the camera is closed, so that the operating system controls the hardware platform to complete the power consumption configuration, so that the hardware platform is in the operating system.
  • the hardware platform has reached the power saving mode through its own power consumption configuration and the operating system's power consumption configuration, that is, the coordination and linkage between the hardware management and the software parameters of the operating system are achieved, thereby achieving better savings. Electric effect.
  • Intel RTD3 there are two states of Intel RTD3 in the above embodiment, namely Intel RTD3 (1) and Intel RTD3 (2), that is, there are two states for a specific first hardware. That is, when indicating that Intel RTD3 has two states, it is necessary to indicate which first hardware is targeted.
  • the working state of the camera corresponds to two states: Intel RTD3 (1) and Intel RTD3 (2)
  • the working state of the WIFI module also corresponds to two states: Intel RTD3 (1) and Intel RTD3 (2).
  • determining the second parameter corresponding to the first parameter and configuring the current second parameter of the operating system includes: based on the correspondence between the first parameter and the second parameter, finding out that the first parameter corresponds to the first parameter. A second parameter corresponding to the parameter; and instructing the hardware platform or the actuator of the operating system to configure the current second parameter of the operating system.
  • a correspondence table between the first parameter and the second parameter is set in advance.
  • the second parameter can be found according to the correspondence table between the first parameter and the second parameter.
  • the first parameter is the number of the Intel SoC parameter configuration table and the second parameter is three different performance modes
  • the corresponding relationship between the first parameter and the second parameter is shown in Table 3.
  • Table 3 the same A performance mode can correspond to several different Intel SoC parameter configuration table numbers.
  • the process information in the task manager indicates which processes are included in the task manager, which can also be based on the current inclusion Different processes are divided into task manager process information (1) and task manager process information (2). At this time, the correspondence between the first parameter and the second parameter is shown in Table 4.
  • the hardware platform or the actuator of the operating system is instructed to configure the current second parameter of the operating system.
  • the actuator is divided into a hardware actuator and a software actuator.
  • the executor of the hardware platform is instructed to configure the current second parameter of the operating system.
  • Intel PPM package Intelligent processor power management software package
  • the hardware platform to modify the EPP parameter values in the power slider of the operating system, that is, to modify into three different performance modes, that is, the most Best performance, Best battery, and High performance.
  • the actuator of the operating system is instructed to configure the current second parameter of the operating system.
  • power throttling under the operating system is instructed to shut down unnecessary processes in the task manager.
  • the power throttling command is instructed to close the process that depends on the WIFI module to work.
  • the first hardware is a camera and the camera is in a non-working state, then The command power throttling shuts down the camera-related process.
  • configuring the first parameter of the hardware platform based on the second parameter of the operating system includes: obtaining a second parameter; determining a first parameter corresponding to the second parameter, and according to the corresponding first parameter Configure the current first parameter of the hardware platform.
  • the third case it is the reverse process as opposed to the first case.
  • a second parameter of the operating system is obtained first, and the second parameter may be, for example, a frequency management parameter of the CPU by the operating system.
  • a first parameter corresponding to the second parameter is determined, and the current first parameter of the hardware platform is configured.
  • the first parameter may be, for example, a hardware parameter of the first application program, and specifically, may be a power consumption and temperature parameter.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, a frequency management parameter of the CPU by the operating system, and more specifically, an EPP parameter value, such as that controlled by the operating system.
  • Performance model of the hardware platform For example, the operating system can control the hardware platform to achieve three different performance modes, which are: best performance, best battery, and high performance. In this embodiment, three different performance modes are the second parameters.
  • the first parameter is reversely searched according to the above Table 3 to obtain the first parameter.
  • the current first parameter of the hardware platform is configured.
  • the parameters of the hardware platform controlled by the operating system are first adjusted to the second parameter, which is the second parameter required by the current user.
  • the hardware platform itself is adjusted. The first parameter is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system to achieve the optimal power saving mode.
  • the fourth case it is the reverse process as opposed to the second case.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, a process management parameter.
  • the process management parameter is to start or close a process related to the working state of the first hardware.
  • a first parameter corresponding to the second parameter is determined, and the current first parameter of the hardware platform is configured according to the corresponding first parameter.
  • the first parameter may be, for example, an operating state of the first hardware, and specifically may be an operating state of a power supply.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, starting or closing a process related to the working state of the first hardware.
  • the first parameter is searched backward according to the above Table 4, so as to obtain the first parameter.
  • the first parameter configure the current first parameter of the hardware platform.
  • the parameters of the hardware platform controlled by the operating system are first adjusted to the second parameter, which is the second parameter required by the current user.
  • the hardware platform itself is adjusted.
  • the first parameter is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system to achieve the optimal power saving mode.
  • the first parameter is searched backward through Table 4.
  • the first parameter is the status of Intel RTD3.
  • the first parameter when it is detected that there is no process related to the camera in the task manager, the first parameter is searched backward through Table 4.
  • the first parameter is the status of Intel RTD3.
  • the first parameter of the hardware platform itself is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system.
  • obtaining the second parameter includes: instructing an actuator of a hardware platform to read the second parameter based on the second parameter of the operating system.
  • the hardware platform's actuator is instructed to read the second parameter. That is, the Intel PPM package running on the hardware platform is instructed to read the EPP parameter values in the power slider of the operating system.
  • the second parameter when the first parameter is the status of Intel RTD3 and the second parameter is the process information in the task manager, the second parameter can be directly read without the help of the hardware platform's actuator or the operating system's actuator. Parameters, that is, read process information in the task manager.
  • determining the first parameter corresponding to the second parameter and configuring the current first parameter of the hardware platform includes: based on the correspondence between the first parameter and the second parameter, finding the A first parameter; and instructing the hardware platform to configure the current first parameter according to the corresponding first parameter.
  • a correspondence table between the first parameter and the second parameter is set in advance. On the premise that the second parameter has been determined, the first parameter can be found according to the correspondence table between the first parameter and the second parameter.
  • the first parameter is the number of the Intel SoC parameter configuration table and the second parameter is three different performance modes
  • the corresponding relationship between the first parameter and the second parameter is shown in Table 3.
  • Table 3 the same A performance mode can correspond to several different Intel SoC parameter configuration table numbers.
  • the first parameter is the status of Intel RTD3 and the second parameter is the process information in the task manager (where the process information in the task manager indicates which processes are included in the task manager, it can also be based on The currently included processes are different and divided into task manager process information (1) and task manager process information (2)).
  • the correspondence between the first parameter and the second parameter is shown in Table 4.
  • the hardware platform is instructed to configure the current first parameter.
  • the instruction Intel DPTF calls the Intel SoC parameter configuration table, and matches the number of the called Intel SoC parameter configuration table with the currently selected performance mode.
  • the Intel RTD3 is instructed to adjust the working state of the first hardware to match the process information in the task manager. Specifically, when it detects that there is no process in the task manager that depends on the WIFI module to work, it instructs Intel RTD3 to turn off the WIFI module; when it detects that there is no process related to the camera in the task manager, it instructs Intel RTD3 will close with the camera.
  • an embodiment of the present application further provides an electronic device, including: a hardware platform that provides a first parameter; a controller and a memory; The configuration, or the first parameter of the hardware platform is configured based on the second parameter of the operating system, so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system.
  • the second parameter of the operating system may be stored in the memory in advance; the controller may configure the second parameter of the operating system of the electronic device based on the first parameter of the hardware platform, or the second parameter of the operating system to the hardware platform.
  • the first parameter is configured.
  • the first parameter of the hardware platform can be obtained, and the second parameter of the operating system is configured based on the first parameter of the hardware platform, so that the power consumption configuration of the hardware platform itself and the hardware controlled by the operating system are configured.
  • the platform's power configuration matches.
  • the second parameter of the operating system can be obtained, and the first parameter of the hardware platform is configured based on the second parameter of the operating system; so that the power consumption configuration of the hardware platform itself and the operating system-controlled The power configuration of the hardware platform matches.
  • the first parameter may be a hardware parameter of the first application program or a working state of the first hardware.
  • the second parameter is a process management parameter or a frequency management parameter of the CPU by the operating system.
  • the hardware parameters include energy consumption and temperature parameters; the working state is the working state of the power supply.
  • the process management parameter is to start or close a process related to the working state of the first hardware.
  • the electronic device provided by this application can achieve better power saving effect through the coordination and linkage between hardware management and software parameters of the operating system, and can intelligently adjust according to the user's use scenario and needs.
  • the controller and the memory are based on the first parameter of the hardware platform, and the second parameter of the operating system is further configured by the hardware platform or an actuator of the operating system.
  • the controller and the memory are further configured to obtain the information corresponding to the state information of the first application program or the first hardware based on the state information of the first application program or the first hardware running on the hardware platform. Determine a second parameter corresponding to the first parameter, and configure a current second parameter of the operating system according to the corresponding second parameter.
  • the first case obtaining the first parameter based on the first application program running on the hardware platform.
  • a first parameter corresponding to the first application program is obtained based on a first application program running on a hardware platform; the first parameter may be, for example, a hardware parameter of the first application program, and specifically, may be energy consumption And temperature parameters.
  • the second parameter is obtained based on the first parameter, and the current second parameter of the operating system is configured.
  • the second parameter may be, for example, a frequency management parameter of the CPU by the operating system.
  • Intel DPTF Intelligent Platform and Thermal Framework detects a first application program running on a hardware platform.
  • the first application program may be, for example, a video player, game software, a web browser, or office software.
  • the Intel DPTF only detects an application program currently performed on an electronic device, so the first application program is not specifically limited in this application.
  • the Intel SoC parameter configuration table corresponding to the first application is called, that is, each application corresponds to an Intel SoC parameter configuration table.
  • Table 1 First application and Intel SoC parameters Correspondence of the configuration table.
  • the Intel SoC parameter configuration table specifically includes the following data: pl1 (the ability of the CPU to continuously consume power), the maximum value of the CPU body temperature, pl2 (the instantaneous power consumption of the CPU), and the surface temperature of the electronic device. That is, after detecting the first application, a set of values in the Intel SoC parameter configuration table is called.
  • a set of values in the Intel SoC parameter configuration table is called.
  • there may be multiple Intel SoC parameter configuration tables for example, Intel SoC parameter configuration table (1), Intel SoC parameter configuration table (2), Intel SoC parameter configuration table (3), and so on.
  • the specific parameter included in the Intel SoC parameter configuration table is the first parameter, that is, a set of values included in the Intel SoC parameter configuration table. Therefore, the first parameter can also be understood as the Intel SoC parameter configuration Table number.
  • the Intel SoC parameter configuration table corresponding to the first running application program it is determined that the serial number parameter configuration table is called (for example, the first serial number Intel SoC parameter configuration is called).
  • the table that is, the Intel SoC parameter configuration table (1) is called, can determine the second parameter corresponding to the Intel SoC parameter configuration table number.
  • the second parameter is, for example, a frequency management parameter of the CPU by the operating system, and more specifically, an EPP parameter value, such as a performance mode of a hardware platform controlled by the operating system.
  • the operating system can control the hardware platform to achieve three different performance modes, which are: best performance, best battery, and high performance. In this embodiment, three different performance modes are the second parameters.
  • the current second parameter of the operating system is configured.
  • the second case obtaining the first parameter based on the state information of the first hardware running on the hardware platform.
  • a first parameter corresponding to the status information of the first hardware is obtained based on the status information of the first hardware running on the hardware platform; the first parameter may be, for example, the working status of the first hardware. Specifically, it may be It is the working state of the power supply.
  • the second parameter is obtained based on the first parameter, and the current second parameter of the operating system is configured.
  • the second parameter may be, for example, a process management parameter. Further, the process management parameter is to start or close a process related to the working state of the first hardware.
  • Intel RTD3 Intel Real-Time Switching Technology detects status information of first hardware running on a hardware platform.
  • the first hardware may be, for example, a WIFI module, a camera, a touchpad, a touch screen, a fan, or Fingerprint recognition module, etc.
  • Intel RTD3 only detects the status information of the first hardware on the current electronic device, that is, detects whether the first hardware is in a working state, so this application does not specifically limit the first hardware. When the working state of the first hardware is detected, Intel RTD3 selects a state that matches the current working state of the first hardware.
  • the Intel RTD3 When the first hardware is in the working state, the Intel RTD3 has a state 1 corresponding to the first hardware in the working state, which is denoted as Intel RTD3 (1). When the first hardware is in a non-working state, the Intel RTD3 has a state 2 corresponding to the first hardware in a non-working state, which is denoted as Intel RTD3 (2), and the state 2 is specifically manifested as cutting off the power of the first hardware.
  • Table 2 for the corresponding relationship between the working status of the first hardware and the status of Intel RTD3.
  • Intel RTD3 detects the working state of the first hardware, it calls a state that matches the current working state of the first hardware.
  • the two different states of Intel RTD3 are the first parameters.
  • the second parameter is, for example, a process management parameter, and more specifically, starts or closes a process related to the working state of the first hardware. After selecting the second parameter according to the sequence number of the Intel RTD3 status, the current second parameter of the operating system is configured.
  • Intel RTD3 detects the working status of the WIFI module. When it detects that the WIFI module is in working state, it calls Intel RTD3 (1). When it detects that the WIFI module is in non-working state, it detects that the WIFI module is in an idle state, and calls Intel RTD3 (2), that is, it turns off WIFI.
  • the power of the module enables the hardware platform to complete its own power consumption configuration to achieve the power saving mode of the hardware platform.
  • Intel RTD3 (2) is called, a second parameter corresponding to Intel RTD3 (2) is determined. In this embodiment, the second parameter is to close the processes that depend on the WIFI module to work in the task manager.
  • Intel RTD3 detects the working state of the camera.
  • Intel RTD3 (1) is called.
  • Intel RTD3 (2) is called, which cuts off the power of the camera and enables the hardware platform to complete its own power consumption configuration.
  • a second parameter corresponding to Intel RTD3 (2) is determined.
  • the second parameter is to close the process related to the camera in the task manager. At this time, the process related to the camera is closed, so that the operating system controls the hardware platform to complete the power consumption configuration, so that the hardware platform is in the operating system.
  • the hardware platform has reached the power saving mode through its own power consumption configuration and the operating system's power consumption configuration, that is, the coordination and linkage between the hardware management and the software parameters of the operating system are achieved, thereby achieving better savings. Electric effect.
  • Intel RTD3 there are two states of Intel RTD3 in the above embodiment, namely Intel RTD3 (1) and Intel RTD3 (2), that is, there are two states for a specific first hardware. That is, when indicating that Intel RTD3 has two states, it is necessary to indicate which first hardware is targeted.
  • the working state of the camera corresponds to two states: Intel RTD3 (1) and Intel RTD3 (2)
  • the working state of the WIFI module also corresponds to two states: Intel RTD3 (1) and Intel RTD3 (2).
  • the controller and the memory are further configured to: find a second parameter corresponding to the first parameter based on a correspondence between the first parameter and the second parameter; and instruct a hardware platform or an operating system The actuator configures the current second parameter of the operating system according to the corresponding second parameter.
  • a correspondence table between the first parameter and the second parameter is set in advance.
  • the second parameter can be found according to the correspondence table between the first parameter and the second parameter.
  • the first parameter is the number of the Intel SoC parameter configuration table and the second parameter is three different performance modes
  • the corresponding relationship between the first parameter and the second parameter is shown in Table 3.
  • Table 3 the same A performance mode can correspond to several different Intel SoC parameter configuration table numbers.
  • the process information in the task manager indicates which processes are included in the task manager, which can also be based on the current inclusion Different processes are divided into task manager process information (1) and task manager process information (2). At this time, the correspondence between the first parameter and the second parameter is shown in Table 4.
  • the hardware platform or the actuator of the operating system is instructed to configure the current second parameter of the operating system.
  • the actuator is divided into a hardware actuator and a software actuator.
  • the executor of the hardware platform is instructed to configure the current second parameter of the operating system.
  • Intel PPM package Intelligent processor power management software package
  • the hardware platform to modify the EPP parameter values in the power slider of the operating system, that is, to modify into three different performance modes, that is, the most Best performance, Best battery, and High performance.
  • the actuator of the operating system is instructed to configure the current second parameter of the operating system.
  • power throttling under the operating system is instructed to shut down unnecessary processes in the task manager.
  • the power throttling command is instructed to close the process that depends on the WIFI module to work.
  • the first hardware is a camera and the camera is in a non-working state, then The command power throttling shuts down the camera-related process.
  • the controller and the memory are further configured to: obtain a second parameter; determine a first parameter corresponding to the second parameter; and, according to the corresponding second parameter, to the current first of the hardware platform Parameters for configuration.
  • the third case it is the reverse process as opposed to the first case.
  • a second parameter of the operating system is obtained first, and the second parameter may be, for example, a frequency management parameter of the CPU by the operating system.
  • a first parameter corresponding to the second parameter is determined, and the current first parameter of the hardware platform is configured.
  • the first parameter may be, for example, a hardware parameter of the first application program, and specifically, may be a power consumption and temperature parameter.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, a frequency management parameter of the operating system to the CPU, and more specifically, an EPP parameter value, for example, controlled by the operating system.
  • Performance model of the hardware platform For example, the operating system can control the hardware platform to achieve three different performance modes, which are: best performance, best battery, and high performance. In this embodiment, three different performance modes are the second parameters.
  • the first parameter is reversely searched according to the above Table 3 to obtain the first parameter.
  • the current first parameter of the hardware platform is configured.
  • the parameters of the hardware platform controlled by the operating system are first adjusted to the second parameter, which is the second parameter required by the current user.
  • the hardware platform itself is adjusted. The first parameter is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system to achieve the optimal power saving mode.
  • the fourth case it is the reverse process as opposed to the second case.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, a process management parameter.
  • the process management parameter is to start or close a process related to the working state of the first hardware.
  • a first parameter corresponding to the second parameter is determined, and the current first parameter of the hardware platform is configured according to the corresponding first parameter.
  • the first parameter may be, for example, an operating state of the first hardware, and specifically may be an operating state of a power supply.
  • a second parameter of the operating system is obtained first.
  • the second parameter is, for example, starting or closing a process related to the working state of the first hardware.
  • the first parameter is searched backward according to the above Table 4, so as to obtain the first parameter.
  • the first parameter configure the current first parameter of the hardware platform.
  • the parameters of the hardware platform controlled by the operating system are first adjusted to the second parameter, which is the second parameter required by the current user.
  • the hardware platform itself is adjusted.
  • the first parameter is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system to achieve the optimal power saving mode.
  • the first parameter is searched backward through Table 4.
  • the first parameter is the status of Intel RTD3.
  • the first parameter when it is detected that there is no process related to the camera in the task manager, the first parameter is searched backward through Table 4.
  • the first parameter is the status of Intel RTD3.
  • the first parameter of the hardware platform itself is configured so that the power consumption configuration of the hardware platform itself matches the power consumption configuration of the hardware platform controlled by the operating system.
  • controller and the memory are further configured to instruct an actuator of the hardware platform to read the second parameter based on the second parameter of the operating system.
  • the hardware platform's actuator is instructed to read the second parameter. That is, the Intel PPM package running on the hardware platform is instructed to read the EPP parameter values in the power slider of the operating system.
  • the second parameter when the first parameter is the status of Intel RTD3 and the second parameter is the process information in the task manager, the second parameter can be directly read without the help of the hardware platform's actuator or the operating system's actuator. Parameters, that is, read process information in the task manager.
  • controller and the memory are further configured to: find the first parameter corresponding to the second parameter based on the correspondence between the first parameter and the second parameter; and instruct the hardware platform to perform the corresponding operation according to the corresponding first parameter. Configure the current first parameter.
  • a correspondence table between the first parameter and the second parameter is set in advance. On the premise that the second parameter has been determined, the first parameter can be found according to the correspondence table between the first parameter and the second parameter.
  • the first parameter is the number of the Intel SoC parameter configuration table and the second parameter is three different performance modes
  • the corresponding relationship between the first parameter and the second parameter is shown in Table 3.
  • Table 3 the same A performance mode can correspond to several different Intel SoC parameter configuration table numbers.
  • the first parameter is the status of Intel RTD3 and the second parameter is the process information in the task manager (where the process information in the task manager indicates which processes are included in the task manager, it can also be based on the current
  • the included processes are divided into task manager process information (1) and task manager process information (2)).
  • the correspondence between the first parameter and the second parameter is shown in Table 4.
  • the hardware platform is instructed to configure the current first parameter.
  • the instruction Intel DPTF calls the Intel SoC parameter configuration table, and matches the number of the called Intel SoC parameter configuration table with the currently selected performance mode.
  • the Intel RTD3 is instructed to adjust the working state of the first hardware to match the process information in the task manager. Specifically, when it detects that there is no process in the task manager that depends on the WIFI module to work, it instructs Intel RTD3 to turn off the WIFI module; when it detects that there is no process related to the camera in the task manager, it instructs Intel RTD3 will close with the camera.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

一种信息处理方法,包括:获得硬件平台的第一参数或获得操作系统的第二参数;基于所述硬件平台的第一参数对所述操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置,以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。上述方法通过硬件管理和操作系统的软件参数之间的协同和联动,能够实现更好的省电效果,并且可以针对用户的使用场景和需求进行智能的调整。

Description

一种信息处理方法及电子设备 技术领域
本申请涉及电子技术领域,特别涉及一种信息处理方法及电子设备。
背景技术
在笔记本电脑、平板电脑和台式机等电子设备逐渐普及的今天,人们会利用电子设备进行看电影、上网、办公、游戏等活动。目前基于Intel X86平台和微软Windows操作系统的电子设备,可以通过Intel SoC(通用处理器)的硬件管理来进行电源管理,例如通过对频率、功耗等关键参数进行调节来实现电源管理,以及通过控制Windows操作系统的电源选项控制的软件参数来实现电源管理。
虽然单独通过硬件管理或操作系统的软件参数的控制均能够实现电源管理,但是由于硬件管理和操作系统的软件参数的控制之间没有协同和联动,省电效果不好。例如,硬件管理方式下用户使用播放器看电影时调用限制性能的SoC配置参数,但是操作系统中依然是高性能的配置,综合结果是省电效果不好。
另外,现有技术中也不能针对用户多变的使用场景和需求进行智能的调整。
发明内容
本申请的目的在于提供一种信息处理方法及电子设备,通过硬件管理和操作系统的软件参数的控制之间的协同和联动,能够实现更好的省电效果,并且可以针对用户的使用场景和需求进行智能的调整。
为了解决上述技术问题,本申请的实施例采用了如下技术方案:
本申请一方面提供一种信息处理方法,包括:获得硬件平台的第一参数或获得操作系统的第二参数;基于所述硬件平台的第一参数对所述操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置,以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。
作为优选,所述获得硬件平台的第一参数包括:基于所述硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与所述第一应用程序或 第一硬件的状态信息相应的第一参数;所述基于所述硬件平台的第一参数对所述操作系统第二参数进行配置包括:确定与所述第一参数对应的第二参数,并对所述操作系统当前的第二参数进行配置。
作为优选,所述确定与所述第一参数对应的第二参数,并对所述操作系统当前的第二参数进行配置包括:基于所述第一参数与所述第二参数的对应关系,查得与所述第一参数对应的第二参数;以及根据所述对应的第一参数,指令所述硬件平台或操作系统的执行器对所述操作系统当前的第二参数进行配置。
作为优选,所述基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置包括:获得所述第二参数;确定与所述第二参数对应的第一参数,并根据所述对应的第一参数对所述硬件平台当前的第一参数进行配置。
作为优选,其中,获得所述第二参数包括:基于所述操作系统的第二参数,指令所述硬件平台的执行器读取所述第二参数。
作为优选,所述确定与所述第二参数对应的第一参数,并对所述硬件平台当前的第一参数进行配置包括:基于所述第一参数与所述第二参数的对应关系,查得与所述第二参数对应的第一参数;以及根据所述对应的第一参数,指令所述硬件平台对当前的第一参数进行配置。
作为优选,所述第一参数为第一应用程序的硬件参数或第一硬件的工作状态,其中,所述硬件参数包括能耗和温度参数;所述工作状态为电源的工作状态。
作为优选,所述第二参数为进程管理参数或操作系统对CPU的频率管理参数,其中,所述进程管理参数为启动或关闭与所述第一硬件的工作状态相关的进程。
本申请另一方面提供一种电子设备,包括:硬件平台,其提供第一参数;控制器和存储器,基于所述硬件平台的第一参数对电子设备的操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置,以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。
作为优选,所述控制器和存储器:基于所述硬件平台的第一参数,进 一步通过所述硬件平台或操作系统的执行器对所述操作系统的第二参数进行配置。
作为优选,所述控制器和存储器进一步用于:基于所述硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与所述第一应用程序或第一硬件的状态信息相应的第一参数;以及确定与所述第一参数对应的第二参数,并对所述操作系统当前的第二参数进行配置。
作为优选,所述控制器和存储器进一步用于:基于所述第一参数与所述第二参数的对应关系,查得与所述第一参数对应的第二参数;以及指令所述硬件平台或操作系统的执行器对所述操作系统当前的第二参数进行配置。
作为优选,所述控制器和存储器进一步用于:获得所述第二参数;确定与所述第二参数对应的第一参数,并对所述硬件平台当前的第一参数进行配置。
作为优选,所述控制器和存储器进一步用于:基于所述操作系统的第二参数,指令所述硬件平台的执行器读取所述第二参数。
作为优选,所述控制器和存储器进一步用于:基于所述第一参数与所述第二参数的对应关系,查得与所述第二参数对应的第一参数;以及指令所述硬件平台对当前的第一参数进行配置。
作为优选,所述第一参数为第一应用程序的硬件参数或第一硬件的工作状态,其中,所述硬件参数包括能耗和温度参数;所述工作状态为电源的工作状态。
作为优选,所述第二参数为进程管理参数或操作系统对CPU的频率管理参数,其中,所述进程管理参数为启动或关闭与所述第一硬件的工作状态相关的进程。
本申请第三方面还提供一种电子设备,包括:参数获得模块,其配置为获得硬件平台的第一参数或获得操作系统的第二参数;参数配置模块,其配置为基于所述硬件平台的第一参数对所述操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置;以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。
作为优选,所述参数获得模块进一步被配置为:基于所述硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与所述第一应用程序或第一硬件的状态信息相应的第一参数;所述参数配置模块进一步被配置为:确定与所述第一参数对应的第二参数,并对所述操作系统当前的第二参数进行配置。
作为优选,所述参数配置模块进一步被配置为:基于所述第一参数与所述第二参数的对应关系,查得与所述第一参数对应的第二参数;指令所述硬件平台或操作系统的执行器对所述操作系统当前的第二参数进行配置。
作为优选,所述参数获得模块获得所述第二参数;所述参数配置模块进一步被配置为:确定与所述第二参数对应的第一参数,并对所述硬件平台当前的第一参数进行配置。
作为优选,所述参数获得模块进一步被配置为:基于所述操作系统的第二参数,指令所述硬件平台的执行器读取所述第二参数。
作为优选,所述参数配置模块进一步被配置为:基于所述第一参数与所述第二参数的对应关系,查得与所述第二参数对应的第一参数;指令所述硬件平台对当前的第一参数进行配置。
作为优选,所述第一参数为第一应用程序的硬件参数或第一硬件的工作状态,其中,所述硬件参数包括能耗和温度参数;所述工作状态为电源的工作状态。
作为优选,所述第二参数为进程管理参数或操作系统对CPU的频率管理参数,其中,所述进程管理参数为启动或关闭与所述第一硬件的工作状态相关的进程。
本申请实施例的有益效果在于:本申请提供的信息处理方法及电子设备,通过硬件管理和操作系统的软件参数之间的协同和联动,能够实现更好的省电效果,并且可以针对用户的使用场景和需求进行智能的调整。
附图说明
附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。在附图中:
图1示出了本申请实施例的基于硬件平台的第一参数对操作系统的第二参数进行配置的一种信息处理方法;
图2示出了本申请实施例的基于硬件平台的第一参数对操作系统的第二参数进行配置的另一种信息处理方法;
图3示出了本申请实施例的基于操作系统的第二参数对硬件平台的第一参数进行配置的一种信息处理方法;以及
图4示出了本申请实施例的基于操作系统的第二参数对硬件平台的第一参数进行配置的另一种信息处理方法。
具体实施方式
此处参考附图描述本申请的各种方案以及特征。
应理解的是,可以对此处申请的实施例做出各种修改。因此,上述说明书不应该视为限制,而仅是作为实施例的范例。本领域的技术人员将想到在本申请的范围和精神内的其他修改。
包含在说明书中并构成说明书的一部分的附图示出了本申请的实施例,并且与上面给出的对本申请的大致描述以及下面给出的对实施例的详细描述一起用于解释本申请的原理。
通过下面参照附图对给定为非限制性实例的实施例的优选形式的描述,本申请的这些和其它特性将会变得显而易见。
还应当理解,尽管已经参照一些具体实例对本申请进行了描述,但本领域技术人员能够确定地实现本申请的很多其它等效形式,它们具有如权利要求所述的特征并因此都位于借此所限定的保护范围内。
当结合附图时,鉴于以下详细说明,本申请的上述和其他方面、特征和优势将变得更为显而易见。
此后参照附图描述本申请的具体实施例;然而,应当理解,所公开的实施例仅仅是本申请的实例,其可采用多种方式实施。熟知和/或重复的功能和结构并未详细描述以避免不必要或多余的细节使得本申请模糊不清。因此,本文所公开的具体的结构性和功能性细节并非意在限定,而是仅仅作为权利要求的基础和代表性基础用于教导本领域技术人员以实质上任意合适的详细结构多样地使用本申请。
本说明书可使用词组“在一种实施例中”、“在另一个实施例中”、“在 又一实施例中”或“在其他实施例中”,其均可指代根据本申请的相同或不同实施例中的一个或多个。
本申请在一个实施例中提供一种信息处理方法,包括:获得硬件平台的第一参数或获得操作系统的第二参数;基于硬件平台的第一参数对操作系统的第二参数进行配置,或基于操作系统的第二参数对硬件平台的第一参数进行配置,以使得硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在本申请的一个实施例中,可以获得硬件平台的第一参数,基于硬件平台的第一参数对操作系统的第二参数进行配置,以使得硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在本申请的另一个实施例中,可以获得操作系统的第二参数,基于操作系统的第二参数对硬件平台的第一参数进行配置;以使得硬件平台自身的功耗配置与所述操作系统控制的硬件平台的功耗配置相匹配。
其中,第一参数可以为第一应用程序的硬件参数或第一硬件的工作状态。在另一实施例中,第二参数为进程管理参数或操作系统对CPU的频率管理参数。
进一步地,硬件参数包括能耗和温度参数;工作状态为电源的工作状态。在另一个实施例中,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。
本申请提供的信息处理方法,通过硬件管理和操作系统的软件参数之间的协同和联动,能够实现更好的省电效果,并且可以针对用户的使用场景和需求进行智能的调整。
在本申请提供的一个实施例中,获得硬件平台的第一参数包括:基于硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与第一应用程序或第一硬件的状态信息相应的第一参数;基于硬件平台的第一参数对操作系统第二参数进行配置包括:确定与第一参数对应的第二参数,并根据对应的第二参数,对操作系统当前的第二参数进行配置。
以下分为两种情况进行具体阐释:
第一种情况:基于硬件平台上运行的第一应用程序获得第一参数。
如图1所示的实施例,基于硬件平台上运行的第一应用程序,获得与 第一应用程序相应的第一参数;第一参数例如可以为第一应用程序的硬件参数,具体地,可以为能耗和温度参数。基于第一参数获得第二参数,并对操作系统当前的第二参数进行配置。第二参数例如可以为操作系统对CPU的频率管理参数。
在一个具体实施例中,Intel DPTF(英特尔动态平台及热框架)侦测在硬件平台上运行的第一应用程序。该第一应用程序例如可以为:视频播放器、游戏软件、网页浏览器或办公软件等。本申请的实施例中Intel DPTF只是侦测目前电子设备上所进行的应用程序,故本申请对第一应用程序不作具体限定。当侦测到第一应用程序后,调用与第一应用程序相对应的Intel SoC参数配置表,即每一个应用程序对应一个Intel SoC参数配置表,具体参考表1第一应用程序与Intel SoC参数配置表的对应关系。更具体的,Intel SoC参数配置表具体包括以下数据:pl1(CPU持续功耗的能力)、CPU本体温度的最大值、pl2(CPU瞬间功耗能力)和电子设备表面的温度。也就是说,在侦测到第一应用程序后,是调用了Intel SoC参数配置表中的一组数值,可以有多个Intel SoC参数配置表,例如,Intel SoC参数配置表(1)、Intel SoC参数配置表(2)、Intel SoC参数配置表(3)等等。在本实施例中,Intel SoC参数配置表中所包含的具体参数即为第一参数,即Intel SoC参数配置表中包含的一组数值,因此,也可将第一参数理解为Intel SoC参数配置表序号。通过调用与当前正在运行的第一应用程序相对应的Intel SoC参数配置表,以使得硬件管理层面能够实现较优的电源管理,即使得硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。
进一步地,当调用了与当前正在运行的第一应用程序相对应的Intel SoC参数配置表时,也即确定了是调用了第几序号参数配置表时(例如调用了第一序号Intel SoC参数配置表,即调用了Intel SoC参数配置表(1)),可以确定与Intel SoC参数配置表序号对应的第二参数。在本实施例中,第二参数例如为操作系统对CPU的频率管理参数,更具体的为EPP参数值,例如为操作系统控制的硬件平台的性能模式。例如,操作系统能够控制硬件平台达到三种不同的性能模式,分别为:最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。在本实施例中,三种不同的性能模式即为第二参数。在依据Intel SoC参数配置表序号选择 了第二参数后,并对操作系统当前的第二参数进行配置。
表1第一应用程序与Intel SoC参数配置表的对应关系
第一应用程序 Intel SoC参数配置表
视频播放器 Intel SoC参数配置表(1)
游戏软件 Intel SoC参数配置表(2)
网页浏览器 Intel SoC参数配置表(3)
办公软件 Intel SoC参数配置表(4)
第二种情况:基于硬件平台上运行的第一硬件的状态信息获得第一参数。
如图2所示的实施例,基于所述硬件平台上运行的第一硬件的状态信息,获得与所述第一硬件的状态信息相应的第一参数。其中,第一参数例如可以为第一硬件的工作状态,具体的,该第一参数可以为电源的工作状态。基于第一参数获得第二参数,并对操作系统当前的第二参数进行配置。第二参数例如可以为进程管理参数,进一步地,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。
在一个具体实施例中,Intel RTD3(英特尔实时切电技术)侦测在硬件平台上运行的第一硬件的状态信息。第一硬件例如可以为:WIFI模块、摄像头、触摸板、触摸屏、风扇或指纹识别模块等。本申请的实施例中Intel RTD3只是侦测目前电子设备上的第一硬件的状态信息,即侦测第一硬件是否处于工作状态,故本申请对第一硬件不作具体限定。当侦测到第一硬件的工作状态后,Intel RTD3选择与第一硬件当前的工作状态相匹配的状态。当第一硬件处于工作状态时,Intel RTD3具有与第一硬件处于工作状态相应的状态1,记为Intel RTD3(1)。当第一硬件处于非工作状态时,Intel RTD3具有与第一硬件处于非工作状态相应的状态2,记为Intel RTD3(2),状态2具体表现为切断第一硬件的电源。具体参考表2第一硬件的工作状态与Intel RTD3状态的对应关系。也就是说,当Intel RTD3侦测到第一硬件的工作状态后,就调用了与第一硬件当前的工作状态相匹配的状态。在本实施例中,Intel RTD3的两种不同的状态即为第一参数。通过调用与第一硬件当前的工作状态相匹配的Intel RTD3的状态,以使得硬件管理层面能够实现较优的电源管理,即使硬件平台完成自身的功耗配置,以 达到硬件平台的省电模式。
进一步地,当调用了与第一硬件当前的工作状态相匹配的Intel RTD3的状态时,也即确定了是调用了第几序号的Intel RTD3状态时(例如调用了第一序号的Intel RTD3状态,即调用了Intel RTD3(1)),可以确定与Intel RTD3状态的序号对应的第二参数。在本实施例中,第二参数例如为进程管理参数,更具体地为启动或关闭与第一硬件的工作状态相关的进程。在依据Intel RTD3状态的序号选择了第二参数后,并对操作系统当前的第二参数进行配置。
表2第一硬件的工作状态与Intel RTD3状态的对应关系
第一硬件的工作状态 Intel RTD3状态
处于工作状态时 状态1,记为Intel RTD3(1)
处于非工作状态时 状态2,记为Intel RTD3(2)
在一个具体实施例中,当第一硬件为WIFI模块时,Intel RTD3侦测WIFI模块的工作状态。当侦测到WIFI模块处于工作状态时,调用Intel RTD3(1),当侦测到WIFI模块处于非工作状态时,即侦测到WIFI模块处于空闲状态,调用Intel RTD3(2),即切断WIFI模块的电源,使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。当调用Intel RTD3(2)时,确定与Intel RTD3(2)对应的第二参数。在本实施例中,第二参数为在任务管理器中关闭依赖于WIFI模块进行工作的进程,例如,浏览网页、看视频或者玩游戏这些进程需要在WIFI环境中进行工作,而办公软件或本地已经加载的视频等无需在WIFI环境中进行工作,此时,将需要在WIFI环境中进行工作的进程关闭,以使得操作系统控制硬件平台完成功耗配置,使硬件平台在操作系统的控制下也同样达到省电模式。如此,硬件平台通过自身的功耗配置和操作系统对其的功耗配置都达到了省电模式,即达到了硬件管理和操作系统的软件参数之间的协同和联动,从而实现更好的省电效果。
在另一个具体实施例中,当第一硬件为摄像头时,Intel RTD3侦测摄像头的工作状态。当侦测到摄像头处于工作状态时,调用Intel RTD3(1),当侦测到摄像头处于非工作状态时,调用Intel RTD3(2),即切断摄像头的电源,使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。 当调用Intel RTD3(2)时,确定与Intel RTD3(2)对应的第二参数。在本实施例中,第二参数为在任务管理器中关闭有关摄像头的进程,此时,将有关摄像头的进程关闭,以使得操作系统控制硬件平台完成功耗配置,使硬件平台在操作系统的控制下也同样达到省电模式。如此,硬件平台通过自身的功耗配置和操作系统对其的功耗配置都达到了省电模式,即达到了硬件管理和操作系统的软件参数之间的协同和联动,从而实现更好的省电效果。
本领域技术人员应当理解,上述实施例所述的Intel RTD3存在两个状态,即Intel RTD3(1)和Intel RTD3(2),即针对某一具体第一硬件具有两个状态。也即,在指明Intel RTD3具有两个状态的时候,需要指明是针对哪一个第一硬件。比如,摄像头的工作状态对应具有Intel RTD3(1)和Intel RTD3(2)两个状态,WIFI模块的工作状态也对应具有Intel RTD3(1)和Intel RTD3(2)两个状态。
在本申请的一个实施例中,确定与第一参数对应的第二参数,并对操作系统当前的第二参数进行配置包括:基于第一参数与第二参数的对应关系,查得与第一参数对应的第二参数;以及指令硬件平台或操作系统的执行器对操作系统当前的第二参数进行配置。
在本实施例中,预先设置第一参数与第二参数的对应表,在已经确定了第一参数的前提下,可以根据第一参数与第二参数的对应表查得第二参数。
例如,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,第一参数与第二参数的对应关系如表3所示,由表3可以看出,同一个性能模式可以对应几个不同的Intel SoC参数配置表序号。
表3第一参数与第二参数对应关系(1)
Figure PCTCN2019108735-appb-000001
又例如,当第一参数为Intel RTD3的状态,第二参数为任务管理器中进程信息时,任务管理器中的进程信息表示任务管理器中都包含有哪些进行,其也可以根据当前所包括的进程不同而分为任务管理器进程信息(1)和任务管理器进程信息(2)。此时,第一参数与第二参数的对应关系如表4所示。
表4第一参数与第二参数对应关系(2)
第一参数 第二参数
Intel RTD3(1) 任务管理器进程信息(1)
Intel RTD3(2) 任务管理器进程信息(2)
在确定了第二参数后,指令硬件平台或操作系统的执行器对操作系统当前的第二参数进行配置。其中,执行器分为硬件执行器与软件执行器。
在其中一个实施例中,在上述的第一种情况下,指令硬件平台的执行器对操作系统当前的第二参数进行配置。具体地,指令硬件平台上运行Intel PPM package(英特尔处理器电源管理软件包)对操作系统中的power slider中的EPP参数值进行修改,也即修改成三种不同的性能模式,即分别为最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。
在另一个实施例中,在上述的第二种情况下,指令操作系统的执行器对操作系统当前的第二参数进行配置。具体地,指令操作系统下的power throttling(操作系统进程耗电抑制)将任务管理器中的不需要的进程关闭。具体地,当第一硬件为WIFI模块,且WIFI模块处于空闲状态时,则指令power throttling将依赖于WIFI模块进行工作的进程关闭;当第一硬件为摄像头,且摄像头处于非工作状态时,则指令power throttling将与摄像头有关的进程关闭。
在本申请的一个实施例中,基于操作系统的第二参数对硬件平台的第一参数进行配置包括:获得第二参数;确定与第二参数对应的第一参数,并根据对应的第一参数对硬件平台当前的第一参数进行配置。
以下也同样分为两种情况进行阐释:
第三种情况:其为与第一种情况相对的反向过程。
如图3所示的实施例,首先获得操作系统的第二参数,第二参数例如 可以为操作系统对CPU的频率管理参数。确定与第二参数对应的第一参数,并对硬件平台当前的第一参数进行配置。第一参数例如可以为第一应用程序的硬件参数,具体地,可以为能耗和温度参数。
在一个具体实施例中,首先获得操作系统的第二参数,在本实施例中,第二参数例如为操作系统对CPU的频率管理参数,更具体的为EPP参数值,例如为操作系统控制的硬件平台的性能模式。例如,操作系统能够控制硬件平台达到三种不同的性能模式,分别为:最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。在本实施例中,三种不同的性能模式即为第二参数。在获得第二参数后,依据上述表3反向查找第一参数,从而获得第一参数,在获得第一参数后,对硬件平台当前的第一参数进行配置。在本实施例中,首先将操作系统控制的硬件平台的参数调整为第二参数,即为目前用户所需要的第二参数,当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配,达到最优的省电模式。
第四种情况:其为与第二种情况相对的反向过程。
如图4所示的实施例,首先获得操作系统的第二参数,第二参数例如为进程管理参数,进一步地,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。确定与第二参数对应的第一参数,并根据对应的第一参数对硬件平台当前的第一参数进行配置。第一参数例如可以为第一硬件的工作状态,具体地,可以为电源的工作状态。
在一个具体实施例中,首先获得操作系统的第二参数,在本实施例中,第二参数例如为启动或关闭与第一硬件的工作状态相关的进程。在获得第二参数后,依据上述表4反向查找第一参数,从而获得第一参数。在获得第一参数后,对硬件平台当前的第一参数进行配置。在本实施例中,首先将操作系统控制的硬件平台的参数调整为第二参数,即为目前用户所需要的第二参数,当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配,达到最优的省电模式。
在一个具体实施例中,当侦测到任务管理器中没有依赖于WIFI模块 进行工作的进程时(例如,浏览网页、看视频或者玩游戏这些进程需要在WIFI环境中进行工作,而办公软件或本地已经加载的视频等无需在WIFI环境中进行工作),即,侦测到任务管理器中没有需要在WIFI环境中进行的进程后,通过表4反向查找第一参数。在本实施例中,第一参数为Intel RTD3的状态。当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在另一个具体实施例中,当侦测到任务管理器中没有与摄像头有关的进程时,通过表4反向查找第一参数,在本实施例中,第一参数为Intel RTD3的状态。当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在本申请的一个实施例中,获得所述第二参数包括:基于操作系统的第二参数,指令硬件平台的执行器读取第二参数。
具体地,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,指令硬件平台的执行器读取第二参数。即指令硬件平台上运行的Intel PPM package读取操作系统中的power slider中的EPP参数值。
在另一个实施例中,当第一参数为Intel RTD3的状态,第二参数为任务管理器中进程信息时,无需借助于硬件平台的执行器或操作系统的执行器,可以直接读取第二参数,也即读取任务管理器中的进程信息。
在其他实施例中,确定与第二参数对应的第一参数,并对硬件平台当前的第一参数进行配置包括:基于第一参数与第二参数的对应关系,查得与第二参数对应的第一参数;以及指令硬件平台根据对应的第一参数对当前的第一参数进行配置。
在一个具体实施例中,预先设置第一参数与第二参数的对应表,在已经确定了第二参数的前提下,可以根据第一参数与第二参数的对应表查得第一参数。
例如,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,第一参数与第二参数的对应关系如表3所示,由表3可以 看出,同一个性能模式可以对应几个不同的Intel SoC参数配置表序号。
又例如,当第一参数为Intel RTD3的状态,第二参数为任务管理器中的进程信息时(其中,任务管理器中的进程信息表示任务管理器中都包含有哪些进程,其也可以根据当前所包括的进程不同而分为任务管理器进程信息(1)和任务管理器进程信息(2)),第一参数与第二参数的对应关系如表4所示。
在确定了第二参数后,指令硬件平台对当前的第一参数进行配置。
在其中一个实施例中,在上述的第三种情况下,指令Intel DPTF调用Intel SoC参数配置表,并使调用的Intel SoC参数配置表序号与当前所选用的性能模式相匹配。
在另一个实施例中,在上述的第四种情况下,指令Intel RTD3将第一硬件的工作状态调整到与任务管理器中的进程信息相匹配。具体地,当侦测到任务管理器中没有依赖于WIFI模块进行工作的进程时,则指令Intel RTD3将WIFI模块关闭;当侦测到任务管理器中没有与摄像头有关的进程时,则指令Intel RTD3将与摄像头关闭。
基于同一发明构思,本申请实施例还提供一种电子设备,包括:硬件平台,其提供第一参数;控制器和存储器,基于硬件平台的第一参数对电子设备的操作系统的第二参数进行配置,或基于操作系统的第二参数对硬件平台的第一参数进行配置,以使得硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
其中,操作系统的第二参数可以预先存储在存储器中;控制器可以基于硬件平台的第一参数对电子设备的操作系统的第二参数进行配置,或基于操作系统的第二参数对硬件平台的第一参数进行配置。
在本申请的一个实施例中,可以获得硬件平台的第一参数,基于硬件平台的第一参数对操作系统的第二参数进行配置,以使得硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在本申请的另一个实施例中,可以获得操作系统的第二参数,基于操作系统的第二参数对硬件平台的第一参数进行配置;以使得硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
其中,第一参数可以为第一应用程序的硬件参数或第一硬件的工作状 态。在另一实施例中,第二参数为进程管理参数或操作系统对CPU的频率管理参数。
进一步地,硬件参数包括能耗和温度参数;工作状态为电源的工作状态。在另一个实施例中,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。
本申请提供的电子设备,通过硬件管理和操作系统的软件参数之间的协同和联动,可以实现更好的省电效果,并且可以针对用户的使用场景和需求进行智能的调整。
在其中一个实施例中,控制器和存储器基于硬件平台的第一参数,进一步通过硬件平台或操作系统的执行器对操作系统的第二参数进行配置。
在本申请提供的一个实施例中,控制器和存储器进一步用于:基于硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与第一应用程序或第一硬件的状态信息相应的第一参数;确定与第一参数对应的第二参数,并根据对应的第二参数对操作系统当前的第二参数进行配置。
以下分为两种情况进行具体阐释:
第一种情况:基于硬件平台上运行的第一应用程序获得第一参数。
在一个实施例中,基于硬件平台上运行的第一应用程序,获得与第一应用程序相应的第一参数;第一参数例如可以为第一应用程序的硬件参数,具体地,可以为能耗和温度参数。基于第一参数获得第二参数,并对操作系统当前的第二参数进行配置。第二参数例如可以为操作系统对CPU的频率管理参数。
在一个具体实施例中,Intel DPTF(英特尔动态平台及热框架)侦测在硬件平台上运行的第一应用程序。第一应用程序例如可以为:视频播放器、游戏软件、网页浏览器或办公软件等。本申请的实施例中Intel DPTF只是侦测目前电子设备上所进行的应用程序,故本申请对第一应用程序不作具体限定。当侦测到第一应用程序后,调用与第一应用程序相对应的Intel SoC参数配置表,即每一个应用程序对应一个Intel SoC参数配置表,具体参考表1第一应用程序与Intel SoC参数配置表的对应关系。更具体的,Intel SoC参数配置表具体包括以下数据:pl1(CPU持续功耗的能力)、CPU本体温度的最大值、pl2(CPU瞬间功耗能力)和电子设备表面的温 度。也就是说,在侦测到第一应用程序后,调用Intel SoC参数配置表中的一组数值。其中,Intel SoC参数配置表可以有多个,例如,Intel SoC参数配置表(1)、Intel SoC参数配置表(2)、Intel SoC参数配置表(3)等等。在本实施例中,Intel SoC参数配置表中所包含的具体参数即为第一参数,即Intel SoC参数配置表中包含的一组数值,因此,也可将第一参数理解为Intel SoC参数配置表序号。通过调用与当前正在运行的第一应用程序相对应的Intel SoC参数配置表,以使得硬件管理层面能够实现较优的电源管理,即使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。
进一步地,当调用了与当前正在运行的第一应用程序相对应的Intel SoC参数配置表时,也即确定了是调用了第几序号参数配置表时(例如调用了第一序号Intel SoC参数配置表,即调用了Intel SoC参数配置表(1)),可以确定与Intel SoC参数配置表序号对应的第二参数。在本实施例中,第二参数例如为操作系统对CPU的频率管理参数,更具体的为EPP参数值,例如为操作系统控制的硬件平台的性能模式。例如,操作系统能够控制硬件平台达到三种不同的性能模式,分别为:最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。在本实施例中,三种不同的性能模式即为第二参数。在依据Intel SoC参数配置表序号选择了第二参数后,并对操作系统当前的第二参数进行配置。
第二种情况:基于硬件平台上运行的第一硬件的状态信息获得第一参数。
在一个实施例中,基于硬件平台上运行的第一硬件的状态信息,获得与第一硬件的状态信息相应的第一参数;第一参数例如可以为第一硬件的工作状态,具体的,可以为电源的工作状态。基于第一参数获得第二参数,并对操作系统当前的第二参数进行配置。第二参数例如可以为进程管理参数,进一步地,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。
在一个具体实施例中,Intel RTD3(英特尔实时切电技术)侦测在硬件平台上运行的第一硬件的状态信息,第一硬件例如可以为:WIFI模块、摄像头、触摸板、触摸屏、风扇或指纹识别模块等。本申请的实施例中Intel RTD3只是侦测目前电子设备上的第一硬件的状态信息,即侦测第一硬件 是否处于工作状态,故本申请对第一硬件不作具体限定。当侦测到第一硬件的工作状态后,Intel RTD3选择与第一硬件当前的工作状态相匹配的状态。当第一硬件处于工作状态时,Intel RTD3具有与第一硬件处于工作状态相应的状态1,记为Intel RTD3(1)。当第一硬件处于非工作状态时,Intel RTD3具有与第一硬件处于非工作状态相应的状态2,记为Intel RTD3(2),状态2具体表现为切断第一硬件的电源。具体参考表2第一硬件的工作状态与Intel RTD3状态的对应关系。也就是说,当Intel RTD3侦测到第一硬件的工作状态后,就调用了与第一硬件当前的工作状态相匹配的状态。在本实施例中,Intel RTD3的两种不同的状态即为第一参数。通过调用与第一硬件当前的工作状态相匹配的Intel RTD3的状态,以使得硬件管理层面能够实现较优的电源管理,即使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。
进一步地,当调用了与第一硬件当前的工作状态相匹配的Intel RTD3的状态时,也即确定了是调用了第几序号的Intel RTD3状态时(例如调用了第一序号的Intel RTD3状态,即调用了Intel RTD3(1)),可以确定与Intel RTD3状态的序号对应的第二参数。在本实施例中,第二参数例如为进程管理参数,更具体地为启动或关闭与第一硬件的工作状态相关的进程。在依据Intel RTD3状态的序号选择了第二参数后,并对操作系统当前的第二参数进行配置。
在一个具体实施例中,当第一硬件为WIFI模块时,Intel RTD3侦测WIFI模块的工作状态。当侦测到WIFI模块处于工作状态时,调用Intel RTD3(1),当侦测到WIFI模块处于非工作状态时,即侦测到WIFI模块处于空闲状态,调用Intel RTD3(2),即切断WIFI模块的电源,使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。当调用Intel RTD3(2)时,确定与Intel RTD3(2)对应的第二参数。在本实施例中,第二参数为在任务管理器中关闭依赖于WIFI模块进行工作的进程,例如,浏览网页、看视频或者玩游戏这些进程需要在WIFI环境中进行工作,而办公软件或本地已经加载的视频等无需在WIFI环境中进行工作,此时,将需要在WIFI环境中进行工作的进程关闭,以使得操作系统控制硬件平台完成功耗配置,使硬件平台在操作系统的控制下也同样达到省电模式。如 此,硬件平台通过自身的功耗配置和操作系统对其的功耗配置都达到了省电模式,即达到了硬件管理和操作系统的软件参数之间的协同和联动,从而实现更好的省电效果。
在另一个具体实施例中,当第一硬件为摄像头时,Intel RTD3侦测摄像头的工作状态。当侦测到摄像头处于工作状态时,调用Intel RTD3(1),当侦测到摄像头处于非工作状态时,调用Intel RTD3(2),即切断摄像头的电源,使硬件平台完成自身的功耗配置,以达到硬件平台的省电模式。当调用Intel RTD3(2)时,确定与Intel RTD3(2)对应的第二参数。在本实施例中,第二参数为在任务管理器中关闭有关摄像头的进程,此时,将有关摄像头的进程关闭,以使得操作系统控制硬件平台完成功耗配置,使硬件平台在操作系统的控制下也同样达到省电模式。如此,硬件平台通过自身的功耗配置和操作系统对其的功耗配置都达到了省电模式,即达到了硬件管理和操作系统的软件参数之间的协同和联动,从而实现更好的省电效果。
本领域技术人员应当理解,上述实施例所述的Intel RTD3存在两个状态,即Intel RTD3(1)和Intel RTD3(2),即针对某一具体第一硬件具有两个状态。也即,在指明Intel RTD3具有两个状态的时候,需要指明是针对哪一个第一硬件。比如,摄像头的工作状态对应具有Intel RTD3(1)和Intel RTD3(2)两个状态,WIFI模块的工作状态也对应具有Intel RTD3(1)和Intel RTD3(2)两个状态。
在本申请的一个实施例中,所述控制器和存储器进一步用于:基于第一参数与第二参数的对应关系,查得与第一参数对应的第二参数;以及指令硬件平台或操作系统的执行器根据对应的第二参数对操作系统当前的第二参数进行配置。
在本实施例中,预先设置第一参数与第二参数的对应表,在已经确定了第一参数的前提下,可以根据第一参数与第二参数的对应表查得第二参数。
例如,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,第一参数与第二参数的对应关系如表3所示,由表3可以看出,同一个性能模式可以对应几个不同的Intel SoC参数配置表序号。
又例如,当第一参数为Intel RTD3的状态,第二参数为任务管理器中进程信息时,任务管理器中的进程信息表示任务管理器中都包含有哪些进行,其也可以根据当前所包括的进程不同而分为任务管理器进程信息(1)和任务管理器进程信息(2)。此时,第一参数与第二参数的对应关系如表4所示。
在确定了第二参数后,指令硬件平台或操作系统的执行器对操作系统当前的第二参数进行配置。其中,执行器分为硬件执行器与软件执行器。
在其中一个实施例中,在上述的第一种情况下,指令硬件平台的执行器对操作系统当前的第二参数进行配置。具体地,指令硬件平台上运行Intel PPM package(英特尔处理器电源管理软件包)对操作系统中的power slider中的EPP参数值进行修改,也即修改成三种不同的性能模式,即分别为最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。
在另一个实施例中,在上述的第二种情况下,指令操作系统的执行器对操作系统当前的第二参数进行配置。具体地,指令操作系统下的power throttling(操作系统进程耗电抑制)将任务管理器中的不需要的进程关闭。具体地,当第一硬件为WIFI模块,且WIFI模块处于空闲状态时,则指令power throttling将依赖于WIFI模块进行工作的进程关闭;当第一硬件为摄像头,且摄像头处于非工作状态时,则指令power throttling将与摄像头有关的进程关闭。
在本申请的另一个实施例中,所述控制器和存储器进一步用于:获得第二参数;确定与第二参数对应的第一参数,并根据对应的第二参数对硬件平台当前的第一参数进行配置。
以下也同样分为两种情况进行阐释:
第三种情况:其为与第一种情况相对的反向过程。
在一个实施例中,首先获得操作系统的第二参数,第二参数例如可以为操作系统对CPU的频率管理参数。确定与第二参数对应的第一参数,并对硬件平台当前的第一参数进行配置。第一参数例如可以为第一应用程序的硬件参数,具体地,可以为能耗和温度参数。
在一个具体实施例中,首先获得操作系统的第二参数,在本实施例中, 第二参数例如为操作系统对CPU的频率管理参数,更具体的为EPP参数值,例如为操作系统控制的硬件平台的性能模式。例如,操作系统能够控制硬件平台达到三种不同的性能模式,分别为:最佳性能(Best performance)、最佳电池(Better battery)和高性能(Better performance)。在本实施例中,三种不同的性能模式即为第二参数。在获得第二参数后,依据上述表3反向查找第一参数,从而获得第一参数,在获得第一参数后,对硬件平台当前的第一参数进行配置。在本实施例中,首先将操作系统控制的硬件平台的参数调整为第二参数,即为目前用户所需要的第二参数,当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配,达到最优的省电模式。
第四种情况:其为与第二种情况相对的反向过程。
在本申请的一个实施例中,首先获得操作系统的第二参数,第二参数例如为进程管理参数,进一步地,进程管理参数为启动或关闭与第一硬件的工作状态相关的进程。确定与第二参数对应的第一参数,并根据对应的第一参数对硬件平台当前的第一参数进行配置。第一参数例如可以为第一硬件的工作状态,具体地,可以为电源的工作状态。
在一个具体实施例中,首先获得操作系统的第二参数,在本实施例中,第二参数例如为启动或关闭与第一硬件的工作状态相关的进程。在获得第二参数后,依据上述表4反向查找第一参数,从而获得第一参数。在获得第一参数后,对硬件平台当前的第一参数进行配置。在本实施例中,首先将操作系统控制的硬件平台的参数调整为第二参数,即为目前用户所需要的第二参数,当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配,达到最优的省电模式。
在一个具体实施例中,当侦测到任务管理器中没有依赖于WIFI模块进行工作的进程时(例如,浏览网页、看视频或者玩游戏这些进程需要在WIFI环境中进行工作,而办公软件或本地已经加载的视频等无需在WIFI环境中进行工作),即,侦测到任务管理器中没有需要在WIFI环境中进行的进程后,通过表4反向查找第一参数。在本实施例中,第一参数为Intel  RTD3的状态。当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在另一个具体实施例中,当侦测到任务管理器中没有与摄像头有关的进程时,通过表4反向查找第一参数,在本实施例中,第一参数为Intel RTD3的状态。当获得与第二参数对应的第一参数后,对硬件平台自身的第一参数进行配置,以使硬件平台自身的功耗配置与操作系统控制的硬件平台的功耗配置相匹配。
在另一个实施例中,所述控制器和存储器进一步用于:基于操作系统的第二参数,指令硬件平台的执行器读取第二参数。
具体地,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,指令硬件平台的执行器读取第二参数。即指令硬件平台上运行的Intel PPM package读取操作系统中的power slider中的EPP参数值。
在另一个实施例中,当第一参数为Intel RTD3的状态,第二参数为任务管理器中进程信息时,无需借助于硬件平台的执行器或操作系统的执行器,可以直接读取第二参数,也即读取任务管理器中进程信息。
在其他实施例中,所述控制器和存储器进一步用于:基于第一参数与第二参数的对应关系,查得与第二参数对应的第一参数;以及指令硬件平台根据对应的第一参数对当前的第一参数进行配置。
在一个具体实施例中,预先设置第一参数与第二参数的对应表,在已经确定了第二参数的前提下,可以根据第一参数与第二参数的对应表查得第一参数。
例如,当第一参数为Intel SoC参数配置表序号,第二参数为三种不同的性能模式时,第一参数与第二参数的对应关系如表3所示,由表3可以看出,同一个性能模式可以对应几个不同的Intel SoC参数配置表序号。
又例如,当第一参数为Intel RTD3的状态,第二参数为任务管理器中进程信息时(其中,任务管理器中的进程信息表示任务管理器中都包含有哪些进程,其也可以根据当前所包括的进程不同而分为任务管理器进程信息(1)和任务管理器进程信息(2)),第一参数与第二参数的对应关系如 表4所示。
在确定了第二参数后,指令硬件平台对当前的第一参数进行配置。
在其中一个实施例中,在上述的第三种情况下,指令Intel DPTF调用Intel SoC参数配置表,并使调用的Intel SoC参数配置表序号与当前所选用的性能模式相匹配。
在另一个实施例中,在上述的第四种情况下,指令Intel RTD3将第一硬件的工作状态调整到与任务管理器中的进程信息相匹配。具体地,当侦测到任务管理器中没有依赖于WIFI模块进行工作的进程时,则指令Intel RTD3将WIFI模块关闭;当侦测到任务管理器中没有与摄像头有关的进程时,则指令Intel RTD3将与摄像头关闭。
以上实施例仅为本申请的示例性实施例,不用于限制本申请,本申请的保护范围由权利要求书限定。本领域技术人员可以在本申请的实质和保护范围内,对本申请做出各种修改或等同替换,这种修改或等同替换也应视为落在本申请的保护范围内。

Claims (10)

  1. 一种信息处理方法,包括:
    获得硬件平台的第一参数或获得操作系统的第二参数;
    基于所述硬件平台的第一参数对所述操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置,以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。
  2. 根据权利要求1所述的信息处理方法,其中:
    所述获得硬件平台的第一参数包括:基于所述硬件平台上运行的第一应用程序或第一硬件的状态信息,获得与所述第一应用程序或第一硬件的状态信息相应的第一参数;
    所述基于所述硬件平台的第一参数对所述操作系统的第二参数进行配置包括:确定与所述第一参数对应的第二参数,并根据所述对应的第二参数对所述操作系统当前的第二参数进行配置。
  3. 根据权利要求2所述的信息处理方法,其中,所述确定与所述第一参数对应的第二参数,并对所述操作系统当前的第二参数进行配置包括:
    基于所述第一参数与所述第二参数的对应关系,查得与所述第一参数对应的第二参数;
    指令所述硬件平台或操作系统的执行器根据所述对应的第二参数对所述操作系统当前的第二参数进行配置。
  4. 根据权利要求1所述的信息处理方法,其中,所述基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置包括:
    获得所述第二参数;
    确定与所述第二参数对应的第一参数,并根据所述对应的第一参数对所述硬件平台当前的第一参数进行配置。
  5. 根据权利要求4所述的信息处理方法,其中,获得所述第二参数包括:基于所述操作系统的第二参数,指令所述硬件平台的执行器读取所述第二参数。
  6. 根据权利要求4所述的信息处理方法,其中,所述确定与所述第 二参数对应的第一参数,并对所述硬件平台当前的第一参数进行配置包括:
    基于所述第一参数与所述第二参数的对应关系,查得与所述第二参数对应的第一参数;以及
    指令所述硬件平台根据所述对应的第一参数对当前的第一参数进行配置。
  7. 根据权利要求1所述的信息处理方法,其中:
    所述第一参数为第一应用程序的硬件参数或第一硬件的工作状态,
    其中,所述硬件参数包括能耗和温度参数;所述工作状态为电源的工作状态。
  8. 根据权利要求1所述的信息处理方法,其中:
    所述第二参数为进程管理参数或操作系统对CPU的频率管理参数,
    其中,所述进程管理参数为启动或关闭与所述第一硬件的工作状态相关的进程。
  9. 一种电子设备,包括:
    硬件平台,其提供第一参数;
    控制器和存储器,基于所述硬件平台的第一参数对电子设备的操作系统的第二参数进行配置,或基于所述操作系统的第二参数对所述硬件平台的第一参数进行配置,以使得所述硬件平台自身的功耗配置与所述操作系统控制的所述硬件平台的功耗配置相匹配。
  10. 根据权利要求9所述的电子设备,其中,
    所述控制器和所述存储器:基于所述硬件平台的第一参数,进一步通过所述硬件平台或操作系统的执行器对所述操作系统的第二参数进行配置。
PCT/CN2019/108735 2018-09-30 2019-09-27 一种信息处理方法及电子设备 WO2020063916A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/280,429 US11994929B2 (en) 2018-09-30 2019-09-27 Information processing method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811162790.8 2018-09-30
CN201811162790.8A CN109298773A (zh) 2018-09-30 2018-09-30 一种信息处理方法及电子设备

Publications (1)

Publication Number Publication Date
WO2020063916A1 true WO2020063916A1 (zh) 2020-04-02

Family

ID=65161596

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/108735 WO2020063916A1 (zh) 2018-09-30 2019-09-27 一种信息处理方法及电子设备

Country Status (3)

Country Link
US (1) US11994929B2 (zh)
CN (1) CN109298773A (zh)
WO (1) WO2020063916A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298773A (zh) 2018-09-30 2019-02-01 联想(北京)有限公司 一种信息处理方法及电子设备
CN114647294A (zh) * 2020-12-19 2022-06-21 Oppo广东移动通信有限公司 功耗调节方法和装置、电子设备、可读存储介质
CN114911537A (zh) * 2022-05-10 2022-08-16 声呐天空资讯顾问有限公司 参数配置方法及系统、存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215253A1 (en) * 2013-01-29 2014-07-31 Qnx Software Systems Limited Methods for monitoring and adjusting performance of a mobile computing device
CN104731304A (zh) * 2015-03-20 2015-06-24 广东欧珀移动通信有限公司 一种终端中cpu调频模式的调整方法及装置
CN105116991A (zh) * 2015-08-26 2015-12-02 广东欧珀移动通信有限公司 一种终端省电方法和装置
CN106249842A (zh) * 2016-07-20 2016-12-21 乐视控股(北京)有限公司 终端设备调节方法和装置
CN108052196A (zh) * 2017-12-29 2018-05-18 北京元心科技有限公司 功耗控制方法、装置及终端设备
CN109298773A (zh) * 2018-09-30 2019-02-01 联想(北京)有限公司 一种信息处理方法及电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165894A1 (en) * 2000-07-28 2002-11-07 Mehdi Kashani Information processing apparatus and method
US20100235834A1 (en) * 2009-03-16 2010-09-16 Faasse Scott P Providing a management communication channel between a software layer and platform layer for hardware management control
US8458499B2 (en) * 2009-08-07 2013-06-04 International Business Machines Corporation Method for reducing power state in a computer system out-of-band when a request for reducing the power state is not immediately serviceable in band according to a priority of the request
US20120054752A1 (en) * 2010-08-27 2012-03-01 Htc Corporation Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN102156535A (zh) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 一种硬件节能的处理方法及装置
CN103105920A (zh) * 2011-11-14 2013-05-15 宏碁股份有限公司 节能系统以及节能方法
US9223383B2 (en) * 2012-12-21 2015-12-29 Advanced Micro Devices, Inc. Guardband reduction for multi-core data processor
US9348401B2 (en) * 2013-06-25 2016-05-24 Intel Corporation Mapping a performance request to an operating frequency in a processor
CN105528203B (zh) * 2014-10-23 2019-04-12 深圳富泰宏精密工业有限公司 Cpu使用控制系统及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140215253A1 (en) * 2013-01-29 2014-07-31 Qnx Software Systems Limited Methods for monitoring and adjusting performance of a mobile computing device
CN104731304A (zh) * 2015-03-20 2015-06-24 广东欧珀移动通信有限公司 一种终端中cpu调频模式的调整方法及装置
CN105116991A (zh) * 2015-08-26 2015-12-02 广东欧珀移动通信有限公司 一种终端省电方法和装置
CN106249842A (zh) * 2016-07-20 2016-12-21 乐视控股(北京)有限公司 终端设备调节方法和装置
CN108052196A (zh) * 2017-12-29 2018-05-18 北京元心科技有限公司 功耗控制方法、装置及终端设备
CN109298773A (zh) * 2018-09-30 2019-02-01 联想(北京)有限公司 一种信息处理方法及电子设备

Also Published As

Publication number Publication date
US20210341987A1 (en) 2021-11-04
US11994929B2 (en) 2024-05-28
CN109298773A (zh) 2019-02-01

Similar Documents

Publication Publication Date Title
WO2020063916A1 (zh) 一种信息处理方法及电子设备
US9509293B2 (en) Method and apparatus for controlling chip performance
CN108780349B (zh) 用于在具有异构集群架构的片上系统中进行智能热管理的系统和方法
US7591433B2 (en) Method for controlling fan speed
TWI238969B (en) Method of URL-based power management and associated web browsing device
JP2017033116A (ja) 複数の使用モードを備える電子機器、制御方法およびコンピュータ・プログラム
TW200532429A (en) Computer system power policy adjustment in response to an affirmative indication from a user
US10064141B2 (en) Core frequency/count decision-based thermal mitigation optimization for a multi-core integrated circuit
US20070180282A1 (en) Power-saving control apparatus and method for a portable computer
JP5743366B2 (ja) ポータブルコンピューティングデバイスにおける熱エネルギー生成を低減するための方法およびシステム
TW201310221A (zh) 電源管理系統及方法
CN104182016A (zh) 一种温度调节方法及电子设备
US20110264929A1 (en) Processor performance state optimization
US9477255B2 (en) Systems and methods for suspending idle devices based on idle policies for the devices
CN111142640B (zh) 一种电子设备的控制方法
CN107395797A (zh) 一种移动终端及其控制方法和可读存储介质
US20100281276A1 (en) Computer system with power source control and power source control method
US20140351612A1 (en) Information processing method and electronic device
US11113074B2 (en) System and method for modem-directed application processor boot flow
CN109600977B (zh) 一种散热控制方法及电子设备
JP2002196841A (ja) パーソナルコンピュータ
US8713337B2 (en) Power management method for reducing power of host when turning off main monitor and computer system applying the same
TWI313806B (en) Virtual sleep method
JP2004164530A (ja) ポータブルコンピュータのオペレーションシステムによる電池状態読み取り方法
WO2020001065A1 (zh) 一种bios中更改系统能效模式的方法、系统及服务器

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: 19867593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 01/07/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19867593

Country of ref document: EP

Kind code of ref document: A1