WO2017206915A1 - Procédé de détermination de configuration d'exécution de noyau dans un processeur et produit associé - Google Patents
Procédé de détermination de configuration d'exécution de noyau dans un processeur et produit associé Download PDFInfo
- Publication number
- WO2017206915A1 WO2017206915A1 PCT/CN2017/086655 CN2017086655W WO2017206915A1 WO 2017206915 A1 WO2017206915 A1 WO 2017206915A1 CN 2017086655 W CN2017086655 W CN 2017086655W WO 2017206915 A1 WO2017206915 A1 WO 2017206915A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- processor
- frequency
- running
- action
- category
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/545—Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
Definitions
- the present invention relates to the field of terminals, and in particular, to a method for determining a kernel running configuration in a processor and related products.
- multi-core technology has become an important direction for the development of today's processors.
- the multi-core processor technology can greatly improve the performance of the system by maintaining the same frequency by means of mutual assistance of multiple processing cores.
- an embodiment of the present invention provides a method for determining a running configuration of a kernel in a processor, including: acquiring an operation action of a current user; and identifying a category of an operation action of the current user according to an operation action of the current user;
- the operational configuration of the kernel in the processor is determined based at least on the category of operational actions of the current user, wherein the operational configuration includes the number of runs of the kernel in the processor and/or the frequency of the kernel running in the processor.
- an embodiment of the present invention provides a device for determining a kernel running configuration in a processor, where the device includes a user operation action sensing module, a user operation action recognition module, and a resource configuration module, where the user operates the action sensing module. Determining a duration of the current user's operation action according to the current user's operation action; the user operation action recognition module is configured to identify a category of the current user's operation action according to the current user's operation action; The resource configuration module is configured to determine an operational configuration of a kernel in the processor according to at least a category of an operation action of the current user, where the operational configuration includes a running quantity of a kernel in the processor and/or a kernel running in the processor. frequency.
- an embodiment of the present invention provides an electronic device, including a central processing unit and a memory, where the central processing unit is configured to:
- the operational configuration of the kernel in the processor is determined based at least on the category of operational actions of the current user, wherein the operational configuration includes the number of runs of the kernel in the processor and/or the frequency of the kernel running in the processor.
- an embodiment of the present invention provides a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program is executed to implement any one of the first aspects.
- an embodiment of the present invention provides a program product, wherein the method of any one of the first aspects is implemented in a case where the computer program is executed.
- the embodiments of the present invention it is possible to first identify the category of the user's operation action, and then determine, according to the category of the current user's operation action, the number of cores running in the processor and/or the frequency of the kernel running in the processor.
- the running configuration realizes matching the running configuration according to the categories of different operation actions, avoids the phenomenon that the processing power of the processor is insufficient, and causes the phenomenon that the processor is in an "idle" state. Unnecessary power wastage.
- FIG. 1 is a flowchart of a method for determining a kernel running configuration in a processor according to an embodiment of the present invention
- FIG. 2 is a flowchart of a method for determining a kernel running configuration in another processor according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for determining a kernel running configuration in a processor according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a determining apparatus for a kernel running configuration in a processor according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the processor mentioned in the embodiment of the present invention may be one or more of a central processing unit (CPU), a graphics processing unit (GPU), and a micro controller unit (MCU). Combination of species.
- the processor in this embodiment may be a Symmetrical Multi-Processing (SMP) or an Asymmetric Multi-Processing (AMP).
- the terminal mentioned in the embodiment of the present invention may be a smart phone, a tablet personal computer, a vehicle terminal, a computer, or the like.
- FIG. 1 is a schematic diagram of a kernel running configuration in a processor according to an embodiment of the present invention.
- the embodiments of the present invention are described from the perspective of a terminal.
- the determining method of the kernel running configuration in the processor of this embodiment includes:
- Step 110 Acquire an operation action of the current user, and determine a duration of the current user action action according to an operation action of the current user.
- the user's operation action refers to the user's operation on the terminal, for example, may be a sliding operation on the touch screen, a switching operation on the interface, an input and output operation on the terminal, a startup operation on the application, an installation operation on the application, and the like. .
- the terminal After obtaining the operation action of the current user, the terminal determines whether the operation action of the user is an open loop action or a closed loop action.
- the open loop operation is an operation that cannot directly determine the start time and the end time of the user operation
- the closed loop operation is an operation that can directly determine the start time and the end time of the user operation.
- the category of the user's operation action can be defined in advance as needed.
- the category of the user's operation action can be defined according to the load condition of the application scenario. If the user performs a sliding operation on the touch screen, the category of the operation actions of the users may be defined as a sliding operation; when the user performs a switching operation on the interface, the category of the operation actions of the users may be considered as a switching interface operation.
- the categories of the operation actions of the users may be considered as the input and output operations; when the user performs the startup operation on the application, the categories of the operation actions of the users may be considered.
- the category of the operation actions of these users can be considered as the application installation operation. It can be understood that the definition method of the category of the user's operation action may be various, and may be defined as needed. The definition method of the category of the operation action of the user is only an example, not a limitation.
- the running configuration includes the number of running cores in the processor and/or the frequency of the kernel running in the processor.
- the terminal determines the running configuration of the kernel in the processor for at least the duration according to the category of the current user's operation action. For ease of presentation, the following are all configured to run as the number of cores in the processor. And/or the frequency of the kernel running in the processor is stated. When it is determined that the category of the current user's operation action is a category of a lightly loaded operation action, it is necessary to ensure that the number of cores running in the determined processor and/or the frequency of the kernel running in the processor can reduce the overall processing of the processor.
- the category of the current user's operational actions when determining the category of the current user's operational actions as a category of heavy-duty operational actions, it is necessary to ensure that the number of cores running in the determined processor and/or the frequency of the kernel running in the processor can improve the processor's Overall processing capacity. Specifically, when it is determined that the category of the current user's operation action is a category of a lightly loaded operation action, the number of cores running in the processor may be determined to be a smaller number, and the frequency of the kernel running in the processor remains unchanged.
- the number of cores running in the processor can be determined to remain unchanged, and the frequency of the kernel running in the processor is determined to be a lower frequency; or the number of cores running in the processor can be determined to be a slightly larger
- the number, and the frequency of the kernel running in the processor is determined to be a very low frequency, or the number of cores running in the processor can be determined to be a very small number, and the frequency of the kernel running in the processor is determined to be one. A slightly higher frequency. All in all, you only need to ensure that the overall processing power of the processor is reduced.
- the number of cores running in the processor can be determined to be a larger number, and the frequency of the kernel running in the processor remains unchanged. Or, the number of cores running in the processor can be determined to remain unchanged, and the frequency of the kernel running in the processor is determined to be a higher frequency; or, the number of cores running in the processor can be determined to be a slightly smaller Quantity, and the frequency of the kernel running in the processor is determined to be a very high frequency; or, the number of cores running in the processor can be determined to be a very large number, and the frequency of the kernel running in the processor is determined to be a slight Low frequency. All in all, you only need to ensure that the overall processing power of the processor is improved.
- the categories of the user's operation actions include a sliding operation, a switching interface operation, an input/output operation, an application startup operation, and an application installation operation, as an example of how to determine the operation in the processor according to the category of the user's operation action.
- the number of cores and the frequency of the kernel running in the processor are described.
- the category of the current user's operation action is a sliding operation, it is determined that the number of cores running in the processor is the first number and/or the frequency of the kernel running in the processor is the first frequency; the category of the current user's operation action is the switching interface.
- the number of cores running in the processor is the second number and/or the frequency of the kernel running in the processor is the second frequency; when the category of the current user's operation action is an input/output operation, determining the operation in the processor
- the number of cores is the third number and/or the frequency of the kernel running in the processor is the third frequency; the current user's action action category is the application start operation, indeed The number of cores running in the fixed processor is the fourth number and/or the frequency of the kernel running in the processor is the fourth frequency; when the category of the current user action action is an application installation operation, it is determined that the number of cores running in the processor is The fifth number and/or the frequency of the core running in the processor is the fifth frequency; wherein, the first number ⁇ the second number ⁇ the third number ⁇ the fourth number ⁇ the fifth number, the first frequency ⁇ the second frequency ⁇ Three frequencies ⁇ fourth frequency ⁇ fifth frequency.
- the category of the user's operation actions includes a sliding operation, a switching interface operation, an input and output operation, an application startup operation, and an application installation operation as an example of how to determine the processor according to the category of the user's operation action.
- the number of running cores and the frequency of the kernel running in the processor are described.
- the category of the current user's operation action is a sliding operation, it is determined that the number of cores running in the processor is the first number and the maximum frequency of the kernel running in the processor is the first maximum frequency, and the minimum frequency is the first minimum frequency;
- the current user The operation action category is the switching interface operation, determining that the number of cores running in the processor is the second number and the maximum frequency of the kernel running in the processor is the second maximum frequency, and the minimum frequency is the second minimum frequency; the current user's
- the operation action is in the input/output operation, it is determined that the number of cores running in the processor is the third number and the maximum frequency of the kernel running in the processor is the third maximum frequency, and the minimum frequency is the third minimum frequency;
- the current user operation The action type is the application start operation, determining that the number of cores running in the processor is the fourth number and the maximum frequency of the kernel running in the processor is the fourth maximum frequency, and the minimum frequency is the fourth minimum frequency; the current user's operation action When the category is an application installation operation
- the number of cores running in the processor and the frequency of the core running in the processor can be maintained or re-adjusted to the number and frequency of normal conditions.
- the processor when the processor is an asymmetric multi-core processor, the processor includes a large core and a small core, so in determining the number of cores running in the processor, in addition to determining the total number of cores in the processor that need to be run. In addition to the number, you also need to determine the number of large cores that need to run in the processor and the number of small cores that need to run in the processor.
- the running configuration of the kernel in the processor is only determined according to the category of the current user's operation action.
- the running configuration of the kernel in the processor may also be based on the current application scenario of the user. At least one of the status information of the terminal is determined. For details, please refer to FIG. 2, FIG. 3 and the description of related embodiments.
- FIG. 2 is a flowchart of a method for determining a kernel running configuration in another processor according to an embodiment of the present invention.
- the embodiments of the present invention are described from the perspective of a terminal.
- the determining method of the kernel running configuration in the processor of this embodiment includes:
- the steps 210 and 220 of the embodiment are the same as the steps 110 and 120 in the embodiment shown in FIG. 1 .
- steps 110 and 120 in the implementation shown in FIG. 1 , and details are not described herein.
- the application scenario refers to the state of the running application of the terminal.
- the application scenario of the terminal is also different.
- the identification identifier of the application scenario may be a name of a process created by the processor for the application corresponding to the application scenario and an identifier of the process.
- the category of the application scenario can be defined in advance according to requirements.
- the category of the application scenario can be defined according to the load condition of the application scenario.
- the application scenario of the application scenario can be defined as if the terminal does not run any application, or if the terminal runs some application scenarios of a very small application (such as an applet such as a calendar).
- Ordinary scenes when the terminal is running a music program, such as an application scene of kugoo, QQ music, etc., the category of the application scenes may be considered as a music scene, and when the terminal is running a photographing program, such as a smart camera or a Mito camera, etc.
- the category of these application scenarios can be considered as lightweight.
- Level game scene when the terminal runs a heavyweight game scene, such as the application scene of Warcraft and other games, the categories of these application scenarios can be considered For heavyweight game scenes and more.
- the definition method of the category of the current application scenario may be multiple, and may be defined as needed.
- the definition method of the category of the application scenario is only an example, not a limitation.
- the terminal acquires the name of the process created by the processor for the currently running application and the identifier of the process, and uses the obtained process name and process number as the identification identifier of the current application scenario to identify the current application. Scenes.
- the terminal also establishes a scenario database in advance, and the scenario database stores a mapping relationship between the identification identifier of the application scenario and the category of the application scenario.
- the terminal queries the scenario database according to the obtained identification identifier of the current application scenario, so as to determine the category of the current application scenario.
- the running configuration of the kernel in the processor is determined according to the category of the current user's operation action, and is determined according to the category of the current application scenario.
- the type of the operation action of the current user refer to step 130 in the embodiment shown in FIG. 1 , and details are not described herein again.
- the following statements are made in terms of running the configuration as the number of runs of the cores in the processor and/or the frequency of the cores running in the processor. Under the premise that the category of the user's operation action is unchanged, the larger the load corresponding to the category of the current application scenario, the more the number of cores running in the determined processor and/or the higher the frequency of the kernel running in the processor. .
- the categories of the application scene include a common scene, a music scene, a photographing scene, a lightweight game scene, and a heavyweight game scene as an example.
- the current application scenario is a common scenario, it is determined that the number of cores running in the processor is the minimum and/or the frequency of the kernel running in the processor is the lowest; when the category of the current application scenario is a music scenario, determining that the processor is running The number of cores is second and/or the frequency of the kernel running in the processor is the second lowest; when the category of the current application scenario is a photographing scenario, it is determined that the number of cores running in the processor is centered and/or the kernel running in the processor The frequency is centered; when the current application scenario is a lightweight game scenario, it is determined that the number of cores running in the processor is the second most and/or the frequency of the kernel running in the processor is the second highest; the current application scenario is of the weight In a game scenario, determine the maximum number of cores running in the processor and/or the frequency of the processor
- FIG. 3 is a flowchart of still another method for determining a kernel running configuration in a processor according to an embodiment of the present invention.
- the embodiments of the present invention are described from the perspective of a terminal.
- the determining method of the kernel running configuration in the processor of this embodiment includes:
- 320 Identify a category of an operation action of the current user according to an operation action of the current user.
- the steps 310 and 320 of the embodiment are the same as the steps 110 and 120 in the embodiment shown in FIG. 1 .
- steps 110 and 120 are the same as the steps 110 and 120 in the embodiment shown in FIG. 1 .
- steps 110 and 120 are the same as the steps 110 and 120 in the embodiment shown in FIG. 1 .
- the status information of the terminal includes at least one of whether the terminal is bright, the temperature of the terminal, and whether the terminal is charging or the like. It can be understood that the load of the processor when the terminal is bright is greater than the load of the processor when the terminal is off, and the load of the processor when the terminal is charged is greater than the load of the processor when the terminal is not charging. When the terminal temperature is high, the processor needs to reduce the number of cores running in the processor and the operating frequency of the processor to prevent the processor from being burned due to excessive temperature.
- the running configuration of the kernel running in the processor is determined according to the category of the current user's operation action, and is determined according to the state of the terminal.
- the type of the operation action of the current user refer to step 130 in the embodiment shown in FIG. 1 , and details are not described herein again.
- the following statements are made in terms of running the configuration as the number of runs of the cores in the processor and/or the frequency of the cores running in the processor. Under the premise that the category of the user's operation action is unchanged, the greater the load corresponding to the state information of the terminal, the more the number of cores running in the determined processor and/or the higher the frequency of the kernel running in the processor.
- the load corresponding to the bright state of the terminal is large, so the number of cores running in the processor determined when the terminal is in the bright screen state is greater than the number of cores running in the processor determined when the terminal is in the blanking state, and/or The core frequency running in the processor determined when the terminal is in the bright screen state is higher than the frequency of the kernel running in the processor determined when the terminal is in the blanking state.
- the higher the temperature of the terminal the smaller the number of cores running in the determined processor.
- FIG. 4 is a schematic structural diagram of a device for determining a kernel running configuration in a processor according to an embodiment of the present invention.
- the determining device of the kernel running configuration in the processor of the embodiment includes: a user operating action sensing module 410, a user operating action identifying module 420, and a resource configuration module 430.
- the user operation action sensing module 410 is configured to determine a duration of the current user action action according to the current user action action;
- the user operation action recognition module 420 is configured to identify a category of the current user action action according to the current user action action;
- the resource configuration module 430 is configured to determine an operational configuration of a kernel in the processor according to at least a category of an operation action of the current user, where the operational configuration includes a running number of cores in the processor and/or a kernel running in the processor frequency.
- the determining device of the kernel running configuration in the processor shown in FIG. 4 may further include an application scenario sensing module 440 and a terminal state sensing module 450.
- the user operation action sensing module 410 is further configured to determine a duration of the current user action action according to the current user action action;
- the resource configuration module 430 is configured to determine the running configuration of the kernel in the processor during the duration according to at least the category of the current user's operational actions.
- the application scenario awareness module 440 is configured to identify a current application scenario
- the resource configuration module 430 is configured to determine an operational configuration of a kernel in the processor according to at least a category of the current user's operation action and a category of the current application scenario.
- the terminal state awareness module 450 is configured to acquire state information of the terminal.
- the resource configuration module 430 is configured to determine an operational configuration of a kernel in the processor according to at least a category of an operation action of the current user and status information of the terminal.
- the status information of the terminal includes at least one of whether the terminal is bright, the temperature of the terminal, and whether the terminal is charging.
- the category of the user's operation actions is any one of a sliding operation, a switching interface operation, an input and output operation, an application startup operation, and an application installation operation.
- the category of the operation action of the resource configuration module 430 for the current user is a sliding operation. In doing so, determining that the number of cores running in the processor is the first number and/or the frequency of the kernel running in the processor is the first frequency;
- the resource configuration module 430 when the resource configuration module 430 is configured to use the sliding operation of the current user, determine that the number of cores running in the processor is the first number and the maximum frequency of the kernel running in the processor is the first maximum. Frequency, the minimum frequency is the first minimum frequency;
- the current user operation action category is a switching interface operation, determining that the number of cores running in the processor is the second number and the maximum frequency of the kernel running in the processor is the second maximum frequency, and the minimum frequency is the second minimum frequency ;
- the category of the current user's operation action is an input/output operation
- the number of cores running in the processor is the third number and the maximum frequency of the kernel running in the processor is the third maximum frequency, and the minimum frequency is the third minimum frequency.
- the category of the current user action action is an application start operation, determining that the number of cores running in the processor is the fourth number and the maximum frequency of the kernel running in the processor is the fourth maximum frequency, and the minimum frequency is the fourth minimum frequency. ;
- the number of cores includes a large number of cores and a small number of cores.
- FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
- the terminal of this embodiment includes: an RF (Radio Frequency) circuit 510, a memory 520 including one or more computer readable storage media, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, and a WiFi (wireless) A fidelity module 570, a processor 580 including one or more processing cores, and a power supply 590 and the like.
- RF Radio Frequency
- the RF circuit 510 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving downlink information of the base station, and processing it by one or more processors 580; in addition, transmitting data related to the uplink to the base station.
- the RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
- SIM Subscriber Identity Module
- RF circuitry 510 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- e-mail Short Messaging Service
- the memory 520 can be used to store software programs and modules, and the processor 580 executes various functional applications and data processing by running software programs and modules stored in the memory 520.
- the memory 520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the terminal (such as audio data, phone book, etc.).
- memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the memory 520 may further include a memory controller to provide the processor 580 and the input unit 530 for storing Access to the storage 520.
- Input unit 530 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
- input unit 530 can include touch-sensitive surface 531 as well as other input devices 532.
- a touch-sensitive surface 531 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., any suitable object or accessory on the touch-sensitive surface 531 or The operation near the touch-sensitive surface 531) and driving the corresponding connecting device according to a preset program.
- the touch-sensitive surface 531 can include two portions of a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 580 is provided and can receive commands from the processor 580 and execute them.
- the touch sensitive surface 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the input unit 530 can also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- Display unit 540 can be used to display information entered by the user or information provided to the user, as well as various graphical user interfaces of the terminal, which can be composed of graphics, text, icons, video, and any combination thereof.
- the display unit 540 can include a display panel 541.
- the display panel 541 can be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
- the touch-sensitive surface 531 can cover the display panel 541, and when the touch-sensitive surface 531 detects a touch operation thereon or nearby, it is transmitted to the processor 580 to determine the type of the touch event, and then the processor 580 according to the touch event The type provides a corresponding visual output on display panel 541.
- touch-sensitive surface 531 and display panel 541 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 531 can be integrated with display panel 541 for input. And output function.
- the terminal may also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor may close the display panel 541 and/or when the terminal moves to the ear. Or backlight.
- the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes), and can be checked at rest.
- Measure the magnitude and direction of gravity which can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal can also be configured
- Other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., will not be described here.
- Audio circuit 560, speaker 561, and microphone 562 can provide an audio interface between the user and the terminal.
- the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
- the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, transmitted to the terminal, for example, via the RF circuit 510, or outputted to the memory 520 for further processing.
- the audio circuit 560 may also include an earbud jack to provide communication between the peripheral earphone and the terminal.
- WiFi is a short-range wireless transmission technology.
- the terminal can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 570. It provides wireless broadband Internet access for users.
- FIG. 5 shows the WiFi module 570, it can be understood that it does not belong to the necessary configuration of the terminal, and may be omitted as needed within the scope of not changing the essence of the invention.
- Processor 580 is the control center of the terminal, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in memory 520, and invoking data stored in memory 520, The various functions of the terminal and processing data to monitor the mobile phone as a whole.
- the processor 580 may include one or more processing cores; preferably, the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
- the terminal also includes a power source 590 (such as a battery) that supplies power to the various components.
- a power source 590 (such as a battery) that supplies power to the various components.
- the power source can be logically coupled to the processor 580 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
- Power supply 590 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the terminal may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
- the display unit of the terminal is a touch screen display
- the terminal further includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and Configuring to execute one or more programs by one or more processors includes instructions for performing the following operations:
- the operational configuration of the kernel in the processor is determined based at least on the category of operational actions of the current user, wherein the operational configuration includes the number of runs of the kernel in the processor and/or the frequency of the kernel running in the processor.
- determining a duration of the current user's operation action according to the current user's operation action determining, according to at least the category of the current user's operation action, the kernel of the processor in the duration Run the configuration.
- identifying a current application scenario determining an operational configuration of a kernel in the processor according to at least a category of the current user's operation action and a category of the current application scenario.
- acquiring state information of the terminal determining, according to at least the category of the operation action of the current user and the state information of the terminal, an operation configuration of a kernel in the processor.
- the status information of the terminal includes at least one of whether the terminal is bright, the temperature of the terminal, and whether the terminal is charging.
- the category of the user's operation actions is any one of a sliding operation, a switching interface operation, an input and output operation, an application startup operation, and an application installation operation.
- the category of the current user action action is a sliding operation, determining that the number of cores running in the processor is the first number and the maximum frequency of the kernel running in the processor is the first maximum frequency, and the minimum frequency is a minimum frequency;
- the current user operation action category is a switching interface operation, determining that the number of cores running in the processor is the second number and the maximum frequency of the kernel running in the processor is the second maximum frequency, and the minimum frequency is the second minimum frequency ;
- the category of the current user's operation action is an input/output operation
- the number of cores running in the processor is the third number and the maximum frequency of the kernel running in the processor is the third maximum frequency, and the minimum frequency is the third minimum frequency.
- the category of the current user action action is an application start operation, determining that the number of cores running in the processor is the fourth number and the maximum frequency of the kernel running in the processor is the fourth maximum frequency, and the minimum frequency is the fourth minimum frequency. ;
- the number of cores includes a large number of cores and a small number of cores.
- the embodiments of the present invention it is possible to first identify the category of the user's operation action, and then determine, according to the category of the current user's operation action, the number of cores running in the processor and/or the frequency of the kernel running in the processor.
- the running configuration realizes matching the running configuration according to the categories of different operation actions, avoids the phenomenon that the processing power of the processor is insufficient, and causes the phenomenon that the processor is in an "idle" state. Unnecessary power wastage.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- User Interface Of Digital Computer (AREA)
- Power Sources (AREA)
Abstract
L'invention concerne un procédé de détermination de configuration d'exécution de noyau dans un processeur et un produit associé. Le procédé consiste : à obtenir une action d'exploitation d'un utilisateur actuel ; à identifier le type d'action d'exploitation de l'utilisateur actuel selon l'action d'exploitation de l'utilisateur actuel (120) ; et à déterminer le nombre de noyaux exécutés dans un processeur et/ou la fréquence de chaque noyau exécuté dans le processeur en fonction du type d'action d'exploitation de l'utilisateur actuel. Le procédé évite les saccades et autres phénomènes provoqués par une capacité inadéquate de traitement d'un processeur, et évite également un gaspillage inutile de puissance causé par le fait que certains noyaux du processeur se trouvent à un état inactif.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610380705.XA CN106020844A (zh) | 2016-05-31 | 2016-05-31 | 处理器中内核运行配置的确定方法以及装置 |
CN201610380705.X | 2016-05-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017206915A1 true WO2017206915A1 (fr) | 2017-12-07 |
Family
ID=57093184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/086655 WO2017206915A1 (fr) | 2016-05-31 | 2017-05-31 | Procédé de détermination de configuration d'exécution de noyau dans un processeur et produit associé |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106020844A (fr) |
WO (1) | WO2017206915A1 (fr) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020844A (zh) * | 2016-05-31 | 2016-10-12 | 广东欧珀移动通信有限公司 | 处理器中内核运行配置的确定方法以及装置 |
CN107968874A (zh) * | 2016-10-19 | 2018-04-27 | 中兴通讯股份有限公司 | 屏幕控制方法、装置及终端 |
CN106919400A (zh) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | 一种移动终端的显示场景识别方法、装置及移动终端 |
CN107861603A (zh) * | 2017-10-31 | 2018-03-30 | 广东欧珀移动通信有限公司 | 功耗控制方法及设备 |
CN107908423B (zh) * | 2017-11-20 | 2021-09-21 | 深圳市沃特沃德股份有限公司 | 车载***的配置方法和装置 |
CN108200635B (zh) * | 2017-11-29 | 2019-12-10 | 维沃移动通信有限公司 | 一种应用程序的运行控制方法及移动终端 |
CN111338789B (zh) * | 2020-02-07 | 2024-02-13 | 北京小米移动软件有限公司 | 资源调配方法和装置、电子设备以及计算机可读存储介质 |
CN112068690B (zh) * | 2020-09-04 | 2022-09-20 | 龙芯中科技术股份有限公司 | 处理器调频方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050091671A1 (en) * | 2003-10-24 | 2005-04-28 | Microsoft Corporation | Programming interface for a computer platform |
CN102866921A (zh) * | 2012-08-29 | 2013-01-09 | 惠州Tcl移动通信有限公司 | 一种多核cpu的调控方法及*** |
CN103838600A (zh) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | 用于基于操作状态控制驱动条件的方法和电子设备 |
CN104363988A (zh) * | 2014-07-14 | 2015-02-18 | 华为技术有限公司 | 一种多核处理器的管理方法及装置 |
CN105045369A (zh) * | 2015-06-19 | 2015-11-11 | 北京大学深圳研究生院 | 一种基于用户交互历史信息的cpu动态调频方法 |
CN106020844A (zh) * | 2016-05-31 | 2016-10-12 | 广东欧珀移动通信有限公司 | 处理器中内核运行配置的确定方法以及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5812767A (en) * | 1995-07-28 | 1998-09-22 | International Business Machines Corporation | System for user registering an address resolution routine to provide address resolution procedure which is used by data link provider interface for resolving address conflicts |
CN101799772B (zh) * | 2010-02-26 | 2014-06-11 | 上海华为技术有限公司 | 内核调度方法、内核备份方法和多核处理器 |
CN103617088B (zh) * | 2013-11-29 | 2018-07-24 | 深圳中微电科技有限公司 | 在不同类型线程中分配内核资源的方法、装置及其处理器 |
-
2016
- 2016-05-31 CN CN201610380705.XA patent/CN106020844A/zh active Pending
-
2017
- 2017-05-31 WO PCT/CN2017/086655 patent/WO2017206915A1/fr active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050091671A1 (en) * | 2003-10-24 | 2005-04-28 | Microsoft Corporation | Programming interface for a computer platform |
CN102866921A (zh) * | 2012-08-29 | 2013-01-09 | 惠州Tcl移动通信有限公司 | 一种多核cpu的调控方法及*** |
CN103838600A (zh) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | 用于基于操作状态控制驱动条件的方法和电子设备 |
CN104363988A (zh) * | 2014-07-14 | 2015-02-18 | 华为技术有限公司 | 一种多核处理器的管理方法及装置 |
CN105045369A (zh) * | 2015-06-19 | 2015-11-11 | 北京大学深圳研究生院 | 一种基于用户交互历史信息的cpu动态调频方法 |
CN106020844A (zh) * | 2016-05-31 | 2016-10-12 | 广东欧珀移动通信有限公司 | 处理器中内核运行配置的确定方法以及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106020844A (zh) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017206916A1 (fr) | Procédé de détermination d'une configuration d'exécution de noyau dans un processeur et produit correspondant | |
JP6467526B2 (ja) | 通信メッセージ送信方法及びウェアラブル・デバイス | |
WO2017206915A1 (fr) | Procédé de détermination de configuration d'exécution de noyau dans un processeur et produit associé | |
WO2018103525A1 (fr) | Procédé et dispositif de suivi de point clé facial, et support de stockage | |
WO2017008569A1 (fr) | Terminal, appareil et procédé de mise à jour de messages | |
TWI520043B (zh) | 消息查看方法、裝置和移動終端 | |
JP6492184B2 (ja) | 情報の推薦を管理するための方法、デバイス、およびシステム | |
US20170097725A1 (en) | Device and method for starting mobile terminal application and mobile terminal | |
WO2018040813A1 (fr) | Procédé de communication audiovisuelle, terminal, serveur et support d'informations | |
WO2017206918A1 (fr) | Procédé d'accélération du réveil d'un terminal et produit associé | |
TW201515682A (zh) | 一種數據獲取的方法及終端 | |
US20150043312A1 (en) | Sound playing method and device thereof | |
TW201541337A (zh) | 移動終端中訊息的顯示方法、裝置和系統 | |
CN111273955B (zh) | 热修复插件优化方法、装置、存储介质及电子设备 | |
CN107734618B (zh) | 应用程序关闭方法、装置、存储介质和电子设备 | |
WO2014166307A1 (fr) | Méthode de détermination de performance de processus d'application et système informatique | |
WO2017206860A1 (fr) | Procédé de traitement de terminal mobile et terminal mobile | |
CN108089935B (zh) | 一种应用程序的管理方法及移动终端 | |
WO2015135457A1 (fr) | Procédé, appareil et système pour envoyer et lire des informations multimédias | |
WO2016019695A1 (fr) | Procédé d'interaction vocale et terminal | |
US20200125369A1 (en) | Method, device, and terminal for accelerating startup of application | |
CN117407133A (zh) | 一种任务处理方法、装置及计算机可读存储介质 | |
CN105159655B (zh) | 行为事件的播放方法和装置 | |
CN111083285A (zh) | 一种移动终端通话定位***和方法 | |
WO2015067206A1 (fr) | Procédé et terminal de recherche de fichiers |
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: 17805860 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17805860 Country of ref document: EP Kind code of ref document: A1 |