CN109710051A - A kind of processing method and electronic equipment - Google Patents
A kind of processing method and electronic equipment Download PDFInfo
- Publication number
- CN109710051A CN109710051A CN201811609000.6A CN201811609000A CN109710051A CN 109710051 A CN109710051 A CN 109710051A CN 201811609000 A CN201811609000 A CN 201811609000A CN 109710051 A CN109710051 A CN 109710051A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- mode
- threshold
- under
- mould group
- 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
Links
Abstract
This application provides a kind of processing method and electronic equipment, method includes: to obtain in power process by first method, monitors whether externally to provide electric energy using second method;It determines and externally provides electric energy using the second method, obtain the power consumption parameter under the first method;If the power consumption parameter is greater than first threshold, the first mode of the second method work at present is switched to second mode, wherein the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption;In the application, during electronic equipment obtains electric energy and externally provides electric energy by second method simultaneously by first method, if it is determined that the power consumption parameter under first method is greater than first threshold, the highest for then directly reducing second method work at present allows power consumption, guarantee to meet the power consumption requirements under first method in this way, without increasing power consumption by replacing the mould group that first method is carried for electronic equipment, the flexibility of control is improved.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of processing method and electronic equipment.
Background technique
Currently, electronic equipment such as can be by adaptor charge mode by ad hoc fashion itself to provide electric energy
Itself provides electric energy.And distinct electronic apparatuses permitted highest power consumption under ad hoc fashion is different, correspondingly, the mould group carried
Also different.
Some electronic equipments can also mention while providing electric energy by ad hoc fashion for itself for other electronic equipments
For electric energy, such as laptop electric energy can be provided for mobile phone.And if both scenes occur simultaneously, it is necessary to increase specific
The power consumption for the mould group carried under mode.
And then need to increase by way of more mold changing group its power consumption in the prior art, it is obviously desirable to increase cost, no
Convenient for flexibly controlling.
Summary of the invention
In view of this, the present invention provides a kind of processing method and electronic equipment, to solve the above technical problems.
To achieve the above object, the invention provides the following technical scheme:
A kind of processing method, comprising:
It is obtained in power process by first method, monitors whether externally to provide electric energy using second method;
It determines and externally provides electric energy using the second method, obtain the power consumption parameter under the first method;
If the power consumption parameter is greater than first threshold, the first mode of the second method work at present is switched to second
Mode, wherein the highest that the highest under the second mode allows power consumption to be less than under the first mode allows power consumption.
Preferably, further includes:
It works in the second mode in the second method, monitors whether the power consumption parameter is reduced to second threshold
Below;The second threshold is less than the first threshold;
Determine that the power consumption parameter is reduced to the second threshold hereinafter, by described the of the second method work at present
Two modes are switched to the first mode.
Preferably, further includes:
Whether the monitoring power consumption parameter is constantly in the second threshold hereinafter, if so, triggering institute within first time
It states and the second mode of the second method work at present is switched to the first mode.
Preferably, the power consumption parameter obtained under the first method, comprising:
Institute is obtained by the sensor being arranged in series between the corresponding first mould group of the first method and charging interface
State the power consumption parameter under first method.
Preferably, further includes:
Determine the difference that the highest under the first mode allows the highest under power consumption and the second mode to allow power consumption;
The difference is subtracted on the basis of the first threshold obtains the second threshold.
A kind of electronic equipment, comprising:
First mould group, for obtaining electric energy by first method;
Second mould group, for externally providing electric energy by second method;
Whether external processor monitors the second mould group for obtaining in power process by the first mould group
Electric energy is provided, determines and externally provides electric energy using the second mould group, the power consumption parameter under the first mould group is obtained, if described
Power consumption parameter is greater than first threshold, the first mode of the second mould group work at present is switched to second mode, wherein described
The highest that highest under second mode allows power consumption to be less than under the first mode allows power consumption.
Preferably, the processor is also used to work in the second mode in the second mould group, monitors the function
Whether consumption parameter is reduced to second threshold or less;The second threshold is less than the first threshold, determines the power consumption parameter drop
As low as the second threshold hereinafter, the second mode of the second mould group work at present is switched to the first mode.
Preferably, the processor is also used to whether the monitoring power consumption parameter within first time is constantly in described the
Two threshold values are hereinafter, if so, executing the second mode by the second mould group work at present is switched to first mould
Formula.
Preferably, further includes:
Sensor between the first mould group and charging interface is set;
The processor is specifically used for obtaining by the sensor being arranged in series between the first mould group and charging interface
Take the power consumption parameter under the first mould group.
A kind of electronic equipment, comprising:
First monitoring unit is monitored whether for obtaining in power process by first method using second method pair
Outer offer electric energy;
First acquisition unit externally provides electric energy using the second method for determining, obtains under the first method
Power consumption parameter;
First switch unit, if being greater than first threshold for the power consumption parameter, by the second method work at present
First mode is switched to second mode, wherein the highest under the second mode allows power consumption to be less than under the first mode
Highest allows power consumption.
It can be seen via above technical scheme that compared with prior art, the embodiment of the present application provides a kind of processing method,
It by obtaining in power process by first method, monitors whether externally to provide electric energy using second method, determine using the
Two modes externally provide electric energy, obtain the power consumption parameter under the first method, will if the power consumption parameter is greater than first threshold
The first mode of the second method work at present is switched to second mode, wherein the highest under the second mode allows function
Consumption, which is less than the highest under the first mode, allows power consumption;It can be seen that being obtained in electronic equipment by first method in the application
During taking electric energy and externally providing electric energy by second method simultaneously, however, it is determined that the power consumption parameter under first method is greater than the
One threshold value, the then highest for directly reducing second method work at present allow power consumption, guarantee to meet under first method in this way
Power consumption requirements improve the flexible of control without increasing power consumption by replacing the mould group that first method is carried for electronic equipment
Property.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram for processing method that the application embodiment of the method one provides;
Fig. 2 is a kind of flow diagram for processing method that the application embodiment of the method two provides;
Fig. 3 is a kind of flow diagram for processing method that the application embodiment of the method three provides;
Fig. 4 is the structural schematic diagram that position is arranged in the sensor that the application embodiment of the method four provides;
Fig. 5 is a kind of flow diagram for processing method that the application embodiment of the method five provides;
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that the application Installation practice one provides;
Fig. 7 is the structural schematic diagram for a kind of electronic equipment that the application Installation practice four provides;
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that the application Installation practice five provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The application embodiment of the method one provides a kind of processing method, and this method can be applied in electronic equipment, such as hand
The various terminal equipments such as machine, tablet computer, notebook.As shown in Figure 1, this method comprises the following steps:
Step 101: being obtained in power process by first method, detect whether externally to provide electricity using second method
Energy;
First method and second method represent different charge and discharge systems.Specifically, first method be wired mode, second
Mode is wireless mode, alternatively, first method is wireless mode, second method is wired mode, alternatively, first method is first
Wired mode, second method are the second wired mode, and the first wired mode is different from the second wired mode.Wherein, due to first
Mode is different from second method, and therefore, first method and second method correspond to different mould groups.
For example, first method includes but is not limited in such a way that adapter obtains electric energy, second method includes but unlimited
In in such a way that wireless charging module externally provides electric energy.
Step 102: determining and externally provide electric energy using second method, obtain the power consumption parameter under first method;
When determining that electronic equipment during obtaining electric energy by first method, while externally being mentioned using second method
For electric energy, then the power consumption parameter under first method is obtained.
The power consumption parameter is used to characterize the electric energy power consumption under first method, is specifically as follows power parameter, current parameters etc.
Deng.Such as, which can be the current power consumption parameter of the first mould group corresponding with first method, and such as the first mould group is adaptation
Device, then the power consumption parameter can be the current power consumption parameter of adapter.
It should be noted that the operation of electronic equipment loads difference, the power consumption parameter under first method is different, and operation load is got over
Greatly, the power consumption parameter under first method is bigger, and operation load is smaller, and the power consumption parameter under first method is smaller.
Step 103: if the power consumption parameter is greater than first threshold, the first mode of the second method work at present being cut
It is changed to second mode.
First threshold is preset, setting value can the maximum power dissipation based on the first mould group corresponding with first method it is true
It is fixed.For example, the maximum power dissipation of the first mould group is 120w, then, first threshold can be set as 119w, when power consumption parameter is more than
When 119w, then the first mode of second method work at present is switched to second mode, in this way, can reduce first
Power consumption parameter under mode.
Second method can correspond to the second mould group, and the first mode of second method work at present is switched to second mode
It may include: that the second mould group is switched to second mode by the first mode of work at present.
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.For example, the first mould
The highest of formula allows power consumption to be 20w, and the highest of second mode allows power consumption to be 8w, then, by the of second method work at present
One pattern switching is after second mode, power consumption parameter can at least reduce 10w.If second method is wireless mode, then first
Mode can be EPP (Extended Power Profile) mode, and second mode can be BPP (Baseline Power
Profile) mode.Wherein, the highest of EPP mode allows power consumption to be 15w, and the highest of BPP mode allows power consumption to be 5w.
It can be seen that in the application embodiment of the method one, by being obtained in power process by first method, monitoring
Whether second method is used externally to provide electric energy, determines and externally provide electric energy using second method, obtain under the first method
Power consumption parameter, if the power consumption parameter be greater than first threshold, the first mode of the second method work at present is switched to
Second mode, wherein the highest that the highest under the second mode allows power consumption to be less than under the first mode allows power consumption;By
This in the application as it can be seen that obtaining electric energy by first method in electronic equipment and externally providing electric energy by second method simultaneously
During, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces second method work at present
Highest allows power consumption, guarantees to meet the power consumption requirements under first method in this way, without by replacing first for electronic equipment
Mould group that mode is carried increases power consumption, improves the flexibility of control.
The application embodiment of the method two provides a kind of processing method, as shown in Fig. 2, including the following steps:
Step 201: being obtained in power process by first method, monitor whether externally to provide electricity using second method
Energy;
Step 202: determining and externally provide electric energy using the second method, obtain the power consumption ginseng under the first method
Number;
Step 203: if the power consumption parameter is greater than first threshold, the first mode of the second method work at present being cut
It is changed to second mode;
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.
Step 204: working in the second mode in the second method, monitor whether the power consumption parameter is reduced to
Below second threshold;
Wherein, the second threshold is less than the first threshold.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can power consumption parameter be lower than second threshold when,
Second method is switched to first mode by second mode again.And the design parameter value of second threshold can preset for system
Fixed value, can also be obtained by system-computed, specific calculation can will be described later.
Step 205: determining that the power consumption parameter is reduced to the second threshold hereinafter, by the second method work at present
The second mode be switched to the first mode.
In the application embodiment of the method two, electric energy is obtained by first method in electronic equipment and passes through second party simultaneously
During formula externally provides electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces by second
The highest of mode work at present allows power consumption, can guarantee the power consumption requirements of first method in this way, without by for electronic equipment
The mould group carried increases power consumption under replacement first method, improves the flexibility of control;Also, exist when in second method work
Under the second mode, however, it is determined that the power consumption parameter is reduced to the second threshold hereinafter, can also be current by second method
The second mode of work switches back into first mode, ensure that on the basis of not influencing the power consumption requirements of first method, improves the
Two modes externally improve the efficiency of electric energy.
The application embodiment of the method three provides a kind of processing method, as shown in figure 3, this method comprises the following steps:
Step 301: being obtained in power process by first method, monitor whether externally to provide electricity using second method
Energy;
Step 302: determining and externally provide electric energy using the second method, obtain the power consumption ginseng under the first method
Number;
Step 303: if the power consumption parameter is greater than first threshold, the first mode of the second method work at present being cut
It is changed to second mode;
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.
Step 304: working in the second mode in the second method, monitor whether the power consumption parameter is reduced to
Below second threshold;
Wherein, second threshold is less than the first threshold.
Step 305: determining that the power consumption parameter is reduced to the second threshold hereinafter, monitoring the function within first time
Whether consumption parameter is constantly in the second threshold hereinafter, if so, entering step 306;If it is not, keeping second method work at present
The second mode.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can be when power consumption parameter meet condition, then incite somebody to action
Second method is switched to first mode by second mode.And mode is carried out if merely by power consumption parameter lower than second threshold
Switching cause the power consumption parameter under first method to neglect the feelings for rising and neglecting drop it is possible that system current working status is unstable
Condition occurs, and therefore, can start timing, to monitor whether at first when power consumption parameter is reduced to second threshold or less
Whether interior power consumption parameter is constantly in the second threshold hereinafter, if being in, and illustrates that system current working status is stablized, then may be used
The second mode of second method work at present is switched back into first mode.
Step 306: the second mode of second method work at present is switched to first mode.
In the application embodiment of the method three, electric energy is obtained by first method in electronic equipment and passes through second party simultaneously
During formula externally provides electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces by second
The highest of mode work at present allows power consumption, can guarantee the power consumption requirements of first method in this way, without by for electronic equipment
The mould group carried increases power consumption under replacement first method, improves the flexibility of control;Also, exist when in second method work
Under second mode, however, it is determined that power consumption parameter is reduced to the second threshold hereinafter, monitoring power consumption parameter always within first time
In second threshold hereinafter, first mode can also be switched back into the second mode of second method work at present, it ensure that and be
On the basis of stable working state of uniting, the efficiency that second method externally improves electric energy is improved.
In the application embodiment of the method four, the power consumption parameter under the first method is obtained, comprising:
Institute is obtained by the sensor being arranged in series between the corresponding first mould group of the first method and charging interface
State the power consumption parameter under first method.
The sensor may include but be not limited to current sensor.
For ease of understanding, it is illustrated with a specific application example, if first method is the mode that adapter obtains electric energy,
Second method is the mode that wireless charging module obtains electric energy, as shown in figure 4, (can not show in figure at the end 19V and charging interface
Series-connected current sensors between out), and first threshold is set, when current parameters reach first threshold, triggering alert signal is logical
Know that processor EC, EC control wireless charging mould group corresponding with second method and be switched to second mode by first mode.
In the application embodiment of the method five, as shown in figure 5, this method comprises the following steps:
Step 501: being obtained in power process by first method, monitor whether externally to provide electricity using second method
Energy;
Step 502: determining and externally provide electric energy using the second method, obtain the power consumption ginseng under the first method
Number;
Step 503: if the power consumption parameter is greater than first threshold, the first mode of the second method work at present being cut
It is changed to second mode;
Step 504: determining that the highest under the first mode allows the highest under power consumption and the second mode to allow function
The difference of consumption;
Step 505: subtracting the difference on the basis of first threshold and obtain the second threshold;
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can power consumption parameter be lower than second threshold when,
Second method is switched to first mode by second mode again.
Specifically, can determine that the highest under the first mode allows the highest under power consumption and the second mode to allow
Then the difference of power consumption subtracts the difference on the basis of first threshold and obtains second threshold.
For example, the highest of first mode allows power consumption to be 15w, the highest of second mode allows power consumption to be 5w, and the first threshold
Value is 119w, then the highest under first mode allows the highest under power consumption and second mode that the difference of power consumption is allowed to be 10w,
Difference is subtracted on the basis of first threshold obtains second threshold 109w.
Step 506: working in the second mode in the second method, monitor whether the power consumption parameter is reduced to
Below second threshold;
Step 507: determining that the power consumption parameter is reduced to the second threshold hereinafter, by the second method work at present
The second mode be switched to the first mode.
In another embodiment of the application, power consumption parameter can also be monitored when power consumption parameter is lower than below second threshold
Whether second threshold is constantly in hereinafter, if so, the second mode of second method work at present is switched to first mode.
In the application embodiment of the method five, electric energy is obtained by first method in electronic equipment and passes through second party simultaneously
During formula externally provides electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces by second
The highest of mode work at present allows power consumption, can guarantee the power consumption requirements of first method in this way, without by for electronic equipment
The mould group carried increases power consumption under replacement first method, improves the flexibility of control;Also, exist when in second method work
Under second mode, can by system-computed second threshold, thus determine power consumption parameter be reduced to the second threshold hereinafter, will
The second mode of second method work at present switches back into first mode, ensure that the base in the power consumption requirements for not influencing first method
On plinth, the efficiency that second method externally improves electric energy is improved.
Corresponding with a kind of above-mentioned processing method, the embodiment of the present application also provides a kind of electronic equipment, below by way of several
A embodiment detailed description.
The application Installation practice one provides a kind of electronic equipment, as shown in fig. 6, a kind of electronic equipment includes: first
Mould group 100, the second mould group 200, processor 300;Wherein:
First mould group 100, for obtaining electric energy by first method;
Second mould group 200, for externally providing electric energy by second method;
First method and second method represent different charge and discharge systems.Specifically, first method be wired mode, second
Mode is wireless mode, alternatively, first method is wireless mode, second method is wired mode, alternatively, first method is first
Wired mode, second method are the second wired mode, and the first wired mode is different from the second wired mode.Wherein, due to first
Mode is different from second method, and therefore, the first mould group is different with the second mould group.
For example, the first mould group includes but is not limited to adapter, correspondingly, first method includes but is not limited to pass through adapter
The mode of electric energy is obtained, the second mould group includes but is not limited to wireless charging mould group, correspondingly, second method includes but is not limited to logical
It crosses wireless charging module and the mode of electric energy is externally provided.
Whether right processor 300 monitors the second mould group for obtaining in power process by the first mould group
Outer offer electric energy determines and externally provides electric energy using the second mould group, the power consumption parameter under the first mould group is obtained, if institute
Power consumption parameter is stated greater than first threshold, the first mode of the second mould group work at present is switched to second mode.
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.
The power consumption parameter is used to characterize the electric energy power consumption under first method, is specifically as follows power parameter, current parameters etc.
Deng.Such as, which can be the current power consumption parameter of the first mould group, and such as the first mould group is adapter, then the power consumption is joined
Number can be the current power consumption parameter of adapter.
It should be noted that the operation of electronic equipment loads difference, the power consumption parameter of the first mould group is different, and operation load is got over
Greatly, the power consumption parameter of the first mould group is bigger, and operation load is smaller, and the power consumption parameter of the first mould group is smaller.
First threshold is preset, and setting value can be determined based on the maximum power dissipation of the first mould group.For example, the first mould group
Maximum power dissipation is 120w, then, first threshold can be set as 119w, when power consumption parameter is more than 119w, then by the second mould group
The first mode of work at present is switched to second mode, in this way, can reduce the power consumption parameter of the first mould group.
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.For example, the first mould
The highest of formula allows power consumption to be 20w, and the highest of second mode allows power consumption to be 8w, then, by the of the second mould group work at present
One pattern switching is after second mode, power consumption parameter can at least reduce 10w.If the second mould group is wireless charging mould group, then
First mode can be EPP mode, and second mode can be BPP mode.Wherein, the highest of EPP mode allows power consumption to be 15w,
The highest of BPP mode allows power consumption to be 5w.
It can be seen that obtaining electric energy in the application by the first mould group in electronic equipment and passing through the second mould group pair simultaneously
During outer offer electric energy, however, it is determined that the power consumption parameter of the first mould group is greater than first threshold, then directly reduces the second mould group and work as
The highest of preceding work allows power consumption, guarantees the power consumption requirements for meeting the first mould group in this way, without by for electronic equipment more
The mould group of first method carrying is changed to increase power consumption, improves the flexibility of control.
In the application Installation practice two, processor is also used to work under the second mode in the second mould group, monitors institute
State whether power consumption parameter is reduced to second threshold hereinafter, determining that the power consumption parameter is reduced to the second threshold hereinafter, by institute
The second mode for stating the second mould group work at present is switched to the first mode.
Wherein, second threshold is less than first threshold.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can power consumption parameter be lower than second threshold when,
The second mould group is switched to first mode by second mode again.And the design parameter value of second threshold can preset for system
Fixed value, can also be obtained by system-computed, it is specific:
Processor is used to determine that the highest under first mode to allow the difference of the highest permission power consumption under power consumption and second mode
Value, the difference is subtracted on the basis of first threshold and obtains second threshold.
In the application Installation practice two, electric energy is obtained by the first mould group in electronic equipment and passes through the second mould simultaneously
During group externally provides electric energy, however, it is determined that the power consumption parameter of the first mould group is greater than first threshold, then directly reduces the second mould
Group work at present highest allow power consumption, can guarantee the power consumption requirements of the first mould group in this way, without by for electronic equipment more
The first mould group is changed to increase power consumption, improves the flexibility of control;Also, it works when in the second mould group in the second mode
Under, however, it is determined that the power consumption parameter is reduced to the second threshold hereinafter, can also be by the second mould of the second mould group work at present
Formula switches back into first mode, ensure that on the basis of not influencing the power consumption requirements of the first mould group, improves the second mould group and externally mentions
The efficiency of high electric energy.
In the application Installation practice three, processor be also used within first time the monitoring power consumption parameter whether one
Directly the second threshold is in hereinafter, switching if so, executing the second mode by the second mould group work at present
To the first mode.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then the second mould group is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can be when power consumption parameter meet condition, then incite somebody to action
Second mould group is switched to first mode by second mode.And mode is carried out if merely by power consumption parameter lower than second threshold
Switching cause the power consumption parameter of the first mould group to neglect to rise and neglect the case where dropping it is possible that system current working status is unstable
Occur, therefore, timing can be started when power consumption parameter is reduced to second threshold or less, to monitor whether at the first time
Whether interior power consumption parameter is constantly in the second threshold hereinafter, if being in, and illustrates that system current working status is stablized, then can be with
The second mode of second mould group work at present is switched back into first mode.
The application Installation practice four provides a kind of electronic equipment, as shown in fig. 7, comprises: the first mould group 100, second
Mould group 200, processor 300 and sensor 400;Wherein:
First mould group 100, for obtaining electric energy by first method;
Sensor 400 is arranged in series between the first mould group 100 and charging interface (not shown), for obtaining the first mould
The power consumption parameter of group 100.
The sensor may include but be not limited to current sensor.
Second mould group 200, for externally providing electric energy by second method;
Whether right processor 300 monitors the second mould group for obtaining in power process by the first mould group
Outer offer electric energy determines and externally provides electric energy using the second mould group, by being arranged in series in the first mould group 100 and charging
Sensor 400 between mouthful obtains the power consumption parameter under the first mould group 100, if the power consumption parameter is greater than first threshold, by institute
The first mode for stating the second mould group work at present is switched to second mode.
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.
Corresponding with a kind of above-mentioned processing method, present invention also provides another electronic equipments, real in the application device
It applies in example five, as shown in figure 8, a kind of electronic equipment includes: the first monitoring unit 801, first acquisition unit 802 and first cuts
Change unit 803;Wherein:
First monitoring unit 801 is monitored whether for obtaining in power process by first method using second method
Electric energy is externally provided;
First method and second method represent different charge and discharge systems.Specifically, first method be wired mode, second
Mode is wireless mode, alternatively, first method is wireless mode, second method is wired mode, alternatively, first method is first
Wired mode, second method are the second wired mode, and the first wired mode is different from the second wired mode.Wherein, due to first
Mode is different from second method, and therefore, first method and second method correspond to different mould groups.
For example, first method includes but is not limited in such a way that adapter obtains electric energy, second method includes but unlimited
In in such a way that wireless charging module externally provides electric energy.
First acquisition unit 802 externally provides electric energy using the second method for determining, obtains the first method
Under power consumption parameter;
When determining that electronic equipment during obtaining electric energy by first method, while externally being mentioned using second method
For electric energy, then the power consumption parameter under first method is obtained.
The power consumption parameter is used to characterize the electric energy power consumption under first method, is specifically as follows power parameter, current parameters etc.
Deng.Such as, which can be the current power consumption parameter of the first mould group corresponding with first method, and such as the first mould group is adaptation
Device, then the power consumption parameter can be the current power consumption parameter of adapter.
It should be noted that the operation of electronic equipment loads difference, the power consumption parameter under first method is different, and operation load is got over
Greatly, the power consumption parameter under first method is bigger, and operation load is smaller, and the power consumption parameter under first method is smaller.
First switch unit 803, if being greater than first threshold for the power consumption parameter, by the second method work at present
First mode be switched to second mode, wherein highest under the second mode allows power consumption to be less than under the first mode
Highest allow power consumption.
First threshold is preset, setting value can the maximum power dissipation based on the first mould group corresponding with first method it is true
It is fixed.For example, the maximum power dissipation of the first mould group is 120w, then, first threshold can be set as 119w, when power consumption parameter is more than
When 119w, then the first mode of second method work at present is switched to second mode, in this way, can reduce first
Power consumption parameter under mode.
Second method can correspond to the second mould group, and the first mode of second method work at present is switched to second mode
It may include: that the second mould group is switched to second mode by the first mode of work at present.
Wherein, the highest that the highest under second mode allows power consumption to be less than under first mode allows power consumption.For example, the first mould
The highest of formula allows power consumption to be 20w, and the highest of second mode allows power consumption to be 8w, then, by the of second method work at present
One pattern switching is after second mode, power consumption parameter can at least reduce 10w.If second method is wireless mode, then first
Mode can be EPP mode, and second mode can be BPP mode.Wherein, the highest of EPP mode allows power consumption to be 15w, BPP mould
The highest of formula allows power consumption to be 5w.
It can be seen that in this application, obtaining electric energy by first method in electronic equipment and passing through second method simultaneously
During externally providing electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces second party
The highest of formula work at present allows power consumption, guarantees to meet the power consumption requirements under first method in this way, without by for electronics
The mould group that equipment replacement first method is carried increases power consumption, improves the flexibility of control.
In the application Installation practice six, electronic equipment further include:
Second monitoring unit monitors the power consumption parameter for working in the second mode in the second method
Whether second threshold or less is reduced to;
Wherein, second threshold is less than first threshold.
Second switch unit, for determining that the power consumption parameter is reduced to the second threshold hereinafter, by the second party
The second mode of formula work at present is switched to the first mode.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can power consumption parameter be lower than second threshold when,
Second method is switched to first mode by second mode again.And the design parameter value of second threshold can preset for system
Fixed value, can also be obtained by system-computed, can specifically be will be described later.
It can be seen that in the present embodiment, obtaining electric energy by first method in electronic equipment and passing through second party simultaneously
During formula externally provides electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces by second
The highest of mode work at present allows power consumption, can guarantee the power consumption requirements of first method in this way, without by for electronic equipment
The mould group carried increases power consumption under replacement first method, improves the flexibility of control;Also, exist when in second method work
Under the second mode, however, it is determined that the power consumption parameter is reduced to the second threshold hereinafter, can also be current by second method
The second mode of work switches back into first mode, ensure that on the basis of not influencing the power consumption requirements of first method, improves the
Two modes externally improve the efficiency of electric energy.
In the application Installation practice seven, the electronic equipment further include:
Third monitoring unit, for monitoring whether the power consumption parameter is constantly in the second threshold within first time
Below;
Wherein, the second switch unit is specifically used for being constantly in described second in the first time interior monitoring power consumption parameter
Threshold value is hereinafter, be switched to the first mode for the second mode of the second method work at present.
Since the highest of second mode allows power consumption to allow power consumption lower than the highest of first mode, then second method is the
Charge efficiency under two modes is lower than the charge efficiency under first mode.Therefore can be when power consumption parameter meet condition, then incite somebody to action
Second method is switched to first mode by second mode.And mode is carried out if merely by power consumption parameter lower than second threshold
Switching cause the power consumption parameter under first method to neglect the feelings for rising and neglecting drop it is possible that system current working status is unstable
Condition occurs, and therefore, can start timing, to monitor whether at first when power consumption parameter is reduced to second threshold or less
Whether interior power consumption parameter is constantly in the second threshold hereinafter, if being in, and illustrates that system current working status is stablized, then may be used
The second mode of second method work at present is switched back into first mode.
In the present embodiment, electric energy is obtained by first method in electronic equipment and is externally provided by second method simultaneously
During electric energy, however, it is determined that the power consumption parameter under first method is greater than first threshold, then directly reduces the current work of second method
The highest of work allows power consumption, can guarantee the power consumption requirements of first method in this way, without by replacing first party for electronic equipment
The mould group carried under formula increases power consumption, improves the flexibility of control;Also, it works when in second method in second mode
Under, however, it is determined that power consumption parameter is reduced to the second threshold hereinafter, monitoring power consumption parameter is constantly in second within first time
Threshold value be ensure that and be worked shape in system hereinafter, first mode can also be switched back into the second mode of second method work at present
On the basis of state is stablized, the efficiency that second method externally improves electric energy is improved.
In the application Installation practice eight, first acquisition unit is specifically used for determining externally to be mentioned using the second method
For electric energy, obtained by the sensor being arranged in series between the corresponding first mould group of the first method and charging interface described in
Power consumption parameter under first method.
In the application Installation practice nine, electronic equipment further include:
First determination unit, for determining that the highest under the first mode allows under power consumption and the second mode most
Height allows the difference of power consumption;
First computing unit obtains the second threshold for subtracting the difference on the basis of first threshold.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (10)
1. a kind of processing method, wherein include:
It is obtained in power process by first method, monitors whether externally to provide electric energy using second method;
It determines and externally provides electric energy using the second method, obtain the power consumption parameter under the first method;
If the power consumption parameter is greater than first threshold, the first mode of the second method work at present is switched to the second mould
Formula, wherein the highest that the highest under the second mode allows power consumption to be less than under the first mode allows power consumption.
2. according to the method described in claim 1, wherein, further includes:
The second method work in the second mode, monitor the power consumption parameter whether be reduced to second threshold with
Under;The second threshold is less than the first threshold;
Determine that the power consumption parameter is reduced to the second threshold hereinafter, by second mould of the second method work at present
Formula is switched to the first mode.
3. according to the method described in claim 2, wherein, further includes:
Within first time the monitoring power consumption parameter whether be constantly in the second threshold hereinafter, if so, triggering is described will
The second mode of the second method work at present is switched to the first mode.
4. according to the method described in claim 1, wherein, the power consumption parameter obtained under the first method, comprising:
Described the is obtained by the sensor that is arranged in series between the corresponding first mould group of the first method and charging interface
Power consumption parameter under one mode.
5. according to the method described in claim 2, wherein, further includes:
Determine the difference that the highest under the first mode allows the highest under power consumption and the second mode to allow power consumption;
The difference is subtracted on the basis of the first threshold obtains the second threshold.
6. a kind of electronic equipment, wherein include:
First mould group, for obtaining electric energy by first method;
Second mould group, for externally providing electric energy by second method;
Processor monitors whether the second mould group externally provides for obtaining in power process by the first mould group
Electric energy determines and externally provides electric energy using the second mould group, the power consumption parameter under the first mould group is obtained, if the power consumption
Parameter is greater than first threshold, the first mode of the second mould group work at present is switched to second mode, wherein described second
The highest that highest under mode allows power consumption to be less than under the first mode allows power consumption.
7. electronic equipment according to claim 6, the processor is also used to work in the second mould group described the
Under two modes, monitor whether the power consumption parameter is reduced to second threshold or less;The second threshold is less than the first threshold,
Determine that the power consumption parameter is reduced to the second threshold hereinafter, the second mode of the second mould group work at present is cut
Change to the first mode.
8. electronic equipment according to claim 7, wherein the processor is also used to the monitoring function within first time
Consumption parameter whether be constantly in the second threshold hereinafter, if so, execute it is described will be described in the second mould group work at present
Second mode is switched to the first mode.
9. electronic equipment according to claim 7, further includes:
Sensor between the first mould group and charging interface is set;
The processor is specifically used for obtaining institute by the sensor being arranged in series between the first mould group and charging interface
State the power consumption parameter under the first mould group.
10. a kind of electronic equipment, comprising:
First monitoring unit monitors whether externally to mention using second method for obtaining in power process by first method
For electric energy;
First acquisition unit externally provides electric energy using the second method for determining, obtains the function under the first method
Consume parameter;
First switch unit, if being greater than first threshold for the power consumption parameter, by the first of the second method work at present
Pattern switching is second mode, wherein the highest under the second mode allows power consumption to be less than the highest under the first mode
Allow power consumption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811609000.6A CN109710051B (en) | 2018-12-27 | 2018-12-27 | Processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811609000.6A CN109710051B (en) | 2018-12-27 | 2018-12-27 | Processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710051A true CN109710051A (en) | 2019-05-03 |
CN109710051B CN109710051B (en) | 2021-01-15 |
Family
ID=66258588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811609000.6A Active CN109710051B (en) | 2018-12-27 | 2018-12-27 | Processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710051B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080258679A1 (en) * | 2007-03-01 | 2008-10-23 | Manico Joseph A | Charging display system |
CN203260874U (en) * | 2013-05-15 | 2013-10-30 | 深圳市文鼎创数据科技有限公司 | Adapter of portable device |
US20130305064A1 (en) * | 2012-05-10 | 2013-11-14 | Humberto M. Fossati | Allocating and distributing power |
CN103677199A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104184200A (en) * | 2013-05-24 | 2014-12-03 | 台达电子工业股份有限公司 | Power supply adapter, power supply adapter control method and notebook |
CN105068915A (en) * | 2015-08-10 | 2015-11-18 | 合肥联宝信息技术有限公司 | Power supply management device and method |
CN105490319A (en) * | 2014-09-19 | 2016-04-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN206147512U (en) * | 2016-07-29 | 2017-05-03 | 深圳中电长城信息安全系统有限公司 | Computer and USB power supply circuit thereof |
CN107624210A (en) * | 2015-05-14 | 2018-01-23 | 苹果公司 | Dynamic power between multiple physical ports is shared |
CN108181978A (en) * | 2017-12-29 | 2018-06-19 | 合肥联宝信息技术有限公司 | The electrical control method and device of a kind of electronic equipment |
-
2018
- 2018-12-27 CN CN201811609000.6A patent/CN109710051B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080258679A1 (en) * | 2007-03-01 | 2008-10-23 | Manico Joseph A | Charging display system |
US20130305064A1 (en) * | 2012-05-10 | 2013-11-14 | Humberto M. Fossati | Allocating and distributing power |
CN103677199A (en) * | 2012-09-18 | 2014-03-26 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN203260874U (en) * | 2013-05-15 | 2013-10-30 | 深圳市文鼎创数据科技有限公司 | Adapter of portable device |
CN104184200A (en) * | 2013-05-24 | 2014-12-03 | 台达电子工业股份有限公司 | Power supply adapter, power supply adapter control method and notebook |
CN105490319A (en) * | 2014-09-19 | 2016-04-13 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN107624210A (en) * | 2015-05-14 | 2018-01-23 | 苹果公司 | Dynamic power between multiple physical ports is shared |
CN105068915A (en) * | 2015-08-10 | 2015-11-18 | 合肥联宝信息技术有限公司 | Power supply management device and method |
CN206147512U (en) * | 2016-07-29 | 2017-05-03 | 深圳中电长城信息安全系统有限公司 | Computer and USB power supply circuit thereof |
CN108181978A (en) * | 2017-12-29 | 2018-06-19 | 合肥联宝信息技术有限公司 | The electrical control method and device of a kind of electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109710051B (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103365388B (en) | Power supply method of terminal device and terminal device | |
CN106849232B (en) | Method and system for realizing automatic switching of multiple battery packs of electric vehicle | |
KR20190111713A (en) | Solar battery system and control method thereof | |
CN104617613A (en) | Charging/ discharging protection plate of lithium battery pack and lithium battery pack protection system | |
CN105406580A (en) | Power supply system and method | |
CN104330740A (en) | Terminal charging protecting method and device | |
CN104638307A (en) | Virtual cell for battery thermal management | |
CN105048611A (en) | Wireless charging device and wireless charging method | |
US20210373631A1 (en) | Electric power supply system | |
CN104078716A (en) | Battery charging method and processor | |
US8253384B2 (en) | Electronic device having power management assembly | |
CN105629825A (en) | Management method and management system of power supply system of wearable intelligent device | |
CN105356588A (en) | Control method for switching UPS output mode | |
CN109710051A (en) | A kind of processing method and electronic equipment | |
CN106300512A (en) | A kind of method and apparatus controlling portable power source discharge and recharge | |
CN113659680A (en) | Method and device for controlling charging and discharging power of battery and electronic equipment | |
JP3184014U (en) | Electronic device charging stand and method for controlling power supply thereof | |
CN103166294B (en) | Distributed backup battery management system and corresponding electronic system | |
CN105119361A (en) | Cell combiner and DC power system therewith | |
CN213185602U (en) | Current conversion system for retired power battery | |
CN110278147B (en) | Power saving method and device for gateway and power saving gateway | |
US20200224918A1 (en) | Power supplies for thermostats in hvac systems | |
CN105762870A (en) | Battery having protection and early warning functions and electronic equipment having the battery | |
JPH06133471A (en) | Battery controlling method | |
CN109450096A (en) | A kind of power supply unit and method for controlling power supply |
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 |