CN109388541A - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN109388541A
CN109388541A CN201811160751.4A CN201811160751A CN109388541A CN 109388541 A CN109388541 A CN 109388541A CN 201811160751 A CN201811160751 A CN 201811160751A CN 109388541 A CN109388541 A CN 109388541A
Authority
CN
China
Prior art keywords
power consumption
interface
preset
transmission state
dissipation
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.)
Pending
Application number
CN201811160751.4A
Other languages
Chinese (zh)
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 CN201811160751.4A priority Critical patent/CN109388541A/en
Publication of CN109388541A publication Critical patent/CN109388541A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0796Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the present application provides a kind of control method and electronic equipment, wherein the control method includes: to determine the interface for being in transmission state when system power dissipation is greater than preset power consumption;The power consumption of the first interface in the interface is set to be in the first power consumption based on preset rules;Wherein, first power consumption is the first interface still in power consumption needed for transmission state.The power consumption for the interface that control method provided by the present application can automatically control electronic equipment according to the size of system power dissipation is in transmission state always, does not turn off the failure that interface causes data to transmit.

Description

A kind of control method and electronic equipment
Technical field
The invention relates to smart machine field, in particular to the electronics of a kind of control method and application this method is set It is standby.
Background technique
With the diversification of the function of the electronic equipments such as mobile phone, computer, user is under different scenes for electronic equipment Demand there is also different.Several interfaces have been generally comprised in equipment at present, be respectively used to realize different function, such as with In connection output peripheral equipment, or for being connected with external memory.Wherein, if the output power consumption of each interface is usually defaulted It is 15W, if the electronics is set at this time when synchronization is there are two when two interface that external equipment connects an electronic equipment simultaneously Standby system will generate the power consumption of 30W, and it is excessively high to directly result in system power dissipation.System directly closes connect in order to reduce power consumption The problem of mouth, makes its power consumption 0, however this kind of liberation scheme causes is to work as the interface to have data in being transmitted, and is closed suddenly Interface is closed, will cause signal interruption, data transmission fails.
Apply for content
This application provides a kind of power consumptions of interface that electronic equipment can be automatically controlled according to the size of system power dissipation always The electronic equipment of this kind of control method of control method and application in stable transmission state.
In order to solve the above-mentioned technical problem, the embodiment of the present application provides a kind of control method, wherein includes:
When system power dissipation is greater than preset power consumption, the interface for being in transmission state is determined;
The power consumption of the first interface in the interface is set to be in the first power consumption based on preset rules;
Wherein, first power consumption is the first interface still in power consumption needed for transmission state.
Preferably, when it is multiple for determining the interface in transmission state, it is described to be based on connecing described in preset rules limitation The power consumption of mouth is in the first power consumption and includes:
The first interface is determined by preset order rule in the interface in transmission state;
After the first interface is turned down from power consumption before its first adjustment to the first adjustment after power consumption, current suffered system is judged Whether power consumption is greater than preset power consumption,
If it does, determining second interface according to the preset order rule;
Power consumption after the second interface is turned down from power consumption before its second adjustment to second adjustment;
So that the system power dissipation is not more than the preset power consumption, and first interface and second interface are in transmission shape State.
Preferably, the method also includes:
Determine that in running order device, the device connect with described when the system power dissipation is still greater than preset power consumption Mouth is different;
The power consumption of at least one device is turned down, so that presently described system power dissipation is less than the preset power consumption.
Preferably, the method also includes:
Determine that in running order device, the device are different from the interface;
The power consumption of at least one device is turned down, to be guaranteed at the power consumption of the first interface of data transmission state It remains in the first power consumption needed for transmission state.
Preferably, the power consumption for turning down at least one device includes:
Turn down power consumption of at least one of the described device for the device of data output.
Preferably, before determining that the system power dissipation is greater than preset power consumption, the method also includes:
It has detected that new equipment accesses the interface, the power consumption of the interface of the access new equipment is enabled to be in third power consumption, The third power consumption is the power consumption for making the interface be in transmission state;
The power consumption for making the first interface in the interface based on preset rules is in the first power consumption
The power consumption of the first interface is turned down to first power consumption based on preset rules.
Preferably, when having detected that new equipment accesses the interface, the method also includes:
The power consumption of the interface of the access new equipment is enabled to be in third power consumption, the third power consumption is for connecing this Mouth is in the power consumption of data transmission state;
If presently described system power dissipation is greater than preset power consumption, in running order device, the device and institute are determined State interface difference;
The power consumption of at least one device is turned down, so that presently described system power dissipation is less than the preset power consumption.
Preferably, if presently described system power dissipation is less than preset power consumption:
Determine the difference between presently described system power dissipation and preset power consumption;
The power consumption Adjusted Option of the interface of the access new equipment, the power consumption Adjusted Option packet are determined based on the difference It includes and keeps current power consumption or height-regulating current power consumption.
The embodiment of the present application also provides a kind of electronic equipment, wherein includes:
At least two interfaces, for connecting external equipment to carry out data transmission;
Processing unit, for determining the interface for being in transmission state, and based on pre- when system power dissipation is greater than preset power consumption If rule makes the power consumption of the first interface in the interface be in the first power consumption, wherein first power consumption connects for described first Mouth is still in power consumption needed for transmission state.
Preferably, the processing unit is also used to when it is multiple for determining the interface in transmission state:
The first interface is determined by preset order rule in the interface in transmission state;
After the first interface is turned down from power consumption before its first adjustment to the first adjustment after power consumption, current suffered system is judged Whether power consumption is greater than preset power consumption,
If it does, determining second interface according to the preset order rule;
Power consumption after the second interface is turned down from power consumption before its second adjustment to second adjustment;
So that the system power dissipation is not more than the preset power consumption, and first interface and second interface are in transmission shape State.
Disclosure based on the above embodiment can know, the embodiment of the present application have it is following the utility model has the advantages that
Electronic equipment can be made to be controlled automatically according to the current power consumption size of system based on the control method in the embodiment of the present application Each interface of electronic equipment processed is in the power consumption state that can transmit data always, the power consumption including suitably reducing certain interfaces, or The power consumption for reducing certain in running order devices without direct down interface, or is greatly reduced the power consumption of CPU, makes to set Standby normal operation is affected.That is, can not only guarantee the normal fortune of device systems based on the control method in the application Row, and do not turn off interface and cause data transmission fails, therefore reduce user to the application risk of equipment, improve user Usage experience.
Detailed description of the invention
Fig. 1 is the method flow diagram of an embodiment of the control method of the application.
Fig. 2 is the method flow diagram of another embodiment of the control method of the application.
Fig. 3 is the method flow diagram of another embodiment of the control method of the application.
Fig. 4 is the method flow diagram of another embodiment of the control method of the application.
Fig. 5 is the method flow diagram of another embodiment of the control method of the application.
Fig. 6 is the method flow diagram of another embodiment of the control method of the application.
Fig. 7 is the method flow diagram of another embodiment of the control method of the application.
Fig. 8 is the structural block diagram of the electronic equipment of the application.
Specific embodiment
In the following, being described in detail in conjunction with specific embodiment of the attached drawing to the application, but not as the restriction of the application.
It should be understood that various modifications can be made to disclosed embodiments.Therefore, following description should not regard To limit, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of this Other modifications.
The attached drawing being included in the description and forms part of the description shows embodiment of the disclosure, and with it is upper What face provided is used to explain the disclosure together to substantially description and the detailed description given below to embodiment of the disclosure Principle.
By the description of the preferred form with reference to the accompanying drawings to the embodiment for being given as non-limiting example, the application's These and other characteristic will become apparent.
It is also understood that although the application is described referring to some specific examples, those skilled in the art Member realizes many other equivalents of the application in which can determine, they have feature as claimed in claim and therefore all In the protection scope defined by whereby.
When read in conjunction with the accompanying drawings, in view of following detailed description, above and other aspect, the feature and advantage of the disclosure will become It is more readily apparent.
The specific embodiment of the disclosure is described hereinafter with reference to attached drawing;It will be appreciated, however, that the disclosed embodiments are only Various ways implementation can be used in the example of the disclosure.Known and/or duplicate function and structure and be not described in detail to avoid Unnecessary or extra details makes the disclosure smudgy.Therefore, specific structural and functionality disclosed herein is thin Section is not intended to restrictions, but as just the basis of claim and representative basis be used to instructing those skilled in the art with Substantially any appropriate detailed construction diversely uses the disclosure.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it can be referred to one or more of the identical or different embodiment according to the disclosure.
In the following, the embodiment of the present application is described in detail in conjunction with attached drawing.
As shown in Figure 1, the embodiment of the present application provides a kind of control method, wherein include:
When system power dissipation is greater than preset power consumption, the interface for being in transmission state is determined;
The power consumption of the first interface in the interface is set to be in the first power consumption based on preset rules;
Wherein, first power consumption is the first interface still in power consumption needed for transmission state.
Based on method shown in the embodiment of the present application, electronic equipment can detect that it is default that current system power consumption is greater than When power consumption, to determine which interface is currently in transmission state, being then based on preset rules makes in transmission state for detection The power consumption of first interface in interface, which is in, can make first interface still in the first power consumption of transmission state.First power consumption can For power consumption adjusted, power consumption after for example, reducing, power consumption that can also be as before, that is, do not adjust from beginning to end this The power consumption of one interface, the first interface are worked always with the first power consumption.By this kind of method, electronic equipment can be made to detect When being greater than preset power consumption to system power dissipation, the power consumption at least one interface being in transmission state by appropriate adjustment is reduced System power dissipation, while will not influence the normal operation of interface, i.e. guarantee interface will not make the power consumption of interface still in data mode Phenomena such as influencing the normal transmission of data after adjustment, such as causing loss of data generation.Alternatively, not adjusting first interface Power consumption makes the power consumption of first interface be in the first power consumption always, but other modes is used to adjust system power dissipation, and then guarantees the One interface can steadily carry out data transmission always.
For example, as shown in Fig. 2, method in the present embodiment further include:
Determine device in running order in electronic equipment, the device is different from interface, does not carry out with external equipment Data interaction;
The power consumption of at least one device is turned down, remains place to be guaranteed at the power consumption of first interface of data transmission state The first power consumption needed for transmission state.
For example, in order to reduce system power dissipation, making it no more than pre- when detecting that current system power consumption is greater than preset power consumption If power consumption, may be selected to adjust at least one in running order device, which is not any one interface, but such as key One or more of disk, memory, processor, sound equipment etc..The power consumption that electronic equipment passes through reduction at least one device Achieve the effect that the current overall power of reduction system, the power consumption without adjusting current first interface makes it be in the first function always Consumption, guarantees the transmission of its data.It, both can be by the way of reducing interface power consumption that is, when reducing system power dissipation, it can also be with Using maintenance interface current power consumption, and the mode for the power consumption for reducing at least one in running order device is selected to realize.
Further, include: in the power consumption for turning down at least one device
Turn down power consumption of at least one of the device for the device of data output.
Why selected in the present embodiment adjustment output device power consumption, firstly because the power consumption of output device usually compared with Greatly, therefore to such device the size that power consumption adjustment can be obviously improved current system power consumption is carried out.Moreover, many output devices When changing power consumption, the influence for user is not obvious, for example, the adjustment brightness of display, the display brightness of keyboard, sound equipment Output volume, display display picture size etc., system power dissipation can not only be reduced by above-mentioned adjustment, moreover, simultaneously The use of user is not very influenced, such as adjusts the brightness of display, reduce the output volume of sound equipment, not only will not influence use The use at family, and it is relatively beneficial to for user itself eye of user, ear health.Certainly, it is also not limited thereto, may be used also System power dissipation is reduced by reducing CPU, the radiated signal strength of antenna, wifi signal receiving strength etc., it is specifically not unique, User or equipment itself can be set according to the actual situation.
Further, in this embodiment preset rules be equipment in multiple interfaces priority rule, that is, need excellent Which class interface the interface first adjusted is, subsequent which class interface should be successively adjusted.For example, can be according to the pre-set priority of user Information and determine to be greater than preset power consumption when system power dissipation and when needing to adjust interface power consumption, it is preferential to adjust USB2.0 interface still USB3.0 interface is that should first adjust DP interface or USB3.0 interface etc. later;Or, the size of the power consumption according to needed for each interface and Determine the more big rule being more first adjusted of power consumption (vice versa);Or the type based on interface, it is e.g. defeated for connecting Out the interface of equipment or the interface that is connected with mobile device and determine which class interface priority is adjusted, where class interface is rear The rule being adjusted, wherein of a sort interface can just adjust remaining style interface after being only adjusted, and it is of a sort Interface can be adjusted in adjustment according to preset order, can also be randomly choosed and be adjusted, concrete mode is not unique, can also It is selected with reference to the selection mode in preset rules;Or, being determined in chronological order really according to the time of interface access device Determine the interface of more early access device more in rear adjustment, the rule that the interface of more late access device more first adjusts (vice versa);Or, Determine that if connection is the equipment such as display, mouse, keyboard, sound equipment based on the device type that each interface is connected, Pre-adjust the power consumption of the interface, and if the equipment that is connected when being the equipment such as mobile hard disk, USB flash disk, in rear adjustment interface Power consumption etc. (vice versa), it is specifically not unique.
Further, as shown in figure 3, when determine be currently at data transmission state interface be it is multiple, then equipment is in base Include: when the power consumption of preset rules limitation interface is in the first power consumption
First interface is determined by preset order rule in the interface in transmission state;
(wherein the first power consumption can be first after power consumption after first interface is turned down from power consumption before its first adjustment to the first adjustment Power consumption can also be power consumption after the first adjustment before adjusting), judge whether current suffered system power dissipation is greater than preset power consumption,
If it does, determining second interface according to preset order rule;
Power consumption after second interface is turned down from power consumption before its second adjustment to second adjustment;
So that system power dissipation is not more than preset power consumption, and first interface and second interface are in transmission state, that is, respectively Power consumption is for making each corresponding interface still in power consumption needed for transmission state after the adjustment of interface.
Certainly, if after turning down the power consumption of second interface, system power dissipation is still greater than preset power consumption, then continues suitable according to presetting Sequence rule determines third interface, and third interface is adjusted power consumption after preceding power consumption is turned down to third adjustment from its third, later Continue to test whether current system power dissipation is greater than preset power consumption.If system power dissipation is greater than preset power consumption at this time, stop adjusting, And if be less than, determine the 4th interface according to preset order rule, and adjust the 4th interface, continuing to test system power dissipation later is It is no to be greater than preset power consumption, if more than then continuing to adjust the 5th interface by above-mentioned steps, until after adjusting a certain interface, system power dissipation Until preset power consumption.Wherein, it no matter after which interface is adjusted, still is able in stable transmission state, without Can be too low because of power consumption, and occur disconnecting phenomenon, lead to data transmission fails.
The lowest power consumption of the non-interface of power consumption after above-mentioned adjustment, makes the power consumption of interface that can also have the surplus of downward, together When the power consumption of total interface complete one wheel adjustment after, if system power dissipation is still greater than preset power consumption at this time, can be connect all Mouth carries out the adjustment of next round according to above-mentioned steps, but needs to guarantee that the power consumption of interface adjusted still is able to that it is maintained to can be at Normal data transmission state.
Alternatively, as shown in figure 4, following methods also can be used:
Device in running order in electronic equipment is determined when system power dissipation is still greater than preset power consumption, the device with connect Mouth is different, does not have data interaction phenomenon with external equipment;
The power consumption of at least one device is turned down, so that current system power consumption is less than preset power consumption.
The power consumption of the device is as above content in the present embodiment, for example, the brightness of adjustment display, the display of keyboard Brightness, the output volume of sound equipment, display display picture size etc., system power dissipation is reduced with this.Certainly, can also lead to Crossing reduces CPU, the radiated signal strength of antenna, wifi signal receiving strength etc. to reduce system power dissipation, specifically not uniquely, uses Family or equipment itself can be set according to the actual situation.
Further, as shown in figure 5, in the present embodiment before determining that system power dissipation is greater than preset power consumption for the first time, this implementation Method in example further include:
It has detected new equipment access interface, has enabled the power consumption of the interface of access new equipment be in third power consumption, the third function Consumption is the power consumption for making the interface be in transmission state;
Make the power consumption of the first interface in interface be in the first power consumption based on preset order rule to include:
The power consumption of first interface is turned down to the first power consumption based on preset order rule.
That is, driving the trigger condition of the size relation between device detection system power consumption and preset power consumption is currently to set The interface that data transmission state is not in standby has accessed new equipment, it is, only when accessing new equipment, the just meeting of this equipment Relationship between detection system power consumption and preset power consumption.If testing result shows that current system power consumption is greater than preset power consumption, base The power consumption that first interface is turned down in preset order rule described above is the first power consumption, that is, before the first power consumption is less than at this time One moment, the power consumption of first interface when equipment does not access new equipment, to guarantee that the power consumption of interface of access new equipment can protect It holds on the transmission state of third power consumption.If the power consumption of system is still greater than preset power consumption and after the power consumption of first interface is turned down, Then according to mode shown in above, second interface, third interface, the 4th interface ... is adjusted based on preset order rule successively N interface (but the power consumption for not adjusting the interface of access new equipment), until being adjusted to system power dissipation and being no larger than preset power consumption.
Further, if system power dissipation is still after the power consumption of total interface of the adjustment in addition to the interface of access new equipment When greater than preset power consumption, similarly, the power consumption of at least one in running order device of adjustment may be selected, so that current system Power consumption is not more than preset power consumption, while the power consumption for accessing the interface of new equipment still is able to be maintained at the state of third power consumption.
Alternatively, following methods can also be used, as shown in fig. 6, for example when having detected new equipment access interface:
The power consumption of the interface of access new equipment is enabled to be in third power consumption, which is similarly for being in the interface The power consumption of data transmission state;
If current system power consumption is greater than preset power consumption, in running order device is determined, the device is equally and interface Difference does not carry out data interaction with external equipment;
The power consumption of at least one device is turned down, so that current system power consumption is less than preset power consumption.
That is, enabling the interface of the access new equipment be in third power consumption, later after equipment has detected new equipment access If detect that system power dissipation is greater than preset power consumption, any power consumption in transmission state is not adjusted, but is directly adjusted at least The power consumption of one in running order device, for example, adjustment display screen brightness, show the display size of picture, sound equipment it is defeated Volume out, then appropriateness reduce the processing speed of CPU, or some junk datas of cleaning, make the lower power consumption for storing equipment, or Reduce the reception ability etc. of network signal.
Further, if as shown in fig. 7, before new equipment accesses this equipment, system power dissipation is far below preset power consumption, because This, after new equipment access, when corresponding interface is carried out data transmission with third power consumption, system power dissipation may be still less than default function Consumption, at this point, the method in order to increase the data transmission bauds of new equipment Yu this equipment room, in the present embodiment further include:
Determine the difference between current system power consumption and preset power consumption;
Determine that the power consumption Adjusted Option of the interface of access new equipment, power consumption Adjusted Option include keeping current function based on difference Current power consumption is turned up in consumption.
That is, system power dissipation can then be calculated still less than preset power consumption when detecting this equipment after accessing new equipment Power consumption difference between current system power consumption and preset power consumption makes equipment based on the power consumption difference and determines the interface for being connected to new equipment Power consumption adjustable strategies.For example, at least two threshold ranges can be preset, when calculated power consumption difference is located at the first threshold When being worth in range, then show that power consumption difference is larger, there are enough power consumption surpluses for accessing the interface of new equipment and using, therefore set The standby power consumption that the interface can be turned up;And if calculated power consumption difference shows that power consumption is poor when being located within the scope of second threshold Value is smaller, uses currently without enough power consumption surpluses for accessing the interface of new equipment, because equipment will not adjust the interface Power consumption, so that it is still maintained at third power consumption.
If making corresponding at least in previous moment however, equipment detects that certain external equipment is disconnected with this equipment The interface for being constantly in data transmission state stops data and transmits, that is, possible user has pulled out outside one from certain interface at this time Equipment, when the power consumption for causing the interface current is 0, the power consumption that equipment can calculate at once between current system power consumption and preset power consumption is poor Value, and the adjustable strategies for accessing the power consumption of interface of new equipment are determined based on the power consumption difference;Can also equipment start timing at this time, When reaching a time threshold, determine that user is no longer applicable in the interface, at this time the difference between computing system power consumption and preset power consumption again Value, and the adjustable strategies for accessing the power consumption of interface of new equipment are determined based on difference.Certainly, if previously being accessed without new equipment, At this time equipment may be based on power consumption difference and by preset order rule or different from another Cahn-Ingold-Prelog sequence rule of preset order rule, example The power consumption of remaining interface is such as adjusted with the antipodal Cahn-Ingold-Prelog sequence rule of above-mentioned preset order rule, before the power consumption of one interface of every adjustment The size being both needed between computing system power consumption and preset power consumption can just be adjusted the power consumption of next interface when being only less than.
As shown in figure 8, the embodiment of the present application also provides a kind of electronic equipment simultaneously, wherein include:
At least two interfaces, for connecting external equipment to carry out data transmission;
Processing unit, for determining the interface for being in transmission state, and based on pre- when system power dissipation is greater than preset power consumption If rule makes the power consumption of the first interface in interface be in the first power consumption, wherein the first power consumption is first interface still in transmission Power consumption needed for state.
Based on electronic equipment shown in the embodiment of the present application, processing unit can be greater than detecting current system power consumption When preset power consumption, to determine which interface is currently in transmission state, being then based on preset rules makes in transmission shape for detection The power consumption of first interface in the interface of state, which is in, can make first interface still in the first power consumption of transmission state.First function Consumption can be power consumption adjusted, the power consumption after for example, reducing, power consumption that can also be as before, that is, do not adjust from beginning to end The power consumption of the first interface, the first interface are worked always with the first power consumption.By this kind of method, processing unit can be made to exist When detecting that system power dissipation is greater than preset power consumption, the power consumption of at least one interface in transmission state is in by appropriate adjustment System power dissipation is reduced, while will not influence the normal operation of interface, is i.e. guarantee interface will not make interface still in data mode Phenomena such as influencing the normal transmission of data after power consumption adjustment, such as causing loss of data generation.It is connect alternatively, not adjusting first The power consumption of mouth makes the power consumption of first interface be in the first power consumption always, but other modes is used to adjust system power dissipation, Jin Erbao Card first interface can steadily carry out data transmission always.
For example, the method in the present embodiment further include:
Determine device in running order in electronic equipment, the device is different from interface, does not carry out with external equipment Data interaction;
The power consumption of at least one device is turned down, remains place to be guaranteed at the power consumption of first interface of data transmission state The first power consumption needed for transmission state.
For example, in order to reduce system power dissipation, making it no more than pre- when detecting that current system power consumption is greater than preset power consumption If power consumption, may be selected to adjust at least one in running order device, which is not any one interface, but such as key One or more of disk, memory, processor, sound equipment etc..The power consumption that electronic equipment passes through reduction at least one device Achieve the effect that the current overall power of reduction system, the power consumption without adjusting current first interface makes it be in the first function always Consumption, guarantees the transmission of its data.It, both can be by the way of reducing interface power consumption that is, when reducing system power dissipation, it can also be with Using maintenance interface current power consumption, and the mode for the power consumption for reducing at least one in running order device is selected to realize.
Further, include: in the power consumption for turning down at least one device
Turn down power consumption of at least one of the device for the device of data output.
Why selected in the present embodiment adjustment output device power consumption, firstly because the power consumption of output device usually compared with Greatly, therefore to such device the size that power consumption adjustment can be obviously improved current system power consumption is carried out.Moreover, many output devices When changing power consumption, the influence for user is not obvious, for example, the adjustment brightness of display, the display brightness of keyboard, sound equipment Output volume, display display picture size etc., system power dissipation can not only be reduced by above-mentioned adjustment, moreover, simultaneously The use of user is not very influenced, such as adjusts the brightness of display, reduce the output volume of sound equipment, not only will not influence use The use at family, and it is relatively beneficial to for user itself eye of user, ear health.Certainly, it is also not limited thereto, may be used also System power dissipation is reduced by reducing CPU, the radiated signal strength of antenna, wifi signal receiving strength etc., it is specifically not unique, User or processing unit itself can be set according to the actual situation.
Further, in this embodiment preset rules be equipment in multiple interfaces priority rule, that is, need excellent Which class interface the interface first adjusted is, subsequent which class interface should be successively adjusted.For example, can be according to the pre-set priority of user Information and determine to be greater than preset power consumption when system power dissipation and when needing to adjust interface power consumption, it is preferential to adjust USB2.0 interface still USB3.0 interface is that should first adjust DP interface or USB3.0 interface etc. later;Or, the size of the power consumption according to needed for each interface and Determine the more big rule being more first adjusted of power consumption (vice versa);Or the type based on interface, it is e.g. defeated for connecting Out the interface of equipment or the interface that is connected with mobile device and determine which class interface priority is adjusted, where class interface is rear The rule being adjusted, wherein of a sort interface can just adjust remaining style interface after being only adjusted, and it is of a sort Interface can be adjusted in adjustment according to preset order, can also be randomly choosed and be adjusted, concrete mode is not unique, can also It is selected with reference to the selection mode in preset rules;Or, being determined in chronological order really according to the time of interface access device Determine the interface of more early access device more in rear adjustment, the rule that the interface of more late access device more first adjusts (vice versa);Or, Determine that if connection is the equipment such as display, mouse, keyboard, sound equipment based on the device type that each interface is connected, Pre-adjust the power consumption of the interface, and if the equipment that is connected when being the equipment such as mobile hard disk, USB flash disk, in rear adjustment interface Power consumption etc. (vice versa), it is specifically not unique.
Further, when determine the interface for being currently at data transmission state be it is multiple, then processing unit is based on default The power consumption of rule limitation interface includes: when being in the first power consumption
First interface is determined by preset order rule in the interface in transmission state;
(wherein the first power consumption can be first after power consumption after first interface is turned down from power consumption before its first adjustment to the first adjustment Power consumption can also be power consumption after the first adjustment before adjusting), judge whether current suffered system power dissipation is greater than preset power consumption,
If it does, determining second interface according to preset order rule;
Power consumption after second interface is turned down from power consumption before its second adjustment to second adjustment;
So that system power dissipation is not more than preset power consumption, and first interface and second interface are in transmission state, that is, respectively Power consumption is for making each corresponding interface still in power consumption needed for transmission state after the adjustment of interface.
Certainly, if after turning down the power consumption of second interface, system power dissipation is still greater than preset power consumption, then continues suitable according to presetting Sequence rule determines third interface, and third interface is adjusted power consumption after preceding power consumption is turned down to third adjustment from its third, later Continue to test whether current system power dissipation is greater than preset power consumption.If system power dissipation is greater than preset power consumption at this time, stop adjusting, And if be less than, determine the 4th interface according to preset order rule, and adjust the 4th interface, continuing to test system power dissipation later is It is no to be greater than preset power consumption, if more than then continuing to adjust the 5th interface by above-mentioned steps, until after adjusting a certain interface, system power dissipation Until preset power consumption.Wherein, it no matter after which interface is adjusted, still is able in stable transmission state, without Can be too low because of power consumption, and occur disconnecting phenomenon, lead to data transmission fails.
The lowest power consumption of the non-interface of power consumption after above-mentioned adjustment, makes the power consumption of interface that can also have the surplus of downward, together When the power consumption of total interface complete one wheel adjustment after, if system power dissipation is still greater than preset power consumption at this time, can be connect all Mouth carries out the adjustment of next round according to above-mentioned steps, but needs to guarantee that the power consumption of interface adjusted still is able to that it is maintained to can be at Normal data transmission state.
Alternatively, following methods also can be used:
Device in running order in electronic equipment is determined when system power dissipation is still greater than preset power consumption, the device with connect Mouth is different, does not have data interaction phenomenon with external equipment;
The power consumption of at least one device is turned down, so that current system power consumption is less than preset power consumption.
The power consumption of the device is as above content in the present embodiment, for example, the brightness of adjustment display, the display of keyboard Brightness, the output volume of sound equipment, display display picture size etc., system power dissipation is reduced with this.Certainly, can also lead to Crossing reduces CPU, the radiated signal strength of antenna, wifi signal receiving strength etc. to reduce system power dissipation, specifically not uniquely, uses Family or processing unit itself can be set according to the actual situation.
Further, in this embodiment the processing before determining that system power dissipation is greater than preset power consumption for the first time, in the present embodiment Device is also used to:
It has detected new equipment access interface, has enabled the power consumption of the interface of access new equipment be in third power consumption, the third function Consumption is the power consumption for making the interface be in transmission state;
Processing unit makes the power consumption of the first interface in interface be in the first power consumption based on preset order rule
The power consumption of first interface is turned down to the first power consumption based on preset order rule.
That is, drive the trigger condition of the size relation between processing unit detection system power consumption and preset power consumption to be, when The interface that data transmission state is not in preceding equipment has accessed new equipment, it is, only when accessing new equipment, this equipment Processing unit just can relationship between detection system power consumption and preset power consumption.If it is pre- that testing result shows that current system power consumption is greater than If the power consumption for then turning down first interface based on preset order rule described above is the first power consumption when power consumption, that is, at this time the One power consumption is less than previous moment, the power consumption of first interface when equipment does not access new equipment, to guarantee the interface of access new equipment Power consumption be able to maintain on the transmission state of third power consumption.If the power consumption of system is still and after the power consumption of first interface is turned down Greater than preset power consumption, then according to mode shown in above, second interface is adjusted based on preset order rule successively, third connects Mouth, the 4th the n-th interface of interface ... (but the power consumption for not adjusting the interface of access new equipment), until it is no longer big to be adjusted to system power dissipation Until preset power consumption.
Further, if system power dissipation is still after the power consumption of total interface of the adjustment in addition to the interface of access new equipment When greater than preset power consumption, similarly, the power consumption of at least one in running order device of adjustment may be selected, so that current system Power consumption is not more than preset power consumption, while the power consumption for accessing the interface of new equipment still is able to be maintained at the state of third power consumption.
Alternatively, following methods can also be used, such as when processing unit has detected new equipment access interface:
The power consumption of the interface of access new equipment is enabled to be in third power consumption, which is similarly for being in the interface The power consumption of data transmission state;
If current system power consumption is greater than preset power consumption, in running order device is determined, the device is equally and interface Difference does not carry out data interaction with external equipment;
The power consumption of at least one device is turned down, so that current system power consumption is less than preset power consumption.
That is, enable the interface of the access new equipment be in third power consumption after processing unit has detected new equipment access, If detect that system power dissipation is greater than preset power consumption later, any power consumption in transmission state is not adjusted, but is directly adjusted The power consumption of at least one in running order device, such as adjust the brightness of display screen, show display size, the sound equipment of picture Output volume, then appropriateness reduce the processing speed of CPU, or some junk datas of cleaning, make the power consumption drop for storing equipment It is low, or reduce the reception ability etc. of network signal.
Further, if before new equipment accesses this equipment, therefore system power dissipation is set far below preset power consumption newly After standby access, when corresponding interface is carried out data transmission with third power consumption, system power dissipation may be still less than preset power consumption, at this point, being Increase the data transmission bauds of new equipment and this equipment room, the processing unit in the present embodiment is also used to:
Determine the difference between current system power consumption and preset power consumption;
Determine that the power consumption Adjusted Option of the interface of access new equipment, power consumption Adjusted Option include keeping current function based on difference Current power consumption is turned up in consumption.
That is, system power dissipation then may be used still less than preset power consumption when processing unit detects this equipment after accessing new equipment The power consumption difference between current system power consumption and preset power consumption is calculated, makes processing unit based on the power consumption difference and determines and be connected to The adjustable strategies of the power consumption of the interface of new equipment.For example, at least two threshold ranges can be preset, when calculated power consumption is poor When value is located in first threshold range, then show that power consumption difference is larger, there is enough power consumption surpluses connecing for access new equipment Mouth uses, therefore the power consumption of the interface can be turned up in processing unit;And if calculated power consumption difference is located at second threshold range When interior, then show that power consumption difference is smaller, is used currently without enough power consumption surpluses for accessing the interface of new equipment, because setting The standby power consumption that will not adjust the interface, makes it be still maintained at third power consumption.
If making corresponding at least previous however, processing unit detects that certain external equipment is disconnected with this equipment The interface that moment is constantly in data transmission state stops data and transmits, that is, possible user has pulled out one from certain interface at this time External equipment, when the power consumption for causing the interface current is 0, processing unit can be calculated at once between current system power consumption and preset power consumption Power consumption difference, and based on the power consumption difference determine access new equipment interface power consumption adjustable strategies;Processing unit can also Start timing at this time, when reaching a time threshold, determine that user is no longer applicable in the interface, at this time computing system power consumption and pre- again If the difference between power consumption, and the adjustable strategies for accessing the power consumption of interface of new equipment are determined based on difference.Certainly, if previously without new Equipment access, then at this time processing unit may be based on power consumption difference and by preset order rule or different from preset order rule Another Cahn-Ingold-Prelog sequence rule, such as adjust with the antipodal Cahn-Ingold-Prelog sequence rule of above-mentioned preset order rule the power consumption of remaining interface, every tune The size being both needed between computing system power consumption and preset power consumption before the power consumption of a whole interface, just can be to next interface when being only less than Power consumption is adjusted.
It is apparent to those skilled in the art that for convenience and simplicity of description, the data of foregoing description The electronic equipment that processing method is applied to, can be with reference to the corresponding description in before-mentioned products embodiment, and details are not described herein.
Above embodiments are only the exemplary embodiment of the application, are not used in limitation the application, the protection scope of the application It is defined by the claims.Those skilled in the art can make respectively the application in the essence and protection scope of the application Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as falling within the scope of protection of this application.

Claims (10)

1. a kind of control method, wherein include:
When system power dissipation is greater than preset power consumption, the interface for being in transmission state is determined;
The power consumption of the first interface in the interface is set to be in the first power consumption based on preset rules;
Wherein, first power consumption is the first interface still in power consumption needed for transmission state.
2. described to be based on when it is multiple for determining the interface in transmission state according to the method described in claim 1, wherein The power consumption that preset rules limit the interface is in the first power consumption
The first interface is determined by preset order rule in the interface in transmission state;
After the first interface is turned down from power consumption before its first adjustment to the first adjustment after power consumption, current suffered system power dissipation is judged Whether preset power consumption is greater than;
If it does, determining second interface according to the preset order rule;
Power consumption after the second interface is turned down from power consumption before its second adjustment to second adjustment;
So that the system power dissipation is not more than the preset power consumption, and first interface and second interface are in transmission state.
3. according to the method described in claim 2, wherein, the method also includes:
In running order device is determined when the system power dissipation is still greater than preset power consumption, the device and the interface are not Together;
The power consumption of at least one device is turned down, so that presently described system power dissipation is not more than the preset power consumption.
4. according to the method described in claim 1, wherein, the method also includes:
Determine that in running order device, the device are different from the interface;
Turn down the power consumption of at least one device, be guaranteed at data transmission state the first interface power consumption always Remain first power consumption.
5. the method according to claim 3 or 4, wherein the power consumption for turning down at least one device includes:
Turn down power consumption of at least one of the described device for the device of data output.
6. according to the method described in claim 1, wherein, before determining that the system power dissipation is greater than preset power consumption, the method Further include:
It has detected that new equipment accesses the interface, the power consumption of the interface of the access new equipment is enabled to be in third power consumption, it is described Third power consumption is the power consumption for making the interface be in transmission state;
The power consumption for making the first interface in the interface based on preset rules is in the first power consumption
The power consumption of the first interface is turned down to first power consumption based on preset rules.
7. according to the method described in claim 2, wherein, when having detected that new equipment accesses the interface, the method is also Include:
The power consumption of the interface of the access new equipment is enabled to be in third power consumption, the third power consumption is for making the interface In the power consumption of data transmission state;
If presently described system power dissipation is greater than preset power consumption, determine that in running order device, the device connect with described Mouth is different;
The power consumption of at least one device is turned down, so that presently described system power dissipation is not more than the preset power consumption.
8. according to the method described in claim 7, wherein, if presently described system power dissipation is less than preset power consumption:
Determine the difference between presently described system power dissipation and preset power consumption;
Determine that the power consumption Adjusted Option of the interface of the access new equipment, the power consumption Adjusted Option include protecting based on the difference It holds current power consumption or current power consumption is turned up.
9. a kind of electronic equipment, wherein include:
At least two interfaces, for connecting external equipment to carry out data transmission;
Processing unit, for when system power dissipation is greater than preset power consumption, determining the interface for being in transmission state, and based on default rule So that the power consumption of the first interface in the interface is in the first power consumption, wherein first power consumption be the first interface still In power consumption needed for transmission state.
10. electronic equipment according to claim 9, wherein described when it is multiple for determining the interface in transmission state Processing unit is also used to:
The first interface is determined by preset order rule in the interface in transmission state;
After the first interface is turned down from power consumption before its first adjustment to the first adjustment after power consumption, current suffered system power dissipation is judged Whether preset power consumption is greater than,
If it does, determining second interface according to the preset order rule;
Power consumption after the second interface is turned down from power consumption before its second adjustment to second adjustment;
So that the system power dissipation is not more than the preset power consumption, and first interface and second interface are in transmission state.
CN201811160751.4A 2018-09-30 2018-09-30 A kind of control method and electronic equipment Pending CN109388541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160751.4A CN109388541A (en) 2018-09-30 2018-09-30 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160751.4A CN109388541A (en) 2018-09-30 2018-09-30 A kind of control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN109388541A true CN109388541A (en) 2019-02-26

Family

ID=65419255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160751.4A Pending CN109388541A (en) 2018-09-30 2018-09-30 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN109388541A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562835A (en) * 2020-04-30 2020-08-21 合肥联宝信息技术有限公司 Control method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201594A1 (en) * 2007-02-21 2008-08-21 Sony Corporation Electronic appliance, method of setting return interface, return communication method and computer program
CN102156530A (en) * 2010-09-30 2011-08-17 华为终端有限公司 Power consumption management method and device thereof for mobile terminal
CN105045338A (en) * 2015-06-30 2015-11-11 西安理工大学 Multiple-peripheral-equipment and low-energy-consumption computer architecture and control method
CN107122037A (en) * 2017-04-21 2017-09-01 深圳东方酷音信息技术有限公司 Method and device and system for reducing Type C interface power consumptions
CN107342873A (en) * 2016-04-29 2017-11-10 华为技术有限公司 A kind of power consumption control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080201594A1 (en) * 2007-02-21 2008-08-21 Sony Corporation Electronic appliance, method of setting return interface, return communication method and computer program
CN102156530A (en) * 2010-09-30 2011-08-17 华为终端有限公司 Power consumption management method and device thereof for mobile terminal
CN105045338A (en) * 2015-06-30 2015-11-11 西安理工大学 Multiple-peripheral-equipment and low-energy-consumption computer architecture and control method
CN107342873A (en) * 2016-04-29 2017-11-10 华为技术有限公司 A kind of power consumption control method and device
CN107122037A (en) * 2017-04-21 2017-09-01 深圳东方酷音信息技术有限公司 Method and device and system for reducing Type C interface power consumptions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562835A (en) * 2020-04-30 2020-08-21 合肥联宝信息技术有限公司 Control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN104601203B (en) A kind of low-power consumption bluetooth equipment dynamically adjusts the method and device of Connecting quantity
KR101329014B1 (en) Apparatus and method for controlling mode of switching ic in a portable device
CN101615067B (en) Coordinated link power management
KR100973103B1 (en) High data rate interface
JP5634608B2 (en) Charging port
US20070079033A1 (en) Universal serial bus device having logical circuit for conversive and immediate host reset operation
CN102402454B (en) Method for regulating memory operation frequency and electronic device
CN104243479A (en) Peripheral integration device and method
KR20060113333A (en) System and method for accessing universal serial bus networks
CN103731911A (en) Wireless router control method and device and wireless router applying same
US8745170B2 (en) Dynamic file streaming
CN105786402A (en) Method and apparatus for dynamic adjustment of speed of memory device
WO2019024641A1 (en) Data synchronization method and apparatus, storage medium and electronic device
KR100606577B1 (en) Apparatus and method for controlling data transmission speed of serial ata interface
CN106131334A (en) Control the method and device of mobile terminal screen state
CN109388541A (en) A kind of control method and electronic equipment
CN113273134A (en) Hasp type Power Over Ethernet (POE) monitoring system
CN108121434B (en) Clock control method of display interface, mobile terminal and storage medium
WO2020103080A1 (en) Method for reducing power consumption, terminal device, and storage medium
US10439416B2 (en) Method for outputting charging current according to displayed media and power amplifier
US8782298B2 (en) Computing device and method for adjusting physical links of a SAS expander of the computing device
KR101268852B1 (en) A universal serial bus peripheral device and Method for reducing a transmitting power in thereof
CN109660670B (en) Automatic backlight adjusting method and system, terminal device and storage medium
CN115543459A (en) Server memory configuration method and device, electronic equipment and readable storage medium
JP2006011865A (en) Cell phone terminal power supply 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