WO2023151414A1 - Baseband chip, task scheduling method, and terminal device - Google Patents
Baseband chip, task scheduling method, and terminal device Download PDFInfo
- Publication number
- WO2023151414A1 WO2023151414A1 PCT/CN2022/143467 CN2022143467W WO2023151414A1 WO 2023151414 A1 WO2023151414 A1 WO 2023151414A1 CN 2022143467 W CN2022143467 W CN 2022143467W WO 2023151414 A1 WO2023151414 A1 WO 2023151414A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dvfs
- subsystem
- management system
- voltage
- subtasks
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000005265 energy consumption Methods 0.000 claims description 94
- 238000004364 calculation method Methods 0.000 claims description 36
- 230000033228 biological regulation Effects 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 36
- 238000012545 processing Methods 0.000 description 32
- 230000006835 compression Effects 0.000 description 9
- 238000007906 compression Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- HEZMWWAKWCSUCB-PHDIDXHHSA-N (3R,4R)-3,4-dihydroxycyclohexa-1,5-diene-1-carboxylic acid Chemical compound O[C@@H]1C=CC(C(O)=O)=C[C@H]1O HEZMWWAKWCSUCB-PHDIDXHHSA-N 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 101100534112 Sus scrofa SPMI gene Proteins 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation 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/5038—Allocation 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
- H02J3/12—Circuit arrangements for AC mains or AC distribution networks for adjusting voltage in AC networks by changing a characteristic of the network load
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application relates to the field of chip design, in particular to a baseband chip, a task scheduling method and a terminal device.
- Dynamic Voltage and Frequency Scaling is a technology for dynamically adjusting voltage and frequency, which can adjust frequency and voltage according to the system load. For example, when the workload increases, the frequency is increased, and when the workload decreases, the frequency is reduced.
- Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device, which can accurately schedule tasks and control voltages, thereby effectively reducing system power consumption.
- the embodiment of the present application provides a baseband chip, the baseband chip includes multiple subsystems and a DVFS management system, wherein,
- the DVFS management system is configured to issue one or more subtasks to one or more first subsystems among the plurality of subsystems; wherein, the first subsystem is a subtask that executes the subtasks system;
- Each first subsystem is configured to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtask;
- the DVFS management system is further configured to adjust the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of the one or more subtasks
- the execution sequence and the expected voltage corresponding to each of the first subsystems configure the supply voltage received in the next adjustment period.
- an embodiment of the present application provides a task scheduling method, the task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system, the method include:
- the DVFS management system sends one or more subtasks to one or more first subsystems among the plurality of subsystems respectively; wherein, the first subsystem is a subsystem that executes the subtasks;
- Each first subsystem sends the expected voltage in the next adjustment period to the DVFS management system according to the received subtask;
- the DVFS management system adjusts the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and according to the adjusted execution order and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle.
- an embodiment of the present application provides a terminal device, including: a power management module and the baseband chip according to the first aspect, where the power management module is configured to supply power to the baseband chip.
- Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device.
- the baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to multiple subsystems respectively.
- first subsystem is a subsystem that executes subtasks; each first subsystem is configured to send the DVFS management system the next adjustment period according to the received subtask the expected voltage; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of one or more subtasks and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle.
- the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
- Figure 1 is a schematic diagram of the implementation framework of the DVFS solution
- FIG. 2 is a schematic diagram of a DVFS scheme
- FIG. 3 is a schematic diagram 1 of the composition and structure of the baseband chip
- FIG. 4 is a schematic diagram of the composition structure of the DVFS management system
- Fig. 5 is a schematic diagram 1 of task sequence combination
- Fig. 6 is a schematic diagram 1 of the corresponding relationship between the expected voltage and the duration
- FIG. 7 is a schematic diagram of a power management module
- FIG. 8 is a schematic diagram of a composition structure of a terminal device
- FIG. 9 is a first schematic diagram of the implementation flow of the task scheduling method.
- FIG. 10 is a second schematic diagram of the composition and structure of the baseband chip
- FIG. 11 is a second schematic diagram of the implementation flow of the task scheduling method
- Fig. 12 is a schematic diagram 2 of task order combination
- FIG. 13 is a second schematic diagram of the corresponding relationship between the expected voltage and the duration
- FIG. 14 is a third schematic diagram of the corresponding relationship between the expected voltage and the duration.
- Dynamic Voltage and Frequency Scaling refers to the realization of low power consumption through the comprehensive design of software and hardware, and has received more attention in the low power consumption design of microprocessors.
- the DVFS technology allows dynamic adjustment of circuit operating voltage and frequency on the premise of maintaining the normal operation of the system, which can not only reduce the power consumption of the circuit but also prolong the service life of the circuit.
- the workflow of a typical DVFS system includes: sampling the system signal load, performing performance calculation and prediction through corresponding algorithms, performing DVFS adjustments to the circuit working state according to the prediction results, and then implementing state adjustment and maintenance by the power management system.
- the adjustment of DVFS includes dynamic voltage adjustment and clock frequency adjustment. When the operating frequency is predicted to change from high to low, the frequency is lowered first, and then the voltage is lowered; when the operating frequency is predicted to increase, the voltage is increased first, and then the frequency is increased.
- Figure 1 is a schematic diagram of the implementation framework of the DVFS solution.
- the current common DVFS framework mainly includes three parts: baseband, radio frequency and power management module.
- the power management module is responsible for supplying power to the baseband part and radio frequency part of the terminal.
- the power supply voltage is controlled by the baseband part, and the baseband part sends a voltage adjustment command to the power management module, and the power management module adjusts the voltage after receiving the voltage adjustment command.
- the baseband part or the radio frequency part needs to increase the operating frequency, it is generally necessary to send an adjustment command to increase the voltage to the power management module first. After the power management module completes the adjustment of the corresponding increased voltage, the baseband part or the radio frequency part can increase the frequency. If the baseband part or the radio frequency part needs to reduce the operating frequency, the baseband part or the radio frequency part can directly reduce the frequency first, and then reduce the voltage, so as to achieve the purpose of safe and stable work and avoid abnormalities caused by voltage regulation.
- FIG 2 is a schematic diagram of the DVFS scheme. As shown in Figure 2, if subsystem 1, subsystem 2, and subsystem 3 share one power supply, when subsystem 2 needs to work at a higher voltage V1, even system 1 and subsystem 3.
- the required operating voltage is only the disclosed voltage V2 (V1 is greater than V2), and because of the need to consider the needs of the subsystem 2, it has to work at a voltage higher than its own demand, resulting in energy waste.
- the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the corresponding subtask of the subsystem based on the expected voltage.
- the optimal execution sequence can then control the subsystem to process subtasks according to the execution sequence, and at the same time complete the voltage adjustment, so that the task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
- An embodiment of the present application provides a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system.
- FIG. 3 is a schematic diagram of the composition and structure of a baseband chip.
- the baseband chip 10 may include multiple subsystems 11, wherein the multiple subsystems 11 can all work in the same voltage domain Next; the baseband chip 10 may also include a DVFS management system 12, and the DVFS management system 12 may be used to perform task scheduling processing and voltage adjustment processing.
- the terminal device may further include a power management module, and the power management module and the baseband chip can communicate with each other, so as to realize the request and feedback processing of voltage adjustment.
- the multiple subsystems included in the baseband chip configured in the terminal device can communicate with the DVFS management system respectively.
- the DVFS management system can be used to send one or more subtasks to one or more first subsystems among the plurality of subsystems respectively; wherein, the first subsystem is the execution subsystem Subsystem for tasks.
- each first subsystem may be configured to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtask.
- FIG. 4 is a schematic diagram of the composition and structure of the DVFS management system.
- the DVFS management system 12 may include a task management unit 121 .
- the task management unit can be used to disassemble one or more received tasks into one or more subtasks; and then send the one or more subtasks to one or more first subsystem.
- the first subsystem can be any subsystem among multiple subsystems, that is, the DVFS management system can send one or more subtasks to any number of subsystems in all subsystems system.
- the DVFS management system may also receive the expected voltage in the next adjustment cycle sent by each of any number of subsystems.
- the expected voltage of each subsystem in the next adjustment cycle can predict the voltage required by each subsystem in the next adjustment cycle.
- the expected voltage of each subsystem in the next adjustment cycle can be used to predict the voltage required by each subsystem when executing a task, and can also be used to predict the voltage required by each subsystem when it is in a low power consumption mode after executing a task. required voltage.
- the first subsystem may inform the DVFS management system of its expected voltage in the next adjustment period through the reported work task list in the next adjustment period.
- the work task list may represent the corresponding relationship between different subtasks and expected voltages and durations.
- the work task list is in one-to-one correspondence with the first subsystem, that is, a first subsystem will report a work task list correspondingly.
- the DVFS management system can determine the expected voltage of the first subsystem in the next adjustment cycle,
- the expected voltages corresponding to different subtasks in the first subsystem may predict the working voltage required by the first subsystem when performing the subtask.
- the expected voltage and duration corresponding to different subtasks can be determined.
- the duration may be the continuous working time when the corresponding subtask is executed under the corresponding expected voltage.
- Table 1 is a list of working tasks. As shown in Table 1, the list of working tasks can be used to determine the expected voltage and duration corresponding to the four subtasks, wherein the expected voltage required to execute subtask 1 is 0.4V, corresponding to The duration of the subtask 3 is 150us; the expected voltage required to execute subtask 3 is 1V, and the corresponding duration is 100us.
- the corresponding relationship between the expected voltage and the expected frequency can be determined in advance, that is, for an expected voltage, the corresponding expected frequency can be determined based on the corresponding relationship between the expected voltage and the expected frequency.
- the corresponding relationship between the expected voltage and the expected frequency can be applied to different subsystems, that is, multiple subsystems in the DVFS management system can all use the same corresponding relationship between the expected voltage and the expected frequency.
- Table 2 shows the corresponding relationship between expected voltage and expected frequency. As shown in Table 2, if the operating frequency required by the subsystem is 100MHz, then the corresponding required voltage value is 0.4V. If the operating frequency of the subsystem is 500MHz, then the corresponding required voltage value is 0.7V. If the required operating frequency of the subsystem is 1000MHz, then the corresponding required voltage value is 1V.
- the work task list obtained by the DVFS management system and reported by the first subsystem can also represent the corresponding relationship between different subtasks and expected frequencies and durations, and can also represent different subtasks. Correspondence between subtasks and expected voltage, expected frequency, and duration.
- the DVFS management system can determine the corresponding expected operating frequency (expected voltage) through the expected operating voltage (expected frequency) in the working task list reported by the first subsystem. Therefore, based on the above Table 1 and Table 2, a form of the task list can be obtained as shown in Table 3:
- the subsystem may further determine the corresponding duration of the subtask according to the workload of the subtask and the corresponding expected frequency. For example, the subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
- the execution time corresponding to one or more subtasks received by the subsystem is T
- the sum of the duration required by the subsystem to execute the one or more subtasks is T .
- the duration corresponding to the execution of the 4 subtasks by the subsystem can be 150us, 500us, 100us, 350us respectively, and the total is 1000us.
- the DVFS management system can also be used to adjust the execution sequence of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted one Or the execution sequence of multiple subtasks and the expected voltage corresponding to each first subsystem configures the power supply voltage received in the next adjustment cycle.
- the DVFS management system after the DVFS management system obtains the expected voltage sent by the first subsystem in the next adjustment period, it can perform task scheduling processing based on the expected voltage, so as to complete one or Adjustment of execution order of multiple subtasks.
- the DVFS management system 12 may further include a computing decision unit 122 .
- the calculation decision unit may be configured to adjust the execution sequence of one or more subtasks according to the expected voltage of each first subsystem in a next adjustment period.
- the DVFS management system can specifically be used to generate multiple task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period; energy consumption parameters; adjust the execution order of one or more subtasks according to multiple energy consumption parameters.
- At least one task sequence can be determined according to the time sequence of execution, for example, if the first subsystem corresponds to two subtasks, Including subtask 1 and subtask 2, there are two task sequences, that is, execute subtask 1 first and then execute subtask 2, or execute subtask 2 first and then execute subtask 1.
- the DVFS management system can randomly combine different execution orders of different subtasks of all the first subsystems to determine multiple task order combinations, and then select from multiple The optimal target sequence combination is selected from the task sequence combination, where the optimal target sequence combination can be selected using energy consumption parameters as a reference, and finally, one or more subtasks can be adjusted based on the optimal target sequence combination order of execution.
- the adjustment of the execution sequence of one or more subtasks is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution sequences of all subtasks of all first subsystems , so that the entire system can achieve a smaller power consumption.
- the DVFS management system can specifically be used to determine the corresponding relationship between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations; The corresponding relationship determines multiple energy consumption parameters.
- the DVFS management system after the DVFS management system completes the free combination of the execution order of all the subtasks of the first subsystem and determines a plurality of task sequence combinations, it can further calculate and obtain multiple task Multiple corresponding energy consumption parameters are sequentially combined.
- the DVFS management system may respectively determine multiple sets of correspondences between expected voltages and durations corresponding to multiple task sequence combinations; and then determine multiple energy consumption parameters respectively according to the correspondences between multiple sets of expected voltages and durations.
- the DVFS management system can determine that all the first subsystems can be satisfied in different time periods according to the expected voltage and duration corresponding to each subtask. The voltage required by the work, so that the establishment of a corresponding set of corresponding relationship between expected voltage and duration can be completed.
- the DVFS management system can Calculate the energy consumption parameters corresponding to the task sequence combination.
- subsystem a corresponds to three subtasks, respectively subtask a1, subtask For task a2 and subtask a3, subsystem b corresponds to two subtasks, namely subtask b1 and subtask b2.
- the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations.
- the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3
- the task sequence of subsystem b is the combination of subtask b1 and subtask b2
- the DVFS management system needs to determine
- the task sequence combination corresponds to a set of correspondences between expected voltages and durations.
- FIG. 5 is a schematic diagram of task sequence combination.
- the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us) can be determined first.
- Figure 6 is a schematic diagram of the corresponding relationship between expected voltage and duration. As shown in Figure 6, based on Figure 5, combined with the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us), the task sequence combination can be determined The correspondence between the desired voltage and duration required.
- the DVFS management system can further calculate multiple energy values corresponding to multiple task sequence combinations. consumption parameters.
- the DVFS management system can specifically be used to combine each group of expected voltages and duration corresponding to each task sequence according to the expected voltage of each first subsystem in the next adjustment period.
- the corresponding relationship and the energy consumption calculation model are calculated to obtain the energy consumption parameters corresponding to each task sequence combination.
- the energy consumption calculation model may be used to estimate and predict the overall energy consumption of the first subsystem.
- the DVFS management system can choose to use the semiconductor dynamic energy consumption formula shown in the following formula (1) as the energy consumption calculation model:
- Qi represents the energy consumption of subsystem i
- V is the expected voltage
- f is the expected power of work
- t is the duration
- Ci is the load capacitance.
- the value of Ci is fixed after the hardware design is completed, that is, each subsystem is correspondingly provided with a fixed Ci.
- the DVFS management system is based on the expected voltage of subsystem a and subsystem b in the next adjustment cycle, and the corresponding relationship between expected voltage and duration, based on the above
- formula (1) calculates the energy consumption Qa of subsystem a and the energy consumption Qb of subsystem b respectively, the sum of Qa and Qb can be combined as the overall energy consumption parameter Q corresponding to the sequence of tasks.
- the DVFS management system can be specifically configured to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; based on the target sequence combination, the DVFS management system Adjust the execution order of one or more subtasks.
- the DVFS management system may further adjust the execution order of one or more subtasks according to multiple energy consumption parameters. Specifically, the DVFS management system may choose to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; and then complete the adjustment of the execution sequence of one or more subtasks based on the target sequence combination.
- the DVFS management system can select the task sequence combination corresponding to the minimum energy consumption parameter, and obtain the execution sequence of the subtasks corresponding to the first subsystem according to the task sequence combination. In this way, every When a subsystem executes subtasks according to the corresponding execution order, the energy consumption of the whole system can be minimized.
- the task sequence combination corresponding to the minimum energy consumption parameter is: the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is subtask b2, subtask b1, then subsystem a executes subtasks in the order of execution of task a1, subtask a2, and subtask a3, and subsystem b executes subtasks in the order of execution of subtask b2 and subtask b1.
- the DVFS management system 12 may further include a voltage regulation control unit 123 .
- the voltage regulation control unit may be configured to configure the power supply voltage received in the next adjustment period according to the adjusted execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem.
- the DVFS management system 12 may further include a high-speed data interface 124 .
- the high-speed data interface can be used to send a voltage adjustment request to the power management module.
- the voltage adjustment request is used to instruct the power management module to adjust the power supply voltage.
- the power management module may be used to provide a power supply voltage for the baseband chip.
- the voltage regulation control unit and the high-speed data interface configured by the DVFS management system can be used for generating and transmitting the voltage regulation request.
- the DVFS management system can follow the adjusted execution sequence of one or more subtasks.
- the execution sequence and the expected voltage corresponding to each first subsystem schedule the first subsystem to perform different subtasks.
- the DVFS management system can complete the voltage adjustment process according to the adjusted execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem, so as to configure the power supply voltage received in the next adjustment period.
- the DVFS management system may choose to send the adjusted execution sequence of one or more subtasks to the corresponding first subsystem, so that The first subsystem can be made to execute different subtasks according to the adjusted execution sequence of one or more subtasks.
- the DVFS management system when performing voltage adjustment processing, can first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then according to the different time periods The power supply voltage generates a voltage adjustment request; then the voltage adjustment request can be sent to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
- the DVFS management system can adjust the first subsystem based on the target sequence combination
- the execution sequence of one or more subtasks to schedule the first subsystem to execute different subtasks in turn;
- the operating voltage is adjusted to ensure that the power supply voltage received by the system in the next adjustment period can meet the working requirements of multiple subsystems.
- the DVFS management system when the DVFS management system generates voltage adjustment requests according to the supply voltages of different time periods, it can choose to package the supply voltages of different time periods according to the preset compression format, so that A corresponding voltage adjustment request may be generated.
- the DVFS management system when the DVFS management system sends the voltage adjustment request to the power management module, it may choose to send the voltage adjustment request to the power management module according to a preset interface format.
- the voltage regulation control unit can choose to first perform compression on the power supply voltage of different time periods according to the preset compression format. Packing and processing, generating a voltage adjustment request, and then transmitting the voltage adjustment request to the high-speed data interface, and then, the high-speed data interface can send the voltage adjustment request to the power management module according to a preset interface format.
- the calculation and decision-making unit in the DVFS management system can transmit the power supply voltage of different time periods to the voltage regulation control unit, and the voltage regulation control unit After the unit packs the power supply voltage of the different time periods according to the agreed format (preset compression format), it generates a voltage adjustment request and sends the voltage adjustment request to the high-speed data interface.
- the high-speed data interface can follow the system power management interface (System Power Management Interface, SPMI) and other physical interface formats (preset interface format), and then send it to the power management module.
- the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then follow the The power supply voltage in different time periods is subjected to voltage adjustment processing. Specifically, the power management module can control the real-time output voltage according to the supply voltage in different time periods.
- FIG. 7 is a schematic diagram of a power management module.
- the power management module may include several parts such as a high-speed communication interface, a control register, and a DC converter (DCDC).
- the high-speed communication interface in the power management module can interpret and convert to obtain the DCDC power supply voltage, and then control the DCDC output by adjusting the control register.
- DCDC can adjust the voltage at a typical rate of 20mV/us. At this time, if it adjusts 100mv, it will take 5us.
- An embodiment of the present application provides a baseband chip.
- the baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to one or more first Subsystems; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is used to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system , is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and correspond to each first subsystem according to the adjusted execution order of one or more subtasks The desired voltage of , configures the supply voltage received in the next trim cycle.
- the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
- An embodiment of the present application provides a task scheduling method, which can be applied to a terminal device, where the terminal device can be configured with a baseband chip, and the baseband chip can include multiple subsystems and a DVFS management system.
- FIG. 8 is a schematic diagram of the composition and structure of the terminal device.
- 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.
- the baseband chip can include multiple subsystems, and the multiple subsystems can work in the same voltage domain; the baseband chip can also include a DVFS management system, and the DVFS management system can be used for task scheduling processing and voltage adjustment processing.
- the DVFS management system may first issue one or more subtasks to one or more first subsystems among the plurality of subsystems; wherein, the first subsystem is the execution subsystem task subsystem; then, each first subsystem can send the expected voltage in the next adjustment cycle to the DVFS management system according to the received subtask; finally, the DVFS management system can follow each first subsystem in the next
- the expected voltage in an adjustment period adjusts the execution order of one or more subtasks, and according to the adjusted execution order of one or more subtasks and the expected voltage corresponding to each first subsystem, configure the received in the next adjustment period supply voltage.
- the DVFS management system may include a task management unit, wherein the task management unit may decompose one or more received tasks into one or more subtasks; The or multiple subtasks are sent to one or more first subsystems in the multiple subsystems respectively.
- the DVFS management system may include a calculation decision unit, wherein the calculation decision unit may adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period .
- the DVFS management system may include a voltage regulation control unit, wherein the voltage regulation control unit may follow the adjusted execution sequence of one or more subtasks and the expectations corresponding to each first subsystem Voltage, configures the supply voltage received during the next trim cycle.
- the DVFS management system may include a high-speed data interface, wherein the high-speed data interface may send a voltage adjustment request to the power management module; wherein the power management module is used to provide a power supply voltage for the baseband chip; the voltage The adjustment request is used to instruct the power management module to adjust the magnitude of the supply voltage.
- the DVFS management system when adjusting the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, the DVFS management system may first The expected voltage of the subsystem in the next adjustment cycle generates multiple task sequence combinations; then multiple energy consumption parameters corresponding to multiple task sequence combinations can be calculated; finally, the execution of one or more subtasks can be adjusted according to multiple energy consumption parameters order.
- the DVFS management system may first determine the correspondence between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations ; Then determine a plurality of energy consumption parameters according to the corresponding relationship between multiple sets of expected voltages and durations.
- the DVFS management system when the DVFS management system adjusts the execution sequence of one or more subtasks according to multiple energy consumption parameters, it may first set the task sequence corresponding to the minimum energy consumption parameter among the multiple energy consumption parameters The combination is determined as a target sequence combination; and then based on the target sequence combination, the execution sequence of one or more subtasks is adjusted.
- Figure 9 is a schematic diagram of the first implementation flow of the task scheduling method.
- the method for the terminal device to perform task scheduling may include the following steps:
- Step 101 After sending one or more subtasks to the first subsystem, the DVFS management system obtains the work task list reported by the first subsystem; wherein, the work task list represents different subtasks and expectations in the next adjustment period Correspondence between voltage and duration; the first subsystem is any number of subsystems among the plurality of subsystems.
- the DVFS management system can obtain the work task list reported by the first subsystem, so that it can determine according to the work task list The desired voltage of the first subsystem during the next trim cycle.
- the terminal device can be various electronic devices with communication functions, including but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computer (PAD), portable multimedia player (Portable Media Player, PMP), vehicle electronic equipment (such as vehicle navigation electronic equipment) and other mobile electronic equipment, as well as digital television (TV), desktop computer, etc. Secure electronic equipment.
- PDA Personal Digital Assistant
- PDA tablet computer
- PMP portable multimedia player
- vehicle electronic equipment such as vehicle navigation electronic equipment
- TV digital television
- TV digital television
- Secure electronic equipment Secure electronic equipment.
- the terminal device may include a power management module and a baseband chip, wherein the power management module and the baseband chip can communicate with each other, so as to implement voltage adjustment request and feedback processing.
- the baseband chip configured in the terminal device may include multiple subsystems, where the multiple subsystems may respectively perform tasks in the same voltage domain.
- the baseband chip configured in the terminal device may also include a DVFS management system, wherein the DVFS management system may communicate with multiple subsystems respectively.
- the DVFS management system may be composed of several parts such as 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 at present and in the future (such as 1000us), and at the same time disassemble one or more tasks of the baseband chip into one or more subtasks and assign them to each subsystem, It is also possible to collect the work task lists of the subsystems in the next adjustment cycle fed back by different subsystems; the calculation decision-making unit can perform task scheduling processing according to the expected voltage in the work task lists of each subsystem, and complete the execution of one or more sub-tasks sequence adjustment.
- the voltage regulation control unit can pack the power supply voltage of different time periods according to the agreed format, and then send it to the high-speed data interface; the high-speed data interface can further send it to the power management module.
- the first subsystem can be any subsystem among multiple subsystems, that is, the DVFS management system can send one or more subtasks to any number of subsystems in all subsystems
- the DVFS management system can also receive the corresponding work task list reported by each subsystem in any number of subsystems.
- the work task list may represent the corresponding relationship between different subtasks in the next adjustment period, the expected voltage and the duration.
- the work task list is in one-to-one correspondence with the first subsystem, that is, a first subsystem will report a work task list correspondingly.
- the expected voltages corresponding to different subtasks in the first subsystem may predict the working voltage required by the first subsystem when performing the subtask.
- the expected voltage and duration corresponding to different subtasks can be determined.
- the duration may be the continuous working time when the corresponding subtask is executed under the corresponding expected voltage.
- Table 1 is a list of working tasks. As shown in Table 1, the list of working tasks can be used to determine the expected voltage and duration corresponding to the four subtasks, wherein the expected voltage required to execute subtask 1 is 0.4V, The corresponding duration is 150us; the expected voltage required to execute subtask 3 is 1V, and the corresponding duration is 100us.
- the corresponding relationship between the expected voltage and the expected frequency can be determined in advance, that is, for an expected voltage, the corresponding expected frequency can be determined based on the corresponding relationship between the expected voltage and the expected frequency.
- the corresponding relationship between the expected voltage and the expected frequency can be applied to different subsystems, that is, multiple subsystems in the DVFS management system can all use the same corresponding relationship between the expected voltage and the expected frequency.
- Table 2 shows the corresponding relationship between expected voltage and expected frequency. As shown in Table 2, if the operating frequency required by the subsystem is 100MHz, then the corresponding required voltage value is 0.4V. The required operating frequency is 500MHz, so the corresponding required voltage value is 0.7V.
- the work task list obtained by the DVFS management system and reported by the first subsystem can also represent the corresponding relationship between different subtasks and expected frequencies and durations, and can also represent different subtasks. Correspondence between subtasks and expected voltage, expected frequency, and duration.
- the DVFS management system can determine the corresponding expected operating frequency (expected voltage) through the expected operating voltage (expected frequency) in the working task list reported by the first subsystem. Therefore, based on the above Table 1 and Table 2, one form of the work task list can be obtained as the above Table 3. It should be noted that, in the embodiment of the present application, the subsystem may further determine the corresponding duration of the subtask according to the workload of the subtask and the corresponding expected frequency. For example, a subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
- Step 102 the DVFS management system performs task scheduling processing based on the work task list, and determines the target task sequence corresponding to the first subsystem.
- the DVFS management system can The list performs task scheduling processing, so as to determine the target task sequence corresponding to the first subsystem.
- At least one task sequence can be determined according to the time sequence of execution, for example, if the first subsystem corresponds to two subtasks, Including subtask 1 and subtask 2, there are two task sequences, that is, execute subtask 1 first and then execute subtask 2, or execute subtask 2 first and then execute subtask 1.
- the target task sequence corresponding to the first subsystem may be one of at least one task sequence corresponding to the first subsystem.
- the DVFS management system when the DVFS management system performs task scheduling processing based on the work task list and determines the target task sequence corresponding to the first subsystem, it may first The list generates multiple task sequence combinations; and then calculates multiple energy consumption parameters corresponding to the multiple task sequence combinations; finally, the target task sequence corresponding to the first subsystem can be determined according to the multiple energy consumption parameters.
- the DVFS management system can randomly combine different execution orders of different subtasks of all the first subsystems to determine multiple task order combinations, and then select from multiple Select the optimal target sequence combination from the task sequence combination, where the optimal target sequence combination can be selected with energy consumption parameters as a reference, and finally, each subsystem can be determined based on the optimal target sequence combination Corresponding target task sequence.
- the target task sequence of the first subsystem is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution sequences of all subtasks of all the first subsystems.
- a first subsystem executes the subtasks according to the sequence of the corresponding target tasks, so that the whole system can achieve lower power consumption.
- the DVFS management system after the DVFS management system completes the free combination of the execution order of all the subtasks of the first subsystem and determines multiple task sequence combinations, it can further calculate and obtain multiple task sequence combinations Corresponding multiple energy consumption parameters. Specifically, the DVFS management system can first determine the corresponding relationships between multiple sets of expected voltages and durations corresponding to multiple task sequence combinations according to the list of all work tasks; Energy consumption parameters.
- the DVFS management system can determine the expected voltage and duration corresponding to each subtask in the work task list to determine the The voltages required by the work of all the first subsystems, so that the establishment of a corresponding set of corresponding relationships between expected voltages and durations can be completed.
- the DVFS management system can Calculate the energy consumption parameters corresponding to the task sequence combination.
- the above table 4 is the work task list of subsystem a
- the above table 5 is the work task list of subsystem b
- subsystem a corresponds to three subtasks, namely subtask a1, subtask a2 and subtask a3
- subsystem b corresponds to two subtasks, respectively subtask b1 and subtask b2.
- the DVFS management system can determine that subsystem a corresponds to 3!
- the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations.
- the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3
- the task sequence of subsystem b is the combination of subtask b1 and subtask b2
- the DVFS management system needs to The working task lists of both system a and subsystem b determine the corresponding relationship between a group of expected voltages and durations corresponding to the sequence combination of tasks.
- the DVFS management system can further calculate multiple energy values corresponding to multiple task sequence combinations. consumption parameters.
- the DVFS management system when the DVFS management system determines multiple energy consumption parameters according to the correspondence between multiple groups of expected voltages and durations, for one of the task sequence combinations, the DVFS management system can , the corresponding relationship between the expected voltage and the duration corresponding to the task sequence combination, and the energy consumption calculation model, and calculate and obtain the energy consumption parameters corresponding to the task sequence combination.
- the energy consumption calculation model may be used to estimate and predict the overall energy consumption of the first subsystem.
- the DVFS management system may choose to use the semiconductor dynamic energy consumption formula shown in the above formula (1) as the energy consumption calculation model.
- the DVFS management system for a task sequence combination, corresponds to the corresponding relationship between expected voltage and duration, based on the above formula (1)
- the sum of Qa and Qb can be combined as the overall energy consumption parameter Q corresponding to the task sequence.
- the DVFS management system can further determine the target task sequence corresponding to the first subsystem according to multiple energy consumption parameters . Specifically, the DVFS management system may choose to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; and then determine the target task sequence corresponding to each first subsystem based on the target sequence combination .
- the DVFS management system can select the task sequence combination corresponding to the minimum energy consumption parameter, and obtain the target task sequence corresponding to the first subsystem according to the task sequence combination. In this way, each subsystem When the system executes the subtasks according to the corresponding target task sequence, the energy consumption of the whole system can be minimized.
- the task sequence combination corresponding to the minimum energy consumption parameter is: the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is subtask b2, subtask b1, then the sequence of target tasks corresponding to subsystem a is task a1, subtask a2, subtask a3, and the sequence of target tasks corresponding to subsystem b is subtask b2, subtask b1.
- Step 103 the DVFS management system schedules the first subsystem to execute different subtasks according to the target task order, and at the same time, the DVFS management system performs voltage adjustment processing.
- the DVFS management system can schedule the first subsystem to execute different subtasks according to the target task sequence, and at the same time , The DVFS management system can also perform voltage adjustment processing.
- the DVFS management system when scheduling the first subsystem to execute subtasks according to the target task sequence, can choose to deliver the target task sequence to the corresponding first subsystem, so that the first The subsystem executes different subtasks in the order of the target task.
- the DVFS management system when performing voltage adjustment processing, can first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then according to the different time periods The power supply voltage generates a voltage adjustment request; then the voltage adjustment request can be sent to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
- the DVFS management system can obtain the target sequence of the first subsystem based on the target sequence combination
- the task sequence is used to schedule the first subsystem to execute different subtasks in sequence; on the other hand, the DVFS management system also needs to combine the corresponding relationship between the corresponding expected voltage and the duration according to the target sequence to adjust the operating voltage of the system, so as to ensure The operating voltage of the system can meet the working requirements of multiple subsystems.
- the DVFS management system when the DVFS management system generates voltage adjustment requests according to the supply voltages of different time periods, it can choose to package the supply voltages of different time periods according to the preset compression format, so that A corresponding voltage adjustment request may be generated.
- the DVFS management system when the DVFS management system sends the voltage adjustment request to the power management module, it may choose to send the voltage adjustment request to the power management module according to a preset interface format.
- the DVFS management system can also be configured with a voltage regulation control unit and a high-speed data interface, wherein the voltage regulation control unit and the high-speed data interface can be used for generating and transmitting voltage regulation requests.
- the voltage regulation control unit can choose to first perform compression on the power supply voltage of different time periods according to the preset compression format. Packing and processing, generating a voltage adjustment request, and then transmitting the voltage adjustment request to the high-speed data interface, and then, the high-speed data interface can send the voltage adjustment request to the power management module according to a preset interface format.
- the calculation and decision-making unit in the DVFS management system can transmit the power supply voltage of different time periods to the voltage regulation control unit, and the voltage regulation control unit After the unit packs the power supply voltage of the different time periods according to the agreed format (preset compression format), it generates a voltage adjustment request and sends the voltage adjustment request to the high-speed data interface.
- the high-speed data interface can follow the system power management interface SPMI and other physical interface format (preset interface format), and then send it to the power management module.
- the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then follow the The power supply voltage in different time periods is subjected to voltage adjustment processing. Specifically, the power management module can control the real-time output voltage according to the supply voltage in different time periods.
- the method for the terminal device to perform task scheduling may also 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.
- the DVFS management system can first determine one or more tasks of the baseband chip, and then disassemble and process one or more tasks of the baseband chip, thereby generating multiple one or more subtasks, One or more subtasks can be delivered to different subsystems by the DVFS management system.
- the DVFS management system can identify one or more tasks of the baseband chip according to the types of services to be performed by the baseband part at present and in the future (for example, 1000us).
- the service type may include a download service, a transmission service, and the like.
- the first subsystem in the baseband chip configured in the terminal device can also decompose and process one or more subtasks, so that the one or more subtasks that the first subsystem needs to execute can be obtained.
- the subtasks of the first subsystem corresponding to subtasks.
- the first subsystem can determine the expected voltage corresponding to each subtask, and the time required to execute the subtask, that is, the duration, and then based on the subtask and the expected voltage, duration The corresponding relationship between the first subsystems is established to establish a work task list corresponding to the first subsystem.
- the first subsystem may predict the voltage required for executing the subtask, so as to determine the expected voltage corresponding to the subtask. Specifically, the first subsystem may first determine the corresponding expected frequency when executing the subtask, and then use the expected frequency to further determine the corresponding expected voltage. Wherein, when performing different subtasks, the expected frequency required by the first subsystem may be different, and correspondingly, the expected voltage required may also be different.
- the terminal device may include a power management module, a radio frequency module, and a baseband chip. powered by.
- the baseband chip in the terminal device may include multiple subsystems and a DVFS management system.
- multiple subsystems can work in the same voltage domain; the DVFS management system can be used for task scheduling processing and voltage adjustment processing.
- Fig. 10 is a schematic diagram 2 of the structure of the baseband chip.
- the baseband chip includes n subsystems (n is an integer greater than 1) in the same voltage domain, and a DVFS management system.
- 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.
- each subsystem can decompose and confirm the respective subtasks and their subtasks in the future (in the next adjustment cycle) according to their current working status and tasks.
- the corresponding voltage requirements can be determined, and finally the expected voltage value after a period of time can be voted out, that is, the expected voltage.
- the working time required to perform each subtask can also be predicted and determined.
- the corresponding duration can be determined, and then the corresponding relationship between each subtask in the first subsystem and the expected voltage and duration can be established. As shown in Table 1 above, for the four subtasks, the subsystem can predict the expected voltage and duration required to execute the subtasks.
- the subsystems can execute different subtasks in any order.
- the duration of the subtask can be determined by the quotient of the subtask's work load and the corresponding expected frequency.
- the task management unit in addition to the dismantling and allocation of one or more tasks of the baseband chip, the task management unit can also be responsible for collecting the work task list in the next adjustment period fed back by each subsystem, so that The computing decision unit can further complete task scheduling and voltage adjustment processing according to the expected voltage in the obtained work task list.
- the task management unit in the DVFS management system can transmit the multiple work task lists to the calculation decision-making unit, and then the calculation decision-making unit performs subsequent processing according to the multiple work task lists.
- FIG. 11 is a schematic diagram of the second implementation flow of the task scheduling method.
- the method for the terminal device to perform task scheduling may also 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 sends one or more subtasks to the first subsystem.
- the task management unit in the DVFS management system can first identify one or more tasks of the baseband chip according to the business type of the baseband part to be executed for a period of time (such as 1000us) in the future, and then perform One or more tasks of the chip are disassembled to obtain corresponding one or more subtasks, and then the one or more subtasks can be delivered to different first subsystems respectively.
- a period of time such as 1000us
- Step 203 the first subsystem generates a corresponding work task list according to one or more subtasks.
- the first subsystem after the first subsystem receives one or more subtasks issued by the DVFS management system, it can determine the expected voltage and duration corresponding to each subtask based on the one or more subtasks, and finally A work task list can be established according to the correspondence between subtasks and expected voltages and durations.
- the work task list can determine the expected voltage and duration required by the corresponding subsystem when performing a subtask.
- Step 204 the first subsystem sends the corresponding work task list to the DVFS management system.
- the task management unit in the DVFS management system after the task management unit in the DVFS management system obtains the multiple work task lists fed back by the first subsystem, it can transmit the multiple work task lists to the calculation decision-making unit, and then the calculation decision-making unit The unit performs subsequent processing according to the plurality of work task lists.
- Step 205 the DVFS management system generates multiple task sequence combinations based on the work task list.
- the calculation and decision-making unit in the DVFS management system may first generate multiple task sequence combinations according to all work task lists of all first subsystems. Wherein, in each task sequence combination, different first subsystems execute corresponding subtasks in parallel, that is, different first subsystems do not affect each other when executing subtasks.
- the calculation and decision-making unit in the DVFS management system may randomly combine different execution orders of different subtasks of all first subsystems to determine multiple task sequence combinations.
- Step 206 the DVFS management system calculates and determines multiple energy consumption parameters corresponding to multiple task sequence combinations.
- the calculation and decision-making unit in the DVFS management system may separately calculate multiple energy consumption parameters corresponding to multiple task sequence combinations. Specifically, according to the list of all work tasks, the corresponding relationships between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations can be determined respectively; and then multiple energy consumption parameters can be respectively determined according to the corresponding relationships between multiple groups of expected voltages and duration .
- the DVFS management system can use the list of all work tasks, the The corresponding relationship between the expected voltage and the duration corresponding to the task sequence combination and the energy consumption calculation model are calculated to obtain the energy consumption parameters corresponding to the task sequence combination.
- Step 207 the DVFS management system determines the combination of target sequences according to multiple energy consumption parameters.
- the calculation and decision-making unit in the DVFS management system may determine the target task sequence corresponding to the first subsystem according to multiple energy consumption parameters.
- the task sequence combination corresponding to the minimum energy consumption parameter among the multiple energy consumption parameters can be selected to be determined as Combination of target order.
- Step 208 the DVFS management system determines the target task sequence of the first subsystem according to the target sequence combination.
- the calculation and decision-making unit in the DVFS management system may determine the target task sequence corresponding to each first subsystem based on the target sequence combination. In this way, when each subsystem executes subtasks according to the corresponding target task order, the energy consumption of the whole system can be minimized.
- 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.
- the DVFS management system may first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then generate a voltage adjustment request according to the supply voltage for different time periods.
- the voltage regulation control unit in the DVFS management system when generating a voltage adjustment request according to the supply voltage of different time periods, can choose to compress the power supply voltage of different time periods according to the preset compression format. Perform packaging processing to generate a 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.
- the DVFS management system can choose to send the target task sequence to the corresponding first subsystem, so that the first subsystem can execute different subtasks according to the target task sequence.
- Step 211 the DVFS management system sends a voltage adjustment request to the power management module.
- the DVFS management system can then send a voltage adjustment request to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
- the high-speed data interface in DVFS management can send the power management module Send a voltage adjustment request.
- Step 212 the first subsystem executes the subtasks according to the target task sequence.
- Step 213 the power management module performs voltage adjustment processing according to the voltage adjustment request.
- the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then adjust the power supply voltage according to the different time periods.
- the power supply voltage is adjusted for voltage.
- the power management module can control the real-time output voltage according to the supply voltage in different time periods.
- the task management unit in DVFS management obtains the work task list of the first subsystem (subsystem a and subsystem b) as shown in Table 4 and Table 5 respectively, then for the two The first subsystem, the calculation and decision-making unit in the DVFS management system can determine 12 task sequence combinations.
- the computing decision-making unit calculates the energy consumption parameters corresponding to each task sequence combination, it can first determine the corresponding relationship between a set of expected voltages and durations corresponding to each task sequence combination.
- a subsystem corresponds to a load capacitance C.
- the task sequence of subsystem a is subtask a1, subtask a2, subtask a3, and the task sequence of subsystem b is subtask b1, subtask b2, based on Figure 5, joint subsystem a and the voltage demand of subsystem b in the whole period (within 1000us), the corresponding relationship between the expected voltage required by the task sequence combination and the duration can be determined, as shown in Figure 6 above.
- Table 6 is Table 1 of energy consumption calculation parameters. As shown in Table 6, for the sequential combination of tasks, based on the correspondence between a corresponding set of expected voltage and duration, each sub The load capacitance C corresponding to the system and the energy consumption calculation model shown in the above formula (1) can be calculated to obtain the energy consumption parameter corresponding to the task sequence combination as 979880.
- FIG. 12 is the second schematic diagram of task sequence combination, as shown in Figure 12, based on the work task list, the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us) can be determined respectively.
- Figure 13 is the second schematic diagram of the corresponding relationship between expected voltage and duration, as shown in Figure 13, based on Figure 12, combined with the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us), the task sequence combination can be determined The correspondence between the desired voltage and duration required.
- Table 7 is Table 2 of energy consumption calculation parameters. As shown in Table 7, for the sequential combination of tasks, based on the correspondence between a corresponding set of expected voltage and duration, each sub The load capacitance C corresponding to the system and the energy consumption calculation model shown in the above formula (1) can be calculated to obtain the energy consumption parameter corresponding to the task sequence combination as 921080.
- FIG. 14 is a schematic diagram three of the corresponding relationship between the expected voltage and the duration.
- the system power supply strategy voltage waveforms of task combination sequence 1 and task combination sequence 2 can be In contrast, if it is finally determined that the task combination sequence 2 is the target sequence combination among the 12 task sequence combinations, then the DVFS management system can perform voltage adjustment processing according to the corresponding relationship between the expected voltage and the duration of the task combination sequence 2, and at the same time based on The task combination sequence 2 respectively sends the corresponding target task sequence to subsystem a and subsystem b, so that the first subsystem executes the subtasks according to the corresponding target task sequence.
- An embodiment of the present application provides a task scheduling method, the task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to manage one or more Subtasks are sent to one or more first subsystems in multiple subsystems respectively; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is used to send subtasks to The DVFS management system sends the expected voltage in the next adjustment period; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and according to the adjusted The execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem configure the supply voltage received in the next adjustment cycle.
- the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
- the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
- a computer-usable storage media including but not limited to disk storage, optical storage, etc.
- These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
- the device realizes the function specified in implementing one or more procedures of the flowchart and/or one or more blocks of the block diagram.
- Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device.
- the baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to multiple subsystems respectively.
- first subsystem is a subsystem that executes subtasks; each first subsystem is configured to send the DVFS management system the next adjustment period according to the received subtask the expected voltage; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of one or more subtasks and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle.
- the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
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
Disclosed in embodiments of the present application are a baseband chip, a task scheduling method, and a terminal device. The baseband chip comprises a plurality of subsystems and a DVFS management system, wherein the DVFS management system is used for respectively issuing one or more subtasks to one or more first subsystems in the plurality of subsystems, wherein the first subsystem is a subsystem for executing the subtask; each first subsystem is used for sending an expected voltage in the next adjustment period to the DVFS management system according to the received subtask; and the DVFS management system is also used for adjusting the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and configuring a power supply voltage received in the next adjustment period according to the adjusted execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
Description
相关申请的交叉引用Cross References to Related Applications
本申请要求在2022年02月10日提交的申请号为202210125458.4、申请名称为“基带芯片、任务调度方法及终端设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210125458.4 and the application name "Baseband Chip, Task Scheduling Method and Terminal Equipment" filed on February 10, 2022. The entire content of the Chinese patent application is incorporated by reference in In this application.
本申请涉及芯片设计领域,尤其涉及一种基带芯片、任务调度方法及终端设备。The present application relates to the field of chip design, in particular to a baseband chip, a task scheduling method and a terminal device.
动态电压频率调整(Dynamic Voltage and Frequency Scaling,DVFS)为一种动态调整电压和频率的技术,可以依据系统负载大小情况对频率和电压进行调整。例如,工作负载增加则升频升压,工作负载降低则降频降压。Dynamic Voltage and Frequency Scaling (DVFS) is a technology for dynamically adjusting voltage and frequency, which can adjust frequency and voltage according to the system load. For example, when the workload increases, the frequency is increased, and when the workload decreases, the frequency is reduced.
然而,目前常见的DVFS技术受限于多个系统共用电源的情况,无法精准的进行任务的调度和电压的控制,进而导致系统功耗大的缺陷。However, the current common DVFS technology is limited by the fact that multiple systems share the power supply, and cannot accurately schedule tasks and control voltages, which in turn leads to the defect of high power consumption of the system.
发明内容Contents of the invention
本申请实施例提供了一种基带芯片、任务调度方法及终端设备,能够精准的进行任务的调度和电压的控制,进而有效降低系统功耗。Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device, which can accurately schedule tasks and control voltages, thereby effectively reducing system power consumption.
本申请实施例的技术方案是这样实现的:The technical scheme of the embodiment of the application is realized in this way:
第一方面,本申请实施例提供了一种基带芯片,所述基带芯片包括多个子系统和DVFS管理系统,其中,In the first aspect, the embodiment of the present application provides a baseband chip, the baseband chip includes multiple subsystems and a DVFS management system, wherein,
所述DVFS管理系统,用于将一个或多个子任务分别下发至所述多个子系统中的一个或多个第一子系统;其中,所述第一子系统为执行所述子任务的子系统;The DVFS management system is configured to issue one or more subtasks to one or more first subsystems among the plurality of subsystems; wherein, the first subsystem is a subtask that executes the subtasks system;
每个第一子系统,用于根据接收到的子任务,向所述DVFS管理系统发送下一个调整周期内的期望电压;Each first subsystem is configured to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtask;
所述DVFS管理系统,还用于按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序,以及按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The DVFS management system is further configured to adjust the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of the one or more subtasks The execution sequence and the expected voltage corresponding to each of the first subsystems configure the supply voltage received in the next adjustment period.
第二方面,本申请实施例提供了一种任务调度方法,所述任务调度方法应用于终端设备,所述终端设备配置基带芯片,所述基带芯片包括多个子系统和DVFS管理系统,所述方法包括:In the second aspect, an embodiment of the present application provides a task scheduling method, the task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system, the method include:
所述DVFS管理系统将一个或多个子任务分别下发至所述多个子系统中的一个或多个第一子系统;其中,所述第一子系统为执行所述子任务的子系统;The DVFS management system sends one or more subtasks to one or more first subsystems among the plurality of subsystems respectively; wherein, the first subsystem is a subsystem that executes the subtasks;
每个第一子系统根据接收到的子任务,向所述DVFS管理系统发送下一个调整周期内的期望电压;Each first subsystem sends the expected voltage in the next adjustment period to the DVFS management system according to the received subtask;
所述DVFS管理系统按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序,以及按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The DVFS management system adjusts the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and according to the adjusted execution order and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle.
第三方面,本申请实施例提供了一种终端设备,所述终端设备包括:电源管理模块和如第一方面所述的基带芯片,所述电源管理模块用于为所述基带芯片供电。In a third aspect, an embodiment of the present application provides a terminal device, including: a power management module and the baseband chip according to the first aspect, where the power management module is configured to supply power to the baseband chip.
本申请实施例提供了一种基带芯片、任务调度方法及终端设备,基带芯片包括多个子系统和DVFS管理系统,其中,DVFS管理系统,用于将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统;每个第一子系统,用于根据接收到的子任务,向DVFS管理系统发送下一个调整周期内的期望电压;DVFS管理系统,还用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。也就是说,在本申请的实施例中,终端设备的基带芯片配置的DVFS管理系统可以获取子系统的下一个调整周期内的期望电压,并基于期望电压确定出子系统对应的子任务的最优的执行顺序,进而可以根据该执行顺序控制子系统进行子任务的处理,同时完成电压的调整,从而能够精准的进行任务的调度和电压的控制,进而有效降低系统的功耗。Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device. The baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to multiple subsystems respectively. One or more first subsystems; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is configured to send the DVFS management system the next adjustment period according to the received subtask the expected voltage; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of one or more subtasks and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
图1为DVFS方案的实现框架示意图;Figure 1 is a schematic diagram of the implementation framework of the DVFS solution;
图2为DVFS方案的示意图;FIG. 2 is a schematic diagram of a DVFS scheme;
图3为基带芯片的组成结构示意图一;FIG. 3 is a schematic diagram 1 of the composition and structure of the baseband chip;
图4为DVFS管理系统的组成结构示意图;FIG. 4 is a schematic diagram of the composition structure of the DVFS management system;
图5为任务顺序组合的示意图一;Fig. 5 is a schematic diagram 1 of task sequence combination;
图6为期望电压与持续时间的对应关系的示意图一;Fig. 6 is a schematic diagram 1 of the corresponding relationship between the expected voltage and the duration;
图7为电源管理模块的示意图;7 is a schematic diagram of a power management module;
图8为终端设备的组成结构示意图;FIG. 8 is a schematic diagram of a composition structure of a terminal device;
图9为任务调度方法的实现流程示意图一;FIG. 9 is a first schematic diagram of the implementation flow of the task scheduling method;
图10为基带芯片的组成结构示意图二;FIG. 10 is a second schematic diagram of the composition and structure of the baseband chip;
图11为任务调度方法的实现流程示意图二;FIG. 11 is a second schematic diagram of the implementation flow of the task scheduling method;
图12为任务顺序组合的示意图二;Fig. 12 is a schematic diagram 2 of task order combination;
图13为期望电压与持续时间的对应关系的示意图二;FIG. 13 is a second schematic diagram of the corresponding relationship between the expected voltage and the duration;
图14为期望电压与持续时间的对应关系的示意图三。FIG. 14 is a third schematic diagram of the corresponding relationship between the expected voltage and the duration.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。可以理解的是,此处所描述的具体实施例仅用于解释相关申请,而非对该申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关申请相关的部分。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific embodiments described here are only used to explain the related application, not to limit the application. It should also be noted that, for the convenience of description, only the parts related to the relevant application are shown in the drawings.
动态电压频率调整(Dynamic Voltage and Frequency Scaling,DVFS)技术是指通过软件与硬件的综合设计而实现低功耗,已经在微处理器低功耗设计方面得到更多的关注。其中,DVFS技术在保持系统正常工作的前提下允许动态地调节电路工作电压和频率,不仅能够减小电路的功耗而且延长了电路的使用寿命。Dynamic Voltage and Frequency Scaling (DVFS) technology refers to the realization of low power consumption through the comprehensive design of software and hardware, and has received more attention in the low power consumption design of microprocessors. Among them, the DVFS technology allows dynamic adjustment of circuit operating voltage and frequency on the premise of maintaining the normal operation of the system, which can not only reduce the power consumption of the circuit but also prolong the service life of the circuit.
一个典型的DVFS系统的工作流程包括:对系统信号负载采样,通过相应的算法进行性能计算预测,根据预测结果对电路工作状态进行DVFS调整,再由电源管理系统实现状态调节维护。DVFS的调整包括动态电压调整和时钟频率调整,当预测工作频率将由高到底变化时,先降低频率,再降低电压;当预测工作频率升高时,先升高电压,再升高频率。The workflow of a typical DVFS system includes: sampling the system signal load, performing performance calculation and prediction through corresponding algorithms, performing DVFS adjustments to the circuit working state according to the prediction results, and then implementing state adjustment and maintenance by the power management system. The adjustment of DVFS includes dynamic voltage adjustment and clock frequency adjustment. When the operating frequency is predicted to change from high to low, the frequency is lowered first, and then the voltage is lowered; when the operating frequency is predicted to increase, the voltage is increased first, and then the frequency is increased.
图1为DVFS方案的实现框架示意图,如图1所示,目前常见的DVFS框架主要包括 基带、射频以及电源管理模块这三个部分,其中,电源管理模块负责为终端的基带部分和射频部分供电,供电电压由基带部分控制,基带部分发送电压调整指令给电源管理模块,电源管理模块收到电压调整指令后调整电压。Figure 1 is a schematic diagram of the implementation framework of the DVFS solution. As shown in Figure 1, the current common DVFS framework mainly includes three parts: baseband, radio frequency and power management module. Among them, the power management module is responsible for supplying power to the baseband part and radio frequency part of the terminal. , the power supply voltage is controlled by the baseband part, and the baseband part sends a voltage adjustment command to the power management module, and the power management module adjusts the voltage after receiving the voltage adjustment command.
如果基带部分或射频部分需要增大工作频率,则一般需要先发出升高电压的调整指令给电源管理模块,电源管理模块完成相应升高电压的调整之后,基带部分或射频部分才能升高频率。如果基带部分或射频部分需要降低工作频率,基带部分或射频部分则可以直接先降频率,再降电压,以达到安全、平稳工作的目的,避免因调压引起异常的发生。If the baseband part or the radio frequency part needs to increase the operating frequency, it is generally necessary to send an adjustment command to increase the voltage to the power management module first. After the power management module completes the adjustment of the corresponding increased voltage, the baseband part or the radio frequency part can increase the frequency. If the baseband part or the radio frequency part needs to reduce the operating frequency, the baseband part or the radio frequency part can directly reduce the frequency first, and then reduce the voltage, so as to achieve the purpose of safe and stable work and avoid abnormalities caused by voltage regulation.
然而,当多系统共用一路电源时,往往会造成电源浪费的情况。图2为DVFS方案的示意图,如图2所示,如果子系统1、子系统2、子系统3共用一路电源,当子系统2需要在较高的电压V1下工作时,即使系统1和子系统3所需要的工作电压仅仅为交底的电压V2(V1大于V2),也因为要考虑到子系统2的需求而不得不在高于自身需求电压下工作,进而造成能量浪费。However, when multiple systems share one power supply, it often results in waste of power supply. Figure 2 is a schematic diagram of the DVFS scheme. As shown in Figure 2, if subsystem 1, subsystem 2, and subsystem 3 share one power supply, when subsystem 2 needs to work at a higher voltage V1, even system 1 and subsystem 3. The required operating voltage is only the disclosed voltage V2 (V1 is greater than V2), and because of the need to consider the needs of the subsystem 2, it has to work at a voltage higher than its own demand, resulting in energy waste.
可见,目前常见的DVFS技术受限于多个系统共用电源的情况,无法精准的进行任务的调度和电压的控制,进而导致系统功耗大的缺陷。It can be seen that the current common DVFS technology is limited by the fact that multiple systems share the power supply, and cannot accurately schedule tasks and control voltages, which in turn leads to the defect of high power consumption of the system.
为了解决上述问题,在本申请的实施例中,终端设备的基带芯片配置的DVFS管理系统可以获取子系统的下一个调整周期内的期望电压,并基于期望电压确定出子系统对应的子任务的最优的执行顺序,进而可以根据该执行顺序控制子系统进行子任务的处理,同时完成电压的调整,从而能够精准的进行任务的调度和电压的控制,进而有效降低系统的功耗。In order to solve the above problems, in the embodiment of this application, the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the corresponding subtask of the subsystem based on the expected voltage. The optimal execution sequence can then control the subsystem to process subtasks according to the execution sequence, and at the same time complete the voltage adjustment, so that the task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
本申请一实施例提供了一种基带芯片,该基带芯片包括多个子系统和DVFS管理系统。An embodiment of the present application provides a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system.
在本申请的实施例中,图3为基带芯片的组成结构示意图一,如图3所示,基带芯片10可以包括多个子系统11,其中,该多个子系统11均可以工作在相同的电压域下;基带芯片10还可以包括DVFS管理系统12,DVFS管理系统12可以用于进行任务调度处理和电压调整处理。In the embodiment of the present application, FIG. 3 is a schematic diagram of the composition and structure of a baseband chip. As shown in FIG. 3 , the baseband chip 10 may include multiple subsystems 11, wherein the multiple subsystems 11 can all work in the same voltage domain Next; the baseband chip 10 may also include a DVFS management system 12, and the DVFS management system 12 may be used 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, and the power management module and the baseband chip can communicate with each other, so as to realize the request and feedback processing of voltage adjustment.
进一步地,在本申请的实施例中,终端设备配置的基带芯片所包括的多个子系统可以分别和DVFS管理系统进行通信。Further, in the embodiment of the present application, the multiple subsystems included in the baseband chip configured in the terminal device can communicate with the DVFS management system respectively.
进一步地,在本申请的实施例中,DVFS管理系统,可以用于将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统。Further, in the embodiment of the present application, the DVFS management system can be used to send one or more subtasks to one or more first subsystems among the plurality of subsystems respectively; wherein, the first subsystem is the execution subsystem Subsystem for tasks.
相应地,在本申请的实施例中,每个第一子系统,可以用于根据接收到的子任务,向DVFS管理系统发送下一个调整周期内的期望电压。Correspondingly, in the embodiment of the present application, each first subsystem may be configured to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtask.
需要说明的是,在本申请的实施例中,图4为DVFS管理系统的组成结构示意图,如图4所示,DVFS管理系统12可以包括任务管理单元121。具体地,任务管理单元,可以用于将接收到的一个或多个任务拆解为一个或多个子任务;然后再将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统。It should be noted that, in the embodiment of the present application, FIG. 4 is a schematic diagram of the composition and structure of the DVFS management system. As shown in FIG. 4 , the DVFS management system 12 may include a task management unit 121 . Specifically, the task management unit can be used to disassemble one or more received tasks into one or more subtasks; and then send the one or more subtasks to one or more first subsystem.
需要说明的是,在本申请的实施例中,第一子系统可以为多个子系统中的任意子系统,即DVFS管理系统可以将一个或多个子任务下发至全部子系统中的任意多个子系统。接着,DVFS管理系统也可以接收任意多个子系统中的每一个子系统发送的下一个调整周期内的期望电压。It should be noted that, in the embodiment of this application, the first subsystem can be any subsystem among multiple subsystems, that is, the DVFS management system can send one or more subtasks to any number of subsystems in all subsystems system. Next, the DVFS management system may also receive the expected voltage in the next adjustment cycle sent by each of any number of subsystems.
可以理解的是,在本申请的实施例中,每个子系统在下一个调整周期内的期望电压可 以对每个子系统在下一个调整周期内所需要的电压进行预测。其中,每个子系统在下一个调整周期内的期望电压既可以用于预测每个子系统在执行任务时所需要的电压,也可以用于预测每个子系统在执行完任务之后处于低功耗模式时所需要的电压。It can be understood that, in the embodiment of the present application, the expected voltage of each subsystem in the next adjustment cycle can predict the voltage required by each subsystem in the next adjustment cycle. Wherein, the expected voltage of each subsystem in the next adjustment cycle can be used to predict the voltage required by each subsystem when executing a task, and can also be used to predict the voltage required by each subsystem when it is in a low power consumption mode after executing a task. required voltage.
也就是说,在本申请的实施例中,无论子系统是否处于执行任务的工作状态,只要子系统需求的电压有所改变,那么便可以生成在下一个调整周期内的期望电压。That is to say, in the embodiment of the present application, regardless of whether the subsystem is in the working state of performing tasks, as long as the voltage required by the subsystem changes, the expected voltage in the next adjustment period can be generated.
需要说明的是,在本申请的实施例中,第一子系统可以通过上报的在下一个调整周期内的工作任务列表来向DVFS管理系统告知其在下一个调整周期内的期望电压。It should be noted that, in the embodiment of the present application, the first subsystem may inform the DVFS management system of its expected voltage in the next adjustment period through the reported work task list in the next adjustment period.
进一步地,在本申请的实施例中,工作任务列表可以表征不同子任务与期望电压、持续时间的对应关系。其中,工作任务列表是与第一子系统一一对应的,即一个第一子系统会对应上报一个工作任务列表。相应地,通过第一子系统上报的工作任务列表,DVFS管理系统可以确定处第一子系统在下一个调整周期内的期望电压,Further, in the embodiment of the present application, the work task list may represent the corresponding relationship between different subtasks and expected voltages and durations. Wherein, the work task list is in one-to-one correspondence with the first subsystem, that is, a first subsystem will report a work task list correspondingly. Correspondingly, through the work task list reported by the first subsystem, the DVFS management system can determine the expected voltage of the first subsystem in the next adjustment cycle,
可以理解的是,在本申请的实施例中,第一子系统中不同子任务对应的期望电压可以对第一子系统执行该子任务时所需要的工作电压进行预测。It can be understood that, in the embodiment of the present application, the expected voltages corresponding to different subtasks in the first subsystem may predict the working voltage required by the first subsystem when performing the subtask.
需要说明的是,在本申请的实施例中,基于第一子系统上报的工作任务列表,可以确定出不同子任务所对应的期望电压和持续时间。其中,持续时间可以为在对应的期望电压下执行对应的子任务时所持续的工作时间。例如,表1为工作任务列表,如表1所示,工作任务列表可以用于确定四个子任务分别对应的期望电压和持续时间,其中,执行子任务1所需要的期望电压为0.4V,对应的持续时间为150us;执行子任务3所需要的期望电压为1V,对应的持续时间为100us。It should be noted that, in the embodiment of the present application, based on the work task list reported by the first subsystem, the expected voltage and duration corresponding to different subtasks can be determined. Wherein, the duration may be the continuous working time when the corresponding subtask is executed under the corresponding expected voltage. For example, Table 1 is a list of working tasks. As shown in Table 1, the list of working tasks can be used to determine the expected voltage and duration corresponding to the four subtasks, wherein the expected voltage required to execute subtask 1 is 0.4V, corresponding to The duration of the subtask 3 is 150us; the expected voltage required to execute subtask 3 is 1V, and the corresponding duration is 100us.
表1Table 1
the | 期望电压(V)Expected voltage (V) | 持续时间(us)Duration (us) |
子任务1 |
0.40.4 | 150150 |
子任务2Subtask 2 | 0.70.7 | 500500 |
子任务3Subtask 3 | 11 | 100100 |
子任务4Subtask 4 | 0.70.7 | 350350 |
进一步地,在本申请的实施例中,可以预先确定期望电压与期望频率的对应关系,即对于一个期望电压,可以基于该期望电压与期望频率的对应关系,确定出对应的期望频率。其中,该期望电压与期望频率之间的对应关系可以适用于不同的子系统,即DVFS管理系统中的多个子系统均可以使用相同的期望电压与期望频率的对应关系。例如,表2为期望电压与期望频率的对应关系,如表2所示,如果子系统工作时所需要的运行频率为100MHz,那么对应需要的电压值为0.4V,如果子系统工作时所需要的运行频率为500MHz,那么对应需要的电压值为0.7V,如果子系统工作时所需要的运行频率为1000MHz,那么对应需要的电压值为1V。Further, in the embodiment of the present application, the corresponding relationship between the expected voltage and the expected frequency can be determined in advance, that is, for an expected voltage, the corresponding expected frequency can be determined based on the corresponding relationship between the expected voltage and the expected frequency. Wherein, the corresponding relationship between the expected voltage and the expected frequency can be applied to different subsystems, that is, multiple subsystems in the DVFS management system can all use the same corresponding relationship between the expected voltage and the expected frequency. For example, Table 2 shows the corresponding relationship between expected voltage and expected frequency. As shown in Table 2, if the operating frequency required by the subsystem is 100MHz, then the corresponding required voltage value is 0.4V. If the operating frequency of the subsystem is 500MHz, then the corresponding required voltage value is 0.7V. If the required operating frequency of the subsystem is 1000MHz, then the corresponding required voltage value is 1V.
表2Table 2
期望频率(MHz)Expected Frequency(MHz) | 期望电压(V)Expected voltage (V) |
100100 | 0.40.4 |
……... | ……... |
500500 | 0.70.7 |
……... | ……... |
10001000 | 11 |
可以理解的是,在本申请的实施例中,DVFS管理系统获取到的、第一子系统上报的工作任务列表,也可以表征不同子任务与期望频率、持续时间的对应关系,还可以表征不同子任务与期望电压、期望频率、持续时间的对应关系。It can be understood that, in the embodiment of the present application, the work task list obtained by the DVFS management system and reported by the first subsystem can also represent the corresponding relationship between different subtasks and expected frequencies and durations, and can also represent different subtasks. Correspondence between subtasks and expected voltage, expected frequency, and duration.
由此可见,在本申请的实施例中,DVFS管理系统通过第一子系统上报的工作任务列表中的作期望电压(期望频率),可以确定出对应的作期望频率(期望电压)。因此,基于 上述表1和表2,可以获得工作任务列表的一种形式如表3所示:It can be seen that, in the embodiment of the present application, the DVFS management system can determine the corresponding expected operating frequency (expected voltage) through the expected operating voltage (expected frequency) in the working task list reported by the first subsystem. Therefore, based on the above Table 1 and Table 2, a form of the task list can be obtained as shown in Table 3:
表3table 3
the | 期望频率(MHz)Expected Frequency(MHz) | 期望电压(V)Expected voltage (V) | 持续时间(us)Duration (us) |
子任务1 |
100100 | 0.40.4 | 150150 |
子任务2Subtask 2 | 500500 | 0.70.7 | 500500 |
子任务3Subtask 3 | 10001000 | 11 | 100100 |
子任务4Subtask 4 | 500500 | 0.70.7 | 350350 |
需要说明的是,在本申请的实施例中,子系统可以根据子任务的工作量与对应的期望频率进一步确定子任务对应的持续时间。例如,子系统可以将一个子任务的工作量与期望频率的商确定为对应的持续时间。It should be noted that, in the embodiment of the present application, the subsystem may further determine the corresponding duration of the subtask according to the workload of the subtask and the corresponding expected frequency. For example, the subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
可以理解的是,在本申请的实施例中,如果子系统接收到的一个或多个子任务对应的执行时间为T,那么子系统执行该一个或多个子任务所需要的持续时间的总和为T。例如,如果一个子系统接收到包括4个子任务的1000us的任务包,那么该子系统执行该4个子任务对应的持续时间可以分别为150us、500us、100us、350us,总和为1000us。It can be understood that, in the embodiment of the present application, if the execution time corresponding to one or more subtasks received by the subsystem is T, then the sum of the duration required by the subsystem to execute the one or more subtasks is T . For example, if a subsystem receives a 1000us task packet including 4 subtasks, then the duration corresponding to the execution of the 4 subtasks by the subsystem can be 150us, 500us, 100us, 350us respectively, and the total is 1000us.
进一步地,在本申请的实施例中,DVFS管理系统,还可以用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。Further, in the embodiment of the present application, the DVFS management system can also be used to adjust the execution sequence of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted one Or the execution sequence of multiple subtasks and the expected voltage corresponding to each first subsystem configures the power supply voltage received in the next adjustment cycle.
需要说明的是,在本申请的实施例中,DVFS管理系统在获取到第一子系统发送的在下一个调整周期内的期望电压之后,便可以基于该期望电压进行任务调度处理,从而完成一个或多个子任务的执行顺序的调节。It should be noted that, in the embodiment of this application, after the DVFS management system obtains the expected voltage sent by the first subsystem in the next adjustment period, it can perform task scheduling processing based on the expected voltage, so as to complete one or Adjustment of execution order of multiple subtasks.
需要说明的是,在本申请的实施例中,基于上述图4,DVFS管理系统12还可以包括计算决策单元122。具体地,计算决策单元可以用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序。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 computing decision unit 122 . Specifically, the calculation decision unit may be configured to adjust the execution sequence of one or more subtasks according to the expected voltage of each first subsystem in a next adjustment period.
进一步地,在本申请的实施例中,DVFS管理系统,具体可以用于根据每个第一子系统在下一个调整周期内的期望电压生成多个任务顺序组合;计算多个任务顺序组合对应的多个能耗参数;根据多个能耗参数调节一个或多个子任务的执行顺序。Further, in the embodiment of the present application, the DVFS management system can specifically be used to generate multiple task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period; energy consumption parameters; adjust the execution order of one or more subtasks according to multiple energy consumption parameters.
可以理解的是,在本申请的实施例中,对于第一子系统的至少一个子任务,按照执行的时间先后可以确定至少一种任务顺序,例如,如果第一子系统对应有2个子任务,包括子任务1和子任务2,那么存在2种任务顺序,即先执行子任务1再执行子任务2,或者,先执行子任务2再执行子任务1。It can be understood that, in the embodiments of the present application, for at least one subtask of the first subsystem, at least one task sequence can be determined according to the time sequence of execution, for example, if the first subsystem corresponds to two subtasks, Including subtask 1 and subtask 2, there are two task sequences, that is, execute subtask 1 first and then execute subtask 2, or execute subtask 2 first and then execute subtask 1.
需要说明的是,在本申请的实施例中,在每一个任务顺序组合中,不同的第一子系统是并行执行对应的子任务的,即不同的第一子系统在执行子任务时互不影响。It should be noted that, in the embodiment of the present application, in each sequence combination of tasks, different first subsystems execute corresponding subtasks in parallel, that is, different first subsystems execute subtasks independently of each other. Influence.
可以理解的是,在本申请的实施例中,DVFS管理系统可以先对全部第一子系统的不同子任务的不同执行顺序进行随机的组合,确定出多个任务顺序组合,然后再从多个任务顺序组合中选择出最优的目标顺序组合,其中,该最优的目标顺序组合可以以能耗参数作为参考进行选择,最终,便可以基于该最优的目标顺序组合调节一个或多个子任务的执行顺序。It can be understood that, in the embodiment of the present application, the DVFS management system can randomly combine different execution orders of different subtasks of all the first subsystems to determine multiple task order combinations, and then select from multiple The optimal target sequence combination is selected from the task sequence combination, where the optimal target sequence combination can be selected using energy consumption parameters as a reference, and finally, one or more subtasks can be adjusted based on the optimal target sequence combination order of execution.
也就是说,在本申请的实施例中,一个或多个子任务的执行顺序的调节,是DVFS管理系统基于全部第一子系统的全部子任务的执行顺序的整体组合的最优组合结果确定的,从而可以使整个系统实现较小的功耗。That is to say, in the embodiment of this application, the adjustment of the execution sequence of one or more subtasks is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution sequences of all subtasks of all first subsystems , so that the entire system can achieve a smaller power consumption.
需要说明的是,在本申请的实施例中,DVFS管理系统,具体可以用于确定多个任务顺序组合对应的多组期望电压与持续时间的对应关系;接着可以根据多组期望电压与持续时间的对应关系确定多个能耗参数。It should be noted that, in the embodiment of the present application, the DVFS management system can specifically be used to determine the corresponding relationship between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations; The corresponding relationship determines multiple energy consumption parameters.
可以理解的是,在本申请的实施例中,DVFS管理系统在完成对全部第一子系统的子 任务的执行顺序的自由组合,确定出多个任务顺序组合之后,可以进一步计算获得多个任务顺序组合对应的多个能耗参数。具体地,DVFS管理系统可以先分别确定多个任务顺序组合对应的多组期望电压与持续时间的对应关系;然后再根据多组期望电压与持续时间的对应关系分别确定多个能耗参数。It can be understood that, in the embodiment of the present application, after the DVFS management system completes the free combination of the execution order of all the subtasks of the first subsystem and determines a plurality of task sequence combinations, it can further calculate and obtain multiple task Multiple corresponding energy consumption parameters are sequentially combined. Specifically, the DVFS management system may respectively determine multiple sets of correspondences between expected voltages and durations corresponding to multiple task sequence combinations; and then determine multiple energy consumption parameters respectively according to the correspondences between multiple sets of expected voltages and durations.
需要说明的是,在本申请的实施例中,对于每一个任务顺序组合,DVFS管理系统可以按照每一个子任务对应的期望电压和持续时间,确定出不同时间段中能够满足全部第一子系统的工作需求的电压,从而可以完成对应的一组期望电压与持续时间的对应关系的建立。It should be noted that, in the embodiment of this application, for each task sequence combination, the DVFS management system can determine that all the first subsystems can be satisfied in different time periods according to the expected voltage and duration corresponding to each subtask. The voltage required by the work, so that the establishment of a corresponding set of corresponding relationship between expected voltage and duration can be completed.
可以理解的是,在本申请的实施例中,在确定出每一个任务顺序组合对应的每一组期望电压与持续时间的对应关系之后,DVFS管理系统便可以根据每一组期望电压与持续时间的对应关系计算出该任务顺序组合对应的能耗参数。It can be understood that, in the embodiment of the present application, after determining the corresponding relationship between each group of expected voltage and duration corresponding to each task sequence combination, the DVFS management system can Calculate the energy consumption parameters corresponding to the task sequence combination.
例如,在本申请的实施例中,如表4和表5所示,对于子系统a和子系统b这两个第一子系统,子系统a对应有3个子任务,分别为子任务a1,子任务a2以及子任务a3,子系统b对应有2个子任务,分别为子任务b1和子任务b2。For example, in the embodiment of the present application, as shown in Table 4 and Table 5, for the two first subsystems of subsystem a and subsystem b, subsystem a corresponds to three subtasks, respectively subtask a1, subtask For task a2 and subtask a3, subsystem b corresponds to two subtasks, namely subtask b1 and subtask b2.
表4Table 4
the | 期望频率(MHz)Expected Frequency(MHz) | 期望电压(V)Expected voltage (V) | 持续时间(us)Duration (us) |
子任务a1Subtask a1 | 100100 | 0.40.4 | 350350 |
子任务a2Subtask a2 | 500500 | 0.70.7 | 300300 |
子任务a3 |
10001000 | 11 | 350350 |
表5table 5
the | 期望频率(MHz)Expected Frequency(MHz) | 期望电压(V)Expected voltage (V) | 持续时间(us)Duration (us) |
子任务b1 |
10001000 | 0.40.4 | 450450 |
子任务b2Subtask b2 | 100100 | 0.70.7 | 550550 |
可以理解的是,在本申请的实施例中,基于上述表4,DVFS管理系统可以确定子系统a对应有3!=3×2=6种任务顺序;基于上述表5,DVFS管理系统可以确定子系统b对应有2!=2×1=2种任务顺序。因此,对于子系统a和子系统b这两个第一子系统,DVFS管理系统可以确定出6×2=12个任务顺序组合。It can be understood that, in the embodiment of the present application, based on the above Table 4, the DVFS management system can determine that subsystem a corresponds to 3! =3×2=6 task sequences; based on the above Table 5, the DVFS management system can determine that subsystem b corresponds to 2! =2×1=2 task sequences. Therefore, for the two first subsystems, subsystem a and subsystem b, the DVFS management system can determine 6×2=12 task sequence combinations.
进一步地,在本申请的实施例中,DVFS管理系统可以进一步计算这12个任务顺序组合对应的12个能耗参数。其中,对于子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b1、子任务b2的这一个任务顺序组合,DVFS管理系统需要先确定出该任务顺序组合对应的一组期望电压与持续时间的对应关系。Further, in the embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations. Among them, for the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is the combination of subtask b1 and subtask b2, the DVFS management system needs to determine The task sequence combination corresponds to a set of correspondences between expected voltages and durations.
例如,在本申请的实施例中,图5为任务顺序组合的示意图一,如图5所示,可以先分别确定子系统a和子系统b在整个周期(1000us以内)的电压需求。图6为期望电压与持续时间的对应关系的示意图一,如图6所示,基于图5,联合子系统a和子系统b在整个周期(1000us以内)的电压需求,可以确定出该任务顺序组合所需求的期望电压与持续时间两者之间的对应关系。For example, in the embodiment of the present application, FIG. 5 is a schematic diagram of task sequence combination. As shown in FIG. 5 , the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us) can be determined first. Figure 6 is a schematic diagram of the corresponding relationship between expected voltage and duration. As shown in Figure 6, based on Figure 5, combined with the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us), the task sequence combination can be determined The correspondence between the desired voltage and duration required.
可以理解的是,在本申请的实施例中,在完成每一个任务顺序组合对应的期望电压与持续时间的对应关系的建立之后,DVFS管理系统可以进一步计算多个任务顺序组合对应的多个能耗参数。It can be understood that, in the embodiment of the present application, after completing the establishment of the corresponding relationship between the expected voltage and the duration corresponding to each task sequence combination, the DVFS management system can further calculate multiple energy values corresponding to multiple task sequence combinations. consumption parameters.
进一步地,在本申请的实施例中,DVFS管理系统,具体可以用于根据每个第一子系统在下一个调整周期内的期望电压、每个任务顺序组合对应的每组期望电压与持续时间的对应关系以及能耗计算模型,计算获得每个任务顺序组合对应的能耗参数。Further, in the embodiment of the present application, the DVFS management system can specifically be used to combine each group of expected voltages and duration corresponding to each task sequence according to the expected voltage of each first subsystem in the next adjustment period. The corresponding relationship and the energy consumption calculation model are calculated to obtain the energy consumption parameters corresponding to each task sequence combination.
可以理解的是,在本申请的实施例中,能耗计算模型可以用于对第一子系统的整体能耗进行估计和预测。例如,DVFS管理系统可以选择使用如下公式(1)所示的半导体动态能耗公式作为能耗计算模型:It can be understood that, in the embodiment 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 can choose to use the semiconductor dynamic energy consumption formula shown in the following formula (1) as the energy consumption calculation model:
Qi=V
2×Ci×f×t (1)
Qi=V 2 ×Ci×f×t (1)
其中,Qi表示子系统i的能耗,V为期望电压,f为工作期望功率,t为持续时间,Ci为负载电容。具体地,对于不同的子系统来说,Ci的值是在硬件设计完成后便固定的,即每一个子系统均对应设置有固定的Ci。Among them, Qi represents the energy consumption of subsystem i, V is the expected voltage, f is the expected power of work, t is the duration, and Ci is the load capacitance. Specifically, for different subsystems, the value of Ci is fixed after the hardware design is completed, that is, each subsystem is correspondingly provided with a fixed Ci.
也就是说,在本申请的实施例中,对于一个任务顺序组合,DVFS管理系统根据子系统a和子系统b在下一个调整周期内的期望电压,相应的期望电压与持续时间的对应关系,基于上述公式(1)分别计算获得子系统a的能耗Qa和子系统b的能耗Qb之后,便可以将Qa和Qb的和值最为任务顺序组合对应的、总体的能耗参数Q。That is to say, in the embodiment of the present application, for a task sequence combination, the DVFS management system is based on the expected voltage of subsystem a and subsystem b in the next adjustment cycle, and the corresponding relationship between expected voltage and duration, based on the above After formula (1) calculates the energy consumption Qa of subsystem a and the energy consumption Qb of subsystem b respectively, the sum of Qa and Qb can be combined as the overall energy consumption parameter Q corresponding to the sequence of tasks.
进一步地,在本申请的实施例中,DVFS管理系统,具体可以用于将多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;基于目标顺序组合,DVFS管理系统调节一个或多个子任务的执行顺序。Further, in the embodiment of the present application, the DVFS management system can be specifically configured to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; based on the target sequence combination, the DVFS management system Adjust the execution order of one or more subtasks.
可以理解的是,在本申请的实施例中,在完成每一个任务顺序组合对应的能耗参数的计算之后,DVFS管理系统可以进一步根据多个能耗参数调节一个或多个子任务的执行顺序。具体地,DVFS管理系统可以选择将多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;然后再基于目标顺序组合完成一个或多个子任务的执行顺序的调节。It can be understood that, in the embodiment of the present application, after the calculation of the energy consumption parameters corresponding to each task sequence combination is completed, the DVFS management system may further adjust the execution order of one or more subtasks according to multiple energy consumption parameters. Specifically, the DVFS management system may choose to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; and then complete the adjustment of the execution sequence of one or more subtasks based on the target sequence combination.
需要说明的是,在本申请的实施例中,DVFS管理系统可以选择最小能耗参数对应的任务顺序组合,并根据该任务顺序组合获得第一子系统对应的子任务的执行顺序,这样,每一个子系统在按照对应的执行顺序分别执行子任务时,可以使整个系统的能耗最小。It should be noted that, in the embodiment of the present application, the DVFS management system can select the task sequence combination corresponding to the minimum energy consumption parameter, and obtain the execution sequence of the subtasks corresponding to the first subsystem according to the task sequence combination. In this way, every When a subsystem executes subtasks according to the corresponding execution order, the energy consumption of the whole system can be minimized.
例如,在本申请的实施例中,如果最小能耗参数对应的任务顺序组合为:子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b2、子任务b1,那么子系统a按照任务a1、子任务a2、子任务a3的执行顺序执行子任务,子系统b按照子任务b2、子任务b1的执行顺序执行子任务。For example, in the embodiment of the present application, if the task sequence combination corresponding to the minimum energy consumption parameter is: the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is subtask b2, subtask b1, then subsystem a executes subtasks in the order of execution of task a1, subtask a2, and subtask a3, and subsystem b executes subtasks in the order of execution of subtask b2 and subtask b1.
进一步地,在本申请的实施例中,基于上述图4,DVFS管理系统12还可以包括调压控制单元123。具体地,调压控制单元可以用于按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。Further, in the embodiment of the present application, based on the above-mentioned 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 adjustment period according to the adjusted execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem.
需要说明的是,在本申请的实施例中,基于上述图4,DVFS管理系统12还可以包括高速数据接口124。具体地,高速数据接口可以用于向电源管理模块发送电压调整请求。其中,电压调整请求用于指示电源管理模块调节供电电压的大小。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 high-speed data interface 124 . Specifically, the high-speed data interface can be used to send a voltage adjustment request to the power management module. Wherein, the voltage adjustment request is used to instruct the power management module to adjust the power supply voltage.
可以理解的是,在本申请的实施例中,电源管理模块可以用于为基带芯片提供供电电压。It can be understood that, in the embodiment of the present application, the power management module may be used to provide a power supply voltage for the baseband chip.
进一步地,在本申请的实施例中,DVFS管理系统所配置的调压控制单元和高速数据接口可以用于电压调整请求的生成和传输。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 can be used for generating and transmitting the voltage regulation request.
在本申请的实施例中,在按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序之后,DVFS管理系统便可以按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压调度第一子系统执行不同子任务。具体地,DVFS管理系统可以按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压完成电压调整处理,从而可以配置在下一个调整周期内接收到的供电电压。In the embodiment of this application, after adjusting the execution sequence of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, the DVFS management system can follow the adjusted execution sequence of one or more subtasks. The execution sequence and the expected voltage corresponding to each first subsystem schedule the first subsystem to perform different subtasks. Specifically, the DVFS management system can complete the voltage adjustment process according to the adjusted execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem, so as to configure the power supply voltage received in the next adjustment period.
进一步地,在本申请的实施例中,在调度第一子系统执行子任务时,DVFS管理系统可以选择将调节后的一个或多个子任务的执行顺序下发至对应的第一子系统,从而可以使第一子系统按照调节后的一个或多个子任务的执行顺序执行不同子任务。Further, in the embodiment of the present application, when scheduling the first subsystem to execute subtasks, the DVFS management system may choose to send the adjusted execution sequence of one or more subtasks to the corresponding first subsystem, so that The first subsystem can be made to execute different subtasks according to the adjusted execution sequence of one or more subtasks.
进一步地,在本申请的实施例中,在进行电压调整处理时,DVFS管理系统可以先根据目标顺序组合对应的期望电压与持续时间的对应关系确定不同时间段的供电电压,然后根据不同时间段的供电电压生成电压调整请求;接着可以向终端设备配置的电源管理模块发送电压调整请求,从而可以使得电源管理模块基于该电压调整请求完成电压调整处理。Further, in the embodiment of the present application, when performing voltage adjustment processing, the DVFS management system can first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then according to the different time periods The power supply voltage generates a voltage adjustment request; then the voltage adjustment request can be sent to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
也就是说,在本申请的实施例中,在多个任务顺序组合中确定出最优的目标顺序组合之后,一方面,DVFS管理系统可以根据基于该目标顺序组合获得的第一子系统的调节后的一个或多个子任务的执行顺序来调度第一子系统依次执行不同子任务;另一方面,DVFS管理系统同时还需要按照该目标顺序组合对应的期望电压与持续时间的对应关系来对系统的工作电压进行调整,从而保证系统在下一个调整周期内所接收到的供电电压能够满足多个子系统的工作需求。That is to say, in the embodiment of the present application, after determining the optimal target sequence combination among multiple task sequence combinations, on the one hand, the DVFS management system can adjust the first subsystem based on the target sequence combination The execution sequence of one or more subtasks to schedule the first subsystem to execute different subtasks in turn; The operating voltage is adjusted to ensure that the power supply voltage received by the system in the next adjustment period can meet the working requirements of multiple subsystems.
需要说明的是,在本申请的实施例中,DVFS管理系统在根据不同时间段的供电电压生成电压调整请求时,可以选择先按照预设压缩格式对不同时间段的供电电压进行打包处理,从而可以生成对应的电压调整请求。It should be noted that, in the embodiment of this application, when the DVFS management system generates voltage adjustment requests according to the supply voltages of different time periods, it can choose to package the supply voltages of different time periods according to the preset compression format, so that A corresponding voltage adjustment request may be generated.
可以理解的是,在本申请的实施例中,DVFS管理系统在向电源管理模块发送电压调整请求时,可以选择按照预设接口格式将电压调整请求发送至电源管理模块。It can be understood that, in the embodiment of the present application, when the DVFS management system sends the voltage adjustment request to the power management module, it may choose to send the voltage adjustment request to the power management module according to a preset interface format.
需要说明的是,在本申请的实施例中,DVFS管理系统在根据不同时间段的供电电压生成电压调整请求时,调压控制单元可以选择先按照预设压缩格式对不同时间段的供电电压进行打包处理,生成电压调整请求,然后再将该电压调整请求传输至高速数据接口,接着,高速数据接口可以按照预设接口格式向电源管理模块发送电压调整请求。It should be noted that, in the embodiment of the present application, when the DVFS management system generates a voltage adjustment request according to the power supply voltage of different time periods, the voltage regulation control unit can choose to first perform compression on the power supply voltage of different time periods according to the preset compression format. Packing and processing, generating a voltage adjustment request, and then transmitting the voltage adjustment request to the high-speed data interface, and then, the high-speed data interface can send the voltage adjustment request to the power management module according to a preset interface format.
也就是说,在本申请的实施例中,DVFS管理系统中的计算决策单元在计算出不同时间段的供电电压之后,便可以将不同时间段的供电电压传送给调压控制单元,调压控制单元把该不同时间段的供电电压按约定格式(预设压缩格式)打包后,生成电压调整请求,并将电压调整请求发送给高速数据接口,高速数据接口则可以按照系统电源管理接口(System Power Management Interface,SPMI)等物理接口格式(预设接口格式),再将其发送给电源管理模块。That is to say, in the embodiment of the present application, after calculating the power supply voltage of different time periods, the calculation and decision-making unit in the DVFS management system can transmit the power supply voltage of different time periods to the voltage regulation control unit, and the voltage regulation control unit After the unit packs the power supply voltage of the different time periods according to the agreed format (preset compression format), it generates a voltage adjustment request and sends the voltage adjustment request to the high-speed data interface. The high-speed data interface can follow the system power management interface (System Power Management Interface, SPMI) and other physical interface formats (preset interface format), and then send it to the power management module.
进一步地,在本申请的实施例中,终端设备中的电源管理模块在接收到基带芯片发送的电压调整请求之后,便可以基于该电压调整请求确定出对应的不同时间段的供电电压,然后按照不同时间段的供电电压进行电压调整处理。具体地,电源管理模块可以按照不同时间段的供电电压控制实时输出电压。Further, in the embodiment of this application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then follow the The power supply voltage in different time periods is subjected to voltage adjustment processing. Specifically, the power management module can control the real-time output voltage according to the supply voltage in different time periods.
需要说明的是,在本申请的实施例中,图7为电源管理模块的示意图,如图7所示,电源管理模块可以包括高速通信接口,控制寄存器以及直流变换器(DCDC)等几个部分。其中,电源管理模块中的高速通信接口在接收到电压调整请求之后,可以解读转换获得DCDC的供电电压,通过调整控制寄存器,进而控制DCDC输出。具体地,DCDC可以以典型值20mV/us的速率进行电压调整,此时如果调整100mv,将耗时5us。It should be noted that, in the embodiment of the present application, FIG. 7 is a schematic diagram of a power management module. 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 DC converter (DCDC). . Wherein, after receiving the voltage adjustment request, the high-speed communication interface in the power management module can interpret and convert to obtain the DCDC power supply voltage, and then control the DCDC output by adjusting the control register. Specifically, DCDC can adjust the voltage at a typical rate of 20mV/us. At this time, if it adjusts 100mv, it will take 5us.
本申请实施例提供了一种基带芯片,基带芯片包括多个子系统和DVFS管理系统,其中,DVFS管理系统,用于将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统;每个第一子系统,用于根据接收到的子任务,向DVFS管理系统发送下一个调整周期内的期望电压;DVFS管理系统,还用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。也就是说,在本申请的实施例中,终端设备的基带芯片配置的DVFS管理系统可以获取子系统的下一个调整周期内的期望电压,并基于期望电压确定出子系统对应的子任务的最优的执行顺序,进而可以根据该执行顺序控制子系统进行子任务的处理,同时完成电压的调整,从而能够精准的进行任务的调度和电压的控制,进而有效降低系统的功耗。An embodiment of the present application provides a baseband chip. The baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to one or more first Subsystems; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is used to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtasks; the DVFS management system , is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and correspond to each first subsystem according to the adjusted execution order of one or more subtasks The desired voltage of , configures the supply voltage received in the next trim cycle. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
本申请一实施例提供了一种任务调度方法,该任务调度方法可以应用于终端设备中,其中,终端设备可以配置有基带芯片,基带芯片可以包括多个子系统和DVFS管理系统。An embodiment of the present application provides a task scheduling method, which can be applied to a terminal device, where the terminal device can be configured with a baseband chip, and the baseband chip can include multiple subsystems and a DVFS management system.
在本申请的实施例中,图8为终端设备的组成结构示意图,如图8所示,终端设备可以包括电源管理模块、射频模块以及基带芯片,电源管理模块可以分别向射频模块和基带 芯片供电。其中,基带芯片可以包括多个子系统,多个子系统均可以工作在相同的电压域下;基带芯片还可以包括DVFS管理系统,DVFS管理系统可以用于进行任务调度处理和电压调整处理。In the embodiment of the present application, FIG. 8 is a schematic diagram of the composition and structure of the terminal device. As shown in FIG. 8, the terminal device may include a power management module, a radio frequency module, and a baseband chip, and the power management module may supply power to the radio frequency module and the baseband chip respectively. . Wherein, the baseband chip can include multiple subsystems, and the multiple subsystems can work in the same voltage domain; the baseband chip can also include a DVFS management system, and the DVFS management system can be used for task scheduling processing and voltage adjustment processing.
需要说明的是,在本申请的实施例中,DVFS管理系统可以先将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统;接着,每个第一子系统根据接收到的子任务,可以向DVFS管理系统发送下一个调整周期内的期望电压;最后,DVFS管理系统便可以按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。It should be noted that, in the embodiment of the present application, the DVFS management system may first issue one or more subtasks to one or more first subsystems among the plurality of subsystems; wherein, the first subsystem is the execution subsystem task subsystem; then, each first subsystem can send the expected voltage in the next adjustment cycle to the DVFS management system according to the received subtask; finally, the DVFS management system can follow each first subsystem in the next The expected voltage in an adjustment period adjusts the execution order of one or more subtasks, and according to the adjusted execution order of one or more subtasks and the expected voltage corresponding to each first subsystem, configure the received in the next adjustment period supply voltage.
可以理解的是,在本申请的实施例中,DVFS管理系统可以包括任务管理单元,其中,任务管理单元可以将接收到的一个或多个任务拆解为一个或多个子任务;然后可以将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统。It can be understood that, in the embodiment of the present application, the DVFS management system may include a task management unit, wherein the task management unit may decompose one or more received tasks into one or more subtasks; The or multiple subtasks are sent to one or more first subsystems in the multiple subsystems respectively.
进一步地,在本申请的实施例中,DVFS管理系统可以包括计算决策单元,其中,计算决策单元可以按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序。Further, in the embodiment of the present application, the DVFS management system may include a calculation decision unit, wherein the calculation decision unit may adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period .
进一步地,在本申请的实施例中,DVFS管理系统可以包括调压控制单元,其中,调压控制单元可以按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。Further, in the embodiment of the present application, the DVFS management system may include a voltage regulation control unit, wherein the voltage regulation control unit may follow the adjusted execution sequence of one or more subtasks and the expectations corresponding to each first subsystem Voltage, configures the supply voltage received during the next trim cycle.
进一步地,在本申请的实施例中,DVFS管理系统可以包括高速数据接口,其中,高速数据接口可以向电源管理模块发送电压调整请求;其中,电源管理模块用于为基带芯片提供供电电压;电压调整请求用于指示电源管理模块调节供电电压的大小。Further, in the embodiment of the present application, the DVFS management system may include a high-speed data interface, wherein the high-speed data interface may send a voltage adjustment request to the power management module; wherein the power management module is used to provide a power supply voltage for the baseband chip; the voltage The adjustment request is used to instruct the power management module to adjust the magnitude of the supply voltage.
需要说明的是,在本申请的实施例中,在按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序时,DVFS管理系统可以先根据每个第一子系统在下一个调整周期内的期望电压生成多个任务顺序组合;然后可以计算多个任务顺序组合对应的多个能耗参数;最终便可以根据多个能耗参数调节一个或多个子任务的执行顺序。It should be noted that, in this embodiment of the application, when adjusting the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, the DVFS management system may first The expected voltage of the subsystem in the next adjustment cycle generates multiple task sequence combinations; then multiple energy consumption parameters corresponding to multiple task sequence combinations can be calculated; finally, the execution of one or more subtasks can be adjusted according to multiple energy consumption parameters order.
进一步地,在本申请的实施例中,在计算多个任务顺序组合对应的多个能耗参数时,DVFS管理系统可以先确定多个任务顺序组合对应的多组期望电压与持续时间的对应关系;然后根据多组期望电压与持续时间的对应关系确定多个能耗参数。Further, in the embodiment of the present application, when calculating multiple energy consumption parameters corresponding to multiple task sequence combinations, the DVFS management system may first determine the correspondence between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations ; Then determine a plurality of energy consumption parameters according to the corresponding relationship between multiple sets of expected voltages and durations.
进一步地,在本申请的实施例中,DVFS管理系统在根据多个能耗参数调节一个或多个子任务的执行顺序时,可以先将多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;然后再基于目标顺序组合,调节一个或多个子任务的执行顺序。Further, in the embodiment of the present application, when the DVFS management system adjusts the execution sequence of one or more subtasks according to multiple energy consumption parameters, it may first set the task sequence corresponding to the minimum energy consumption parameter among the multiple energy consumption parameters The combination is determined as a target sequence combination; and then based on the target sequence combination, the execution sequence of one or more subtasks is adjusted.
图9任务调度方法的实现流程示意图一,如图9所示,在本申请的实施例中,终端设备进行任务调度的方法可以包括以下步骤:Figure 9 is a schematic diagram of the first implementation flow of the task scheduling method. As shown in Figure 9, in the embodiment of the present application, the method for the terminal device to perform task scheduling may include the following steps:
步骤101、DVFS管理系统在将一个或多个子任务下发至第一子系统之后,获取第一子系统上报的工作任务列表;其中,工作任务列表表征下一个调整周期内的不同子任务与期望电压、持续时间的对应关系;第一子系统为多个子系统中的任意多个子系统。Step 101: After sending one or more subtasks to the first subsystem, the DVFS management system obtains the work task list reported by the first subsystem; wherein, the work task list represents different subtasks and expectations in the next adjustment period Correspondence between voltage and duration; the first subsystem is any number of subsystems among the plurality of subsystems.
在本申请的实施例中,在将一个或多个子任务下发至多个子系统中的第一子系统之后,DVFS管理系统可以获取第一子系统上报的工作任务列表,从而可以根据工作任务列表确定第一子系统在下一个调整周期内的期望电压。In the embodiment of the present application, after sending one or more subtasks to the first subsystem among the multiple subsystems, the DVFS management system can obtain the work task list reported by the first subsystem, so that it can determine according to the work task list The desired voltage of the first subsystem during the next trim cycle.
可以理解的是,在本申请的实施例中,终端设备可以为各种具有通信功能的电子设备,包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载电子设备(例如车载导航电子设备)等等的移动电子设备以及诸如数字电视(TV)、 台式计算机等等的固定电子设备。It can be understood that, in the embodiments of the present application, the terminal device can be various electronic devices with communication functions, including but not limited to mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA), tablet computer (PAD), portable multimedia player (Portable Media Player, PMP), vehicle electronic equipment (such as vehicle navigation electronic equipment) and other mobile electronic equipment, as well as digital television (TV), desktop computer, etc. Secure electronic equipment.
需要说明的是,在本申请的实施例中,终端设备可以包括电源管理模块和基带芯片,其中,电源管理模块与基带芯片之间能够进行通信,从而可以实现调整电压的请求和反馈处理。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, wherein the power management module and the baseband chip can communicate with each other, so as to implement voltage adjustment request and feedback processing.
进一步地,在本申请的实施例中,终端设备配置的基带芯片可以包括多个子系统,其中,该多个子系统可以在相同的电压域下分别执行任务。终端设备配置的基带芯片还可以包括DVFS管理系统,其中,DVFS管理系统可以分别与多个子系统进行通信。Further, in the embodiment of the present application, the baseband chip configured in the terminal device may include multiple subsystems, where the multiple subsystems may respectively perform tasks in the same voltage domain. The baseband chip configured in the terminal device may also include a DVFS management system, wherein the DVFS management system may communicate with multiple subsystems respectively.
在本申请的实施例中,DVFS管理系统可以由任务管理单元、计算决策单元、调压控制单元以及高速数据接口这几个部分构成。其中,任务管理单元可以鉴别当前及未来一段时间(比如1000us)的基带芯片的一个或多个任务,同时将基带芯片的一个或多个任务拆解成一个或多个子任务分配给各个子系统,还可以收集不同子系统反馈回来的子系统下一个调整周期内的工作任务列表;计算决策单元可以根据各个子系统的工作任务列表中的期望电压进行任务调度处理,完成一个或多个子任务的执行顺序的调节。其中,调压控制单元可以按照约定好的格式对不同时间段的供电电压进行打包,然后发送给高速数据接口;高速数据接口则可以进一步将其发送给电源管理模块。In the embodiment of the present application, the DVFS management system may be composed of several parts such as a task management unit, a calculation decision unit, a voltage regulation control unit, and a high-speed data interface. Among them, the task management unit can identify one or more tasks of the baseband chip at present and in the future (such as 1000us), and at the same time disassemble one or more tasks of the baseband chip into one or more subtasks and assign them to each subsystem, It is also possible to collect the work task lists of the subsystems in the next adjustment cycle fed back by different subsystems; the calculation decision-making unit can perform task scheduling processing according to the expected voltage in the work task lists of each subsystem, and complete the execution of one or more sub-tasks sequence adjustment. Among them, the voltage regulation control unit can pack the power supply voltage of different time periods according to the agreed format, and then send it to the high-speed data interface; the high-speed data interface can further send it to the power management module.
需要说明的是,在本申请的实施例中,第一子系统可以为多个子系统中的任意子系统,即DVFS管理系统可以将一个或多个子任务下发至全部子系统中的任意多个子系统,相应的,DVFS管理系统也可以接收任意多个子系统中的每一个子系统上报的对应的工作任务列表。It should be noted that, in the embodiment of this application, the first subsystem can be any subsystem among multiple subsystems, that is, the DVFS management system can send one or more subtasks to any number of subsystems in all subsystems Correspondingly, the DVFS management system can also receive the corresponding work task list reported by each subsystem in any number of subsystems.
进一步地,在本申请的实施例中,工作任务列表可以表征下一个调整周期内的不同子任务与期望电压、持续时间的对应关系。其中,工作任务列表是与第一子系统一一对应的,即一个第一子系统会对应上报一个工作任务列表。Further, in the embodiment of the present application, the work task list may represent the corresponding relationship between different subtasks in the next adjustment period, the expected voltage and the duration. Wherein, the work task list is in one-to-one correspondence with the first subsystem, that is, a first subsystem will report a work task list correspondingly.
可以理解的是,在本申请的实施例中,第一子系统中不同子任务对应的期望电压可以对第一子系统执行该子任务时所需要的工作电压进行预测。It can be understood that, in the embodiment of the present application, the expected voltages corresponding to different subtasks in the first subsystem may predict the working voltage required by the first subsystem when performing the subtask.
需要说明的是,在本申请的实施例中,基于第一子系统上报的工作任务列表,可以确定出不同子任务所对应的期望电压和持续时间。其中,持续时间可以为在对应的期望电压下执行对应的子任务时所持续的工作时间。例如,上述表1为工作任务列表,如表1所示,工作任务列表可以用于确定四个子任务分别对应的期望电压和持续时间,其中,执行子任务1所需要的期望电压为0.4V,对应的持续时间为150us;执行子任务3所需要的期望电压为1V,对应的持续时间为100us。进一步地,在本申请的实施例中,可以预先确定期望电压与期望频率的对应关系,即对于一个期望电压,可以基于该期望电压与期望频率的对应关系,确定出对应的期望频率。其中,该期望电压与期望频率之间的对应关系可以适用于不同的子系统,即DVFS管理系统中的多个子系统均可以使用相同的期望电压与期望频率的对应关系。例如,上述表2为期望电压与期望频率的对应关系,如表2所示,如果子系统工作时所需要的运行频率为100MHz,那么对应需要的电压值为0.4V,如果子系统工作时所需要的运行频率为500MHz,那么对应需要的电压值为0.7V,如果子系统工作时所需要的运行频率为1000MHz,那么对应需要的电压值为1V。可以理解的是,在本申请的实施例中,DVFS管理系统获取到的、第一子系统上报的工作任务列表,也可以表征不同子任务与期望频率、持续时间的对应关系,还可以表征不同子任务与期望电压、期望频率、持续时间的对应关系。It should be noted that, in the embodiment of the present application, based on the work task list reported by the first subsystem, the expected voltage and duration corresponding to different subtasks can be determined. Wherein, the duration may be the continuous working time when the corresponding subtask is executed under the corresponding expected voltage. For example, the above Table 1 is a list of working tasks. As shown in Table 1, the list of working tasks can be used to determine the expected voltage and duration corresponding to the four subtasks, wherein the expected voltage required to execute subtask 1 is 0.4V, The corresponding duration is 150us; the expected voltage required to execute subtask 3 is 1V, and the corresponding duration is 100us. Further, in the embodiment of the present application, the corresponding relationship between the expected voltage and the expected frequency can be determined in advance, that is, for an expected voltage, the corresponding expected frequency can be determined based on the corresponding relationship between the expected voltage and the expected frequency. Wherein, the corresponding relationship between the expected voltage and the expected frequency can be applied to different subsystems, that is, multiple subsystems in the DVFS management system can all use the same corresponding relationship between the expected voltage and the expected frequency. For example, the above Table 2 shows the corresponding relationship between expected voltage and expected frequency. As shown in Table 2, if the operating frequency required by the subsystem is 100MHz, then the corresponding required voltage value is 0.4V. The required operating frequency is 500MHz, so the corresponding required voltage value is 0.7V. If the required operating frequency of the subsystem is 1000MHz, then the corresponding required voltage value is 1V. It can be understood that, in the embodiment of the present application, the work task list obtained by the DVFS management system and reported by the first subsystem can also represent the corresponding relationship between different subtasks and expected frequencies and durations, and can also represent different subtasks. Correspondence between subtasks and expected voltage, expected frequency, and duration.
由此可见,在本申请的实施例中,DVFS管理系统通过第一子系统上报的工作任务列表中的作期望电压(期望频率),可以确定出对应的作期望频率(期望电压)。因此,基于上述表1和表2,可以获得工作任务列表的一种形式如上述表3。需要说明的是,在本申请的实施例中,子系统可以根据子任务的工作量与对应的期望频率进一步确定子任务对应的持续时间。例如,子系统可以将一个子任务的工作量与期望频率的商确定为对应的持续 时间。It can be seen that, in the embodiment of the present application, the DVFS management system can determine the corresponding expected operating frequency (expected voltage) through the expected operating voltage (expected frequency) in the working task list reported by the first subsystem. Therefore, based on the above Table 1 and Table 2, one form of the work task list can be obtained as the above Table 3. It should be noted that, in the embodiment of the present application, the subsystem may further determine the corresponding duration of the subtask according to the workload of the subtask and the corresponding expected frequency. For example, a subsystem may determine the quotient of the workload of a subtask and the desired frequency as the corresponding duration.
步骤102、DVFS管理系统基于工作任务列表进行任务调度处理,确定第一子系统对应的目标任务顺序。 Step 102, the DVFS management system performs task scheduling processing based on the work task list, and determines the target task sequence corresponding to the first subsystem.
在本申请的实施例中,在将一个或多个子任务下发至第一子系统,并获取第一子系统上报的下一个调整周期内的工作任务列表之后,DVFS管理系统便可以基于工作任务列表进行任务调度处理,从而确定出第一子系统对应的目标任务顺序。In the embodiment of this application, after sending one or more subtasks to the first subsystem and obtaining the list of work tasks in the next adjustment period reported by the first subsystem, the DVFS management system can The list performs task scheduling processing, so as to determine the target task sequence corresponding to the first subsystem.
可以理解的是,在本申请的实施例中,对于第一子系统的至少一个子任务,按照执行的时间先后可以确定至少一种任务顺序,例如,如果第一子系统对应有2个子任务,包括子任务1和子任务2,那么存在2种任务顺序,即先执行子任务1再执行子任务2,或者,先执行子任务2再执行子任务1。It can be understood that, in the embodiments of the present application, for at least one subtask of the first subsystem, at least one task sequence can be determined according to the time sequence of execution, for example, if the first subsystem corresponds to two subtasks, Including subtask 1 and subtask 2, there are two task sequences, that is, execute subtask 1 first and then execute subtask 2, or execute subtask 2 first and then execute subtask 1.
进一步地,在本申请的实施例中,第一子系统对应的目标任务顺序,可以为第一子系统对应的至少一个任务顺序中的其中一个任务顺序。Further, in the embodiment of the present application, the target task sequence corresponding to the first subsystem may be one of at least one task sequence corresponding to the first subsystem.
需要说明的是,在本申请的实施例中,DVFS管理系统在基于工作任务列表进行任务调度处理,确定第一子系统对应的目标任务顺序时,可以先根据全部第一子系统的全部工作任务列表生成多个任务顺序组合;然后再计算多个任务顺序组合对应的多个能耗参数;最终便可以根据多个能耗参数确定第一子系统对应的目标任务顺序。It should be noted that, in the embodiment of the present application, when the DVFS management system performs task scheduling processing based on the work task list and determines the target task sequence corresponding to the first subsystem, it may first The list generates multiple task sequence combinations; and then calculates multiple energy consumption parameters corresponding to the multiple task sequence combinations; finally, the target task sequence corresponding to the first subsystem can be determined according to the multiple energy consumption parameters.
需要说明的是,在本申请的实施例中,在每一个任务顺序组合中,不同的第一子系统是并行执行对应的子任务的,即不同的第一子系统在执行子任务时互不影响。It should be noted that, in the embodiment of the present application, in each sequence combination of tasks, different first subsystems execute corresponding subtasks in parallel, that is, different first subsystems execute subtasks independently of each other. Influence.
可以理解的是,在本申请的实施例中,DVFS管理系统可以先对全部第一子系统的不同子任务的不同执行顺序进行随机的组合,确定出多个任务顺序组合,然后再从多个任务顺序组合中选择出最优的目标顺序组合,其中,该最优的目标顺序组合可以以能耗参数作为参考进行选择,最终,便可以基于该最优的目标顺序组合确定出每一个子系统对应的目标任务顺序。It can be understood that, in the embodiment of the present application, the DVFS management system can randomly combine different execution orders of different subtasks of all the first subsystems to determine multiple task order combinations, and then select from multiple Select the optimal target sequence combination from the task sequence combination, where the optimal target sequence combination can be selected with energy consumption parameters as a reference, and finally, each subsystem can be determined based on the optimal target sequence combination Corresponding target task sequence.
也就是说,在本申请的实施例中,第一子系统的目标任务顺序,是DVFS管理系统基于全部第一子系统的全部子任务的执行顺序的整体组合的最优组合结果确定的,每一个第一子系统按照其对应的目标任务顺序进行子任务的执行,可以使整个系统实现较小的功耗。That is to say, in the embodiment of this application, the target task sequence of the first subsystem is determined by the DVFS management system based on the optimal combination result of the overall combination of the execution sequences of all subtasks of all the first subsystems. A first subsystem executes the subtasks according to the sequence of the corresponding target tasks, so that the whole system can achieve lower power consumption.
进一步地,在本申请的实施例中,DVFS管理系统在完成对全部第一子系统的子任务的执行顺序的自由组合,确定出多个任务顺序组合之后,可以进一步计算获得多个任务顺序组合对应的多个能耗参数。具体地,DVFS管理系统可以先根据全部工作任务列表分别确定多个任务顺序组合对应的多组期望电压与持续时间的对应关系;然后再根据多组期望电压与持续时间的对应关系分别确定多个能耗参数。Furthermore, in the embodiment of this application, after the DVFS management system completes the free combination of the execution order of all the subtasks of the first subsystem and determines multiple task sequence combinations, it can further calculate and obtain multiple task sequence combinations Corresponding multiple energy consumption parameters. Specifically, the DVFS management system can first determine the corresponding relationships between multiple sets of expected voltages and durations corresponding to multiple task sequence combinations according to the list of all work tasks; Energy consumption parameters.
需要说明的是,在本申请的实施例中,对于每一个任务顺序组合,DVFS管理系统可以按照工作任务列表中的每一个子任务对应的期望电压和持续时间,确定出不同时间段中能够满足全部第一子系统的工作需求的电压,从而可以完成对应的一组期望电压与持续时间的对应关系的建立。It should be noted that, in the embodiment of the present application, for each task sequence combination, the DVFS management system can determine the expected voltage and duration corresponding to each subtask in the work task list to determine the The voltages required by the work of all the first subsystems, so that the establishment of a corresponding set of corresponding relationships between expected voltages and durations can be completed.
可以理解的是,在本申请的实施例中,在确定出每一个任务顺序组合对应的每一组期望电压与持续时间的对应关系之后,DVFS管理系统便可以根据每一组期望电压与持续时间的对应关系计算出该任务顺序组合对应的能耗参数。It can be understood that, in the embodiment of the present application, after determining the corresponding relationship between each group of expected voltage and duration corresponding to each task sequence combination, the DVFS management system can Calculate the energy consumption parameters corresponding to the task sequence combination.
例如,在本申请的实施例中,对于子系统a和子系统b这两个第一子系统,上述表4为子系统a的工作任务列表,上述表5为子系统b的工作任务列表,其中,子系统a对应有3个子任务,分别为子任务a1,子任务a2以及子任务a3,子系统b对应有2个子任务,分别为子任务b1和子任务b2。可以理解的是,在本申请的实施例中,基于上述表4,DVFS管理系统可以确定子系统a对应有3!=3×2=6种任务顺序;基于上述表5,DVFS管理系统可以确定子系统b对应有2!=2×1=2种任务顺序。因此,对于子系统a和子系统b这 两个第一子系统,DVFS管理系统可以确定出6×2=12个任务顺序组合。For example, in the embodiment of the present application, for the two first subsystems of subsystem a and subsystem b, the above table 4 is the work task list of subsystem a, and the above table 5 is the work task list of subsystem b, wherein , subsystem a corresponds to three subtasks, namely subtask a1, subtask a2 and subtask a3, and subsystem b corresponds to two subtasks, respectively subtask b1 and subtask b2. It can be understood that, in the embodiment of the present application, based on the above Table 4, the DVFS management system can determine that subsystem a corresponds to 3! =3×2=6 task sequences; based on the above Table 5, the DVFS management system can determine that subsystem b corresponds to 2! =2×1=2 task sequences. Therefore, for the two first subsystems, subsystem a and subsystem b, the DVFS management system can determine 6×2=12 task sequence combinations.
进一步地,在本申请的实施例中,DVFS管理系统可以进一步计算这12个任务顺序组合对应的12个能耗参数。其中,对于子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b1、子任务b2的这一个任务顺序组合,DVFS管理系统需要先根据子系统a和子系统b二者的工作任务列表,确定出该任务顺序组合对应的一组期望电压与持续时间的对应关系。Further, in the embodiment of the present application, the DVFS management system may further calculate 12 energy consumption parameters corresponding to the 12 task sequence combinations. Among them, for the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is the combination of subtask b1 and subtask b2, the DVFS management system needs to The working task lists of both system a and subsystem b determine the corresponding relationship between a group of expected voltages and durations corresponding to the sequence combination of tasks.
可以理解的是,在本申请的实施例中,在完成每一个任务顺序组合对应的期望电压与持续时间的对应关系的建立之后,DVFS管理系统可以进一步计算多个任务顺序组合对应的多个能耗参数。It can be understood that, in the embodiment of the present application, after completing the establishment of the corresponding relationship between the expected voltage and the duration corresponding to each task sequence combination, the DVFS management system can further calculate multiple energy values corresponding to multiple task sequence combinations. consumption parameters.
进一步地,在本申请的实施例中,DVFS管理系统根据多组期望电压与持续时间的对应关系确定多个能耗参数时,对于其中的一个任务顺序组合,DVFS管理系统可以根据全部工作任务列表、该任务顺序组合对应的期望电压与持续时间的对应关系、以及能耗计算模型,计算获得该任务顺序组合对应的能耗参数。Further, in the embodiment of the present application, when the DVFS management system determines multiple energy consumption parameters according to the correspondence between multiple groups of expected voltages and durations, for one of the task sequence combinations, the DVFS management system can , the corresponding relationship between the expected voltage and the duration corresponding to the task sequence combination, and the energy consumption calculation model, and calculate and obtain the energy consumption parameters corresponding to the task sequence combination.
可以理解的是,在本申请的实施例中,能耗计算模型可以用于对第一子系统的整体能耗进行估计和预测。例如,DVFS管理系统可以选择使用如上述公式(1)所示的半导体动态能耗公式作为能耗计算模型。It can be understood that, in the embodiment 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 the semiconductor dynamic energy consumption formula shown in the above formula (1) as the energy consumption calculation model.
也就是说,在本申请的实施例中,对于一个任务顺序组合,DVFS管理系统根据子系统a和子系统b的工作任务列表,相应的期望电压与持续时间的对应关系,基于上述公式(1)分别计算获得子系统a的能耗Qa和子系统b的能耗Qb之后,便可以将Qa和Qb的和值最为任务顺序组合对应的、总体的能耗参数Q。That is to say, in the embodiment of this application, for a task sequence combination, the DVFS management system, according to the work task list of subsystem a and subsystem b, corresponds to the corresponding relationship between expected voltage and duration, based on the above formula (1) After the energy consumption Qa of subsystem a and the energy consumption Qb of subsystem b are calculated and obtained respectively, the sum of Qa and Qb can be combined as the overall energy consumption parameter Q corresponding to the task sequence.
可以理解的是,在本申请的实施例中,在完成每一个任务顺序组合对应的能耗参数的计算之后,DVFS管理系统可以进一步根据多个能耗参数确定第一子系统对应的目标任务顺序。具体地,DVFS管理系统可以选择将多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;然后再基于目标顺序组合确定出每一个第一子系统对应的目标任务顺序。It can be understood that, in the embodiment of the present application, after completing the calculation of the energy consumption parameters corresponding to each task sequence combination, the DVFS management system can further determine the target task sequence corresponding to the first subsystem according to multiple energy consumption parameters . Specifically, the DVFS management system may choose to determine the task sequence combination corresponding to the minimum energy consumption parameter among multiple energy consumption parameters as the target sequence combination; and then determine the target task sequence corresponding to each first subsystem based on the target sequence combination .
需要说明的是,在本申请的实施例中,DVFS管理系统可以选择最小能耗参数对应的任务顺序组合,并根据该任务顺序组合获得第一子系统对应的目标任务顺序,这样,每一个子系统在按照对应的目标任务顺序分别执行子任务时,可以使整个系统的能耗最小。It should be noted that, in the embodiment of this application, the DVFS management system can select the task sequence combination corresponding to the minimum energy consumption parameter, and obtain the target task sequence corresponding to the first subsystem according to the task sequence combination. In this way, each subsystem When the system executes the subtasks according to the corresponding target task sequence, the energy consumption of the whole system can be minimized.
例如,在本申请的实施例中,如果最小能耗参数对应的任务顺序组合为:子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b2、子任务b1,那么子系统a对应的目标任务顺序为任务a1、子任务a2、子任务a3,子系统b对应的目标任务顺序为子任务b2、子任务b1。For example, in the embodiment of the present application, if the task sequence combination corresponding to the minimum energy consumption parameter is: the task sequence of subsystem a is subtask a1, subtask a2, and subtask a3, and the task sequence of subsystem b is subtask b2, subtask b1, then the sequence of target tasks corresponding to subsystem a is task a1, subtask a2, subtask a3, and the sequence of target tasks corresponding to subsystem b is subtask b2, subtask b1.
步骤103、DVFS管理系统按照目标任务顺序调度第一子系统执行不同子任务,同时,DVFS管理系统进行电压调整处理。 Step 103 , the DVFS management system schedules the first subsystem to execute different subtasks according to the target task order, and at the same time, the DVFS management system performs voltage adjustment processing.
在本申请的实施例中,在基于工作任务列表进行任务调度处理,确定第一子系统对应的目标任务顺序之后,DVFS管理系统便可以按照目标任务顺序调度第一子系统执行不同子任务,同时,DVFS管理系统也可以进行电压调整处理。In the embodiment of this application, after performing task scheduling processing based on the work task list and determining the target task sequence corresponding to the first subsystem, the DVFS management system can schedule the first subsystem to execute different subtasks according to the target task sequence, and at the same time , The DVFS management system can also perform voltage adjustment processing.
进一步地,在本申请的实施例中,在按照目标任务顺序调度第一子系统执行子任务时,DVFS管理系统可以选择将目标任务顺序下发至对应的第一子系统,从而可以使第一子系统按照目标任务顺序执行不同子任务。Further, in the embodiment of this application, when scheduling the first subsystem to execute subtasks according to the target task sequence, the DVFS management system can choose to deliver the target task sequence to the corresponding first subsystem, so that the first The subsystem executes different subtasks in the order of the target task.
进一步地,在本申请的实施例中,在进行电压调整处理时,DVFS管理系统可以先根据目标顺序组合对应的期望电压与持续时间的对应关系确定不同时间段的供电电压,然后根据不同时间段的供电电压生成电压调整请求;接着可以向终端设备配置的电源管理模块发送电压调整请求,从而可以使得电源管理模块基于该电压调整请求完成电压调整处理。Further, in the embodiment of the present application, when performing voltage adjustment processing, the DVFS management system can first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then according to the different time periods The power supply voltage generates a voltage adjustment request; then the voltage adjustment request can be sent to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
也就是说,在本申请的实施例中,在多个任务顺序组合中确定出最优的目标顺序组合 之后,一方面,DVFS管理系统可以根据基于该目标顺序组合获得的第一子系统的目标任务顺序来调度第一子系统依次执行不同子任务;另一方面,DVFS管理系统同时还需要按照该目标顺序组合对应的期望电压与持续时间的对应关系来对系统的工作电压进行调整,从而保证系统的工作电压能够满足多个子系统的工作需求。That is to say, in the embodiment of the present application, after the optimal target sequence combination is determined among multiple task sequence combinations, on the one hand, the DVFS management system can obtain the target sequence of the first subsystem based on the target sequence combination The task sequence is used to schedule the first subsystem to execute different subtasks in sequence; on the other hand, the DVFS management system also needs to combine the corresponding relationship between the corresponding expected voltage and the duration according to the target sequence to adjust the operating voltage of the system, so as to ensure The operating voltage of the system can meet the working requirements of multiple subsystems.
需要说明的是,在本申请的实施例中,DVFS管理系统在根据不同时间段的供电电压生成电压调整请求时,可以选择先按照预设压缩格式对不同时间段的供电电压进行打包处理,从而可以生成对应的电压调整请求。It should be noted that, in the embodiment of this application, when the DVFS management system generates voltage adjustment requests according to the supply voltages of different time periods, it can choose to package the supply voltages of different time periods according to the preset compression format, so that A corresponding voltage adjustment request may be generated.
可以理解的是,在本申请的实施例中,DVFS管理系统在向电源管理模块发送电压调整请求时,可以选择按照预设接口格式将电压调整请求发送至电源管理模块。It can be understood that, in the embodiment of the present application, when the DVFS management system sends the voltage adjustment request to the power management module, it may choose to send the voltage adjustment request to the power management module according to a preset interface format.
进一步地,在本申请的实施例中,DVFS管理系统还可以配置有调压控制单元和高速数据接口,其中,调压控制单元和高速数据接口可以用于电压调整请求的生成和传输。Further, in the embodiment of the present application, the DVFS management system can also be configured with a voltage regulation control unit and a high-speed data interface, wherein the voltage regulation control unit and the high-speed data interface can be used for generating and transmitting voltage regulation requests.
需要说明的是,在本申请的实施例中,DVFS管理系统在根据不同时间段的供电电压生成电压调整请求时,调压控制单元可以选择先按照预设压缩格式对不同时间段的供电电压进行打包处理,生成电压调整请求,然后再将该电压调整请求传输至高速数据接口,接着,高速数据接口可以按照预设接口格式向电源管理模块发送电压调整请求。It should be noted that, in the embodiment of the present application, when the DVFS management system generates a voltage adjustment request according to the power supply voltage of different time periods, the voltage regulation control unit can choose to first perform compression on the power supply voltage of different time periods according to the preset compression format. Packing and processing, generating a voltage adjustment request, and then transmitting the voltage adjustment request to the high-speed data interface, and then, the high-speed data interface can send the voltage adjustment request to the power management module according to a preset interface format.
也就是说,在本申请的实施例中,DVFS管理系统中的计算决策单元在计算出不同时间段的供电电压之后,便可以将不同时间段的供电电压传送给调压控制单元,调压控制单元把该不同时间段的供电电压按约定格式(预设压缩格式)打包后,生成电压调整请求,并将电压调整请求发送给高速数据接口,高速数据接口则可以按照系统电源管理接口SPMI等物理接口格式(预设接口格式),再将其发送给电源管理模块。That is to say, in the embodiment of the present application, after calculating the power supply voltage of different time periods, the calculation and decision-making unit in the DVFS management system can transmit the power supply voltage of different time periods to the voltage regulation control unit, and the voltage regulation control unit After the unit packs the power supply voltage of the different time periods according to the agreed format (preset compression format), it generates a voltage adjustment request and sends the voltage adjustment request to the high-speed data interface. The high-speed data interface can follow the system power management interface SPMI and other physical interface format (preset interface format), and then send it to the power management module.
进一步地,在本申请的实施例中,终端设备中的电源管理模块在接收到基带芯片发送的电压调整请求之后,便可以基于该电压调整请求确定出对应的不同时间段的供电电压,然后按照不同时间段的供电电压进行电压调整处理。具体地,电源管理模块可以按照不同时间段的供电电压控制实时输出电压。Further, in the embodiment of this application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then follow the The power supply voltage in different time periods is subjected to voltage adjustment processing. Specifically, the power management module can control the real-time output voltage according to the supply voltage in different time periods.
在本申请的实施例中,终端设备进行任务调度的方法还可以包括以下步骤:In the embodiment of the present application, the method for the terminal device to perform task scheduling may also include the following steps:
步骤104、DVFS管理系统确定基带芯片的一个或多个任务。Step 104, the DVFS management system determines one or more tasks of the baseband chip.
步骤105、DVFS管理系统对基带芯片的一个或多个任务进行拆解,获得一个或多个子任务。Step 105, the DVFS management system disassembles one or more tasks of the baseband chip to obtain one or more subtasks.
在本申请的实施例中,DVFS管理系统可以先确定出基带芯片的一个或多个任务,然后可以对基带芯片的一个或多个任务进行拆解处理,从而生成多个一个或多个子任务,一个或多个子任务可以被DVFS管理系统下发至不同的子系统中。In the embodiment of the present application, the DVFS management system can first determine one or more tasks of the baseband chip, and then disassemble and process one or more tasks of the baseband chip, thereby generating multiple one or more subtasks, One or more subtasks can be delivered to different subsystems by the DVFS management system.
可以理解的是,在本申请的实施例中,DVFS管理系统可以根据当前及未来一段时间(如1000us)基带部分所要执行业务的业务类型来鉴别基带芯片的一个或多个任务。其中,业务类型可以包括下载业务、传输业务等。It can be understood that, in the embodiment of the present application, the DVFS management system can identify one or more tasks of the baseband chip according to the types of services to be performed by the baseband part at present and in the future (for example, 1000us). Wherein, the service type may include a download service, a transmission service, and the like.
进一步地,在本申请的实施例中,终端设备配置的基带芯片中的第一子系统也可以对一个或多个子任务进行分解处理,从而可以获得第一子系统需要执行的、该一个或多个子任务对应的第一子系统的子任务。Further, in the embodiments of the present application, the first subsystem in the baseband chip configured in the terminal device can also decompose and process one or more subtasks, so that the one or more subtasks that the first subsystem needs to execute can be obtained. The subtasks of the first subsystem corresponding to subtasks.
在本申请的实施例中,第一子系统可以确定出每一个子任务对应的期望电压,以及执行该子任务所需的时间,即持续时间,然后便可以基于子任务与期望电压、持续时间之间的对应关系,建立第一子系统对应的工作任务列表。In the embodiment of the present application, the first subsystem can determine the expected voltage corresponding to each subtask, and the time required to execute the subtask, that is, the duration, and then based on the subtask and the expected voltage, duration The corresponding relationship between the first subsystems is established to establish a work task list corresponding to the first subsystem.
进一步地,在本申请的实施例中,第一子系统可以对执行子任务时所需要的电压进行预测,从而确定该子任务对应的期望电压。具体地,第一子系统可以先对执行子任务时所对应的期望频率进行确定,然后再利用该期望频率进一步确定出对应的期望电压。其中,,在执行不同的子任务时,第一子系统所需要的期望频率可能不同,相应的,所需要的期望电压也可能不同。Further, in the embodiment of the present application, the first subsystem may predict the voltage required for executing the subtask, so as to determine the expected voltage corresponding to the subtask. Specifically, the first subsystem may first determine the corresponding expected frequency when executing the subtask, and then use the expected frequency to further determine the corresponding expected voltage. Wherein, when performing different subtasks, the expected frequency required by the first subsystem may be different, and correspondingly, the expected voltage required may also be different.
本申请的再一实施例提出一种任务调度方法,该任务调度方法应用于终端设备中,该终端设备可以包括电源管理模块、射频模块以及基带芯片,电源管理模块可以分别向射频模块和基带芯片供电。Yet another embodiment of the present application proposes a task scheduling method, which is applied to a terminal device. The terminal device may include a power management module, a radio frequency module, and a baseband chip. powered by.
进一步地,在本申请的实施例中,终端设备中的基带芯片可以包括多个子系统和DVFS管理系统。其中,多个子系统均可以工作在相同的电压域下;DVFS管理系统可以用于进行任务调度处理和电压调整处理。Further, in the embodiment of the present application, the baseband chip in the terminal device may include multiple subsystems and a DVFS management system. Among them, multiple subsystems can work in the same voltage domain; the DVFS management system can be used for task scheduling processing and voltage adjustment processing.
图10为基带芯片的组成结构示意图二,如图10所示,基带芯片中包含同一电压域下的n个子系统(n为大于1的整数),以及DVFS管理系统。具体地,DVFS管理系统可以包括任务管理单元、计算决策单元、调压控制单元以及高速数据接口这几个部分。Fig. 10 is a schematic diagram 2 of the structure of the baseband chip. As shown in Fig. 10, the baseband chip includes n subsystems (n is an integer greater than 1) in the same voltage domain, and a DVFS management system. Specifically, the DVFS management system may include a task management unit, a calculation decision unit, a voltage regulation control unit, and a high-speed data interface.
需要说明的是,在本申请的实施例中,同一电压域下,各个子系统根据其当前工作状态及任务,可以分解确认出未来一段时间后(在下一个调整周期内)各自的子任务及其对应频率需求,进而可以确定出对应的电压需求,最终便可以投票出在一段时间后各自期望的电压值,即期望电压,同时,还可以对执行各个子任务所需要的工作时间进行预测,确定出对应的持续时间,进而可以建立第一子系统中的每一个子任务与期望电压和持续时间的对应关系。如上述表1所示,对于4个子任务,该子系统均可以对执行子任务时所需的期望电压和持续时间进行预测。It should be noted that, in the embodiment of the present application, under the same voltage domain, each subsystem can decompose and confirm the respective subtasks and their subtasks in the future (in the next adjustment cycle) according to their current working status and tasks. Corresponding to the frequency requirements, the corresponding voltage requirements can be determined, and finally the expected voltage value after a period of time can be voted out, that is, the expected voltage. At the same time, the working time required to perform each subtask can also be predicted and determined. The corresponding duration can be determined, and then the corresponding relationship between each subtask in the first subsystem and the expected voltage and duration can be established. As shown in Table 1 above, for the four subtasks, the subsystem can predict the expected voltage and duration required to execute the subtasks.
可以理解的是,在本申请的实施例中,对于不同的子任务,子系统的执行顺序并没有依赖关系,即子系统可以按照任意的顺序执行不同的子任务。任意一个子任务的期望频率和期望电压存在固定的对应关系,而子任务的持续时间则可以由子任务工足量和对应的期望频率的商来确定。It can be understood that, in the embodiment of the present application, for different subtasks, there is no dependency on the execution order of the subsystems, that is, the subsystems can execute different subtasks in any order. There is a fixed correspondence between the expected frequency and the expected voltage of any subtask, and the duration of the subtask can be determined by the quotient of the subtask's work load and the corresponding expected frequency.
进一步地,在本申请的实施例中,除了基带芯片的一个或多个任务的拆解和分配,任务管理单元还可以负责收集各子系统反馈的在下一个调整周期内的工作任务列表,从而使得计算决策单元可以根据获取的工作任务列表中的期望电压进一步完成任务调度和电压调整处理。Further, in the embodiment of the present application, in addition to the dismantling and allocation of one or more tasks of the baseband chip, the task management unit can also be responsible for collecting the work task list in the next adjustment period fed back by each subsystem, so that The computing decision unit can further complete task scheduling and voltage adjustment processing according to the expected voltage in the obtained work task list.
也就是说,在本申请的实施例中,当获取到多个子系统(第一子系统)反馈的多个工作任务列表之后,DVFS管理系统中的任务管理单元可以将该多个工作任务列表传输至计算决策单元,再由计算决策单元依据该多个工作任务列表进行后续处理。That is to say, in the embodiment of the present application, after obtaining multiple work task lists fed back by multiple subsystems (the first subsystem), the task management unit in the DVFS management system can transmit the multiple work task lists to the calculation decision-making unit, and then the calculation decision-making unit performs subsequent processing according to the multiple work task lists.
进一步地,在本申请的实施例中,图11为任务调度方法的实现流程示意图二,如图11所示,终端设备进行任务调度的方法还可以包括以下步骤:Further, in the embodiment of the present application, FIG. 11 is a schematic diagram of the second implementation flow of the task scheduling method. As shown in FIG. 11 , the method for the terminal device to perform task scheduling may also include the following steps:
步骤201、DVFS管理系统拆解基带芯片的一个或多个任务,获得一个或多个子任务。Step 201, the DVFS management system disassembles one or more tasks of the baseband chip to obtain one or more subtasks.
步骤202、DVFS管理系统将一个或多个子任务下发至第一子系统。Step 202, the DVFS management system sends one or more subtasks to the first subsystem.
在本申请的实施例中,DVFS管理系统中的任务管理单元可以先根据当前及未来一段时间(如1000us)基带部分所要执行业务的业务类型来鉴别基带芯片的一个或多个任务,然后对基带芯片的一个或多个任务进行拆解处理,获得对应的一个或多个子任务,接着可以将一个或多个子任务分别下发至不同的第一子系统中。In the embodiment of the present application, the task management unit in the DVFS management system can first identify one or more tasks of the baseband chip according to the business type of the baseband part to be executed for a period of time (such as 1000us) in the future, and then perform One or more tasks of the chip are disassembled to obtain corresponding one or more subtasks, and then the one or more subtasks can be delivered to different first subsystems respectively.
步骤203、第一子系统根据一个或多个子任务生成对应的工作任务列表。Step 203, the first subsystem generates a corresponding work task list according to one or more subtasks.
在本申请的实施例中,第一子系统在接收到DVFS管理系统下发的一个或多个子任务之后,可以基于一个或多个子任务确定每一个子任务对应的期望电压和持续时间,最后便可以根据子任务与期望电压、持续时间的对应关系建立工作任务列表。In the embodiment of this application, after the first subsystem receives one or more subtasks issued by the DVFS management system, it can determine the expected voltage and duration corresponding to each subtask based on the one or more subtasks, and finally A work task list can be established according to the correspondence between subtasks and expected voltages and durations.
可以理解的是,在本申请的实施例中,工作任务列表可以确定对应的子系统在执行一个子任务时所需要的期望电压、持续时间。It can be understood that, in the embodiment of the present application, the work task list can determine the expected voltage and duration required by the corresponding subsystem when performing a subtask.
步骤204、第一子系统将对应的工作任务列表发送至DVFS管理系统。Step 204, the first subsystem sends the corresponding work task list to the DVFS management system.
在本申请的实施例中,DVFS管理系统中的任务管理单元在取到第一子系统反馈的多个工作任务列表之后,可以将该多个工作任务列表传输至计算决策单元,再由计算决策单元依据该多个工作任务列表进行后续处理。In the embodiment of this application, after the task management unit in the DVFS management system obtains the multiple work task lists fed back by the first subsystem, it can transmit the multiple work task lists to the calculation decision-making unit, and then the calculation decision-making unit The unit performs subsequent processing according to the plurality of work task lists.
步骤205、DVFS管理系统基于工作任务列表生成多个任务顺序组合。Step 205, the DVFS management system generates multiple task sequence combinations based on the work task list.
在本申请的实施例中,DVFS管理系统中的计算决策单元可以先根据全部第一子系统的全部工作任务列表生成多个任务顺序组合。其中,在每一个任务顺序组合中,不同的第一子系统是并行执行对应的子任务的,即不同的第一子系统在执行子任务时互不影响。In the embodiment of the present application, the calculation and decision-making unit in the DVFS management system may first generate multiple task sequence combinations according to all work task lists of all first subsystems. Wherein, in each task sequence combination, different first subsystems execute corresponding subtasks in parallel, that is, different first subsystems do not affect each other when executing subtasks.
可以理解的是,在本申请的实施例中,DVFS管理系统中的计算决策单元可以先对全部第一子系统的不同子任务的不同执行顺序进行随机的组合,确定出多个任务顺序组合。It can be understood that, in the embodiment of the present application, the calculation and decision-making unit in the DVFS management system may randomly combine different execution orders of different subtasks of all first subsystems to determine multiple task sequence combinations.
步骤206、DVFS管理系统计算确定多个任务顺序组合对应的多个能耗参数。Step 206, the DVFS management system calculates and determines multiple energy consumption parameters corresponding to multiple task sequence combinations.
在本申请的实施例中,DVFS管理系统中的计算决策单元可以分别计算多个任务顺序组合对应的多个能耗参数。具体地,可以先根据全部工作任务列表分别确定多个任务顺序组合对应的多组期望电压与持续时间的对应关系;然后再根据多组期望电压与持续时间的对应关系分别确定多个能耗参数。In the embodiment of the present application, the calculation and decision-making unit in the DVFS management system may separately calculate multiple energy consumption parameters corresponding to multiple task sequence combinations. Specifically, according to the list of all work tasks, the corresponding relationships between multiple groups of expected voltages and durations corresponding to multiple task sequence combinations can be determined respectively; and then multiple energy consumption parameters can be respectively determined according to the corresponding relationships between multiple groups of expected voltages and duration .
进一步地,在本申请的实施例中,在根据多组期望电压与持续时间的对应关系确定多个能耗参数时,对于其中的一个任务顺序组合,DVFS管理系统可以根据全部工作任务列表、该任务顺序组合对应的期望电压与持续时间的对应关系、以及能耗计算模型,计算获得该任务顺序组合对应的能耗参数。Further, in the embodiment of the present application, when multiple energy consumption parameters are determined according to the corresponding relationship between multiple sets of expected voltages and durations, for one of the task sequence combinations, the DVFS management system can use the list of all work tasks, the The corresponding relationship between the expected voltage and the duration corresponding to the task sequence combination and the energy consumption calculation model are calculated to obtain the energy consumption parameters corresponding to the task sequence combination.
步骤207、DVFS管理系统根据多个能耗参数确定目标顺序组合。Step 207, the DVFS management system determines the combination of target sequences according to multiple energy consumption parameters.
在本申请的实施例中,DVFS管理系统中的计算决策单元可以根据多个能耗参数确定第一子系统对应的目标任务顺序。In the embodiment of the present application, the calculation and decision-making unit in the DVFS management system may determine the target task sequence corresponding to the first subsystem according to multiple energy consumption parameters.
可以理解的是,在本申请的实施例中,在完成每一个任务顺序组合对应的能耗参数的计算之后,可以选择将多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合。It can be understood that, in the embodiment of the present application, after the calculation of the energy consumption parameters corresponding to each task sequence combination is completed, the task sequence combination corresponding to the minimum energy consumption parameter among the multiple energy consumption parameters can be selected to be determined as Combination of target order.
步骤208、DVFS管理系统根据目标顺序组合确定第一子系统的目标任务顺序。Step 208, the DVFS management system determines the target task sequence of the first subsystem according to the target sequence combination.
在本申请的实施例中,DVFS管理系统中的计算决策单元可以基于目标顺序组合确定出每一个第一子系统对应的目标任务顺序。这样,每一个子系统在按照对应的目标任务顺序分别执行子任务时,可以使整个系统的能耗最小。In the embodiment of the present application, the calculation and decision-making unit in the DVFS management system may determine the target task sequence corresponding to each first subsystem based on the target sequence combination. In this way, when each subsystem executes subtasks according to the corresponding target task order, the energy consumption of the whole system can be minimized.
步骤209、DVFS管理系统根据目标顺序组合对应的期望电压与持续时间的对应关系生成电压调整请求。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.
在本申请的实施例中,DVFS管理系统可以先根据目标顺序组合对应的期望电压与持续时间的对应关系确定不同时间段的供电电压,然后根据不同时间段的供电电压生成电压调整请求。In the embodiment of the present application, the DVFS management system may first determine the supply voltage for different time periods according to the corresponding relationship between the target sequence combination and the corresponding expected voltage and duration, and then generate a voltage adjustment request according to the supply voltage for different time periods.
需要说明的是,在本申请的实施例中,在根据不同时间段的供电电压生成电压调整请求时,DVFS管理系统中的调压控制单元可以选择按照预设压缩格式对不同时间段的供电电压进行打包处理,生成电压调整请求,然后再将该电压调整请求传输至高速数据接口。It should be noted that, in the embodiment of this application, when generating a voltage adjustment request according to the supply voltage of different time periods, the voltage regulation control unit in the DVFS management system can choose to compress the power supply voltage of different time periods according to the preset compression format. Perform packaging processing to generate a voltage adjustment request, and then transmit the voltage adjustment request to the high-speed data interface.
步骤210、DVFS管理系统将目标任务顺序发送至第一子系统。Step 210, the DVFS management system sends the target task sequence to the first subsystem.
在本申请的实施例中,DVFS管理系统可以选择将目标任务顺序下发至对应的第一子系统,从而可以使第一子系统按照目标任务顺序执行不同子任务。In the embodiment of the present application, the DVFS management system can choose to send the target task sequence to the corresponding first subsystem, so that the first subsystem can execute different subtasks according to the target task sequence.
步骤211、DVFS管理系统向电源管理模块发送电压调整请求。Step 211, the DVFS management system sends a voltage adjustment request to the power management module.
在本申请的实施例中,DVFS管理系统接着可以向终端设备配置的电源管理模块发送电压调整请求,从而可以使得电源管理模块基于该电压调整请求完成电压调整处理。In the embodiment of the present application, the DVFS management system can then send a voltage adjustment request to the power management module configured on the terminal device, so that the power management module can complete the voltage adjustment process based on the voltage adjustment request.
需要说明的是,在本申请的实施例中,DVFS管理中的调压控制单元在将电压调整请求传输至高速数据接口之后,DVFS管理中的高速数据接口可以按照预设接口格式向电源管理模块发送电压调整请求。It should be noted that, in the embodiment of this application, after the voltage adjustment control unit in DVFS management transmits the voltage adjustment request to the high-speed data interface, the high-speed data interface in DVFS management can send the power management module Send a voltage adjustment request.
步骤212、第一子系统按照目标任务顺序执行子任务。Step 212, the first subsystem executes the subtasks according to the target task sequence.
步骤213、电源管理模块根据电压调整请求进行电压调整处理。Step 213, the power management module performs voltage adjustment processing according to the voltage adjustment request.
在本申请的实施例中,终端设备中的电源管理模块在接收到基带芯片发送的电压调整 请求之后,便可以基于该电压调整请求确定出对应的不同时间段的供电电压,然后按照不同时间段的供电电压进行电压调整处理。具体地,电源管理模块可以按照不同时间段的供电电压控制实时输出电压。In the embodiment of this application, after receiving the voltage adjustment request sent by the baseband chip, the power management module in the terminal device can determine the corresponding power supply voltage for different time periods based on the voltage adjustment request, and then adjust the power supply voltage according to the different time periods. The power supply voltage is adjusted for voltage. Specifically, the power management module can control the real-time output voltage according to the supply voltage in different time periods.
进一步地,在本申请的实施例中,假设DVFS管理中的任务管理单元获取到第一子系统(子系统a和子系统b)的工作任务列表分别如上述表4和表5,那么对于这两个第一子系统,DVFS管理系统中的计算决策单元可以确定出12个任务顺序组合。接着,计算决策单元在进行每个任务顺序组合对应的能耗参数的计算时,可以先确定出每一个任务顺序组合对应的一组期望电压与持续时间的对应关系,同时,还需要确定出每一个子系统对应的负载电容C。Further, in the embodiment of the present application, assuming that the task management unit in DVFS management obtains the work task list of the first subsystem (subsystem a and subsystem b) as shown in Table 4 and Table 5 respectively, then for the two The first subsystem, the calculation and decision-making unit in the DVFS management system can determine 12 task sequence combinations. Next, when the computing decision-making unit calculates the energy consumption parameters corresponding to each task sequence combination, it can first determine the corresponding relationship between a set of expected voltages and durations corresponding to each task sequence combination. A subsystem corresponds to a load capacitance C.
例如,对于任务顺序组合1:子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b1、子任务b2,基于图5,联合子系统a和子系统b在整个周期(1000us以内)的电压需求,可以确定出该任务顺序组合所需求的期望电压与持续时间两者之间的对应关系如上述图6。For example, for task sequence combination 1: the task sequence of subsystem a is subtask a1, subtask a2, subtask a3, and the task sequence of subsystem b is subtask b1, subtask b2, based on Figure 5, joint subsystem a and the voltage demand of subsystem b in the whole period (within 1000us), the corresponding relationship between the expected voltage required by the task sequence combination and the duration can be determined, as shown in Figure 6 above.
相应的,在本申请的实施例中,表6为能耗计算参数表一,如表6所示,对该任务顺序组合,基于对应的一组期望电压与持续时间的对应关系,每一个子系统对应的负载电容C以及如上述公式(1)所示的能耗计算模型,可以计算获得该任务顺序组合对应的能耗参数为979880。Correspondingly, in the embodiment of the present application, Table 6 is Table 1 of energy consumption calculation parameters. As shown in Table 6, for the sequential combination of tasks, based on the correspondence between a corresponding set of expected voltage and duration, each sub The load capacitance C corresponding to the system and the energy consumption calculation model shown in the above formula (1) can be calculated to obtain the energy consumption parameter corresponding to the task sequence combination as 979880.
表6Table 6
进一步地,在本申请的实施例中,对于任务顺序组合2:子系统a的任务顺序为子任务a1、子任务a2、子任务a3,子系统b的任务顺序为子任务b2、子任务b1,图12为任务顺序组合的示意图二,如图12所示,基于工作任务列表,可以分别确定子系统a和子系统b在整个周期(1000us以内)的电压需求。图13为期望电压与持续时间的对应关系的示意图二,如图13所示,基于图12,联合子系统a和子系统b在整个周期(1000us以内)的电压需求,可以确定出该任务顺序组合所需求的期望电压与持续时间两者之间的对应关系。Further, in the embodiment of this application, for task sequence combination 2: the task sequence of subsystem a is subtask a1, subtask a2, subtask a3, and the task sequence of subsystem b is subtask b2, subtask b1 , Figure 12 is the second schematic diagram of task sequence combination, as shown in Figure 12, based on the work task list, the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us) can be determined respectively. Figure 13 is the second schematic diagram of the corresponding relationship between expected voltage and duration, as shown in Figure 13, based on Figure 12, combined with the voltage requirements of subsystem a and subsystem b in the entire cycle (within 1000us), the task sequence combination can be determined The correspondence between the desired voltage and duration required.
相应的,在本申请的实施例中,表7为能耗计算参数表二,如表7所示,对该任务顺序组合,基于对应的一组期望电压与持续时间的对应关系,每一个子系统对应的负载电容C以及如上述公式(1)所示的能耗计算模型,可以计算获得该任务顺序组合对应的能耗参数为921080。Correspondingly, in the embodiment of the present application, Table 7 is Table 2 of energy consumption calculation parameters. As shown in Table 7, for the sequential combination of tasks, based on the correspondence between a corresponding set of expected voltage and duration, each sub The load capacitance C corresponding to the system and the energy consumption calculation model shown in the above formula (1) can be calculated to obtain the energy consumption parameter corresponding to the task sequence combination as 921080.
表7Table 7
可见,通过调整任务顺序,与表6所示的任务组合顺序1相比,表7所示的任务组合顺序2能耗可以减小6.38%。It can be seen that by adjusting the task sequence, compared with the task combination sequence 1 shown in Table 6, the energy consumption of the task combination sequence 2 shown in Table 7 can be reduced by 6.38%.
进一步地,在本申请的实施例中,图14为期望电压与持续时间的对应关系的示意图三,如图14所示,可以对任务组合顺序1与任务组合顺序2的系统供电策略电压波形进行对比,如果最终确定出任务组合顺序2为12个任务顺序组合中的目标顺序组合,那么DVFS管理系统便可以根据任务组合顺序2的期望电压与持续时间的对应关系来进行电压调整处理,同时基于任务组合顺序2分别向子系统a和子系统b发送对应的目标任务顺序,以使得第一子系统按照对应的目标任务顺序执行子任务。Further, in the embodiment of the present application, FIG. 14 is a schematic diagram three of the corresponding relationship between the expected voltage and the duration. As shown in FIG. 14 , the system power supply strategy voltage waveforms of task combination sequence 1 and task combination sequence 2 can be In contrast, if it is finally determined that the task combination sequence 2 is the target sequence combination among the 12 task sequence combinations, then the DVFS management system can perform voltage adjustment processing according to the corresponding relationship between the expected voltage and the duration of the task combination sequence 2, and at the same time based on The task combination sequence 2 respectively sends the corresponding target task sequence to subsystem a and subsystem b, so that the first subsystem executes the subtasks according to the corresponding target task sequence.
本申请实施例提供了一种任务调度方法,任务调度方法应用于终端设备,该终端设备配置基带芯片,基带芯片包括多个子系统和DVFS管理系统,其中,DVFS管理系统,用于将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统;每个第一子系统,用于根据接收到的子任务,向DVFS管理系统发送下一个调整周期内的期望电压;DVFS管理系统,还用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。也就是说,在本申请的实施例中,终端设备的基带芯片配置的DVFS管理系统可以获取子系统的下一个调整周期内的期望电压,并基于期望电压确定出子系统对应的子任务的最优的执行顺序,进而可以根据该执行顺序控制子系统进行子任务的处理,同时完成电压的调整,从而能够精准的进行任务的调度和电压的控制,进而有效降低系统的功耗。An embodiment of the present application provides a task scheduling method, the task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, and the baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to manage one or more Subtasks are sent to one or more first subsystems in multiple subsystems respectively; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is used to send subtasks to The DVFS management system sends the expected voltage in the next adjustment period; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and according to the adjusted The execution sequence of one or more subtasks and the corresponding expected voltage of each first subsystem configure the supply voltage received in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的实现流程示意图和/或方框图来描述的。应理解可由计算机程序指令实现流程示意图和/或方框图中的每一流程和/或方框、以及实现流程示意图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to the implementation flow diagrams and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and/or block in the schematic flowchart and/or block diagram, and a combination of processes and/or blocks in the schematic flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in implementing one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在实现流程示意图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in implementing the process flow or processes of the flowchart diagrams and/or the block or blocks of the block diagrams.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.
本申请实施例提供了一种基带芯片、任务调度方法及终端设备,基带芯片包括多个子系统和DVFS管理系统,其中,DVFS管理系统,用于将一个或多个子任务分别下发至多个子系统中的一个或多个第一子系统;其中,第一子系统为执行子任务的子系统;每个第一子系统,用于根据接收到的子任务,向DVFS管理系统发送下一个调整周期内的期望电压;DVFS管理系统,还用于按照每个第一子系统在下一个调整周期内的期望电压调节一个或多个子任务的执行顺序,以及按照调节后的一个或多个子任务的执行顺序和每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。也就是说,在本申请的实施例中,终端设备的基带芯片配置的DVFS管理系统可以获取子系统的下一个调整周期内的期望电压,并基于期望电压确定出子系统对应的子任务的最优的执行顺序,进而可以根据该执行顺序控制子系统进行子任务的处理,同时完成电压的调整,从而能够精准的进行任务的调度和电压的控制,进而有效降低系统的功耗。Embodiments of the present application provide a baseband chip, a task scheduling method, and a terminal device. The baseband chip includes multiple subsystems and a DVFS management system, wherein the DVFS management system is used to deliver one or more subtasks to multiple subsystems respectively. One or more first subsystems; wherein, the first subsystem is a subsystem that executes subtasks; each first subsystem is configured to send the DVFS management system the next adjustment period according to the received subtask the expected voltage; the DVFS management system is also used to adjust the execution order of one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of one or more subtasks and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle. That is to say, in the embodiment of the present application, the DVFS management system configured by the baseband chip of the terminal device can obtain the expected voltage of the subsystem in the next adjustment period, and determine the maximum value of the subtask corresponding to the subsystem based on the expected voltage. Optimal execution sequence, and then control the subsystem to process subtasks according to the execution sequence, and complete voltage adjustment at the same time, so that task scheduling and voltage control can be accurately performed, and the power consumption of the system can be effectively reduced.
Claims (19)
- 一种基带芯片,所述基带芯片包括多个子系统和DVFS管理系统,其中,A baseband chip, the baseband chip includes a plurality of subsystems and a DVFS management system, wherein,所述DVFS管理系统,用于将一个或多个子任务分别下发至所述多个子系统中的一个或多个第一子系统;其中,所述第一子系统为执行所述子任务的子系统;The DVFS management system is configured to issue one or more subtasks to one or more first subsystems among the plurality of subsystems; wherein, the first subsystem is a subtask that executes the subtasks system;每个第一子系统,用于根据接收到的子任务,向所述DVFS管理系统发送下一个调整周期内的期望电压;Each first subsystem is configured to send the expected voltage in the next adjustment period to the DVFS management system according to the received subtask;所述DVFS管理系统,还用于按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序,以及按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The DVFS management system is further configured to adjust the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment cycle, and according to the adjusted execution order of the one or more subtasks The execution sequence and the expected voltage corresponding to each of the first subsystems configure the supply voltage received in the next adjustment cycle.
- 根据权利要求1所述的基带芯片,其中,所述DVFS管理系统包括任务管理单元,The baseband chip according to claim 1, wherein the DVFS management system includes a task management unit,所述任务管理单元,用于将接收到的一个或多个任务拆解为所述一个或多个子任务;将所述一个或多个子任务分别下发至所述多个子系统中的一个或多个第一子系统。The task management unit is configured to disassemble the received one or more tasks into the one or more subtasks; issue the one or more subtasks to one or more of the plurality of subsystems respectively the first subsystem.
- 根据权利要求1所述的基带芯片,其中,所述DVFS管理系统包括计算决策单元,The baseband chip according to claim 1, wherein the DVFS management system includes a computing decision unit,所述计算决策单元,用于按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序。The calculation and decision-making unit is configured to adjust the execution order of the one or more subtasks according to the expected voltage of each first subsystem in a next adjustment period.
- 根据权利要求1所述的基带芯片,其中,所述DVFS管理系统包括调压控制单元,The baseband chip according to claim 1, wherein the DVFS management system includes a voltage regulation control unit,所述调压控制单元,用于按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The voltage regulation control unit is configured to configure the power supply voltage received in the next adjustment cycle according to the adjusted execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
- 根据权利要求1所述的基带芯片,其中,所述DVFS管理系统包括高速数据接口,The baseband chip according to claim 1, wherein the DVFS management system includes a high-speed data interface,所述高速数据接口,用于向电源管理模块发送电压调整请求;其中,所述电源管理模块用于为所述基带芯片提供所述供电电压;所述电压调整请求用于指示所述电源管理模块调节所述供电电压的大小。The high-speed data interface is used to send a voltage adjustment request to the power management module; wherein the power management module is used to provide the power supply voltage for the baseband chip; the voltage adjustment request is used to instruct the power management module Adjust the size of the supply voltage.
- 根据权利要求1所述的基带芯片,其中,The baseband chip according to claim 1, wherein,所述DVFS管理系统,具体用于根据所述每个第一子系统在下一个调整周期内的期望电压生成多个任务顺序组合;计算所述多个任务顺序组合对应的多个能耗参数;根据所述多个能耗参数调节所述一个或多个子任务的执行顺序。The DVFS management system is specifically configured to generate multiple task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period; calculate multiple energy consumption parameters corresponding to the multiple task sequence combinations; according to The plurality of energy consumption parameters adjust the execution sequence of the one or more subtasks.
- 根据权利要求6所述的基带芯片,其中,The baseband chip according to claim 6, wherein,所述DVFS管理系统,具体用于确定所述多个任务顺序组合对应的多组期望电压与持续时间的对应关系;根据所述多组期望电压与持续时间的对应关系确定所述多个能耗参数。The DVFS management system is specifically configured to determine the corresponding relationship between multiple sets of expected voltages and duration corresponding to the multiple task sequence combinations; determine the multiple energy consumption according to the corresponding relationship between the multiple groups of expected voltages and duration parameter.
- 根据权利要求7所述的基带芯片,其中,The baseband chip according to claim 7, wherein,所述DVFS管理系统,具体用于根据所述每个第一子系统在下一个调整周期内的期望电压、每个任务顺序组合对应的每组期望电压与持续时间的对应关系以及能耗计算模型,计算获得所述每个任务顺序组合对应的能耗参数。The DVFS management system is specifically configured to: 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 the energy consumption calculation model, Calculate and obtain the energy consumption parameters corresponding to each task sequence combination.
- 根据权利要求6所述的基带芯片,其中,The baseband chip according to claim 6, wherein,所述DVFS管理系统,具体用于将所述多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;基于所述目标顺序组合,所述DVFS管理系统调节所述一个或多个子任务的执行顺序。The DVFS management system is specifically configured to determine the task sequence combination corresponding to the minimum energy consumption parameter among the plurality of energy consumption parameters as a target sequence combination; based on the target sequence combination, the DVFS management system adjusts the one Or the order of execution of multiple subtasks.
- 一种任务调度方法,所述任务调度方法应用于终端设备,所述终端设备配置基带芯片,所述基带芯片包括多个子系统和DVFS管理系统,所述方法包括:A task scheduling method, the task scheduling method is applied to a terminal device, the terminal device is configured with a baseband chip, and the baseband chip includes a plurality of subsystems and a DVFS management system, the method comprising:所述DVFS管理系统将一个或多个子任务分别下发至所述多个子系统中的一个或多个第一子系统;其中,所述第一子系统为执行所述子任务的子系统;The DVFS management system sends one or more subtasks to one or more first subsystems among the plurality of subsystems respectively; wherein, the first subsystem is a subsystem that executes the subtasks;每个第一子系统根据接收到的子任务,向所述DVFS管理系统发送下一个调整周期内 的期望电压;Each first subsystem sends the expected voltage in the next adjustment period to the DVFS management system according to the received subtasks;所述DVFS管理系统按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序,以及按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The DVFS management system adjusts the execution order of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, and according to the adjusted execution order and The expected voltage corresponding to each first subsystem configures the supply voltage received in the next adjustment cycle.
- 根据权利要求10所述的方法,其中,所述DVFS管理系统包括任务管理单元,The method according to 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; sends the one or more subtasks to one or more first sub-tasks in the plurality of subsystems respectively subsystem.
- 根据权利要求10所述的方法,其中,所述DVFS管理系统包括计算决策单元,The method according to claim 10, wherein the DVFS management system includes a computing decision unit,所述计算决策单元按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序。The calculation and decision-making unit adjusts the execution order of the one or more subtasks according to the expected voltage of each first subsystem in a next adjustment period.
- 根据权利要求10所述的方法,其中,所述DVFS管理系统包括调压控制单元,The method according to claim 10, wherein the DVFS management system comprises a voltage regulation control unit,所述调压控制单元按照调节后的所述一个或多个子任务的执行顺序和所述每个第一子系统对应的期望电压,配置在下一个调整周期内接收到的供电电压。The voltage regulation control unit configures the power supply voltage received in the next adjustment cycle according to the adjusted execution sequence of the one or more subtasks and the expected voltage corresponding to each first subsystem.
- 根据权利要求10所述的方法,其中,所述DVFS管理系统包括高速数据接口,The method according to 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; wherein the power management module is used to provide the power supply voltage for the baseband chip; the voltage adjustment request is used to instruct the power management module to adjust the The size of the supply voltage.
- 根据权利要求10所述的方法,其中,所述DVFS管理系统按照所述每个第一子系统在下一个调整周期内的期望电压调节所述一个或多个子任务的执行顺序,包括:The method according to claim 10, wherein the DVFS management system adjusts the execution sequence of the one or more subtasks according to the expected voltage of each first subsystem in the next adjustment period, comprising:所述DVFS管理系统根据所述每个第一子系统在下一个调整周期内的期望电压生成多个任务顺序组合;The DVFS management system generates multiple task sequence combinations according to the expected voltage of each first subsystem in the next adjustment period;所述DVFS管理系统计算所述多个任务顺序组合对应的多个能耗参数;The DVFS management system calculates multiple energy consumption parameters corresponding to the multiple task sequence combinations;所述DVFS管理系统根据所述多个能耗参数调节所述一个或多个子任务的执行顺序。The DVFS management system adjusts the execution sequence of the one or more subtasks according to the multiple energy consumption parameters.
- 根据权利要求15所述的方法,其中,所述DVFS管理系统计算所述多个任务顺序组合对应的多个能耗参数,包括:The method according to claim 15, wherein the DVFS management system calculates multiple energy consumption parameters corresponding to the multiple task sequence combinations, comprising:所述DVFS管理系统确定所述多个任务顺序组合对应的多组期望电压与持续时间的对应关系;The DVFS management system determines the corresponding relationship between multiple sets of expected voltages and durations corresponding to the multiple task sequence combinations;所述DVFS管理系统根据所述多组期望电压与持续时间的对应关系确定所述多个能耗参数。The DVFS management system determines the multiple energy consumption parameters according to the multiple groups of correspondences between expected voltages and durations.
- 根据权利要求16所述的方法,其中,所述DVFS管理系统根据所述多组期望电压与持续时间的对应关系确定所述多个能耗参数,包括:The method according to claim 16, wherein the DVFS management system determines the multiple energy consumption parameters according to the correspondence between the multiple groups of expected voltages and durations, including:所述DVFS管理系统根据所述每个第一子系统在下一个调整周期内的期望电压、每个任务顺序组合对应的每组期望电压与持续时间的对应关系以及能耗计算模型,计算获得所述每个任务顺序组合对应的能耗参数。The DVFS management system calculates and obtains the described The energy consumption parameters corresponding to each task sequence combination.
- 根据权利要求15所述的方法,其中,所述DVFS管理系统根据所述多个能耗参数调节所述一个或多个子任务的执行顺序,包括:The method according to claim 15, wherein the DVFS management system adjusts the execution order of the one or more subtasks according to the plurality of energy consumption parameters, comprising:所述DVFS管理系统将所述多个能耗参数中的最小能耗参数对应的任务顺序组合确定为目标顺序组合;The DVFS management system determines the task sequence combination corresponding to the minimum energy consumption parameter among the plurality of energy consumption parameters as the target sequence combination;基于所述目标顺序组合,所述DVFS管理系统调节所述一个或多个子任务的执行顺序。Based on the target sequence combination, the DVFS management system adjusts the execution sequence of the one or more subtasks.
- 一种终端设备,所述终端设备包括:电源管理模块和如权利要求1至9所述的基带芯片,所述电源管理模块用于为所述基带芯片供电。A terminal device, comprising: a power management module and the baseband chip according to claims 1 to 9, the power management module is used to supply power to the baseband chip.
Applications Claiming Priority (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 |
CN202210125458.4 | 2022-02-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023151414A1 true WO2023151414A1 (en) | 2023-08-17 |
Family
ID=81674288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/143467 WO2023151414A1 (en) | 2022-02-10 | 2022-12-29 | Baseband chip, task scheduling method, and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114546096B (en) |
WO (1) | WO2023151414A1 (en) |
Families Citing this family (1)
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436155A (en) * | 2007-11-13 | 2009-05-20 | 国际商业机器公司 | Method and system for real-time prediction of power usage |
CN108170257A (en) * | 2018-03-21 | 2018-06-15 | 苏州芯算力智能科技有限公司 | A kind of Dynamic voltage scaling system and method for adjustment |
US20200072884A1 (en) * | 2018-08-31 | 2020-03-05 | Micron Technology, Inc. | Capacitive voltage divider for monitoring multiple memory components |
CN114527819A (en) * | 2022-02-10 | 2022-05-24 | Oppo广东移动通信有限公司 | Base band chip, voltage adjusting method and terminal equipment |
CN114546096A (en) * | 2022-02-10 | 2022-05-27 | Oppo广东移动通信有限公司 | Base band chip, task scheduling method and terminal equipment |
Family Cites Families (2)
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 |
CN107122232B (en) * | 2017-03-27 | 2021-02-02 | 中央电视台 | Multimedia task processing device and method |
-
2022
- 2022-02-10 CN CN202210125458.4A patent/CN114546096B/en active Active
- 2022-12-29 WO PCT/CN2022/143467 patent/WO2023151414A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101436155A (en) * | 2007-11-13 | 2009-05-20 | 国际商业机器公司 | Method and system for real-time prediction of power usage |
CN108170257A (en) * | 2018-03-21 | 2018-06-15 | 苏州芯算力智能科技有限公司 | A kind of Dynamic voltage scaling system and method for adjustment |
US20200072884A1 (en) * | 2018-08-31 | 2020-03-05 | Micron Technology, Inc. | Capacitive voltage divider for monitoring multiple memory components |
CN114527819A (en) * | 2022-02-10 | 2022-05-24 | Oppo广东移动通信有限公司 | Base band chip, voltage adjusting method and terminal equipment |
CN114546096A (en) * | 2022-02-10 | 2022-05-27 | Oppo广东移动通信有限公司 | Base band chip, task scheduling method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114546096B (en) | 2024-02-06 |
CN114546096A (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105893148B (en) | A kind of accidental task low energy consumption dispatching method based on RM strategy | |
WO2023151416A1 (en) | Baseband chip, voltage adjusting method, and terminal device | |
CN107087019A (en) | A kind of end cloud cooperated computing framework and task scheduling apparatus and method | |
WO2023151414A1 (en) | Baseband chip, task scheduling method, and terminal device | |
JP2013200858A (en) | Adaptive voltage scaling using serial interface | |
CN111625080B (en) | Server energy saving method and device, electronic equipment and storage medium | |
CN104820618B (en) | A kind of method for scheduling task, task scheduling apparatus and multiple nucleus system | |
Li et al. | Fast and energy-aware resource provisioning and task scheduling for cloud systems | |
CN107132903B (en) | Energy-saving management implementation method, device and network equipment | |
CN109597378A (en) | A kind of resource-constrained hybrid task energy consumption cognitive method | |
CN106293947A (en) | GPU CPU mixing resource allocation system and method under virtualization cloud environment | |
CN110209478B (en) | Heterogeneous multi-core system-on-chip task scheduling method and device | |
CN103942103A (en) | Method and device for generating processor scheduling policy in multi-core system and scheduling system | |
CN109976890A (en) | A kind of conversion method minimizing the privately owned cloud computing resources energy consumption of isomery | |
US9910486B2 (en) | Controlling power allocation in a server system that utilizes supplemental batteries | |
CN101925181B (en) | Method and device for scheduling multi-carrier system | |
WO2024139754A1 (en) | Test node regulation and control method and apparatus, electronic device and storage medium | |
CN103645797B (en) | A kind of low power consumption frequency modulation based on timeslice utilization factor | |
Ren et al. | Joint design of dynamic scheduling and pricing in wireless cloud computing | |
Liu et al. | Improving performance of mobile interactive data-streaming applications with multiple cloudlets | |
HajiKhodaverdian et al. | Reinforcement Learning-Based Task Scheduling Using DVFS Techniques in Mobile Devices | |
CN104298536A (en) | Dynamic frequency modulation and pressure adjustment technology based data center energy-saving dispatching method | |
Islam et al. | Online energy budgeting for virtualized data centers | |
US8601290B2 (en) | Distributed power system processing for communication device | |
CN102891895B (en) | A kind of bandwidth optimization method of virtual mirror server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22925763 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |