CN114546096A - Base band chip, task scheduling method and terminal equipment - Google Patents

Base band chip, task scheduling method and terminal equipment Download PDF

Info

Publication number
CN114546096A
CN114546096A CN202210125458.4A CN202210125458A CN114546096A CN 114546096 A CN114546096 A CN 114546096A CN 202210125458 A CN202210125458 A CN 202210125458A CN 114546096 A CN114546096 A CN 114546096A
Authority
CN
China
Prior art keywords
dvfs
management system
subsystem
voltage
task
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.)
Granted
Application number
CN202210125458.4A
Other languages
Chinese (zh)
Other versions
CN114546096B (en
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
Priority to CN202210125458.4A priority Critical patent/CN114546096B/en
Publication of CN114546096A publication Critical patent/CN114546096A/en
Priority to PCT/CN2022/143467 priority patent/WO2023151414A1/en
Application granted granted Critical
Publication of CN114546096B publication Critical patent/CN114546096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/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/5038Allocation 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 execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/12Circuit arrangements for ac mains or ac distribution networks for adjusting voltage in ac networks by changing a characteristic of the network load
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses a baseband chip, a task scheduling method and terminal equipment, wherein the baseband chip comprises a plurality of subsystems and a DVFS management system, wherein the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; the first subsystem is a subsystem for executing subtasks; each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem.

Description

Base band chip, task scheduling method and terminal equipment
Technical Field
The invention relates to the field of chip design, in particular to a baseband chip, a task scheduling method and terminal equipment.
Background
Dynamic Voltage and Frequency Scaling (DVFS) is a technique for dynamically adjusting Voltage and Frequency, and the Frequency and Voltage can be adjusted according to the load condition of a system. For example, increasing the workload increases the frequency and voltage, and decreasing the workload decreases the frequency and voltage.
However, the conventional DVFS technology is limited to a plurality of systems sharing a power supply, and cannot perform task scheduling and voltage control accurately, thereby resulting in a large power consumption of the system.
Disclosure of Invention
The embodiment of the application provides a baseband chip, a task scheduling method and terminal equipment, which can accurately schedule tasks and control voltage, and further effectively reduce system power consumption.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a baseband chip, where the baseband chip includes a plurality of subsystems and a DVFS management system,
the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; wherein the first subsystem is a subsystem for executing the subtasks;
each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks;
the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure a supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem.
In a second aspect, an embodiment of the present application provides a task scheduling method, where the task scheduling method is applied to a terminal device, and the terminal device configures a baseband chip, where the baseband chip includes multiple subsystems and a DVFS management system, and the method includes:
the DVFS management system respectively issues one or more subtasks to one or more first subsystems in the subsystems; wherein the first subsystem is a subsystem for executing the subtasks;
each first subsystem sends expected voltage in the next regulation period to the DVFS management system according to the received subtasks;
and the DVFS management system regulates the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next regulation period, and configures the supply voltage received in the next regulation period according to the regulated execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes: a power management module and the baseband chip of the first aspect, the power management module being configured to supply power to the baseband chip.
The embodiment of the application provides a baseband chip, a task scheduling method and terminal equipment, wherein the baseband chip comprises a plurality of subsystems and a DVFS management system, wherein the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; the first subsystem is a subsystem for executing subtasks; each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may acquire an expected voltage in a next adjustment period of the subsystem, and determine an optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, and then may control the subsystem to perform processing of the subtasks according to the execution sequence, and at the same time, complete adjustment of the voltage, so that scheduling of the tasks and control of the voltage can be performed accurately, and power consumption of the system is further reduced effectively.
Drawings
FIG. 1 is a block diagram of an implementation framework of a DVFS scheme;
FIG. 2 is a schematic diagram of a DVFS scheme;
FIG. 3 is a first schematic diagram of the baseband chip;
FIG. 4 is a schematic diagram of the DVFS management system;
FIG. 5 is a diagram of a task order assembly;
FIG. 6 is a first diagram illustrating the relationship between the expected voltage and the duration;
FIG. 7 is a schematic diagram of a power management module;
fig. 8 is a schematic diagram of a composition structure of the terminal device;
FIG. 9 is a first flowchart illustrating an implementation of a task scheduling method;
FIG. 10 is a schematic diagram of a second exemplary structure of the baseband chip;
FIG. 11 is a flowchart illustrating a second implementation of a task scheduling method;
FIG. 12 is a diagram of task order assembly;
FIG. 13 is a second diagram illustrating the relationship between the expected voltage and the duration;
fig. 14 is a third diagram illustrating the relationship between the expected voltage and the duration.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the specific embodiments described herein are illustrative of the relevant application and are not limiting of the application. It should be noted that, for the convenience of description, only the parts related to the related applications are shown in the drawings.
The Dynamic Voltage and Frequency Scaling (DVFS) technology is designed to achieve low power consumption by a combination of software and hardware, and has attracted much attention in designing low power consumption of microprocessors. The DVFS technology allows the working voltage and frequency of the circuit to be dynamically adjusted on the premise of keeping the system working normally, so that the power consumption of the circuit can be reduced, and the service life of the circuit can be prolonged.
A typical DVFS system workflow includes: sampling a system signal load, carrying out performance calculation prediction through a corresponding algorithm, carrying out DVFS adjustment on a circuit working state according to a prediction result, and then realizing state adjustment and maintenance by a power supply management system. The adjustment of the DVFS comprises dynamic voltage adjustment and clock frequency adjustment, when the working frequency is predicted to change from high to low, the frequency is reduced first, and then the voltage is reduced; when the predicted operating frequency increases, the voltage is increased first, and then the frequency is increased.
Fig. 1 is a schematic diagram of an implementation framework of a DVFS scheme, and as shown in fig. 1, a conventional DVFS framework mainly includes a baseband part, a radio frequency part, and a power management module, where the power management module is responsible for supplying power to the baseband part and the radio frequency part of a terminal, a power supply voltage is controlled by the baseband part, the baseband part sends a voltage adjustment instruction to the power management module, and the power management module adjusts the voltage after receiving the voltage adjustment instruction.
If the baseband part or the radio frequency part needs to increase the working frequency, an adjustment instruction for increasing the voltage is generally sent to the power management module, and the baseband part or the radio frequency part can increase the frequency after the power management module completes the adjustment of the corresponding increased voltage. If the baseband part or the radio frequency part needs to reduce the working frequency, the baseband part or the radio frequency part can directly reduce the frequency and then reduce the voltage, so that the purpose of safe and stable work is achieved, and the abnormal phenomenon caused by voltage regulation is avoided.
However, when multiple systems share one power supply, the power supply is wasted. Fig. 2 is a schematic diagram of a DVFS scheme, as shown in fig. 2, if a subsystem 1, a subsystem 2, and a subsystem 3 share one power supply, when the subsystem 2 needs to operate at a higher voltage V1, even if the operating voltage required by the subsystem 1 and the subsystem 3 is only the bottom voltage V2(V1 is greater than V2), the subsystem 2 needs to operate at a voltage higher than its own required voltage in consideration of its requirement, which results in energy waste.
It can be seen that the conventional DVFS technology is limited by the condition that a plurality of systems share a power supply, and cannot accurately schedule tasks and control voltages, thereby causing a defect of large system power consumption.
In order to solve the above problem, in the embodiment of the present application, a DVFS management system configured in a baseband chip of a terminal device may obtain an expected voltage in a next adjustment period of a subsystem, and determine an optimal execution sequence of subtasks corresponding to the subsystem based on the expected voltage, so as to control the subsystem to perform processing of the subtasks according to the execution sequence, and complete adjustment of the voltage, thereby being capable of accurately performing scheduling of tasks and control of the voltage, and further effectively reducing power consumption of the system.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a baseband chip, which includes a plurality of subsystems and a DVFS management system.
In an embodiment of the present application, fig. 3 is a schematic diagram of a composition structure of a baseband chip, as shown in fig. 3, a baseband chip 10 may include a plurality of subsystems 11, where the subsystems 11 may all operate in the same voltage domain; the baseband chip 10 may further include a DVFS management system 12, and the DVFS management system 12 may be configured to perform a task scheduling process and a voltage adjustment process.
It should be noted that, in the embodiment of the present application, the terminal device may further include a power management module, and the power management module and the baseband chip may communicate with each other, so that a request for adjusting the voltage and a feedback process may be implemented.
Further, in the embodiment of the present application, a plurality of subsystems included in a baseband chip configured in a terminal device may communicate with the DVFS management system respectively.
Further, in an embodiment of the present application, the DVFS management system may be configured to issue one or more subtasks to one or more first subsystems of the multiple subsystems, respectively; the first subsystem is a subsystem for executing subtasks.
Accordingly, in embodiments of the present application, each first subsystem may be configured to send the desired voltage for the next adjustment period to the DVFS management system according to the received subtask.
It should be noted that, in the embodiment of the present application, fig. 4 is a schematic structural diagram of a DVFS management system, and as shown in fig. 4, the DVFS management system 12 may include a task management unit 121. Specifically, the task management unit may be configured to split the received one or more tasks into one or more subtasks; and then respectively issuing the one or more subtasks to one or more first subsystems in the plurality of subsystems.
It should be noted that, in the embodiment of the present application, the first subsystem may be any subsystem in the multiple subsystems, that is, the DVFS management system may issue one or more subtasks to any multiple subsystems in all subsystems. The DVFS management system may then also receive the desired voltage for the next trim cycle sent by each of any of the plurality of subsystems.
It will be appreciated that in embodiments of the present application, the expected voltage for each subsystem in the next regulation cycle may be predictive of the voltage required for each subsystem in the next regulation cycle. The expected voltage of each subsystem in the next regulation period can be used for predicting the voltage required by each subsystem when executing a task, and can also be used for predicting the voltage required by each subsystem when being in a low power consumption mode after the task is executed.
That is, in the embodiment of the present application, regardless of whether the subsystem is in an operating state to perform a task, as long as the voltage demanded by the subsystem is changed, a desired voltage in the next adjustment cycle can be generated.
It should be noted that, in the embodiment of the present application, the first subsystem may inform the DVFS management system of the expected voltage in the next tuning period through the reported work task list in the next tuning period.
Further, in the embodiment of the present application, the work task list may represent the correspondence between different subtasks and desired voltages and durations. The work task list is in one-to-one correspondence with the first subsystems, namely one first subsystem reports one work task list correspondingly. Accordingly, through the work task list reported by the first subsystem, the DVFS management system may determine an expected voltage of the first subsystem in the next adjustment period,
it is understood that, in the embodiments of the present application, the expected voltages corresponding to different subtasks in the first subsystem may predict the operating voltage required by the first subsystem to execute the subtask.
It should be noted that, in the embodiment of the present application, based on the work task list reported by the first subsystem, expected voltages and durations corresponding to different subtasks may be determined. Wherein the duration may be an operating time during which the corresponding subtask is performed at the corresponding desired voltage. For example, table 1 is a work task list, and as shown in table 1, the work task list may be used to determine expected voltages and durations corresponding to four subtasks, respectively, where the expected voltage required to execute the subtask 1 is 0.4V, and the corresponding duration is 150 us; the desired voltage required to perform subtask 3 is 1V, corresponding to a duration of 100 us.
TABLE 1
Desired voltage (V) Duration (us)
Subtask 1 0.4 150
Subtask 2 0.7 500
Subtask 3 1 100
Subtask 4 0.7 350
Further, in the embodiment of the present application, the correspondence between the expected voltage and the expected frequency may be predetermined, that is, for one expected voltage, the corresponding expected frequency may be determined based on the correspondence between the expected voltage and the expected frequency. The corresponding relationship between the desired voltage and the desired frequency may be applicable to different subsystems, that is, the same corresponding relationship between the desired voltage and the desired frequency may be used by each of the subsystems in the DVFS management system. For example, table 2 shows the corresponding relationship between the expected voltage and the expected frequency, and as shown in table 2, if the operation frequency required for the subsystem to operate is 100MHz, the corresponding required voltage value is 0.4V, if the operation frequency required for the subsystem to operate is 500MHz, the corresponding required voltage value is 0.7V, and if the operation frequency required for the subsystem to operate is 1000MHz, the corresponding required voltage value is 1V.
TABLE 2
Desired frequency (MHz) Desired voltage (V)
100 0.4
…… ……
500 0.7
…… ……
1000 1
It can be understood that, in the embodiment of the present application, the work task list obtained by the DVFS management system and reported by the first subsystem may also represent the corresponding relationships between different subtasks and expected frequencies and durations, and may also represent the corresponding relationships between different subtasks and expected voltages, expected frequencies and durations.
Therefore, in the embodiment of the present application, the DVFS management system may determine the desired working frequency (desired voltage) by using the desired working voltage (desired frequency) in the working task list reported by the first subsystem. Thus, based on tables 1 and 2 above, one form of the work task list may be obtained as shown in table 3:
TABLE 3
Desired frequency (MHz) Desired voltage (V) Duration (us)
Subtask 1 100 0.4 150
Subtask 2 500 0.7 500
Subtask 3 1000 1 100
Subtask 4 500 0.7 350
It should be noted that, in the embodiment of the present application, the sub-system may further determine the duration corresponding to the sub-task according to the workload of the sub-task and the corresponding desired frequency. For example, the subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
It is understood that, in the embodiment of the present application, if the execution time corresponding to one or more sub-tasks received by the subsystem is T, the sum of the durations required by the subsystem to execute the one or more sub-tasks is T. For example, if a subsystem receives a 1000us task package including 4 subtasks, the duration of time that the subsystem executes the 4 subtasks may be 150us, 500us, 100us, 350us, respectively, for a total of 1000 us.
Further, in an embodiment of the present application, the DVFS management system may be further configured to adjust an execution order of the one or more subtasks according to a desired voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the desired voltage corresponding to each first subsystem.
It should be noted that, in the embodiment of the present application, after acquiring the desired voltage sent by the first subsystem in the next adjustment period, the DVFS management system may perform task scheduling processing based on the desired voltage, so as to complete adjustment of the execution order of one or more sub tasks.
It should be noted that, in the embodiment of the present application, based on fig. 4, the DVFS management system 12 may further include a calculation decision unit 122. In particular, the computational decision unit may be adapted to adjust the execution order of the one or more sub-tasks according to a desired voltage of each first sub-system in a next adjustment cycle.
Further, in an embodiment of the present application, the DVFS management system may be specifically configured to generate a plurality of task sequence combinations according to an expected voltage of each first subsystem in a next adjustment period; calculating a plurality of energy consumption parameters corresponding to a plurality of task sequence combinations; the execution order of one or more of the subtasks is adjusted based on a plurality of energy consumption parameters.
It is understood that, in the embodiment of the present application, at least one task order may be determined according to the execution time sequence for at least one sub-task of the first subsystem, for example, if the first subsystem has 2 corresponding sub-tasks, including sub-task 1 and sub-task 2, there are 2 task orders, that is, sub-task 1 is executed first and then sub-task 2 is executed, or sub-task 2 is executed first and then sub-task 1 is executed.
It should be noted that, in the embodiment of the present application, in each task sequence combination, different first subsystems execute corresponding sub-tasks in parallel, that is, different first subsystems do not affect each other when executing the sub-tasks.
It can be understood that, in the embodiment of the present application, the DVFS management system may first randomly combine different execution orders of different subtasks of all the first subsystems, determine a plurality of task order combinations, and then select an optimal target order combination from the plurality of task order combinations, where the optimal target order combination may be selected by referring to an energy consumption parameter, and finally, may adjust the execution order of one or more subtasks based on the optimal target order combination.
That is, in the embodiment of the present application, the adjustment of the execution order of one or more subtasks is determined by the DVFS management system based on the optimal combination result of the entire combination of the execution orders of all subtasks of all first subsystems, so that the entire system can achieve smaller power consumption.
It should be noted that, in the embodiment of the present application, the DVFS management system may be specifically configured to determine a corresponding relationship between a plurality of sets of expected voltages corresponding to a plurality of task sequence combinations and a duration; a plurality of energy consumption parameters may then be determined based on the plurality of sets of expected voltage to duration correspondences.
It can be understood that, in the embodiment of the present application, after the DVFS management system completes the free combination of the execution sequences of all the subtasks of the first subsystem and determines the multiple task sequence combinations, it may further calculate and obtain multiple energy consumption parameters corresponding to the multiple task sequence combinations. Specifically, the DVFS management system may first determine a correspondence between a plurality of sets of expected voltages corresponding to the plurality of task sequence combinations and the duration, respectively; and then determining a plurality of energy consumption parameters according to the corresponding relation between the plurality of groups of expected voltages and the duration time.
It should be noted that, in the embodiment of the present application, for each task sequence combination, the DVFS management system may determine, according to the expected voltage and the duration corresponding to each subtask, the voltage that can meet the work requirements of all the first subsystems in different time periods, so as to complete establishment of the corresponding relationship between a set of the expected voltages and the durations.
It can be understood that, in the embodiment of the present application, after determining the corresponding relationship between each group of expected voltage and duration corresponding to each task sequence combination, the DVFS management system may calculate the energy consumption parameter corresponding to each task sequence combination according to the corresponding relationship between each group of expected voltage and duration.
For example, in the embodiment of the present application, as shown in tables 4 and 5, for the two first subsystems, subsystem a and subsystem b, subsystem a corresponds to 3 subtasks, namely, subtask a1, subtask a2 and subtask a3, and subsystem b corresponds to 2 subtasks, namely, subtask b1 and subtask b 2.
TABLE 4
Desired frequency (MHz) Desired voltage (V) Duration (us)
Subtask a1 100 0.4 350
Subtask a2 500 0.7 300
Subtask a3 1000 1 350
TABLE 5
Desired frequency (MHz) Desired voltage (V) Duration (us)
Subtask b1 1000 0.4 450
Subtask b2 100 0.7 550
It is understood that, in the embodiment of the present application, based on the above table 4, the DVFS management system may determine that the subsystem a corresponds to 3! The sequence of the tasks is 3 × 2 or 6; based on Table 5 above, the DVFS management system can determine that subsystem b corresponds to 2! 2 x 1-2 task sequences. Thus, for the two first subsystems, subsystem a and subsystem b, the DVFS management system may determine that 6 × 2 — 12 task order combinations.
Further, in the embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations. For the task sequence of the subsystem a to be the task sequence combination of the subtask a1, the subtask a2, and the subtask a3, and the task sequence of the subsystem b to be the subtask b1, and the subtask b2, the DVFS management system needs to determine a corresponding relationship between a set of expected voltages and a duration corresponding to the task sequence combination.
For example, in the embodiment of the present application, fig. 5 is a first schematic diagram of task sequence combination, and as shown in fig. 5, the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000us) may be determined separately. Fig. 6 is a schematic diagram showing the correspondence relationship between the expected voltage and the duration, and as shown in fig. 6, based on fig. 5, the correspondence relationship between the expected voltage and the duration required by the task sequence combination can be determined by combining the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000 us).
It is understood that, in the embodiment of the present application, after the establishment of the correspondence relationship between the expected voltage and the duration corresponding to each task sequence combination is completed, the DVFS management system may further calculate a plurality of energy consumption parameters corresponding to a plurality of task sequence combinations.
Further, in an embodiment of the present application, the DVFS management system may be specifically configured to calculate and obtain an energy consumption parameter corresponding to each task sequence combination according to an expected voltage of each first subsystem in a next adjustment period, a correspondence between each group of expected voltages corresponding to each task sequence combination and a duration, and an energy consumption calculation model.
It is understood that in embodiments of the present application, the energy consumption calculation model may be used to estimate and predict the overall energy consumption of the first subsystem. For example, the DVFS management system may select a semiconductor dynamic energy consumption formula using the following formula (1) as the energy consumption calculation model:
Qi=V2×Ci×f×t (1)
wherein Qi represents the energy consumption of the subsystem i, V is the expected voltage, f is the expected power of operation, t is the duration, and Ci is the load capacitance. Specifically, for different subsystems, the value of Ci is fixed after the hardware design is completed, that is, each subsystem is correspondingly provided with fixed Ci.
That is, in the embodiment of the present application, for one task sequence combination, the DVFS management system calculates the energy consumption Qa of the subsystem a and the energy consumption Qb of the subsystem b based on the above formula (1) according to the expected voltages, corresponding expected voltages and corresponding durations of the subsystem a and the subsystem b in the next adjustment period, and then may use the sum of Qa and Qb as the overall energy consumption parameter Q corresponding to the task sequence combination.
Further, in an embodiment of the present application, the DVFS management system may be specifically configured to determine a task order combination corresponding to a minimum energy consumption parameter of the multiple energy consumption parameters as a target order combination; based on the target order combination, the DVFS management system adjusts an execution order of one or more of the subtasks.
It is understood that, in the embodiment of the present application, after the calculation of the energy consumption parameter corresponding to each task sequence combination is completed, the DVFS management system may further adjust the execution sequence of one or more sub-tasks according to the plurality of energy consumption parameters. Specifically, the DVFS management system may select a task order combination corresponding to a minimum energy consumption parameter of the plurality of energy consumption parameters to be determined as a target order combination; and then completing the adjustment of the execution sequence of one or more subtasks based on the target sequence combination.
It should be noted that, in the embodiment of the present application, the DVFS management system may select a task order combination corresponding to the minimum energy consumption parameter, and obtain an execution order of the subtasks corresponding to the first subsystem according to the task order combination, so that when each subsystem executes the subtasks according to the corresponding execution order, energy consumption of the entire system may be minimized.
For example, in the embodiment of the present application, if the task order combination corresponding to the minimum energy consumption parameter is: the task sequence of the subsystem a is sub-task a1, sub-task a2 and sub-task a3, and the task sequence of the subsystem b is sub-task b2 and sub-task b1, so that the subsystem a executes the sub-tasks according to the execution sequence of task a1, sub-task a2 and sub-task a3, and the subsystem b executes the sub-tasks according to the execution sequence of sub-task b2 and sub-task b 1.
Further, in the embodiment of the present application, based on fig. 4, the DVFS management system 12 may further include a voltage regulation control unit 123. Specifically, the voltage regulation control unit may be configured to configure the supply voltage received in the next regulation period according to the execution order of the regulated one or more subtasks and the expected voltage corresponding to each first subsystem.
It should be noted that, in the embodiment of the present application, based on fig. 4, the DVFS management system 12 may further include a high-speed data interface 124. In particular, the high speed data interface may be used to send a voltage adjustment request to the power management module. The voltage adjustment request is used for indicating the power management module to adjust the size of the power supply voltage.
It is understood that in the embodiments of the present application, the power management module may be used to provide a supply voltage for the baseband chip.
Further, in an embodiment of the present application, the voltage regulation control unit and the high-speed data interface configured by the DVFS management system may be used for generating and transmitting the voltage regulation request.
In an embodiment of the application, after adjusting the execution order of the one or more sub-tasks according to the expected voltage of each first subsystem in the next adjustment period, the DVFS management system may schedule the first subsystems to execute the different sub-tasks according to the adjusted execution order of the one or more sub-tasks and the expected voltage corresponding to each first subsystem. Specifically, the DVFS management system may complete the voltage adjustment process according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem, so that the supply voltage received in the next adjustment period may be configured.
Further, in the embodiment of the present application, when the first subsystem is scheduled to execute the subtasks, the DVFS management system may select to issue the adjusted execution order of the one or more subtasks to the corresponding first subsystem, so that the first subsystem may execute different subtasks according to the adjusted execution order of the one or more subtasks.
Further, in the embodiment of the present application, when performing the voltage adjustment process, the DVFS management system may first determine the supply voltages in different time periods according to the corresponding relationship between the expected voltages and the durations corresponding to the target sequence combinations, and then generate the voltage adjustment request according to the supply voltages in different time periods; a voltage adjustment request may then be sent to the power management module configured with the terminal device, such that the power management module may be caused to complete the voltage adjustment process based on the voltage adjustment request.
That is to say, in the embodiment of the present application, after determining an optimal target sequence combination from a plurality of task sequence combinations, on one hand, the DVFS management system may schedule the first subsystem to sequentially execute different sub-tasks according to an adjusted execution sequence of one or more sub-tasks of the first subsystem, which is obtained based on the target sequence combination; on the other hand, the DVFS management system also needs to combine the corresponding relationship between the expected voltage and the duration time according to the target sequence to adjust the working voltage of the system, so as to ensure that the supply voltage received by the system in the next adjustment period can meet the working requirements of the multiple subsystems.
It should be noted that, in the embodiment of the present application, when generating the voltage adjustment request according to the supply voltage in different time periods, the DVFS management system may select to perform the packing processing on the supply voltage in different time periods according to the preset compression format, so as to generate the corresponding voltage adjustment request.
It is understood that, in the embodiment of the present application, when sending the voltage adjustment request to the power management module, the DVFS management system may choose to send the voltage adjustment request to the power management module according to a preset interface format.
It should be noted that, in the embodiment of the present application, when the DVFS management system generates the voltage adjustment request according to the supply voltage in different time periods, the voltage regulation control unit may select to firstly perform the packing processing on the supply voltage in different time periods according to the preset compression format, so as to generate the voltage adjustment request, and then transmit the voltage adjustment request to the high-speed data interface, and then the high-speed data interface may send the voltage adjustment request to the power management module according to the preset interface format.
That is to say, in the embodiment of the present application, after the calculation decision unit in the DVFS Management System calculates the Power supply voltages in different time periods, the calculation decision unit may transmit the Power supply voltages in different time periods to the voltage regulation control unit, the voltage regulation control unit generates a voltage regulation request after packaging the Power supply voltages in different time periods according to a predetermined format (a predetermined compression format), and sends the voltage regulation request to the high-speed data Interface, and the high-speed data Interface may send the voltage regulation request to the Power Management module according to a physical Interface format (a predetermined Interface format) such as a System Power Management Interface (SPMI).
Further, in the embodiment of the present application, after receiving a voltage adjustment request sent by a baseband chip, a power management module in a terminal device may determine, based on the voltage adjustment request, corresponding supply voltages in different time periods, and then perform voltage adjustment processing according to the supply voltages in different time periods. Specifically, the power management module may control the real-time output voltage according to the supply voltages of different time periods.
It should be noted that, in the embodiment of the present application, fig. 7 is a schematic diagram of a power management module, and as shown in fig. 7, the power management module may include several parts, such as a high-speed communication interface, a control register, and a direct current converter (DCDC). After receiving the voltage adjustment request, the high-speed communication interface in the power management module can interpret and convert the voltage to obtain the supply voltage of the DCDC, and the output of the DCDC is controlled by adjusting the control register. Specifically, DCDC can make voltage adjustments at a rate of typically 20mV/us, which would take 5us if adjusted at 100 mV/us.
The embodiment of the application provides a baseband chip, which comprises a plurality of subsystems and a DVFS management system, wherein the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; the first subsystem is a subsystem for executing subtasks; each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may acquire an expected voltage in a next adjustment period of the subsystem, and determine an optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, and then may control the subsystem to perform processing of the subtasks according to the execution sequence, and at the same time, complete adjustment of the voltage, so that scheduling of the tasks and control of the voltage can be performed accurately, and power consumption of the system is further reduced effectively.
An embodiment of the present application provides a task scheduling method, which may be applied to a terminal device, where the terminal device may be configured with a baseband chip, and the baseband chip may include multiple subsystems and a DVFS management system.
In an embodiment of the present application, fig. 8 is a schematic view of a composition structure of a terminal device, and as shown in fig. 8, the terminal device may include a power management module, a radio frequency module, and a baseband chip, and the power management module may respectively supply power to the radio frequency module and the baseband chip. The baseband chip can comprise a plurality of subsystems, and the subsystems can work in the same voltage domain; the baseband chip may further include a DVFS management system, which may be used to perform a task scheduling process and a voltage adjustment process.
It should be noted that, in the embodiment of the present application, the DVFS management system may first issue one or more subtasks to one or more first subsystems of the multiple subsystems, respectively; the first subsystem is a subsystem for executing subtasks; then, each first subsystem may send the desired voltage in the next adjustment period to the DVFS management system according to the received subtasks; finally, the DVFS management system may adjust an execution order of the one or more subtasks according to a desired voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the desired voltage corresponding to each first subsystem.
It is understood that, in the embodiment of the present application, the DVFS management system may include a task management unit, where the task management unit may disassemble the received one or more tasks into one or more subtasks; the one or more subtasks may then be issued to one or more first subsystems of the plurality of subsystems, respectively.
Further, in an embodiment of the present application, the DVFS management system may include a calculation decision unit, wherein the calculation decision unit may adjust an execution order of the one or more subtasks according to a desired voltage of each first subsystem in a next adjustment period.
Further, in an embodiment of the present application, the DVFS management system may include a voltage regulation control unit, where the voltage regulation control unit may configure the supply voltage received in a next regulation period according to the execution order of the regulated one or more subtasks and the expected voltage corresponding to each first subsystem.
Further, in an embodiment of the present application, the DVFS management system may include a high-speed data interface, where the high-speed data interface may send a voltage adjustment request to the power management module; the power management module is used for providing power supply voltage for the baseband chip; the voltage adjustment request is used for instructing the power management module to adjust the size of the power supply voltage.
It should be noted that, in the embodiment of the present application, when adjusting the execution order of one or more sub-tasks according to the expected voltage of each first subsystem in the next adjustment period, the DVFS management system may first generate a plurality of task order combinations according to the expected voltage of each first subsystem in the next adjustment period; then, a plurality of energy consumption parameters corresponding to the combination of the task sequences can be calculated; finally, the execution sequence of one or more subtasks can be adjusted according to the plurality of energy consumption parameters.
Further, in the embodiment of the present application, when calculating a plurality of energy consumption parameters corresponding to a plurality of task sequence combinations, the DVFS management system may first determine a correspondence between a plurality of sets of expected voltages corresponding to the plurality of task sequence combinations and a duration; and then determining a plurality of energy consumption parameters according to the corresponding relation between the plurality of groups of expected voltages and the duration.
It can be understood that, in the embodiment of the present application, when a plurality of energy consumption parameters are determined according to a plurality of sets of correspondence relationships between expected voltages and durations, the DVFS management system may calculate and obtain an energy consumption parameter corresponding to each task order combination according to an expected voltage of each first subsystem in a next adjustment period, a correspondence relationship between each set of expected voltages and durations corresponding to each task order combination, and an energy consumption calculation model.
Further, in the embodiment of the present application, when the DVFS management system adjusts the execution sequence of one or more subtasks according to the multiple energy consumption parameters, a task sequence combination corresponding to a minimum energy consumption parameter of the multiple energy consumption parameters may be determined as a target sequence combination; and then adjusting the execution sequence of one or more subtasks based on the target sequence combination.
Fig. 9 is a schematic flow chart of implementing a task scheduling method, as shown in fig. 9, in an embodiment of the present application, a method for a terminal device to perform task scheduling may include the following steps:
step 101, after issuing one or more subtasks to a first subsystem, a DVFS management system acquires a work task list reported by the first subsystem; the work task list represents the corresponding relation between different subtasks in the next adjustment period and expected voltage and duration; the first subsystem is any of a plurality of subsystems.
In an embodiment of the present application, after issuing one or more subtasks to a first subsystem of the multiple subsystems, the DVFS management system may obtain a work task list reported by the first subsystem, so as to determine an expected voltage of the first subsystem in a next adjustment period according to the work task list.
It is understood that in the embodiments of the present application, the terminal device may be various electronic devices having a communication function, including, but not limited to, mobile electronic devices such as a mobile phone, a notebook computer, a Digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a vehicle-mounted electronic device (e.g., a car navigation electronic device), and the like, and fixed electronic devices such as a Digital Television (TV), a desktop computer, and the like.
It should be noted that, in the embodiment of the present application, the terminal device may include a power management module and a baseband chip, where the power management module and the baseband chip can communicate with each other, so that a request for adjusting a voltage and a feedback process can be implemented.
Further, in the embodiment of the present application, the baseband chip of the terminal device configuration may include a plurality of subsystems, wherein the plurality of subsystems may respectively perform tasks in the same voltage domain. The baseband chip configured by the terminal device may further include a DVFS management system, where the DVFS management system may communicate with the plurality of subsystems, respectively.
In the embodiment of the present application, the DVFS management system may be composed of a task management unit, a calculation decision unit, a voltage regulation control unit, and a high-speed data interface. The task management unit may identify one or more tasks of the baseband chip at present and in a future period of time (for example, 1000us), disassemble the one or more tasks of the baseband chip into one or more subtasks to be distributed to each subsystem, and collect a work task list in a next adjustment period of the subsystem fed back by different subsystems; the calculation decision unit can perform task scheduling processing according to expected voltages in the work task list of each subsystem, and completes adjustment of the execution sequence of one or more subtasks. The voltage regulation control unit can pack the power supply voltages in different time periods according to an agreed format and then sends the power supply voltages to the high-speed data interface; the high-speed data interface may then further send it to the power management module.
It should be noted that, in the embodiment of the present application, the first subsystem may be any subsystem in the multiple subsystems, that is, the DVFS management system may issue one or more subtasks to any multiple subsystems in all subsystems, and correspondingly, the DVFS management system may also receive the corresponding work task list reported by each subsystem in any multiple subsystems.
Further, in the embodiment of the present application, the work task list may represent the correspondence between different subtasks and expected voltages and durations in the next adjustment period. The work task list is in one-to-one correspondence with the first subsystems, namely one first subsystem reports one work task list correspondingly.
It is understood that, in the embodiments of the present application, the expected voltages corresponding to different subtasks in the first subsystem may predict the operating voltage required by the first subsystem to execute the subtask.
It should be noted that, in the embodiment of the present application, based on the work task list reported by the first subsystem, expected voltages and durations corresponding to different subtasks may be determined. Wherein the duration may be an operating time during which the corresponding subtask is performed at the corresponding desired voltage. For example, the above table 1 is a work task list, and as shown in table 1, the work task list may be used to determine the expected voltages and durations corresponding to the four subtasks, where the expected voltage required to execute the subtask 1 is 0.4V, and the corresponding duration is 150 us; the desired voltage required to perform subtask 3 is 1V, corresponding to a duration of 100 us. Further, in the embodiment of the present application, the correspondence between the expected voltage and the expected frequency may be predetermined, that is, for one expected voltage, the corresponding expected frequency may be determined based on the correspondence between the expected voltage and the expected frequency. The corresponding relationship between the desired voltage and the desired frequency may be applicable to different subsystems, that is, the same corresponding relationship between the desired voltage and the desired frequency may be used for each of the subsystems in the DVFS management system. For example, table 2 above shows the correspondence between the desired voltage and the desired frequency, and as shown in table 2, if the operating frequency required for the subsystem to operate is 100MHz, the voltage value required for the subsystem to operate is 0.4V, if the operating frequency required for the subsystem to operate is 500MHz, the voltage value required for the subsystem to operate is 0.7V, and if the operating frequency required for the subsystem to operate is 1000MHz, the voltage value required for the subsystem to operate is 1V. It can be understood that, in the embodiment of the present application, the work task list obtained by the DVFS management system and reported by the first subsystem may also represent the corresponding relationships between different subtasks and desired frequencies and durations, and may also represent the corresponding relationships between different subtasks and desired voltages, desired frequencies, and durations.
Therefore, in the embodiment of the present application, the DVFS management system may determine the desired working frequency (desired voltage) by using the desired working voltage (desired frequency) in the working task list reported by the first subsystem. Accordingly, based on the above tables 1 and 2, one form of the work task list can be obtained as the above table 3. It should be noted that, in the embodiment of the present application, the sub-system may further determine the duration corresponding to the sub-task according to the workload of the sub-task and the corresponding desired frequency. For example, the subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
And 102, the DVFS management system performs task scheduling processing based on the work task list, and determines a target task sequence corresponding to the first subsystem.
In the embodiment of the present application, after issuing one or more subtasks to the first subsystem and acquiring the work task list in the next adjustment period reported by the first subsystem, the DVFS management system may perform task scheduling processing based on the work task list, so as to determine the target task sequence corresponding to the first subsystem.
It is understood that, in the embodiment of the present application, for at least one sub-task of the first subsystem, at least one task order may be determined according to the execution time sequence, for example, if the first subsystem corresponds to 2 sub-tasks, including sub-task 1 and sub-task 2, there are 2 task orders, that is, sub-task 1 is executed first and then sub-task 2 is executed, or sub-task 2 is executed first and then sub-task 1 is executed.
Further, in the embodiment of the present application, the target task sequence corresponding to the first subsystem may be one of at least one task sequence corresponding to the first subsystem.
It should be noted that, in the embodiment of the present application, when the DVFS management system performs task scheduling processing based on the work task list and determines the target task order corresponding to the first subsystem, a plurality of task order combinations may be generated according to all the work task lists of all the first subsystems; then, calculating a plurality of energy consumption parameters corresponding to the combination of the task sequences; and finally, determining the target task sequence corresponding to the first subsystem according to the plurality of energy consumption parameters.
It should be noted that, in the embodiment of the present application, in each task sequence combination, different first subsystems execute corresponding sub-tasks in parallel, that is, different first subsystems do not affect each other when executing the sub-tasks.
It can be understood that, in the embodiment of the present application, the DVFS management system may first perform random combination on different execution sequences of different subtasks of all the first subsystems, to determine a plurality of task sequence combinations, and then select an optimal target sequence combination from the plurality of task sequence combinations, where the optimal target sequence combination may be selected by using the energy consumption parameter as a reference, and finally, may determine the target task sequence corresponding to each subsystem based on the optimal target sequence combination.
That is to say, in the embodiment of the present application, the target task order of the first subsystem is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution orders of all the subtasks of all the first subsystems, and each first subsystem executes the subtasks according to the corresponding target task order, which may enable the overall system to achieve lower power consumption.
Further, in the embodiment of the present application, after the DVFS management system completes free combination of the execution sequences of all the subtasks of the first subsystem and determines a plurality of task sequence combinations, a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations may be further obtained through calculation. Specifically, the DVFS management system may determine, according to all the work task lists, correspondence between a plurality of sets of expected voltages corresponding to the plurality of task sequence combinations and the duration, respectively; and then determining a plurality of energy consumption parameters according to the corresponding relation between the plurality of groups of expected voltages and the duration time.
It should be noted that, in the embodiment of the present application, for each task sequence combination, the DVFS management system may determine, according to the expected voltage and the duration corresponding to each subtask in the work task list, the voltage that can meet the work requirements of all the first subsystems in different time periods, so as to complete the establishment of the corresponding relationship between a corresponding set of expected voltages and the duration.
It can be understood that, in the embodiment of the present application, after determining the correspondence between each set of expected voltage and duration corresponding to each task sequence combination, the DVFS management system may calculate the energy consumption parameter corresponding to each task sequence combination according to the correspondence between each set of expected voltage and duration.
For example, in the embodiment of the present application, for two first subsystems, namely, subsystem a and subsystem b, table 4 is a work task list of subsystem a, and table 5 is a work task list of subsystem b, where subsystem a corresponds to 3 subtasks, respectively, subtask a1, subtask a2, and subtask a3, and subsystem b corresponds to 2 subtasks, respectively, subtask b1 and subtask b 2. It is understood that, in the embodiment of the present application, based on the above table 4, the DVFS management system may determine that the subsystem a corresponds to 3! The sequence of the tasks is 3 × 2 or 6; based on Table 5 above, the DVFS management system can determine that subsystem b corresponds to 2! 2 x 1-2 task sequences. Thus, for the two first subsystems, subsystem a and subsystem b, the DVFS management system may determine that 6 × 2 — 12 task order combinations.
Further, in the embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations. The task sequence of the subsystem a is sub-task a1, sub-task a2 and sub-task a3, the task sequence of the subsystem b is a task sequence combination of sub-task b1 and sub-task b2, and the DVFS management system needs to determine a corresponding relationship between a group of expected voltages and a duration corresponding to the task sequence combination according to the work task lists of the subsystem a and the subsystem b.
It is understood that, in the embodiment of the present application, after the establishment of the correspondence relationship between the expected voltage and the duration corresponding to each task sequence combination is completed, the DVFS management system may further calculate a plurality of energy consumption parameters corresponding to a plurality of task sequence combinations.
Further, in the embodiment of the present application, when the DVFS management system determines a plurality of energy consumption parameters according to the correspondence between a plurality of sets of expected voltages and durations, for one task sequence combination, the DVFS management system may calculate and obtain the energy consumption parameter corresponding to the task sequence combination according to all the work task lists, the correspondence between the expected voltages and the durations corresponding to the task sequence combination, and the energy consumption calculation model.
It is understood that in embodiments of the present application, the energy consumption calculation model may be used to estimate and predict the overall energy consumption of the first subsystem. For example, the DVFS management system may choose to use a semiconductor dynamic energy consumption formula as shown in the above formula (1) as the energy consumption calculation model.
That is, in the embodiment of the present application, for one task sequence combination, after the DVFS management system obtains the energy consumption Qa of the subsystem a and the energy consumption Qb of the subsystem b by calculating the corresponding relationship between the expected voltage and the duration according to the working task lists of the subsystems a and b based on the above formula (1), the sum of Qa and Qb may be used as the overall energy consumption parameter Q corresponding to the task sequence combination.
It is understood that, in the embodiment of the present application, after the calculation of the energy consumption parameter corresponding to each task order combination is completed, the DVFS management system may further determine the target task order corresponding to the first subsystem according to the plurality of energy consumption parameters. Specifically, the DVFS management system may select a task order combination corresponding to a minimum energy consumption parameter of the plurality of energy consumption parameters to be determined as a target order combination; and then determining the target task sequence corresponding to each first subsystem based on the target sequence combination.
It should be noted that, in the embodiment of the present application, the DVFS management system may select a task order combination corresponding to the minimum energy consumption parameter, and obtain the target task order corresponding to the first subsystem according to the task order combination, so that each subsystem may minimize energy consumption of the entire system when executing the subtasks according to the corresponding target task order.
For example, in the embodiment of the present application, if the task order combination corresponding to the minimum energy consumption parameter is: the task sequence of the subsystem a is sub-task a1, sub-task a2 and sub-task a3, the task sequence of the subsystem b is sub-task b2 and sub-task b1, then the target task sequence corresponding to the subsystem a is task a1, sub-task a2 and sub-task a3, and the target task sequence corresponding to the subsystem b is sub-task b2 and sub-task b 1.
And step 103, the DVFS management system schedules the first subsystem to execute different subtasks according to the target task sequence, and meanwhile, the DVFS management system performs voltage adjustment processing.
In the embodiment of the application, after performing task scheduling processing based on the work task list and determining the target task sequence corresponding to the first subsystem, the DVFS management system may schedule the first subsystem to execute different subtasks according to the target task sequence, and meanwhile, the DVFS management system may also perform voltage adjustment processing.
Further, in the embodiment of the present application, when the first subsystem is scheduled to execute the subtasks according to the target task order, the DVFS management system may select to issue the target task order to the corresponding first subsystem, so that the first subsystem may execute different subtasks according to the target task order.
Further, in the embodiment of the present application, when performing the voltage adjustment process, the DVFS management system may first determine the supply voltages in different time periods according to the corresponding relationship between the expected voltages and the durations corresponding to the target sequence combinations, and then generate the voltage adjustment request according to the supply voltages in different time periods; a voltage adjustment request may then be sent to the power management module configured with the terminal device, such that the power management module may be caused to complete the voltage adjustment process based on the voltage adjustment request.
That is to say, in the embodiment of the present application, after determining an optimal target sequence combination from a plurality of task sequence combinations, on one hand, the DVFS management system may schedule the first subsystem to sequentially execute different subtasks according to a target task sequence of the first subsystem obtained based on the target sequence combination; on the other hand, the DVFS management system also needs to combine the corresponding relationship between the expected voltage and the duration according to the target sequence to adjust the working voltage of the system, so as to ensure that the working voltage of the system can meet the working requirements of the multiple subsystems.
It should be noted that, in the embodiment of the present application, when generating the voltage adjustment request according to the supply voltage in different time periods, the DVFS management system may select to perform the packing processing on the supply voltage in different time periods according to the preset compression format, so as to generate the corresponding voltage adjustment request.
It is understood that, in the embodiment of the present application, when sending the voltage adjustment request to the power management module, the DVFS management system may choose to send the voltage adjustment request to the power management module according to a preset interface format.
Further, in an embodiment of the present application, the DVFS management system may further be configured with a voltage regulation control unit and a high speed data interface, where the voltage regulation control unit and the high speed data interface may be used for generation and transmission of the voltage regulation request.
It should be noted that, in the embodiment of the present application, when the DVFS management system generates the voltage adjustment request according to the supply voltage in different time periods, the voltage regulation control unit may select to firstly perform the packing processing on the supply voltage in different time periods according to the preset compression format, so as to generate the voltage adjustment request, and then transmit the voltage adjustment request to the high-speed data interface, and then the high-speed data interface may send the voltage adjustment request to the power management module according to the preset interface format.
That is to say, in the embodiment of the present application, after the calculation decision unit in the DVFS management system calculates the power supply voltages in different time periods, the calculation decision unit may transmit the power supply voltages in different time periods to the voltage regulation control unit, the voltage regulation control unit generates a voltage regulation request after packing the power supply voltages in different time periods according to a convention format (a preset compression format), and sends the voltage regulation request to the high-speed data interface, and the high-speed data interface may send the voltage regulation request to the power supply management module according to a physical interface format (a preset interface format) such as the system power supply management interface SPMI.
Further, in the embodiment of the present application, after receiving a voltage adjustment request sent by a baseband chip, a power management module in a terminal device may determine, based on the voltage adjustment request, corresponding supply voltages in different time periods, and then perform voltage adjustment processing according to the supply voltages in different time periods. Specifically, the power management module may control the real-time output voltage according to the supply voltages of different time periods.
In an embodiment of the present application, the method for scheduling a task by a terminal device may further include the following steps:
step 104, the DVFS management system determines one or more tasks of the baseband chip.
Step 105, the DVFS management system disassembles one or more tasks of the baseband chip to obtain one or more subtasks.
In an embodiment of the present application, the DVFS management system may determine one or more tasks of the baseband chip first, and then may perform a disassembling process on the one or more tasks of the baseband chip, so as to generate a plurality of one or more subtasks, where the one or more subtasks may be issued to different subsystems by the DVFS management system.
It is understood that, in the embodiments of the present application, the DVFS management system may identify one or more tasks of the baseband chip according to the traffic type of the traffic to be performed by the baseband part currently and for a future period of time (e.g., 1000 us). The service type may include a download service, a transmission service, and the like.
Further, in the embodiment of the present application, the first subsystem in the baseband chip configured in the terminal device may also perform decomposition processing on one or more subtasks, so that the subtasks of the first subsystem, which are required to be executed by the first subsystem and correspond to the one or more subtasks, may be obtained.
In an embodiment of the application, the first subsystem may determine a desired voltage corresponding to each subtask, and a time required to execute the subtask, that is, a duration, and then may establish a work task list corresponding to the first subsystem based on a correspondence between the subtask and the desired voltage and the duration.
Further, in the embodiment of the present application, the first subsystem may predict a voltage required when the subtask is executed, so as to determine a desired voltage corresponding to the subtask. Specifically, the first subsystem may first determine a desired frequency corresponding to the execution of the subtasks, and then further determine a corresponding desired voltage using the desired frequency. Wherein the desired frequency required by the first subsystem may be different and, correspondingly, the desired voltage required may be different when performing different subtasks.
Another embodiment of the present application provides a task scheduling method, where the task scheduling method is applied to a terminal device, and the terminal device may include a power management module, a radio frequency module, and a baseband chip, and the power management module may respectively supply power to the radio frequency module and the baseband chip.
Further, in an embodiment of the present application, the baseband chip in the terminal device may include a plurality of subsystems and a DVFS management system. Wherein, a plurality of subsystems can work under the same voltage domain; the DVFS management system may be used to perform a task scheduling process and a voltage adjustment process.
Fig. 10 is a schematic diagram illustrating a second composition structure of a baseband chip, as shown in fig. 10, the baseband chip includes n subsystems (n is an integer greater than 1) in the same voltage domain, and a DVFS management system. Specifically, the DVFS management system may include a task management unit, a calculation decision unit, a voltage regulation control unit, and a high-speed data interface.
It should be noted that, in the embodiment of the present application, in the same voltage domain, each sub-system may decompose and confirm each sub-task and its corresponding frequency requirement after a period of time (in a next adjustment period) in the future according to its current working state and task, and then may determine the corresponding voltage requirement, and finally may vote for each expected voltage value after a period of time, that is, the expected voltage, and at the same time, may also predict the working time required for executing each sub-task, and determine the corresponding duration, and then may establish the corresponding relationship between each sub-task in the first sub-system and the expected voltage and the duration. As shown in table 1 above, for each of the 4 subtasks, the subsystem can predict the desired voltage and duration required to execute the subtask.
It is understood that in the embodiments of the present application, the execution order of the subsystems has no dependency relationship for different subtasks, that is, the subsystems may execute different subtasks in any order. There is a fixed correspondence between the desired frequency and the desired voltage for any one of the subtasks, and the duration of the subtask may be determined by the quotient of the amount of subtask work and the corresponding desired frequency.
Further, in the embodiment of the present application, in addition to the disassembling and allocating of one or more tasks of the baseband chip, the task management unit may be further responsible for collecting a work task list in a next adjustment period, which is fed back by each subsystem, so that the calculation decision unit may further complete task scheduling and voltage adjustment processing according to an expected voltage in the obtained work task list.
That is to say, in the embodiment of the present application, after obtaining a plurality of work task lists fed back by a plurality of subsystems (first subsystems), the task management unit in the DVFS management system may transmit the plurality of work task lists to the calculation decision unit, and then the calculation decision unit performs subsequent processing according to the plurality of work task lists.
Further, in an embodiment of the present application, fig. 11 is a schematic diagram of an implementation flow of a task scheduling method, and as shown in fig. 11, the method for the terminal device to perform task scheduling may further include the following steps:
step 201, the DVFS management system disassembles one or more tasks of the baseband chip to obtain one or more subtasks.
Step 202, the DVFS management system issues one or more subtasks to the first subsystem.
In an embodiment of the present application, a task management unit in the DVFS management system may first identify one or more tasks of a baseband chip according to a service type of a service to be executed by a current baseband portion and a service type of a service to be executed by a future baseband portion (e.g., 1000us), then perform a disassembly process on the one or more tasks of the baseband chip to obtain corresponding one or more subtasks, and then may issue the one or more subtasks to different first subsystems, respectively.
And 203, the first subsystem generates a corresponding work task list according to one or more subtasks.
In the embodiment of the present application, after receiving one or more subtasks issued by the DVFS management system, the first subsystem may determine, based on the one or more subtasks, an expected voltage and a duration corresponding to each subtask, and may finally establish a work task list according to a correspondence between the subtasks and the expected voltage and the duration.
It will be appreciated that in embodiments of the present application, the work task list may determine a desired voltage, duration, required by the corresponding subsystem in performing a subtask.
And step 204, the first subsystem sends the corresponding work task list to the DVFS management system.
In an embodiment of the present application, after the task management unit in the DVFS management system obtains the plurality of work task lists fed back by the first subsystem, the plurality of work task lists may be transmitted to the calculation decision unit, and the calculation decision unit performs subsequent processing according to the plurality of work task lists.
Step 205, the DVFS management system generates a plurality of task order combinations based on the work task list.
In an embodiment of the present application, the computation decision unit in the DVFS management system may generate a plurality of task order combinations according to all the work task lists of all the first subsystems. In each task sequence combination, different first subsystems execute corresponding subtasks in parallel, namely the different first subsystems do not influence each other when executing the subtasks.
It is understood that, in the embodiment of the present application, the computation decision unit in the DVFS management system may first randomly combine different execution orders of different subtasks of all the first subsystems to determine a plurality of task order combinations.
Step 206, the DVFS management system calculates and determines a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations.
In an embodiment of the present application, a calculation decision unit in the DVFS management system may calculate a plurality of energy consumption parameters corresponding to a plurality of task sequence combinations, respectively. Specifically, the corresponding relationship between the multiple sets of expected voltages and the duration corresponding to the multiple task sequence combinations may be determined according to all the work task lists; and then respectively determining a plurality of energy consumption parameters according to the corresponding relation between the plurality of groups of expected voltages and the duration.
Further, in the embodiment of the present application, when a plurality of energy consumption parameters are determined according to a plurality of sets of correspondence between expected voltages and durations, for one task sequence combination, the DVFS management system may calculate and obtain the energy consumption parameter corresponding to the task sequence combination according to all the work task lists, the correspondence between the expected voltages and the durations corresponding to the task sequence combination, and the energy consumption calculation model.
And step 207, determining a target sequence combination according to the plurality of energy consumption parameters by the DVFS management system.
In an embodiment of the present application, a calculation decision unit in the DVFS management system may determine a target task sequence corresponding to the first subsystem according to the multiple energy consumption parameters.
It is understood that, in the embodiment of the present application, after the calculation of the energy consumption parameter corresponding to each task order combination is completed, the task order combination corresponding to the smallest energy consumption parameter in the plurality of energy consumption parameters may be selected to be determined as the target order combination.
And step 208, the DVFS management system determines the target task sequence of the first subsystem according to the target sequence combination.
In an embodiment of the present application, the calculation decision unit in the DVFS management system may determine a target task order corresponding to each first subsystem based on the target order combination. Therefore, when each subsystem respectively executes the subtasks according to the corresponding target task sequence, the energy consumption of the whole system can be minimized.
Step 209, the DVFS management system generates a voltage adjustment request according to the correspondence between the desired voltage and the duration corresponding to the target sequence combination.
In an embodiment of the present application, the DVFS management system may first determine the supply voltages of different time periods according to the corresponding relationship between the desired voltages and the durations corresponding to the target sequence combinations, and then generate the voltage adjustment request according to the supply voltages of different time periods.
It should be noted that, in the embodiment of the present application, when generating the voltage adjustment request according to the supply voltages in different time periods, the voltage regulation control unit in the DVFS management system may select to perform a packing process on the supply voltages in different time periods according to a preset compression format, generate the voltage adjustment request, and then transmit the voltage adjustment request to the high-speed data interface.
Step 210, the DVFS management system sends the target tasks to the first subsystem in sequence.
In the embodiment of the present application, the DVFS management system may select to issue the target task sequence to the corresponding first subsystem, so that the first subsystem may execute different subtasks according to the target task sequence.
In step 211, the DVFS management system sends a voltage adjustment request to the power management module.
In an embodiment of the present application, the DVFS management system may then send a voltage adjustment request to a power management module configured with the terminal device, so that the power management module may complete the voltage adjustment process based on the voltage adjustment request.
It should be noted that, in the embodiment of the present application, after the voltage regulation control unit in the DVFS transmits the voltage regulation request to the high-speed data interface, the high-speed data interface in the DVFS may send a transmission voltage regulation request to the power management module according to a preset interface format.
And step 212, the first subsystem executes the subtasks according to the target task sequence.
Step 213, the power management module performs a voltage adjustment process according to the voltage adjustment request.
In the embodiment of the application, after receiving a voltage adjustment request sent by a baseband chip, a power management module in a terminal device may determine corresponding supply voltages in different time periods based on the voltage adjustment request, and then perform voltage adjustment processing according to the supply voltages in different time periods. Specifically, the power management module may control the real-time output voltage according to the supply voltages of different time periods.
Further, in the embodiment of the present application, assuming that the task management unit in the DVFS management acquires the work task lists of the first subsystems (subsystem a and subsystem b) as in tables 4 and 5 above, respectively, for the two first subsystems, the calculation decision unit in the DVFS management system may determine 12 task order combinations. Then, when calculating the energy consumption parameter corresponding to each task sequence combination, the calculation decision unit may determine a corresponding relationship between a group of expected voltages corresponding to each task sequence combination and the duration, and at the same time, needs to determine the load capacitance C corresponding to each subsystem.
For example, for task order combination 1: the task sequence of the subsystem a is sub-task a1, sub-task a2 and sub-task a3, the task sequence of the subsystem b is sub-task b1 and sub-task b2, and based on fig. 5, the correspondence between the desired voltage and the duration required by the task sequence combination can be determined by combining the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000 us).
Accordingly, in the embodiment of the present application, table 6 is a first energy consumption calculation parameter table, as shown in table 6, for the task sequence combination, based on the corresponding relationship between the set of expected voltages and the durations, the load capacitance C corresponding to each subsystem and the energy consumption calculation model as shown in the above formula (1), the energy consumption parameter corresponding to the task sequence combination can be calculated to be 979880.
TABLE 6
Figure BDA0003500295990000221
Further, in the embodiment of the present application, for task order combination 2: the task sequence of the subsystem a is sub-task a1, sub-task a2 and sub-task a3, the task sequence of the subsystem b is sub-task b2 and sub-task b1, fig. 12 is a schematic diagram two of task sequence combination, and as shown in fig. 12, the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000us) can be respectively determined based on the work task list. Fig. 13 is a second diagram illustrating the correspondence relationship between the expected voltage and the duration, and as shown in fig. 13, based on fig. 12, the correspondence relationship between the expected voltage and the duration required by the task sequence combination can be determined by combining the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000 us).
Correspondingly, in the embodiment of the present application, table 7 is an energy consumption calculation parameter table two, and as shown in table 7, for the task order combination, based on the corresponding relationship between the set of expected voltages and the duration, the load capacitance C corresponding to each subsystem and the energy consumption calculation model as shown in the above formula (1), the energy consumption parameter corresponding to the task order combination can be calculated to be 921080.
TABLE 7
Figure BDA0003500295990000231
It can be seen that by adjusting the task order, the task combination order 2 shown in table 7 can reduce the energy consumption by 6.38% compared to the task combination order 1 shown in table 6.
Further, in an embodiment of the present application, fig. 14 is a third schematic diagram illustrating a correspondence relationship between expected voltages and durations, as shown in fig. 14, system power supply policy voltage waveforms of a task combination sequence 1 and a task combination sequence 2 may be compared, and if it is finally determined that the task combination sequence 2 is a target sequence combination of 12 task sequence combinations, the DVFS management system may perform voltage adjustment processing according to the correspondence relationship between the expected voltages and the durations of the task combination sequence 2, and simultaneously send corresponding target task sequences to the subsystem a and the subsystem b based on the task combination sequence 2, so that the first subsystem executes sub-tasks according to the corresponding target task sequences.
The embodiment of the application provides a task scheduling method, which is applied to terminal equipment, wherein the terminal equipment is provided with a baseband chip, and the baseband chip comprises a plurality of subsystems and a DVFS (dynamic video frequency system) management system, wherein the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; the first subsystem is a subsystem for executing subtasks; each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure the supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may acquire an expected voltage in a next adjustment period of the subsystem, and determine an optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, and then may control the subsystem to perform processing of the subtasks according to the execution sequence, and at the same time, complete adjustment of the voltage, so that scheduling of the tasks and control of the voltage can be performed accurately, and power consumption of the system is further reduced effectively.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (19)

