CN108549477A - A kind of power regulating method and electronic equipment - Google Patents

A kind of power regulating method and electronic equipment Download PDF

Info

Publication number
CN108549477A
CN108549477A CN201810265344.3A CN201810265344A CN108549477A CN 108549477 A CN108549477 A CN 108549477A CN 201810265344 A CN201810265344 A CN 201810265344A CN 108549477 A CN108549477 A CN 108549477A
Authority
CN
China
Prior art keywords
electronic equipment
interface
sub
module
power
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
CN201810265344.3A
Other languages
Chinese (zh)
Other versions
CN108549477B (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 CN201810265344.3A priority Critical patent/CN108549477B/en
Publication of CN108549477A publication Critical patent/CN108549477A/en
Application granted granted Critical
Publication of CN108549477B publication Critical patent/CN108549477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Abstract

The invention discloses a kind of power regulating methods, are applied to the first electronic equipment, and the first electronic equipment can be connected by the interface of first electronic equipment with the second electronic equipment, and interface includes the sub-interface for controlling disparate modules in the second electronic equipment;The method includes:When the underpower of the first electronic equipment or the second electronic equipment, by controlling different sub-interfaces, it is turned on and off with the sub-interface corresponding module that is controlled in the second electronic equipment of control.The invention also discloses a kind of electronic equipment.

Description

A kind of power regulating method and electronic equipment
Technical field
The present invention relates to electronic device power management technology more particularly to a kind of power regulating methods and electronic equipment.
Background technology
Existing electronic equipment reduces the interface quantity provided to the user while compression device volume, when user needs When using a variety of external equipments, the number of ports that existing electronic equipment is extended by the electronic equipment with expanded function is needed Amount.When using the electronic equipment for carrying expanded function, the power between electronic equipment and main equipment with expanded function is not It can coordinate, the normal use of the two can be influenced.
Invention content
A kind of power regulating method of offer of the embodiment of the present invention and electronic equipment, can be when ensureing electronic equipment access Power coordination.
What the technical solution of the embodiment of the present invention was realized in:
An embodiment of the present invention provides a kind of power regulating methods, are applied to the first electronic equipment, and first electronics is set Standby to be connect with the second electronic equipment by the first interface of first electronic equipment, the interface includes described in control The sub-interface of disparate modules in second electronic equipment;
The method includes:
When the underpower of first electronic equipment or second electronic equipment, by controlling different sub-interfaces, It controls in second electronic equipment and is turned on and off with the sub-interface corresponding module that is controlled.
It is described by controlling different sub-interfaces in said program, it controls and is connect with what is controlled in second electronic equipment Mouth corresponding module is turned on and off, including:
By the information of the sub-interface, the sub-interface corresponding module in second electronic equipment and controlled is determined Classification;
Based on the classification with the sub-interface corresponding module controlled in identified second electronic equipment, pass through control Different sub-interfaces are controlled in second electronic equipment and are turned on and off with the sub-interface corresponding module that is controlled.
In said program, in the control second electronic equipment with the unlatching of sub-interface corresponding module controlled or It closes, including at least one:
The module being closed in second electronic equipment is controlled to replace at least one in second electronic equipment A module in operating status, so that the power of first electronic equipment meets the reserved work(of first electronic equipment Rate, or the reserved power that makes the power of second electronic equipment meet second electronic equipment.
It is described by controlling different sub-interfaces in said program, control the son in second electronic equipment and controlled Interface corresponding module is turned on and off, including:
Obtain the dump power information of first electronic equipment;
First electronic equipment according to the dump power information of the first power adjustment rule and first electronic equipment, Determine the module in second electronic equipment that is to be opened or closing;
By the different sub-interfaces of control, corresponding module is turned on and off in control second electronic equipment.
It is described by controlling different sub-interfaces in said program, control the son in second electronic equipment and controlled Interface corresponding module is turned on and off, including:
Export the dump power of first electronic equipment and the real-time running state information of second electronic equipment, with And in second electronic equipment corresponding equipment of module in operating status mark;
Receive the first adjustment instruction;
According to the mark of the corresponding equipment of module to be adjusted of the first adjustment instruction instruction, connect by controlling different sons Mouthful, corresponding module is turned on and off in control second electronic equipment.
In said program, the method further includes:
The realtime power of rated power and second electronic equipment based on first electronic equipment determines described The dump power of one electronic equipment;
When the dump power of first electronic equipment is less than the reserved power of first electronic equipment, described in determination The underpower of first electronic equipment.
In said program, before the dump power for determining first electronic equipment, the method further includes:
Obtain the rated power of first electronic equipment;
Detect the real-time running state information of second electronic equipment;
Based on the real-time running state information of second electronic equipment, the real-time work(of second electronic equipment is determined Rate.
In said program, the method further includes:
Detect module in operating status in second electronic equipment;
According to module in operating status in second electronic equipment, the module pair in operating status is determined The mark for the equipment answered;
The realtime power of module in operating status in second electronic equipment is inquired according to the mark of the equipment;
Determine that the adduction of the realtime power of the module in operating status, the adduction are second electronic equipment Realtime power;
When the realtime power of second electronic equipment is less than the reserved power of second electronic equipment, described in determination The underpower of second electronic equipment.
A kind of power regulating method is additionally provided in the embodiment of the present invention, is applied to the second electronic equipment, and the first electronics is set Standby to be connect with the second electronic equipment by the first interface of first electronic equipment, the interface includes described in control The sub-interface of disparate modules in second electronic equipment;
The method includes:
When the underpower of first electronic equipment or second electronic equipment, set in response to first electronics The standby control for the different sub-interfaces, adjust unlatching in second electronic equipment with the sub-interface corresponding module or It closes.
In said program, the control in response to first electronic equipment, adjust in second electronic equipment with The sub-interface corresponding module controlled is turned on and off, including:
The module being closed in second electronic equipment is adjusted, is replaced at least one in second electronic equipment A module in operating status, so that the power of first electronic equipment meets the reserved work(of first electronic equipment Rate, or the reserved power that makes the power of second electronic equipment meet second electronic equipment.
In said program, the method further includes:
The realtime power of the module in operating status is inquired according to the mark;It will be in second electronic equipment Mark corresponding to module in operating status and by the realtime power information of the module in operating status to institute State the transmission of the first electronic equipment.
In said program, the method further includes:
Receive the dump power information of first electronic equipment;
According to the dump power information of first electronic equipment, the son in second electronic equipment and controlled is adjusted Interface corresponding module is turned on and off.
Present invention implementation provides a kind of first electronic equipment, and first electronic equipment includes:
First interface, for connecting first electronic equipment and the second electronic equipment;
First sub-interface is set in the first interface, for controlling disparate modules in second electronic equipment;
First control module, for by controlling first sub-interface, control in second electronic equipment with controlled The first sub-interface corresponding module of system is turned on and off
In said program,
First control module is determined for the information by first sub-interface in second electronic equipment With the classification of the first sub-interface corresponding module controlled;
First control module, for based in identified second electronic equipment with controlled described first The classification of sub-interface corresponding module is controlled in second electronic equipment and is controlled by controlling first sub-interface The first sub-interface corresponding module is turned on and off.
In said program,
First control module, for controlling described in the module being closed in second electronic equipment replacement At least one module in operating status in second electronic equipment, so that the power of first electronic equipment meets described The reserved power of one electronic equipment;
First control module, for controlling described in the module being closed in second electronic equipment replacement At least one module in operating status in second electronic equipment, so that the power of second electronic equipment meets described The reserved power of two electronic equipments.
In said program,
First control module, the dump power information for obtaining first electronic equipment;
First control module, for the dump power according to the first power adjustment rule and first electronic equipment Information determines the module in second electronic equipment that is to be opened or closing;
First control module, for by controlling first sub-interface, controlling phase in second electronic equipment Answer being turned on and off for module.
In said program,
First control module, the dump power for exporting first electronic equipment and second electronic equipment Real-time running state information and second electronic equipment in the corresponding equipment of module in operating status mark;
First control module, for receiving the first adjustment instruction;
First control module, the mark of the corresponding equipment of module to be adjusted for being indicated according to the first adjustment instruction Know, by control first sub-interface, corresponding module is turned on and off in control second electronic equipment.
In said program, first electronic equipment further includes:
Power computation module is used for the reality of rated power and second electronic equipment based on first electronic equipment When power, determine the dump power of first electronic equipment;
The power computation module is less than first electronic equipment for the dump power when first electronic equipment Reserved power when, determine the underpower of first electronic equipment.
In said program,
First control module, the rated power for obtaining first electronic equipment;
First control module, the real-time running state information for detecting second electronic equipment;
First control module, be used for the real-time running state information based on second electronic equipment, determine described in The realtime power of second electronic equipment.
In said program, first electronic equipment further includes:
Detection module, for detecting module in operating status in second electronic equipment;
The detection module, for according to module in operating status in second electronic equipment, determining the place In the mark of the corresponding equipment of the module of operating status;
First control module, for being inquired in second electronic equipment in operation according to the mark of the equipment The realtime power of the module of state;
First control module, the adduction of the realtime power for determining the module in operating status are described Adduction is the realtime power of second electronic equipment;
First control module is less than second electronic equipment for the realtime power when second electronic equipment Reserved power when, determine the underpower of second electronic equipment.
Present invention implementation provides a kind of second electronic equipment, and second electronic equipment passes through first electronic equipment First interface be connected with second electronic equipment, the first interface include in control second electronic equipment not With the first sub-interface of module;
Second electronic equipment includes:
First submodule, for the control in response to first electronic equipment for the different sub-interfaces, adjustment is certainly Body is turned on and off;
Second interface, for being separately connected first submodule and first sub-interface.
In said program,
First submodule is set for adjusting first submodule being closed replacement, second electronics At least one module in operating status in standby, so that the power of first electronic equipment meets first electronic equipment Reserved power;
First submodule is set for adjusting first submodule being closed replacement, second electronics At least one module in operating status in standby, so that the power of second electronic equipment meets second electronic equipment Reserved power.
In said program, first electronic equipment further includes:
Information sending module, the realtime power for inquiring the module in operating status according to the mark;
Described information sending module is used for the mark corresponding to module in operating status in second electronic equipment Know and sends the realtime power information of the module in operating status to first electronic equipment.
In said program, the equipment further includes:
Second control module, the dump power information for receiving first electronic equipment;
Second control module, for the dump power information according to first electronic equipment, adjustment described second It is turned on and off with the sub-interface corresponding module that is controlled in electronic equipment.
Present invention implementation provides a kind of first electronic equipment, first electronic equipment can with pass through first electricity The first interface of sub- equipment is connect with the second electronic equipment;First electronic equipment includes:
Memory, for storing executable instruction;
Processor when executable instruction for running memory storage, executes:
When the underpower of first electronic equipment or second electronic equipment, by controlling different sub-interfaces, It controls in second electronic equipment and is turned on and off with the sub-interface corresponding module that is controlled.
Present invention implementation provides a kind of second electronic equipment, and second electronic equipment can be set with by the first electronics Standby first interface is connect with first electronic equipment;Second electronic equipment includes:
Memory, for storing executable instruction;
Processor when executable instruction for running memory storage, executes:
When the underpower of first electronic equipment or second electronic equipment, set in response to first electronics The standby control for the different sub-interfaces, adjust unlatching in second electronic equipment with the sub-interface corresponding module or It closes.
In the embodiment of the present invention, by being turned on or off sub-interface respective modules, to realize to the second electronic equipment Power consumption carries out dynamic control, both ensures there is the second electronic equipment of expanded function and the first electricity as main equipment as a result, Power between sub- equipment can be mutually coordinated, and can increase the quantity of the available external interface of the first electronic equipment.
Description of the drawings
Fig. 1 is an optional flow diagram of power regulating method provided in an embodiment of the present invention;
Fig. 2 is an optional flow diagram of power regulating method provided in an embodiment of the present invention;
Fig. 3 is an optional structural schematic diagram of the first electronic equipment provided in an embodiment of the present invention;
Fig. 4 is an optional structural schematic diagram of the second electronic equipment provided in an embodiment of the present invention
Fig. 5 A are that an optional structure of the first electronic equipment and the second electronic equipment provided in an embodiment of the present invention is shown It is intended to;
Fig. 5 B are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention;
Fig. 5 C are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention;
Fig. 5 D are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention;
Fig. 5 E are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention;
Fig. 6 is an optional structural schematic diagram of the first electronic equipment provided in an embodiment of the present invention;
Fig. 7 is an optional structural schematic diagram of the second electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
The present invention is further described in detail below with reference to the accompanying drawings and embodiments.It should be appreciated that described herein Specific embodiment is only used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is an optional flow diagram of power regulating method provided in an embodiment of the present invention, as shown in Figure 1, One optional flow chart of power regulating method provided in an embodiment of the present invention, illustrates the step of showing.
Power regulating method as shown in Figure 1, is applied to the first electronic equipment, and first electronic equipment can pass through institute The first interface for stating the first electronic equipment is connect with the second electronic equipment, and the interface includes control second electronic equipment The sub-interface of interior disparate modules.
Step 101:Judge whether the power of the first electronic equipment is insufficient, if so, otherwise executing step 102 executes step Rapid 103.
Step 102:Judge whether the power of the second electronic equipment is insufficient, if so, otherwise executing step 104 executes step Rapid 105.
Step 103:Keep current control state.
Step 104:By controlling different sub-interfaces, control corresponding to the sub-interface controlled in second electronic equipment Module is turned on and off.
Step 105:Keep current control state.
In one embodiment of the invention, described by controlling different sub-interfaces, it controls in second electronic equipment With being turned on and off for the interface corresponding module that is controlled, including:By the information of the sub-interface, second electronics is determined The interior classification with the sub-interface corresponding module controlled of equipment;Based in identified second electronic equipment with controlled The classification of sub-interface corresponding module is controlled and is connect with the son controlled in second electronic equipment by controlling different sub-interfaces Mouth corresponding module is turned on and off.Technical solution shown in through this embodiment, first electronic equipment pass through in interface The information of sub-interface determines the classification in second electronic equipment with the sub-interface corresponding module and controls changing for its state Become, realizes first electronic equipment and the second electronic equipment Neutron module is accurately controlled by the sub-interface in the interface State ensures to have the second electronic equipment of expanded function and can mutually be assisted as the power between the first electronic equipment of main equipment It adjusts.
In one embodiment of the invention, corresponding to the sub-interface controlled in control second electronic equipment Module is turned on and off, including:It controls the module being closed in second electronic equipment and replaces second electricity At least one module in operating status in sub- equipment, so that the power of first electronic equipment meets first electronics The reserved power of equipment.As a result, through this embodiment shown in technical solution, when the power of the first electronic equipment cannot meet institute When stating the reserved power of the first electronic equipment, by making described in the module being closed in second electronic equipment replacement At least one module in operating status in second electronic equipment, while realizing keeps the power of first electronic equipment full The reserved power of foot first electronic equipment, guaranteed by second electronic equipment is first electronic equipment increasing Adjunction mouth.
In one embodiment of the invention, corresponding to the sub-interface controlled in control second electronic equipment Module is turned on and off, including:It controls the module being closed in second electronic equipment and replaces second electricity At least one module in operating status in sub- equipment, so that the power of second electronic equipment meets second electronics The reserved power of equipment;As a result, through this embodiment shown in technical solution, when the power of the second electronic equipment cannot meet institute When stating the reserved power of the second electronic equipment, by making described in the module being closed in second electronic equipment replacement At least one module in operating status in second electronic equipment ensure that second electronic equipment can be described first Electronic equipment provides sufficient interface, to meet the various demands of user, and passes through the increased interface connection expansion equipment of institute The promotion or extension for first electronic functionalities that can be realized.
In one embodiment of the invention, described by controlling different sub-interfaces, it controls in second electronic equipment With being turned on and off for the sub-interface corresponding module that is controlled, including:Obtain the dump power information of first electronic equipment; First electronic equipment is determined and is waited out according to the dump power information of the first power adjustment rule and first electronic equipment The module in second electronic equipment for opening or closing;By controlling different sub-interfaces, control in second electronic equipment Corresponding module is turned on and off.As a result, through this embodiment shown in technical solution, when the constant external power supply of general power to It is full in first electronic equipment as main equipment when first electronic equipment and second electronic equipment are powered jointly When its required function of foot, the first electronic equipment is according to the remaining work(of the first power adjustment rule and first electronic equipment Rate information is further advanced by the different sub-interfaces of control, controls being turned on and off for corresponding module in second electronic equipment, While ensure that the first electronic equipment normal work, it can neatly select to be opened in second electronic equipment or wait for The module of closing realizes the collaboration of the two to adapt to the working condition of first electronic equipment.
In one embodiment of the invention, described by controlling different sub-interfaces, it controls in second electronic equipment With being turned on and off for the sub-interface corresponding module that is controlled, including:Export dump power and the institute of first electronic equipment State the second electronic equipment real-time running state information and second electronic equipment in module in operating status correspond to Equipment mark;Receive the first adjustment instruction;According to the corresponding equipment of module to be adjusted of the first adjustment instruction instruction Mark, by the different sub-interfaces of control, corresponding module is turned on and off in control second electronic equipment.
As a result, through this embodiment shown in technical solution, can be timely by the remaining work(of first electronic equipment Mould in operating status in the real-time running state information and second electronic equipment of rate and second electronic equipment The information such as the mark of the corresponding equipment of block inform control module or the user of first electronic equipment.And it receives and comes from the control The first adjustment of molding block or user instruct, and further realize control second electricity according to the first adjustment instruction Corresponding module is turned on and off in sub- equipment.While ensure that the first electronic equipment normal work, can neatly it select Module to be opened or to be closed in second electronic equipment is selected, it is real to adapt to the working condition of first electronic equipment Both existing collaboration;Simultaneously because the first adjustment instruction that user sends out can be received so that technical side shown in the present embodiment Case can adapt to more complicated operating environment, and promote the controllability of user.
In one embodiment of the invention, rated power and second electronics based on first electronic equipment are set Standby realtime power determines the dump power of first electronic equipment;When the dump power of first electronic equipment is less than When the reserved power of first electronic equipment, the underpower of first electronic equipment is determined.As a result, through this embodiment Shown in technical solution, when the constant external power supply of general power is common to first electronic equipment and second electronic equipment When power supply, first electronic equipment can quickly determine the power rating of itself, and further determine first electronics The underpower of equipment is adjusted correspondingly, to realize equipment and stored data thereon to first electronic equipment Protection.
In one embodiment of the invention, before the dump power for determining first electronic equipment, the method is also Including:Obtain the rated power of first electronic equipment;Detect the real-time running state information of second electronic equipment;Base In the real-time running state information of second electronic equipment, the realtime power of second electronic equipment is determined.Pass through as a result, Technical solution shown in the present embodiment, by first electronic equipment in the real time execution shape for obtaining second electronic equipment State information realizes the monitoring of the real-time running state to second electronic equipment.
In one embodiment of the invention, module in operating status in second electronic equipment is detected;According to Module in operating status in second electronic equipment, determines the mark of the corresponding equipment of the module in operating status Know;The realtime power of module in operating status in second electronic equipment is inquired according to the mark of the equipment;It determines The adduction of the realtime power of the module in operating status, the adduction are the realtime power of second electronic equipment; When the realtime power of second electronic equipment is less than the reserved power of second electronic equipment, second electronics is determined The underpower of equipment.As a result, through this embodiment shown in technical solution, not only realize in second electronic equipment one Adjustment of the side to second electronic equipment realizes the collaboration of the two to adapt to the working condition of first electronic equipment;Together When since second electronic equipment side can be as the stand-by provision of first electronic equipment side control module, to protect Demonstrate,prove equipment and the institute thereon realized in the state of the first electronics control module failure to first electronic equipment Preserve the protection of data.
Fig. 2 is an optional flow diagram of power regulating method provided in an embodiment of the present invention, as described in Figure 2, One optional flow chart of power regulating method provided in an embodiment of the present invention, illustrates the step of showing.
Power regulating method as shown in Figure 2, is applied to the second electronic equipment, and the first electronic equipment can pass through described the The first interface of one electronic equipment is connected with second electronic equipment, and the interface includes that control second electronics is set The sub-interface of standby interior disparate modules.
Step 201:Receive control of first electronic equipment for the different sub-interfaces.
Step 202:In response to first electronic equipment for the control of the different sub-interfaces, adjustment second electricity It is turned on and off with the sub-interface corresponding module in sub- equipment.
In one embodiment of the invention, the control in response to first electronic equipment, adjustment described second It is turned on and off with the sub-interface corresponding module that is controlled in electronic equipment, including:It adjusts in second electronic equipment In the module of closed state, at least one module in operating status in second electronic equipment is replaced, so that described the The power of one electronic equipment meets the reserved power of first electronic equipment;As a result, through this embodiment shown in technical side Case, when the power of the first electronic equipment cannot meet the reserved power of first electronic equipment, by making second electricity The module being closed in sub- equipment replaces at least one module in operating status in second electronic equipment, together When realize the reserved power for making the power of first electronic equipment meet first electronic equipment, it is guaranteed to pass through institute It is that first electronic equipment increases interface to state the second electronic equipment.
In one embodiment of the invention, the control in response to first electronic equipment, adjustment described second It is turned on and off with the sub-interface corresponding module that is controlled in electronic equipment, including:It adjusts in second electronic equipment In the module of closed state, at least one module in operating status in second electronic equipment is replaced, so that described the The power of two electronic equipments meets the reserved power of second electronic equipment.As a result, through this embodiment shown in technical side Case, when the power of the second electronic equipment cannot meet the reserved power of second electronic equipment, by making second electricity The module being closed in sub- equipment replaces at least one module in operating status in second electronic equipment, protects Sufficient interface can be provided for first electronic equipment by having demonstrate,proved second electronic equipment, to meet the various need of user Ask, and by increased interface connect the promotion or expansion of first electronic functionalities that expansion equipment can be realized Exhibition.
In one embodiment of the invention, the real-time work(of the module in operating status is inquired according to the mark Rate;By corresponding to module in operating status in second electronic equipment mark and will be described in operating status The realtime power information of module sent to first electronic equipment, as a result, through this embodiment shown in technical solution, lead to The real-time running state information for sending second electronic equipment to first electronic equipment is crossed, first electronics is realized Monitoring of the equipment to the real-time running state of second electronic equipment.
In one embodiment of the invention, the dump power information of first electronic equipment is received;According to described The dump power information of one electronic equipment adjusts the unlatching with the sub-interface corresponding module controlled in second electronic equipment Or it closes.As a result, through this embodiment shown in technical solution, not only realize in second electronic equipment side to described The adjustment of second electronic equipment realizes the collaboration of the two to adapt to the working condition of first electronic equipment;Simultaneously because institute Stating the second electronic equipment side can be as the stand-by provision of first electronic equipment side control module, to ensure described The equipment and stored data thereon to first electronic equipment are realized in the state of first electronics control module failure Protection.
Fig. 3 is an optional structural schematic diagram of the first electronic equipment provided in an embodiment of the present invention, as shown in figure 3, One optional structure chart of a kind of first electronic equipment provided in an embodiment of the present invention, below to the module involved by Fig. 3 point It does not illustrate.
First interface 301, for connecting the first electronic equipment and the second electronic equipment.
First sub-interface 302, is set in the first interface, for controlling different moulds in second electronic equipment Block.
First control module 303, for by controlling first sub-interface, controlling in second electronic equipment and institute The first sub-interface corresponding module of control is turned on and off.
In one embodiment of the invention, first control module 303, for passing through first sub-interface 302 Information, determine the classification with 302 corresponding module of the first sub-interface controlled in second electronic equipment;Described One control module 303, for based in identified second electronic equipment with 302 phase of the first sub-interface that is controlled The classification for answering module, by controlling first sub-interface 302, control in second electronic equipment with controlled described the One sub-interface, 302 corresponding module is turned on and off.Technical solution shown in through this embodiment, first electronic equipment are logical The information for crossing sub-interface in interface determines the classification in second electronic equipment with the sub-interface corresponding module and controls it The change of state realizes first electronic equipment and is accurately controlled in the second electronic equipment by the sub-interface in the interface The state of submodule, guarantee have the second electronic equipment of expanded function and as the power between the first electronic equipment of main equipment It can be mutually coordinated.
In one embodiment of the invention, first control module 303, for controlling in second electronic equipment The module being closed replaces at least one module in operating status in second electronic equipment, so that described The power of one electronic equipment meets the reserved power of first electronic equipment;As a result, through this embodiment shown in technical side Case, when the power of the first electronic equipment cannot meet the reserved power of first electronic equipment, by making second electricity The module being closed in sub- equipment replaces at least one module in operating status in second electronic equipment, together When realize the reserved power for making the power of first electronic equipment meet first electronic equipment, it is guaranteed to pass through institute It is that first electronic equipment increases interface to state the second electronic equipment.
In one embodiment of the invention, first control module 303, for controlling in second electronic equipment The module being closed replaces at least one module in operating status in second electronic equipment, so that described The power of two electronic equipments meets the reserved power of second electronic equipment.As a result, through this embodiment shown in technical side Case, when the power of the second electronic equipment cannot meet the reserved power of second electronic equipment, by making second electricity The module being closed in sub- equipment replaces at least one module in operating status in second electronic equipment, protects Sufficient interface can be provided for first electronic equipment by having demonstrate,proved second electronic equipment, to meet the various need of user Ask, and by increased interface connect the promotion or expansion of first electronic functionalities that expansion equipment can be realized Exhibition.
In one embodiment of the invention, first control module 303, for obtaining first electronic equipment Dump power information;First control module 303, for according to the first power adjustment rule and first electronic equipment Dump power information determines the module in second electronic equipment that is to be opened or closing;First control module 303, For by controlling first sub-interface 302, controlling being turned on and off for corresponding module in second electronic equipment.By This, through this embodiment shown in technical solution, when the constant external power supply of general power is to first electronic equipment and described When second electronic equipment is powered jointly, when first electronic equipment as main equipment meets its required function, the One electronic equipment is further advanced by control according to the dump power information of the first power adjustment rule and first electronic equipment It makes different sub-interfaces, controls being turned on and off for corresponding module in second electronic equipment, ensure that the first electronic equipment While normal work, module to be opened or to be closed in second electronic equipment can be neatly selected, to adapt to The working condition for stating the first electronic equipment realizes the collaboration of the two.
In one embodiment of the invention, first control module 303, for exporting first electronic equipment In operation shape in the real-time running state information and second electronic equipment of dump power and second electronic equipment The mark of the corresponding equipment of module of state;First control module 303, for receiving the first adjustment instruction;First control Molding block 303, the mark of the corresponding equipment of module to be adjusted for being indicated according to the first adjustment instruction, described in control First sub-interface 302 controls being turned on and off for corresponding module in second electronic equipment.
As a result, through this embodiment shown in technical solution, can be timely by the remaining work(of first electronic equipment Mould in operating status in the real-time running state information and second electronic equipment of rate and second electronic equipment The information such as the mark of the corresponding equipment of block inform control module or the user of first electronic equipment.And it receives and comes from the control The first adjustment of molding block or user instruct, and further realize control second electricity according to the first adjustment instruction Corresponding module is turned on and off in sub- equipment.While ensure that the first electronic equipment normal work, can neatly it select Module to be opened or to be closed in second electronic equipment is selected, it is real to adapt to the working condition of first electronic equipment Both existing collaboration;Simultaneously because the first adjustment instruction that user sends out can be received so that technical side shown in the present embodiment Case can adapt to more complicated operating environment, and promote the controllability of user.
In one embodiment of the invention, the equipment further includes:Power computation module, for based on first electricity The realtime power of the rated power of sub- equipment and second electronic equipment determines the dump power of first electronic equipment; The power computation module, the reserved work(for being less than first electronic equipment when the dump power of first electronic equipment When rate, the underpower of first electronic equipment is determined.As a result, through this embodiment shown in technical solution, work as general power When constant external power supply is powered jointly to first electronic equipment and second electronic equipment, first electronic equipment It can quickly determine the power rating of itself, and it is corresponding further to determine that the underpower of first electronic equipment carries out Adjustment, to realize the protection to the equipment and stored data thereon of first electronic equipment.
In one embodiment of the invention, first control module 303, for obtaining first electronic equipment Rated power;First control module 303, the real-time running state information for detecting second electronic equipment;It is described First control module 303 is used for the real-time running state information based on second electronic equipment, determines that second electronics is set Standby realtime power.As a result, through this embodiment shown in technical solution, obtaining described the by first electronic equipment The real-time running state information of two electronic equipments realizes the monitoring of the real-time running state to second electronic equipment.
In one embodiment of the invention, the equipment further includes:Detection module is set for detecting second electronics Module in operating status in standby;The detection module, for according in operating status in second electronic equipment Module determines the mark of the corresponding equipment of the module in operating status;First control module 303 is used for basis The mark of the equipment inquires the realtime power of module in operating status in second electronic equipment;First control Module 303, the adduction of the realtime power for determining the module in operating status, the adduction are second electronics The realtime power of equipment;First control module 303 is less than described for the realtime power when second electronic equipment When the reserved power of two electronic equipments, the underpower of second electronic equipment is determined.As a result, through this embodiment shown in Technical solution not only realizes the adjustment to second electronic equipment in second electronic equipment side, described to adapt to The working condition of first electronic equipment realizes the collaboration of the two;Simultaneously because second electronic equipment side can be used as institute The stand-by provision for stating the first electronic equipment side control module, to ensure the shape in the first electronics control module failure The protection to the equipment and stored data thereon of first electronic equipment is realized under state.
Fig. 4 is an optional structural schematic diagram of the second electronic equipment provided in an embodiment of the present invention, as shown in figure 4, One optional structure chart of a kind of second electronic equipment provided in an embodiment of the present invention, below to the module involved by Fig. 4 point It does not illustrate.
Wherein, the first interface and second electronic equipment that the second electronic equipment can be by first electronic equipment It is connected, the interface includes the sub-interface of disparate modules in control second electronic equipment.
First submodule 401, for the control in response to first electronic equipment for the different sub-interfaces, adjustment Itself is turned on and off;
Second interface 402, for being separately connected first submodule and the sub-interface.
In one embodiment of the invention, first submodule 401, for adjusting be closed described One submodule replaces at least one module in operating status in second electronic equipment, so that first electronic equipment Power meet the reserved power of first electronic equipment;As a result, through this embodiment shown in technical solution, when first electricity When the power of sub- equipment cannot meet the reserved power of first electronic equipment, it is in by making in second electronic equipment The module of closed state replaces at least one module in operating status in second electronic equipment, while realizing and make institute The power for stating the first electronic equipment meets the reserved power of first electronic equipment, guaranteed to be set by second electronics It is standby to increase interface for first electronic equipment.
In one embodiment of the invention, first submodule 401, for adjusting be closed described One submodule replaces at least one module in operating status in second electronic equipment, so that second electronic equipment Power meet the reserved power of second electronic equipment.As a result, through this embodiment shown in technical solution, when second electricity When the power of sub- equipment cannot meet the reserved power of second electronic equipment, it is in by making in second electronic equipment The module of closed state replaces at least one module in operating status in second electronic equipment, ensure that described second Electronic equipment can provide sufficient interface for first electronic equipment, to meet the various demands of user, and pass through institute The promotion or extension for first electronic functionalities that increased interface connection expansion equipment can be realized.
In one embodiment of the invention, the equipment further includes:Information sending module, for being looked into according to the mark Ask the realtime power of the module in operating status;Described information sending module, being used for will be in second electronic equipment Mark corresponding to module in operating status and by the realtime power information of the module in operating status to institute State the transmission of the first electronic equipment.As a result, through this embodiment shown in technical solution, by first electronic equipment send The real-time running state information of second electronic equipment realizes first electronic equipment to second electronic equipment The monitoring of real-time running state.
In one embodiment of the invention, the equipment further includes:Second control module, for receiving first electricity The dump power information of sub- equipment;Second control module is used for the dump power information according to first electronic equipment, It adjusts in second electronic equipment and is turned on and off with the sub-interface corresponding module that is controlled.As a result, through this embodiment Shown in technical solution, the adjustment to second electronic equipment in second electronic equipment side is not only realized, with suitable The working condition for answering first electronic equipment realizes the collaboration of the two;Simultaneously because second electronic equipment side can be with As the stand-by provision of first electronic equipment side control module, to ensure to lose in first electronics control module The protection to the equipment and stored data thereon of first electronic equipment is realized in the state of spirit.
Fig. 5 A are that an optional structure of the first electronic equipment and the second electronic equipment provided in an embodiment of the present invention is shown It is intended to, as shown in Figure 5A, one of a kind of first electronic equipment and the second electronic equipment provided in an embodiment of the present invention is optional Structure chart below illustrates the electronic equipment involved by Fig. 5 A respectively.
First electronic equipment 501, the second electronic equipment 502, wherein the interface is set to first electronic equipment In 501.
First electronic equipment 501, for the power when first electronic equipment 501 or second electronic equipment 502 When insufficient, by controlling different sub-interfaces, the sub-interface corresponding module in second electronic equipment 502 and controlled is controlled It is turned on and off;
Second electronic equipment 502, for working as the power of first electronic equipment or second electronic equipment not When sufficient, in response to first electronic equipment for the control of the different sub-interfaces, adjust in second electronic equipment with The sub-interface corresponding module is turned on and off;
Interface, for being separately connected the first electronic equipment 501 and the second electronic equipment 502, the interface includes control The sub-interface of disparate modules in second electronic equipment.
Fig. 5 B are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention, at this In one embodiment of invention, different submodule corresponding from the sub-interface may come in second electronic equipment 502 From in different equipment manufacturers, each sub-interface has in second electronic equipment with the sub-interface corresponding module Fixed supplier's identification code (VID Vendor ID) and product ID (PID Product ID).Shown in table 1 VID, PID and the corresponding ID of a combination thereof, can accurately know each sub-interface in second electronic equipment with the son The power information of interface corresponding module.
Technical solution shown in through this embodiment, first electronic equipment is by the information of sub-interface in interface, really With the classification of the sub-interface corresponding module and the change of its state is controlled in fixed second electronic equipment, realizes described the One electronic equipment accurately controls the state of the second electronic equipment Neutron module by the sub-interface in the interface, and guarantee has extension Second electronic equipment of function and can be mutually coordinated as the power between the first electronic equipment of main equipment.Further, When the power of the first electronic equipment cannot meet the reserved power of first electronic equipment, set by making second electronics The module being closed in standby replaces at least one module in operating status in second electronic equipment, while real Show the reserved power for making the power of first electronic equipment meet first electronic equipment, it is guaranteed to pass through described Two electronic equipments are that first electronic equipment increases interface.
VID PID Self-defined ID Power consumption
VID_17EF PID_60A9 Mod0001 Power PCB1:72W
VID_1701 PID_60B3 Mod0002 Lan1W
VID_1702 PID_60C4 Mod0003 RS232:2W
VID_1703 PID_60D3 Mod0004 DIO:10W
VID_17 PID_60A9 Mod0001 PowerPCB2:36W
VID_1701 PID_60B3 Mod0002 Lan2:2W
VID_1702 PID_60C4 Mod0003 RS232 2:3W
VID_17XX PID_60XX Mod00XX DIO 2:5W
Table 1
Fig. 5 B are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention, are such as schemed Shown in 5B, M2.2280 interfaces can be set in first electronic equipment, to connect second by the M2.2280 interfaces Electronic equipment.
Fig. 5 C are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention, are passed through Interface conversion shown in Fig. 5 B can be one kind of docking station by the structure of interface in first electronic equipment shown in Fig. 5 C Standard interface.
Fig. 5 D are an optional structural schematic diagrams of interface in the first electronic equipment provided in an embodiment of the present invention;Pass through Interface conversion shown in Fig. 5 B can be one kind of docking station by the structure of interface in first electronic equipment shown in Fig. 5 D Standard interface.
Fig. 5 E are an optional structural schematic diagrams of interface in electronic equipment provided in an embodiment of the present invention, such as Fig. 5 E institutes Show, an a kind of optional structure chart of the first electronic equipment and the second electronic equipment provided in an embodiment of the present invention, below it is right Module involved by Fig. 5 E illustrates respectively.
First electronic equipment 501, the second electronic equipment 502, wherein be provided with interface in first electronic equipment 501;
First electronic equipment 501, for the power when first electronic equipment 501 or second electronic equipment 502 When insufficient, by controlling different sub-interfaces, the sub-interface corresponding module in second electronic equipment 502 and controlled is controlled It is turned on and off;First electronic equipment 501 is laptop in the present embodiment.
Second electronic equipment 502, for working as the power of first electronic equipment or second electronic equipment not When sufficient, in response to first electronic equipment for the control of the different sub-interfaces, adjust in second electronic equipment with The sub-interface corresponding module is turned on and off;Second electronic equipment 502 is docking station in the present embodiment.
Interface, for being separately connected the first electronic equipment 501 and the second electronic equipment 502, the interface includes control The sub-interface of disparate modules in second electronic equipment, the interface is the connection with interface function in the present embodiment Line.
Fig. 6 is an optional structural schematic diagram of the first electronic equipment provided in an embodiment of the present invention, as shown in fig. 6, First electronic equipment 600 can be with include with the mobile phones of power adjustment functions, computer, digital broadcast terminal, Information transceiving equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..Shown in fig. 6 One electronic equipment 600 includes:At least one processor 601, memory 602, at least one network interface 604 and user interface 603.Various components in first electronic equipment 600 are coupled by bus system 605.It is understood that bus system 605 is used Connection communication between realizing these components.Bus system 605 further includes power bus, control in addition to including data/address bus Bus and status signal bus in addition processed.But for the sake of clear explanation, various buses are all designated as bus system 605 in figure 6.
Wherein, user interface 603 may include display, keyboard, mouse, trace ball, click wheel, button, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 602 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), Programmable read only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access store Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static RAM (SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 602 be intended to include these and any other suitable type memory.
Memory 602 in the embodiment of the present invention includes but not limited to:Three-state content addressing memory, static random storage Device can storage power data, usage record, the adjustment multiple types data such as rule to support the operation of the first electronic equipment 600. The example of these data includes:Any computer program for being operated on the first electronic equipment 600, such as operating system 6021 With application program 6022, storage power data, usage record, adjustment rule etc..Wherein, operating system 6021 includes various system journeys Sequence, such as ccf layer, core library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing.It answers It can include various application programs, such as the client with power adjustment functions or application program etc. with program 6022, be used for When realization includes the underpower when first electronic equipment or second electronic equipment, by controlling different sub-interfaces, Control in second electronic equipment with the various applied business including being turned on and off of the sub-interface corresponding module that is controlled. Realize that the program of power regulating method of the embodiment of the present invention may be embodied in application program 6022.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the operation of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 601 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..It the step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 602, and processor 601 reads the information in memory 602, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, the first electronic equipment 600 can be by one or more application application-specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing the power regulating method.
In the exemplary embodiment, the embodiment of the present invention additionally provides a kind of computer readable storage medium, such as including The memory 602 of computer program, above computer program can be executed by the processor 601 of the first electronic equipment 600, to complete Step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;Can also be including one of above-mentioned memory or arbitrary group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
When the underpower of first electronic equipment or second electronic equipment, by controlling different sub-interfaces, It controls in second electronic equipment and is turned on and off with the sub-interface corresponding module that is controlled.
Fig. 7 is an optional structural schematic diagram of the second electronic equipment provided in an embodiment of the present invention, as shown in fig. 7, Second electronic equipment 700 can be with including with the mobile phone of projecting function, computer, digital broadcast terminal, information Transceiver, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..Second electricity shown in Fig. 7 Sub- equipment 700 includes:At least one processor 701, memory 702, at least one network interface 704 and user interface 703.The Various components in two electronic equipments 700 are coupled by bus system 705.It is understood that bus system 705 for realizing Connection communication between these components.Bus system 705 further includes power bus, controlling bus in addition to including data/address bus And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 705 in the figure 7.
Wherein, user interface 703 may include display, keyboard, mouse, trace ball, click wheel, button, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 702 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), PROM, EPROM, EEPROM, FRAM, Flash Memory, magnetic surface storage, CD or CD-ROM;Magnetic surface storage can To be magnetic disk storage or magnetic tape storage.Volatile memory can be RAM, be used as External Cache.Pass through example Property but be not restricted explanation, the RAM of many forms is available, for example, SRAM, SSRAM, DRAM, SDRAM, DDRSDRAM, ESDRAM、SLDRAM、DRRAM.The memory 702 of description of the embodiment of the present invention is intended to include these and any other suitable type Memory.
Memory 702 in the embodiment of the present invention includes but not limited to:Three-state content addressing memory, static random storage Device can storage power data, usage record, the adjustment multiple types data such as rule are to support the operation of the second electronic equipment 700. The example of these data includes:Any computer program for being operated on the second electronic equipment 700, such as operating system 7021 With application program 7022, storage power data, usage record, adjustment rule etc..Wherein, operating system 7021 includes various system journeys Sequence, such as ccf layer, core library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing.It answers It can include various application programs, such as the client with power adjustment functions or application program etc. with program 7022, be used for When realization includes the underpower when first electronic equipment or second electronic equipment, set in response to first electronics The standby control for the different sub-interfaces, adjust unlatching in second electronic equipment with the sub-interface corresponding module or Various applied business including closing.Realize that the program of power regulating method of the embodiment of the present invention may be embodied in application program In 7022.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the operation of software form.Above-mentioned processing Device 701 can be general processor, DSP either other programmable logic device, discrete gate or transistor logic, point Vertical hardware component etc..Processor 701 may be implemented or execute disclosed each method, step and logic in the embodiment of the present invention Block diagram.General processor can be microprocessor or any conventional processor etc..In conjunction with disclosed in the embodiment of the present invention The step of method, can be embodied directly in hardware decoding processor and execute completion, or with hardware in decoding processor and soft Part block combiner executes completion.Software module can be located in storage medium, which is located at memory 702, processor 701 read the information in memory 702, in conjunction with the step of its hardware completion preceding method.
In the exemplary embodiment, the second electronic equipment 700 can by one or more ASIC, DSP, PLD, CPLD, FPGA, general processor, controller, MCU, Microprocessor or other electronic components are realized, for executing the power Method of adjustment.
In the exemplary embodiment, the embodiment of the present invention additionally provides a kind of computer readable storage medium, such as including The memory 702 of computer program, above computer program can be executed by the processor 701 of the second electronic equipment 700, to complete Step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;Can also be including one of above-mentioned memory or arbitrary group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
When the underpower of first electronic equipment or second electronic equipment, set in response to first electronics The standby control for the different sub-interfaces, adjust unlatching in second electronic equipment with the sub-interface corresponding module or It closes.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program production Product.Therefore, hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the embodiment of the present invention Form.Moreover, the embodiment of the present invention can be used in one or more wherein include computer usable program code calculating The form for the computer program product implemented in machine usable storage medium (including magnetic disk storage and optical memory etc.).
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be operated by computer program in implementation flow chart and/or block diagram The combination of flow and/or box in each flow and/or block and flowchart and/or the block diagram.These calculating can be provided Processing of the machine procedure operation to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine so that the operation executed by computer or the processor of other programmable data processing devices generates For realizing the function of being specified in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes Device.
The operation of these computer programs, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that operation generation stored in the computer readable memory includes behaviour Make the manufacture of device, the operating device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
The operation of these computer programs also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The operation executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all All any modification, equivalent and improvement made by within the spirit and principles in the present invention etc. should be included in the protection of the present invention Within the scope of.

Claims (10)

1. a kind of power regulating method, which is characterized in that be applied to the first electronic equipment, first electronic equipment can pass through The first interface of first electronic equipment is connect with the second electronic equipment, and the interface includes that control second electronics is set The sub-interface of standby interior disparate modules;
The method includes:
When the underpower of first electronic equipment or second electronic equipment, by controlling different sub-interfaces, control It is turned on and off with the sub-interface corresponding module that is controlled in second electronic equipment.
2. according to the method described in claim 1, it is characterized in that, described by controlling different sub-interfaces, control described second It is turned on and off with the interface corresponding module that is controlled in electronic equipment, including:
By the information of the sub-interface, the class with the sub-interface corresponding module controlled in second electronic equipment is determined Not;
It is different by controlling based on the classification with the sub-interface corresponding module controlled in identified second electronic equipment Sub-interface is controlled in second electronic equipment and is turned on and off with the sub-interface corresponding module that is controlled.
3. according to the method described in claim 1, it is characterized in that, in the control second electronic equipment with controlled Sub-interface corresponding module is turned on and off, including at least one:
It controls the module being closed in second electronic equipment and replaces at least one place in second electronic equipment In the module of operating status, so that the power of first electronic equipment meets the reserved power of first electronic equipment, or Person makes the power of second electronic equipment meet the reserved power of second electronic equipment.
4. according to the method described in claim 1, it is characterized in that, described by controlling different sub-interfaces, control described second It is turned on and off with the sub-interface corresponding module that is controlled in electronic equipment, including:
Obtain the dump power information of first electronic equipment;
First electronic equipment is determined according to the dump power information of the first power adjustment rule and first electronic equipment Module in be opened or closing second electronic equipment;
By the different sub-interfaces of control, corresponding module is turned on and off in control second electronic equipment.
5. a kind of power regulating method, which is characterized in that be applied to the second electronic equipment, the first electronic equipment can be by described The first interface of first electronic equipment is connected with second electronic equipment, and the interface includes control second electronics The sub-interface of disparate modules in equipment;
The method includes:
When the underpower of first electronic equipment or second electronic equipment, in response to the first electronic equipment needle Control to the different sub-interfaces, adjusts the unlatching in second electronic equipment with the sub-interface corresponding module or pass It closes.
6. a kind of first electronic equipment, which is characterized in that first electronic equipment includes:
First interface, for connecting first electronic equipment and the second electronic equipment;
First sub-interface is set in the first interface, for controlling disparate modules in second electronic equipment;
First control module is used to, by controlling first sub-interface, control in second electronic equipment and be controlled The first sub-interface corresponding module is turned on and off.
7. equipment according to claim 6, which is characterized in that
First control module, for by the information of first sub-interface, determining that second electronic equipment is interior and institute The classification of the first sub-interface corresponding module of control;
First control module, for being connect with first son controlled based in identified second electronic equipment The classification of mouthful corresponding module, by controlling first sub-interface, control in second electronic equipment with controlled it is described First sub-interface corresponding module is turned on and off.
8. equipment according to claim 6, which is characterized in that
First control module replaces described second for controlling the module being closed in second electronic equipment At least one module in operating status in electronic equipment, so that the power of first electronic equipment meets first electricity The reserved power of sub- equipment;
First control module replaces described second for controlling the module being closed in second electronic equipment At least one module in operating status in electronic equipment, so that the power of second electronic equipment meets second electricity The reserved power of sub- equipment.
9. a kind of second electronic equipment, which is characterized in that the first electronic equipment can pass through the first of first electronic equipment Interface is connected with second electronic equipment, and the first interface includes disparate modules in control second electronic equipment The first sub-interface;
Second electronic equipment includes:
First submodule, for the control in response to first electronic equipment for the different sub-interfaces, adjustment described the One submodule is turned on and off;
Second interface, for being separately connected first submodule and first sub-interface.
10. a kind of first electronic equipment, which is characterized in that first electronic equipment includes:
Memory, for storing executable instruction;
Processor, when executable instruction for running memory storage, perform claim requires the power tune described in 1 to 4 Adjusting method.
CN201810265344.3A 2018-03-28 2018-03-28 Power adjustment method and electronic equipment Active CN108549477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810265344.3A CN108549477B (en) 2018-03-28 2018-03-28 Power adjustment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810265344.3A CN108549477B (en) 2018-03-28 2018-03-28 Power adjustment method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108549477A true CN108549477A (en) 2018-09-18
CN108549477B CN108549477B (en) 2020-12-18

Family

ID=63517109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810265344.3A Active CN108549477B (en) 2018-03-28 2018-03-28 Power adjustment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108549477B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978352A (en) * 2007-12-13 2011-02-16 先进微装置公司 Driver architecture for computer device having multiple graphics subsystems, reduced power consumption modes, software and methods
CN102081581A (en) * 2010-10-01 2011-06-01 威盛电子股份有限公司 Power management system and method
US8286020B2 (en) * 2010-03-05 2012-10-09 Hon Hai Precision Industry Co., Ltd. Power supply and protection method thereof
CN105071795A (en) * 2015-08-17 2015-11-18 广东欧珀移动通信有限公司 Multiplex circuit based on USB interface
CN105677420A (en) * 2016-01-08 2016-06-15 深圳前海达闼云端智能科技有限公司 Method and device for interface pin configuration
CN105811027A (en) * 2016-03-08 2016-07-27 联想(北京)有限公司 Charging method and electrode device
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply
CN107210057A (en) * 2015-02-05 2017-09-26 苹果公司 Solid-state drive with self-refresh energy-saving mode

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978352A (en) * 2007-12-13 2011-02-16 先进微装置公司 Driver architecture for computer device having multiple graphics subsystems, reduced power consumption modes, software and methods
US8286020B2 (en) * 2010-03-05 2012-10-09 Hon Hai Precision Industry Co., Ltd. Power supply and protection method thereof
CN102081581A (en) * 2010-10-01 2011-06-01 威盛电子股份有限公司 Power management system and method
CN107210057A (en) * 2015-02-05 2017-09-26 苹果公司 Solid-state drive with self-refresh energy-saving mode
CN105071795A (en) * 2015-08-17 2015-11-18 广东欧珀移动通信有限公司 Multiplex circuit based on USB interface
CN105677420A (en) * 2016-01-08 2016-06-15 深圳前海达闼云端智能科技有限公司 Method and device for interface pin configuration
CN105811027A (en) * 2016-03-08 2016-07-27 联想(北京)有限公司 Charging method and electrode device
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张红兵: "USB总线中电源的功率分配", 《咸宁学院学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system
CN112000374B (en) * 2020-07-13 2024-01-02 深圳市智微智能软件开发有限公司 USB touch screen replacement method, device, equipment and medium applied to android system

Also Published As

Publication number Publication date
CN108549477B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US10789109B2 (en) Information processing method and device and computer storage medium
CN104956347B (en) By a kind of interconnection agreement enumerate and/or configuration mechanism be used for different interconnection agreements
CN101938164B (en) Power equipment control method, device and related system thereof
US11138034B2 (en) Method and apparatus for collecting information, and method and apparatus for releasing memory
US20210357137A1 (en) Memory devices with multiple sets of latencies and methods for operating the same
CN108446010A (en) Information processing method and electronic equipment
TW200837551A (en) Storage device capable of cooperating to adjust reliability, method for establishing and input data thereof
CN108806679A (en) voice awakening method and device
CN108549477A (en) A kind of power regulating method and electronic equipment
CN108763139A (en) A kind of control method and device of I2C communications
US20070283260A1 (en) Human-machine Interface System with Device Bridge and Method for Designing and Operating the Same
CN108647102A (en) Service request processing method, device and the electronic equipment of heterogeneous system
CN108563774A (en) GPS data processing method and processing device
CN109257198A (en) Adapter, management system and the network resource operation method of SDN controller
CN107609120A (en) Log information report method, device and storage medium, ADSP and terminal
US9529744B2 (en) Interface between multiple controllers
WO2020113421A1 (en) Method for mounting file system, terminal device, and storage medium
CN106095627B (en) A kind of detection method and mobile terminal of functional module group
CN116090408A (en) Text content self-adaptive implementation method capable of loading large data table component cell
CN105117370B (en) A kind of multi-protocols cryptographic algorithm processor and system on chip
CN110351104A (en) A kind of VIM selection method and device
CN107817477A (en) The signal source system and implementation method of a kind of Radar Displaying Console System
CN110457107A (en) Configuration software operational order management method, device and system
CN108509358A (en) A kind of control method and interconnecting device
CN104615539A (en) Measurement parameter processing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant