WO2019104479A1 - Method for determining loading program and electronic system - Google Patents

Method for determining loading program and electronic system Download PDF

Info

Publication number
WO2019104479A1
WO2019104479A1 PCT/CN2017/113355 CN2017113355W WO2019104479A1 WO 2019104479 A1 WO2019104479 A1 WO 2019104479A1 CN 2017113355 W CN2017113355 W CN 2017113355W WO 2019104479 A1 WO2019104479 A1 WO 2019104479A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
power consumption
electronic system
sleep
loader
Prior art date
Application number
PCT/CN2017/113355
Other languages
French (fr)
Chinese (zh)
Inventor
陈泓辉
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2017/113355 priority Critical patent/WO2019104479A1/en
Priority to CN201780002024.2A priority patent/CN110121688B/en
Publication of WO2019104479A1 publication Critical patent/WO2019104479A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Definitions

  • the present application relates to a method for judging a load program and an electronic system, and more particularly to a method and an electronic system for automatically determining a load program.
  • One architecture is a one-time loader program, where program code is moved from an external memory with slower access speeds to an internal memory that accesses faster speeds, and continuously supplies power to the internal memory to maintain the internal memory data storage state.
  • the electronic system can load the program code from the internal memory faster and more power-saving, so the loading of the program code only needs to be performed once.
  • Another architecture is a repetitive loader. Whenever the electronic system switches to the working mode, the program code required by the electronic system is again moved to the internal memory by the external memory again, because when the power-saving sleep mode is performed, The internal memory is not powered. After waking up from sleep, the program code must be moved again.
  • the program code can be directly read by the external memory, usually an electronic system with a lower instruction cycle, which will operate in this way.
  • the electronic system of the one-time loading program has the disadvantage of high complexity of the power management module, and must be When the electronic system transitions between the sleep mode and the operating mode, it provides the appropriate voltage to each unit of work of the electronic system. In addition, as the process progresses and the size of the electronic components shrinks, the leakage current of the electronic system also becomes severe, and the power consumption of the electronic system in the sleep mode is also affected.
  • the power management module needs to provide an appropriate voltage to the internal memory in the sleep mode to maintain the storage state of the internal memory data. Therefore, the electronic system causes additional power consumption due to leakage current of the internal memory during sleep, which affects the power consumption performance of the electronic system of the one-time loading program.
  • the electronic system must directly move the program code from the external memory to the internal memory, or directly obtain and load the program code from the external memory. Will generate extra power.
  • the purpose of some embodiments of the present application is to provide a method for judging a loading program and an electronic system for solving an electronic system that can only execute a single loading program, and cannot select different according to different usage conditions of the electronic system.
  • the loader mode reduces the power consumption of the electronic system to improve the shortcomings of the prior art.
  • the embodiment of the present application provides a method for determining a loading program, which is applied to an electronic system, where the electronic system includes a first memory and a second memory, in the first Storing or the second memory storing the program code, the method comprising: when the electronic system receives a trigger event from the sleep mode to the working mode, according to the loading instruction operation, executing the first loading program is obtained by the second memory The program code, or executing the second loader, moving the program code from the first memory to the second memory, obtaining the program code from the second memory; and calculating the first work according to the trigger event And a second power consumption to generate an updated load instruction; and when the electronic system receives the sleep instruction from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load instruction
  • the first memory and the second memory of the electronic system are turned on or off; wherein the first power consumption corresponds to the electronic system executing in the working mode according to the first loading program and Power consumption of the sleep mode, the second power
  • the trigger event is an instruction, a program, or a message.
  • the step of obtaining the program code by the second memory includes: when the electronic system receives a trigger event from a sleep mode to a working mode Acting according to a load instruction; when the load instruction is a first loader, the microprocessor in the electronic system loads and executes the program code stored in the second memory; and when the load instruction is The second program loading program, the program code is by the first The memory is moved to the second memory to cause the microprocessor in the electronic system to load and execute the program code stored in the second memory.
  • calculating the first power consumption and the second power consumption according to the trigger event to generate an updated load instruction includes: calculating a sleep time and a working time of the electronic system according to the trigger event; according to the sleep Time, calculating a first sleep power consumption and a second sleep power consumption, and calculating a first load power consumption and a second load power consumption according to the working time; summing the first sleep power consumption and the first load power Taking a first power consumption, summing the second sleep power consumption and the second load power consumption to obtain a second power consumption; and comparing the first power consumption and the second power consumption to generate Load the instruction after the update.
  • comparing the first power consumption and the second power consumption to generate an updated load instruction includes: generating, when the power consumption comparison result is that the first power consumption is less than the second power consumption The updated load instruction is the first loader; and when the power consumption comparison result is that the first power consumption is greater than the second power consumption, the generated update load instruction is the second loader.
  • the electronic system when the electronic system receives the sleep instruction from the working mode to the sleep mode, according to the updated loading instruction, providing a power voltage or a ground voltage to turn on or off the electronic system
  • the step of describing the first memory and the second memory includes: when the electronic system receives a sleep instruction from the working mode to the sleep mode, when the updated load instruction is the first loader
  • the first memory receives a ground voltage and the second memory receives a power voltage to turn off the first memory and turn on the second memory; and when the updated load instruction
  • the first memory and the second memory receive the ground voltage to turn off the first memory and the second memory.
  • the electronic system when the electronic system receives a sleep instruction from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load instruction to turn on or off the electronic system
  • the step of the memory and the second memory includes: when the electronic system receives the sleep instruction from the working mode to the sleep mode, when the updated load instruction is the first loader, The first memory and the second memory receive a power supply voltage to turn on the first memory and the second memory; and when the updated load instruction is the second loader, the first memory Receiving the power voltage and the second memory receiving a ground voltage to turn on the first memory and turn off the second memory.
  • An embodiment of the present application further provides an electronic system including a microprocessor for receiving program code for operation; a first memory for storing the program code as an external memory of the electronic system; and a second memory For storing the program code, the internal memory of the electronic system is directly coupled to the microprocessor; and the boot loader is configured to: when the electronic system is switched from the sleep mode to the work mode, The program code is moved from the first inner to the second memory; the load judging module includes a storage unit for storing a load instruction; and the processing unit, when the electronic system receives a trigger event, transitioning from the sleep mode to the work mode, according to The load instruction operation, executing the first loader to obtain the program code by the second memory, or executing the second loader to move the program code from the first memory to the second memory, by the The second memory acquires the program code; and the determining unit is configured to calculate the first power consumption and the second power consumption according to the trigger event to generate an update The load instruction; And a power management module, configured to: when the electronic system
  • FIG. 1 is a schematic diagram of an electronic system according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a process according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of an electronic system 10 according to an embodiment of the present application.
  • the electronic system 10 includes a first memory 100, a second memory 102, a microprocessor 104, a boot loader 106, a power management module 108, and a load determination module 110. It is worth noting that the electronic system 10 can transition between the sleep mode and the operational mode to reduce the additional power consumption of the electronic system 10 when idle.
  • the sleep mode can be switched to the working mode, and the electronic system 10 Optionally executing a first loader (loading and executing the program code from the second memory 102) or a second loader (copying the program code from the first memory 100 to the second memory 102, and from the first The second memory 102 loads and executes the program code).
  • the electronic system 10 can determine whether to select the first loader or the second loader according to the frequency of the trigger event, the length of the sleep time, the power consumption of the first loader, and the power consumption of the second loader to further save The power consumption of the electronic system 10.
  • the first memory 100 is a non-volatile flash memory
  • the embedded system is disposed in the electronic system 10 for storing data of the electronic system 10, which is external to the electronic system 10.
  • the non-volatile flash memory can keep the data stored in the state of power supply or no power supply.
  • the second memory 102 is a static random access memory (SRAM), which is an internal memory of the electronic system 10 and is also used for storing data, and has a high read rate, which is an internal memory when the system is executed.
  • SRAM static random access memory
  • Microprocessor 104 is the processing core of electronic system 10 for loading program code and executing, and performing operations on electronic system 10.
  • the boot loader 106 is a program load module for copying the program code from the first memory 100 to the second memory 102 to provide the microprocessor 104 when the electronic system 10 is booted or switched from the sleep mode to the active mode. Load and execute the program code.
  • the power management module 108 is configured to provide an appropriate power supply voltage or ground voltage to each of the working units in the electronic system 10 so that the various working units in the electronic system 10 can operate normally in the sleep mode and the operating mode. It should be noted that in order to maintain the storage state of the data of the electronic system 10, the power management module 108 must also provide an appropriate power voltage or ground voltage to the first memory 100 and the second memory 102 when in the sleep mode.
  • Load judgment module 110 is used to determine a load instruction.
  • the electronic system 10 can execute the first loader or the second loader according to the load instruction.
  • the boot loader 106 can load the program code according to the load instruction according to the load instruction.
  • the power management module 108 can provide an appropriate power supply voltage according to the load instruction. Or ground voltage to each of the working units in the electronic system 10.
  • the load determination module 110 includes a storage unit 1100, a processing unit 1102, and a determination unit 1104.
  • the storage unit 1100 is configured to store a load instruction
  • the processing unit 1102 is configured to instruct the boot loader 106 to execute the first load program or the second load program according to the load instruction, and instruct the power management module 108 to provide an appropriate power voltage or
  • the ground voltage is applied to various working units in the electronic system 10. Therefore, the electronic system 10 can selectively execute the first loading program or the second loading program by the loading instruction determined by the loading determining module 110 to save power consumption of the electronic system 10.
  • the first memory 100 does not need to receive a power supply voltage to maintain the storage state of its internal data even if the receiving thereof is cut off.
  • the power supply voltage can also keep the data stored in the first memory 100 from disappearing.
  • the second memory 102 needs to receive the power supply voltage in addition to the operating mode, and the second memory 102 also needs to receive the power supply voltage in the sleep mode to maintain its internally stored data. Therefore, in the sleep mode of the electronic system 10, the power management module 108 can be used to provide an appropriate power supply voltage or ground voltage to various working units in the electronic system 10 to enable the electronic system 10 to operate normally in the sleep mode.
  • the load judging module 110 is configured to instruct the boot loader 106 to load the program code from the first memory 100 or the second memory 102 to the microprocessor 104 when the electronic system 10 is switched from the sleep mode to the work mode; and in the electronic system 10 transitions from the operational mode to the sleep mode, instructing the power management module 108 to provide an appropriate supply voltage or ground voltage to each of the work cells in the electronic system 10.
  • the electronic system 10 can determine the manner in which the program is loaded according to the frequency at which the electronic system 10 receives the trigger event to save power consumption.
  • the operation steps of the electronic system 10 can be summarized into a process 20, as shown in FIG. 2, the process 20 includes the following steps:
  • Step 200 Start.
  • Step 202 When the electronic system 10 receives a trigger event from a sleep mode to a working mode, the processing unit 1102 instructs the boot loader 106 to execute a first loader or a second loader according to a load instruction.
  • Step 204 The processing unit 1102 calculates a first power consumption and a second power consumption according to the trigger event to generate an updated load instruction.
  • Step 206 When the electronic system 10 receives a sleep command from the working mode to the sleep mode, the processing unit 1102 instructs the power management module 108 to provide a power voltage or a ground voltage according to the updated load command to turn the electronic system on or off.
  • Step 208 End.
  • step 202 when the electronic system 10 receives a triggering event in the sleep mode, the electronic system 10 transitions from the sleep mode to the active mode.
  • the processing unit 1102 of the load judging module 110 instructs the boot loader 106 to execute the load program according to the load instruction stored in the storage unit 1100.
  • the load instruction is the first load instruction
  • the second memory 102 stores the copy-shifted program code
  • the processing unit 1102 instructs the microprocessor 104 to load and execute the program code in the second memory 102; when the load instruction is the second When the instruction is loaded, it means that no program code is stored in the second memory 102.
  • the processing unit 1102 instructs the boot loader 106 to copy the program code from the first memory 100 to the second memory 102 to cause the microprocessor 104 in the electronic system 10 to load and execute the program code in the second memory 102.
  • the determining unit 1104 of the load determining module 110 calculates the sleep time and the working time of the electronic system 10 in a default time according to the trigger event.
  • the first power consumption of the first load program is executed according to the sleep time and the work time
  • the second power consumption of the second load program is executed. And comparing the first power consumption with the second power consumption, generating an updated load instruction to indicate the loading procedure of the electronic system 10 while sleeping.
  • the first memory 100 and the second memory 102 are loaded according to the load.
  • the command is different, and the power supply voltage or the ground voltage is selectively received.
  • the power consumption of the execution loader includes load power consumption and sleep power consumption.
  • the power consumption is the power consumption of the electronic system 10 in the operating mode
  • the sleep power consumption is the power consumption of the electronic system 10 in the sleep mode. Therefore, the determining unit 1104 first determines the sleep time and the working time according to the trigger event, and accordingly calculates the first sleep power consumption and the second sleep power consumption of the electronic system 10, and calculates the first load power consumption and the second load power consumption.
  • the first sleep power consumption is the power consumption of the electronic system 10 to transition to the sleep mode according to the first load instruction
  • the second sleep power consumption is the power consumption of the electronic system 10 to transition to the sleep mode according to the second load instruction.
  • the first load power consumption is the power consumption of the electronic system 10 to load the program code according to the first load instruction
  • the second load power consumption is the power consumption of the electronic system 10 to load the program code according to the second load instruction. Therefore, the electronic system 10 performs the first power consumption of the first load program, that is, the sum of the first load power consumption and the first sleep power consumption.
  • the second power consumption of the second loader is the sum of the second load power consumption and the second sleep power consumption.
  • the determining unit 1104 can compare the first power consumption with the second power consumption to generate an updated load instruction.
  • the determining unit 1104 updates the load instruction to the first load program; when the comparison result is that the first power consumption is greater than the second power consumption, the determining unit 1104 Then update the load instruction to the second loader. Therefore, the determining unit 1104 can calculate the sleep time and the working time according to the trigger event, and accordingly obtain the first power consumption and the second power consumption to generate the updated loading program.
  • the first loader loads and executes the program code by the second memory 102 each time the electronic system 10 transitions from the sleep mode to the active mode. Therefore, executing the first loader can eliminate the step of copying the move program code to reduce the load power consumption.
  • the second loader copies the shift program code to the second memory 102 by the first memory 100 each time the electronic system transitions from the sleep mode to the work mode, and loads and executes the program code by the second memory 102. Therefore, executing the second loader can provide no power supply voltage to the second memory 102 during sleep to reduce sleep power consumption caused by leakage current. In other words, the first loader has lower load power consumption and the second loader has lower sleep power consumption.
  • step 206 when the electronic system 10 receives a sleep command event in the operational mode, the electronic system 10 transitions from the operational mode to the sleep mode.
  • the processing unit 1102 of the load judging module 110 instructs the power management module 108 of the electronic system 10 to supply power voltage or ground voltage to each working unit in the electronic system 10 according to the updated loading program.
  • the processing unit 1102 instructs the power management module 108 to provide a ground voltage to the first memory 100, and supplies a power voltage to the second memory 102 to maintain the second memory.
  • the storage state of the program code in 102 When the updated loader is the second loader, the processing unit 1102 instructs the power management module 108 to provide a ground voltage to the first memory 100 and the second memory 102.
  • electronic system 10 can transition to sleep mode in accordance with the updated loader.
  • the electronic system 10 can calculate the trigger frequency according to the trigger event, and calculate the power consumption of the system as a basis for selection, selectively executing the first load program or the second load program to reduce the power of the electronic system 10. Consumption.
  • the present application is not limited to integrating the first memory into the electronic system in an embedded setting manner, and may also connect the external first memory through the input/output port to obtain and copy the moving program code.
  • the first memory 110 is not limited to a non-volatile flash memory, and may also be a static random access memory.
  • the processing unit 1102 instructs the power management module 108 to supply the power voltage to the first A memory 100 and a second memory 102.
  • the processing unit 1102 instructs the power management module 108 to provide a power voltage to the first memory 100 and provides a ground voltage to the second memory 102.
  • the first memory 100 can maintain the storage state of its internal data in the sleep mode so that the data does not disappear, and by using the static random access memory as the external memory, although the sleep power consumption of the electronic system 10 is increased,
  • static random access memory has lower load power consumption when executing the loader than the non-volatile flash memory, and has better system integration and is easier to integrate with the electronic system 10.
  • the electronic system can selectively execute the first loading program or the second loading program by determining the loading program, preferably according to the usage of the electronic system to select a loading with lower power consumption.
  • the program mode reduces the power consumption of the electronic system.
  • the electronic system can only perform a single program code loading program, and the loading program cannot be adaptively changed to save power when the electronic system sleep time is changed.
  • the present application can automatically determine the appropriate loader mode according to the power consumption of the execution load of the electronic system, select a power-saving loader mode to save power consumption of the electronic system, and improve the disadvantages of the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Read Only Memory (AREA)

Abstract

A method for determining a loading program, applied to an electronic system storing program codes in a first memory and a second memory, the method comprising: when the electronic system receives a trigger event and switches from a sleep mode to a working mode, operating according to a loading instruction, executing a first loading program to obtain the program codes from the second memory, or executing a second loading program to transfer the program codes from the first memory to the second memory, and obtain the program codes from the second memory; calculating, according to the trigger event, first power consumption and second power consumption, to generate an updated loading instruction; when the electronic system receives a sleep instruction and switches from the working mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated loading instruction, to turn on or turn off the first memory and the second memory of the electronic system; the first power consumption corresponding to the power consumption of the electronic system executing the first loading program in the working mode and the sleep mode, and the second power consumption corresponding to the power consumption of the electronic system executing the second loading program in the working mode and the sleep mode.

Description

判断加载程序的方法以及电子系统Method for judging loader and electronic system 技术领域Technical field
本申请涉及一种判断加载程序的方法以及电子系统,尤其涉及一种可自动判断加载程序的方法以及电子系统。The present application relates to a method for judging a load program and an electronic system, and more particularly to a method and an electronic system for automatically determining a load program.
背景技术Background technique
为了于启动时加载程序代码,现今的电子系统可大致分为两种架构。一种架构是一次性加载程序,程序代码由访问速度较慢的外部存储器被搬移到访问速度较快的内部存储器,并持续供应电源电压给内部存储器,以保持内部存储器数据的储存状态。当电子系统由休眠模式转换至工作模式时,电子系统即可从内部存储器较快速且省电的加载程序代码,因此,程序代码的加载仅需进行一次。另一种架构是重复性加载程序,当每次电子系统转换至工作模式时,电子系统所需的程序代码重新由外部存储器再次被搬移到内部存储器,因为进行极省功耗的休眠模式时,内部储存器不予供电,从休眠状态唤醒后,必须再度进行程序代码搬移动作。另外,在某些应用场合,亦可由外部存储器直接读入程序代码执行,通常是对指令周期要求较低的电子系统,会用这样的方式运作。In order to load program code at startup, today's electronic systems can be roughly divided into two architectures. One architecture is a one-time loader program, where program code is moved from an external memory with slower access speeds to an internal memory that accesses faster speeds, and continuously supplies power to the internal memory to maintain the internal memory data storage state. When the electronic system is switched from the sleep mode to the active mode, the electronic system can load the program code from the internal memory faster and more power-saving, so the loading of the program code only needs to be performed once. Another architecture is a repetitive loader. Whenever the electronic system switches to the working mode, the program code required by the electronic system is again moved to the internal memory by the external memory again, because when the power-saving sleep mode is performed, The internal memory is not powered. After waking up from sleep, the program code must be moved again. In addition, in some applications, the program code can be directly read by the external memory, usually an electronic system with a lower instruction cycle, which will operate in this way.
一次性加载程序的电子系统有着电源管理模块复杂度较高的缺点,必需在 电子系统转换于休眠模式以及工作模式之间时,提供适当的电压至电子系统的各个工作单位。此外,随着制程的进步与电子组件的尺寸缩小的情况下,电子系统漏电流的情况亦趋严重,电子系统于休眠模式时的功耗也因此受到影响。当电子系统根据一次性加载程序运作在休眠模式时,电源管理模块需要在休眠模式时提供适当的电压至内部存储器,以维持内部存储器数据的储存状态。因此,造成电子系统在休眠时会因为内部存储器的漏电流造成额外的功率消耗,影响一次性加载程序的电子系统的功率消耗表现。另一方面,重复性加载程序在每次由休眠模式转换至工作模式时,电子系统皆须直接由外部存储器搬移程序代码至内部存储器,亦或者直接由外部存储器取得并加载程序代码,两种做法都会产生额外的功耗。The electronic system of the one-time loading program has the disadvantage of high complexity of the power management module, and must be When the electronic system transitions between the sleep mode and the operating mode, it provides the appropriate voltage to each unit of work of the electronic system. In addition, as the process progresses and the size of the electronic components shrinks, the leakage current of the electronic system also becomes severe, and the power consumption of the electronic system in the sleep mode is also affected. When the electronic system operates in the sleep mode according to the one-time loader, the power management module needs to provide an appropriate voltage to the internal memory in the sleep mode to maintain the storage state of the internal memory data. Therefore, the electronic system causes additional power consumption due to leakage current of the internal memory during sleep, which affects the power consumption performance of the electronic system of the one-time loading program. On the other hand, each time the repetitive loader switches from sleep mode to work mode, the electronic system must directly move the program code from the external memory to the internal memory, or directly obtain and load the program code from the external memory. Will generate extra power.
因此,现有技术实有改善的必要。Therefore, the prior art has a need for improvement.
发明内容Summary of the invention
因此,本申请部分实施例的目的即在于提供一种判断加载程序的方法以及电子系统,用来解决电子系统仅能执行单一加载程序,无法根据电子系统使用情况的不同,而较佳地选择不同的加载程序方式,减少电子系统的功率消耗,以改善现有技术的缺点。Therefore, the purpose of some embodiments of the present application is to provide a method for judging a loading program and an electronic system for solving an electronic system that can only execute a single loading program, and cannot select different according to different usage conditions of the electronic system. The loader mode reduces the power consumption of the electronic system to improve the shortcomings of the prior art.
为了解决上述技术问题,本申请实施例提供了一种判断加载程序的方法,应用于一电子系统,所述电子系统包括第一内存以及第二内存,于所述第一内 存或所述第二内存储存程序代码,所述方法包括当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作,执行第一加载程序由所述第二内存取得所述程序代码,或执行第二加载程序由所述第一内存搬移所述程序代码至所述第二内存,由所述第二内存取得所述程序代码;根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令;以及当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存;其中,所述第一功耗对应于所述电子系统根据所述第一加载程序执行于所述工作模式以及所述休眠模式的功率消耗,所述第二功耗对应于所述电子系统根据所述第二加载程序执行于所述工作模式以及所述休眠模式的功率消耗。In order to solve the above technical problem, the embodiment of the present application provides a method for determining a loading program, which is applied to an electronic system, where the electronic system includes a first memory and a second memory, in the first Storing or the second memory storing the program code, the method comprising: when the electronic system receives a trigger event from the sleep mode to the working mode, according to the loading instruction operation, executing the first loading program is obtained by the second memory The program code, or executing the second loader, moving the program code from the first memory to the second memory, obtaining the program code from the second memory; and calculating the first work according to the trigger event And a second power consumption to generate an updated load instruction; and when the electronic system receives the sleep instruction from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load instruction The first memory and the second memory of the electronic system are turned on or off; wherein the first power consumption corresponds to the electronic system executing in the working mode according to the first loading program and Power consumption of the sleep mode, the second power consumption corresponding to the electronic system executing in the working mode according to the second loading program The power consumption sleep mode.
例如,所述触发事件为一指令、一程序或一信息。For example, the trigger event is an instruction, a program, or a message.
例如,当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作,执行第一加载程序由所述第二内存取得所述程序代码,或执行所述第二加载程序由所述第一内存搬移所述程序代码至所述第二内存,由所述第二内存取得所述程序代码的步骤包括,当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作;当所述加载指令为第一加载程序时,所述电子系统中的微处理器加载并执行储存于所述第二内存的所述程序代码;以及当所述加载指令为第二加载程序时,将所述程序代码由所述第一 内存搬移至所述第二内存,以使所述电子系统中的所述微处理器加载并执行储存于所述第二内存的所述程序代码。For example, when the electronic system receives a trigger event to switch from the sleep mode to the working mode, according to the load instruction operation, executing the first loader to obtain the program code from the second memory, or executing the second loader Moving the program code from the first memory to the second memory, the step of obtaining the program code by the second memory includes: when the electronic system receives a trigger event from a sleep mode to a working mode Acting according to a load instruction; when the load instruction is a first loader, the microprocessor in the electronic system loads and executes the program code stored in the second memory; and when the load instruction is The second program loading program, the program code is by the first The memory is moved to the second memory to cause the microprocessor in the electronic system to load and execute the program code stored in the second memory.
例如,根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令的步骤包括,根据所述触发事件,计算所述电子系统的休眠时间以及工作时间;根据所述休眠时间,计算第一休眠功耗以及第二休眠功耗,且根据所述工作时间计算第一加载功耗以及第二加载功耗;加总所述第一休眠功耗以及所述第一加载功耗以取得第一功耗,加总所述第二休眠功耗以及所述第二加载功耗以取得第二功耗;以及比较所述第一功耗以及所述第二功耗,以产生更新后加载指令。For example, calculating the first power consumption and the second power consumption according to the trigger event to generate an updated load instruction includes: calculating a sleep time and a working time of the electronic system according to the trigger event; according to the sleep Time, calculating a first sleep power consumption and a second sleep power consumption, and calculating a first load power consumption and a second load power consumption according to the working time; summing the first sleep power consumption and the first load power Taking a first power consumption, summing the second sleep power consumption and the second load power consumption to obtain a second power consumption; and comparing the first power consumption and the second power consumption to generate Load the instruction after the update.
例如,比较所述第一功耗以及所述第二功耗,以产生更新后加载指令的步骤包括,当功耗比较结果为所述第一功耗小于所述第二功耗时,产生的更新后加载指令为所述第一加载程序;以及当功耗比较结果为所述第一功耗大于所述第二功耗时,产生的更新后加载指令为所述第二加载程序。For example, comparing the first power consumption and the second power consumption to generate an updated load instruction includes: generating, when the power consumption comparison result is that the first power consumption is less than the second power consumption The updated load instruction is the first loader; and when the power consumption comparison result is that the first power consumption is greater than the second power consumption, the generated update load instruction is the second loader.
例如,当所述电子系统接收所述休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存的步骤包括:当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,当所述更新后加载指令为所述第一加载程序时,所述第一内存接收接地电压且所述第二内存接收电源电压,以关闭所述第一内存且开启所述第二内存;以及当所述更新后加载指令 为所述第二加载程序时,所述第一内存以及所述第二内存接收所述接地电压,以关闭所述第一内存以及所述第二内存。For example, when the electronic system receives the sleep instruction from the working mode to the sleep mode, according to the updated loading instruction, providing a power voltage or a ground voltage to turn on or off the electronic system The step of describing the first memory and the second memory includes: when the electronic system receives a sleep instruction from the working mode to the sleep mode, when the updated load instruction is the first loader The first memory receives a ground voltage and the second memory receives a power voltage to turn off the first memory and turn on the second memory; and when the updated load instruction When the second loading program is used, the first memory and the second memory receive the ground voltage to turn off the first memory and the second memory.
例如,当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存的步骤包括:当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,当所述更新后加载指令为所述第一加载程序时,所述第一内存以及所述第二内存接收电源电压,以开启所述第一内存以及所述第二内存;以及当所述更新后加载指令为所述第二加载程序时,所述第一内存接收所述电源电压且所述第二内存接收接地电压,以开启所述第一内存且关闭所述第二内存。For example, when the electronic system receives a sleep instruction from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load instruction to turn on or off the electronic system The step of the memory and the second memory includes: when the electronic system receives the sleep instruction from the working mode to the sleep mode, when the updated load instruction is the first loader, The first memory and the second memory receive a power supply voltage to turn on the first memory and the second memory; and when the updated load instruction is the second loader, the first memory Receiving the power voltage and the second memory receiving a ground voltage to turn on the first memory and turn off the second memory.
本申请实施例另提供了一种电子系统,包括微处理器,用来接收程序代码以进行操作;第一内存,用来储存所述程序代码,为所述电子系统的外部存储器;第二内存,用来储存所述程序代码,为所述电子系统的内部存储器,直接耦接于所述微处理器;启动加载器,用来当所述电子系统由休眠模式转换至工作模式时,将所述程序代码由所述第一内搬移至第二内存;加载判断模块包括储存单元,用来储存加载指令;处理单元,当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据所述加载指令操作,执行第一加载程序由所述第二内存取得所述程序代码,或执行第二加载程序由所述第一内存搬移所述程序代码至所述第二內存,由所述第二内存取得所述程序代码;以及判断单元,用来根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令; 以及电源管理模块,用来当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存;其中,所述第一功耗对应于所述电子系统根据所述第一加载程序执行于所述工作模式以及所述休眠模式的功率消耗,所述第二功耗对应于所述电子系统根据所述第二加载程序执行于所述工作模式以及所述休眠模式的功率消耗。An embodiment of the present application further provides an electronic system including a microprocessor for receiving program code for operation; a first memory for storing the program code as an external memory of the electronic system; and a second memory For storing the program code, the internal memory of the electronic system is directly coupled to the microprocessor; and the boot loader is configured to: when the electronic system is switched from the sleep mode to the work mode, The program code is moved from the first inner to the second memory; the load judging module includes a storage unit for storing a load instruction; and the processing unit, when the electronic system receives a trigger event, transitioning from the sleep mode to the work mode, according to The load instruction operation, executing the first loader to obtain the program code by the second memory, or executing the second loader to move the program code from the first memory to the second memory, by the The second memory acquires the program code; and the determining unit is configured to calculate the first power consumption and the second power consumption according to the trigger event to generate an update The load instruction; And a power management module, configured to: when the electronic system receives the sleep command from the operating mode to the sleep mode, provide a power voltage or a ground voltage according to the updated load command to turn the electronic system on or off The first memory and the second memory; wherein the first power consumption corresponds to power consumption performed by the electronic system in the operating mode and the sleep mode according to the first loading program, The second power consumption corresponds to power consumption performed by the electronic system in the operating mode and the sleep mode according to the second loading program.
附图说明DRAWINGS
图1为本申请实施例一电子系统的示意图。FIG. 1 is a schematic diagram of an electronic system according to an embodiment of the present application.
图2为本申请实施例一流程的示意图。FIG. 2 is a schematic diagram of a process according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
请参考图1,图1为本申请实施例一电子系统10的示意图。电子系统10包括第一内存100、第二内存102、微处理器104、启动加载器106、电源管理模块108及加载判断模块110。值得注意的是,电子系统10可转换于休眠模式以及工作模式之间,以降低闲置时电子系统10的额外功率消耗。其中,当电子系统10接收到一触发事件时,可由休眠模式转换至工作模式,且电子系统10 可选择性地执行一第一加载程序(从第二内存102加载并执行所述程序代码)或一第二加载程序(由第一内存100复制搬移一程序代码至第二内存102,且从第二内存102加载并执行所述程序代码)。举例来说,电子系统10可根据触发事件的频率、休眠时间的长度、第一加载程序的功耗以及第二加载程序的功耗以判断选择第一加载程序或第二加载程序,以进一步节省电子系统10的功率消耗。Please refer to FIG. 1. FIG. 1 is a schematic diagram of an electronic system 10 according to an embodiment of the present application. The electronic system 10 includes a first memory 100, a second memory 102, a microprocessor 104, a boot loader 106, a power management module 108, and a load determination module 110. It is worth noting that the electronic system 10 can transition between the sleep mode and the operational mode to reduce the additional power consumption of the electronic system 10 when idle. Wherein, when the electronic system 10 receives a trigger event, the sleep mode can be switched to the working mode, and the electronic system 10 Optionally executing a first loader (loading and executing the program code from the second memory 102) or a second loader (copying the program code from the first memory 100 to the second memory 102, and from the first The second memory 102 loads and executes the program code). For example, the electronic system 10 can determine whether to select the first loader or the second loader according to the frequency of the trigger event, the length of the sleep time, the power consumption of the first loader, and the power consumption of the second loader to further save The power consumption of the electronic system 10.
在本实施例中,第一内存100为一非挥发式的闪存(Flash Memory),嵌入式地(Embedded)设置于电子系统10中,用来储存电子系统10的数据,为电子系统10的外部存储器。其中,非挥发式的闪存可在有电源或没有电源供应的情况下皆保持数据的储存状态。第二内存102为一静态随机存取内存(Static Random Access Memory,SRAM),为电子系统10的内部存储器,亦用来储存数据,具有较高的读取速率,为系统执行时的内部存储器。其中,静态随机存取内存需要在有电源供应的情况下才能保持数据的储存状态。微处理器104为电子系统10的处理核心,用来加载程序代码并执行,且进行电子系统10的运算。启动加载器106为一程序加载模块,用来于电子系统10启动或是由休眠模式转换至工作模式时,将程序代码由第一内存100复制搬移至第二内存102,以提供微处理器104加载并执行程序代码。电源管理模块108是用来提供适当的电源电压或是接地电压至电子系统10中的各个工作单元,使电子系统10中的各个工作单元可于休眠模式以及工作模式时正常的运作。值得注意的是,为保持电子系统10数据的储存状态,当休眠模式时,电源管理模块108亦须提供适当的电源电压或接地电压至第一内存100以及第二内存102。加载判断模块 110是用来判断一加载指令。电子系统10可根据加载指令执行第一加载程序或是第二加载程序,启动加载器106可根据加载指令正确地根据加载指令以加载程序代码,电源管理模块108可根据加载指令提供适当的电源电压或是接地电压至电子系统10中的各个工作单元。加载判断模块110包括储存单元1100、处理单元1102以及判断单元1104。其中,储存单元1100用来储存加载指令,而处理单元1102用来根据加载指令指示启动加载器106执行第一加载程序或第二加载程序,且指示电源管理模块108以提供适当的电源电压或是接地电压至电子系统10中的各个工作单元。因此,电子系统10可藉由加载判断模块110判断的加载指令,选择性地执行第一加载程序或第二加载程序,以节省电子系统10的功率消耗。In this embodiment, the first memory 100 is a non-volatile flash memory, and the embedded system is disposed in the electronic system 10 for storing data of the electronic system 10, which is external to the electronic system 10. Memory. Among them, the non-volatile flash memory can keep the data stored in the state of power supply or no power supply. The second memory 102 is a static random access memory (SRAM), which is an internal memory of the electronic system 10 and is also used for storing data, and has a high read rate, which is an internal memory when the system is executed. Among them, static random access memory needs to maintain the data storage state when there is power supply. Microprocessor 104 is the processing core of electronic system 10 for loading program code and executing, and performing operations on electronic system 10. The boot loader 106 is a program load module for copying the program code from the first memory 100 to the second memory 102 to provide the microprocessor 104 when the electronic system 10 is booted or switched from the sleep mode to the active mode. Load and execute the program code. The power management module 108 is configured to provide an appropriate power supply voltage or ground voltage to each of the working units in the electronic system 10 so that the various working units in the electronic system 10 can operate normally in the sleep mode and the operating mode. It should be noted that in order to maintain the storage state of the data of the electronic system 10, the power management module 108 must also provide an appropriate power voltage or ground voltage to the first memory 100 and the second memory 102 when in the sleep mode. Load judgment module 110 is used to determine a load instruction. The electronic system 10 can execute the first loader or the second loader according to the load instruction. The boot loader 106 can load the program code according to the load instruction according to the load instruction. The power management module 108 can provide an appropriate power supply voltage according to the load instruction. Or ground voltage to each of the working units in the electronic system 10. The load determination module 110 includes a storage unit 1100, a processing unit 1102, and a determination unit 1104. The storage unit 1100 is configured to store a load instruction, and the processing unit 1102 is configured to instruct the boot loader 106 to execute the first load program or the second load program according to the load instruction, and instruct the power management module 108 to provide an appropriate power voltage or The ground voltage is applied to various working units in the electronic system 10. Therefore, the electronic system 10 can selectively execute the first loading program or the second loading program by the loading instruction determined by the loading determining module 110 to save power consumption of the electronic system 10.
详细来说,由于闪存与静态随机存取内存的特性关系,第一内存100于电子系统10为休眠模式时,其不须要接收一电源电压来维持其内部数据的储存状态,即使切断其接收的电源电压也可以保持第一内存100内部储存的数据不消失。然而,第二内存102除了在工作模式时需要接收电源电压,第二内存102在休眠模式时也需要接收电源电压,以维持其内部储存的数据。因此,在电子系统10于休眠模式,电源管理模块108可用来提供适当的电源电压或是接地电压至电子系统10中的各个工作单元,使电子系统10可于休眠模式时正常的运作。加载判断模块110是用来于电子系统10由休眠模式转换至工作模式时,指示启动加载器106将程序代码由第一内存100或是第二内存102加载至微处理器104;且于电子系统10由工作模式转换至休眠模式时,指示电源管理模块108提供适当的电源电压或是接地电压至电子系统10中的各个工作单元。 In detail, due to the characteristic relationship between the flash memory and the static random access memory, when the electronic memory 10 is in the sleep mode, the first memory 100 does not need to receive a power supply voltage to maintain the storage state of its internal data even if the receiving thereof is cut off. The power supply voltage can also keep the data stored in the first memory 100 from disappearing. However, the second memory 102 needs to receive the power supply voltage in addition to the operating mode, and the second memory 102 also needs to receive the power supply voltage in the sleep mode to maintain its internally stored data. Therefore, in the sleep mode of the electronic system 10, the power management module 108 can be used to provide an appropriate power supply voltage or ground voltage to various working units in the electronic system 10 to enable the electronic system 10 to operate normally in the sleep mode. The load judging module 110 is configured to instruct the boot loader 106 to load the program code from the first memory 100 or the second memory 102 to the microprocessor 104 when the electronic system 10 is switched from the sleep mode to the work mode; and in the electronic system 10 transitions from the operational mode to the sleep mode, instructing the power management module 108 to provide an appropriate supply voltage or ground voltage to each of the work cells in the electronic system 10.
换言之,电子系统10可根据电子系统10接收触发事件的频率以判断加载程序的方式,以节省功率消耗。其中,关于电子系统10的操作步骤可归纳为一流程20,如图2所示,流程20包括以下步骤:In other words, the electronic system 10 can determine the manner in which the program is loaded according to the frequency at which the electronic system 10 receives the trigger event to save power consumption. The operation steps of the electronic system 10 can be summarized into a process 20, as shown in FIG. 2, the process 20 includes the following steps:
步骤200:开始。Step 200: Start.
步骤202:当电子系统10接收一触发事件由一休眠模式转换至一工作模式时,处理单元1102根据一加载指令指示启动加载器106执行一第一加载程序或一第二加载程序。Step 202: When the electronic system 10 receives a trigger event from a sleep mode to a working mode, the processing unit 1102 instructs the boot loader 106 to execute a first loader or a second loader according to a load instruction.
步骤204:处理单元1102根据触发事件计算一第一功耗以及一第二功耗,以产生一更新后加载指令。Step 204: The processing unit 1102 calculates a first power consumption and a second power consumption according to the trigger event to generate an updated load instruction.
步骤206:当电子系统10接收一休眠指令由工作模式转换至所述休眠模式时,处理单元1102根据更新后加载指令指示电源管理模块108提供一电源电压或一接地电压,以开启或关闭电子系统10的第一内存100以及第二内存102。Step 206: When the electronic system 10 receives a sleep command from the working mode to the sleep mode, the processing unit 1102 instructs the power management module 108 to provide a power voltage or a ground voltage according to the updated load command to turn the electronic system on or off. The first memory 100 of the 10 and the second memory 102.
步骤208:结束。Step 208: End.
详细来说,在步骤202中,当电子系统10于休眠模式接收触发事件时,电子系统10会由休眠模式转换至工作模式。其中,加载判断模块110的处理单元1102会根据储存于储存单元1100的加载指令指示启动加载器106执行加载程序。当加载指令为第一加载指令时,代表第二内存102中储存有复制搬移后的程序代码,处理单元1102指示微处理器104于第二内存102加载并执行程序代码;当加载指令为第二加载指令时,代表第二内存102中没有储存程序代码, 处理单元1102指示启动加载器106将程序代码由第一内存100复制搬移至第二内存102,以使电子系统10中的微处理器104于第二内存102加载并执行程序代码。In detail, in step 202, when the electronic system 10 receives a triggering event in the sleep mode, the electronic system 10 transitions from the sleep mode to the active mode. The processing unit 1102 of the load judging module 110 instructs the boot loader 106 to execute the load program according to the load instruction stored in the storage unit 1100. When the load instruction is the first load instruction, the second memory 102 stores the copy-shifted program code, and the processing unit 1102 instructs the microprocessor 104 to load and execute the program code in the second memory 102; when the load instruction is the second When the instruction is loaded, it means that no program code is stored in the second memory 102. The processing unit 1102 instructs the boot loader 106 to copy the program code from the first memory 100 to the second memory 102 to cause the microprocessor 104 in the electronic system 10 to load and execute the program code in the second memory 102.
接着,在步骤204中,加载判断模块110的判断单元1104会根据触发事件,计算电子系统10在一默认时间内的休眠时间以及工作时间。根据休眠时间以及工作时间计算执行第一加载程序的第一功耗,以及执行第二加载程序的第二功耗。并比较第一功耗以及第二功耗,产生更新后加载指令,以指示电子系统10于休眠时的加载程序。详细来说,加载程序消耗的功耗除了电子系统10运作于工作模式时加载程序代码的加载功耗之外,电子系统10运作于休眠模式时,第一内存100以及第二内存102会依据加载指令的不同,而选择性地接收电源电压或是接地电压。当第一内存100或第二内存102接收电源电压时,会因为漏电流的缘故而造成额外的功率消耗,因而产生休眠功耗。其中,执行加载程序的功耗包括加载功耗以及休眠功耗。加载功耗为电子系统10于工作模式的功率消耗,休眠功耗为电子系统10于休眠模式的功率消耗。因此,判断单元1104首先根据触发事件判断休眠时间以及工作时间,据此计算电子系统10的第一休眠功耗以及第二休眠功耗,并计算第一加载功耗以及第二加载功耗。其中,第一休眠功耗为电子系统10根据第一加载指令转换至休眠模式的功耗,第二休眠功耗为电子系统10根据第二加载指令转换至休眠模式的功耗。第一加载功耗为电子系统10根据第一加载指令加载程序代码的功耗,第二加载功耗为电子系统10根据第二加载指令加载程序代码的功耗。因此,电子系统10执行第一加载程序的第一功耗,即为第一加载功耗与第一休眠功耗的加总。电子系统10执行 第二加载程序的第二功耗,即为第二加载功耗与第二休眠功耗的加总。判断单元1104可比较第一功耗以及第二功耗,以产生更新后加载指令。Next, in step 204, the determining unit 1104 of the load determining module 110 calculates the sleep time and the working time of the electronic system 10 in a default time according to the trigger event. The first power consumption of the first load program is executed according to the sleep time and the work time, and the second power consumption of the second load program is executed. And comparing the first power consumption with the second power consumption, generating an updated load instruction to indicate the loading procedure of the electronic system 10 while sleeping. In detail, in addition to the load power consumption of the load program code when the electronic system 10 operates in the work mode, when the electronic system 10 operates in the sleep mode, the first memory 100 and the second memory 102 are loaded according to the load. The command is different, and the power supply voltage or the ground voltage is selectively received. When the first memory 100 or the second memory 102 receives the power supply voltage, additional power consumption is caused by leakage current, thereby generating sleep power consumption. Among them, the power consumption of the execution loader includes load power consumption and sleep power consumption. The power consumption is the power consumption of the electronic system 10 in the operating mode, and the sleep power consumption is the power consumption of the electronic system 10 in the sleep mode. Therefore, the determining unit 1104 first determines the sleep time and the working time according to the trigger event, and accordingly calculates the first sleep power consumption and the second sleep power consumption of the electronic system 10, and calculates the first load power consumption and the second load power consumption. The first sleep power consumption is the power consumption of the electronic system 10 to transition to the sleep mode according to the first load instruction, and the second sleep power consumption is the power consumption of the electronic system 10 to transition to the sleep mode according to the second load instruction. The first load power consumption is the power consumption of the electronic system 10 to load the program code according to the first load instruction, and the second load power consumption is the power consumption of the electronic system 10 to load the program code according to the second load instruction. Therefore, the electronic system 10 performs the first power consumption of the first load program, that is, the sum of the first load power consumption and the first sleep power consumption. Electronic system 10 execution The second power consumption of the second loader is the sum of the second load power consumption and the second sleep power consumption. The determining unit 1104 can compare the first power consumption with the second power consumption to generate an updated load instruction.
举例来说,当比较结果为第一功耗小于第二功耗时,判断单元1104则更新加载指令为第一加载程序;当比较结果为第一功耗大于第二功耗时,判断单元1104则更新加载指令为第二加载程序。因此,判断单元1104可根据触发事件计算休眠时间以及工作时间,并据此取得第一功耗以及第二功耗,用以产生更新后的加载程序。一般来说,第一加载程序于电子系统10每次由休眠模式转换至工作模式时,由第二内存102加载并执行程序代码。因此,执行第一加载程序可省去复制搬移程序代码的步骤以减少加载功耗。第二加载程序于电子系统每次由休眠模式转换至工作模式时,由第一内存100复制搬移程序代码至第二内存102,并由第二内存102加载并执行程序代码。因此,执行第二加载程序可于休眠时不提供电源电压至第二内存102,以降低漏电流产生的休眠功耗。换句话说,第一加载程序具有较低的加载功耗,第二加载程序具有较低的休眠功耗。For example, when the comparison result is that the first power consumption is less than the second power consumption, the determining unit 1104 updates the load instruction to the first load program; when the comparison result is that the first power consumption is greater than the second power consumption, the determining unit 1104 Then update the load instruction to the second loader. Therefore, the determining unit 1104 can calculate the sleep time and the working time according to the trigger event, and accordingly obtain the first power consumption and the second power consumption to generate the updated loading program. In general, the first loader loads and executes the program code by the second memory 102 each time the electronic system 10 transitions from the sleep mode to the active mode. Therefore, executing the first loader can eliminate the step of copying the move program code to reduce the load power consumption. The second loader copies the shift program code to the second memory 102 by the first memory 100 each time the electronic system transitions from the sleep mode to the work mode, and loads and executes the program code by the second memory 102. Therefore, executing the second loader can provide no power supply voltage to the second memory 102 during sleep to reduce sleep power consumption caused by leakage current. In other words, the first loader has lower load power consumption and the second loader has lower sleep power consumption.
最后,在步骤206中,当电子系统10于工作模式接收到休眠指令事件时,电子系统10会由工作模式转换至休眠模式。其中,加载判断模块110的处理单元1102会根据更新后的加载程序指示电子系统10的电源管理模块108电源电压,以适当的供应电源电压或是接地电压至电子系统10中的各个工作单元,用以转换电子系统10至休眠模式。详细来说,当更新后的加载程序为第一加载程序时,处理单元1102会指示电源管理模块108提供接地电压至第一内存100,且提供电源电压至第二内存102,以保持第二内存102内程序代码的储存状态。 当更新后的加载程序为第二加载程序时,处理单元1102指示电源管理模块108提供接地电压至第一内存100以及第二内存102。因此,电子系统10可根据更新后的加载程序以转换至休眠模式。Finally, in step 206, when the electronic system 10 receives a sleep command event in the operational mode, the electronic system 10 transitions from the operational mode to the sleep mode. The processing unit 1102 of the load judging module 110 instructs the power management module 108 of the electronic system 10 to supply power voltage or ground voltage to each working unit in the electronic system 10 according to the updated loading program. To switch the electronic system 10 to the sleep mode. In detail, when the updated loader is the first loader, the processing unit 1102 instructs the power management module 108 to provide a ground voltage to the first memory 100, and supplies a power voltage to the second memory 102 to maintain the second memory. The storage state of the program code in 102. When the updated loader is the second loader, the processing unit 1102 instructs the power management module 108 to provide a ground voltage to the first memory 100 and the second memory 102. Thus, electronic system 10 can transition to sleep mode in accordance with the updated loader.
简单来说,电子系统10可根据触发事件计算触发频率,并据以计算系统的功率消耗以作为选择的依据,选择性地执行第一加载程序或第二加载程序,以减低电子系统10的功率消耗。Briefly, the electronic system 10 can calculate the trigger frequency according to the trigger event, and calculate the power consumption of the system as a basis for selection, selectively executing the first load program or the second load program to reduce the power of the electronic system 10. Consumption.
需注意的是,前述实施例用来说明本申请之概念,本领域具通常知识者当可据以做不同之修饰。举例来说,本申请不限于以嵌入式的设置方式,将第一内存整合于电子系统中,亦可透过输入输出埠连接外部的第一内存,以取得并复制搬移程序代码。此外,第一内存110并不限于非挥发式的闪存,亦可为静态随机存取内存。在此情形下,于步骤206中,当电子系统10于工作模式接收到休眠指令事件时,若更新后的加载程序为第一加载程序,处理单元1102会指示电源管理模块108提供电源电压至第一内存100以及第二内存102。若更新后的加载程序为第二加载程序,处理单元1102会指示电源管理模块108提供电源电压至第一内存100,且提供接地电压至第二内存102。如此一来,第一内存100可于休眠模式时,维持其内部数据的储存状态使数据不消失,而藉由使用静态随机存取内存为外部存储器,虽然会增加电子系统10的休眠功耗,然而,静态随机存取内存较非挥发式的闪存,在执行加载程序时具有较低的加载功耗,且具有较佳的系统整合性,较易与电子系统10整合。 It should be noted that the foregoing embodiments are used to explain the concept of the present application, and those skilled in the art can make various modifications. For example, the present application is not limited to integrating the first memory into the electronic system in an embedded setting manner, and may also connect the external first memory through the input/output port to obtain and copy the moving program code. In addition, the first memory 110 is not limited to a non-volatile flash memory, and may also be a static random access memory. In this case, in step 206, when the electronic system 10 receives the sleep instruction event in the working mode, if the updated loader is the first loader, the processing unit 1102 instructs the power management module 108 to supply the power voltage to the first A memory 100 and a second memory 102. If the updated loader is the second loader, the processing unit 1102 instructs the power management module 108 to provide a power voltage to the first memory 100 and provides a ground voltage to the second memory 102. In this way, the first memory 100 can maintain the storage state of its internal data in the sleep mode so that the data does not disappear, and by using the static random access memory as the external memory, although the sleep power consumption of the electronic system 10 is increased, However, static random access memory has lower load power consumption when executing the loader than the non-volatile flash memory, and has better system integration and is easier to integrate with the electronic system 10.
因此,藉由本申请实施例,电子系统藉由判断加载程序的方法,可选择性地执行第一加载程序或第二加载程序,较佳地根据电子系统的使用情形以选择功耗较低的加载程序方式,使电子系统的功率消耗降低。Therefore, with the embodiment of the present application, the electronic system can selectively execute the first loading program or the second loading program by determining the loading program, preferably according to the usage of the electronic system to select a loading with lower power consumption. The program mode reduces the power consumption of the electronic system.
综上所述,于现有技术中,电子系统仅能进行单一方式的程序代码加载程序,在电子系统休眠时间改变的情况下无法适应性地改变加载程序以节省功耗。相较之下,本申请可自动地根据电子系统的执行加载程序的功率消耗以判断合适的加载程序方式,选择省电的加载程序方式以节省电子系统的功率消耗,而改善现有技术的缺点。In summary, in the prior art, the electronic system can only perform a single program code loading program, and the loading program cannot be adaptively changed to save power when the electronic system sleep time is changed. In contrast, the present application can automatically determine the appropriate loader mode according to the power consumption of the execution load of the electronic system, select a power-saving loader mode to save power consumption of the electronic system, and improve the disadvantages of the prior art. .
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims (16)

  1. 一种判断加载程序的方法,应用于一电子系统,所述电子系统包括第一内存以及第二内存,于所述第一内存或所述第二内存储存程序代码,其特征在于,所述方法包括:A method for judging a loader is applied to an electronic system, the electronic system including a first memory and a second memory, and the program code is stored in the first memory or the second memory, wherein the method include:
    当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作,执行第一加载程序由所述第二内存取得所述程序代码,或执行第二加载程序由所述第一内存搬移所述程序代码至所述第二內存,由所述第二内存取得所述程序代码;When the electronic system receives a trigger event to switch from the sleep mode to the working mode, according to the load instruction operation, executing the first loader to obtain the program code from the second memory, or executing the second load program by the Transmitting the program code to the second memory by a memory, and acquiring the program code by the second memory;
    根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令;以及Calculating a first power consumption and a second power consumption according to the trigger event to generate an updated load instruction;
    当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存;其中,所述第一功耗对应于所述电子系统根据所述第一加载程序执行于所述工作模式以及所述休眠模式的功率消耗,所述第二功耗对应于所述电子系统根据所述第二加载程序执行于所述工作模式以及所述休眠模式的功率消耗。When the electronic system receives the sleep instruction from the working mode to the sleep mode, according to the updated load instruction, providing a power voltage or a ground voltage to turn on or off the first memory of the electronic system And the second memory; wherein the first power consumption corresponds to power consumption performed by the electronic system in the working mode and the sleep mode according to the first loading program, and the second power consumption corresponds to The electronic system performs power consumption in the operating mode and the sleep mode according to the second loading program.
  2. 如权利要求1所述之方法,其特征在于,所述触发事件为一指令、一程序或一信息。The method of claim 1 wherein said triggering event is an instruction, a program or a message.
  3. 如权利要求1所述之方法,其特征在于,当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作,执行第一加载程序由所 述第二内存取得所述程序代码,或执行所述第二加载程序由所述第一内存搬移所述程序代码至所述第二內存,由所述第二内存取得所述程序代码的步骤包括:The method of claim 1 , wherein when the electronic system receives a trigger event from a sleep mode to an active mode, the first loader is executed according to the load instruction operation. The second memory acquires the program code, or executes the second loader to move the program code from the first memory to the second memory, and the step of acquiring the program code by the second memory includes :
    当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作;When the electronic system receives a trigger event from the sleep mode to the working mode, operating according to the load instruction;
    当所述加载指令为第一加载程序时,所述电子系统中的微处理器加载并执行储存于所述第二内存的所述程序代码;以及And when the load instruction is the first loader, the microprocessor in the electronic system loads and executes the program code stored in the second memory;
    当所述加载指令为第二加载程序时,将所述程序代码由所述第一内存搬移至所述第二内存,以使所述电子系统中的所述微处理器加载并执行储存于所述第二内存的所述程序代码。And when the load instruction is a second loader, moving the program code from the first memory to the second memory, so that the microprocessor in the electronic system loads and executes the storage in the Said program code of the second memory.
  4. 如权利要求1所述之方法,其特征在于,根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令的步骤包括:The method of claim 1, wherein the calculating the first power consumption and the second power consumption according to the trigger event to generate an updated load instruction comprises:
    根据所述触发事件,计算所述电子系统的休眠时间以及工作时间;Calculating a sleep time and a working time of the electronic system according to the trigger event;
    根据所述休眠时间,计算第一休眠功耗以及第二休眠功耗,且根据所述工作时间计算第一加载功耗以及第二加载功耗;Calculating a first sleep power consumption and a second sleep power consumption according to the sleep time, and calculating a first load power consumption and a second load power consumption according to the working time;
    加总所述第一休眠功耗以及所述第一加载功耗以取得第一功耗,以及加总所述第二休眠功耗以及所述第二加载功耗以取得第二功耗;以及And summing the first sleep power consumption and the first load power consumption to obtain a first power consumption, and summing the second sleep power consumption and the second load power consumption to obtain a second power consumption;
    比较所述第一功耗以及所述第二功耗,以产生更新后加载指令。Comparing the first power consumption and the second power consumption to generate an updated load instruction.
  5. 如权利要求4所述之方法,其特征在于,比较所述第一功耗以及所述第二功耗,以产生更新后加载指令的步骤包括: The method of claim 4 wherein the step of comparing the first power consumption with the second power consumption to generate an updated load instruction comprises:
    当功耗比较结果为所述第一功耗小于所述第二功耗时,产生的更新后加载指令为所述第一加载程序;以及When the power consumption comparison result is that the first power consumption is less than the second power consumption, the generated update load instruction is the first loader;
    当功耗比较结果为所述第一功耗大于所述第二功耗时,产生的更新后加载指令为所述第二加载程序。When the power consumption comparison result is that the first power consumption is greater than the second power consumption, the generated update load instruction is the second loader.
  6. 如权利要求1所述之方法,其特征在于,当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存的步骤包括:The method of claim 1 , wherein when the electronic system receives a sleep command from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load command, The step of turning on or off the first memory and the second memory of the electronic system includes:
    当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,When the electronic system receives a sleep command from the operating mode to the sleep mode,
    当所述更新后加载指令为所述第一加载程序时,所述第一内存接收接地电压且所述第二内存接收电源电压,以关闭所述第一内存且开启所述第二内存;以及When the updated load instruction is the first loader, the first memory receives a ground voltage and the second memory receives a power voltage to turn off the first memory and turn on the second memory;
    当所述更新后加载指令为所述第二加载程序时,所述第一内存以及所述第二内存接收接地电压,以关闭所述第一内存以及所述第二内存。When the updated load instruction is the second loader, the first memory and the second memory receive a ground voltage to turn off the first memory and the second memory.
  7. 如权利要求1所述之方法,其特征在于,当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据所述更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存的步骤包括:The method of claim 1 , wherein when the electronic system receives a sleep command from the operating mode to the sleep mode, providing a power supply voltage or a ground voltage according to the updated load command, The step of turning on or off the first memory and the second memory of the electronic system includes:
    当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时, When the electronic system receives a sleep command from the operating mode to the sleep mode,
    当所述更新后加载指令为所述第一加载程序时,所述第一内存以及所述第二内存接收电源电压,以开启所述第一内存以及所述第二内存;以及When the updated load instruction is the first loader, the first memory and the second memory receive a power voltage to turn on the first memory and the second memory;
    当所述更新后加载指令为所述第二加载程序时,所述第一内存接收电源电压且所述第二内存接收接地电压,以开启所述第一内存且关闭所述第二内存。When the updated load instruction is the second loader, the first memory receives a power voltage and the second memory receives a ground voltage to turn on the first memory and turn off the second memory.
  8. 一种电子系统,其特征在于,所述电子系统包括:An electronic system, characterized in that the electronic system comprises:
    微处理器,用来接收程序代码以进行操作;a microprocessor for receiving program code for operation;
    第一内存,用来储存所述程序代码,为所述电子系统的外部存储器;a first memory for storing the program code as an external memory of the electronic system;
    第二内存,用来储存所述程序代码,为所述电子系统的内部存储器,直接耦接于所述微处理器;a second memory for storing the program code, directly coupled to the internal memory of the electronic system;
    启动加载器,用来当所述电子系统由休眠模式转换至工作模式时,将所述程序代码由所述第一内存搬移至所述第二内存;a boot loader for moving the program code from the first memory to the second memory when the electronic system transitions from a sleep mode to an active mode;
    加载判断模块包括:The load determination module includes:
    储存单元,用来储存加载指令;a storage unit for storing a load instruction;
    处理单元,当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据所述加载指令执行操作,执行第一加载程序由所述第二内存取得所述程序代码,或执行第二加载程序由所述第一内存搬移所述程序代码至所述第二内存,由所述第二内存取得所述程序代码;以及a processing unit, when the electronic system receives a trigger event to switch from the sleep mode to the working mode, performing an operation according to the load instruction, executing the first loader to obtain the program code from the second memory, or executing the second The loader moves the program code from the first memory to the second memory, and the program code is obtained by the second memory;
    判断单元,用来根据所述触发事件计算第一功耗以及第二功耗,以产生更新后加载指令;以及 a determining unit, configured to calculate a first power consumption and a second power consumption according to the trigger event to generate an updated load instruction;
    电源管理模块,用来当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,根据更新后加载指令,提供电源电压或接地电压,以开启或关闭所述电子系统的所述第一内存以及所述第二内存;a power management module, configured to: when the electronic system receives a sleep command from the working mode to the sleep mode, provide a power voltage or a ground voltage according to the updated load instruction to turn on or off the electronic system Describe the first memory and the second memory;
    其中,所述第一功耗对应于所述电子系统根据所述第一加载程序执行于所述工作模式以及所述休眠模式的功率消耗,所述第二功耗对应于所述电子系统根据所述第二加载程序执行于所述工作模式以及所述休眠模式的功率消耗。The first power consumption corresponds to power consumption performed by the electronic system in the working mode and the sleep mode according to the first loading program, and the second power consumption corresponds to the electronic system according to the The second loader executes the power consumption of the operating mode and the sleep mode.
  9. 如权利要求8所述之电子系统,其特征在于,所述触发事件为一指令、一程序或一信息。The electronic system of claim 8 wherein said triggering event is an instruction, a program or a message.
  10. 如权利要求8所述之电子系统,其特征在于,其中所述处理单元具体用来执行以下步骤:The electronic system according to claim 8, wherein said processing unit is specifically configured to perform the following steps:
    当所述电子系统接收一触发事件由休眠模式转换至工作模式时,根据加载指令操作;When the electronic system receives a trigger event from the sleep mode to the working mode, operating according to the load instruction;
    当所述加载指令为第一加载程序时,指示所述电子系统中的所述微处理器加载并执行储存于所述第二内存的所述程序代码;以及When the load instruction is a first loader, instructing the microprocessor in the electronic system to load and execute the program code stored in the second memory;
    当所述加载指令为第二加载程序时,指示所述电子系统中的所述启动加载器将所述程序代码由所述第一内存搬移至所述第二内存,并指示所述电子系统中的所述微处理器加载并执行储存于所述第二内存的所述程序代码。 And when the load instruction is a second loader, instructing the boot loader in the electronic system to move the program code from the first memory to the second memory, and indicating the electronic system The microprocessor loads and executes the program code stored in the second memory.
  11. 如权利要求8所述之电子系统,其特征在于,其中所述判断单元具体用来执行以下步骤:The electronic system according to claim 8, wherein said determining unit is specifically configured to perform the following steps:
    根据所述触发事件,计算所述电子系统的休眠时间以及工作时间;Calculating a sleep time and a working time of the electronic system according to the trigger event;
    根据所述休眠时间,计算第一休眠功耗以及第二休眠功耗,且根据所述工作时间计算第一加载功耗以及第二加载功耗;Calculating a first sleep power consumption and a second sleep power consumption according to the sleep time, and calculating a first load power consumption and a second load power consumption according to the working time;
    加总所述第一休眠功耗以及所述第一加载功耗以取得第一功耗,以及加总所述第二休眠功耗以及所述第二加载功耗以取得第二功耗;以及And summing the first sleep power consumption and the first load power consumption to obtain a first power consumption, and summing the second sleep power consumption and the second load power consumption to obtain a second power consumption;
    比较所述第一功耗以及所述第二功耗,以产生更新后加载指令。Comparing the first power consumption and the second power consumption to generate an updated load instruction.
  12. 如权利要求11所述之电子系统,其特征在于,其中所述判断单元具体还用来执行以下步骤:The electronic system according to claim 11, wherein said determining unit is further configured to perform the following steps:
    当功耗比较结果为所述第一功耗小于所述第二功耗时,产生的更新后加载指令为所述第一加载程序;以及When the power consumption comparison result is that the first power consumption is less than the second power consumption, the generated update load instruction is the first loader;
    当功耗比较结果为所述第一功耗大于所述第二功耗时,产生的更新后加载指令为所述第二加载程序。When the power consumption comparison result is that the first power consumption is greater than the second power consumption, the generated update load instruction is the second loader.
  13. 如权利要求8所述之电子系统,其特征在于,所述第一内存为非挥发式的闪存,所述第二内存为静态随机存取内存。The electronic system of claim 8 wherein said first memory is a non-volatile flash memory and said second memory is a static random access memory.
  14. 如权利要求13所述之电子系统,其特征在于,所述电源管理模块具体用来执行以下步骤:The electronic system of claim 13, wherein the power management module is specifically configured to perform the following steps:
    当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时, When the electronic system receives a sleep command from the operating mode to the sleep mode,
    当所述更新后加载指令为所述第一加载程序时,所述电源管理模块提供接地电压至所述第一内存,且提供电源电压至所述第二内存,以关闭所述第一内存且开启所述第二内存;以及When the updated load instruction is the first loader, the power management module provides a ground voltage to the first memory, and supplies a power voltage to the second memory to turn off the first memory and Turning on the second memory;
    当所述更新后加载指令为所述第二加载程序时,所述电源管理模块提供接地电压至所述第一内存以及所述第二内存,以关闭所述第一内存以及所述第二内存。When the updated load instruction is the second loader, the power management module provides a ground voltage to the first memory and the second memory to turn off the first memory and the second memory .
  15. 如权利要求8所述之电子系统,其特征在于,所述第一内存以及所述第二内存为静态随机存取内存。The electronic system of claim 8 wherein said first memory and said second memory are static random access memory.
  16. 如权利要求15所述之电子系统,其特征在于,所述电源管理模块具体用来执行以下步骤:The electronic system according to claim 15, wherein the power management module is specifically configured to perform the following steps:
    当所述电子系统接收休眠指令由所述工作模式转换至所述休眠模式时,When the electronic system receives a sleep command from the operating mode to the sleep mode,
    当所述更新后加载指令为所述第一加载程序时,所述电源管理模块提供电源电压至所述第一内存以及所述第二内存,以开启所述第一内存以及所述第二内存;以及When the updated load instruction is the first loader, the power management module provides a power voltage to the first memory and the second memory to turn on the first memory and the second memory ;as well as
    当所述更新后加载指令为所述第二加载程序时,所述电源管理模块提供电源电压至所述第一内存,且所述电源管理模块提供接地电压至所述第二内存,以开启所述第一内存且关闭所述第二内存。 When the updated load instruction is the second loader, the power management module provides a power voltage to the first memory, and the power management module provides a ground voltage to the second memory to open the The first memory is described and the second memory is turned off.
PCT/CN2017/113355 2017-11-28 2017-11-28 Method for determining loading program and electronic system WO2019104479A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/113355 WO2019104479A1 (en) 2017-11-28 2017-11-28 Method for determining loading program and electronic system
CN201780002024.2A CN110121688B (en) 2017-11-28 2017-11-28 Method for judging loader and electronic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/113355 WO2019104479A1 (en) 2017-11-28 2017-11-28 Method for determining loading program and electronic system

Publications (1)

Publication Number Publication Date
WO2019104479A1 true WO2019104479A1 (en) 2019-06-06

Family

ID=66665340

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113355 WO2019104479A1 (en) 2017-11-28 2017-11-28 Method for determining loading program and electronic system

Country Status (2)

Country Link
CN (1) CN110121688B (en)
WO (1) WO2019104479A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113498154A (en) * 2020-04-06 2021-10-12 瑞昱半导体股份有限公司 Method for WiFi module and related system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068330A1 (en) * 2002-10-04 2004-04-08 Ncr Corporation Methods and apparatus for remote programming of field programmable gate arrays
CN101521568A (en) * 2009-03-26 2009-09-02 江苏科技大学 Device for network isolation fast switching by one key and controlling method thereof
CN101714021A (en) * 2008-10-08 2010-05-26 联想(北京)有限公司 Computer of hybrid system
CN101833461A (en) * 2010-03-30 2010-09-15 张国栋 Method for improving work efficiency of computer and novel computer system thereof
CN105867850A (en) * 2016-03-29 2016-08-17 联想(北京)有限公司 Information adjusting method and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504858A (en) * 2002-11-29 2004-06-16 纬创资通股份有限公司 Memory suspending method during power interruption and correlative computer equipment
US8751838B2 (en) * 2010-08-23 2014-06-10 Nokia Corporation Method, apparatus and computer program product for presentation of information in a low power mode
US10707038B2 (en) * 2013-09-06 2020-07-07 Texas Instruments Incorporated System and method for energy monitoring
CN104539672A (en) * 2014-12-19 2015-04-22 南京工业大学 Mobile application program message pushing agency system based on cloud computing
CN106095063A (en) * 2016-06-15 2016-11-09 乐视控股(北京)有限公司 The power consumption management method of mobile terminal and power consumption management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040068330A1 (en) * 2002-10-04 2004-04-08 Ncr Corporation Methods and apparatus for remote programming of field programmable gate arrays
CN101714021A (en) * 2008-10-08 2010-05-26 联想(北京)有限公司 Computer of hybrid system
CN101521568A (en) * 2009-03-26 2009-09-02 江苏科技大学 Device for network isolation fast switching by one key and controlling method thereof
CN101833461A (en) * 2010-03-30 2010-09-15 张国栋 Method for improving work efficiency of computer and novel computer system thereof
CN105867850A (en) * 2016-03-29 2016-08-17 联想(北京)有限公司 Information adjusting method and electronic equipment

Also Published As

Publication number Publication date
CN110121688A (en) 2019-08-13
CN110121688B (en) 2023-02-21

Similar Documents

Publication Publication Date Title
US11635800B2 (en) System on chip for reducing wake-up time, method of operating same, and computer system including same
KR100505638B1 (en) Apparatus and method for saving and restoring of working context
JP4515093B2 (en) CPU power-down method and apparatus therefor
US8028177B2 (en) Method for changing power states of a computer
KR101222082B1 (en) Method for reducing power consumptiom to multi-port memory device of memory link architecture
US6438708B1 (en) Information processing apparatus that can hold internal information
CA3052208C (en) Quick energy efficient reboot from ultra-low power mode for a system on a chip
JP2006107127A (en) Semiconductor integrated circuit device
US20080098245A1 (en) Power management system and method
JP2014522037A (en) Zero power hibernate mode that turns on immediately
JP2002182807A (en) Power controller for processor
JP5321866B2 (en) Computer system
CN114879828A (en) Firmware interface with persistent memory storage
CN102841807B (en) Control method, control device and computer system
US20070180282A1 (en) Power-saving control apparatus and method for a portable computer
US9652259B2 (en) Apparatus and method for managing register information in a processing system
WO2019104479A1 (en) Method for determining loading program and electronic system
US9395805B2 (en) Device sleep partitioning and keys
JP2003150283A (en) Power controller and power control method
TWI768373B (en) Power control method for a memory storage device and a memory storage system
JP2004086556A (en) Microcontroller
KR101236393B1 (en) Electric device and control method thereof
KR100793203B1 (en) Method for updating a data in note-book computer
US20070245126A1 (en) Program counter of microcontroller and control method thereof
KR20160147453A (en) Apparatus and method for reducing domain-transition latency in power gating

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17933813

Country of ref document: EP

Kind code of ref document: A1