WO2022228374A1 - 充电功率调整方法、装置和电子设备 - Google Patents

充电功率调整方法、装置和电子设备 Download PDF

Info

Publication number
WO2022228374A1
WO2022228374A1 PCT/CN2022/088949 CN2022088949W WO2022228374A1 WO 2022228374 A1 WO2022228374 A1 WO 2022228374A1 CN 2022088949 W CN2022088949 W CN 2022088949W WO 2022228374 A1 WO2022228374 A1 WO 2022228374A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
electronic device
charging
adapter
charging power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2022/088949
Other languages
English (en)
French (fr)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Publication of WO2022228374A1 publication Critical patent/WO2022228374A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/90Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/40Circuit arrangements for charging or discharging batteries or for supplying loads from batteries characterised by the exchange of charge or discharge related data
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or discharging batteries or for supplying loads from batteries
    • H02J7/90Regulation of charging or discharging current or voltage
    • H02J7/92Regulation of charging or discharging current or voltage with prioritisation of loads or sources
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
    • 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
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to a charging power adjustment method, device and electronic device.
  • the power adapter will preset the same output power value for different ports in advance, so that after different electronic devices are connected to the power adapter at the same time, they receive the preset power value of the power adapter in advance.
  • the output power in this way, can control the output power of the power adapter to avoid overloading the charging task.
  • the actual output power value of the power adapter is usually much larger than the sum value of the power preset by the above multiple ports in advance.
  • the output power value of the power adapter is preset in advance, the output power The process of power can be limited, which in turn can result in wasting a large amount of the available output power of the adapter and reducing the efficiency with which the electronic device performs the charging task.
  • the purpose of the embodiments of the present application is to provide a charging power adjustment method, which can solve the problem that because the output power value of the power adapter is preset in advance, the process of output power will be limited, which will lead to waste of a large amount of available output of the adapter power, and reduce the efficiency with which electronic devices perform charging tasks.
  • an embodiment of the present application provides a charging power adjustment method, which is applied to a power adapter.
  • the method includes: when M electronic devices are connected to the power adapter, the power adapter receives the data sent by the M electronic devices. M pieces of power request information; the above-mentioned power adapter determines a charging power distribution strategy according to the sum of the power indicated by the above-mentioned M pieces of power request information and the rated power value of the above-mentioned power adapter; the above-mentioned power adapter according to the above-mentioned charging power allocation strategy, to M Each electronic device allocates charging power, where M is a positive integer.
  • an embodiment of the present application provides a charging power adjustment device, the device includes a receiving module, a determining module, and an allocation strategy; the receiving module is configured to receive M electronic devices when M electronic devices are connected to a power adapter. M pieces of power request information sent by the electronic devices; the above-mentioned determining module is configured to determine the charging power allocation strategy according to the sum of the powers indicated by the above-mentioned M pieces of power request information received by the above-mentioned receiving module and the rated power value of the above-mentioned power adapter The above-mentioned distribution module is configured to distribute charging power to M electronic devices according to the above-mentioned charging power distribution strategy, wherein M is a positive integer.
  • an embodiment of the present application provides a charging power adjustment method, which is applied to an electronic device.
  • the method includes: when the electronic device is connected to a target port of a power adapter, sending target information to the power adapter; the target The information includes any one of the following: first request information, determination information; the first request information is used to request the power adapter to adjust the power value of the electronic device to the target power value, and the determination information is used to determine the power adapter according to The target power value of the negotiation request adjusts the power value of the electronic device.
  • an embodiment of the present application provides a charging power adjustment device, and the device includes: a sending module; the sending module is configured to send target information to the power adapter when the target port of the power adapter is connected;
  • the target information includes any one of the following: first request information, determination information; the first request information is used to request the power adapter to adjust the power value of the electronic device to the target power value, and the determination information is used to determine the power supply
  • the adapter adjusts the power value of the electronic device according to the target power value requested by the negotiation.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the power adapter when M electronic devices are connected to the power adapter, the power adapter will receive M pieces of power request information sent by the M electronic devices, and then the power adapter will receive M pieces of power request information according to the above M pieces of power request information
  • the sum of the indicated power and the rated power value of the above-mentioned power adapter determine the charging power distribution strategy of the M electronic devices, and finally, the power adapter will allocate the charging power to the M electronic devices according to the above-mentioned charging power allocation strategy, M is a positive integer.
  • the power adapter can determine the final power value allocated to each electronic device according to the sum of the actual power of all electronic devices, so that the output power of the power adapter can be utilized to the greatest extent under the premise of ensuring the reliability of the power adapter. , thereby improving the efficiency of the electronic device to perform the charging task.
  • FIG. 1 is one of the schematic flowcharts of a charging power adjustment method provided by an embodiment of the present application
  • FIG. 2 is a second schematic flowchart of a charging power adjustment method provided by an embodiment of the present application
  • FIG. 3 is one of the schematic structural diagrams of a charging power adjustment device provided by an embodiment of the present application.
  • FIG. 4 is a second schematic structural diagram of a charging power adjustment device provided by an embodiment of the present application.
  • FIG. 5 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • a PD adapter is a power adapter with a PD protocol.
  • the PD charging protocol is a power transmission protocol announced by the USB-IF organization.
  • USB-Power Delivery can increase the power output of the type-c interface to 100W.
  • USB-Power Delivery is one of the mainstream fast charging protocols. It is a fast charging specification formulated by the USB-IF organization.
  • the USB PD adapter increases power delivery through USB cables and connectors, and expands the cable bus power supply capability in USB applications. .
  • This fast charging specification can achieve higher voltage and current, deliver up to 100W of power, and can freely change the direction of power delivery.
  • the current PD adapter generally has two interfaces, namely the USB A interface and the USB C interface. From the perspective of function definition, the core function of the PD adapter is PD fast charging.
  • the charging power adjustment method provided in the embodiment of the present application can be applied to a scenario where a power adapter charges multiple electronic devices at the same time.
  • the power adapter charges multiple electronic devices at the same time
  • the power adapter with 5 charging ports is used to charge 3 electronic devices (respectively, electronic device 1, electronic device 2, and electronic device 3) at the same time.
  • the output power value of each port of the power adapter is preset in advance. Therefore, the power adapter will charge each electronic device according to the preset output power. For example, if the preset output power of port 1 is A, then The power adapter charges the electronic device 1 of the port 1 with the power value A.
  • the power adapter also charges the electronic device 2 and the electronic device 3 according to the output power preset by the corresponding ports of the electronic device 2 and the electronic device 3 in advance.
  • the actual output power value of the power adapter is usually much larger than the sum value of the power preset by the above three ports in advance.
  • the output power value of the power adapter is preset in advance, the output power The process is limited, which in turn results in wasting a large amount of the adapter's available output power and reducing the efficiency with which the electronic device performs the charging task.
  • the power adapter when the power adapter is connected to three electronic devices, it will receive three power request messages from the three electronic devices (one power request message is an electronic device connected to the power adapter to the power source to the power source). After that, the power adapter will determine the charging power distribution strategy of the three electronic devices according to the sum of the power indicated by the three power request information and the rated power value of the power adapter. Finally, the power supply The adapter will allocate charging power to the three electronic devices according to the above charging power allocation strategy. In this way, the power adapter can determine the final power value allocated to each electronic device according to the sum of the actual power of all electronic devices, so that the output power of the power adapter can be utilized to the greatest extent under the premise of ensuring the reliability of the power adapter. , thereby improving the efficiency of the electronic device to perform the charging task.
  • the charging power adjustment method includes the following steps 301 to 303:
  • Step 301 In the case where M electronic devices are connected to a power adapter, the power adapter receives M pieces of power request information sent by the M electronic devices.
  • M is a positive integer.
  • a piece of power request information is sent to the above-mentioned power adapter by an electronic device connected to the above-mentioned power adapter.
  • the electronic device after the electronic device is connected to the port of the electronic device adapter, it will send power request information to the electronic device, requesting the power adapter to allocate power to the electronic device, so as to perform the charging task.
  • the power value of the power allocated by the power adapter requested by different power request information may be the same or may be different.
  • the above-mentioned power adapter may include N ports, where N is greater than or equal to M.
  • the above-mentioned power adapter may be a PD adapter, and the above-mentioned power adapter port may be a USB interface.
  • Step 302 The power adapter determines a charging power distribution strategy according to the sum of the powers indicated by the M pieces of power request information and the rated power value of the power adapter.
  • the power adapter may calculate the sum of the M powers, and calculate the sum of the M powers according to the difference between the sum and the rated power of the power adapter.
  • the relationship between the amount and the size of the charging power is determined to determine the charging power distribution strategy.
  • the power adapter when the added value is greater than the rated power value of the power adapter, the power adapter needs to appropriately reduce the power value of the power allocated to each electronic device, and when the added value is less than or equal to the rated power value of the power adapter.
  • the power adapter When determining the power value, the power adapter needs to allocate power to each electronic device according to the power value requested in the power request information.
  • the power adapter can set a variety of different charging power distribution strategies in advance. After receiving the power request information of the electronic device, according to the relationship between the power value of the power request information and the rated power value, it is determined that the final charging power is the electronic device. The charging power allocation strategy used by the device when allocating power.
  • the power adapter may preset the determination conditions of the charging power distribution strategy, and after receiving the power request information of the electronic device, determine the relationship between the power value of the power request information and the rated power value and the determination conditions, and determine the The charging power allocation strategy used in the final allocation of power to electronic devices
  • Step 303 The power adapter allocates charging power to the M electronic devices according to the charging power allocation strategy.
  • the charging power allocated to the M electronic devices may be the same or different.
  • the power adapter when M electronic devices are connected to the power adapter, M pieces of power request information sent by the M electronic devices will be received, and then the power adapter will receive M pieces of power request information according to the above M pieces of power The sum of the power indicated by the request information and the rated power value of the above-mentioned power adapter determines the charging power distribution strategy of the M electronic devices. Finally, the power adapter will allocate charging to the M electronic devices according to the above-mentioned charging power allocation strategy. power, M is a positive integer.
  • the power adapter can determine the final power value allocated to each electronic device according to the sum of the actual power of all electronic devices, so that the output power of the power adapter can be utilized to the greatest extent under the premise of ensuring the reliability of the power adapter. , thereby improving the efficiency of the electronic device to perform the charging task.
  • the charging power adjustment method provided by the embodiment of the present application may further include the following steps 302a and 302b:
  • Step 302a The power adapter determines that the charging power distribution strategy is the first charging strategy when the sum of the powers indicated by the M pieces of power request information is less than or equal to the rated power value of the power adapter.
  • the above-mentioned first charging strategy is: according to the power values corresponding to the above-mentioned M pieces of power request information, respectively, allocating charging power to the above-mentioned M electronic devices.
  • the power adapter will send the power to the power supply according to each of the M electronic devices.
  • the power request information sent by the adapter allocates power to the electronic device, that is, the power value of the allocated power is the power value requested in the power request information sent by the electronic device.
  • the power adapter Received 3 power request messages sent by 3 electronic devices, the power values requested by the 3 power request messages are 50W, 60W, 40W respectively, and the sum of the 3 power values is 150W, which is less than the rated power value of the power adapter 200W (that is, the sum value of the power indicated by the M pieces of power request information is less than or equal to the rated power value of the power adapter), then the electronic device determines that the power to be allocated is to allocate power according to the power value in the power request information of each electronic device, that is, the electronic device Electronic device 1 will be allocated 50W of power, electronic device 2 will be allocated 60W of power, and electronic device 3 will be allocated 40W of power.
  • Step 302b The power adapter determines that the charging power distribution strategy is the second charging strategy when the sum of the powers indicated by the M pieces of power request information is greater than the rated power value of the power adapter.
  • the above-mentioned second charging strategy is: according to the proportional relationship between the power values corresponding to the above-mentioned M pieces of power request information and the above-mentioned rated power value, respectively, allocating charging power to the above-mentioned M electronic devices.
  • the power adapter will compare the ratios between the power values corresponding to the above M pieces of power request information. relationship, and divide the rated power value according to the proportional relationship, obtain the power value of the charging power corresponding to each electronic device, and allocate the charging power to the above-mentioned M electronic devices.
  • the power adapter Received 3 power request messages sent by 3 electronic devices, the power values requested by the 3 power request messages are 100W, 60W, 80W respectively, and the sum of the 3 power values is 240W, which is greater than the rated power value of the power adapter 200W (that is, the sum of the power indicated by the M pieces of power request information is greater than the rated power value of the power adapter), then the power adapter will first calculate the proportional relationship between the power values requested by the three power request information, which are 42%, 25 %, 33%, then the power adapter will divide the rated power value according to this ratio, divide the rated power value into 84W, 50W and 66W, and assign the above three divided power values as the power value of the charging power to the three electronic devices.
  • the devices ie, the
  • the power adapter can compare the sum of the power values requested by the power request information with the rated power value that can actually be allocated by the power adapter, and set the actual allocated upper limit for each power supply.
  • the electronic device allocates the maximum amount of power, so as to maximize the use of the power that the power adapter can allocate under the premise of ensuring reliability.
  • the charging power adjustment method provided by the embodiment of the present application may further include the following steps 304 to 306:
  • Step 304 The power adapter receives the first request information sent by the target electronic device among the M electronic devices.
  • the first request information is used to request the power adapter to adjust the charging power value allocated to the target electronic device to the target power value.
  • the above-mentioned first request information is any electronic device (that is, the target electronic device) that has been connected to the power adapter.
  • the power of the currently received power adapter needs to be changed (for example, the charging power needs to be increased)
  • the power adapter needs to be increased. information sent.
  • Step 305 The power adapter sends negotiation information to other electronic devices in the above-mentioned M electronic devices except the above-mentioned target electronic device.
  • the above negotiation information is used to determine whether to allow adjustment of the charging power of the other electronic device.
  • the above negotiation information is information sent by the power adapter to other electronic devices after receiving the first request information, asking whether the other electronic devices agree to change their own charging power.
  • the above negotiation information is sent to each other electronic device respectively, and the determination indicated in the above negotiation information whether to allow adjustment of the charging power of other electronic devices refers to: determining whether to allow adjustment of the charging power of this other electronic device. .
  • Step 306 The power adapter adjusts the charging power of the first electronic device in the case of receiving the first electronic device determination information.
  • the above-mentioned other electronic devices include the first electronic device.
  • the above-mentioned determination information indicates that the first electronic device allows the above-mentioned power adapter to adjust its charging power.
  • the charging power corresponding to different first electronic devices is different, and further, the charging power corresponding to different first electronic devices may be different whether before or after adjustment.
  • the power adapter after receiving the first request information, the power adapter will recalculate the charging power allocated for each electronic device according to the power value requested by the first request information, and use the recalculated value as The charging power allocated by other electronic devices is notified to other electronic devices in the form of negotiation information.
  • the first request information is that the electronic device requests the power adapter to increase the charging power allocated to it.
  • the first electronic device needs to reduce the allocated charging power accordingly. charging power, so as to reserve the portion of charging power that needs to be increased for the target electronic device.
  • the determination information of the first electronic device may be part of the electronic devices other than the target electronic device, or may be determination information sent by all the electronic devices except the target electronic device.
  • the power adapter only re-determines the target electronic device and the part of the electronic device.
  • the charging power of the device (the first electronic device).
  • the power adapter after receiving the determination information of the first electronic device, the power adapter will adjust the charging power of the first electronic device. Specifically, the electronic device will re-determine the charging power allocation strategy, and then allocate charging to the first electronic device. power, wherein, the process of re-determining the charging power distribution strategy may be performed with reference to the process of step 302 to step 303 .
  • the power adapter can increase or decrease the charging power for the target electronic device, but after the charging power is increased or decreased, the adjusted charging power of the target electronic device is not necessarily the target power value.
  • the power adapter can increase the charging power for the target electronic device, and the increased charging power is higher than the current charging power of the target electronic device, but not necessarily the same as the target power value.
  • the way in which the power adapter determines that the target electronic device can increase or decrease the charging power is as follows: comparing the relationship between the target power value and the original power value of the target electronic device, if the target power value is greater than the original power value of the target electronic device, then increase the charging power , if the target power value is greater than the original power value of the target electronic device, reduce the charging power.
  • the power adapter when the power adapter receives the electronic device and needs to adjust its own charging power, it can negotiate with other electronic devices, and flexibly adjust the charging power of all electronic devices or some electronic devices, so that the power of the power adapter can be flexibly and fully applied. .
  • the charging power adjustment method provided by the embodiment of the present application may further include the following step 307:
  • Step 307 In the case that the power adapter does not receive the confirmation information sent by the second electronic device within a predetermined period of time, keep the charging power of the second electronic device unchanged;
  • the above-mentioned second electronic device is an electronic device that does not send determination information to the power adapter among the above-mentioned other electronic devices.
  • the above-mentioned predetermined duration may be preset by the electronic device, or may be user-defined, which is not limited in this embodiment of the present application.
  • the power adapter only adjusts the charging power of the electronic device to which the determination information is sent, that is, only adjusts the charging power of the first electronic device.
  • the power adapter will send a message to electronic device 2 and electronic device 3 (that is, The above-mentioned other electronic devices) send negotiation information to inquire whether the electronic device 2 and the electronic device 3 are allowed to adjust the power value of the electronic device 2 and the power value of the electronic device 3 (that is, the charging power of the above-mentioned other electronic devices), within 5 seconds (ie.
  • the power adapter only receives the confirmation information of the electronic device 2 (that is, the above-mentioned first electronic device), and does not receive the confirmation information of the electronic device 3 (that is, the above-mentioned second electronic device), then, the power adapter keeps The charging power of the electronic device 3 remains unchanged, while the charging power of the electronic device 2 is adjusted from 60W to 20W, and the power value of the electronic device 1 is adjusted from 50W to 80W, that is, the power value of the electronic device 1 is 80W. The power value of device 1 is 20W, and the power value of electronic device 1 is 40W.
  • each power value can be adjusted flexibly and flexibly according to the different needs of different electronic devices, so as to ensure the actual performance of each electronic device to the greatest extent. power requirements.
  • adjusting the charging power of the first electronic device in the foregoing step 306 includes the following steps 306a and 306b:
  • Step 306a The power adapter calculates a first difference between the current power value of the target electronic device and the target power value.
  • Step 306b The power adapter adjusts the charging power of the first electronic device to the first charging power according to the first difference.
  • the second difference between the first charging power and the charging power before the adjustment of the first electronic device is the same as the first difference.
  • the above-mentioned second difference may be a sum of differences between all the first electronic devices and their corresponding first charging powers.
  • a total of three electronic devices namely, electronic device 1, electronic device 2, and electronic device 3, are connected to the power adapter, and the sum of the power values of the three electronic devices is the same as the rated power value of the power adapter.
  • electronic device 1 is the target electronic device, and its current power value is 50W
  • it sends the first request information to the power adapter to request to increase its power value to 70W (ie, the target power value)
  • the power adapter sends the electronic device 2 and the electronic device to the electronic device 2 and the electronic device.
  • Device 3 sends negotiation information.
  • the power adapter After receiving the determination information of electronic device 2 and electronic device 3 (that is, the above-mentioned first electronic device), the power adapter will calculate according to the difference between the current power value of the target electronic device and the target power value of 20W ( That is, the above-mentioned first difference) adjusts the power values of the electronic device 2 and the electronic device 3, wherein the difference between the adjusted power value of the electronic device 2 and the current power value, and the adjusted power value of the electronic device 3 and the current power value
  • the sum of the differences is 20W (ie the second difference above).
  • the charging power of the electronic device 2 can be reduced by 10W
  • the charging power of the electronic device 3 can also be reduced by 10W.
  • the power adapter when the target power value is greater than the current power value of the target electronic device, that is, when the target electronic device needs to increase the charging power, the power adapter reduces the charging power of the first electronic device; the target power value When the power value is smaller than the current power value of the target electronic device, that is, when the target electronic device needs to reduce the charging power, the power adapter increases the charging power of the first electronic device.
  • the charging power adjustment method provided by the embodiment of the present application may further include the following step 308:
  • Step 308 In the case where the X electronic devices have been separated from the power adapter, the power adapter is re-determined according to the magnitude relationship between the sum of the powers indicated by the (M-X) power request information and the rated power value of the power adapter
  • X is a positive integer smaller than M.
  • the power adapter when the X electronic devices are disconnected from the power adapter, the power adapter will recover the power of the X electronic devices, and re-manage the recovered power.
  • the power adapter will recalculate the power that can be allocated for the remaining (M-X) electronic devices, that is, the power adapter will be based on the power value requested in the power request information of the (M-X) electronic devices, for the (M-X) electronic devices to redistribute power.
  • the power adapter will distribute the power of the above X electronic devices to the remaining (M-X) electronic devices according to the ratio of the previous power distribution of the remaining (M-X) electronic devices.
  • the process of re-determining the charging power distribution strategy of the (M-X) electronic devices by the power adapter may be performed with reference to the process of step 302 to step 303 .
  • the power adapter can use the idle power after the detachment in time for other electronic devices that are still charging on the power adapter, so as to make full use of the power that can be distributed by the power adapter.
  • the charging power adjustment method provided by the embodiment of the present application may further include the following step 309:
  • Step 309 The power adapter will send inquiry information to (M-X) electronic devices when the X electronic devices have been disconnected from the power adapter.
  • the above inquiry information is used to inquire whether the remaining (M-X) ones still connected to the power adapter need to increase the charging power.
  • Step 310 After the power adapter receives the information sent by the third electronic device for confirming that the charging power is increased, the power adapter re-determines the charging power distribution strategy of the third electronic device.
  • the above-mentioned third electronic device is an electronic device among the (M-X) electronic devices that sends information confirming that the charging power is increased to the power adapter.
  • the above-mentioned process of redetermining the charging power distribution strategy of the third electronic device by the power adapter may be performed with reference to the processes of steps 302 to 303 .
  • the power adapter after the power adapter re-determines the charging power distribution strategy of the third electronic device, it can determine the charging completion duration of each electronic device in the third electronic device according to the charging power distribution strategy, and send the completion duration information to corresponding electronic equipment.
  • the above-mentioned charging completion time is the time it takes for each electronic device in the third electronic device to be charged to 100%.
  • the present embodiment provides a charging power adjustment method, as shown in Figure 2, applied to electronic equipment, the charging power adjustment method includes the following steps 401 and 402:
  • Step 401 The electronic device sends power request information to the power adapter connected to the electronic device.
  • Step 402 The electronic device is charged according to the charging power distribution strategy indicated by the above-mentioned power adapter.
  • the electronic device after the electronic device sends power request information to the power adapter connected to the electronic device, it will charge according to the charging power distribution strategy indicated by the power adapter, so that according to its own needs Depending on the charging power, the electronic device can receive different charging power, thereby improving the charging efficiency of the electronic device.
  • the charging power adjustment method provided in the embodiment of the present application may further include the following step 403:
  • Step 403 The electronic device sends first request information to the above-mentioned power adapter.
  • the first request information is used to request the power adapter to adjust the charging power value of the electronic device to a target power value.
  • the power adapter when the electronic device needs to increase or decrease its own charging power, the power adapter can send the first request information, so as to fully and flexibly utilize the charging power of the power adapter, Improve charging efficiency.
  • the charging power adjustment method provided in the embodiment of the present application may further include the following step 404:
  • Step 404 The electronic device performs the target operation in the case of receiving the negotiation information sent by the above-mentioned power adapter.
  • the negotiation information is used to determine whether to allow the adjustment of the charging power of the other electronic devices
  • the target operation includes: sending determination information to the power adapter, or ignoring the negotiation information, and the determination information is used to determine whether to allow the power supply.
  • the adapter adjusts the power value of the electronic device according to the negotiation information.
  • the electronic device when the electronic device agrees to change its own charging power for other electronic devices, it can send a confirmation message to the power adapter, and when the electronic device does not agree to change its own charging power for other electronic devices In the case of power, the negotiation information sent by the power adapter can be ignored, so that the charging power of the power adapter can be fully and flexibly utilized to improve the charging efficiency.
  • the charging power adjustment method provided in the embodiment of the present application may further include the following steps 405 and 406:
  • Step 405 The electronic device calculates the charging time of the electronic device according to the battery information.
  • Step 406 The electronic device displays the prompt information corresponding to the above-mentioned charging duration.
  • the charging power adjustment method provided by this embodiment of the present application may further include the following step 407:
  • Step 407 In the case of receiving the first input of the prompt information by the user, send confirmation information to the power adapter, or, in the case of receiving the second input of the prompt information by the user, ignore the negotiation information.
  • the above-mentioned first input is different from the above-mentioned second input.
  • the above-mentioned first input may be the user's input to the area where the information in the above-mentioned prompt information confirms agreeing to change the charging power of the user, for example, the user's input to the "confirm" control in the prompt information.
  • the second input may be the user's input to the above-mentioned area where the information for confirming to ignore the first request information is located, for example, the user's input to the "ignore" control in the prompt information.
  • the above-mentioned first input may be a touch input, for example, a click input, a voice input, or an input of a special gesture, which is not limited by the embodiments of the present application.
  • the above-mentioned prompt information is information used to prompt the charging duration.
  • the above prompt information may be one prompt information, or may be multiple prompt information.
  • an electronic device that needs to change its own charging power may provide multiple changed charging powers for the convenience of users of electronic devices, that is, users of some electronic devices can accept smaller changes in charging power, while others The user of the device can accept a large change in the charging power, and the user can choose a suitable charging power change method according to their own charging needs.
  • the electronic device can prompt the extended duration information or the latest charging time on the display screen of the electronic device after acquiring the information of the charging power distribution strategy that needs to be readjusted by the power adapter, so that the electronic device can The user of the device can clearly understand the charging time.
  • the charging power adjustment method provided by the embodiment of the present application may further include the following steps 408 to 410:
  • Step 408 The P target power values are determined, and the electronic device calculates P charging durations of the electronic device corresponding to the P target power values according to the battery information and the P target power values, where P is a positive integer.
  • Step 409 The electronic device will display the first prompt information corresponding to the P charging durations on the display interface respectively.
  • Step 410 The electronic device receives a third input from the user for the target prompt information in the first prompt information.
  • step 403 can also be executed by step 411,
  • Step 411 In response to the third input, the electronic device sends first request information to the power adapter.
  • the above-mentioned first request information corresponds to the target power value corresponding to the target prompt information.
  • the multiple pieces of first prompt information correspond to different corresponding charging duration information, that is, corresponding to multiple different charging power information.
  • the electronic device can prompt a plurality of time saving or charging times on the display screen of the electronic device according to different target power values, so that the user of the electronic device can clearly understand the adjusted charging time, so as to determine the need to adjust the charging time. target power value.
  • the execution body may be a charging power adjustment apparatus, or a control module in the charging power adjustment apparatus for executing the charging power adjustment method.
  • the method for adjusting the charging power performed by the charging power adjusting device is used as an example to describe the charging power adjusting device provided by the embodiments of the present application.
  • FIG. 3 is a schematic structural diagram of a possible structure for implementing the charging power adjustment device provided by the embodiment of the present application.
  • the above-mentioned apparatus 600 includes a receiving module 601, a determining module 602 and an allocating module 603; the above-mentioned receiving module 601 is configured to receive M messages sent by M electronic devices when M electronic devices are connected to power adapters.
  • the above-mentioned determination module 602 is configured to determine the charging power allocation strategy according to the sum of the power indicated by the above-mentioned M pieces of power request information received by the above-mentioned receiving module 601 and the rated power value of the above-mentioned power adapter; the above-mentioned allocation module 603, for allocating charging power to M electronic devices according to the foregoing charging power allocation strategy, where M is a positive integer.
  • the charging power adjustment device when M electronic devices are connected to the power adapter, the charging power adjustment device will receive M pieces of power request information sent by M electronic devices, and then adjust the charging power. The device will determine the charging power distribution strategy of the M electronic devices according to the sum of the powers indicated by the M power request information and the rated power value of the power adapter. Finally, the charging power adjustment device will allocate the charging power according to the above charging power. Strategy, allocate charging power to M electronic devices, where M is a positive integer. In this way, the charging power adjustment device can determine the final power value allocated to each electronic device according to the sum of the actual powers of all electronic devices, so that the power adapter can be used to the maximum extent under the premise of ensuring the reliability of the power adapter. output power, thereby increasing the efficiency with which electronic devices perform their charging tasks.
  • the above-mentioned determining module 602 is specifically configured to determine the above-mentioned charging when the sum of the powers indicated by the above-mentioned M pieces of power request information is less than or equal to the rated power value of the above-mentioned power adapter.
  • the power allocation strategy is a first charging strategy, wherein the first charging strategy is: according to the power values corresponding to the M pieces of power request information, respectively, allocating charging power to the above M electronic devices; the above determining module 602 is specifically configured to: In the case where the sum of the powers indicated by the above M pieces of power request information is greater than the rated power value of the above-mentioned power adapter, it is determined that the above-mentioned charging power distribution strategy is a second charging strategy, wherein the above-mentioned second charging strategy is: according to the above-mentioned M The proportional relationship between the power values corresponding to the power request information and the above-mentioned rated power value respectively allocate charging power to the above-mentioned M electronic devices.
  • the above-mentioned apparatus 600 further includes a sending module 604 and an adjusting module 605; the above-mentioned sending module 604 receives the first request information sent by the target electronic device among the above-mentioned M electronic devices, and the above-mentioned first request information is sent by the target electronic device.
  • the request information is used to request that the power value that the power adapter will allocate to the target electronic device is adjusted to the target power value; the sending module 604 is also used to send other electronic devices other than the target electronic device among the M electronic devices Negotiation information, the negotiation information is used to determine whether to allow the adjustment of the charging power of the other electronic devices; the adjustment module 605 is used to adjust the charging power of the first electronic device after receiving the determination information sent by the other electronic devices; wherein , wherein the other electronic equipment includes the first electronic equipment.
  • the above-mentioned apparatus 600 includes an execution module 606; the above-mentioned execution module 606 is configured to keep the above-mentioned second electronic equipment in the case that the confirmation information sent by the second electronic equipment is not received within a predetermined period of time. The charging power remains unchanged; wherein, the second electronic device is an electronic device that does not send confirmation information to the power adapter among the other electronic devices
  • the above-mentioned apparatus 600 further includes a calculation module 607; the above-mentioned calculation module 607 is configured to calculate the first difference between the current power value of the above-mentioned target electronic device and the above-mentioned target power value; the above-mentioned adjustment module 605, which is specifically configured to adjust the charging power of the first electronic device to the first charging power according to the first difference calculated by the calculation module 607; wherein, the first charging power and the charging before the adjustment of the first electronic device
  • the second difference between the powers is the same as the first difference described above.
  • FIG. 4 is a schematic structural diagram of a possible structure for implementing the charging power adjustment device provided by the embodiment of the present application.
  • the above-mentioned apparatus 700 includes: a sending module 701 and an executing module 702; the above-mentioned sending module 701 is used for sending power request information to a power adapter connected to the above-mentioned electronic device; the above-mentioned executing module 702 is used for according to the above-mentioned power supply Charge according to the charging power distribution strategy indicated by the adapter.
  • the power adapter when the charging power adjustment device needs to agree to change its own charging power for other electronic devices, the power adapter can send target information, so that the charging power of the power adapter can be fully and flexibly used to improve the charging efficiency.
  • the sending module 701 is further configured to send first request information to the power adapter, where the first request information is used to request the power adapter to adjust the charging power value of the electronic device to target power value.
  • the above-mentioned execution module 702 is configured to execute the target operation in the case of receiving the negotiation information sent by the above-mentioned power adapter; wherein, the above-mentioned negotiation information is used to determine whether to allow adjustment of the above-mentioned other electronic devices.
  • the charging power of the device, and the target operation includes: sending determination information to the power adapter, or ignoring the negotiation information, where the determination information is used to determine allowing the power adapter to adjust the power value of the electronic device according to the negotiation information.
  • the above-mentioned apparatus 700 includes a calculation module 703 and a display module 704, and the above-mentioned apparatus 700 further includes a calculation module 703 and a display module 704; the above-mentioned calculation module 703 is used for calculating the above-mentioned electronic The charging duration of the device; the above-mentioned display module 704 is used to display the prompt information corresponding to the above-mentioned charging duration calculated by the above-mentioned calculation module 703; the above-mentioned sending module 701 is used to receive the user's first input to the above-mentioned prompt information in the case of, Send confirmation information to the power adapter, or ignore the negotiation information in the case of receiving the second input from the user to the prompt information; wherein the first input is different from the second input.
  • the charging power adjustment device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the charging power adjustment device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the charging power adjustment device provided in the embodiments of the present application can implement the various processes implemented by the method embodiments in FIG. 1 to FIG. 2 , which are not repeated here to avoid repetition.
  • the modules that must be included in the charging power adjustment device 600 are indicated by solid line boxes, such as the receiving module 601 ; the modules that may or may not be included in the charging power adjustment device 600 are indicated by dashed line boxes , such as sending module 604 .
  • the modules that must be included in the charging power adjustment device 700 are indicated by solid line boxes, such as the sending module 701 ; the modules that may or may not be included in the charging power adjustment device 700 are indicated by dashed boxes, such as the calculation module 703 .
  • an embodiment of the present application further provides an electronic device 800, including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801,
  • an electronic device 800 including a processor 801, a memory 802, a program or instruction stored in the memory 802 and executable on the processor 801,
  • the program or instruction is executed by the processor 801
  • each process of the above-mentioned embodiment of the charging power adjustment method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072
  • the display unit 106 includes a display panel 1061
  • the input unit 104 includes an image processor 1041 and a microphone 1042
  • the memory 109 can be used to store software programs (eg, an operating system). , applications required for at least one function) and various data.
  • the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the radio frequency unit 101 is configured to receive M pieces of power request information sent by the M pieces of electronic equipment when the M pieces of electronic equipment are connected to the power adapter, and one power request message is: Sent by an electronic device connected to the above-mentioned power adapter to the above-mentioned power adapter; the processor 110 is used for the sum of the powers indicated by the above-mentioned M pieces of power request information received by the above-mentioned radio frequency unit 101 and the rated power value of the above-mentioned power adapter. , determine a charging power distribution strategy; the processor 110 is configured to allocate charging power to M electronic devices according to the charging power allocation strategy allocated by the processor 110 , where M is a positive integer.
  • the power adapter when M electronic devices are connected to the power adapter, the power adapter will receive M pieces of power request information sent by the M electronic devices, and then the power adapter will receive M pieces of power request information according to the above M pieces of power request information. The sum of the power indicated by the power request information and the rated power value of the above-mentioned power adapter determines the charging power distribution strategy of the M electronic devices. Finally, the power adapter will allocate the charging power to the M electronic devices according to the above charging power allocation strategy. Charging power, M is a positive integer.
  • the power adapter can determine the final power value allocated to each electronic device according to the sum of the actual power of all electronic devices, so that the output power of the power adapter can be utilized to the greatest extent under the premise of ensuring the reliability of the power adapter. , thereby improving the efficiency of the electronic device to perform the charging task.
  • the processor 110 is specifically configured to determine that the above-mentioned charging power allocation strategy is the first charging strategy when the sum of the powers indicated by the above-mentioned M pieces of power request information is less than or equal to the rated power value of the above-mentioned power adapter.
  • the above-mentioned first charging strategy is: according to the power values corresponding to the above-mentioned M pieces of power request information, respectively, allocating charging power to the above-mentioned M pieces of electronic equipment;
  • the above-mentioned charging power distribution strategy is determined as the second charging strategy, wherein the above-mentioned second charging strategy is: according to the above-mentioned M pieces of power request information corresponding to the power values between the corresponding power values The proportional relationship and the above rated power value respectively allocate charging power to the above M electronic devices.
  • the radio frequency unit 101 is further configured to receive first request information sent by a target electronic device in the above-mentioned M electronic devices, where the above-mentioned first request information is used to request the power value that the above-mentioned power adapter will allocate to the above-mentioned target electronic device. is adjusted to a target power value; the radio frequency unit 101 is further configured to send negotiation information to other electronic devices other than the target electronic device among the M electronic devices, and the negotiation information is used to determine whether to allow the charging of the other electronic devices to be adjusted power; the processor 110 is further configured to adjust the charging power of the first electronic device in the case of receiving the determination information sent by the first electronic device; wherein, the other electronic devices include the first electronic device.
  • the processor 110 is further configured to keep the charging power of the second electronic device unchanged when the power adapter does not receive the determination information sent by the second electronic device within a predetermined period of time;
  • the electronic device is an electronic device that does not send determination information to the power adapter among the above-mentioned other electronic devices.
  • the processor 110 is specifically configured to calculate the first difference between the current power value of the target electronic device and the target power value; the processor is also specifically configured to adjust the first difference according to the first difference.
  • the charging power of the electronic device reaches the first charging power; wherein, the second difference between the first charging power and the charging power before the adjustment of the first electronic device is the same as the first difference.
  • the radio frequency unit 101 is configured to send power request information to the power adapter connected to the electronic device; the processor 110 is configured to allocate the charging power according to the charging power allocation strategy indicated by the power adapter to charge.
  • the electronic device after the electronic device sends power request information to the power adapter connected to the electronic device, it will charge according to the charging power distribution strategy indicated by the power adapter. With different power, your device can receive different charging power, thereby improving the charging efficiency of electronic devices
  • the radio frequency unit 101 is further configured to send first request information to the power adapter, where the first request information is used to request the power adapter to adjust the charging power value of the electronic device to a target power value.
  • the above-mentioned processor 110 is further configured to perform a target operation in the case of receiving the negotiation information sent by the above-mentioned power adapter; wherein, the above-mentioned negotiation information is used to determine whether to allow adjustment of the charging power of the above-mentioned other electronic devices, and the above-mentioned
  • the target operation includes: sending determination information to the power adapter, or ignoring the negotiation information, where the determination information is used to determine that the power adapter is allowed to adjust the power value of the electronic device according to the negotiation information.
  • the processor 110 is used to calculate the charging duration of the above-mentioned electronic device according to the battery information; the above-mentioned display unit 106 is used to display the prompt information corresponding to the above-mentioned charging duration; the above-mentioned radio frequency unit 101 is specifically used for receiving the user In the case of the first input of the prompt information, the confirmation information is sent to the power adapter, or, in the case of receiving the second input of the prompt information by the user, the negotiation information is ignored; wherein the first input and the The second input above is different.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing charging power adjustment method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above embodiment of the charging power adjustment method and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请公开了一种充电功率调整方法、装置和电子设备,属于通信技术领域,该方法应用于电源适配器,该方法包括:在M个电子设备与上述电源适配器连接的情况下,上述电源适配器接收M个电子设备发送的M个功率请求信息;上述电源适配器根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;上述电源适配器按照上述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。

Description

充电功率调整方法、装置和电子设备
相关申请的交叉引用
本申请主张在2021年04月26日在中国提交的中国专利申请号202110456001.7的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种充电功率调整方法、装置和电子设备。
背景技术
随着电子设备技术的发展,电子设备的种类越来越多,每个不同种类的电子设备对应的输入功率不尽相同。
用户可以将多个电子设备接入同一个电源适配器的不同端口,以对该多个电子设备充电。目前,为了保证电源适配器的安全可靠性,电源适配器将为不同的端口提前预设好相同的输出功率值,以使得不同的电子设备在同时接入电源适配器后,接收到电源适配器提前预设的输出功率,如此,能够控制电源适配器的输出功率的大小,避免过载执行充电任务。
然而,在上述过程中,电源适配器的实际可输出功率值通常远远大于上述多个端口提前预设的功率的加和值,但是,由于电源适配器的输出功率值为提前预设的,因此输出功率的过程会到限制,进而会导致浪费适配器的大量可利用的输出功率,并且降低电子设备执行充电任务的效率。
发明内容
本申请实施例的目的是提供一种充电功率调整方法,能够解决由于电源适配器的输出功率值为提前预设的,因此输出功率的过程会到限制,进而会导致浪费适配器的大量可利用的输出功率,并且降低电子设备执行充电任务的效率的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种充电功率调整方法,应用于电源适配器,该方法包括:在M个电子设备与上述电源适配器连接的情况下,上述电源适配器接收M个电子设备发送的M个功率请求信息;上述电源适配器根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;上述电源适配器按照上述 充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
第二方面,本申请实施例提供了一种充电功率调整装置,上述装置包括接收模块、确定模块和分配策略;上述接收模块,用于在M个电子设备与电源适配器连接的情况下,接收M个电子设备发送的M个功率请求信息;上述确定模块,用于根据上述接收模块接收的上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;上述分配模块,用于按照上述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
第三方面,本申请实施例提供了一种充电功率调整方法,应用于电子设备,该方法包括:电子设备在接入电源适配器的目标端口的情况下,向上述电源适配器发送目标信息;上述目标信息包括以下任一项:第一请求信息,确定信息;上述第一请求信息用于请求上述电源适配器将上述电子设备的功率值调整为上述目标功率值,上述确定信息用于确定上述电源适配器根据上述协商请求的目标功率值调整上述电子设备的功率值。
第四方面,本申请实施例提供了一种充电功率调整装置,上述装置包括:发送模块;上述发送模块,用于在接入电源适配器的目标端口的情况下,向上述电源适配器发送目标信息;上述目标信息包括以下任一项:第一请求信息,确定信息;上述第一请求信息用于请求上述电源适配器将上述电子设备的功率值调整为上述目标功率值,上述确定信息用于确定上述电源适配器根据上述协商请求的目标功率值调整上述电子设备的功率值。
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,电源适配器在M个电子设备与电源适配器连接的情况下,会接收到M个电子设备发送的M个功率请求信息,之后,该电源适配器会根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定该M个电子设备的充电功率分配策略,最后,该电源适配器将按照上述充电功率分配策略,向M个电子设备分配充电功率,M为正整数。如此,电源适配器可以根据所有电子设备的实际功率的加和值来确定为每个电子设备分配的最终功率值,从而可以在保证电源适配器可靠性的前提下,最大程度的利用电源适配器的输出功率,从而提高电子设备执行充电任务的效率。
附图说明
图1是本申请实施例提供的一种充电功率调整方法的流程示意图之一;
图2是本申请实施例提供的一种充电功率调整方法的流程示意图之二;
图3为本申请实施例提供的一种充电功率调整装置的结构示意图之一;
图4为本申请实施例提供的一种充电功率调整装置的结构示意图之二;
图5为本发明实施例提供的一种电子设备的结构示意图之一;
图6为本发明实施例提供的一种电子设备的结构示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的充电功率调整方法进行详细地说明。
下面将对本申请实施例中出现的名词“电源传输管理(PowerDelivery,PD)适配器”作出如下说明:
PD适配器就是带有PD协议的电源适配器。PD充电协议是USB-IF组织公布的功率传输协议,USB电源传输(USB-Power Delivery)可以将type-c接口输出的功率值提高到100W。
USB-Power Delivery是主流的快充协议之一,是由USB-IF组织制定的一种快速充电规范,USB PD适配器透过USB电缆和连接器增加电力输送,扩展USB应用中的电缆总线供电能力。该快速充电规范可实现更高的电压和电流,输送的功率最高可达100W,并可以自由的改变电力的输送方向。
目前的PD适配器一般都是两种接口存在,即USB A接口与USB C接口.从功能定义角度出发,对于PD适配器核心功能是PD快充。
本申请实施例提供的充电功率调整方法可以应用于电源适配器为多个电子设备同时 充电的场景。
针对电源适配器为多个电子设备同时充电的场景,假设包含5个充电端口的电源适配器为3个电子设备(分别为电子设备1、电子设备2、电子设备3)同时充电,由于在相关技术中,电源适配器的每个端口输出的功率值为提前预设好的,因此,电源适配器会根据提前预设的输出功率为每个电子设备充电,例如,端口1预设的输出功率为A,则电源适配器以功率值A为端口1的电子设备1充电,类似的,电源适配器也按照电子设备2和电子设备3的相应端口提前预设的输出功率为电子设备2和电子设备3充电。在上述过程中,电源适配器的实际可输出功率值通常远远大于上述3个端口提前预设的功率的加和值,但是,由于电源适配器的输出功率值为提前预设的,因此输出功率的过程会到限制,进而会导致浪费适配器的大量可利用的输出功率,并且降低电子设备执行充电任务的效率。
本申请实施例中,电源适配器在与3个电子设备连接的情况下,会接收到3个电子设备的3个功率请求信息(一个功率请求消息为接入上述电源适配器的一个电子设备向上述电源适配器发送的),之后,该电源适配器会根据上述3个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定该3个电子设备的充电功率分配策略,最后,该电源适配器将按照上述充电功率分配策略,向3个电子设备分配充电功率。如此,电源适配器可以根据所有电子设备的实际功率的加和值来确定为每个电子设备分配的最终功率值,从而可以在保证电源适配器可靠性的前提下,最大程度的利用电源适配器的输出功率,从而提高电子设备执行充电任务的效率。
本实施例提供一种充电功率调整方法,如图1所示,该充电功率调整方法包括以下步骤301至步骤303:
步骤301:在M个电子设备与电源适配器连接的情况下,上述电源适配器接收上述M个电子设备发送的M个功率请求信息。
其中,M为正整数。
在本申请实施例中,一个功率请求信息与上述电源适配器连接的一个电子设备向上述电源适配器发送的。
在本申请实施例中,电子设备在接入电子设备适配器的端口后,会向电子设备发送功率请求信息,请求电源适配器为其分配功率,从而执行充电任务。
在本申请实施例中,不同的功率请求信息请求电源适配器分配的功率的功率值大小可能是相同,也可能是不同的。
在本申请实施例中,上述电源适配器可以包含N个端口,N大于等于M。
在本申请实施例中,上述电源适配器可以为PD适配器,上述电源适配器端口可以为USB接口。
步骤302:上述电源适配器根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略。
在本申请实施例中,上述电源适配器在接收到M个功率请求信息指示的M个功率后,可以计算M个功率的加和值,并根据加和值与该电源适配器的额定功率值之间额大小关系,确定充电功率分配策略。
可以理解的是,当加和值大于该电源适配器的额定功率值时,电源适配器需要适当减小为每个电子设备分配的功率的功率值大小,当加和值小于或者等于该电源适配器的额定功率值时,电源适配器需要可以按照功率请求信息中请求的功率值为每个电子设备分配的功率。
在一种示例中,电源适配器可以提前设置多种不同的充电功率分配策略,在接收到电子设备的功率请求信息后,根据功率请求信息的功率值与额定功率值的大小关系,确定最终为电子设备分配功率时采用的充电功率分配策略。
在另一种示例中,电源适配器可以预设充电功率分配策略的判定条件,在接收到电子设备的功率请求信息后,根据功率请求信息的功率值与额定功率值的大小关系以及判定条件,确定最终为电子设备分配功率时采用的充电功率分配策略
步骤303:上述电源适配器按照上述充电功率分配策略,向M个电子设备分配充电功率。
可以理解的,向M个电子设备分配的充电功率可以相同,也可以不同。
本申请实施例提供的充电功率调整方法,在M个电子设备与电源适配器连接的情况下,会接收到M个电子设备发送的M个功率请求信息,之后,该电源适配器会根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定该M个电子设备的充电功率分配策略,最后,该电源适配器将按照上述充电功率分配策略,向M个电子设备分配充电功率,M为正整数。如此,电源适配器可以根据所有电子设备的实际功率的加和值来确定为每个电子设备分配的最终功率值,从而可以在保证电源适配器可靠性的前提下,最大程度的利用电源适配器的输出功率,从而提高电子设备执行充电任务的效率。
可选的,在本申请实施例中,在上述步骤302中,本申请实施例提供的充电功率调整方法还可以包括如下步骤302a和步骤302b:
步骤302a:上述电源适配器在上述M个功率请求信息指示的功率的加和值小于或者等于上述电源适配器的额定功率值的情况下,确定上述充电功率分配策略为第一充电策略。
示例性的,上述第一充电策略为:根据上述M个功率请求信息对应的功率值,分别为上述M个电子设备分配充电功率。
可以理解的,电源适配器在上述M个功率请求信息指示的功率的加和值小于或者等于 上述电源适配器的额定功率值的情况下,电源适配器会根据M个电子设备中的每个电子设备向电源适配器发送的功率请求信息向该电子设备分配功率,也即所分配的功率的功率值即为电子设备发送的功率请求信息中请求的功率值。
示例性地,假设需要接入电源适配器的电子设备共有3个(即M为3),分别为电子设备1,电子设备2,电子设备3,该电源适配器的额定功率值为200W,则电源适配器接收到3个电子设备发送的3个功率请求信息,该3个功率请求信息请求的功率值分别为50W、60W、40W,3个功率值的加和为150W,小于电源适配器的额定功率值200W(即M个功率请求信息指示的功率的加和值小于或者等于电源适配器的额定功率值),则电子设备确定分配功率为按照各电子设备的功率请求信息中的功率值分配功率,即电子设备将为电子设备1分配功率50W,电子设备将为电子设备2分配功率60W,电子设备将为电子设备3分配功率40W。
步骤302b:上述电源适配器在上述M个功率请求信息指示的功率的加和值大于上述电源适配器的额定功率值的情况下,确定上述充电功率分配策略为第二充电策略。
示例性的,上述第二充电策略为:根据上述M个功率请求信息对应的功率值之间的比例关系以及上述额定功率值,分别为上述M个电子设备分配充电功率。
可以理解的,电源适配器在上述M个功率请求信息指示的功率的加和值大于上述电源适配器的额定功率值的情况下,电源适配器将比较上述M个功率请求信息对应的功率值之间的比例关系,并根据该比例关系划分额定功率值,得到每个电子设备对应的充电功率的功率值,并为上述M个电子设备分配充电功率。
示例性地,假设需要接入电源适配器的电子设备共有3个(即M为3),分别为电子设备1,电子设备2,电子设备3,该电源适配器的额定功率值为200W,则电源适配器接收到3个电子设备发送的3个功率请求信息,该3个功率请求信息请求的功率值分别为100W、60W、80W,3个功率值的加和为240W,大于电源适配器的额定功率值200W(即M个功率请求信息指示的功率的加和值大于电源适配器的额定功率值),则电源适配器将先计算3个功率请求信息请求的功率值之间的比例关系,分别为42%、25%、33%,则电源适配器将按照该比例划分额定功率值,将额定功率值划分为84W,50W和66W,并将上述划分好的3个功率值作为充电功率的功率值分配给3个电子设备,也即,电子设备将为电子设备1分配功率84W,电子设备将为电子设备2分配功率50W,电子设备将为电子设备3分配功率66W。
如此,电源适配器可以在接收到电子设备发送的功率请求信息后,可以将功率请求信息请求的功率值总和与电源适配器实际能分配的额定功率值进行比较,并按照实际能够分配的上限为每个电子设备分配额度最大的功率,从而在保证可靠性的前提下,最大程度的利用电源适配器所能够分配的功率。
可选的,在本申请实施例中,在上述步骤303之后,本申请实施例提供的充电功率调整方法还可以包括如下步骤304至步骤306:
步骤304:电源适配器接收上述M个电子设备中的目标电子设备发送的第一请求信息。
示例性的,上述第一请求信息用于请求上述电源适配器将为上述目标电子设备分配的充电功率值调整为目标功率值。
示例性的,上述第一请求信息为已经接入电源适配器的任意电子设备(即目标电子设备),在需要改变当前接收的电源适配器的功率的情况下(例如需要提高充电功率),向电源适配器发送的信息。
步骤305:电源适配器向上述M个电子设备中除上述目标电子设备以外的其他电子设备发送协商信息。
示例性的,上述协商信息用于确定是否允许调整所述其他电子设备的充电功率。
示例性的,上述协商信息为电源适配器在接收到第一请求信息后,向其他电子设备发送的询问其他电子设备是否同意改变自身充电功率的信息。
可以理解的,上述协商信息分别发送至每一个其他电子设备,则上述协商信息中指示的确定是否允许调整其他电子设备的充电功率,指的是:确定是否允许调整该个其他电子设备的充电功率。
步骤306:上述电源适配器在接收到第一电子设备确定信息情况下,调整上述第一电子设备的充电功率。
示例性的,上述其他电子设备包括所述第一电子设备。
示例性的,上述确定信息指示该第一电子设备允许上述电源适配器调整其充电功率。
能够理解的,不同的第一电子设备对应的充电功率不同,进一步地,无论是调整前还是调整后,不同的第一电子设备对应的充电功率均可以不同。
在一种示例中,电源适配器在接收到第一请求信息后,将会根据该第一请求信息请求的功率值,重新计算为每个电子设备分配的充电功率,并将该重新计算的能够为其他电子设备分配的充电功率以协商信息的形式告知其他电子设备。
第一:通常情况下,第一请求信息为电子设备请求电源适配器提高为其分配的充电功率,相应的,在为该电子设备提高分配的充电功率后,第一电子设备需要相应的减少分配的充电功率,从而为目标电子设备预留其需要提高的那部分充电功率。
第二,上述第一电子设备的确定信息可以为除了目标电子设备以外的部分电子设备,也可以为除了目标电子设备以外的全部电子设备发送的确定信息。
第三,在第一电子设备的确定信息为除了目标电子设备以外的部分电子设备发送的确定信息的情况下,在后续步骤307和步骤308中,电源适配器仅重新确定目标电子设备与 该部分电子设备(第一电子设备)的充电功率。
示例性的,电源适配器在接收到上述第一电子设备的确定信息后,将调整第一电子设备的充电功率,具体的,电子设备将重新确定充电功率分配策略,然后为第一电子设备分配充电功率,其中,该重新确定充电功率配策略的过程可以参照步骤302至步骤303的过程执行。
需要说明的是,上述重新确定充电功率配策略后,电源适配器可以为目标电子设备可以提高或者降低充电功率,但提高或者降低充电功率后,目标电子设备调整后的充电功率不一定为目标功率值,例如,电源适配器可以为目标电子设备可以提高充电功率,提高后的充电功率相较于当前目标电子设备的充电功率有所提高,但不一定能够与目标功率值相同。其中,电源适配器确定为目标电子设备可以提高或者降低充电功率的方式为:比较目标功率值与目标电子设备原先功率值的大小关系,若目标功率值大于目标电子设备原先功率值,则提高充电功率,若目标功率值大于目标电子设备原先功率值,则减小充电功率。
如此,在电源适配器接收到电子设备需要调整自身充电功率的情况下,可以向其他电子设备协商,并灵活调整所有电子设备或者部分电子设备的充电功率,使得电源适配器的功率得到灵活、充分地应用。
可选的,在本申请实施例中,在上述步骤305之后,本申请实施例提供的充电功率调整方法还可以包括如下步骤307:
步骤307:在上述电源适配器在预定时长内未接收到上述第二电子设备发送的确定信息情况下,保持上述第二电子设备的充电功率不变;
示例性的,上述第二电子设备为上述其他电子设备中未向电源适配器发送确定信息的电子设备。
示例性的,上述预定时长可以为电子设备预设的,也可以为用户自定义的,本申请实施例对此不作限定。
示例性的,在预定时长到达后,电源适配器仅调整向其发送确定信息的电子设备的充电功率,也即,仅调整第一电子设备的充电功率。
示例性地,如上述示例所述,假设电子设备1向电源适配器发送第一请求消息,请求电源适配器将其功率提高至80W,则此时,电源适配器将向电子设备2和电子设备3(即上述其他电子设备)发送协商信息,询问电子设备2和电子设备3是否允许调整电子设备2的功率值和电子设备3的功率值(即上述其他电子设备的充电功率),在5秒内(即上述预定时长内),电源适配器仅接收到了电子设备2(即上述第一电子设备)的确定信息,并未接收到电子设备3(即上述第二电子设备)的确定信息,则,电源适配器保持电子设备3的充电功率不变,同时将电子设备2的充电功率由60W调整至20W,同时将电子设备 1的功率值由50W调整至80W,也即,电子设备1的功率值为80W,电子设备1的功率值为20W,电子设备1的功率值为40W。
如此,在电源适配器需要根据目标电子设备的请求调整各个电子设备的功率值时,可以根据不同电子设备的不同需求机动、灵活的调整各个功率值,从而在最大程度上保证每个电子设备的实际功率需求。
可选的,在本申请实施例中,上述步骤306中的调整上述第一电子设备的充电功率,包括如下步骤306a和步骤306b:
步骤306a:电源适配器计算上述目标电子设备当前的功率值与上述目标功率值的第一差值。
步骤306b:电源适配器根据上述第一差值,调整上述第一电子设备的充电功率至第一充电功率。
可以理解的,上述第一充电功率与上述第一电子设备调整之前的充电功率之间的第二差值与上述第一差值相同。
上述目标功率值和第一电子设备可以参照前述描述,此处不再赘述。
示例性的,上述第二差值可以为所有第一电子设备与其所对应的第一充电功率之间的差值的加和值。
例如,共有3个电子设备,即电子设备1、电子设备2、电子设备3与电源适配器相连接,且3个电子设备的功率值加和与电源适配器的额定功率值相同。假设电子设备1为目标电子设备,其当前的功率值为50W,向电源适配器发送第一请求信息,请求将其功率值提高至70W(即目标功率值),则电源适配器向电子设备2和电子设备3发送协商信息,电源适配器在接收到电子设备2和电子设备3(即上述第一电子设备)的确定信息后,将根据上述目标电子设备当前的功率值和目标功率值的差值20W(即上述第一差值)调整电子设备2和电子设备3的功率值,其中,电子设备2调整后的功率值与当前功率值的差值,以及电子设备3调整后的功率值与当前功率值的差值的加和为20W(即上述第二差值)。例如,可以将电子设备2的充电功率降低10W,并将电子设备3的充电功率也降低10W。
可以理解的,上述目标功率值大于上述目标电子设备当前的功率值的情况下,即目标电子设备需要提高充电功率的情况下,上述电源适配器降低上述第一电子设备的充电功率;上述目标功率值小于上述目标电子设备当前的功率值的情况下,即目标电子设备需要降低充电功率的情况下,上述电源适配器提高上述第一电子设备的充电功率。
可选的,在本申请实施例中,在上述步骤303之后,本申请实施例提供的充电功率调整方法还可以包括如下步骤308:
步骤308:上述电源适配器在X个电子设备已脱离上述电源适配器的情况下,根据(M-X) 个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值间的大小关系,重新确定上述(M-X)个电子设备的充电功率分配策略,X为小于M的正整数。
示例性的,上述电源适配器在X个电子设备已脱离上述电源适配器的情况下,将回收上述X个电子设备的功率,并重新管理将上述回收的功率。
在一种示例中,电源适配器将重新计算能够为剩余(M-X)个电子设备分配的功率,即电源适配器将按照(M-X)个电子设备的功率请求信息中请求的功率值,为该(M-X)个电子设备重新分配功率。
在一种示例中,电源适配器将按照剩余(M-X)个电子设备之前功率分配的比值,将上述X个电子设备的功率分配给剩余(M-X)个电子设备。
示例性的,上述电源适配器重新确定所述(M-X)个电子设备的充电功率分配策略的过程可以参照步骤302至步骤303的过程进行执行。
如此,电源适配器可以在有电子设备从电源适配器脱离的情况下,及时将该脱离后空闲出的功率为其他还在电源适配器上充电的电子设备使用,从而充分利用电源适配器所能分配的功率。
可选的,在本申请实施例中,在上述步骤303之后,本申请实施例提供的充电功率调整方法还可以包括如下步骤309:
步骤309:上述电源适配器在X个电子设备已脱离上述电源适配器的情况下,将向(M-X)个电子设备发送询问信息。
示例性的,上述询问信息用于询问剩余仍与电源适配器相连接的(M-X)个是否需要提高充电功率。
步骤310:在电源适配器接收到第三电子设备发送的确认提高充电功率的信息后,重新确定上述第三电子设备的充电功率分配策略。
示例性的,上述第三电子设备为(M-X)个电子设备中向电源适配器发送确认提高充电功率的信息的电子设备。
示例性的,上述电源适配器重新确定所述第三电子设备的充电功率分配策略的过程可以参照步骤302至步骤303的过程进行执行。
可选地,在电源适配器重新确定上述第三电子设备的充电功率分配策略后,可以根据充电功率分配策略确定上述第三电子设备中每个电子设备的充电完成时长,并将完成时长信息发送至相应的电子设备。
可以理解的,上述充电完成时长为第三电子设备中的每个电子设备充电至100%所需要花费的时长。
本实施例提供一种充电功率调整方法,如图2所示,应用于电子设备,该充电功率调 整方法包括以下步骤401和步骤402:
步骤401:电子设备向与上述电子设备连接的电源适配器发送功率请求信息。
步骤402:电子设备根据上述电源适配器指示的充电功率分配策略进行充电。
在本申请实施例中,上述功率请求信息、充电功率分配策略可以参照前述描述,此处不再赘述。
本申请实施例中提供的充电功率调整方法,电子设备在向与上述电子设备连接的电源适配器发送功率请求信息后,将根据上述电源适配器指示的充电功率分配策略进行充电,如此,根据自身所需要的充电功率的不同,电子设备可以接收到不同的充电功率,从而提升电子设备的充电效率。
可选的,在本申请实施例中,上述步骤402之后,在本申请实施例提供的充电功率调整方法还可以包括如下步骤403:
步骤403:电子设备向上述电源适配器发送第一请求信息。
示例性的,上述第一请求信息用于请求上述电源适配器将上述电子设备的充电功率值调整为目标功率值。
在本申请实施例中,上述第一请求信息可以参照前述描述,此处不再赘述。
在本申请实施例提供的充电功率调整方法中,在电子设备需要提高或者减小自身的充电功率的情况下,可以电源适配器发出第一请求信息,从而充分、灵活地利用电源适配器的充电功率,提高充电效率。
可选的,在本申请实施例中,上述步骤402之后,在本申请实施例提供的充电功率调整方法还可以包括如下步骤404:
步骤404:电子设备在接收到上述电源适配器发送的协商信息的情况下,执行目标操作。
示例性的,上述协商信息用于确定是否允许调整上述其他电子设备的充电功率,上述目标操作包括:向上述电源适配器发送确定信息,或者,忽略上述协商信息,上述确定信息用于确定允许上述电源适配器根据上述协商信息调整上述电子设备的功率值。
在本申请实施例中,上述确定信息可以参照前述描述,此处不再赘述。
在本申请实施例提供的充电功率调整方法中,在电子设备同意为其他电子设备改变自身充电功率的情况下,可以向电源适配器发出确定信息,而在电子设备不同意为其他电子设备改变自身充电功率的情况下,可以忽略电源适配器发出的协商信息,从而充分、灵活地利用电源适配器的充电功率,提高充电效率。
可选的,在本申请实施例中,上述步骤404之前,在本申请实施例提供的充电功率调整方法还可以包括如下步骤405和步骤406:
步骤405:电子设备根据电池信息,计算上述电子设备的充电时长。
步骤406:电子设备显示上述充电时长对应的提示信息。
在上述步骤405和步骤406的基础上,在上述步骤404中,本申请实施例提供的充电功率调整方法还可以包括如下步骤407:
步骤407:在接收到用户对上述提示信息的第一输入的情况下,向上述电源适配器发送确定信息,或者,在接收到用户对上述提示信息的第二输入的情况下,忽略上述协商信息。
其中,上述第一输入与上述第二输入不同。
示例性的,上述第一输入可以为用户对上述提示信息中确认同意改变自身充电功率的信息所在区域的输入,例如,用户对提示信息中“确认”控件的输入。相反的,第二输入可以为用户对上述确认忽略第一请求信息的信息所在区域的输入,例如,用户对提示信息中“忽略”控件的输入。
示例性的,上述第一输入可以为触控输入,例如,点击输入,还可以为语音输入,还可以为特殊手势的输入,本申请是实施例对此不作限定。
示例性的,上述提示信息为用于提示充电时长的信息。
示例性的,上述提示信息可以为一个提示信息,也可以为多个提示信息。
可以理解的是,需要改变自身充电功率的电子设备可能会提供多个改变后的充电功率,以便于电子设备的用户选择,即有些电子设备的用户能够接受较小的充电功率的改变,有些电子设备的用户能够接受较大的充电功率的改变,用户可以根据自身充电需求选择适合自己的充电功率的改变方式。
在一种示例中,每个电子设备获取自身电池的容量Q(单位为mAh),电子设备可以在显示界面上显示改变充电功率后,每个电子设备使用该充电功率充满电使用的时长信息T,计算出充电功率,例如,I=Qn/T,并将该充电功率发送给电源适配器。
本申请实施例提供的充电功率调整方法,电子设备可以在获取到电源适配器需要重新调整的充电功率分配策略的信息后,将在电子设备的显示屏中提示延长时长信息或者最新充电时间,使得电子设备的用户能够清晰明了的了解到充电时长。
可选的,在本申请实施例中,在上述步骤403和步骤404之前,本申请实施例提供的充电功率调整方法还可以包括如下步骤408至步骤410:
步骤408:确的P个目标功率值,电子设备根据电池信息和上述P个目标功率值,计算与P个目标功率值分别对应的上述电子设备的P个充电时长,P为正整数。
步骤409:电子设备将在显示界面上分别显示上述P个充电时长对应的第一提示信息。
步骤410:电子设备接收用户对上述第一提示信息中目标提示信息的第三输入。
上述步骤403还可以有步骤411执行,
步骤411:响应于上述第三输入,上述电子设备向电源适配器发送第一请求信息。
在本申请实施例中,上述第一请求信息中对应与该目标提示信息对应的目标功率值。
可以理解的,多个第一提示信息对应于对应的不同的充电时长信息,也就是对应于多个不同的充电功率信息。
可以理解的,上述第三输入可以参照前述第一输入和第二输入,此处不再赘述。
如此,电子设备可以根据不同的目标功率值,在电子设备的显示屏中提示多个节省时间或者充电时间,使得电子设备的用户能够清晰明了的了解到调整后的充电时长,从而确定需要调整的目标功率值。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
需要说明的是,本申请实施例提供的充电功率调整方法,执行主体可以为充电功率调整装置,或者该充电功率调整装置中的用于执行充电功率调整方法的控制模块。本申请实施例中以充电功率调整装置执行充电功率调整方法为例,说明本申请实施例提供的充电功率调整装置。
图3为实现本申请实施例提供的充电功率调整装置的可能的结构示意图。如图3所示,上述装置600包括接收模块601、确定模块602和分配模块603;上述接收模块601,用于在M个电子设备与电源适配器连接的情况下,接收M个电子设备发送的M个功率请求信息;上述确定模块602,用于根据上述接收模块601接收的上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;上述分配模块603,用于按照上述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
在本申请实施例提供的充电功率调整装置,充电功率调整装置在M个电子设备与电源适配器连接的情况下,会接收到M个电子设备发送的M个功率请求信息,之后,该充电功率调整装置会根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定该M个电子设备的充电功率分配策略,最后,该充电功率调整装置将按照上述充电功率分配策略,向M个电子设备分配充电功率,M为正整数。如此,充电功率调整装置可以根据所有电子设备的实际功率的加和值来确定为每个电子设备分配的最终功率值,从而可以在保证电源适配器可靠性的前提下,最大程度的利用电源适配器的输出功率,从而提高电子设备执行充电任务的效率。
可选的,在本申请实施例中,上述确定模块602,具体用于在上述M个功率请求信息指示的功率的加和值小于或者等于上述电源适配器的额定功率值的情况下,确定上述充电 功率分配策略为第一充电策略,其中,上述第一充电策略为:根据上述M个功率请求信息对应的功率值,分别为上述M个电子设备分配充电功率;上述确定模块602,具体用于在上述M个功率请求信息指示的功率的加和值大于上述电源适配器的额定功率值的情况下,确定上述充电功率分配策略为第二充电策略,其中,上述第二充电策略为:根据上述M个功率请求信息对应的功率值之间的比例关系以及上述额定功率值,分别为上述M个电子设备分配充电功率。
可选的,在本申请实施例中,上述装置600还包括发送模块604和调整模块605;上述发送模块604,接收上述M个电子设备中的目标电子设备发送的第一请求信息,上述第一请求信息用于请求上述电源适配器将为上述目标电子设备分配的功率值调整为目标功率值;上述发送模块604,还用于向上述M个电子设备中除上述目标电子设备以外的其他电子设备发送协商信息,上述协商信息用于确定是否允许调整上述其他电子设备的充电功率;上述调整模块605,用于在接收到其他电子设备发送的确定信息情况下,调整第一电子设备的充电功率;其中,其中,上述其他电子设备包括上述第一电子设备。
可选的,在本申请实施例中,上述装置600包括执行模块606;上述执行模块606,用于在预定时长内未接收到第二电子设备发送的确定信息情况下,保持上述第二电子设备的充电功率不变;其中,上述第二电子设备为上述其他电子设备中未向电源适配器发送确定信息的电子设备
可选的,在本申请实施例中,上述装置600还包括计算模块607;上述计算模块607,用于计算上述目标电子设备当前的功率值与上述目标功率值的第一差值;上述调整模块605,具体用于根据上述计算模块607计算的上述第一差值,调整上述第一电子设备的充电功率至第一充电功率;其中,上述第一充电功率与上述第一电子设备调整之前的充电功率之间的第二差值与上述第一差值相同。
图4为实现本申请实施例提供的充电功率调整装置的可能的结构示意图。如图4所示,上述装置700包括:发送模块701和执行模块702;上述发送模块701,用于向与上述电子设备连接的电源适配器发送功率请求信息;上述执行模块702,用于根据上述电源适配器指示的充电功率分配策略进行充电。
本申请实施例提供的充电功率调整装置,在充电功率调整装置需要同意为其他电子设备改变自身充电功率的情况下,可以电源适配器发出目标信息,从而充分、灵活地利用电源适配器的充电功率,提高充电效率。
可选的,在本申请实施例中,上述发送模块701,还用于向上述电源适配器发送第一请求信息,上述第一请求信息用于请求上述电源适配器将上述电子设备的充电功率值调整为目标功率值。
可选的,在本申请实施例中,上述执行模块702,用于在接收到上述电源适配器发送的协商信息的情况下,执行目标操作;其中,上述协商信息用于确定是否允许调整上述其他电子设备的充电功率,上述目标操作包括:向上述电源适配器发送确定信息,或者,忽略上述协商信息,上述确定信息用于确定允许上述电源适配器根据上述协商信息调整上述电子设备的功率值。
可选的,在本申请实施例中,上述装置700包括计算模块703和显示模块704,上述装置700还包括计算模块703和显示模块704;上述计算模块703,用于根据电池信息,计算上述电子设备的充电时长;上述显示模块704,用于显示上述计算模块703计算的上述充电时长对应的提示信息;上述发送模块701,用于在接收到用户对上述提示信息的第一输入的情况下,向上述电源适配器发送确定信息,或者,在接收到用户对上述提示信息的第二输入的情况下,忽略上述协商信息;其中,上述第一输入与上述第二输入不同。
本申请实施例中的充电功率调整装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的充电功率调整装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的充电功率调整装置能够实现图1至图2的方法实施例实现的各个过程,为避免重复,这里不再赘述。
需要说明的是,如图3所示,充电功率调整装置600中一定包括的模块用实线框示意,如接收模块601;充电功率调整装置600中可以包括也可以不包括的模块用虚线框示意,如发送模块604。如图4所示,充电功率调整装置700中一定包括的模块用实线框示意,如发送模块701;充电功率调整装置700中可以包括也可以不包括的模块用虚线框示意,如计算模块703。
可选的,如图5所示,本申请实施例还提供一种电子设备800,包括处理器801,存储器802,存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述充电功率调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。其中,用户输入单元107包括:触控面板1071和其他输入设备1072,显示单元106包含显示面板1061,输入单元104包括图像处理器1041和麦克风1042,存储器109可用于存储软件程序(如,操作系统、至少一个功能所需的应用程序)以及各种数据。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,当电子设备100为电源适配器的情况下,射频单元101,用于在M个电子设备与电源适配器连接的情况下,接收M个电子设备发送的M个功率请求信息,一个功率请求消息为接入上述电源适配器的一个电子设备向上述电源适配器发送的;处理器110,用于根据上述射频单元101接收的上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;处理器110,用于按照上述处理器110分配的充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
在本申请实施例提供的电源适配器,电源适配器在M个电子设备与电源适配器连接的情况下,会接收到M个电子设备发送的M个功率请求信息,之后,该电源适配器会根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定该M个电子设备的充电功率分配策略,最后,该电源适配器将按照上述充电功率分配策略,向M个电子设备分配充电功率,M为正整数。如此,电源适配器可以根据所有电子设备的实际功率的加和值来确定为每个电子设备分配的最终功率值,从而可以在保证电源适配器可靠性的前提下,最大程度的利用电源适配器的输出功率,从而提高电子设备执行充电任务的效率。
可选的,处理器110,具体用于在上述M个功率请求信息指示的功率的加和值小于或者等于上述电源适配器的额定功率值的情况下,确定上述充电功率分配策略为第一充电策略,其中,上述第一充电策略为:根据上述M个功率请求信息对应的功率值,分别为上述M个电子设备分配充电功率;处理器110,具体用于在上述M个功率请求信息指示的功率 的加和值大于上述电源适配器的额定功率值的情况下,确定上述充电功率分配策略为第二充电策略,其中,上述第二充电策略为:根据上述M个功率请求信息对应的功率值之间的比例关系以及上述额定功率值,分别为上述M个电子设备分配充电功率。
可选的,射频单元101,还用于接收上述M个电子设备中的目标电子设备发送的第一请求信息,上述第一请求信息用于请求上述电源适配器将为上述目标电子设备分配的功率值调整为目标功率值;上述射频单元101,还用于向上述M个电子设备中除上述目标电子设备以外的其他电子设备发送协商信息,上述协商信息用于确定是否允许调整上述其他电子设备的充电功率;处理器110,还用于在接收到第一电子设备发送的确定信息情况下,调整上述第一电子设备的充电功率;其中,其中,上述其他电子设备包括上述第一电子设备。
可选的,处理器110,还用于在上述电源适配器在预定时长内未接收到第二电子设备发送的确定信息情况下,保持上述第二电子设备的充电功率不变;其中,上述第二电子设备为上述其他电子设备中未向电源适配器发送确定信息的电子设备。
可选的,处理器110,具体用于计算上述目标电子设备当前的功率值与上述目标功率值的第一差值;上述处理器,还具体用于根据上述第一差值,调整上述第一电子设备的充电功率至第一充电功率;其中,上述第一充电功率与上述第一电子设备调整之前的充电功率之间的第二差值与上述第一差值相同。
其中,当电子设备100为电子设备的情况下,射频单元101,用于向与上述电子设备连接的电源适配器发送功率请求信息;上述处理器110,用于根据上述电源适配器指示的充电功率分配策略进行充电。
本申请实施例中提供的电子设备,电子设备在向与上述电子设备连接的电源适配器发送功率请求信息后,将根据上述电源适配器指示的充电功率分配策略进行充电,如此,根据自身所需要的充电功率的不同,带着你设备可以接收到不同的充电功率,从而提升电子设备的充电效率
可选的,上述射频单元101,还用于向上述电源适配器发送第一请求信息,上述第一请求信息用于请求上述电源适配器将上述电子设备的充电功率值调整为目标功率值。
可选的,上述处理器110,还用于在接收到上述电源适配器发送的协商信息的情况下,执行目标操作;其中,上述协商信息用于确定是否允许调整上述其他电子设备的充电功率,上述目标操作包括:向上述电源适配器发送确定信息,或者,忽略上述协商信息,上述确定信息用于确定允许上述电源适配器根据上述协商信息调整上述电子设备的功率值。
可选的,处理器110,用于根据电池信息,计算上述电子设备的充电时长;上述显示单元106,用于显示上述充电时长对应的提示信息;上述射频单元101,具体用于在接收 到用户对上述提示信息的第一输入的情况下,向上述电源适配器发送确定信息,或者,在接收到用户对上述提示信息的第二输入的情况下,忽略上述协商信息;其中,上述第一输入与上述第二输入不同。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述充电功率调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述充电功率调整方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于 所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (22)

  1. 一种充电功率调整方法,应用于电源适配器,所述方法包括:
    在M个电子设备与所述电源适配器连接的情况下,接收所述M个电子设备发送的M个功率请求信息;
    根据所述M个功率请求信息指示的功率的加和值与所述电源适配器的额定功率值,确定充电功率分配策略;
    按照所述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
  2. 根据权利要求1所述的方法,其中,所述根据所述M个功率请求信息指示的功率的加和值与所述电源适配器的额定功率值,确定充电功率分配策略,包括:
    在所述M个功率请求信息指示的功率的加和值小于或者等于所述电源适配器的额定功率值的情况下,确定所述充电功率分配策略为第一充电策略,其中,所述第一充电策略为:根据所述M个功率请求信息对应的功率值,分别为所述M个电子设备分配充电功率;
    在所述M个功率请求信息指示的功率的加和值大于所述电源适配器的额定功率值的情况下,确定所述充电功率分配策略为第二充电策略,其中,所述第二充电策略为:根据所述M个功率请求信息对应的功率值之间的比例关系以及所述额定功率值,分别为所述M个电子设备分配充电功率。
  3. 根据权利要求1所述的方法,其中,所述电源适配器按照所述充电功率分配策略,向M个电子设备分配充电功率之后,所述方法还包括:
    接收所述M个电子设备中的目标电子设备发送的第一请求信息,所述第一请求信息用于请求所述电源适配器将为所述目标电子设备分配的充电功率值调整为目标功率值;
    向所述M个电子设备中除所述目标电子设备以外的其他电子设备发送协商信息,所述协商信息用于确定是否允许调整所述其他电子设备的充电功率;
    在接收到第一电子设备发送的确定信息情况下,调整第一电子设备的充电功率;
    其中,所述其他电子设备包括所述第一电子设备。
  4. 根据权利要求3所述的方法,其中,所述电源适配器向所述M个电子设备中除所述目标电子设备以外的其他电子设备发送协商信息之后,所述方法包括:
    在预定时长内未接收到第二电子设备发送的确定信息情况下,保持所述第二电子设备的充电功率不变;
    其中,所述第二电子设备为所述其他电子设备中未向电源适配器发送确定信息的电子设备。
  5. 根据权利要求3所述的方法,其中,所述调整所述第一电子设备的充电功率,包括:
    计算所述目标电子设备当前的功率值与所述目标功率值的第一差值;
    根据所述第一差值,调整所述第一电子设备的充电功率至第一充电功率;
    其中,所述第一充电功率与所述第一电子设备调整之前的充电功率之间的第二差值与所述第一差值相同。
  6. 一种充电功率调整方法,应用于电子设备,所述方法包括:
    向与所述电子设备连接的电源适配器发送功率请求信息;
    根据所述电源适配器指示的充电功率分配策略进行充电。
  7. 根据权利要求6所述的方法,其中,所述向所述电子设备充电之后,所述方法还包括:
    向所述电源适配器发送第一请求信息,所述第一请求信息用于请求所述电源适配器将所述电子设备的充电功率值调整为目标功率值。
  8. 根据权利要求6所述的方法,其中,所述根据所述电源适配器指示的充电功率分配策略进行充电之后,所述方法还包括:
    在接收到所述电源适配器发送的协商信息的情况下,执行目标操作;
    其中,所述协商信息用于确定是否允许调整所述其他电子设备的充电功率,所述目标操作包括:向所述电源适配器发送确定信息,或者,忽略所述协商信息,所述确定信息用于确定允许所述电源适配器根据所述协商信息调整所述电子设备的功率值。
  9. 根据权利要求8所述的方法,其中,所述执行目标操作之前,所述方法还包括:
    根据电池信息,计算所述电子设备的充电时长;
    显示所述充电时长对应的提示信息;
    所述执行目标操作,包括:
    在接收到用户对所述提示信息的第一输入的情况下,向所述电源适配器发送确定信息,
    或者,在接收到用户对所述提示信息的第二输入的情况下,忽略所述协商信息;
    其中,所述第一输入与所述第二输入不同。
  10. 一种充电功率调整装置,所述装置包括接收模块、确定模块和分配策略;
    所述接收模块,用于在M个电子设备与电源适配器连接的情况下,接收M个电子设备发送的M个功率请求信息;
    所述确定模块,用于根据所述接收模块接收的所述M个功率请求信息指示的功率的加和值与所述电源适配器的额定功率值,确定充电功率分配策略;
    所述分配模块,用于按照所述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。
  11. 根据权利要求10所述的装置,其中,
    所述确定模块,具体用于在所述M个功率请求信息指示的功率的加和值小于或者等于 所述电源适配器的额定功率值的情况下,确定所述充电功率分配策略为第一充电策略,其中,所述第一充电策略为:根据所述M个功率请求信息对应的功率值,分别为所述M个电子设备分配充电功率;
    所述确定模块,具体用于在所述M个功率请求信息指示的功率的加和值大于所述电源适配器的额定功率值的情况下,确定所述充电功率分配策略为第二充电策略,其中,所述第二充电策略为:根据所述M个功率请求信息对应的功率值之间的比例关系以及所述额定功率值,分别为所述M个电子设备分配充电功率。
  12. 根据权利要求10所述的装置,其中,所述装置还包括发送模块和调整模块;
    所述发送模块,用于接收所述M个电子设备中的目标电子设备发送的第一请求信息,所述第一请求信息用于请求所述电源适配器将为所述目标电子设备分配的功率值调整为目标功率值;
    所述发送模块,还用于向所述M个电子设备中除所述目标电子设备以外的其他电子设备发送协商信息,所述协商信息用于确定是否允许调整所述其他电子设备的充电功率;
    所述确定模块,还用于在接收到所述其他电子设备确定信息情况下,调整第一电子设备的充电功率;
    其中,所述其他电子设备包括所述第一电子设备。
  13. 根据权利要求12所述的装置,其中,所述装置还包括执行模块;
    所述执行模块,用于在预定时长内未接收到第二电子设备发送的确定信息情况下,保持所述第二电子设备的充电功率不变;
    其中,所述第二电子设备为所述其他电子设备中未向电源适配器发送确定信息的电子设备。
  14. 根据权利要求12所述的装置,其中,所述装置还包括计算模块;
    所述计算模块,用于计算所述目标电子设备当前的功率值与所述目标功率值的第一差值;
    所述调整模块,具体用于根据所述计算模块计算的所述第一差值,调整所述第一电子设备的充电功率至第一充电功率;
    其中,所述第一充电功率与所述第一电子设备调整之前的充电功率之间的第二差值与所述第一差值相同。
  15. 一种充电功率调整装置,所述装置包括:发送模块和执行模块;
    所述发送模块,用于向与所述电子设备连接的电源适配器发送功率请求信息;
    所述执行模块,用于根据所述电源适配器指示的充电功率分配策略进行充电。
  16. 根据权利要求15所述的装置,其中,
    所述发送模块,还用于向所述电源适配器发送第一请求信息,所述第一请求信息用于请求所述电源适配器将所述电子设备的充电功率值调整为目标功率值。
  17. 根据权利要求15所述的装置,其中,
    所述执行模块,用于在接收到所述电源适配器发送的协商信息的情况下,执行目标操作;
    其中,所述协商信息用于确定是否允许调整所述其他电子设备的充电功率,所述目标操作包括:向所述电源适配器发送确定信息,或者,忽略所述协商信息,所述确定信息用于确定允许所述电源适配器根据所述协商信息调整所述电子设备的功率值。
  18. 根据权利要求17所述的装置,其中,所述装置还包括计算模块、显示模块;
    所述计算模块,用于根据电池信息,计算所述电子设备的充电时长;
    所述显示模块,用于显示所述计算模块计算的所述充电时长对应的提示信息;
    所述发送模块,用于在接收到用户对所述提示信息的第一输入的情况下,向所述电源适配器发送确定信息,
    或者,在接收到用户对所述提示信息的第二输入的情况下,忽略所述协商信息;
    其中,所述第一输入与所述第二输入不同。
  19. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项或者6至9任一项所述的充电功率调整方法的步骤。
  20. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项或者6至9任一项所述的充电功率调整方法的步骤。
  21. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项或者6至9任一项所述的充电功率调整方法。
  22. 一种充电功率调整装置,其特征在于,包括所述装置被配置成用于实现如权利要求1-5任一项或者6至9任一项所述的充电功率调整方法的步骤。
