CN103135722A - Electronic device and state control method for system in electronic device - Google Patents

Electronic device and state control method for system in electronic device Download PDF

Info

Publication number
CN103135722A
CN103135722A CN2011103765872A CN201110376587A CN103135722A CN 103135722 A CN103135722 A CN 103135722A CN 2011103765872 A CN2011103765872 A CN 2011103765872A CN 201110376587 A CN201110376587 A CN 201110376587A CN 103135722 A CN103135722 A CN 103135722A
Authority
CN
China
Prior art keywords
subsystem
state
processor
interface
data transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103765872A
Other languages
Chinese (zh)
Other versions
CN103135722B (en
Inventor
陈庚
陈志军
叶琦娅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201110376587.2A priority Critical patent/CN103135722B/en
Publication of CN103135722A publication Critical patent/CN103135722A/en
Application granted granted Critical
Publication of CN103135722B publication Critical patent/CN103135722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an electronic device and a state control method for a system in the electronic device. The state control method for the system in the electronic device includes that a first channel is detected whether to have data transmission, and a detection result is generated; when the detection result shows that the first channel has the data transmission, a second processor of a second subsystem is controlled to be in a first state; when the detection result shows that the first channel does not have the data transmission, the second processor of the second subsystem is controlled to be in a second state; and when the second processor stays in the second state, the power consumption of the second subsystem is smaller than the power consumption of the second subsystem when the second processor stays in the first state.

Description

A kind of electronic equipment and the method that system state in described electronic equipment is controlled
Technical field
The present invention relates to computer realm, a kind of method that relates in particular to electronic equipment and system state in described electronic equipment is controlled.
Background technology
Along with the development of computer technology, the communication technology, the kind of electronic equipment is more and more, upgrades more and more faster, and can be more and more diversified for the electronic equipment mobile terminal of user's selection, as mobile phone, desktop computer, notebook computer etc.
Existing electronic equipment mobile terminal, as: notebook computer has two kinds of frameworks of X86 and ARM:
Described ARM framework is 32 bit reduced instruction set computer (RISC) central processing unit (processor) frameworks, and it uses widely in many embedded systems (embedded) and designs.Due to energy-conservation, arm processor is highly suitable for field of mobile communication, meets the characteristic that its main design goal is low power consumption.Described X86-based is the microprocessor of intel exploitation, and X86 is some computerese instruction set that particular microprocessor is carried out, and possesses compatible characteristics, and it has defined the basic service regeulations of chip.
For the application of described X86 and described ARM framework, prior art mainly contains dual mode:
One, existing ARM platform is connected by external USB with the X86 platform, when needing transmission just with plugging, without the time remove and get final product;
When two, high pass ARM platform connects by data line with the X86 platform at present, usually acquiescence X86 platform charges to the ARM platform with the 5V electric current that data line connects, simultaneously may carry out some data communication again, so the ARM platform of this moment can not enter the battery saving mode of idle, also affect the pattern that X86 CPU over there can not enter into degree of depth idle simultaneously.
For these present two kinds of frameworks, separately relative merits are arranged, the advantage of described ARM and described X86 is respectively: function admirable and compatible good, its shortcoming is not power savings.
Summary of the invention
The method that the invention provides kind of electronic equipment and system state in described electronic equipment is controlled is used for solving prior art and has technical matterss of not power saving of X86 and ARM framework.
On the one hand, the present invention provides following technical scheme by embodiment one in the application:
A kind of power control method is applied to include in the electronic equipment of the first subsystem and the second subsystem, and wherein, described the first subsystem comprises the first software systems, based on the first module of described the first software systems and the work of first data transmission agreement; Described the second subsystem comprises the second software systems, the second module based on described the second software systems and the work of described first data transmission agreement, described the first module comprises the first power interface, and described the second module comprises the second source interface, and described method comprises:
Detect described the first module and whether described the second intermodule is in idle condition, the state when described idle condition refers to that described the first module and described the second intermodule do not have data transmission;
When described the first module and described the second intermodule are in idle condition, generate the dump instruction relevant to described idle condition;
Based on described dump instruction, cut off to the power supply of described the first power interface and/or to the power supply of described second source interface.
Alternatively, described the first subsystem comprises the first state and the second state, the power consumption of described the first state is greater than the power consumption of described the second state, described based on described dump instruction, after the power supply and/or the power supply to described second source interface of cut-out to described the first power interface, also comprise:
Adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state.
Alternatively, described the second subsystem comprises the third state and the 4th state, the power consumption of the described third state is greater than the power consumption of described the 4th state, described based on described dump instruction, after the power supply and/or the power supply to described second source interface of cut-out to described the first power interface, also comprise:
Adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state.
Alternatively, described the first subsystem also comprises: be independent of described the first software systems and based on the first interface of the second Data Transport Protocol work; Described the second subsystem also comprises: be independent of described the second software systems and based on the second interface of described the second Data Transport Protocol work.
Alternatively, based on described dump instruction, after cutting off the power supply to described second source interface, described method also comprises described:
By described first interface and described the second interface, receive the power supply opening instruction of being sent by described the first subsystem;
Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
Alternatively, based on described dump instruction, after cutting off the power supply to described the first power interface, described method also comprises described:
By described first interface and described the second interface, receive the power supply opening instruction of being sent by described the second subsystem;
Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
Alternatively, based on described dump instruction, after cutting off the power supply and the power supply to described second source interface to described the first power interface, described method also comprises described:
The first subsystem receives the first power interface OPEN of being sent by described the second subsystem by described first interface and described the second interface;
The second subsystem receives the second source interface OPEN of being sent by described the first subsystem by described first interface and described the second interface;
Based on described the first power interface OPEN and described second source interface OPEN, open described the first power interface and described second source interface, so that described the first power supply and described second source powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
Alternatively, whether described the first module of described detection and described the second intermodule are in idle condition and are specially: every described the first module of time cycle detection and described the second intermodule, whether data transmission is arranged.
Alternatively, adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state, be specially:
State based on the first processor corresponding with described the first subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described first processor, control described first processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described first processor is when described processor the first state, and the state of described the first subsystem is described the first state; Described first processor is when described processor the second state, and the state of described the first subsystem is described the second state.
Alternatively, adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state, be specially:
State based on second processor corresponding with described the second subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described the second processor, control described the second processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described the second processor is when described processor the first state, and the state of described the second subsystem is the described third state; Described the second processor is when described processor the second state, and the state of described the first subsystem is described the 4th state.
In addition, the present invention also provides following technical scheme by the embodiment two in the application:
a kind of method of control system state, be applied to include in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem comprises the first hardware system and the first software systems, described the second subsystem comprises the second hardware system and the second software systems, described the first hardware system has first processor and the first communication interface, described the second hardware system has the second processor and second communication interface, described the first communication interface and described second communication interface are connected to form first passage, described the first software systems and described the second software systems realize realizing data transmission by described first passage based on the first communication protocol, described method comprises:
Monitor described first passage and whether have data transmission, produce a monitoring result;
When described monitoring result represented that described first passage has data transmission, described the second processor of controlling described the second subsystem was in the first state;
When described monitoring result represented that described first passage does not have data transmission, described the second processor of controlling described the second subsystem was in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
Alternatively, whether the described first passage of described monitoring has data transmission, produces a monitoring result, is specially:
Every the described first passage of time cycle detection, whether data transmission is arranged, produce a monitoring result.
Alternatively, whether have data transmission at the described first passage of described monitoring, after producing a monitoring result, described method also comprises:
When described monitoring result represented that described first passage has data transmission, the described first processor of controlling described the first subsystem was in the third state;
When described monitoring result represented that described first passage does not have data transmission, the described first processor of controlling described the first subsystem was in the 4th state; The power consumption of described the first subsystem when when wherein, described first processor is in the described third state, the power consumption of described the first subsystem is in described the 4th state less than described first processor.
Alternatively, described second communication interface comprises the second source interface, and is described when described monitoring result represents that described first passage does not have data transmission, and described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described second source interface;
Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
Alternatively, described the first communication interface comprises the first power interface, and is described when described monitoring result represents that described first passage does not have data transmission, and described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described the first power interface;
Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
Alternatively, described second communication interface comprises the second source interface, and is described when described monitoring result represents that described first passage does not have data transmission, and the described first processor of controlling described the first subsystem is in the 4th state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described second source interface;
Adjust strategy based on the state that described first processor is corresponding, adjust described first processor and be in the 4th state.
Alternatively, described the first communication interface comprises the first power interface, and is described when described monitoring result represents that described first passage does not have data transmission, and the described first processor of controlling described the first subsystem is in the 4th state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described the first power interface;
Adjust strategy based on the state that described first processor is corresponding, adjust described first processor and be in the 4th state.
In addition, the present invention also provides following technical scheme by the embodiment three in the application:
A kind of electronic equipment comprises:
The first subsystem comprises: the first software systems, and based on the first module of described the first software systems and the work of first data transmission agreement, described the first module includes the first power interface;
The second subsystem comprises: the second software systems, and based on the second module of described the second software systems and the work of described first data transmission agreement, described the second module includes the second source interface; When described the first module is connected with described the second module, can carry out data transmission between described the first subsystem and described the second subsystem;
Wherein, when described the first module and described the second intermodule being detected by described the first subsystem and/or described the second subsystem and be in idle condition, generate the dump instruction relevant to described idle condition; Based on described dump instruction, cut off to the power supply of described the first power interface and/or to the power supply of described second source interface by described the first subsystem and/or the second subsystem.
Alternatively, described the first subsystem also comprises: the first state and the second state, and the power consumption of described the first state is greater than the power consumption of described the second state; Wherein,
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the first subsystem also is used for adjusting strategy based on the state corresponding with described the first subsystem, satisfying when entering the condition of described the second state from described the first state, control described the first subsystem and enter described the second state from described the first state.
Alternatively, described the second subsystem also comprises: the third state and the 4th state, and the power consumption of the described third state is greater than the power consumption of described the 4th state;
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the second subsystem also is used for adjusting strategy based on the state corresponding with described the second subsystem, satisfying when entering the condition of described the 4th state from the described third state, control described the second subsystem and enter described the 4th state from the described third state.
Alternatively, described the first subsystem also comprises:
First interface is for being independent of described the first software systems and based on the second Data Transport Protocol work;
Described the second subsystem also comprises:
The second interface is for being independent of described the second software systems and based on described the second Data Transport Protocol work;
Wherein, by described first interface and described the second interface, described the second subsystem also is used for:
Receive the power supply opening instruction that described the first subsystem sends; Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module;
By described first interface and described the second interface, described the first subsystem also is used for:
The power supply opening instruction that reception is sent by described the second subsystem; Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
At last, the present invention also provides following technical scheme by the embodiment four in the application:
The first subsystem comprises: the first software systems and the first hardware system, and described the first hardware system comprises: first processor and the first communication interface;
The second subsystem comprises: the second software systems and the second hardware system, and described the second hardware system comprises the second processor and second communication interface, wherein, described the first communication interface and described second communication interface are connected to form first passage; Described the first software systems and described the second software systems realize that based on the first communication protocol described the first software systems and described the second software systems realize data transmission based on described the first communication protocol by described first passage by described first passage;
Wherein, when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, described the second processor of controlling described the second subsystem is in the first state; When monitoring described first passage and do not have data transmission, described the second processor of controlling described the second subsystem is in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
Alternatively, described electronic equipment also is used for, and when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, the described first processor of controlling described the first subsystem is in the third state; When monitoring described first passage and do not have data transmission, the described first processor of controlling described the first subsystem is in the 4th state; The power consumption of described the second subsystem when when wherein, described first processor is in described the 4th state, the power consumption of described the first subsystem is in the described third state less than described first processor.
Alternatively, described second communication interface comprises the second source interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described second source interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
Alternatively, described the first communication interface comprises the first power interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described the first power interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
One or more technical schemes in technique scheme have following technique effect or advantage:
By in the process of data transmission, adopted and added a hardware circuit to come the technological means of control module power supply in the dual system, make in controlling the process of power supply, reached and reduce system power dissipation, can guarantee again the technique effect of two system's communications in case of necessity simultaneously.
Description of drawings
Fig. 1 is the method flow diagram that in the embodiment of the present application one, power supply is controlled;
Fig. 2 is the method flow diagram of control system state in the embodiment of the present application two;
Fig. 3 is the system construction drawing of electronic equipment in the embodiment of the present application three, four;
Fig. 4 is the comparison table of time cycle number and predetermined threshold value in the embodiment of the present application.
Embodiment
In order to make the application the technical staff in the technical field more clearly understand the present invention, below in conjunction with accompanying drawing, by specific embodiment, technical solution of the present invention is described in detail.
Please refer to Fig. 1, Fig. 4, power control method in the embodiment of the present application one, be applied to include in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem comprises the first software systems, based on the first module of described the first software systems and the work of first data transmission agreement; Described the second subsystem comprises the second software systems, the second module based on described the second software systems and the work of described first data transmission agreement, described the first module comprises the first power interface, and described the second module comprises the second source interface, comprises the steps:
Step 101 detects described the first module and whether described the second intermodule is in idle condition, the state when described idle condition refers to that described the first module and described the second intermodule do not have data transmission.
In specific implementation process, described the first subsystem and/or described the second subsystem be every cycle time, as: 1 minute, detect described the first module and whether described the second intermodule has data transmission.
Step 102 when described the first module and described the second intermodule are in idle condition, generates the dump instruction relevant to described idle condition.
In specific implementation process, when described the first subsystem and/or described the second subsystem detect the data of described the first module and described the second intermodule, following situation is arranged:
The first detects described the first module and described the second intermodule has data;
When described the first module and described the second intermodule being detected data arranged, comprise: described the first module detected and described the second intermodule has mass data, or the situation such as low volume data, in said case, the CPU of described the first subsystem and/or described the second subsystem meeting deal with data, at this moment, it is the C0 state that the residing state of described CPU is set, simultaneously, described the first subsystem and/or described the second subsystem are in running order, and it is the S0 state that described duty is set;
The second detects described the first module and described the second intermodule does not have data;
In such cases, do not have data to process in the CPU of described the first subsystem and/or described the second subsystem, namely, described CPU is in idle condition, it is the C3 state that described idle condition is set, and described the first subsystem and/or described the second subsystem still can be in open state because process detects, and described open state is also duty S0 state.
When the residing time cycle number of described C3 state equals predetermined threshold value, as: 3 o'clock, described the first subsystem and/or described the second subsystem can generate the power supply instruction relevant to described C3 state, at this moment, described the first subsystem and/or the second subsystem will cut off the S0 state and be transformed into the S3 state, described S3 state is dormant state, when described the first subsystem and/or the second subsystem are in described S3 state, can produce wake-lock in the driver of RNDIS, described RNDIS is described first data transmission agreement.
When the residing time cycle number of described C3 state, as: 4,5,6 etc., greater than described predetermined threshold value, as: 3 o'clock, during the driver of RNDIS drives, wake-lock can draw high always, described the first subsystem and/or described the second subsystem can generate the power supply instruction relevant to described C3 state, at this moment, described the first subsystem and/or the second subsystem will cut off described S3 state, wake-lock will discharge like this, described S3 state is transformed into the states such as S4 or S5, and the states such as described S4 or S5 are deep sleep state.
Step 103 based on described dump instruction, is cut off to the power supply of described the first power interface and/or to the power supply of described second source interface.
In specific implementation process, described the first subsystem includes the first power supply, described the second subsystem includes second source, described the first power supply is described the first subsystem power supply, described the second subsystem is described the second subsystem power supply, cut off described S0 state and be transformed into described S3 state based on described the first subsystem and/or described the second subsystem, described the first subsystem and/or described the second subsystem cut off described the first power interface and/or the described second source interface that is connected with described the first power supply and/or described second source.
described the first subsystem also comprises the first state and the second state, the power consumption of described the first state is greater than the power consumption of described the second state, when described the first module and described the second intermodule do not have data transmission, cut-out is to the power supply of described the first power interface and/or to the power supply of described second source interface, after described cut-out is to the power supply of described the first power interface and/or the power supply to described second source interface, adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state.
wherein, described the first state is duty, and described the second state is idle condition, in specific implementation process, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on the first processor corresponding with described the first subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described first processor, control described first processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described first processor is when described processor the first state, the state of described the first subsystem is described the first state, described first processor is when described processor the second state, and the state of described the first subsystem is described the second state.
described the second subsystem comprises the third state and the 4th state, the power consumption of the described third state is greater than the power consumption of described the 4th state, when described the first module and described the second intermodule do not have data transmission, cut-out is to the power supply of described the first power interface and/or to the power supply of described second source interface, after the power supply and/or the power supply to described second source interface cut off described the first power interface, adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state.
wherein, the described third state is duty, and described the 4th state is idle condition, in specific implementation process, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on second processor corresponding with described the second subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described the second processor, control described the second processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described the second processor is when described processor the first state, the state of described the second subsystem is the described third state, described the second processor is when described processor the second state, and the state of described the first subsystem is described the 4th state.
In addition, described the first subsystem also comprises: be independent of described the first software systems and based on the first interface of the second Data Transport Protocol work; Described the second subsystem also comprises: be independent of described the second software systems and based on the second interface of described the second Data Transport Protocol work.
In specific implementation process, based on described dump instruction, after cutting off the power supply to described second source interface, by described first interface and described the second interface, receive the power supply opening instruction of being sent by described the first subsystem described;
Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the first subsystem need to carry out data transmission by described the first module and described the second module, described the first subsystem sends the power supply opening instruction to described the second subsystem by described the second interface, after described the second subsystem receives described power supply opening instruction, control mouth by IO and open described second source interface; Or
When described the second subsystem need to carry out data transmission as USB storage and described the first subsystem, select turn on usb storage in described the second subsystem, described the second subsystem is opened described second source interface.
In specific implementation process, based on described dump instruction, after cutting off the power supply to described the first power interface, can also pass through described first interface and described the second interface described, receive the power supply opening instruction of being sent by described the second subsystem;
Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the second subsystem need to carry out data transmission by described the first module and described the second module, described the second subsystem sends the power supply opening instruction to described the first subsystem by described the second interface, after described the first subsystem receives described power supply opening instruction, open described the first power interface.
In specific implementation process,,, also comprise after cutting off the power supply and the power supply to described second source interface to described the first power interface based on described dump instruction described:
The first subsystem receives the first power interface OPEN of being sent by described the second subsystem by described first interface and described the second interface;
The second subsystem receives the second source interface OPEN of being sent by described the first subsystem by described first interface and described the second interface;
Based on described the first power interface OPEN and described second source interface OPEN, open described the first power interface and described second source interface, so that described the first power interface and described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the second subsystem need to carry out data transmission by described the first module and described the second module, described the second subsystem sends the power supply opening instruction to described the first subsystem by described the second interface, after described the first subsystem receives described power supply opening instruction, open described the first power interface;
When described the first subsystem need to carry out data transmission by described the first module and described the second module, described the first subsystem sends the power supply opening instruction to described the second subsystem by described the second interface, after described the second subsystem receives described power supply opening instruction, control mouth by IO and open the second source interface; Or
When described the second subsystem need to carry out data transmission as USB storage and described the first subsystem, select turn on usb storage in described the second subsystem, described the second subsystem is opened described second source interface.
please refer to Fig. 2, Fig. 4, the method of the control system state in the embodiment of the present application two, be applied to include in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem comprises the first hardware system and the first software systems, described the second subsystem comprises the second hardware system and the second software systems, described the first hardware system has first processor and the first communication interface, described the second hardware system has the second processor and second communication interface, described the first communication interface and described second communication interface are connected to form first passage, described the first software systems and described the second software systems realize realizing data transmission by described first passage based on the first communication protocol, comprise the steps:
Step 201 is monitored described first passage and whether is had data transmission, produces a monitoring result.
In specific implementation process, described the first subsystem and/or described the second subsystem be every cycle time, as: whether 1 minute, detecting described first passage has data transmission, produces a monitoring result.
Step 202, when described monitoring result represented that described first passage has data transmission, described the second processor of controlling described the second subsystem was in the first state.
in specific implementation process, when described monitoring result represents that described first passage has data transmission, be that described the second subsystem detects described the first module and described the second intermodule has data, comprise: described the first module detected and described the second intermodule has mass data, or the situation such as low volume data, in said case, the CPU of described the second subsystem, it is described the second processor meeting deal with data, at this moment, it is the C0 state that the residing state of described CPU is set, simultaneously, described the second subsystem is in running order, it is the S0 state that described duty is set, at this moment, described the second processor of controlling described the second subsystem is in the first state.
Step 203, when described monitoring result represented that described first passage does not have data transmission, described the second processor of controlling described the second subsystem was in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
In specific implementation process, when described monitoring result represents that described first passage does not have data transmission, be that described the second subsystem does not detect described the first module and described the second intermodule has data, namely, described CPU is in idle condition, it is the C3 state that described idle condition is set, and described the first subsystem and/or described the second subsystem are owing to still can being in open state through detecting, described open state is also duty S0 state, at this moment, described second processor of described the second subsystem of control is in the second state.The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
In specific implementation process, described second communication interface comprises: the second source interface, described when described monitoring result represents that described first passage does not have data transmission, described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction; Based on described dump instruction, cut off the power supply to described second source interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
In specific implementation process, described the first communication interface comprises the first power interface, and is described when described monitoring result represents that described first passage does not have data transmission, and described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction; Based on described dump instruction, cut off the power supply to described the first power interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
In specific implementation process, described second communication interface comprises the second source interface, and is described when described monitoring result represents that described first passage does not have data transmission, and the described first processor of controlling described the first subsystem is in the 4th state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction; Based on described dump instruction, cut off the power supply to described second source interface; Adjust strategy based on the state that described first processor is corresponding, adjust described first processor and be in the 4th state.
Please refer to Fig. 3, Fig. 4, the electronic equipment in the embodiment of the present application three comprises:
The first subsystem 301 comprises: the first software systems 3011, and based on the first module 3012-1 of described the first software systems 3011 and the work of first data transmission agreement, described the first module includes the first power interface 3012-11;
The second subsystem 302 comprises: the second software systems 3021, and based on the second module 3022-1 of described the second software systems and the work of described first data transmission agreement, described the second module includes second source interface 3022-11; When described the first module is connected with described the second module, can carry out data transmission between described the first subsystem and described the second subsystem;
Wherein, when described the first module and described the second intermodule being detected by described the first subsystem and/or described the second subsystem and be in idle condition, generate the dump instruction relevant to described idle condition; Based on described dump instruction, cut off to the power supply of described the first power interface and/or to the power supply of described second source interface by described the first subsystem and/or the second subsystem.
Specifically, when described the first subsystem and/or described the second subsystem detect the data of described the first module and described the second intermodule, following situation is arranged:
The first detects described the first module and described the second intermodule has data;
When described the first module and described the second intermodule being detected data arranged, comprise: described the first module detected and described the second intermodule has mass data, or the situation such as low volume data, in said case, the CPU of described the first subsystem and/or described the second subsystem meeting deal with data, at this moment, it is the C0 state that the residing state of described CPU is set, simultaneously, described the first subsystem and/or described the second subsystem are in running order, and it is the S0 state that described duty is set;
The second detects described the first module and described the second intermodule does not have data;
In such cases, do not have data to process in the CPU of described the first subsystem and/or described the second subsystem, namely, described CPU is in idle condition, it is the C3 state that described idle condition is set, and described the first subsystem and/or described the second subsystem still can be in open state because process detects, and described open state is also duty S0 state.
When the residing time cycle number of described C3 state equals predetermined threshold value, as: 3 o'clock, described the first subsystem and/or described the second subsystem can generate the power supply instruction relevant to described C3 state, at this moment, described the first subsystem and/or the second subsystem will cut off the S0 state and be transformed into the S3 state, described S3 state is dormant state, when described the first subsystem and/or the second subsystem are in described S3 state, can produce wake-lock in the driver of RNDIS, described RNDIS is described first data transmission agreement.
When the residing time cycle number of described C3 state, as: 4,5,6 etc., greater than described predetermined threshold value, as: 3 o'clock, during the driver of RNDIS drives, wake-lock can draw high always, described the first subsystem and/or described the second subsystem can generate the power supply instruction relevant to described C3 state, at this moment, described the first subsystem and/or the second subsystem will cut off described S3 state, wake-lock will discharge like this, described S3 state is transformed into the states such as S4 or S5, and the states such as described S4 or S5 are deep sleep state.
Specifically, described the first subsystem includes the first power supply, described the second subsystem includes second source, described the first power supply is described the first subsystem power supply, described the second subsystem is described the second subsystem power supply, cut off described S0 state and be transformed into described S3 state based on described the first subsystem and/or described the second subsystem, described the first subsystem and/or described the second subsystem cut off described the first power interface and/or the described second source interface that is connected with described the first power supply and/or described second source.
described the first subsystem comprises the first state and the second state, the power consumption of described the first state is greater than the power consumption of described the second state, when described the first module and described the second intermodule do not have data transmission, cut-out is to the power supply of described the first power interface and/or to the power supply of described second source interface, after described cut-out is to the power supply of described the first power interface and/or the power supply to described second source interface, adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state.
wherein, described the first state is duty, and described the second state is idle condition, in specific implementation process, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on the first processor corresponding with described the first subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described first processor, control described first processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described first processor is when described processor the first state, the state of described the first subsystem is described the first state, described first processor is when described processor the second state, and the state of described the first subsystem is described the second state.
described the second subsystem comprises the third state and the 4th state, the power consumption of the described third state is greater than the power consumption of described the 4th state, when described the first module and described the second intermodule do not have data transmission, cut-out is to the power supply of described the first power interface and/or to the power supply of described second source interface, after the power supply and/or the power supply to described second source interface cut off described the first power interface, adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state.
wherein, the described third state is duty, and described the 4th state is idle condition, in specific implementation process, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on second processor corresponding with described the second subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described the second processor, control described the second processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described the second processor is when described processor the first state, the state of described the second subsystem is the described third state, described the second processor is when described processor the second state, and the state of described the first subsystem is described the 4th state.
In addition, described the first subsystem 301 also comprises: be independent of described the first software systems and based on the first interface 3013 of the second Data Transport Protocol work; Described the second subsystem 302 also comprises: be independent of described the second software systems and based on the second interface 3023 of described the second Data Transport Protocol work.
In specific implementation process, based on described dump instruction, after cutting off the power supply to described second source interface, by described first interface and described the second interface, receive the power supply opening instruction of being sent by described the first subsystem described;
Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the first subsystem need to carry out data transmission by described the first module and described the second module, described the first subsystem sends the power supply opening instruction to described the second subsystem by described the second interface, after described the second subsystem receives described power supply opening instruction, control mouth by IO and open the second source interface; Or
When described the second subsystem need to carry out data transmission as USB storage and described the first subsystem, select turn on usb storage in described the second subsystem, described the second subsystem is opened described second source interface.
In specific implementation process, based on described dump instruction, after cutting off the power supply to described the first power interface, can also pass through described first interface and described the second interface described, receive the power supply opening instruction of being sent by described the second subsystem;
Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the second subsystem need to carry out data transmission by described the first module and described the second module, described the second subsystem sends the power supply opening instruction to described the first subsystem by described the second interface, after described the first subsystem receives described power supply opening instruction, open described the first power interface.
In specific implementation process,,, also comprise after cutting off the power supply and the power supply to described second source interface to described the first power interface based on described dump instruction described:
The first subsystem receives the first power interface OPEN of being sent by described the second subsystem by described first interface and described the second interface;
The second subsystem receives the second source interface OPEN of being sent by described the first subsystem by described first interface and described the second interface;
Based on described the first power interface OPEN and described second source interface OPEN, open described the first power interface and described second source interface, so that described the first power interface and described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.As:
When described the second subsystem need to carry out data transmission by described the first module and described the second module, described the second subsystem sends the power supply opening instruction to described the first subsystem by described the second interface, after described the first subsystem receives described power supply opening instruction, open described the first power interface;
When described the first subsystem need to carry out data transmission by described the first module and described the second module, described the first subsystem sends the power supply opening instruction to described the second subsystem by described the second interface, after described the second subsystem receives described power supply opening instruction, control mouth by IO and open the second source interface; Or
When described the second subsystem need to carry out data transmission as USB storage and described the first subsystem, select turn on usb storage in described the second subsystem, described the second subsystem is opened described second source interface.
Described the first subsystem also comprises: the first state and the second state, and the power consumption of described the first state is greater than the power consumption of described the second state; Wherein,
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the first subsystem also is used for adjusting strategy based on the state corresponding with described the first subsystem, satisfying when entering the condition of described the second state from described the first state, control described the first subsystem and enter described the second state from described the first state.
specifically, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on the first processor corresponding with described the first subsystem is adjusted strategy, , satisfy when entering processor the second state from processor the first state at described first processor, control described first processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described first processor is when described processor the first state, the state of described the first subsystem is described the first state, described first processor is when described processor the second state, and the state of described the first subsystem is described the second state.
Described the second subsystem comprises: the third state and the 4th state, and the power consumption of the described third state is greater than the power consumption of described the 4th state;
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the second subsystem also is used for adjusting strategy based on the state corresponding with described the second subsystem, satisfying when entering the condition of described the 4th state from the described third state, control described the second subsystem and enter described the 4th state from the described third state.
specifically, after the power supply and/or the power supply to described second source interface cut off described the first power interface, state based on second processor corresponding with described the second subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described the second processor, control described the second processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described the second processor is when described processor the first state, the state of described the second subsystem is the described third state, described the second processor is when described processor the second state, and the state of described the first subsystem is described the 4th state.
Described the first subsystem 301 also comprises:
First interface 3013 is for being independent of described the first software systems and based on the second Data Transport Protocol work;
Described the second subsystem 302 also comprises:
The second interface 3023 is for being independent of described the second software systems and based on described the second Data Transport Protocol work;
Wherein, by described first interface and described the second interface, described the second subsystem also is used for:
Receive the power supply opening instruction that described the first subsystem sends; Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module;
By described first interface and described the second interface, described the first subsystem also is used for:
The power supply opening instruction that reception is sent by described the second subsystem; Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
Specifically, when described the second subsystem need to carry out data transmission by described the first module and described the second module, described the second subsystem sends the power supply opening instruction to described the first subsystem by described the second interface, after described the first subsystem receives described power supply opening instruction, open described the first power interface;
When described the first subsystem need to carry out data transmission by described the first module and described the second module, described the first subsystem sends the power supply opening instruction to described the second subsystem by described the second interface, after described the second subsystem receives described power supply opening instruction, control mouth by IO and open the second source interface; Or
When described the second subsystem need to carry out data transmission as USB storage and described the first subsystem, select turn on usb storage in described the second subsystem, described the second subsystem is opened described second source interface.
Please refer to Fig. 3, the electronic equipment in the embodiment of the present application four comprises:
The first subsystem 301 comprises: the first software systems 3011 and the first hardware system 3012, and described the first hardware system 3012 comprises: first processor 3012-2 and the first communication interface 3012-12;
The second subsystem 302, comprise: the second software systems 3021 and the second hardware system 3022, described the second hardware system 3022 comprises the second processor 3022-2 and second communication interface 3022-12, wherein, described the first communication interface 3012-12 and described second communication interface 3022-12 are connected to form first passage; Described the first software systems and described the second software systems realize that based on the first communication protocol described the first software systems and described the second software systems realize data transmission based on described the first communication protocol by described first passage by described first passage;
Wherein, when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, described the second processor of controlling described the second subsystem is in the first state; When monitoring described first passage and do not have data transmission, described the second processor of controlling described the second subsystem is in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
Described electronic equipment also is used for, and when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, the described first processor of controlling described the first subsystem is in the third state; When monitoring described first passage and do not have data transmission, the described first processor of controlling described the first subsystem is in the 4th state; The power consumption of described the second subsystem when when wherein, described first processor is in described the 4th state, the power consumption of described the first subsystem is in the described third state less than described first processor.
Described second communication interface comprises the second source interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described second source interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
Described the first communication interface comprises the first power interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described the first power interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
One or more technical schemes in the embodiment of the present application have following technique effect at least:
One, by in the process of data transmission, adopted and added a hardware circuit to come the technological means of control module power supply in the dual system, make in controlling the process of power supply, reached and reduce system power dissipation, can guarantee again the technique effect of two system's communications in case of necessity simultaneously;
Two, by in the process of data transmission, the technological means that has adopted the periodicity when threshold value being set and itself and system being in idle condition to carry out, make in the process of automatic switchover system status, reached accurately, reduce simultaneously the technique effect of system power dissipation.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (25)

1. a power control method, be applied to include in the electronic equipment of the first subsystem and the second subsystem, and wherein, described the first subsystem comprises the first software systems, based on the first module of described the first software systems and the work of first data transmission agreement; Described the second subsystem comprises the second software systems, based on the second module of described the second software systems and the work of described first data transmission agreement, described the first module comprises the first power interface, and described the second module comprises the second source interface, it is characterized in that, described method comprises:
Detect described the first module and whether described the second intermodule is in idle condition, the state when described idle condition refers to that described the first module and described the second intermodule do not have data transmission;
When described the first module and described the second intermodule are in idle condition, generate the dump instruction relevant to described idle condition;
Based on described dump instruction, cut off to the power supply of described the first power interface and/or to the power supply of described second source interface.
2. the method for claim 1, it is characterized in that, described the first subsystem comprises the first state and the second state, the power consumption of described the first state is greater than the power consumption of described the second state, described based on described dump instruction, after the power supply and/or the power supply to described second source interface of cut-out to described the first power interface, also comprise:
Adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state.
3. the method for claim 1, it is characterized in that, described the second subsystem comprises the third state and the 4th state, the power consumption of the described third state is greater than the power consumption of described the 4th state, described based on described dump instruction, after the power supply and/or the power supply to described second source interface of cut-out to described the first power interface, also comprise:
Adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state.
4. as claim 1,2 or 3 described methods, it is characterized in that, described the first subsystem also comprises: be independent of described the first software systems and based on the first interface of the second Data Transport Protocol work; Described the second subsystem also comprises: be independent of described the second software systems and based on the second interface of described the second Data Transport Protocol work.
5. method as claimed in claim 4, is characterized in that, based on described dump instruction, after cutting off the power supply to described second source interface, described method also comprises described:
By described first interface and described the second interface, receive the power supply opening instruction of being sent by described the first subsystem;
Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
6. method as claimed in claim 4, is characterized in that, based on described dump instruction, after cutting off the power supply to described the first power interface, described method also comprises described:
By described first interface and described the second interface, receive the power supply opening instruction of being sent by described the second subsystem;
Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
7. method as claimed in claim 4, is characterized in that,
Based on described dump instruction, after cutting off the power supply and the power supply to described second source interface to described the first power interface, described method also comprises described:
The first subsystem receives the first power interface OPEN of being sent by described the second subsystem by described first interface and described the second interface;
The second subsystem receives the second source interface OPEN of being sent by described the first subsystem by described first interface and described the second interface;
Based on described the first power supply opening instruction and described second source OPEN, open described the first power interface and described second source interface, so that described the first power supply and described second source powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
8. method as claimed in claim 4, is characterized in that, whether described the first module of described detection and described the second intermodule are in idle condition is specially: every described the first module of time cycle detection and described the second intermodule, whether data transmission is arranged.
9. method as claimed in claim 4, it is characterized in that, adjust strategy based on the state corresponding with described the first subsystem, satisfy when entering the condition of described the second state from described the first state at described the first subsystem, control described the first subsystem and enter described the second state from described the first state, be specially:
State based on the first processor corresponding with described the first subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described first processor, control described first processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described first processor is when described processor the first state, and the state of described the first subsystem is described the first state; Described first processor is when described processor the second state, and the state of described the first subsystem is described the second state.
10. method as claimed in claim 4, it is characterized in that, adjust strategy based on the state corresponding with described the second subsystem, satisfy when entering the condition of described the 4th state from the described third state at described the second subsystem, control described the second subsystem and enter described the 4th state from the described third state, be specially:
State based on second processor corresponding with described the second subsystem is adjusted strategy, satisfy when entering processor the second state from processor the first state at described the second processor, control described the second processor and enter described processor the second state from described processor the first state, wherein, the power consumption of described processor the first state is less than the power consumption of described processor the second state, described the second processor is when described processor the first state, and the state of described the second subsystem is the described third state; Described the second processor is when described processor the second state, and the state of described the first subsystem is described the 4th state.
11. the method for a control system state, it is characterized in that, be applied to include in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem comprises the first hardware system and the first software systems, described the second subsystem comprises the second hardware system and the second software systems, described the first hardware system has first processor and the first communication interface, described the second hardware system has the second processor and second communication interface, described the first communication interface and described second communication interface are connected to form first passage, described the first software systems and described the second software systems realize realizing data transmission by described first passage based on the first communication protocol, described method comprises:
Monitor described first passage and whether have data transmission, produce a monitoring result;
When described monitoring result represented that described first passage has data transmission, described the second processor of controlling described the second subsystem was in the first state;
When described monitoring result represented that described first passage does not have data transmission, described the second processor of controlling described the second subsystem was in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
12. method as claimed in claim 11 is characterized in that, whether the described first passage of described monitoring has data transmission, produces a monitoring result, is specially:
Every the described first passage of time cycle detection, whether data transmission is arranged, produce a monitoring result.
13. method as described in claim 11 or 12 is characterized in that, whether has data transmission at the described first passage of described monitoring, after producing a monitoring result, described method also comprises:
When described monitoring result represented that described first passage has data transmission, the described first processor of controlling described the first subsystem was in the third state;
When described monitoring result represented that described first passage does not have data transmission, the described first processor of controlling described the first subsystem was in the 4th state; The power consumption of described the first subsystem when when wherein, described first processor is in the described third state, the power consumption of described the first subsystem is in described the 4th state less than described first processor.
14. method as described in claim 11 or 12, it is characterized in that, described second communication interface comprises the second source interface, it is described when described monitoring result represents that described first passage does not have data transmission, described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described second source interface;
Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
15. method as described in claim 11 or 12, it is characterized in that, described the first communication interface comprises the first power interface, it is described when described monitoring result represents that described first passage does not have data transmission, described the second processor of controlling described the second subsystem is in the second state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described the first power interface;
Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
16. method as claimed in claim 13, it is characterized in that, described second communication interface comprises the second source interface, and is described when described monitoring result represents that described first passage does not have data transmission, the described first processor of controlling described the first subsystem is in the 4th state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described second source interface;
Adjust strategy based on the state that described first processor is corresponding, adjust described first processor and be in the 4th state.
17. method as claimed in claim 13, it is characterized in that, described the first communication interface comprises the first power interface, and is described when described monitoring result represents that described first passage does not have data transmission, the described first processor of controlling described the first subsystem is in the 4th state, specifically comprises:
When described monitoring result represents that described first passage does not have data transmission, generate the dump instruction;
Based on described dump instruction, cut off the power supply to described the first power interface;
Adjust strategy based on the state that described first processor is corresponding, adjust described first processor and be in the 4th state.
18. an electronic equipment is characterized in that, comprising:
The first subsystem comprises: the first software systems, and based on the first module of described the first software systems and the work of first data transmission agreement, described the first module includes the first power interface;
The second subsystem comprises: the second software systems, and based on the second module of described the second software systems and the work of described first data transmission agreement, described the second module includes the second source interface; When described the first module is connected with described the second module, can carry out data transmission between described the first subsystem and described the second subsystem;
Wherein, when described the first module and described the second intermodule being detected by described the first subsystem and/or described the second subsystem and be in idle condition, generate the dump instruction relevant to described idle condition; Based on described dump instruction, cut off to the power supply of described the first power interface and/or to the power supply of described second source interface by described the first subsystem and/or the second subsystem.
19. electronic equipment as claimed in claim 18 is characterized in that,
Described the first subsystem comprises: the first state and the second state, and the power consumption of described the first state is greater than the power consumption of described the second state; Wherein,
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the first subsystem also is used for adjusting strategy based on the state corresponding with described the first subsystem, satisfying when entering the condition of described the second state from described the first state, control described the first subsystem and enter described the second state from described the first state.
20. electronic equipment as claimed in claim 19 is characterized in that,
Described the second subsystem comprises: the third state and the 4th state, and the power consumption of the described third state is greater than the power consumption of described the 4th state;
Based on described dump instruction, after cutting off power supply and/or the power supply to described second source interface to described the first power interface by described the first subsystem and/or the second subsystem, described the second subsystem also is used for adjusting strategy based on the state corresponding with described the second subsystem, satisfying when entering the condition of described the 4th state from the described third state, control described the second subsystem and enter described the 4th state from the described third state.
21. as claim 18,19 or 20 described electronic equipments, it is characterized in that,
Described the first subsystem also comprises:
First interface is for being independent of described the first software systems and based on the second Data Transport Protocol work;
Described the second subsystem also comprises:
The second interface is for being independent of described the second software systems and based on described the second Data Transport Protocol work;
Wherein, by described first interface and described the second interface, described the second subsystem also is used for:
Receive the power supply opening instruction that described the first subsystem sends; Based on described power supply opening instruction, open described second source interface, so that described second source interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module;
By described first interface and described the second interface, described the first subsystem also is used for:
The power supply opening instruction that reception is sent by described the second subsystem; Based on described power supply opening instruction, open described the first power interface, so that described the first power interface powered, and then make between described the first subsystem and described the second subsystem and can carry out data transmission by described the first module and described the second module.
22. an electronic equipment is characterized in that, comprising:
The first subsystem comprises: the first software systems and the first hardware system, and described the first hardware system comprises: first processor and the first communication interface;
The second subsystem comprises: the second software systems and the second hardware system, and described the second hardware system comprises the second processor and second communication interface, wherein, described the first communication interface and described second communication interface are connected to form first passage; Described the first software systems and described the second software systems realize that based on the first communication protocol described the first software systems and described the second software systems realize data transmission based on described the first communication protocol by described first passage by described first passage;
Wherein, when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, described the second processor of controlling described the second subsystem is in the first state; When monitoring described first passage and do not have data transmission, described the second processor of controlling described the second subsystem is in the second state; The power consumption of described the second subsystem when when wherein, described the second processor is in described the second state, the power consumption of described the second subsystem is in described the first state less than described the second processor.
23. electronic equipment as claimed in claim 22, it is characterized in that, described electronic equipment also is used for, and when monitoring described first passage by described the first subsystem and/or described the second subsystem data transmission is arranged, the described first processor of controlling described the first subsystem is in the third state; When monitoring described first passage and do not have data transmission, the described first processor of controlling described the first subsystem is in the 4th state; The power consumption of described the second subsystem when when wherein, described first processor is in described the 4th state, the power consumption of described the first subsystem is in the described third state less than described first processor.
24. electronic equipment as described in claim 22 or 23 is characterized in that, described second communication interface comprises the second source interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described second source interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
25. electronic equipment as described in claim 22 or 23 is characterized in that, described the first communication interface comprises the first power interface, wherein, when monitoring described first passage and do not have data transmission, generates the dump instruction; Based on described dump instruction, cut off the power supply to described the first power interface; Adjust strategy based on the state that described the second processor is corresponding, adjust described the second processor and be in the second state.
CN201110376587.2A 2011-11-23 2011-11-23 A kind of electronic equipment and the method that system mode in described electronic equipment is controlled Active CN103135722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110376587.2A CN103135722B (en) 2011-11-23 2011-11-23 A kind of electronic equipment and the method that system mode in described electronic equipment is controlled

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110376587.2A CN103135722B (en) 2011-11-23 2011-11-23 A kind of electronic equipment and the method that system mode in described electronic equipment is controlled

Publications (2)

Publication Number Publication Date
CN103135722A true CN103135722A (en) 2013-06-05
CN103135722B CN103135722B (en) 2016-07-06

Family

ID=48495671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110376587.2A Active CN103135722B (en) 2011-11-23 2011-11-23 A kind of electronic equipment and the method that system mode in described electronic equipment is controlled

Country Status (1)

Country Link
CN (1) CN103135722B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217071A1 (en) * 2008-02-27 2009-08-27 Lenovo (Beijing) Limited Data processing device and method for switching states thereof
CN101639724A (en) * 2008-07-30 2010-02-03 联想(北京)有限公司 Computer, computer power supply control device and power supply control method
CN101980103A (en) * 2010-10-29 2011-02-23 威盛电子股份有限公司 Power state management method and related computer system
CN102081553A (en) * 2009-12-01 2011-06-01 联想(北京)有限公司 Portable equipment task processing method and device as well as portable equipment
CN102193610A (en) * 2010-03-19 2011-09-21 艾欧互联有限公司 Power management method and related power management system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090217071A1 (en) * 2008-02-27 2009-08-27 Lenovo (Beijing) Limited Data processing device and method for switching states thereof
CN101639724A (en) * 2008-07-30 2010-02-03 联想(北京)有限公司 Computer, computer power supply control device and power supply control method
CN102081553A (en) * 2009-12-01 2011-06-01 联想(北京)有限公司 Portable equipment task processing method and device as well as portable equipment
CN102193610A (en) * 2010-03-19 2011-09-21 艾欧互联有限公司 Power management method and related power management system
CN101980103A (en) * 2010-10-29 2011-02-23 威盛电子股份有限公司 Power state management method and related computer system

Also Published As

Publication number Publication date
CN103135722B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN101520745B (en) Data processing equipment and status switching method thereof
CN109857243B (en) System-on-chip, universal serial bus master device, system and awakening method
US10491003B2 (en) Multiple input single inductor multiple output regulator
EP2509368B1 (en) Power management method and apparatus of a network access module
TW200612305A (en) Electronic device, method for controlling the same, information processing apparatus, and computer program
CN102651785A (en) Remote wakeup of application processor of mobile device
CN105426338A (en) I2C wake-up MCU circuit and wake-up method
CN102959487B (en) Be provided for the wakeup logic waken up from low-power mode by electronic equipment
CN101943941B (en) Information processing device and method for controlling power
TW200715104A (en) Method of managing power consumption of portable computer and portable computer using the same
CN104411003A (en) Dormancy wakeup control method and system of wireless communication equipment
CN105446916A (en) USB bus state switching method and apparatus
EP2107469B1 (en) System and method for interfacing an electronic device with a host system
CN108196665A (en) A kind of data processing method and device
US9632568B2 (en) Semiconductor device, radio communication terminal using the same, and inter-circuit communication system
US11947481B2 (en) Terminal and type C interface anti-corrosion method
WO2008084541A1 (en) Receiver and control method for strting of the same
US9430030B2 (en) Status switching method
CN202995613U (en) Crash resetting device
CN102455773A (en) Mobile storage device and energy conservation control method thereof
CN104423530A (en) Electricity saving control method and device of mobile device, mobile device and host terminal
CN105098854B (en) Charging method and electronic device
CN103135722A (en) Electronic device and state control method for system in electronic device
CN101576765B (en) Method, element and circuit board for controlling electronic device to shut down
JP2008059112A (en) Power supply control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant