| CPC G06F 15/7807 (2013.01) [G06F 1/3287 (2013.01)] | 18 Claims |

|
1. A method for managing a working mode of a system-on- chip, wherein the system-on-chip comprises a master control subsystem, a secondary control subsystem and a plurality of functional subsystems; and the method comprises:
configuring the master control subsystem to control at least one of the plurality of function subsystems to implement a corresponding function in a working mode, and to respond to interrupt signals of at least one of the plurality of function subsystems and the secondary control subsystem in the working mode;
configuring the secondary control subsystem to respond to the interrupt signal of at least one of the plurality of function subsystems in a dormant mode, and the master control subsystem to prohibit responding to the interrupt signal of at least one of the plurality of function subsystems in the dormant mode;
configuring the master control subsystem to be powered off in an ultra-low power consumption mode, and the secondary control subsystem to respond to the interrupt signal of at least one of the plurality of function subsystems in the ultra-low power consumption mode;
switching from the working mode to the dormant mode in response to the master control subsystem not receiving data sent by any functional subsystem within a period of time;
switching from the dormant mode to the working mode in response to the secondary control subsystem detecting the interrupt signal of at least one of the plurality of function subsystems; switching from the dormant mode to the ultra-low power consumption mode in response to the secondary control subsystem not detecting the interrupt signal of at least one of the plurality of function subsystems and a preset condition being met; and
controlling the master control subsystem to be powered on and switching from the ultra-low power consumption mode to the working mode in response to the secondary control subsystem detecting the interrupt signal of at least one of the plurality of function subsystems or the preset condition being met.
|