1. A baseband chip comprising a plurality of subsystems and a DVFS management system, wherein,
the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the subsystems; the first subsystem is a subsystem for executing the subtasks;
each first subsystem is used for sending expected voltage in the next regulation period to the DVFS management system according to the received subtasks;
the DVFS management system is further configured to adjust an execution order of the one or more subtasks according to an expected voltage of each first subsystem in a next adjustment period, and configure a supply voltage received in the next adjustment period according to the adjusted execution order of the one or more subtasks and the expected voltage corresponding to each first subsystem.
2. The baseband chip according to claim 1, wherein the DVFS management system includes a task management unit,
the task management unit is used for disassembling the received one or more tasks into one or more subtasks; and respectively issuing the one or more subtasks to one or more first subsystems in the plurality of subsystems.
3. The baseband chip of claim 1, wherein the DVFS management system includes a calculation decision unit,
and the calculation decision unit is used for adjusting the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period.
4. The baseband chip according to claim 1, wherein the DVFS management system includes a voltage regulation control unit,
and the voltage regulation control unit is used for configuring the power supply voltage received in the next regulation period according to the regulated execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
5. The baseband chip of claim 1, wherein said DVFS management system includes a high speed data interface,
the high-speed data interface is used for sending a voltage adjustment request to the power management module; the power management module is used for providing the power supply voltage for the baseband chip; the voltage adjustment request is used for instructing the power management module to adjust the size of the power supply voltage.
6. The baseband chip according to claim 1,
the DVFS management system is specifically configured to generate a plurality of task sequence combinations according to an expected voltage of each first subsystem in a next adjustment period; calculating a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations; adjusting an execution order of the one or more subtasks according to the plurality of energy consumption parameters.
7. The baseband chip according to claim 6,
the DVFS management system is specifically configured to determine a correspondence between a plurality of sets of expected voltages corresponding to the plurality of task sequence combinations and the duration; and determining the energy consumption parameters according to the corresponding relation between the multiple groups of expected voltages and the duration.
8. The baseband chip according to claim 7,
the DVFS management system is specifically configured to calculate, according to the expected voltage of each first subsystem in the next adjustment period, the correspondence between each group of expected voltages corresponding to each task sequence combination and the duration, and an energy consumption calculation model, to obtain an energy consumption parameter corresponding to each task sequence combination.
9. The baseband chip according to claim 6,
the DVFS management system is specifically configured to determine a task order combination corresponding to a minimum energy consumption parameter of the plurality of energy consumption parameters as a target order combination; based on the target order combination, the DVFS management system adjusts an order of execution of the one or more subtasks.
10. A task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, the baseband chip includes a plurality of subsystems and a DVFS management system, and the method includes:
the DVFS management system respectively issues one or more subtasks to one or more first subsystems in the subsystems; wherein the first subsystem is a subsystem for executing the subtasks;
each first subsystem sends expected voltage in the next regulation period to the DVFS management system according to the received subtasks;
and the DVFS management system regulates the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next regulation period, and configures the supply voltage received in the next regulation period according to the regulated execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
11. The method of claim 10, wherein the DVFS management system includes a task management unit,
the task management unit disassembles the received one or more tasks into one or more subtasks; and respectively issuing the one or more subtasks to one or more first subsystems in the plurality of subsystems.
12. The method of claim 10, wherein the DVFS management system comprises a computational decision unit,
and the calculation decision unit adjusts the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period.
13. The method of claim 10, wherein the DVFS management system comprises a voltage regulation control unit,
and the voltage regulating control unit configures the power supply voltage received in the next regulation period according to the regulated execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
14. The method of claim 10, wherein the DVFS management system includes a high speed data interface,
the high-speed data interface sends a voltage adjustment request to the power management module; the power management module is used for providing the power supply voltage for the baseband chip; the voltage adjustment request is used for instructing the power management module to adjust the size of the power supply voltage.
15. The method of claim 10, wherein the DVFS management system adjusts an execution order of the one or more subtasks according to a desired voltage of the each first subsystem in a next scaling cycle, comprising:
the DVFS management system generates a plurality of task sequence combinations according to the expected voltage of each first subsystem in the next adjusting period;
the DVFS management system calculates a plurality of energy consumption parameters corresponding to the task sequence combinations;
and the DVFS management system adjusts the execution sequence of the one or more subtasks according to the plurality of energy consumption parameters.
16. The method of claim 15, wherein the DVFS management system calculates a plurality of energy consumption parameters corresponding to the plurality of task order combinations, comprising:
the DVFS management system determines the corresponding relation between a plurality of groups of expected voltages and duration time corresponding to the task sequence combinations;
and the DVFS management system determines the energy consumption parameters according to the corresponding relation between the multiple groups of expected voltages and the duration.
17. The method of claim 16, wherein the DVFS management system determines the plurality of energy consumption parameters based on the plurality of sets of expected voltage to duration correspondences, comprising:
and the DVFS management system calculates and obtains the energy consumption parameter corresponding to each task sequence combination according to the expected voltage of each first subsystem in the next adjustment period, the corresponding relation between each group of expected voltages corresponding to each task sequence combination and the duration and an energy consumption calculation model.
18. The method of claim 15, wherein the DVFS management system adjusts an execution order of the one or more subtasks according to the plurality of energy consumption parameters, comprising:
the DVFS management system determines a task sequence combination corresponding to the minimum energy consumption parameter in the energy consumption parameters as a target sequence combination;
based on the target order combination, the DVFS management system adjusts an order of execution of the one or more subtasks.
19. A terminal device, characterized in that the terminal device comprises: a power management module and a baseband chip as claimed in claims 1 to 9, the power management module being configured to supply power to the baseband chip.
CN202210125458.4A 2022-02-10 2022-02-10 Baseband chip, task scheduling method and terminal equipment Active CN114546096B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210125458.4A CN114546096B (en) 2022-02-10 2022-02-10 Baseband chip, task scheduling method and terminal equipment
PCT/CN2022/143467 WO2023151414A1 (en) 2022-02-10 2022-12-29 Baseband chip, task scheduling method, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210125458.4A CN114546096B (en) 2022-02-10 2022-02-10 Baseband chip, task scheduling method and terminal equipment

