WO2017206916A1 - 处理器中内核运行配置的确定方法以及相关产品 - Google Patents

处理器中内核运行配置的确定方法以及相关产品 Download PDF

Info

Publication number
WO2017206916A1
WO2017206916A1 PCT/CN2017/086656 CN2017086656W WO2017206916A1 WO 2017206916 A1 WO2017206916 A1 WO 2017206916A1 CN 2017086656 W CN2017086656 W CN 2017086656W WO 2017206916 A1 WO2017206916 A1 WO 2017206916A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
frequency
running
determining
application scenario
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/086656
Other languages
English (en)
French (fr)
Inventor
曾元清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of WO2017206916A1 publication Critical patent/WO2017206916A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • 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 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.
  • the first aspect of the present invention provides a method for determining a kernel running configuration in a processor, including: determining an application to be started in response to a user operation; acquiring an identification identifier of the application; and determining, according to the identification identifier of the application An application scenario category; determining an operational configuration in the processor based at least on the determined application scenario category, wherein the operational configuration includes a number of cores running in the processor and/or a frequency of a kernel running in the processor.
  • an embodiment of the present invention provides a determining apparatus for a kernel running configuration in a processor, where the apparatus includes a response module, an obtaining module, an identifying module, a configuration module, and an operating module, where the response module is configured to respond to user operations.
  • Determining an application to be launched the obtaining module is configured to obtain an identification identifier of the application; the identifying module is configured to determine a corresponding application scenario category according to the identification identifier of the application;
  • the determined application scenario category determines an operational configuration in the processor, wherein the operational configuration includes a number of cores running in the processor and/or a frequency of a kernel running in the processor.
  • 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 in the processor is determined based at least on the determined application scenario category, wherein the operational configuration includes a number of cores running in the processor and/or a frequency of a kernel running in the processor.
  • a fourth aspect a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program is executed to implement the method of any of the first aspects.
  • a program product is provided, the method of any of the first aspects being implemented in the case of the computer program being executed.
  • the corresponding application scenario category may be determined according to the identification identifier of the application, and then determining the number of cores running in the processor and/or the frequency of the kernel running in the processor according to the determined application scenario category.
  • the internal running configuration realizes that the running configuration of the matching processor is determined according to different application scenario categories, avoiding the insufficient processing power of the processor, causing the phenomenon of stagnation, and avoiding that some cores of the processor are in the ""
  • the idling state causes unnecessary waste of power.
  • 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 diagram of a device for determining 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 flowchart of a 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:
  • the app gets a separate process name and process identifier in user space.
  • the terminal obtains the identifier of the process name and process as the identification identifier of the application.
  • the application scenario refers to the state of the running application of the terminal.
  • the application scenario category of the terminal is also different.
  • the category of the application scenario can be defined in advance according to requirements. For example, the category of the application scenario can be defined according to the load condition of the application scenario. If the terminal does not run any applications, or if the terminal runs application scenarios of some very small applications (such as an applet such as a calendar), you can define the categories of these application scenarios as normal scenes, when the terminal is running a music program, for example In the application scenarios of kugoo, QQ music, etc., the categories of these application scenarios may be considered as music scenes.
  • the categories of these application scenarios may be considered.
  • the category of these application scenes may be considered as a lightweight game scene; when the terminal runs a heavyweight game scene.
  • the categories of these application scenarios can be considered as heavyweight game scenes and the like.
  • 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 pre-establishes a scenario database, where the scenario database stores the mapping relationship between the process name of the application and the identifier of the process and the application scenario category.
  • the terminal queries the database according to the process name obtained in the step 120 and the identifier of the process, so as to determine the category of the application scenario.
  • an operational configuration including the number of cores running in the processor and/or the frequency of cores running in the processor is determined based at least on the determined application scenario category.
  • the following is an example of determining the number of cores running in the processor and/or the frequency of the core running in the processor based on the determined application scenario category.
  • 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; 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 lower frequency; or the number of cores running in the processor can be determined to be a slightly larger number. The frequency of the core running in the processor is determined to be a very low frequency. In short, only the overall processing power of the processor needs to be reduced.
  • the number of cores running in the processor may 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 number, and The frequency of the core running in the processor is determined to be a very high frequency. In short, it is only necessary to ensure that the overall processing power of the processor is improved.
  • the categories of the application scenario 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 first number and/or the frequency of the kernel running in the processor is the first frequency; when the category of the current application scenario is a music scenario, determining processing The number of cores running in the device 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 application scenario is a photographing scenario, it is determined that the number of cores running in the processor is the third number and / Or the frequency of the kernel running in the processor is the third frequency; when the category of the current application scenario is a lightweight game scenario, it is determined that the number of cores running in the 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 application scene is a heavyweight game scene, the
  • the categories of the application scenario 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 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 application scenario
  • the category is a music scene, it is determined 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 application scene is a photographing scene.
  • the minimum frequency is the third minimum frequency; when the category of the current application scenario is a lightweight game scene 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; when the category of the current application scenario is a heavyweight game scene, determining The number of cores running in the processor is the fifth number and the maximum frequency of the kernel running in the processor is The maximum frequency, the minimum frequency is the fifth minimum frequency; wherein, the first number ⁇ the second number ⁇ the third number ⁇ the fourth number ⁇ the fifth number, the first maximum frequency ⁇ the second maximum frequency ⁇ the third maximum frequency ⁇ fourth Maximum frequency ⁇ fifth maximum frequency, first minimum frequency ⁇ second minimum frequency ⁇ third minimum frequency ⁇ fourth minimum frequency ⁇ fifth minimum frequency.
  • 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 including the number of cores running in the processor and/or the frequency of the kernel running in the processor is determined only according to the category of the current application scenario, but in practical applications,
  • the operational configuration including the number of cores running in the processor and/or the frequency of the kernel running in the processor may also be determined according to at least one of user operational information of the application scenario and status information of the terminal. 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 identification of the application includes an independent process name and an identifier of the process.
  • the user's operation information for the application is also different.
  • the operation information of the application includes static playback or user sliding, etc.
  • the application scenario is a photo application
  • the operation information of the application includes previewing and photographing, and the like.
  • the app gets a separate process name and process identifier in user space.
  • the terminal obtains the identifier of the process name and process as the identification identifier of the application.
  • the application scenario refers to the state of the running application of the terminal.
  • the application scenario category of the terminal is also different.
  • the category of the application scenario can be defined in advance according to requirements. For example, the category of the application scenario can be defined according to the load condition of the application scenario. If the terminal does not run any applications, or if the terminal runs application scenarios of some very small applications (such as an applet such as a calendar), you can define the categories of these application scenarios as normal scenes, when the terminal is running a music program, for example In the application scenarios of kugoo, QQ music, etc., the categories of these application scenarios may be considered as music scenes.
  • the categories of these application scenarios may be considered.
  • the category of these application scenes may be considered as a lightweight game scene; when the terminal runs a heavyweight game scene.
  • the categories of these application scenarios can be considered as heavyweight game scenes and the like.
  • 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 pre-establishes a scenario database, where the scenario database stores the mapping relationship between the process name of the application and the identifier of the process and the application scenario category.
  • the terminal obtains according to step 220.
  • the database is obtained by obtaining the process name of the application and the identifier of the process, thereby determining the category of the application scenario.
  • the running configuration in the processor is determined according to the category of the application scenario, and is determined according to the user's operation information of the application.
  • the category of the application scenario For the relationship between the category of the application scenario and the running configuration in the processor, refer to step 140 in the embodiment shown in FIG. 1 , and details are not described herein again.
  • the description is also made by taking the number of cores running in the processor and/or the frequency of the kernel running in the processor as an example. Under the premise that the application scenario category is unchanged, the load corresponding to the operation information of the application is larger, and then the determination is performed. The greater the number of cores running in the processor and/or the higher the frequency of the kernel running in the processor.
  • the current application is a photographing application
  • the load corresponding to the operation information of the user is higher than the load corresponding to the operation information of the application when the user is previewing. Therefore, the operation information of the user on the application is determined by the processor.
  • the number of cores running in the processor is greater than the number of cores running in the processor determined by the user when the operation information of the application is previewed, and/or the frequency of the kernel running in the processor determined by the user when the operation information of the application is photographed is greater than the user.
  • the operating information for the application is high when the kernel is running in the processor as determined by the preview.
  • 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:
  • the identification of the application includes an independent process name and an identifier of the process.
  • 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 user's operation information for the application is also different.
  • the operation information of the application includes static playback or user sliding, etc.
  • the application scenario is a photo application
  • the operation information of the application includes previewing and photographing, and the like.
  • the app gets a separate process name and process identifier in user space.
  • the terminal obtains the identifier of the process name and process as the identification of the application. knowledge.
  • the application scenario refers to the state of the running application of the terminal.
  • the application scenario category of the terminal is also different.
  • the category of the application scenario can be defined in advance according to requirements. For example, the category of the application scenario can be defined according to the load condition of the application scenario. If the terminal does not run any applications, or if the terminal runs application scenarios of some very small applications (such as an applet such as a calendar), you can define the categories of these application scenarios as normal scenes, when the terminal is running a music program, for example In the application scenarios of kugoo, QQ music, etc., the categories of these application scenarios may be considered as music scenes.
  • the categories of these application scenarios may be considered.
  • the category of these application scenes may be considered as a lightweight game scene; when the terminal runs a heavyweight game scene.
  • the categories of these application scenarios can be considered as heavyweight game scenes and the like.
  • 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 pre-establishes a scenario database, where the scenario database stores the mapping relationship between the process name of the application and the identifier of the process and the application scenario category.
  • the terminal queries the database according to the process name obtained in the step 320 and the identifier of the process, so as to determine the category of the application scenario.
  • the running configuration in the processor is determined according to the category information of the application, and is further determined according to the state information of the terminal.
  • the category of the application scenario For the relationship between the category of the application scenario and the number of cores running in the processor and/or the frequency of the kernel running in the processor, refer to step 140 in the embodiment shown in FIG. 1, and details are not described herein again.
  • the description is also made by taking the number of cores running in the processor and/or the frequency of the kernel running in the processor as an example. Under the premise that the category of the application scenario is unchanged, the load corresponding to the state information of the terminal is larger, and then the determined The greater the number of cores running in the 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 end
  • 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 processor determined in the determined state when the terminal is in the bright state
  • the core frequency is higher than the core frequency running in the processor determined when the terminal is in the off state.
  • 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 400 for the kernel running configuration in the processor of the embodiment includes a response module 410, an obtaining module 420, an identifying module 430, a configuration module 440, and an operating module 450.
  • the response module 410 is configured to determine an application to be launched in response to a user operation
  • the obtaining module 420 is configured to acquire an identification identifier of the application
  • the identification module 430 is configured to determine a corresponding application scenario category according to the identification identifier of the application;
  • the configuration module 440 is configured to determine an operational configuration in the processor based on at least the determined application scenario category, wherein the operational configuration includes a number of cores running in the processor and/or a frequency of a kernel running in the processor.
  • the obtaining module 420 is further configured to obtain operation information of the user on the application, where
  • the configuration module 440 is further configured to determine an operational configuration in the processor according to at least the determined application scenario category and user operation information of the application.
  • the obtaining module 420 is further configured to acquire state information of the terminal.
  • the configuration module 440 is further configured to determine an operational configuration in the processor according to at least the determined application scenario category 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 obtaining module 420 is specifically configured to acquire a name of a process created by the processor for the application and an identifier of the process as an identification identifier of the application.
  • the determined application scenario category is any one of a normal scene, a music scene, a photographing scene, a lightweight game scene, and a heavyweight game scene.
  • the configuration module 440 is specifically configured to:
  • the determined application scenario category is a normal scenario, 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 determined application scenario category is a music scene, determining that the number of cores running in the processor is a second number and/or the frequency of the kernel running in the processor is a second frequency;
  • the determined application scenario category is a heavyweight game scenario, determining that the number of cores running in the processor is the fifth number and/or the frequency of the kernel running in the processor is the fifth frequency;
  • the configuration module 440 is specifically configured to:
  • the determined application scenario category is a normal scenario, 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 the first minimum frequency;
  • the determined application scenario category is a music scenario, 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 determined application scenario category is a photographing scene, determining 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 determined application scenario category is a lightweight game scenario, 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 determined application scenario category is a heavyweight game scenario, determining that the number of cores running in the processor is the fifth number and the maximum frequency of the kernel running in the processor is the fifth maximum frequency, and the minimum frequency is the fifth 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.).
  • the memory 520 may include a high speed random access memory, and may also include a nonvolatile memory. For example, at least one disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 520 may also include a memory controller to provide access to memory 520 by processor 580 and input unit 530.
  • 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 be in the end. When the end moves to the ear, the display panel 541 and/or the backlight are turned off.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • 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 configured to be configured by one or more processors Executing one or more programs contains instructions for doing the following:
  • the operational configuration in the processor is determined based at least on the determined application scenario category, wherein the operational configuration includes a number of cores running in the processor and/or a frequency of a kernel running in the processor.
  • processor 580 is further configured to perform the following operations:
  • processor 580 is further configured to perform the following operations:
  • the operational configuration in the processor is determined based at least on the determined application scenario category and the state 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 identification identifier of the application includes a name of a process created by the processor for the application and an identifier of the process;
  • the processor 580 is also used to execute instructions for:
  • the determined application scenario category is any one of a normal scene, a music scene, a photographing scene, a lightweight game scene, and a heavyweight game scene.
  • processor 580 is further configured to perform the following operations:
  • the determined application scenario category is a normal scenario, 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 determined application scenario category is a music scene
  • it is determined that the number of cores running in the processor is The number of the second number and/or the core running in the processor is the second frequency
  • the determined application scenario category is a heavyweight game scenario, determining that the number of cores running in the processor is the fifth number and/or the frequency of the kernel running in the processor is the fifth frequency;
  • processor 580 is further configured to perform the following operations:
  • the determined application scenario category is a normal scenario, 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 the first minimum frequency;
  • the determined application scenario category is a music scenario, 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 determined application scenario category is a photographing scene, determining 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 determined application scenario category is a lightweight game scenario, 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 determined application scenario category is a heavyweight game scenario, determining that the number of cores running in the processor is the fifth number and the maximum frequency of the kernel running in the processor is the fifth maximum frequency, and the minimum frequency is the fifth minimum frequency;
  • the number of cores includes a large number of cores and a small number of cores.
  • the corresponding application scenario category may be determined according to the identification identifier of the application, and then determining the number of cores running in the processor and/or the frequency of the kernel running in the processor according to the determined application scenario category.
  • the internal running configuration realizes that the running configuration of the matching processor is determined according to different application scenario categories, avoiding the insufficient processing power of the processor, causing the phenomenon of stagnation, and avoiding that some cores of the processor are in the ""
  • the idling state causes unnecessary waste of power.
  • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

一种处理器中内核运行配置的确定方法,包括:响应用户操作确定将要启动的应用(110);获取所述应用的识别标识(120);根据所述应用的识别标识确定对应的应用场景类别(130);至少根据所述确定的应用场景类别确定处理器中的运行配置(140),其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。实现了根据不同的应用场景确定包括处理器中运行的内核数量及频率在内的运行配置,避免了处理器的处理能力不足而导致出现卡顿等现象,也避免了处理器的一些内核会处于"空转"状态而导致出现不必要的电量浪费。

Description

处理器中内核运行配置的确定方法以及相关产品 技术领域
本发明涉及终端领域,尤其涉及一种处理器中内核运行配置的确定方法以及相关产品。
背景技术
随着处理器技术的不断发展,多核技术成为当今处理器发展的重要方向。相比传统的单核芯片,多核处理器技术通过多个处理核互相协助的方式实现了保持频率不变的情况下,大幅度地提升系统的性能。
发明内容
第一方面,本发明实施例提供了一种处理器中内核运行配置的确定方法,包括:响应用户操作确定将要启动的应用;获取所述应用的识别标识;根据所述应用的识别标识确定对应的应用场景类别;至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
第二方面,本发明实施例提供了一种处理器中内核运行配置的确定装置,所述装置包括响应模块、获取模块、识别模块、配置模块以及运行模块,所述响应模块用于响应用户操作确定将要启动的应用;所述获取模块用于获取所述应用的识别标识;所述识别模块用于根据所述应用的识别标识确定对应的应用场景类别;所述配置模块用于至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
第三方面,本发明实施例提供了一种电子设备,包括中央处理器以及存储器,所述中央处理器用于执行:
响应用户操作确定将要启动的应用;
获取所述应用的识别标识;
根据所述应用的识别标识确定对应的应用场景类别;
至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
第四方面,提供了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序被执行的情况下实现如第一方面任一项所述的方法。
第五方面,提供了一种程序产品,所述计算机程序被执行的情况下实现如第一方面任一项所述的方法。
通过实施本发明实施例,能够先根据应用的识别标识确定对应的应用场景类别,然后,再根据确定的应用场景类别确定包括处理器中运行的内核数量和/或处理器中运行的内核的频率在内的运行配置,实现了根据不同的应用场景类别确定匹配的处理器中运行配置,避免了处理器的处理能力不足而导致出现卡顿等现象,也避免了处理器的一些内核会处于“空转”状态而导致出现不必要的电量浪费。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种处理器中内核运行配置的确定方法的流程图;
图2是本发明实施例提供的另一种处理器中内核运行配置的确定方法的流程图;
图3是本发明实施例提供的又一种处理器中内核运行配置的确定方法的流程图;
图4是本发明实施例提供的一种处理器中内核运行配置的确定装置的结 构示意图;
图5是本发明实施例提供的一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
本发明实施例中提及的处理器可以是中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、微控制单元(Micro Controller Unit,MCU)中的一种或者多种的组合。而且,本实施例中的处理器可以是对称多核处理器(Symmetrical Multi-Processing,SMP),也可以是非对称多核处理器(Asymmetric Multi-Processing,AMP)。另外,本发明实施例中提及的终端可以是智能手机(smart phone)、平板电脑(Tablet Personal Computer)、车载终端、台式电脑(computer)等等。
在实践过程中技术人员发现,不同的应用场景下,处理器的实际负载其实是并不相同的,所以在发生应用场景切换时,处理器的实际负载发生了变化,但是,处理器的处理能力却保持不变,使得场景切换后,处理器的负载可能过重,处理器的处理能力不足而导致出现卡顿等现象,或者,处理器的负载可能过轻,处理器的一些内核可能会处于“空转”状态而导致出现不必要的电量浪费。
请参阅图1,图1是本发明实施例提供的一种处理器中内核运行配置的确定方法的流程图。本发明实施例从终端的角度出发进行描述。本实施例的处理器中内核运行配置的确定方法包括:
110:响应用户操作确定将要启动的应用。
120:获取应用的识别标识。
当用户启动新的应用时,该应用会在用户空间获得一个独立的进程名称和进程的标识符。终端获取到该进程名称和进程的标识符以作为应用的识别标识。
130:根据应用的识别标识确定对应的应用场景类别。
应用场景是指终端的运行应用的状态,当终端运行的应用不同时,终端的应用场景类别也不相同。应用场景的类别可以根据需要预先进行定义,例如,可以根据应用场景的负载情况对应用场景的类别进行定义。如果终端没有运行任何应用程序,或者,终端运行一些极小的应用程序(例如日历等小程序时)的应用场景,则可以定义这些应用场景的类别为普通场景,当终端正在运行音乐程序,例如kugoo、QQ音乐等等的应用场景时,可以认为这些应用场景的类别为音乐场景,当终端正在运行拍照程序,例如智能相机或者美图相机等等的应用场景时,可以认为这些应用场景的类别为拍照场景,当终端正在运行轻量级游戏程序,例如黄金矿工、切西瓜等等小游戏的应用场景时,可以认为这些应用场景的类别为轻量级游戏场景;当终端运行重量级游戏场景,例如魔兽争霸等等游戏的应用场景时,可以认为这些应用场景的类别为重量级游戏场景等等。可以理解的是,当前应用场景的类别的定义方法可以有多种,具体可以根据需要进行定义,上述的应用场景的类别的定义方法只是一种举例,而非限定。
终端预先建立一个场景数据库,场景数据库中存储了应用的进程名称以及进程的标识符与应用场景类别之间的映射关系。终端根据步骤120中获取得到在获取到应用的进程名称以及进程的标识符查询数据库,从而确定应用场景的类别。
140:至少根据确定的应用场景类别确定处理器中的运行配置,其中运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
在确定应用场景类别之后,至少根据确定的应用场景类别确定包括处理器中运行的内核数量和/或处理器中运行的内核的频率在内的运行配置。下面为了简单陈述起见,以根据确定的应用场景类别确定处理器中运行的内核数量和/或处理器中运行的内核的频率为例进行说明。
当确定当前应用场景的类别为负载较轻的应用场景类别时,需保证确定后的处理器中运行的内核数量和/或处理器中运行的内核的频率能够降低处理器的总体处理能力;当确定当前应用场景的类别为负载较重的应用场景类别时,需保证确定后的处理器中运行的内核数量和/或处理器中运行的内核的频率能够提高处理器的总体处理能力。具体地,当确定当前应用场景的类别为负载较轻的应用场景类别时,处理器中运行的内核数量可以确定为一个较少的数量,而处理器中运行的内核的频率保持不变;或者,处理器中运行的内核数量可以确定为保持不变,而处理器中运行的内核的频率确定为一个较低的频率;或者,处理器中运行的内核数量可以确定为一个稍大的数量,而处理器中运行的内核的频率确定为一个十分低的频率,总而言之,只需要保证降低处理器的总体处理能力即可。反之,当确定当前应用场景的类别为负载较重的应用场景类别时,处理器中运行的内核数量可以确定为一个较多的数量,而处理器中运行的内核的频率保持不变;或者,处理器中运行的内核数量可以确定为保持不变,而处理器中运行的内核的频率确定为一个较高的频率;或者,处理器中运行的内核数量可以确定为一个稍少的数量,而处理器中运行的内核的频率确定为一个十分高的频率,总而言之,只需要保证提高处理器的总体处理能力即可。
在一具体的实施例中,以应用场景的类别包括普通场景、音乐场景、拍照场景、轻量级游戏场景以及重量级游戏场景为例进行说明。当前应用场景的类别为普通场景时,确定处理器中运行的内核数量为第一数量和/或处理器中运行的内核的频率为第一频率;当前应用场景的类别为音乐场景时,确定处理器中运行的内核数量为第二数量和/或处理器中运行的内核的频率为第二频率;当前应用场景的类别为拍照场景时,确定处理器中运行的内核数量为第三数量和/或处理器中运行的内核的频率为第三频率;当前应用场景的类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和/或处理器中运行的内核的频率为第四频率;当前应用场景的类别为重量级游戏场景时,确定处理 器中运行的内核数量为第五数量和/或处理器中运行的内核的频率为第五频率;其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一频率<第二频率<第三频率<第四频率<第五频率。
在一具体的实施例中,以应用场景的类别包括普通场景、音乐场景、拍照场景、轻量级游戏场景以及重量级游戏场景为例进行说明。当前应用场景的类别为普通场景时,确定处理器中运行的内核数量为第一数量和处理器中运行的内核的最大频率为第一最大频率,最小频率为第一最小频率;当前应用场景的类别为音乐场景时,确定处理器中运行的内核数量为第二数量和处理器中运行的内核的最大频率为第二最大频率,最小频率为第二最小频率;当前应用场景的类别为拍照场景时,确定处理器中运行的内核数量为第三数量和处理器中运行的内核的最大频率为第三最大频率,最小频率为第三最小频率;当前应用场景的类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和处理器中运行的内核的最大频率为第四最大频率,最小频率为第四最小频率;当前应用场景的类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和处理器中运行的内核的最大频率为第五最大频率,最小频率为第五最小频率;其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一最大频率<第二最大频率<第三最大频率<第四最大频率<第五最大频率,第一最小频率<第二最小频率<第三最小频率<第四最小频率<第五最小频率。
可以理解的是,当处理器为非对称多核处理器时,处理器中包括大核和小核,所以,在确定处理器中运行的内核数量时除了要确定处理器中需要运行的内核的总数量外,还需要分别确定处理器中需要运行的大核的数量和处理器中需要运行的小核的数量。
在上述的实施例中,包括处理器中运行的内核数量和/或处理器中运行的内核的频率在内的运行配置仅是根据当前应用场景的类别来确定的,但是,在实际应用中,包括处理器中运行的内核数量和/或处理器中运行的内核的频率在内的运行配置还可以根据用户对应用场景的操作信息和终端的状态信息中的至少一个来确定。具体请参阅图2、图3以及相关实施例的描述。
请参阅图2,图2是本发明实施例提供的另一种处理器中内核运行配置的确定方法的流程图。本发明实施例从终端的角度出发进行描述。本实施例的处理器中内核运行配置的确定方法包括:
210:响应用户操作确定将要启动的应用。
220:获取应用的识别标识以及用户对应用的操作信息。
应用的识别标识包括独立的进程名称和进程的标识符。
应用不同时,用户对应用的操作信息也不相同。例如,当应用为音乐应用时,应用的操作信息包括静置播放或者用户滑动等等;当应用场景为拍照应用时,应用的操作信息包括预览和拍照等等。
当用户启动新的应用时,该应用会在用户空间获得一个独立的进程名称和进程的标识符。终端获取到该进程名称和进程的标识符以作为应用的识别标识。
230:根据应用的识别标识确定对应的应用场景类别。
应用场景是指终端的运行应用的状态,当终端运行的应用不同时,终端的应用场景类别也不相同。应用场景的类别可以根据需要预先进行定义,例如,可以根据应用场景的负载情况对应用场景的类别进行定义。如果终端没有运行任何应用程序,或者,终端运行一些极小的应用程序(例如日历等小程序时)的应用场景,则可以定义这些应用场景的类别为普通场景,当终端正在运行音乐程序,例如kugoo、QQ音乐等等的应用场景时,可以认为这些应用场景的类别为音乐场景,当终端正在运行拍照程序,例如智能相机或者美图相机等等的应用场景时,可以认为这些应用场景的类别为拍照场景,当终端正在运行轻量级游戏程序,例如黄金矿工、切西瓜等等小游戏的应用场景时,可以认为这些应用场景的类别为轻量级游戏场景;当终端运行重量级游戏场景,例如魔兽争霸等等游戏的应用场景时,可以认为这些应用场景的类别为重量级游戏场景等等。可以理解的是,当前应用场景的类别的定义方法可以有多种,具体可以根据需要进行定义,上述的应用场景的类别的定义方法只是一种举例,而非限定。
终端预先建立一个场景数据库,场景数据库中存储了应用的进程名称以及进程的标识符与应用场景类别之间的映射关系。终端根据步骤220中获取得到 在获取到应用的进程名称以及进程的标识符查询数据库,从而确定应用场景的类别。
240:至少根据确定的应用场景类别以及用户对应用的操作信息确定处理器中的运行配置
在本实施例中,处理器中的运行配置除了根据应用场景的类别来确定外,还根据用户对应用的操作信息进行确定。其中,应用场景的类别与处理器中的运行配置的关系可以参见图1所示实施例中的步骤140,此处不再展开赘述。同样以处理器中运行的内核数量和/或处理器中运行的内核的频率为例进行说明,在应用场景类别不变的前提下,用户对应用的操作信息对应的负载越大,则确定后的处理器中运行的内核数量越多和/或处理器中运行的内核的频率越高。例如,当前应用为拍照应用,用户对应用的操作信息为拍照时对应的负载比用户对应用的操作信息为预览时对应的负载大,所以,用户对应用的操作信息为拍照时确定的处理器中运行的内核数量比用户对应用的操作信息为预览时确定的处理器中运行的内核数量多,和/或,用户对应用的操作信息为拍照时确定的处理器中运行的内核频率比用户对应用的操作信息为预览时确定的处理器中运行的内核频率高。
请参阅图3,图3是本发明实施例提供的又一种处理器中内核运行配置的确定方法的流程图。本发明实施例从终端的角度出发进行描述。本实施例的处理器中内核运行配置的确定方法包括:
310:响应用户操作确定将要启动的应用。
320:获取应用的识别标识以及终端的状态信息。
应用的识别标识包括独立的进程名称和进程的标识符。终端的状态信息包括终端是否亮屏、终端的温度和终端是否在充电中的至少一种。
应用不同时,用户对应用的操作信息也不相同。例如,当应用为音乐应用时,应用的操作信息包括静置播放或者用户滑动等等;当应用场景为拍照应用时,应用的操作信息包括预览和拍照等等。
当用户启动新的应用时,该应用会在用户空间获得一个独立的进程名称和进程的标识符。终端获取到该进程名称和进程的标识符以作为应用的识别标 识。
330:根据应用的识别标识确定对应的应用场景类别。
应用场景是指终端的运行应用的状态,当终端运行的应用不同时,终端的应用场景类别也不相同。应用场景的类别可以根据需要预先进行定义,例如,可以根据应用场景的负载情况对应用场景的类别进行定义。如果终端没有运行任何应用程序,或者,终端运行一些极小的应用程序(例如日历等小程序时)的应用场景,则可以定义这些应用场景的类别为普通场景,当终端正在运行音乐程序,例如kugoo、QQ音乐等等的应用场景时,可以认为这些应用场景的类别为音乐场景,当终端正在运行拍照程序,例如智能相机或者美图相机等等的应用场景时,可以认为这些应用场景的类别为拍照场景,当终端正在运行轻量级游戏程序,例如黄金矿工、切西瓜等等小游戏的应用场景时,可以认为这些应用场景的类别为轻量级游戏场景;当终端运行重量级游戏场景,例如魔兽争霸等等游戏的应用场景时,可以认为这些应用场景的类别为重量级游戏场景等等。可以理解的是,当前应用场景的类别的定义方法可以有多种,具体可以根据需要进行定义,上述的应用场景的类别的定义方法只是一种举例,而非限定。
终端预先建立一个场景数据库,场景数据库中存储了应用的进程名称以及进程的标识符与应用场景类别之间的映射关系。终端根据步骤320中获取得到在获取到应用的进程名称以及进程的标识符查询数据库,从而确定应用场景的类别。
340:至少根据确定的应用场景类别以及终端的状态信息确定处理器中的运行配置。
在本实施例中,处理器中运行配置除了根据应用场景的类别来确定外,还根据终端的状态信息进行确定。其中,应用场景的类别与处理器中运行的内核数量和/或处理器中运行的内核的频率的关系可以参见图1所示实施例中的步骤140,此处不再展开赘述。同样以处理器中运行的内核数量和/或处理器中运行的内核的频率为例进行说明,在应用场景的类别不变的前提下,终端的状态信息对应的负载越大,则确定后的处理器中运行的内核数量越多和/或处理器中运行的内核的频率越高。例如,终端处于亮屏状态对应的负载大,所以,终 端处于亮屏状态时确定的处理器中运行的内核数量比终端处于熄屏状态时确定的处理器中运行的内核数量多,和/或,终端处于亮屏状态时确定的处理器中运行的内核频率比终端处于熄屏状态时确定的处理器中运行的内核频率高。此外,在用户对当前应用场景的操作信息不变的前提下,终端的温度越高,则确定的处理器中运行的内核数量越少,和/或,确定的处理器中运行的内核频率越低。
请参阅图4,图4是本发明实施例提供的一种处理器中内核运行配置的确定装置的结构示意图。本实施例的处理器中内核运行配置的确定装置400包括:响应模块410、获取模块420、识别模块430、配置模块440以及运行模块450。
响应模块410用于响应用户操作确定将要启动的应用;
获取模块420用于获取所述应用的识别标识;
识别模块430用于根据所述应用的识别标识确定对应的应用场景类别;
配置模块440用于至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
可选地,获取模块420还用于获取用户对所述应用的操作信息,
所述配置模块440还用于至少根据所述确定的应用场景类别以及用户对所述应用的操作信息确定处理器中的运行配置。
可选地,获取模块420还用于获取终端的状态信息;
所述配置模块440还用于至少根据所述确定的应用场景类别以及终端的状态信息确定处理器中的运行配置。
可选地,所述终端的状态信息包括所述终端是否亮屏、所述终端的温度和所述终端是否在充电中的至少一种。
可选地,获取模块420具体用于获取处理器为所述应用创立的进程的名称以及进程的标识符以作为所述应用的识别标识。
可选地,所述确定的应用场景类别为普通场景、音乐场景、拍照场景、轻量级游戏场景和重量级游戏场景中的任何一种。
可选地,配置模块440具体用于:
当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和/或处理器中运行的内核的频率为第一频率;
当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和/或处理器中运行的内核的频率为第二频率;
当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和/或处理器中运行的内核的频率为第三频率;
当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和/或处理器中运行的内核的频率为第四频率;
当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和/或处理器中运行的内核的频率为第五频率;
其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一频率<第二频率<第三频率<第四频率<第五频率。
可选地,配置模块440具体用于:
当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和处理器中运行的内核的最大频率为第一最大频率,最小频率为第一最小频率;
当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和处理器中运行的内核的最大频率为第二最大频率,最小频率为第二最小频率;
当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和处理器中运行的内核的最大频率为第三最大频率,最小频率为第三最小频率;
当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和处理器中运行的内核的最大频率为第四最大频率,最小频率为第四最小频率;
当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和处理器中运行的内核的最大频率为第五最大频率,最小频率为第五最小频率;
其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一最大频率<第二最大频率<第三最大频率<第四最大频率<第五最大频率,第一最小频率<第二最小频率<第三最小频率<第四最小频率<第五最小频率。
可选地,所述内核数量包括大核数量以及小核数量。
请参阅图5,图5是本发明实施例提供的一种终端的结构示意图。本实施例的终端包括:RF(Radio Frequency,射频)电路510、包括有一个或一个以上计算机可读存储介质的存储器520、输入单元530、显示单元540、传感器550、音频电路560、WiFi(wireless fidelity,无线保真)模块570、包括有一个或者一个以上处理核心的处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器580处理;另外,将涉及上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于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,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器520可用于存储软件程序以及模块,处理器580通过运行存储在存储器520的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器, 例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器520还可以包括存储器控制器,以提供处理器580和输入单元530对存储器520的访问。
输入单元530可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元530可包括触敏表面531以及其他输入设备532。触敏表面531,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面531上或在触敏表面531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面531。除了触敏表面531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元540可包括显示面板541,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板541。进一步的,触敏表面531可覆盖显示面板541,当触敏表面531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触敏表面531与显示面板541是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面531与显示面板541集成而实现输入和输出功能。
终端还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在终 端移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路560、扬声器561,传声器562可提供用户与终端之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给比如另一终端,或者将音频数据输出至存储器520以便进一步处理。音频电路560还可能包括耳塞插孔,以提供外设耳机与终端的通信。
WiFi属于短距离无线传输技术,终端通过WiFi模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块570,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器580是终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行终端的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器580可包括一个或多个处理核心;优选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。
终端还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源590还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端还可以包括摄像头、蓝牙模块等,在此不再赘述。具体 在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:
响应用户操作确定将要启动的应用;
获取所述应用的识别标识;
根据所述应用的识别标识确定对应的应用场景类别;
至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
可选地,处理器580还用于进行以下操作的指令:
获取用户对所述应用的操作信息,至少根据所述确定的应用场景类别以及用户对所述应用的操作信息确定处理器中的运行配置。
可选地,处理器580还用于进行以下操作的指令:
获取终端的状态信息;
至少根据所述确定的应用场景类别以及终端的状态信息确定处理器中的运行配置。
可选地,所述终端的状态信息包括所述终端是否亮屏、所述终端的温度和所述终端是否在充电中的至少一种。
可选地,所述应用的识别标识包括处理器为所述应用创立的进程的名称以及进程的标识符;
处理器580还用于进行以下操作的指令:
获取处理器为所述应用创立的进程的名称以及进程的标识符以作为所述应用的识别标识。
可选地,所述确定的应用场景类别为普通场景、音乐场景、拍照场景、轻量级游戏场景和重量级游戏场景中的任何一种。
可选地,处理器580还用于进行以下操作的指令:
当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和/或处理器中运行的内核的频率为第一频率;
当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第 二数量和/或处理器中运行的内核的频率为第二频率;
当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和/或处理器中运行的内核的频率为第三频率;
当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和/或处理器中运行的内核的频率为第四频率;
当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和/或处理器中运行的内核的频率为第五频率;
其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一频率<第二频率<第三频率<第四频率<第五频率。
可选地,处理器580还用于进行以下操作的指令:
当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和处理器中运行的内核的最大频率为第一最大频率,最小频率为第一最小频率;
当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和处理器中运行的内核的最大频率为第二最大频率,最小频率为第二最小频率;
当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和处理器中运行的内核的最大频率为第三最大频率,最小频率为第三最小频率;
当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和处理器中运行的内核的最大频率为第四最大频率,最小频率为第四最小频率;
当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和处理器中运行的内核的最大频率为第五最大频率,最小频率为第五最小频率;
其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一最大频率<第二最大频率<第三最大频率<第四最大频率<第五最大频率,第一最小频率<第二最小频率<第三最小频率<第四最小频率<第五最小频率。
可选地,所述内核数量包括大核数量以及小核数量。
通过实施本发明实施例,能够先根据应用的识别标识确定对应的应用场景类别,然后,再根据确定的应用场景类别确定包括处理器中运行的内核数量和/或处理器中运行的内核的频率在内的运行配置,实现了根据不同的应用场景类别确定匹配的处理器中运行配置,避免了处理器的处理能力不足而导致出现卡顿等现象,也避免了处理器的一些内核会处于“空转”状态而导致出现不必要的电量浪费。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。

Claims (20)

  1. 一种处理器中内核运行配置的确定方法,其特征在于,包括:
    响应用户操作确定将要启动的应用;
    获取所述应用的识别标识;
    根据所述应用的识别标识确定对应的应用场景类别;
    至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
  2. 根据权利要求1所述的方法,其特征在于,在至少根据所述确定的应用场景类别确定处理器中的运行配置之前,所述方法还包括:
    获取用户对所述应用的操作信息,
    至少根据所述确定的应用场景类别确定处理器中的运行配置具体为:
    至少根据所述确定的应用场景类别以及用户对所述应用的操作信息确定处理器中的运行配置。
  3. 根据权利要求1所述的方法,其特征在于,在至少根据所述确定的应用场景类别确定处理器中的运行配置之前,所述方法还包括:
    获取终端的状态信息;
    至少根据所述确定的应用场景类别确定处理器中的运行配置具体为:
    至少根据所述确定的应用场景类别以及终端的状态信息确定处理器中的运行配置。
  4. 根据权利要求3所述的方法,其特征在于,所述终端的状态信息包括所述终端是否亮屏、所述终端的温度和所述终端是否在充电中的至少一种。
  5. 根据权利要求1所述的方法,其特征在于,所述应用的识别标识包括处理器为所述应用创立的进程的名称以及进程的标识符;
    获取所述应用的识别标识具体为:
    获取处理器为所述应用创立的进程的名称以及进程的标识符以作为所述应用的识别标识。
  6. 根据权利要求1所述的方法,其特征在于,所述确定的应用场景类别为普通场景、音乐场景、拍照场景、轻量级游戏场景和重量级游戏场景中的任 何一种。
  7. 根据权利要求6所述的方法,其特征在于,至少根据所述确定的应用场景类别确定处理器中的运行配置具体为:
    当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和/或处理器中运行的内核的频率为第一频率;
    当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和/或处理器中运行的内核的频率为第二频率;
    当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和/或处理器中运行的内核的频率为第三频率;
    当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和/或处理器中运行的内核的频率为第四频率;
    当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和/或处理器中运行的内核的频率为第五频率;
    其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一频率<第二频率<第三频率<第四频率<第五频率。
  8. 根据权利要求6所述的方法,其特征在于,至少根据所述确定的应用场景类别确定处理器中的运行配置具体为:
    当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和处理器中运行的内核的最大频率为第一最大频率,最小频率为第一最小频率;
    当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和处理器中运行的内核的最大频率为第二最大频率,最小频率为第二最小频率;
    当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和处理器中运行的内核的最大频率为第三最大频率,最小频率为第三最小频率;
    当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和处理器中运行的内核的最大频率为第四最大频率,最小频率为第四最小频率;
    当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和处理器中运行的内核的最大频率为第五最大频率,最小频率为第五最小频率;
    其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一最大频率<第二最大频率<第三最大频率<第四最大频率<第五最大频率,第一最小频率<第二最小频率<第三最小频率<第四最小频率<第五最小频率。
  9. 根据权利要求8所述的方法,其特征在于,所述内核数量包括大核数量以及小核数量。
  10. 一种处理器中内核运行配置的确定装置,其特征在于,所述装置包括响应模块、获取模块、识别模块、配置模块以及运行模块,
    所述响应模块用于响应用户操作确定将要启动的应用;
    所述获取模块用于获取所述应用的识别标识;
    所述识别模块用于根据所述应用的识别标识确定对应的应用场景类别;
    所述配置模块用于至少根据所述确定的应用场景类别确定处理器中的运行配置,其中所述运行配置包括处理器中运行的内核数量和/或处理器中运行的内核的频率。
  11. 根据权利要求10所述的装置,其特征在于,
    所述获取模块还用于获取用户对所述应用的操作信息;
    所述配置模块具体用于至少根据所述确定的应用场景类别以及用户对所述应用的操作信息确定处理器中的运行配置。
  12. 根据权利要求10所述的装置,其特征在于,在至少根据所述确定的应用场景类别确定处理器中的运行配置之前,所述方法还包括:
    所述获取模块还用于获取终端的状态信息;
    所述配置模块具体用于至少根据所述确定的应用场景类别以及终端的状态信息确定处理器中的运行配置。
  13. 根据权利要求12所述的装置,其特征在于,所述终端的状态信息包括所述终端是否亮屏、所述终端的温度和所述终端是否在充电中的至少一种。
  14. 根据权利要求10所述的装置,其特征在于,所述应用的识别标识包 括处理器为所述应用创立的进程的名称以及进程的标识符;
    所述获取模块具体用于获取处理器为所述应用创立的进程的名称以及进程的标识符以作为所述应用的识别标识。
  15. 根据权利要求10所述的装置,其特征在于,所述确定的应用场景类别为普通场景、音乐场景、拍照场景、轻量级游戏场景和重量级游戏场景中的任何一种。
  16. 根据权利要求15所述的装置,其特征在于,所述配置模块具体用于:
    当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和/或处理器中运行的内核的频率为第一频率;
    当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和/或处理器中运行的内核的频率为第二频率;
    当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和/或处理器中运行的内核的频率为第三频率;
    当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和/或处理器中运行的内核的频率为第四频率;
    当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和/或处理器中运行的内核的频率为第五频率;
    其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一频率<第二频率<第三频率<第四频率<第五频率。
  17. 根据权利要求15所述的装置,其特征在于,所述配置模块具体用于:
    当确定的应用场景类别为普通场景时,确定处理器中运行的内核数量为第一数量和处理器中运行的内核的最大频率为第一最大频率,最小频率为第一最小频率;
    当确定的应用场景类别为音乐场景时,确定处理器中运行的内核数量为第二数量和处理器中运行的内核的最大频率为第二最大频率,最小频率为第二最小频率;
    当确定的应用场景类别为拍照场景时,确定处理器中运行的内核数量为第三数量和处理器中运行的内核的最大频率为第三最大频率,最小频率为第三最小频率;
    当确定的应用场景类别为轻量级游戏场景时,确定处理器中运行的内核数量为第四数量和处理器中运行的内核的最大频率为第四最大频率,最小频率为第四最小频率;
    当确定的应用场景类别为重量级游戏场景时,确定处理器中运行的内核数量为第五数量和处理器中运行的内核的最大频率为第五最大频率,最小频率为第五最小频率;
    其中,第一数量<第二数量<第三数量<第四数量<第五数量,第一最大频率<第二最大频率<第三最大频率<第四最大频率<第五最大频率,第一最小频率<第二最小频率<第三最小频率<第四最小频率<第五最小频率。
  18. 一种电子设备,包括中央处理器以及存储器,其特征在于,所述中央处理器用于执行如权利要求1至9任一权利要求所述的方法。
  19. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序被执行的情况下实现如权利要求1-9任一项所述的方法。
  20. 一种程序产品,其特征在于,所述计算机程序被执行的情况下实现如权利要求1-9任一项所述的方法。
PCT/CN2017/086656 2016-05-31 2017-05-31 处理器中内核运行配置的确定方法以及相关产品 Ceased WO2017206916A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610382736.9A CN106020987A (zh) 2016-05-31 2016-05-31 处理器中内核运行配置的确定方法以及装置
CN201610382736.9 2016-05-31

Publications (1)

Publication Number Publication Date
WO2017206916A1 true WO2017206916A1 (zh) 2017-12-07

Family

ID=57092137

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086656 Ceased WO2017206916A1 (zh) 2016-05-31 2017-05-31 处理器中内核运行配置的确定方法以及相关产品

Country Status (2)

Country Link
CN (1) CN106020987A (zh)
WO (1) WO2017206916A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825446A (zh) * 2019-10-28 2020-02-21 Oppo广东移动通信有限公司 参数配置方法、装置、存储介质及电子设备

Families Citing this family (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020987A (zh) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 处理器中内核运行配置的确定方法以及装置
CN106559579B (zh) * 2016-11-30 2020-08-21 契科基纳(南京)科技有限公司 移动终端和cpu/gpu调度参数更新方法
CN106897145A (zh) * 2017-01-23 2017-06-27 宇龙计算机通信科技(深圳)有限公司 内核控制方法、内核控制装置和终端
CN106874017B (zh) * 2017-03-10 2019-10-15 Oppo广东移动通信有限公司 一种移动终端的显示场景识别方法、装置及移动终端
CN107391254B (zh) * 2017-06-14 2021-03-26 深圳天珑无线科技有限公司 智能终端及其资源配置方法、计算机可读存储介质
CN107360327B (zh) 2017-07-19 2021-05-07 腾讯科技(深圳)有限公司 语音识别方法、装置和存储介质
CN107450988B (zh) * 2017-07-31 2019-12-27 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107517306B (zh) * 2017-07-31 2020-07-10 Oppo广东移动通信有限公司 资源配置方法及相关产品
EP3438825A1 (en) 2017-07-31 2019-02-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107479970B (zh) * 2017-07-31 2022-09-09 Oppo广东移动通信有限公司 资源配置方法及相关产品
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107483725A (zh) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107479972A (zh) * 2017-07-31 2017-12-15 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN109426558A (zh) * 2017-08-21 2019-03-05 深圳市中兴微电子技术有限公司 一种参数调节方法、终端及存储介质
CN107577536A (zh) * 2017-08-31 2018-01-12 广东欧珀移动通信有限公司 应用优化方法及相关产品
CN107613107A (zh) * 2017-08-31 2018-01-19 广东欧珀移动通信有限公司 资源配置方法及相关产品
CN107547746B (zh) * 2017-08-31 2020-09-04 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107547745B (zh) * 2017-08-31 2020-07-17 Oppo广东移动通信有限公司 资源配置方法及相关产品
CN107807852B (zh) * 2017-10-11 2020-07-07 Oppo广东移动通信有限公司 应用程序性能控制方法、设备及计算机可读存储介质
CN107832148A (zh) * 2017-10-30 2018-03-23 广东欧珀移动通信有限公司 性能优化方法及设备
CN107861814B (zh) 2017-10-31 2023-01-06 Oppo广东移动通信有限公司 资源配置方法及设备
CN107797868B (zh) * 2017-10-31 2020-09-25 Oppo广东移动通信有限公司 资源调整方法及装置
CN107995357A (zh) * 2017-11-15 2018-05-04 广东欧珀移动通信有限公司 资源配置方法及装置
CN108681436B (zh) * 2018-03-13 2020-09-22 Oppo广东移动通信有限公司 画质参数调节方法、装置、终端及存储介质
CN110764832A (zh) * 2018-07-27 2020-02-07 青岛海信移动通信技术股份有限公司 一种场景切换的方法和设备
CN109254849B (zh) * 2018-08-31 2021-03-30 北京小米移动软件有限公司 应用程序的运行方法及装置
CN109445932A (zh) * 2018-09-12 2019-03-08 苏州蜗牛数字科技股份有限公司 一种基于android系统配置CPU核资源的方法
CN109542618A (zh) * 2018-11-02 2019-03-29 北京小米移动软件有限公司 电子设备控制方法及装置
CN112068690B (zh) * 2020-09-04 2022-09-20 龙芯中科技术股份有限公司 处理器调频方法及装置
CN112764933A (zh) * 2021-01-27 2021-05-07 惠州Tcl移动通信有限公司 一种cpu配置方法、装置、终端及计算机可读存储介质
CN114489469B (zh) * 2021-07-20 2022-12-23 荣耀终端有限公司 一种数据读取方法、电子设备及存储介质
CN114461588B (zh) * 2021-08-20 2023-01-24 荣耀终端有限公司 调节预读窗口的方法及电子设备
CN115016921B (zh) * 2021-10-22 2023-10-13 荣耀终端有限公司 资源调度方法、装置及存储介质
CN117971448B (zh) * 2022-10-26 2024-09-06 荣耀终端有限公司 应用启动方法及电子设备
CN120162120A (zh) * 2023-12-14 2025-06-17 华为技术有限公司 一种降低功耗的方法、装置和电子设备
CN121705033A (zh) * 2026-02-06 2026-03-20 此芯科技(武汉)有限公司 一种处理器功耗管理方法、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130196709A1 (en) * 2012-01-31 2013-08-01 Lg Electronics Inc. Mobile terminal, controlling method thereof and recording medium thereof
CN103838600A (zh) * 2012-11-22 2014-06-04 三星电子株式会社 用于基于操作状态控制驱动条件的方法和电子设备
CN104216502A (zh) * 2014-08-28 2014-12-17 华南理工大学 一种具有前瞻属性的SoC动态电压频率调节方法
CN105045367A (zh) * 2015-01-16 2015-11-11 中国矿业大学 基于游戏负载预测的android系统设备功耗优化方法
CN106020987A (zh) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 处理器中内核运行配置的确定方法以及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7334228B2 (en) * 2001-07-27 2008-02-19 International Business Machines Corporation Runtime-resource management
CN102196538B (zh) * 2010-03-19 2013-09-11 中兴通讯股份有限公司 一种能耗控制方法及装置
CN103838353B (zh) * 2014-01-02 2017-09-22 深圳市金立通信设备有限公司 一种控制处理器运行的方法及终端
CN104363988B (zh) * 2014-07-14 2018-07-20 华为技术有限公司 一种多核处理器的管理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130196709A1 (en) * 2012-01-31 2013-08-01 Lg Electronics Inc. Mobile terminal, controlling method thereof and recording medium thereof
CN103838600A (zh) * 2012-11-22 2014-06-04 三星电子株式会社 用于基于操作状态控制驱动条件的方法和电子设备
CN104216502A (zh) * 2014-08-28 2014-12-17 华南理工大学 一种具有前瞻属性的SoC动态电压频率调节方法
CN105045367A (zh) * 2015-01-16 2015-11-11 中国矿业大学 基于游戏负载预测的android系统设备功耗优化方法
CN106020987A (zh) * 2016-05-31 2016-10-12 广东欧珀移动通信有限公司 处理器中内核运行配置的确定方法以及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825446A (zh) * 2019-10-28 2020-02-21 Oppo广东移动通信有限公司 参数配置方法、装置、存储介质及电子设备
CN110825446B (zh) * 2019-10-28 2023-12-08 Oppo广东移动通信有限公司 参数配置方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN106020987A (zh) 2016-10-12

Similar Documents

Publication Publication Date Title
WO2017206916A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
JP6467526B2 (ja) 通信メッセージ送信方法及びウェアラブル・デバイス
JP6492184B2 (ja) 情報の推薦を管理するための方法、デバイス、およびシステム
WO2017206915A1 (zh) 处理器中内核运行配置的确定方法以及相关产品
TWI520043B (zh) 消息查看方法、裝置和移動終端
CN107040610B (zh) 数据同步方法、装置、存储介质、终端以及服务器
WO2017008569A1 (zh) 消息更新方法、装置及终端
TWI522917B (zh) 應用程式的啓動控制方法與裝置及電腦可讀取儲存介質
CN106658354B (zh) 一种数据传输方法及设备
CN109067981B (zh) 分屏应用切换方法、装置、存储介质和电子设备
WO2018219119A1 (zh) 应用功能的控制方法及相关产品
WO2017206918A1 (zh) 终端加速唤醒方法以及相关产品
WO2017215661A1 (zh) 一种场景音效的控制方法、及电子设备
CN107291327A (zh) 应用控制方法及相关产品
CN107734618B (zh) 应用程序关闭方法、装置、存储介质和电子设备
WO2014166307A1 (en) Method for determining performance of process of application and computer system
CN111273955B (zh) 热修复插件优化方法、装置、存储介质及电子设备
CN110825474B (zh) 界面显示方法、装置和电子设备
CN111090529B (zh) 共享信息的方法及电子设备
CN107391732A (zh) 应用程序的功能引导方法、装置及终端设备
WO2015135457A1 (en) Method, apparatus, and system for sending and playing multimedia information
WO2017005080A1 (zh) 网页显示方法、终端设备及存储介质
CN114579856A (zh) 采集页面信息的方法、装置、设备及存储介质
WO2018219117A1 (zh) 组件显示方法及相关产品
CN105159655B (zh) 行为事件的播放方法和装置

Legal Events

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

Ref document number: 17805861

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

Country of ref document: EP

Kind code of ref document: A1