PCT/CN2022/088949 2021-04-26 2022-04-25 充电功率调整方法、装置和电子设备 Ceased WO2022228374A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110456001.7A CN113193620B (zh) 2021-04-26 2021-04-26 充电功率调整方法、装置和电子设备
CN202110456001.7 2021-04-26

Publications (1)

Publication Number Publication Date
WO2022228374A1 true WO2022228374A1 (zh) 2022-11-03

Family

ID=76979166

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088949 Ceased WO2022228374A1 (zh) 2021-04-26 2022-04-25 充电功率调整方法、装置和电子设备

Country Status (2)

Country Link
CN (1) CN113193620B (zh)
WO (1) WO2022228374A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116073481A (zh) * 2023-02-15 2023-05-05 此芯科技(上海)有限公司 一种充电装置、方法及电子设备
CN118889638A (zh) * 2024-09-04 2024-11-01 宁波从越电子设备有限公司 能够多口同时充电的便携式储能装置及充电功率分配方法

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193620B (zh) * 2021-04-26 2024-05-17 维沃移动通信有限公司 充电功率调整方法、装置和电子设备
CN113472096B (zh) * 2021-08-17 2025-06-24 维沃移动通信有限公司 无线充电管理方法、装置和电子设备
CN114123380A (zh) * 2021-10-15 2022-03-01 华为数字能源技术有限公司 充电装置、充电器以及充电功率调整方法
CN114598017A (zh) * 2022-03-31 2022-06-07 联想(北京)有限公司 一种信息处理方法、装置和可读存储介质
CN114759632B (zh) * 2022-04-18 2026-04-28 杭州涂鸦信息技术有限公司 一种充电装置
CN116031965B (zh) * 2022-06-30 2023-10-27 荣耀终端有限公司 充电方法、装置、电源适配器和存储介质
CN116111702B (zh) * 2023-01-29 2023-07-21 深圳金三立视频科技股份有限公司 Ct取电摄像机电源管理方法、装置、终端及可读存储介质
CN116169758B (zh) * 2023-04-25 2024-05-03 厦门英麦科芯集成科技有限公司 输出功率的调整方法以及充电器
CN116505628B (zh) * 2023-06-28 2024-01-19 深圳市澳博森科技有限公司 一种智能多端口适配器充电控制方法及系统
CN117220376B (zh) * 2023-09-15 2024-06-04 小米汽车科技有限公司 充电方法、装置、适配器及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202309103U (zh) * 2011-06-16 2012-07-04 深圳市理工新能源有限公司 一种充电控制系统
US20170373522A1 (en) * 2016-06-23 2017-12-28 Apple Inc. Charging System
CN107706972A (zh) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 用于充电装置的功率输出控制方法、电路及充电装置
CN109802455A (zh) * 2019-01-09 2019-05-24 湖南秒冲新能源科技有限责任公司 一种充电方法和充电机系统
CN113193620A (zh) * 2021-04-26 2021-07-30 维沃移动通信有限公司 充电功率调整方法、装置和电子设备

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005109583A2 (en) * 2004-04-29 2005-11-17 The Regents Of The University Of California Universal power adapter
CN106410990A (zh) * 2016-11-21 2017-02-15 努比亚技术有限公司 无线充电设备的控制装置及方法
CN106972736B (zh) * 2017-05-26 2023-06-30 深圳市乐得瑞科技有限公司 电源适配设备、控制方法及装置
CN107612068B (zh) * 2017-09-21 2019-11-19 深圳市盛路物联通讯技术有限公司 一种基于内置天线的无线充电方法及充电设备
CN108494030B (zh) * 2018-03-13 2021-03-12 维沃移动通信有限公司 一种无线充电方法、终端及发射端设备
CN108879884A (zh) * 2018-08-15 2018-11-23 国网浙江省电力有限公司杭州供电公司 一种充电站的充电管理方法及装置
CN112440831A (zh) * 2019-09-04 2021-03-05 北汽福田汽车股份有限公司 燃料电池车辆的发动机控制方法、装置及燃料电池车辆
CN110626205B (zh) * 2019-10-08 2020-07-24 北京嘀嘀无限科技发展有限公司 充电设备功率分配方法、存储介质及系统
CN112202222B (zh) * 2020-09-29 2023-03-14 维沃移动通信有限公司 充电器、充电控制方法及装置
CN112440806B (zh) * 2020-11-23 2022-08-09 南方电网调峰调频发电有限公司 充电桩的功率控制方法、装置、计算机设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202309103U (zh) * 2011-06-16 2012-07-04 深圳市理工新能源有限公司 一种充电控制系统
US20170373522A1 (en) * 2016-06-23 2017-12-28 Apple Inc. Charging System
CN107706972A (zh) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 用于充电装置的功率输出控制方法、电路及充电装置
CN109802455A (zh) * 2019-01-09 2019-05-24 湖南秒冲新能源科技有限责任公司 一种充电方法和充电机系统
CN113193620A (zh) * 2021-04-26 2021-07-30 维沃移动通信有限公司 充电功率调整方法、装置和电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116073481A (zh) * 2023-02-15 2023-05-05 此芯科技(上海)有限公司 一种充电装置、方法及电子设备
CN118889638A (zh) * 2024-09-04 2024-11-01 宁波从越电子设备有限公司 能够多口同时充电的便携式储能装置及充电功率分配方法

Also Published As

Publication number Publication date
CN113193620B (zh) 2024-05-17
CN113193620A (zh) 2021-07-30

Similar Documents

Publication Publication Date Title
WO2022228374A1 (zh) 充电功率调整方法、装置和电子设备
US10551894B2 (en) Dynamic power management in a hybrid dual battery system
WO2022068802A1 (zh) 充电器、充电控制方法及装置
US8909951B2 (en) Power management system for dynamically downgrading or upgrading the speed of individual USB ports on a USB hub based on available and requested power
WO2019061987A1 (zh) 充电设备及其充电方法
US20130151840A1 (en) Multi-processor electronic systems
EP3519917B1 (en) Prioritized sequencing of device inrush current
CN102749985A (zh) 动态调整总线时钟的方法及其装置
WO2022135389A1 (zh) 充电方法、装置及电子设备
CN113472043A (zh) 双Type-C口共享充电功率充电器及其输出功率智能分配方法
CN115756135A (zh) 一种处理器管理方法以及计算设备
CN112269086B (zh) 充电线缆的识别方法、装置、充电线缆及可读存储介质
CN118354442A (zh) 一种带宽分配方法及电子设备
US11316343B2 (en) Interactive user control of power utilization
CN107566609A (zh) 一种下载任务处理方法、装置、终端和存储介质
CN110401462A (zh) 电源管理方法及相关装置
CN115004640B (zh) 一种设备功耗管理系统、方法、设备和存储介质
CN111857996A (zh) 一种中断处理方法、系统、设备及计算机可读存储介质
WO2026026882A1 (zh) 扩展坞及其控制方法、装置、存储介质和产品
CN107315635A (zh) 手持设备和该手持设备的资源量的调整方法
CN110708747A (zh) 数据传输速率调整方法、系统、存储介质及移动终端
CN115514033A (zh) 充电方法、供电设备以及计算机可读存储介质
CN116169758A (zh) 输出功率的调整方法以及充电器
CN117555649A (zh) 网络服务处理方法、装置、设备及存储介质
CN118819267A (zh) 功耗调整方法和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794844

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794844

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 22794844

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/04/2024)