Publications (2)

Publication Number Publication Date
CN114546096A true CN114546096A (en) 2022-05-27
CN114546096B CN114546096B (en) 2024-02-06

Family

ID=81674288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210125458.4A Active CN114546096B (en) 2022-02-10 2022-02-10 Baseband chip, task scheduling method and terminal equipment

Country Status (2)

Country Link
CN (1) CN114546096B (en)
WO (1) WO2023151414A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023151414A1 (en) * 2022-02-10 2023-08-17 Oppo广东移动通信有限公司 Baseband chip, task scheduling method, and terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298536A (en) * 2014-10-09 2015-01-21 南京大学镇江高新技术研究院 Dynamic frequency modulation and pressure adjustment technology based data center energy-saving dispatching method
CN107122232A (en) * 2017-03-27 2017-09-01 中央电视台 Multimedia task processing device and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904287B2 (en) * 2007-11-13 2011-03-08 International Business Machines Corporation Method and system for real-time prediction of power usage for a change to another performance state
CN108170257A (en) * 2018-03-21 2018-06-15 苏州芯算力智能科技有限公司 A kind of Dynamic voltage scaling system and method for adjustment
US10775424B2 (en) * 2018-08-31 2020-09-15 Micron Technology, Inc. Capacitive voltage divider for monitoring multiple memory components
CN114527819B (en) * 2022-02-10 2024-09-13 Oppo广东移动通信有限公司 Baseband chip, voltage adjustment method and terminal equipment
CN114546096B (en) * 2022-02-10 2024-02-06 Oppo广东移动通信有限公司 Baseband chip, task scheduling method and terminal equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298536A (en) * 2014-10-09 2015-01-21 南京大学镇江高新技术研究院 Dynamic frequency modulation and pressure adjustment technology based data center energy-saving dispatching method
CN107122232A (en) * 2017-03-27 2017-09-01 中央电视台 Multimedia task processing device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023151414A1 (en) * 2022-02-10 2023-08-17 Oppo广东移动通信有限公司 Baseband chip, task scheduling method, and terminal device

Also Published As

Publication number Publication date
WO2023151414A1 (en) 2023-08-17
CN114546096B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
Liu et al. Delay-optimal computation task scheduling for mobile-edge computing systems
Qu What is the limit of energy saving by dynamic voltage scaling?
US7664971B2 (en) Controlling power supply in a multi-core processor
CN114527819B (en) Baseband chip, voltage adjustment method and terminal equipment
CN112988362B (en) Task processing method and device, electronic equipment and storage medium
CN111625080B (en) Server energy saving method and device, electronic equipment and storage medium
EP3049881B1 (en) Dynamic switching frequency control of an on-chip or integrated voltage regulator
CN107797644A (en) A kind of SOC dynamic voltage frequency adjusts implementation method
CN104820618B (en) A kind of method for scheduling task, task scheduling apparatus and multiple nucleus system
KR101655030B1 (en) Dynamic voltage frequency scaling method using slack-distribution based on task-characteristics, execution program thereof method and recorded medium of the program
Raghunathan et al. Adaptive power-fidelity in energy-aware wireless embedded systems
KR20110064858A (en) Power management apparatus and its method, power control system
CN114546096B (en) Baseband chip, task scheduling method and terminal equipment
Xiang et al. Run-time management for multicore embedded systems with energy harvesting
CN113572158B (en) Hydrogen production control method and application device thereof
CN105320244A (en) Input-output device management using dynamic clock frequency
Qu Power management of multicore multiple voltage embedded systems by task scheduling
Ren et al. Joint design of dynamic scheduling and pricing in wireless cloud computing
Jiang et al. Energy-saving service scheduling for low-end cyber-physical systems
Liu et al. Improving performance of mobile interactive data-streaming applications with multiple cloudlets
Cui et al. Uploading multiply deferrable big data to the cloud platform using cost-effective online algorithms
Naik et al. RT-DVS for power optimization in multiprocessor real-time systems
CN103580099A (en) Power management
HajiKhodaverdian et al. Reinforcement Learning-Based Task Scheduling Using DVFS Techniques in Mobile Devices
CN116760083B (en) Control mode switching method and system of energy storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant