CN114546096B - Baseband chip, task scheduling method and terminal equipment - Google Patents

Baseband chip, task scheduling method and terminal equipment Download PDF

Info

Publication number
CN114546096B
CN114546096B CN202210125458.4A CN202210125458A CN114546096B CN 114546096 B CN114546096 B CN 114546096B CN 202210125458 A CN202210125458 A CN 202210125458A CN 114546096 B CN114546096 B CN 114546096B
Authority
CN
China
Prior art keywords
sub
dvfs
management system
task
voltage
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.)
Active
Application number
CN202210125458.4A
Other languages
Chinese (zh)
Other versions
CN114546096A (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

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, and the DVFS management system is used for respectively issuing one or more sub-tasks to one or more first subsystems in the plurality of subsystems; the first subsystem is a subsystem for executing a sub-task; each first subsystem is used for sending expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution order of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.

Description

Baseband chip, task scheduling method and terminal equipment
Technical Field
The present invention relates to the field of chip design, and in particular, to a baseband chip, a task scheduling method, and a terminal device.
Background
Dynamic voltage frequency scaling (Dynamic Voltage and Frequency Scaling, DVFS) is a technique for dynamically scaling voltage and frequency, which may be scaled according to system load conditions. For example, the increase in workload increases the frequency and the increase in pressure, and the decrease in workload decreases the frequency and the decrease in pressure.
However, the conventional DVFS technology is limited by the situation that a plurality of systems share a power supply, and cannot accurately perform task scheduling and voltage control, which results in a defect of large system power consumption.
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 so as to effectively reduce system power consumption.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, embodiments of the present application provide a baseband chip that includes a plurality of subsystems and a DVFS management system, where,
the DVFS management system is used for respectively issuing one or more sub-tasks to one or more first sub-systems in the plurality of sub-systems; wherein the first subsystem is a subsystem for executing the sub-task;
each first subsystem is used for sending expected voltage in a next adjustment period to the DVFS management system according to the received subtasks;
the DVFS management system is further configured to adjust an execution sequence of the one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
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, where the terminal device configures a baseband chip, where 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 sub-tasks to one or more first sub-systems in the plurality of sub-systems; wherein the first subsystem is a subsystem for executing the sub-task;
each first subsystem sends expected voltage in the next adjustment period to the DVFS management system according to the received subtasks;
the DVFS management system adjusts the execution sequence of the one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configures the power supply voltage received in the next adjustment period according to the adjusted execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
In a third aspect, an embodiment of the present application provides a terminal device, including: a power management module and a baseband chip according to the first aspect, wherein the power management module is 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, and the DVFS management system is used for respectively issuing one or more sub-tasks to one or more first subsystems in the plurality of subsystems; the first subsystem is a subsystem for executing a sub-task; each first subsystem is used for sending expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution order of the one or more sub-tasks and the expected voltage corresponding to each first sub-system. That is, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may obtain the expected voltage in the next adjustment period of the subsystem, and determine the optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, so as to control the subsystem to process the subtasks according to the execution sequence, and complete adjustment of the voltage at the same time, thereby enabling accurate task scheduling and voltage control, and further effectively reducing power consumption of the system.
Drawings
FIG. 1 is a schematic diagram of an implementation framework of a DVFS scheme;
FIG. 2 is a schematic diagram of a DVFS scheme;
FIG. 3 is a schematic diagram of a baseband chip;
FIG. 4 is a schematic diagram of the composition and structure of a DVFS management system;
FIG. 5 is a schematic diagram of a task sequence combination;
FIG. 6 is a schematic diagram of a relationship between a desired voltage and a duration;
FIG. 7 is a schematic diagram of a power management module;
fig. 8 is a schematic diagram of the composition structure of the terminal device;
FIG. 9 is a schematic diagram of a task scheduling method;
FIG. 10 is a schematic diagram of a baseband chip;
FIG. 11 is a second flow chart of a task scheduling method;
FIG. 12 is a second schematic diagram of task order combining;
FIG. 13 is a second diagram showing the correspondence between desired voltage and duration;
fig. 14 is a third schematic diagram of the correspondence between desired voltage and 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 for purposes of illustration only and are not intended to be limiting. It should be noted that, for convenience of description, only a portion related to the related application is shown in the drawings.
Dynamic voltage frequency scaling (Dynamic Voltage and Frequency Scaling, DVFS) technology, which is a low power consumption implementation by a combination of software and hardware, has gained more attention in the design of microprocessors with low power consumption. The DVFS technology allows the working voltage and frequency of the circuit to be dynamically adjusted on the premise of keeping the system to work normally, so that the power consumption of the circuit can be reduced, and the service life of the circuit is prolonged.
A typical DVFS system workflow includes: and sampling the system signal load, performing performance calculation prediction through a corresponding algorithm, performing DVFS adjustment on the working state of the circuit according to a prediction result, and then realizing state adjustment and maintenance by a power management system. The adjustment of DVFS comprises dynamic voltage adjustment and clock frequency adjustment, and when the predicted working frequency is changed from high to low, the frequency is reduced, and then the voltage is reduced; when the predicted operating frequency increases, the voltage is increased and then the frequency is increased.
Fig. 1 is a schematic diagram of an implementation framework of a DVFS scheme, as shown in fig. 1, a current common DVFS framework mainly includes three parts, namely a baseband, a radio frequency 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 the terminal, the 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, the power management module generally needs to send an adjustment instruction of increasing the voltage, and the baseband part or the radio frequency part can increase the frequency after the power management module completes the adjustment of the corresponding increasing 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 as to achieve the aim of safe and stable work and avoid the occurrence of abnormality caused by voltage regulation.
However, when multiple systems share one power supply, power waste is often caused. Fig. 2 is a schematic diagram of the DVFS scheme, as shown in fig. 2, if the subsystem 1, the subsystem 2, and the 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 voltage V2 (V1 is greater than V2) at the bottom, the subsystem 2 needs to be considered and has to operate at a voltage higher than the self-required voltage, which further causes energy waste.
Therefore, the conventional DVFS technology is limited by the situation that a plurality of systems share a power supply, and cannot accurately perform task scheduling and voltage control, which results in 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 by 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 a subtask corresponding to the subsystem based on the expected voltage, so as to control the subsystem to process the subtask according to the execution sequence, and complete adjustment of the voltage at the same time, thereby enabling accurate task scheduling and voltage control, 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 that includes a plurality of subsystems and a DVFS management system.
In the embodiment of the present application, fig. 3 is a schematic diagram of a composition structure of a baseband chip, as shown in fig. 3, the baseband chip 10 may include a plurality of subsystems 11, where the plurality of 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 task scheduling processing and voltage adjustment processing.
It should be noted that, in the embodiment of the present application, the terminal device may further include a power management module, where the power management module and the baseband chip can perform communication, so that a voltage adjustment request and feedback process may be implemented.
Further, in the embodiment of the present application, a plurality of subsystems included in the baseband chip configured by the 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 sub-tasks to one or more first sub-systems of the plurality of sub-systems, respectively; the first subsystem is a subsystem for executing the sub-tasks.
Accordingly, in an embodiment of the present application, each first subsystem may be configured to send, to the DVFS management system, the desired voltage in the next adjustment period according to the received subtasks.
It should be noted that, in the embodiment of the present application, fig. 4 is a schematic diagram of a composition structure of the 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 disassemble the received one or more tasks into one or more subtasks; and then respectively issuing the one or more sub-tasks to one or more first sub-systems in the plurality of sub-systems.
It should be noted that, in the embodiment of the present application, the first subsystem may be any subsystem of multiple subsystems, that is, the DVFS management system may issue one or more sub-tasks to any multiple subsystem of all the subsystems. The DVFS management system may then also receive the desired voltage for the next adjustment period sent by each of the plurality of subsystems.
It will be appreciated that in embodiments of the present application, the desired voltage for each subsystem during the next adjustment period may be predictive of the voltage required for each subsystem during the next adjustment period. The expected voltage of each subsystem in the next adjustment period can be used for predicting the voltage required by each subsystem when executing the task, and can be used for predicting the voltage required by each subsystem when in a low power consumption mode after executing the task.
That is, in the embodiments of the present application, regardless of whether the subsystem is in an operating state to perform a task, as long as the voltage required by the subsystem is changed, the desired voltage in the next adjustment period may 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 desired voltage in the next adjustment period through the reported task list in the next adjustment period.
Further, in embodiments of the present application, the work task list may characterize the correspondence of different subtasks to desired voltages, durations. The work task list is in one-to-one correspondence with the first subsystems, namely, one first subsystem can correspondingly report one work task list. Accordingly, the DVFS management system may determine, via the work task list reported by the first subsystem, a desired voltage for the first subsystem during a next adjustment period,
it can be appreciated that in the embodiment of the present application, the expected voltages corresponding to different sub-tasks in the first subsystem may predict the working voltage required by the first subsystem when the first subsystem performs the sub-task.
In the embodiment of the present application, the expected voltages and durations corresponding to different sub-tasks may be determined based on the task list reported by the first subsystem. The duration may be an operating time that is sustained when the corresponding subtask is performed at the corresponding desired voltage. For example, table 1 is a work task list, as shown in table 1, the work task list may be used to determine the expected voltages and durations corresponding to the four subtasks, respectively, where the expected voltage required to perform subtask 1 is 0.4V and the corresponding duration is 150us; the desired voltage required to perform subtask 3 is 1V, corresponding to a duration of 100us.
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 correspondence between the expected voltage and the expected frequency may be applicable to different subsystems, that is, multiple subsystems in the DVFS management system may all use the same correspondence between the expected voltage and the expected frequency. For example, table 2 shows the correspondence between the desired voltage and the desired frequency, and as shown in table 2, if the operating frequency required for the operation of the subsystem is 100MHz, the corresponding voltage value is 0.4V, if the operating frequency required for the operation of the subsystem is 500MHz, the corresponding voltage value is 0.7V, and if the operating frequency required for the operation of the subsystem is 1000MHz, the corresponding voltage value is 1V.
TABLE 2
Desired frequency (MHz) Desired voltage (V)
100 0.4
…… ……
500 0.7
…… ……
1000 1
It may be understood that, in the embodiment of the present application, the work task list reported by the first subsystem and acquired by the DVFS management system may also represent a corresponding relationship between different subtasks and the expected frequency and duration, and may also represent a corresponding relationship between different subtasks and the expected voltage, the expected frequency and the duration.
It can be seen that, in the embodiment of the present application, the DVFS management system may determine the corresponding work expected frequency (expected voltage) through the work expected voltage (expected frequency) in the work task list reported by the first subsystem. Thus, based on tables 1 and 2 above, one form of work task list can be obtained as shown in Table 3:
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 subsystem may further determine, according to the workload of the subtasks and the corresponding expected frequencies, the duration corresponding to the subtasks. For example, the subsystem may determine the quotient of the workload of one sub-task and the desired frequency as the corresponding duration.
It will be appreciated that in embodiments of the present application, if the execution time corresponding to one or more sub-tasks received by the subsystem is T, then 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 that includes 4 sub-tasks, the duration for the subsystem to execute the 4 sub-tasks may be 150us, 500us, 100us, 350us, respectively, and sum to 1000us.
Further, in the embodiment of the present application, the DVFS management system may be further configured to adjust an execution sequence of one or more sub-tasks according to the desired voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution sequence of one or more sub-tasks and the desired voltage corresponding to each first sub-system.
It should be noted that, in the embodiment of the present application, after obtaining the expected voltage sent by the first subsystem in the next adjustment period, the DVFS management system may perform task scheduling processing based on the expected voltage, so as to complete adjustment of the execution sequence of one or more subtasks.
It should be noted that, in the embodiment of the present application, based on the above-mentioned 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 one or more sub-tasks according to the desired voltage of each first sub-system in the next adjustment period.
Further, in the embodiments of the present application, the DVFS management system may be specifically configured to generate a plurality of task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period; calculating a plurality of energy consumption parameters corresponding to the sequential combination of a plurality of tasks; the order of execution of one or more subtasks is adjusted according to a plurality of energy consumption parameters.
It will be appreciated that, in the embodiment of the present application, for at least one of the sub-tasks 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.
It should be noted that, in the embodiment of the present application, in each task sequence combination, the different first subsystems execute the corresponding sub-tasks in parallel, that is, the different first subsystems do not affect each other when executing the sub-tasks.
It may be appreciated that in the embodiment of the present application, the DVFS management system may first randomly combine different execution orders of different sub-tasks of all the first sub-systems, 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 with reference to an energy consumption parameter, and finally, may adjust an execution order of one or more sub-tasks 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 sub-tasks is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution orders of all the sub-tasks of all the first sub-systems, so that the overall 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 correspondence between a plurality of groups of expected voltages and durations corresponding to a plurality of task sequence combinations; a plurality of energy consumption parameters may then be determined based on the plurality of sets of desired voltage versus duration.
It may be appreciated that in the embodiment of the present application, after the DVFS management system determines a plurality of task sequence combinations after completing the free combination of execution sequences of the sub-tasks of all the first sub-systems, a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations may be further calculated and obtained. Specifically, the DVFS management system may first determine a correspondence between a plurality of groups of expected voltages and durations corresponding to sequential combinations of a plurality of tasks, respectively; 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 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 duration corresponding to each sub-task, voltages capable of meeting the working requirements of all the first subsystems in different time periods, so that the establishment of a corresponding set of correspondence between the expected voltage and the duration may be completed.
It may be appreciated that, in the embodiment of the present application, after determining the correspondence between each set of expected voltages and durations 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 voltages and durations.
For example, in the embodiment of the present application, as shown in table 4 and table 5, for two first sub-systems, sub-system a and sub-system b, sub-system a corresponds to 3 sub-tasks, respectively sub-task a1, sub-task a2 and sub-task a3, and sub-system b corresponds to 2 sub-tasks, respectively sub-task b1 and sub-task b2.
TABLE 4 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 will be appreciated that in embodiments of the present application, based on Table 4 above, the DVFS management system may determine that subsystem a corresponds to 3-! =3×2=6 task orders; based on Table 5 above, the DVFS management system may determine that subsystem b corresponds to 2-! =2×1=2 task orders. Thus, for both first subsystems, subsystem a and subsystem b, the DVFS management system may determine 6×2=12 task order combinations.
Further, in an embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequential combinations. For the task sequence of the subsystem a being the task sequence combination of the subtask a1, the subtask a2 and the subtask a3, the task sequence of the subsystem b being the subtask b1 and the subtask b2, the DVFS management system needs to determine the corresponding relationship between a group of expected voltages and duration corresponding to the task sequence combination.
For example, in the embodiment of the present application, fig. 5 is a schematic diagram of task sequence combination one, and as shown in fig. 5, the voltage requirements of subsystem a and subsystem b in the whole period (within 1000 us) may be determined first. Fig. 6 is a schematic diagram of the correspondence between the desired voltage and the duration, as shown in fig. 6, based on the voltage requirements of the joint subsystem a and the subsystem b in the whole period (within 1000 us) in fig. 5, the correspondence between the desired voltage and the duration required by the task sequence combination can be determined.
It may be appreciated that, in the embodiment of the present application, after completing the establishment of the correspondence between the expected voltage and the duration corresponding to each task order combination, the DVFS management system may further calculate a plurality of energy consumption parameters corresponding to a plurality of task order combinations.
Further, in the embodiment of the present application, the DVFS management system may be specifically configured to calculate and obtain, according to the expected voltage of each first subsystem in the next adjustment period, the corresponding relationship between each set of expected voltages and durations corresponding to each task sequence combination, and the energy consumption calculation model, an energy consumption parameter corresponding to each task sequence combination.
It is appreciated 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 to use a semiconductor dynamic energy consumption formula as the energy consumption calculation model as shown in the following formula (1):
Qi=V 2 ×Ci×f×t (1)
where Qi represents the energy consumption of subsystem i, V is the desired voltage, f is the desired power of operation, t is the duration, and Ci is the load capacitance. Specifically, the value of Ci is fixed for different subsystems after the hardware design is completed, i.e., each subsystem is correspondingly provided with a fixed Ci.
That is, in the embodiment of the present application, for one task order combination, the DVFS management system calculates, based on the above formula (1), the energy consumption Qa of the subsystem a and the energy consumption Qb of the subsystem b according to the corresponding correspondence between the expected voltages of the subsystem a and the subsystem b in the next adjustment period and the duration, and then, may combine the sum of Qa and Qb as the corresponding overall energy consumption parameter Q for the task order combination.
Further, in the embodiment of the present application, the DVFS management system may specifically be configured to determine, as the target sequential combination, a task sequential combination corresponding to a minimum energy consumption parameter among the plurality of energy consumption parameters; based on the target order combination, the DVFS management system adjusts an order of execution of one or more subtasks.
It is appreciated that in embodiments of the present application, after completion of the calculation of each task order combination corresponding energy consumption parameter, the DVFS management system may further adjust the execution order of one or more sub-tasks according to the plurality of energy consumption parameters. Specifically, the DVFS management system may select 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; and then completing the adjustment of the execution order of the one or more subtasks based on the target order combination.
It should be noted that, in the embodiment of the present application, the DVFS management system may select a task sequence combination corresponding to the minimum energy consumption parameter, and obtain, according to the task sequence combination, an execution sequence of a sub-task corresponding to the first subsystem, so that when each sub-task is executed respectively according to the corresponding execution sequence, energy consumption of the whole system may be minimized.
For example, in the embodiment of the present application, if the task order corresponding to the minimum energy consumption parameter is combined as follows: the task sequence of the subsystem a is the sub-task a1, the sub-task a2 and the sub-task a3, and the task sequence of the subsystem b is the sub-task b2 and the sub-task b1, so that the subsystem a executes the sub-task according to the execution sequence of the task a1, the sub-task a2 and the sub-task a3, and the subsystem b executes the sub-task according to the execution sequence of the sub-task b2 and the sub-task b 1.
Further, in an embodiment of the present application, based on the above-described 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 power supply voltage received in the next regulation period according to the execution sequence of the regulated one or more sub-tasks and the desired voltage corresponding to each first sub-system.
It should be noted that, in the embodiment of the present application, based on the above-described 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 instructing the power management module to adjust the power supply voltage.
It is understood that in embodiments of the present application, the power management module may be configured to provide a supply voltage to the baseband chip.
Further, in the 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 generation and transmission of the voltage regulation request.
In an embodiment of the present application, after adjusting the execution order of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, the DVFS management system may schedule the first sub-system to execute different sub-tasks according to the adjusted execution order of one or more sub-tasks and the expected voltage corresponding to each first sub-system. Specifically, the DVFS management system may complete the voltage adjustment process according to the adjusted execution sequence of one or more sub-tasks and the desired voltage corresponding to each first sub-system, so that the power supply voltage received in the next adjustment period may be configured.
Further, in the embodiment of the present application, when the first sub-system is scheduled to execute the sub-tasks, the DVFS management system may select to issue the execution order of the one or more adjusted sub-tasks to the corresponding first sub-system, so that the first sub-system may execute different sub-tasks according to the execution order of the one or more adjusted sub-tasks.
Further, in the embodiment of the present application, when performing the voltage adjustment process, the DVFS management system may determine the supply voltages of different time periods according to the corresponding relationship between the expected voltage and the duration of the target sequential combination, and then generate the voltage adjustment request according to the supply voltages of different time periods; the voltage adjustment request may then be sent to a power management module configured by the terminal device, so that the power management module may be caused to complete the voltage adjustment process based on the voltage adjustment request.
That is, in the embodiment of the present application, after determining the optimal target order combination among the plurality of task order combinations, on the one hand, the DVFS management system may schedule the first subsystem to sequentially perform different sub-tasks according to the adjusted execution order of one or more sub-tasks of the first subsystem obtained based on the target order combination; on the other hand, the DVFS management system also needs to adjust the working voltage of the system by combining the corresponding expected voltage and duration according to the target sequence, so as to ensure that the power supply voltage received by the system in the next adjustment period can meet the working requirements of a plurality of subsystems.
In the embodiment of the present application, when the DVFS management system generates the voltage adjustment request according to the supply voltages in different time periods, the DVFS management system may choose to package the supply voltages in different time periods according to a preset compression format, so as to generate the corresponding voltage adjustment request.
It may be appreciated that in the embodiment of the present application, when the DVFS management system sends a 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 voltages in different time periods, the voltage adjustment control unit may choose to package the supply voltages in different time periods according to a preset compression format 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, in the embodiment of the present application, after calculating the power supply voltages in different time periods, the calculation decision unit in the DVFS management system may transmit the power supply voltages in different time periods to the voltage regulation control unit, where the voltage regulation control unit packages the power supply voltages in different time periods according to a predetermined format (a preset compression format), generates a voltage regulation request, and sends the voltage regulation request to the high-speed data interface, where the high-speed data interface may send the voltage regulation request to the power management module according to a physical interface format (a preset interface format) such as a system power management interface (System Power Management Interface, SPMI).
Further, in the embodiment of the present application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device may determine the power supply voltages of different corresponding time periods based on the voltage adjustment request, and then perform voltage adjustment processing according to the power supply voltages of 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 to obtain the power supply voltage of the DCDC, and then control the DCDC output by adjusting the control register. Specifically, DCDC can be voltage regulated at a rate of typically 20mV/us, which would take 5us if 100mV were regulated.
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 sub-tasks to one or more first subsystems in the plurality of subsystems; the first subsystem is a subsystem for executing a sub-task; each first subsystem is used for sending expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution order of the one or more sub-tasks and the expected voltage corresponding to each first sub-system. That is, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may obtain the expected voltage in the next adjustment period of the subsystem, and determine the optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, so as to control the subsystem to process the subtasks according to the execution sequence, and complete adjustment of the voltage at the same time, thereby enabling accurate task scheduling and voltage control, and further effectively reducing power consumption of the system.
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 a plurality of subsystems and a DVFS management system.
In an embodiment of the present application, fig. 8 is a schematic diagram 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, where the power management module may supply power to the radio frequency module and the baseband chip respectively. The baseband chip can comprise a plurality of subsystems, and the subsystems can work in the same voltage domain; the baseband chip may also include a DVFS management system that may be used to perform task scheduling and voltage scaling processes.
It should be noted that, in the embodiment of the present application, the DVFS management system may first issue one or more sub-tasks to one or more first sub-systems of the multiple sub-systems respectively; the first subsystem is a subsystem for executing a sub-task; then, each first subsystem can send the expected 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 one or more sub-tasks according to the desired voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution order of the one or more sub-tasks and the desired voltage corresponding to each first sub-system.
It may be appreciated that in an embodiment of the present application, the DVFS management system may include a task management unit, where the task management unit may disassemble one or more received tasks into one or more subtasks; the one or more sub-tasks may then be issued to one or more first sub-systems of the plurality of sub-systems, respectively.
Further, in an embodiment of the present application, the DVFS management system may include a computational decision unit, wherein the computational decision unit may adjust the execution order of the one or more sub-tasks according to the desired voltage of each first sub-system in the 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 power supply voltage received in the next regulation period according to the regulated execution sequence of the one or more sub-tasks and the desired voltage corresponding to each first sub-system.
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 to instruct the power management module to adjust the magnitude of the supply voltage.
It should be noted that, in the embodiment of the present application, when adjusting the execution sequence of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, the DVFS management system may first generate a plurality of task sequence combinations according to the expected voltage of each first sub-system in the next adjustment period; then, a plurality of energy consumption parameters corresponding to the sequential combination of a plurality of tasks can be calculated; finally, the execution sequence of one or more subtasks can be adjusted according to a 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 determine a correspondence between a plurality of groups of expected voltages corresponding to the plurality of task sequence combinations and a duration first; 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 may be appreciated that in the embodiment of the present application, when determining the plurality of energy consumption parameters according to the correspondence between the plurality of groups of expected voltages and the duration, the DVFS management system may calculate and obtain 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 correspondence between each group of expected voltages and the duration corresponding to each task sequence combination, and the 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 a plurality of energy consumption parameters, the task sequence combination corresponding to the minimum energy consumption parameter in the plurality of energy consumption parameters may be determined as the target sequence combination; the execution order of one or more subtasks is then adjusted based on the target order combination.
As shown in fig. 9, in an embodiment of the present application, a method for performing task scheduling by a terminal device may include the following steps:
step 101, after issuing one or more sub-tasks to a first sub-system, the DVFS management system obtains a work task list reported by the first sub-system; the work task list characterizes 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 the embodiment of the present application, after one or more sub-tasks are issued to a first sub-system in multiple sub-systems, the DVFS management system may obtain a work task list reported by the first sub-system, so that an expected voltage of the first sub-system in a next adjustment period may be determined according to the work task list.
It is understood that in embodiments of the present application, the terminal device may be various electronic devices having communication functions, including, but not limited to, mobile electronic devices such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDAs), tablet computers (PADs), portable multimedia players (Portable Media Player, PMPs), in-vehicle electronic devices (e.g., in-vehicle navigation electronic devices), and the like, and stationary electronic devices such as digital Televisions (TVs), desktop computers, 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 voltage adjustment request and a feedback process may be implemented.
Further, in an embodiment of the present application, the baseband chip configured by the terminal device may include a plurality of subsystems, where the plurality of subsystems may perform tasks under the same voltage domain, respectively. 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 can identify one or more tasks of the baseband chip in a current period and a future period (such as 1000 us), meanwhile, disassemble the one or more tasks of the baseband chip into one or more sub-tasks to be distributed to each sub-system, and collect a work task list in a next adjustment period of the sub-system fed back by different sub-systems; the calculation decision unit can perform task scheduling processing according to expected voltages in the work task list of each subsystem, and the adjustment of the execution sequence of one or more sub-tasks is completed. The voltage regulation control unit can pack the power supply voltages in different time periods according to a agreed format and then send the power supply voltages to the high-speed data interface; the high-speed data interface may then further send it to a power management module.
It should be noted that, in the embodiment of the present application, the first subsystem may be any subsystem of the multiple subsystems, that is, the DVFS management system may issue one or more sub-tasks to any multiple subsystem of all the subsystems, and correspondingly, the DVFS management system may also receive a corresponding task list reported by each subsystem of the multiple subsystems.
Further, in an embodiment of the present application, the work task list may characterize the correspondence between different subtasks and desired voltages, durations in the next adjustment period. The work task list is in one-to-one correspondence with the first subsystems, namely, one first subsystem can correspondingly report one work task list.
It can be appreciated that in the embodiment of the present application, the expected voltages corresponding to different sub-tasks in the first subsystem may predict the working voltage required by the first subsystem when the first subsystem performs the sub-task.
In the embodiment of the present application, the expected voltages and durations corresponding to different sub-tasks may be determined based on the task list reported by the first subsystem. The duration may be an operating time that is sustained when the corresponding subtask is performed at the corresponding desired voltage. For example, table 1 above 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, respectively, where the expected voltage required to perform subtask 1 is 0.4V and the corresponding duration is 150us; the desired voltage required to perform subtask 3 is 1V, corresponding to a duration of 100us. 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 correspondence between the expected voltage and the expected frequency may be applicable to different subsystems, that is, multiple subsystems in the DVFS management system may all use the same correspondence between the expected voltage and the expected frequency. For example, table 2 shows the correspondence between the desired voltage and the desired frequency, and as shown in table 2, if the operating frequency required for the operation of the subsystem is 100MHz, the corresponding voltage value is 0.4V, if the operating frequency required for the operation of the subsystem is 500MHz, the corresponding voltage value is 0.7V, and if the operating frequency required for the operation of the subsystem is 1000MHz, the corresponding voltage value is 1V. It may be understood that, in the embodiment of the present application, the work task list reported by the first subsystem and acquired by the DVFS management system may also represent a corresponding relationship between different subtasks and the expected frequency and duration, and may also represent a corresponding relationship between different subtasks and the expected voltage, the expected frequency and the duration.
It can be seen that, in the embodiment of the present application, the DVFS management system may determine the corresponding work expected frequency (expected voltage) through the work expected voltage (expected frequency) in the work 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 in table 3 above. It should be noted that, in the embodiment of the present application, the subsystem may further determine, according to the workload of the subtasks and the corresponding expected frequencies, the duration corresponding to the subtasks. For example, the subsystem may determine the quotient of the workload of one sub-task and the desired frequency as the corresponding duration.
Step 102, the DVFS management system performs task scheduling processing based on the task list, and determines a target task sequence corresponding to the first subsystem.
In the embodiment of the application, after one or more sub-tasks are issued to the first subsystem and a work task list in a next adjustment period reported by the first subsystem is acquired, the DVFS management system may perform task scheduling processing based on the work task list, so as to determine a target task sequence corresponding to the first subsystem.
It will be appreciated that, in the embodiment of the present application, for at least one of the sub-tasks 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 order corresponding to the first subsystem may be one of at least one task order corresponding to the first subsystem.
In the embodiment of the present application, when performing task scheduling processing based on the task list, the DVFS management system determines a target task sequence corresponding to the first subsystem, a plurality of task sequence combinations may be generated according to all task lists of all the first subsystems; then calculating a plurality of energy consumption parameters corresponding to the sequential combination of the plurality of tasks; finally, the target task sequence corresponding to the first subsystem can be determined according to the energy consumption parameters.
It should be noted that, in the embodiment of the present application, in each task sequence combination, the different first subsystems execute the corresponding sub-tasks in parallel, that is, the different first subsystems do not affect each other when executing the sub-tasks.
It may be understood that in the embodiment of the present application, the DVFS management system may first randomly combine different execution sequences of different sub-tasks of all the first sub-systems 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 with reference to an energy consumption parameter, and finally, determine a target task sequence corresponding to each sub-system based on the optimal target sequence combination.
That is, in the embodiment of the present application, the target task order of the first subsystems is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution orders of all the sub-tasks of all the first subsystems, and each first subsystem performs the execution of the sub-tasks according to its corresponding target task order, so that the overall system can achieve smaller power consumption.
Further, in the embodiment of the present application, after the DVFS management system determines a plurality of task sequence combinations after completing the free combination of execution sequences of the sub-tasks of all the first sub-systems, a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations may be further calculated and obtained. Specifically, the DVFS management system may first determine, according to all the task lists, a correspondence between a plurality of groups of expected voltages and durations corresponding to sequential combinations of a plurality of tasks; 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 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 duration corresponding to each subtask in the work task list, voltages capable of meeting the working requirements of all the first subsystems in different time periods, so that the establishment of the corresponding relationship between a set of expected voltages and durations may be completed.
It may be appreciated that, in the embodiment of the present application, after determining the correspondence between each set of expected voltages and durations 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 voltages and durations.
For example, in the embodiment of the present application, for two first subsystems, namely, a subsystem a and a subsystem b, table 4 is a work task list of the subsystem a, and table 5 is a work task list of the subsystem b, where the subsystem a corresponds to 3 subtasks, namely, a1 subtask, a2 subtask, and a3 subtask, and the subsystem b corresponds to 2 subtasks, namely, a1 subtask and a2 subtask. It will be appreciated that in embodiments of the present application, based on Table 4 above, the DVFS management system may determine that subsystem a corresponds to 3-! =3×2=6 task orders; based on Table 5 above, the DVFS management system may determine that subsystem b corresponds to 2-! =2×1=2 task orders. Thus, for both first subsystems, subsystem a and subsystem b, the DVFS management system may determine 6×2=12 task order combinations.
Further, in an embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequential combinations. For the task sequence of the subsystem a being the task sequence combination of the sub-task a1, the sub-task a2 and the sub-task a3, the task sequence of the subsystem b being the task sequence combination of the sub-task b1 and the sub-task b2, the DVFS management system needs to determine a set of corresponding relations between expected voltages and duration corresponding to the task sequence combination according to the task lists of the subsystem a and the subsystem b.
It may be appreciated that, in the embodiment of the present application, after completing the establishment of the correspondence between the expected voltage and the duration corresponding to each task order combination, the DVFS management system may further calculate a plurality of energy consumption parameters corresponding to a plurality of task order 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 groups of expected voltages and durations, for one task sequence combination, the DVFS management system may calculate and obtain the energy consumption parameters corresponding to the task sequence combination according to all the task lists, the correspondence between expected voltages and durations corresponding to the task sequence combination, and the energy consumption calculation model.
It is appreciated 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 formula (1) above as the energy consumption calculation model.
That is, in the embodiment of the present application, for one task order combination, the DVFS management system calculates, based on the above formula (1), the energy consumption Qa of the subsystem a and the energy consumption Qb of the subsystem b according to the corresponding correspondence between the expected voltages and the duration according to the task lists of the subsystem a and the subsystem b, and then, may combine the sum of Qa and Qb as the corresponding overall energy consumption parameter Q of the task order combination.
It may be appreciated that in the embodiment of the present application, after completing the calculation of the energy consumption parameter corresponding to each task order combination, 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 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; 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 sequence combination corresponding to the minimum energy consumption parameter, and obtain, according to the task sequence combination, a target task sequence corresponding to the first subsystem, so that when each subsystem executes the sub-tasks according to the corresponding target task sequence, energy consumption of the whole system may be minimized.
For example, in the embodiment of the present application, if the task order corresponding to the minimum energy consumption parameter is combined as follows: the task sequence of the subsystem a is the sub-task a1, the sub-task a2 and the sub-task a3, the task sequence of the subsystem b is the sub-task b2 and the sub-task b1, and then the target task sequence corresponding to the subsystem a is the task a1, the sub-task a2 and the sub-task a3, and the target task sequence corresponding to the subsystem b is the sub-task b2 and the sub-task b1.
Step 103, the DVFS management system schedules the first subsystem to execute different sub-tasks according to the target task sequence, and at the same time, the DVFS management system performs voltage adjustment processing.
In the embodiment of the application, after task scheduling processing is performed based on the work task list and the target task sequence corresponding to the first subsystem is determined, the DVFS management system may schedule the first subsystem to execute different sub-tasks according to the target task sequence, and at the same time, 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 sub-tasks 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 sub-tasks 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 determine the supply voltages of different time periods according to the corresponding relationship between the expected voltage and the duration of the target sequential combination, and then generate the voltage adjustment request according to the supply voltages of different time periods; the voltage adjustment request may then be sent to a power management module configured by the terminal device, so that the power management module may be caused to complete the voltage adjustment process based on the voltage adjustment request.
That is, in the embodiment of the present application, after determining an optimal target order combination among a plurality of task order combinations, on the one hand, the DVFS management system may schedule the first subsystem to sequentially execute different sub-tasks according to a target task order of the first subsystem obtained based on the target order combination; on the other hand, the DVFS management system also needs to adjust the working voltage of the system by combining the corresponding expected voltage and duration according to the target sequence, so as to ensure that the working voltage of the system can meet the working requirements of a plurality of subsystems.
In the embodiment of the present application, when the DVFS management system generates the voltage adjustment request according to the supply voltages in different time periods, the DVFS management system may choose to package the supply voltages in different time periods according to a preset compression format, so as to generate the corresponding voltage adjustment request.
It may be appreciated that in the embodiment of the present application, when the DVFS management system sends a 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 voltages in different time periods, the voltage adjustment control unit may choose to package the supply voltages in different time periods according to a preset compression format 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, in the embodiment of the present application, after calculating the power supply voltages in different time periods, the calculation decision unit in the DVFS management system may transmit the power supply voltages in different time periods to the voltage regulation control unit, where the voltage regulation control unit packages the power supply voltages in different time periods according to a predetermined format (a preset compression format), generates a voltage regulation request, and sends the voltage regulation request to the high-speed data interface, where the high-speed data interface may then send the voltage regulation request to the power management module according to a physical interface format (a preset interface format) such as the system power management interface SPMI.
Further, in the embodiment of the present application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device may determine the power supply voltages of different corresponding time periods based on the voltage adjustment request, and then perform voltage adjustment processing according to the power supply voltages of 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 the embodiment of the present application, the method for task scheduling by the 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 the embodiment of the present application, the DVFS management system may determine one or more tasks of the baseband chip first, and then may disassemble the one or more tasks of the baseband chip, so as to generate a plurality of one or more sub-tasks, where the one or more sub-tasks may be issued by the DVFS management system to different sub-systems.
It is appreciated that in embodiments of the present application, the DVFS management system may identify one or more tasks of the baseband chip based on the type of traffic for which the baseband portion is to perform traffic for the current and future time periods (e.g., 1000 us). The service types may include download service, transmission service, and the like.
Further, in the embodiment of the present application, the first subsystem in the baseband chip configured by the terminal device may also perform decomposition processing on one or more sub-tasks, so that a sub-task of the first subsystem corresponding to the one or more sub-tasks, which needs to be executed by the first subsystem, may be obtained.
In the embodiment of the present application, the first subsystem may determine the expected voltage corresponding to each sub-task and the time required for executing the sub-task, that is, the duration, and then may establish the work task list corresponding to the first subsystem based on the correspondence between the sub-task and the expected voltage and duration.
Further, in an embodiment of the present application, the first subsystem may predict a voltage required when performing the subtask, so as to determine a desired voltage corresponding to the subtask. Specifically, the first subsystem may determine the expected frequency corresponding to the execution of the subtasks, and then further determine the corresponding expected voltage using the expected frequency. Wherein the desired frequency, and accordingly the desired voltage, required by the first subsystem may be different when performing different sub-tasks.
Still another embodiment of the present application proposes a task scheduling method, where the task scheduling method is applied to a terminal device, where the terminal device may include a power management module, a radio frequency module, and a baseband chip, and the power management module may supply power to the radio frequency module and the baseband chip, respectively.
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 all work in the same voltage domain; the DVFS management system may be used to perform task scheduling processing and voltage adjustment processing.
Fig. 10 is a schematic diagram of a second component structure of the baseband chip, as shown in fig. 10, where 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, under the same voltage domain, each subsystem may decompose and confirm the respective sub-task and its corresponding frequency requirement after a period of time in the future (in the next adjustment period) according to the current working state and task thereof, so as to determine the corresponding voltage requirement, and finally, may vote the respective expected voltage value after a period of time, that is, the expected voltage, and may predict the working time required for executing each sub-task, determine the corresponding duration, and further may establish the corresponding relationship between each sub-task in the first subsystem and the expected voltage and duration. As shown in table 1 above, for 4 sub-tasks, the subsystem can predict the desired voltage and duration needed to perform the sub-tasks.
It is understood that in the embodiments of the present application, the execution order of the sub-systems does not have a dependency on the different sub-tasks, i.e., the sub-systems may execute the different sub-tasks in any order. The expected frequency and the expected voltage of any one subtask have a fixed corresponding relationship, and the duration of the subtask can be determined by the quotient of the working quantity of the subtask and the corresponding expected frequency.
Further, in the embodiment of the present application, in addition to the disassembly and allocation of one or more tasks of the baseband chip, the task management unit may be further responsible for collecting the task list fed back by each subsystem in the next adjustment period, so that the calculation decision unit may further complete task scheduling and voltage adjustment processing according to the acquired expected voltage in the task list.
That is, in the embodiment of the present application, after acquiring the multiple task lists fed back by the multiple subsystems (the first subsystem), the task management unit in the DVFS management system may transmit the multiple task lists to the calculation decision unit, and then the calculation decision unit performs subsequent processing according to the multiple task lists.
Further, in the embodiment of the present application, fig. 11 is a second implementation flow chart of a task scheduling method, and as shown in fig. 11, the method for performing task scheduling by a terminal device 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 sub-tasks to the first subsystem.
In the embodiment of the present application, the task management unit in the DVFS management system may identify one or more tasks of the baseband chip according to the service types of the service to be executed by the baseband part in a current period of time and a future period of time (e.g., 1000 us), then disassemble the one or more tasks of the baseband chip to obtain corresponding one or more sub-tasks, and then may issue the one or more sub-tasks to different first sub-systems respectively.
Step 203, the first subsystem generates a corresponding work task list according to one or more sub-tasks.
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 finally may establish a work task list according to a correspondence between the subtasks and the expected voltage and the duration.
It is appreciated that in embodiments of the present application, the work task list may determine the desired voltage, duration, required by the corresponding subsystem in performing one of the sub-tasks.
Step 204, the first subsystem sends the corresponding task list to the DVFS management system.
In the embodiment of the present application, after the task management unit in the DVFS management system obtains the multiple task lists fed back by the first subsystem, the multiple task lists may be transmitted to the calculation decision unit, and then the calculation decision unit performs subsequent processing according to the multiple 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 calculation decision unit in the DVFS management system may first generate a plurality of task order combinations according to all the task lists of all the first subsystems. In each task sequence combination, different first subsystems execute corresponding sub-tasks in parallel, namely the different first subsystems do not influence each other when executing the sub-tasks.
It can be understood that, in the embodiment of the present application, the calculation decision unit in the DVFS management system may first randomly combine different execution sequences of different sub-tasks of all the first sub-systems, so as to determine a plurality of task sequence combinations.
Step 206, the DVFS management system calculates and determines a plurality of energy consumption parameters corresponding to the plurality of task order combinations.
In an embodiment of the present application, the calculation decision unit in the DVFS management system may calculate a plurality of energy consumption parameters corresponding to a plurality of task order combinations, respectively. Specifically, the corresponding relation between a plurality of groups of expected voltages and duration corresponding to the sequential combination of a plurality of tasks can be respectively 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 time.
Further, in the embodiment of the present application, when determining multiple energy consumption parameters according to the correspondence between multiple groups of expected voltages and durations, for one task sequence combination, the DVFS management system may calculate and obtain the energy consumption parameters corresponding to the task sequence combination according to all the work task lists, the correspondence between expected voltages and durations corresponding to the task sequence combination, and the energy consumption calculation model.
Step 207, the DVFS management system determines a target sequential combination according to a plurality of energy consumption parameters.
In an embodiment of the present application, the calculation decision unit in the DVFS management system may determine, according to a plurality of energy consumption parameters, a target task order corresponding to the first subsystem.
It may be appreciated 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 minimum energy consumption parameter of the plurality of energy consumption parameters may be selected to be determined as the target order combination.
Step 208, the DVFS management system determines a target task order of the first subsystem according to the target order combination.
In an embodiment of the present application, the calculation decision unit in the DVFS management system may determine the target task order corresponding to each first subsystem based on the target order combination. In this way, each subsystem can minimize the energy consumption of the whole system when executing the sub-tasks respectively according to the corresponding target task sequence.
Step 209, the DVFS management system generates a voltage adjustment request according to the corresponding relationship between the expected voltage and the duration corresponding to the target sequence combination.
In the embodiment of the present application, the DVFS management system may determine the supply voltages of different time periods according to the corresponding relationship between the expected voltage and the duration of the target sequential combination, 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 adjustment control unit in the DVFS management system may select to perform the packaging processing on the supply voltages in different time periods according to the 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 task sequence to the first subsystem.
In the embodiment of the 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 sub-tasks according to the target task sequence.
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 by 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 adjustment control unit in the DVFS management transmits the voltage adjustment request to the high-speed data interface, the high-speed data interface in the DVFS management may send the voltage adjustment request to the power management module according to a preset interface format.
Step 212, the first subsystem executes the sub-tasks according to the target task sequence.
Step 213, the power management module performs voltage adjustment according to the voltage adjustment request.
In the embodiment of the application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device can determine the power supply voltages in different corresponding time periods based on the voltage adjustment request, and then perform voltage adjustment processing according to the power 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 obtains the task lists of the first subsystems (subsystem a and subsystem b) as shown in the above-mentioned table 4 and table 5, respectively, the calculation decision unit in the DVFS management system may determine 12 task order combinations for the two first subsystems. Then, when the calculation decision unit calculates the energy consumption parameter corresponding to each task sequence combination, the calculation decision unit can determine the corresponding relation between a group of expected voltages corresponding to each task sequence combination and the duration time, and meanwhile, the load capacitor C corresponding to each subsystem needs to be determined.
For example, for task order combination 1: the task sequence of the subsystem a is the sub-task a1, the sub-task a2 and the sub-task a3, the task sequence of the subsystem b is the sub-task b1 and the sub-task b2, and based on the voltage requirement of the combined subsystem a and the subsystem b in the whole period (within 1000 us) in fig. 5, the corresponding relation between the expected voltage required by the task sequence combination and the duration time can be determined as shown in fig. 6.
Accordingly, in the embodiment of the present application, table 6 is one of energy consumption calculation parameters, as shown in table 6, for the task sequence combination, based on the corresponding relationship between a corresponding set of expected voltages and durations, the load capacitance C corresponding to each subsystem and the energy consumption calculation model shown in the above formula (1) may be calculated to obtain the energy consumption parameter corresponding to the task sequence combination as 979880.
TABLE 6
Further, in the embodiments of the present application, for task order combination 2: the task sequence of the subsystem a is the sub-task a1, the sub-task a2 and the sub-task a3, the task sequence of the subsystem b is the sub-task b2 and the sub-task b1, fig. 12 is a schematic diagram two of the task sequence combination, and as shown in fig. 12, based on the task list, the voltage requirements of the subsystem a and the subsystem b in the whole period (within 1000 us) can be respectively determined. Fig. 13 is a second schematic diagram of the correspondence between the desired voltage and the duration, and as shown in fig. 13, based on the voltage requirements of the joint subsystem a and the subsystem b in the whole period (within 1000 us) in fig. 12, the correspondence between the desired voltage and the duration required by the task sequence combination can be determined.
Accordingly, in the embodiment of the present application, table 7 is a second energy consumption calculation parameter table, as shown in table 7, for the task sequence combination, based on the corresponding relationship between a corresponding set of expected voltages and durations, the load capacitance C corresponding to each subsystem and the energy consumption calculation model shown in the above formula (1) may be calculated to obtain the energy consumption parameter 921080 corresponding to the task sequence combination.
TABLE 7
It can be seen that by adjusting the task order, the task combination order 2 shown in table 7 can reduce the power consumption by 6.38% as compared to the task combination order 1 shown in table 6.
Further, in the embodiment of the present application, fig. 14 is a schematic diagram three of the correspondence between the expected voltage and the duration, as shown in fig. 14, the system power supply policy voltage waveforms of the task combination sequence 1 and the task combination sequence 2 may be compared, and if it is finally determined that the task combination sequence 2 is the target sequence combination of the 12 task sequence combinations, the DVFS management system may perform the voltage adjustment process according to the correspondence between the expected voltage and the duration of the task combination sequence 2, and simultaneously send the corresponding target task sequences to the subsystem a and the subsystem b based on the task combination sequence 2, so that the first subsystem performs the subtasks 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 management system, wherein the DVFS management system is used for respectively issuing one or more sub-tasks to one or more first subsystems in the plurality of subsystems; the first subsystem is a subsystem for executing a sub-task; each first subsystem is used for sending expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system is further configured to adjust an execution order of one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution order of the one or more sub-tasks and the expected voltage corresponding to each first sub-system. That is, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device may obtain the expected voltage in the next adjustment period of the subsystem, and determine the optimal execution sequence of the subtasks corresponding to the subsystem based on the expected voltage, so as to control the subsystem to process the subtasks according to the execution sequence, and complete adjustment of the voltage at the same time, thereby enabling accurate task scheduling and voltage control, and further effectively reducing power consumption of the system.
It will be appreciated by those skilled in the art that 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, magnetic 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 block and/or flow of the flowchart illustrations and/or block diagrams, and combinations of blocks and/or flow diagrams in the flowchart illustrations 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 block diagram 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 and/or block diagram 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 and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application.

Claims (19)

1. A baseband chip, characterized in that 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 sub-tasks to one or more first sub-systems in the plurality of sub-systems; wherein the first subsystem is a subsystem for executing the sub-task;
Each first subsystem is used for sending expected voltage in a next adjustment period to the DVFS management system according to the received subtasks;
the DVFS management system is further configured to adjust an execution sequence of the one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configure the power supply voltage received in the next adjustment period according to the adjusted execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
2. The baseband chip of claim 1, wherein the DVFS management system includes a task management unit,
the task management unit is used for disassembling one or more received tasks into one or more subtasks; and respectively issuing the one or more sub-tasks to one or more first sub-systems in the plurality of sub-systems.
3. The baseband chip of claim 1, wherein the DVFS management system includes a computation decision unit,
the calculation decision unit is used for adjusting the execution sequence of the one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period.
4. The baseband chip of claim 1, wherein the DVFS management system includes a voltage regulation control unit,
the voltage regulating control unit is used for configuring the power supply voltage received in the next regulating period according to the regulated execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
5. The baseband chip of claim 1, wherein the 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 to instruct the power management module to adjust the magnitude of the supply voltage.
6. The baseband chip of claim 1, wherein the baseband chip comprises a plurality of antenna elements,
the DVFS management system is specifically configured to generate a plurality of task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period; calculating a plurality of energy consumption parameters corresponding to the sequential combination of the plurality of tasks; and adjusting the execution sequence of the one or more subtasks according to the energy consumption parameters.
7. The baseband chip of claim 6, wherein the baseband chip comprises a plurality of antenna elements,
the DVFS management system is specifically configured to determine a correspondence between a plurality of groups of expected voltages and durations corresponding to the sequential combination of the plurality of tasks; and determining the plurality of energy consumption parameters according to the corresponding relation between the plurality of groups of expected voltages and the duration time.
8. The baseband chip of claim 7, wherein the baseband chip comprises a plurality of antenna elements,
the DVFS management system is specifically configured to calculate and obtain, according to the expected voltage of each first subsystem in the next adjustment period, the corresponding relationship between each group of expected voltages and duration corresponding to each task sequence combination, and an energy consumption calculation model, an energy consumption parameter corresponding to each task sequence combination.
9. The baseband chip of claim 6, wherein the baseband chip comprises a plurality of antenna elements,
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. The task scheduling method is applied to terminal equipment, the terminal equipment configures a baseband chip, the baseband chip comprises a plurality of subsystems and a DVFS management system, and the method comprises the following steps:
The DVFS management system respectively issues one or more sub-tasks to one or more first sub-systems in the plurality of sub-systems; wherein the first subsystem is a subsystem for executing the sub-task;
each first subsystem sends expected voltage in the next adjustment period to the DVFS management system according to the received subtasks;
the DVFS management system adjusts the execution sequence of the one or more sub-tasks according to the expected voltage of each first sub-system in the next adjustment period, and configures the power supply voltage received in the next adjustment period according to the adjusted execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
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 the one or more subtasks; and respectively issuing the one or more sub-tasks to one or more first sub-systems in the plurality of sub-systems.
12. The method of claim 10, wherein the DVFS management system includes a computational decision unit,
The computational decision unit adjusts the execution order of the one or more sub-tasks according to the desired voltage of each first sub-system in the next adjustment period.
13. The method of claim 10, wherein the DVFS management system includes a voltage regulation control unit,
the voltage regulating control unit configures the power supply voltage received in the next regulating period according to the regulated execution sequence of the one or more sub-tasks and the expected voltage corresponding to each first sub-system.
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 to instruct the power management module to adjust the magnitude of the supply voltage.
15. The method of claim 10, wherein the DVFS management system adjusting the order of execution of the one or more sub-tasks according to the desired voltage of each first subsystem in a next adjustment 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 adjustment period;
the DVFS management system calculates a plurality of energy consumption parameters corresponding to the plurality of task sequence combinations;
the DVFS management system adjusts an order of execution 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 calculating a plurality of energy consumption parameters corresponding to the plurality of task order combinations comprises:
the DVFS management system determines the corresponding relation between a plurality of groups of expected voltages and duration corresponding to the sequential combination of the plurality of tasks;
the DVFS management system determines the plurality of energy consumption parameters according to the plurality of sets of desired voltage to duration correspondence.
17. The method of claim 16, wherein the DVFS management system determining the plurality of energy consumption parameters based on the plurality of sets of desired voltage versus duration correspondences comprises:
and the DVFS management system calculates and obtains the energy consumption parameters 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 voltage and duration corresponding to each task sequence combination and an energy consumption calculation model.
18. The method of claim 15, wherein the DVFS management system adjusting an order of execution of the one or more subtasks based on 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 plurality of 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 according to any of claims 1 to 9, the power management module being arranged to power 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 CN114546096A (en) 2022-05-27
CN114546096B true 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)

Families Citing this family (1)

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

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 中央电视台 A kind of Multimedia Task processing unit 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
CN114546096B (en) * 2022-02-10 2024-02-06 Oppo广东移动通信有限公司 Baseband chip, task scheduling method and terminal equipment
CN114527819A (en) * 2022-02-10 2022-05-24 Oppo广东移动通信有限公司 Base band chip, voltage adjusting 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 中央电视台 A kind of Multimedia Task processing unit and method

Also Published As

Publication number Publication date
CN114546096A (en) 2022-05-27
WO2023151414A1 (en) 2023-08-17

Similar Documents

Publication Publication Date Title
US10261572B2 (en) Technologies for managing power during an activation cycle
US20210286421A1 (en) Synchronous power state control scheme for multi-chip integrated power management solution in embedded systems
US7664971B2 (en) Controlling power supply in a multi-core processor
CN102931655B (en) Circuit control system and method with dynamic voltage and frequency adjusting function
US9524012B2 (en) Power system utilizing processor core performance state control
WO2013172022A1 (en) Frequency control method, frequency control system, frequency control device, and program
CN111625080B (en) Server energy saving method and device, electronic equipment and storage medium
JP4697805B2 (en) Data processing device
JPWO2015019541A1 (en) Power system stabilization method, power system stabilization system, and power supply device
US20100123435A1 (en) Reduction of peak current requirements
CN114546096B (en) Baseband chip, task scheduling method and terminal equipment
WO2023151416A1 (en) Baseband chip, voltage adjusting method, and terminal device
CN105893148A (en) Low-energy-consumption aporadic task scheduling method based on RM strategy
CN105388964A (en) Adjusting clock frequency
JP2008234638A (en) Controller for processing apparatus
WO2016189938A1 (en) Energy management system, energy management method, and energy management device
TWI549408B (en) Apparatus, method and system for thermal load balancing
US9910486B2 (en) Controlling power allocation in a server system that utilizes supplemental batteries
CN113572158B (en) Hydrogen production control method and application device thereof
CN116137495A (en) Multi-stage power converter and control thereof
Naik et al. RT-DVS for power optimization in multiprocessor real-time systems
WO2021112837A1 (en) Chip-process-variation-aware power-efficiency optimization
Guruprasad et al. Coupling a small battery with a datacenter for frequency regulation
CN117492552B (en) Dynamic voltage frequency adjustment method, controller, device, equipment and storage medium
CN109471715B (en) Method and device for scheduling transcoding task and storage medium

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