[go: up one dir, main page]

CN113193620A - Charging power adjusting method and device and electronic equipment - Google Patents

Charging power adjusting method and device and electronic equipment Download PDF

Info

Publication number
CN113193620A
CN113193620A CN202110456001.7A CN202110456001A CN113193620A CN 113193620 A CN113193620 A CN 113193620A CN 202110456001 A CN202110456001 A CN 202110456001A CN 113193620 A CN113193620 A CN 113193620A
Authority
CN
China
Prior art keywords
power
charging
electronic device
adapter
power adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110456001.7A
Other languages
Chinese (zh)
Other versions
CN113193620B (en
Inventor
巫志文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to CN202110456001.7A priority Critical patent/CN113193620B/en
Publication of CN113193620A publication Critical patent/CN113193620A/en
Priority to PCT/CN2022/088949 priority patent/WO2022228374A1/en
Application granted granted Critical
Publication of CN113193620B publication Critical patent/CN113193620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/90
    • H02J7/40
    • H02J7/92
    • 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

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请公开了一种充电功率调整方法、装置和电子设备,属于通信技术领域,用于解决由于电源适配器的输出功率值为提前预设的,因此输出功率的过程会到限制,进而会导致浪费适配器的大量可利用的输出功率,并且降低电子设备执行充电任务的效率的问题。该方法应用于电源适配器,该方法包括:在M个电子设备与上述电源适配器连接的情况下,上述电源适配器接收M个电子设备发送的M个功率请求信息;上述电源适配器根据上述M个功率请求信息指示的功率的加和值与上述电源适配器的额定功率值,确定充电功率分配策略;上述电源适配器按照上述充电功率分配策略,向M个电子设备分配充电功率,其中,M为正整数。

Figure 202110456001

The present application discloses a charging power adjustment method, device and electronic device, which belong to the field of communication technology and are used to 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. The large amount of available output power of the adapter and the problem of reducing the efficiency with which the electronic device performs the charging task. The method is applied to a power adapter, and the method includes: when M electronic devices are connected to the power adapter, the power adapter receives M pieces of power request information sent by the M electronic equipment; The sum of the power indicated by the information and the rated power value of the power adapter determines a charging power distribution strategy; the power adapter allocates charging power to M electronic devices according to the charging power allocation strategy, where M is a positive integer.

Figure 202110456001

Description

Charging power adjusting method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a charging power adjustment method and device and electronic equipment.
Background
With the development of electronic device technology, the types of electronic devices are increasing, and the input power corresponding to each different type of electronic device is different.
The user can access a plurality of electronic devices to different ports of the same power adapter to charge the plurality of electronic devices. At present, in order to ensure the safety and reliability of the power adapter, the power adapter presets the same output power value for different ports in advance, so that different electronic devices receive the output power preset by the power adapter after being simultaneously connected to the power adapter, and thus, the output power of the power adapter can be controlled, and the overload execution of the charging task is avoided.
However, in the above process, the actual value of the power that can be output by the power adapter is usually much larger than the sum of the powers preset in advance for the ports, but since the value of the power that can be output by the power adapter is preset in advance, the process of outputting the power is limited, which in turn wastes a large amount of the output power available for the adapter, and reduces the efficiency of the electronic device in performing the charging task.
Disclosure of Invention
An object 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 a power adapter is preset in advance, the process of the output power is limited, and then a large amount of available output power of the adapter is wasted, and the efficiency of an electronic device for performing a charging task is reduced.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a charging power adjustment method, which is applied to a power adapter, and the method includes: when M electronic devices are connected with the power adapter, the power adapter receives M power request information sent by the M electronic devices; 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; and the power adapter distributes charging power to the M pieces of electronic equipment according to the charging power distribution strategy, wherein M is a positive integer.
In a second aspect, an embodiment of the present application provides a charging power adjustment apparatus, where the apparatus includes a receiving module, a determining module, and an allocation policy; the receiving module is configured to receive M pieces of power request information sent by M pieces of electronic equipment when the M pieces of electronic equipment are connected to the power adapter; the determining module is configured to determine a charging power allocation policy according to a sum of powers indicated by the M pieces of power request information received by the receiving module and a rated power value of the power adapter; the distribution module is configured to distribute charging power to M electronic devices according to the charging power distribution policy, where M is a positive integer.
In a third aspect, an embodiment of the present application provides a charging power adjustment method, which is applied to an electronic device, and the method includes: the method comprises the steps that when the electronic equipment is connected to a target port of a power adapter, target information is sent to the power adapter; the target information includes any one of: first request information, determining information; the first request information is used for requesting the power adapter to adjust the power value of the electronic device to the target power value, and the determination information is used for determining that the power adapter adjusts the power value of the electronic device according to the target power value of the negotiation request.
In a fourth aspect, an embodiment of the present application provides a charging power adjustment apparatus, where the apparatus includes: a sending module; the sending module is used for sending target information to the power adapter under the condition that a target port of the power adapter is accessed; the target information includes any one of: first request information, determining information; the first request information is used for requesting the power adapter to adjust the power value of the electronic device to the target power value, and the determination information is used for determining that the power adapter adjusts the power value of the electronic device according to the target power value of the negotiation request.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the present application, when M electronic devices are connected to a power adapter, the power adapter receives M power request messages sent by the M electronic devices, and then, the power adapter determines a charging power allocation policy of the M electronic devices according to a sum of powers indicated by the M power request messages and a rated power value of the power adapter, and finally, the power adapter allocates charging power to the M electronic devices according to the charging power allocation policy, where M is a positive integer. Therefore, the power adapter can determine the final power value distributed to each electronic device according to the sum of the actual powers of all the electronic devices, so that the output power of the power adapter can be utilized to the maximum extent on the premise of ensuring the reliability of the power adapter, and the efficiency of the electronic devices for executing charging tasks is improved.
Drawings
Fig. 1 is a schematic flowchart of a charging power adjustment method according to an embodiment of the present disclosure;
fig. 2 is a second schematic flowchart of a charging power adjustment method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a charging power adjustment apparatus according to an embodiment of the present disclosure;
fig. 4 is a second schematic structural diagram of a charging power adjustment apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The charging power adjustment method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The following description will be made of the term "power delivery management (PD) adapter" appearing in the embodiments of the present application:
the PD adapter is a power adapter with PD protocol. The PD charging protocol is a Power transmission protocol published by a USB-IF organization, and a USB Power transmission (USB-Power Delivery) can increase the Power value output by a type-c interface to 100W.
USB-Power Delivery is one of the mainstream fast charging protocols, is a fast charging specification established by the USB-IF organization, and the USB PD adapter increases Power transmission through a USB cable and a connector to expand the Power supply capacity of a cable bus in USB application. The rapid charging specification can realize higher voltage and current, the transmitted power can reach 100W at most, and the transmission direction of the power can be freely changed.
From the function definition point of view, the core function of the PD adapter is PD quick charging.
The charging power adjusting method provided by the embodiment of the application can be applied to a scene that a power adapter charges a plurality of electronic devices at the same time.
For a scenario in which a power adapter charges a plurality of electronic devices simultaneously, it is assumed that the power adapter including 5 charging ports charges 3 electronic devices (electronic device 1, electronic device 2, and electronic device 3, respectively) simultaneously, and in the related art, a power value output by each port of the power adapter is preset in advance, so that the power adapter charges each electronic device according to the preset output power, for example, the output power preset by port 1 is a, and the power adapter charges electronic device 2 and electronic device 3 with power value a as electronic device 1 of port 1, and similarly, the power adapter charges electronic device 2 and electronic device 3 according to the output power preset by corresponding ports of electronic device 2 and electronic device 3 in advance. In the above process, the actual outputable power value of the power adapter is usually much larger than the sum of the powers preset in advance for the 3 ports, but since the output power value of the power adapter is preset in advance, the process of outputting the power is limited, which in turn wastes a large amount of available output power of the adapter, and reduces the efficiency of the electronic device in performing the charging task.
In this embodiment of the present application, when a power adapter is connected to 3 electronic devices, the power adapter receives 3 power request messages of the 3 electronic devices (one power request message is sent to the power adapter by one electronic device connected to the power adapter), and then, the power adapter determines a charging power allocation policy of the 3 electronic devices according to a sum of powers indicated by the 3 power request messages and a rated power value of the power adapter, and finally, the power adapter allocates charging power to the 3 electronic devices according to the charging power allocation policy. Therefore, the power adapter can determine the final power value distributed to each electronic device according to the sum of the actual powers of all the electronic devices, so that the output power of the power adapter can be utilized to the maximum extent on the premise of ensuring the reliability of the power adapter, and the efficiency of the electronic devices for executing charging tasks is improved.
The present embodiment provides a charging power adjustment method, as shown in fig. 1, the charging power adjustment method includes the following steps 301 to 303:
step 301: when M electronic devices are connected to a power adapter, the power adapter receives M pieces of power request information transmitted from the M electronic devices.
Wherein M is a positive integer.
In the embodiment of the present application, an electronic device to which power request information is connected is transmitted to the power adapter.
In this embodiment of the application, after the electronic device is connected to the port of the electronic device adapter, the electronic device sends power request information to the electronic device to request the power adapter to allocate power to the electronic device, so as to execute a charging task.
In the embodiment of the present application, the power value of the power requested by different power request information for power adapter allocation may be the same or different.
In this embodiment, the power adapter may include N ports, where N is greater than or equal to M.
In this embodiment, the power adapter may be a PD adapter, and the power adapter port may be a USB interface.
Step 302: and 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.
In this embodiment of the application, after receiving M powers indicated by M power request messages, the power adapter may calculate a sum of the M powers, and determine a charging power allocation policy according to a magnitude relationship between the sum and a rated power value of the power adapter.
It is to be understood that when the sum is greater than the rated power value of the power adapter, the power adapter needs to appropriately reduce the amount of power value of the power allocated to each electronic device, and when the sum is less than or equal to the rated power value of the power adapter, the power adapter needs to allocate power to each electronic device in accordance with the power value requested in the power request information.
In one example, the power adapter may set a plurality of different charging power allocation policies in advance, and after receiving the power request information of the electronic device, determine the charging power allocation policy to be finally used when allocating power to the electronic device according to a size relationship between a power value of the power request information and a rated power value.
In another example, the power adapter may preset a determination condition of the charging power allocation policy, and after receiving the power request information of the electronic device, determine the charging power allocation policy to be finally used when allocating power to the electronic device according to the size relationship between the power value of the power request information and the rated power value and the determination condition
Step 303: and the power adapter distributes charging power to the M pieces of electronic equipment according to the charging power distribution strategy.
It is understood that the charging power allocated to the M electronic devices may be the same or different.
In the charging power adjustment method provided in the embodiment of the present application, when M electronic devices are connected to a power adapter, M power request information sent by the M electronic devices is received, then, the power adapter determines a charging power allocation policy of the M electronic devices according to a sum of powers indicated by the M power request information and a rated power value of the power adapter, and finally, the power adapter allocates charging power to the M electronic devices according to the charging power allocation policy, where M is a positive integer. Therefore, the power adapter can determine the final power value distributed to each electronic device according to the sum of the actual powers of all the electronic devices, so that the output power of the power adapter can be utilized to the maximum extent on the premise of ensuring the reliability of the power adapter, and the efficiency of the electronic devices for executing charging tasks is improved.
Optionally, in this embodiment of the present application, in the step 302, the method for adjusting charging power provided in this embodiment of the present application may further include the following steps 302a and 302 b:
step 302 a: and the power adapter determines the charging power allocation strategy to be a first charging strategy when the sum of the powers indicated by the M power request messages is less than or equal to the rated power value of the power adapter.
Illustratively, the first charging strategy is as follows: and distributing charging power to the M pieces of electronic equipment according to the power values corresponding to the M pieces of power request information.
It can be understood that, when the sum of the powers indicated by the M power request messages is less than or equal to the rated power value of the power adapter, the power adapter allocates power to each of the M electronic devices according to the power request message sent by the electronic device to the power adapter, that is, the power value of the allocated power is the power value requested in the power request message sent by the electronic device.
Illustratively, assuming that there are 3 electronic devices (i.e. M is 3) that need to be connected to the power adapter, namely, the electronic device 1, the electronic device 2, and the electronic device 3, respectively, and the power rating of the power adapter is 200W, the power adapter receives 3 power request information sent by the 3 electronic devices, the sum of the 3 power request information requests is 50W, 60W, 40W, the sum of the 3 power values is 150W, and is smaller than the power rating of the power adapter by 200W (i.e. the sum of the powers indicated by the M power request information is smaller than or equal to the power rating of the power adapter), the electronic device determines that the power is allocated according to the power value in the power request information of each electronic device, namely, the electronic device will allocate 50W to the electronic device 1, the electronic device will allocate 60W to the electronic device 2, the electronic device will allocate 40W of power to the electronic device 3.
Step 302 b: and the power adapter determines the charging power allocation policy to be a second charging policy when the sum of the powers indicated by the M power request messages is greater than the rated power value of the power adapter.
Illustratively, the second charging strategy is as follows: and distributing charging power to the M pieces of electronic equipment according to the proportional relation between the power values corresponding to the M pieces of power request information and the rated power value.
It can be understood that, when the sum of the powers indicated by the M power request information is greater than the rated power value of the power adapter, the power adapter compares the proportional relationship between the power values corresponding to the M power request information, divides the rated power value according to the proportional relationship, obtains the power value of the charging power corresponding to each electronic device, and allocates the charging power to the M electronic devices.
Exemplarily, assuming that there are 3 electronic devices (i.e. M is 3) that need to be connected to the power adapter, namely, electronic device 1, electronic device 2, and electronic device 3, respectively, and the rated power value of the power adapter is 200W, the power adapter receives 3 power request information sent by the 3 electronic devices, the sum of the 3 power request information requests is 100W, 60W, 80W, and the sum of the 3 power values is 240W, and is greater than the rated power value of the power adapter, which is 200W (i.e. the sum of the powers indicated by the M power request information is greater than the rated power value of the power adapter), the power adapter will calculate the proportional relationship between the power values requested by the 3 power request information, which are 42%, 25%, and 33%, respectively, the power adapter will divide the rated power value according to the proportional relationship, divide the rated power value into 84W, 50W and 66W, and allocates the above-mentioned divided 3 power values as power values of the charging power to 3 electronic devices, that is, the electronic device will allocate power 84W to the electronic device 1, the electronic device will allocate power 50W to the electronic device 2, and the electronic device will allocate power 66W to the electronic device 3.
Therefore, after the power adapter receives the power request information sent by the electronic equipment, the power adapter can compare the sum of the power values requested by the power request information with the rated power value which can be actually allocated by the power adapter, and allocate the maximum power of the quota to each electronic equipment according to the actually allocable upper limit, so that the power which can be allocated by the power adapter is utilized to the maximum extent on the premise of ensuring the reliability.
Optionally, in this embodiment of the present application, after the step 303, the method for adjusting charging power provided in this embodiment of the present application may further include the following steps 304 to 306:
step 304: the power adapter receives first request information sent by a target electronic device in the M electronic devices.
For example, the first request information is used to request the power adapter to adjust the charging power value allocated to the target electronic device to a target power value.
Illustratively, the first request message is a message sent to any electronic device (i.e., target electronic device) that has already been connected to the power adapter, and when the power of the currently received power adapter needs to be changed (for example, the charging power needs to be increased), the message is sent to the power adapter.
Step 305: the power adapter transmits negotiation information to the other electronic devices except the target electronic device among the M electronic devices.
Illustratively, the negotiation information is used to determine whether to allow adjustment of the charging power of the other electronic device.
For example, the negotiation information is information that the power adapter sends to the other electronic device after receiving the first request information, and queries whether the other electronic device agrees to change its charging power.
It can be understood that, if the negotiation information is respectively sent to each of the other electronic devices, the determining whether the charging power of the other electronic devices is allowed to be adjusted or not, which is indicated in the negotiation information, refers to: it is determined whether adjustment of the charging power of the one other electronic device is allowed.
Step 306: and the power adapter adjusts the charging power of the first electronic equipment under the condition of receiving the first electronic equipment determination information.
Illustratively, the other electronic devices include the first electronic device.
For example, the determination information indicates that the first electronic device allows the power adapter to adjust its charging power.
It can be understood that 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.
In one example, after receiving the first request message, the power adapter recalculates the charging power allocated to each electronic device according to the power value requested by the first request message, and informs the other electronic devices of the recalculated charging power that can be allocated to the other electronic devices in the form of negotiation message.
Firstly, the method comprises the following steps: in general, the first request message requests the power adapter to increase the charging power allocated to the electronic device, and accordingly, after increasing the allocated charging power for the electronic device, the first electronic device needs to correspondingly decrease the allocated charging power, so as to reserve the target electronic device with the portion of the charging power that needs to be increased.
Second, the specific information of the first electronic device may be some electronic devices other than the target electronic device, or may be specific information transmitted by all electronic devices other than the target electronic device.
Third, in the case where the determination information of the first electronic device is the determination information transmitted by the part of the electronic devices other than the target electronic device, in subsequent step 307 and step 308, the power adapter newly determines only the charging powers of the target electronic device and the part of the electronic devices (first electronic devices).
For example, after receiving the determination information of the first electronic device, the power adapter adjusts the charging power of the first electronic device, and specifically, the electronic device re-determines the charging power allocation policy and then allocates the charging power to the first electronic device, where the process of re-determining the charging power allocation policy may be performed with reference to the processes of step 302 to step 303.
It should be noted that, after the charging power allocation policy is re-determined, the power adapter may 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 method for determining that the target electronic device can increase or decrease the charging power by the power adapter is as follows: and comparing the size relationship between the target power value and the original power value of the target electronic equipment, if the target power value is larger than the original power value of the target electronic equipment, increasing the charging power, and if the target power value is larger than the original power value of the target electronic equipment, reducing the charging power.
Therefore, when the power adapter receives the condition that the electronic equipment needs to adjust the charging power of the power adapter, the power adapter can negotiate with other electronic equipment and flexibly adjust the charging power of all electronic equipment or part of electronic equipment, so that the power of the power adapter is flexibly and fully applied.
Optionally, in this embodiment of the present application, after the step 305, the method for adjusting charging power provided in this embodiment of the present application may further include the following step 307:
step 307: under the condition that the power adapter does not receive the determination information sent by the second electronic equipment within a preset time period, keeping the charging power of the second electronic equipment unchanged;
for example, the second electronic device is an electronic device that does not transmit the determination information to the power adapter among the other electronic devices.
For example, the predetermined time period may be preset by the electronic device or may be customized by the user, which is not limited in the embodiment of the present application.
For example, after the predetermined time period is reached, the power adapter adjusts only the charging power of the electronic device to which the determination information is transmitted, that is, adjusts only the charging power of the first electronic device.
Illustratively, as described in the above example, assuming that the electronic device 1 sends the first request message to the power adapter to request the power adapter to increase its power to 80W, at this time, the power adapter will send negotiation information to the electronic device 2 and the electronic device 3 (i.e. the other electronic devices) to inquire whether the electronic device 2 and the electronic device 3 allow to adjust the power value of the electronic device 2 and the power value of the electronic device 3 (i.e. the charging power of the other electronic devices), within 5 seconds (i.e. within the predetermined time period), the power adapter only receives the determination information of the electronic device 2 (i.e. the first electronic device) and does not receive the determination information of the electronic device 3 (i.e. the second electronic device), then the power adapter keeps the charging power of the electronic device 3 unchanged, and simultaneously adjusts the charging power of the electronic device 2 from 60W to 20W, meanwhile, 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 the electronic device 1 is 20W, and the power value of the electronic device 1 is 40W.
Therefore, when the power adapter needs to adjust the power value of each electronic device according to the request of the target electronic device, each power value can be flexibly adjusted according to different requirements of different electronic devices, and the actual power requirement of each electronic device is guaranteed to the maximum extent.
Optionally, in this embodiment of the application, the adjusting the charging power of the first electronic device in the step 306 includes the following steps 306a and 306 b:
step 306 a: the power adapter calculates a first difference between a current power value of the target electronic device and the target power value.
Step 306 b: the power adapter adjusts the charging power of the first electronic device to a first charging power according to the first difference.
It is to be understood that 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 target power value and the first electronic device may refer to the foregoing description, and are not described herein again.
For example, the second difference may be a sum of differences between all the first electronic devices and the corresponding first charging powers.
For example, 3 electronic devices, that is, the electronic device 1, the electronic device 2, and the electronic device 3 are connected to the power adapter, and the sum of the power values of the 3 electronic devices is equal to the rated power value of the power adapter. Assuming that the electronic device 1 is a target electronic device and the current power value thereof is 50W, the power adapter sends the first request message to the power adapter to request to increase the power value thereof to 70W (i.e., the target power value), the power adapter sends negotiation information to the electronic device 2 and the electronic device 3, and after receiving the determination information of the electronic device 2 and the electronic device 3 (i.e., the first electronic device), the power adapter adjusts the power values of the electronic device 2 and the electronic device 3 according to a difference value of 20W between the current power value of the target electronic device and the target power value (i.e., the first difference value), wherein the sum of the difference values between the adjusted power value of the electronic device 2 and the current power value and between the adjusted power value of the electronic device 3 and the current power value is 20W (i.e., the second difference value). For example, the charging power of the electronic device 2 may be reduced by 10W, and the charging power of the electronic device 3 may also be reduced by 10W.
It can be understood that, in the case that the target power value is greater than the current power value of the target electronic device, that is, in the case that the target electronic device needs to increase the charging power, the power adapter reduces the charging power of the first electronic device; when the target 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.
Optionally, in this embodiment of the present application, after the step 303, the method for adjusting charging power provided in this embodiment of the present application may further include the following step 308:
step 308: and the power adapter determines the charging power distribution strategy of the (M-X) electronic devices again according to the magnitude relation between the sum value of the powers indicated by the (M-X) power request information and the rated power value of the power adapter when the X electronic devices are separated from the power adapter, wherein X is a positive integer less than M.
For example, when X electronic devices are detached from the power adapter, the power adapter recovers power of the X electronic devices and manages the recovered power again.
In one example, the power adapter will recalculate the power that can be allocated to the remaining (M-X) electronic devices, i.e., the power adapter will reallocate power to the (M-X) electronic devices according to the power value requested in the power request information for the (M-X) electronic devices.
In one example, the power adapter will allocate the power of the X electronic devices to the remaining (M-X) electronic devices in a ratio of the previous power allocations of the remaining (M-X) electronic devices.
For example, the process of the power adapter re-determining the charging power distribution policy of the (M-X) electronic devices may be performed with reference to the processes of step 302 to step 303.
Therefore, when the electronic equipment is separated from the power adapter, the power adapter can timely use the power which is idle after the separation for other electronic equipment which is still charged on the power adapter, and the power which can be distributed by the power adapter can be fully utilized.
Optionally, in this embodiment of the present application, after the step 303, the method for adjusting charging power provided in this embodiment of the present application may further include the following step 309:
step 309: the power adapter transmits inquiry information to the (M-X) electronic devices when the X electronic devices are disconnected from the power adapter.
Illustratively, the query information is used to query whether the (M-X) remaining power adapters connected to the power adapter need to be increased.
Step 310: and after the power adapter receives the information which is sent by the third electronic equipment and confirms that the charging power is increased, re-determining the charging power distribution strategy of the third electronic equipment.
Illustratively, the third electronic device is an electronic device that transmits information confirming that the charging power is increased to the power adapter among the (M-X) electronic devices.
For example, the process of the power adapter re-determining the charging power distribution policy of the third electronic device may be performed with reference to the processes of step 302 to step 303.
Optionally, after the power adapter re-determines the charging power distribution policy of the third electronic device, the charging completion time length of each electronic device in the third electronic device may be determined according to the charging power distribution policy, and the completion time length information is sent to the corresponding electronic device.
It is understood that the above-described charge completion time period is a time period that it takes for each of the third electronic devices to be charged to 100%.
The present embodiment provides a charging power adjustment method, as shown in fig. 2, applied to an electronic device, the charging power adjustment method includes the following steps 401 and 402:
step 401: the electronic device transmits power request information to a power adapter connected to the electronic device.
Step 402: and the electronic equipment is charged according to the charging power distribution strategy indicated by the power adapter.
In the embodiment of the present application, the power request information and the charging power allocation policy may refer to the foregoing description, and are not described herein again.
According to the charging power adjustment method provided in the embodiment of the application, after the electronic device sends the power request information to the power adapter connected with the electronic device, the electronic device is charged according to the charging power distribution strategy indicated by the power adapter, so that the electronic device can receive different charging powers according to different charging powers required by the electronic device, and the charging efficiency of the electronic device is improved.
Optionally, in this embodiment, after the step 402, the method for adjusting charging power provided in this embodiment may further include the step 403:
step 403: the electronic equipment sends first request information to the power adapter.
For example, 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.
In the embodiment of the present application, the first request information may refer to the foregoing description, and is not described herein again.
In the charging power adjustment method provided by the embodiment of the application, the power adapter can send the first request message when the electronic device needs to increase or decrease the charging power of the electronic device, so that the charging power of the power adapter is fully and flexibly utilized, and the charging efficiency is improved.
Optionally, in this embodiment, after the step 402, the method for adjusting charging power provided in this embodiment may further include the step 404 of:
step 404: and the electronic equipment executes the target operation under the condition of receiving the negotiation information sent by the power adapter.
Illustratively, the negotiation information is used to determine whether to allow adjustment of the charging power of the other electronic device, and the target operation includes: and sending determination information to the power adapter, or ignoring the negotiation information, wherein the determination information is used for determining that the power adapter is allowed to adjust the power value of the electronic equipment according to the negotiation information.
In the embodiment of the present application, the above determination information may refer to the foregoing description, and is not described herein again.
In the charging power adjustment method provided in the embodiment of the present application, when the electronic device agrees to change its own charging power for another electronic device, the determination information may be sent to the power adapter, and when the electronic device does not mean that another electronic device changes its own charging power, the negotiation information sent by the power adapter may be ignored, so that the charging power of the power adapter is fully and flexibly utilized, and the charging efficiency is improved.
Optionally, in this embodiment, before the step 404, the method for adjusting charging power provided in this embodiment may further include the following steps 405 and 406:
step 405: and the electronic equipment calculates the charging time of the electronic equipment according to the battery information.
Step 406: and the electronic equipment displays prompt information corresponding to the charging time.
On the basis of the above steps 405 and 406, in the above step 404, the charging power adjustment method provided in the embodiment of the present application may further include the following step 407:
step 407: and transmitting determination information to the power adapter when a first input of the prompt information by the user is received, or ignoring the negotiation information when a second input of the prompt information by the user is received.
Wherein the first input is different from the second input.
For example, the first input may be an input from the user to an area in the prompt message where the information confirming that the user agrees to change the self charging power is located, for example, an input from the user to a "confirm" control in the prompt message. Conversely, the second input may be a user input to the area in which the information confirming the omission of the first requested information is located, for example, a user input to an "ignore" control in the prompt.
For example, the 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 in this application.
Illustratively, the prompt information is information for prompting the charging time.
For example, the prompt message may be one prompt message or may be a plurality of prompt messages.
It can be understood that the electronic device that needs to change its charging power may provide a plurality of changed charging powers, so that the user of the electronic device can select a charging power suitable for himself according to his charging requirement, that is, some users of the electronic device can accept a smaller change in charging power, some users of the electronic device can accept a larger change in charging power, and the user can select a change mode suitable for his charging power according to his charging requirement.
In one example, each electronic device obtains the capacity Q (in mAh) of its own battery, and after the electronic device displays the changed charging power on the display interface, each electronic device calculates the charging power, for example, I ═ Qn/T, using the duration information T of the full charge usage of the charging power, and transmits the charging power to the power adapter.
According to the charging power adjustment method provided by the embodiment of the application, after the information of the charging power distribution strategy which needs to be readjusted by the power adapter is acquired, the electronic equipment can prompt the extension duration information or the latest charging time in the display screen of the electronic equipment, so that a user of the electronic equipment can clearly know the charging duration.
Optionally, in this embodiment of the present application, before the step 403 and the step 404, the method for adjusting charging power provided in this embodiment of the present application may further include the following steps 408 to 410:
step 408: and the electronic equipment calculates P charging durations of the electronic equipment respectively corresponding to the P target power values according to the battery information and the P target power values, wherein P is a positive integer.
Step 409: and the electronic equipment respectively displays the first prompt messages corresponding to the P charging durations on a display interface.
Step 410: and the electronic equipment receives a third input of the target prompt message in the first prompt message from the user.
The above-mentioned step 403 can also be performed by a step 411,
step 411: in response to the third input, the electronic device sends first request information to the power adapter.
In this embodiment, the first request message corresponds to a target power value corresponding to the target prompt message.
It is understood that the plurality of first prompt messages correspond to corresponding different charging time length messages, that is, to a plurality of different charging power messages.
It is understood that the third input may refer to the first input and the second input, and will not be described herein.
Therefore, the electronic equipment can prompt a plurality of time saving times or charging times in a display screen of the electronic equipment according to different target power values, so that a user of the electronic equipment can clearly know the adjusted charging time length, and the target power value required to be adjusted is determined.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be noted that, in the charging power adjustment method provided in the embodiment of the present application, the execution main body may be a charging power adjustment device, or a control module in the charging power adjustment device for executing the charging power adjustment method. In the embodiment of the present application, a charging power adjustment method executed by a charging power adjustment device is taken as an example to describe the charging power adjustment device provided in the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a possible charging power adjustment apparatus for implementing the charging power adjustment apparatus according to an embodiment of the present disclosure. As shown in fig. 3, the apparatus 600 includes a receiving module 601, a determining module 602, and an allocating module 603; the receiving module 601 is configured to receive M pieces of power request information sent by M pieces of electronic equipment when the M pieces of electronic equipment are connected to the power adapter; the determining module 602 is configured to determine a charging power allocation policy according to a sum of powers indicated by the M pieces of power request information received by the receiving module 601 and a rated power value of the power adapter; the allocating module 603 is configured to allocate charging power to M electronic devices according to the charging power allocation policy, where M is a positive integer.
In the charging power adjustment apparatus provided in this embodiment of the present application, when M electronic devices are connected to a power adapter, the charging power adjustment apparatus receives M power request information sent by the M electronic devices, and then determines a charging power allocation policy for the M electronic devices according to a sum of powers indicated by the M power request information and a rated power value of the power adapter, and finally allocates charging power to the M electronic devices according to the charging power allocation policy, where M is a positive integer. Therefore, the charging power adjusting device can determine the final power value distributed to each electronic device according to the sum of the actual powers of all the electronic devices, so that the output power of the power adapter can be utilized to the maximum extent on the premise of ensuring the reliability of the power adapter, and the efficiency of the electronic devices for executing charging tasks is improved.
Optionally, in an embodiment of the application, the determining module 602 is specifically configured to determine that the charging power allocation policy is a first charging policy when a sum of powers indicated by the M pieces of power request information is less than or equal to a rated power value of the power adapter, where the first charging policy is: distributing charging power to the M pieces of electronic equipment according to power values corresponding to the M pieces of power request information; the determining module 602 is specifically configured to determine that the charging power allocation policy is a second charging policy when a sum of powers indicated by the M pieces of power request information is greater than a rated power value of the power adapter, where the second charging policy is: and distributing charging power to the M pieces of electronic equipment according to the proportional relation between the power values corresponding to the M pieces of power request information and the rated power value.
Optionally, in this embodiment of the present application, the apparatus 600 further includes a sending module 604 and an adjusting module 605; the sending module 604 receives first request information sent by a target electronic device of the M electronic devices, where the first request information is used to request the power adapter to adjust a power value allocated to the target electronic device to a target power value; the sending module 604 is further configured to send negotiation information to other electronic devices, except the target electronic device, of the M electronic devices, where the negotiation information is used to determine whether to allow adjustment of charging power of the other electronic devices; the adjusting module 605 is configured to adjust the charging power of the first electronic device when receiving the determination information sent by the other electronic device; wherein, the other electronic devices include the first electronic device.
Optionally, in this embodiment of the present application, the apparatus 600 includes an executing module 606; the executing module 606 is configured to, when the determining information sent by the second electronic device is not received within the predetermined time period, keep the charging power of the second electronic device unchanged; wherein the second electronic device is an electronic device that does not send the specific information to the power adapter among the other electronic devices
Optionally, in this embodiment of the present application, the apparatus 600 further includes a calculating module 607; the calculating module 607 is configured to calculate a first difference between the current power value of the target electronic device and the target power value; the adjusting module 605 is specifically configured to adjust the charging power of the first electronic device to a first charging power according to the first difference calculated by the calculating module 607; wherein a second difference between the first charging power and the charging power before the first electronic device is adjusted is the same as the first difference.
Fig. 4 is a schematic structural diagram of a possible charging power adjustment apparatus for implementing the charging power adjustment apparatus provided in the embodiment of the present application. As shown in fig. 4, the apparatus 700 includes: a sending module 701 and an execution module 702; the sending module 701 is configured to send power request information to a power adapter connected to the electronic device; the executing module 702 is configured to perform charging according to the charging power allocation policy indicated by the power adapter.
The charging power adjusting device provided by the embodiment of the application can send target information by the power adapter under the condition that the charging power adjusting device needs to agree to change the charging power of other electronic equipment, so that the charging power of the power adapter is fully and flexibly utilized, and the charging efficiency is improved.
Optionally, in this embodiment of the application, 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 the target power value.
Optionally, in this embodiment of the application, the executing module 702 is configured to execute the target operation when receiving the negotiation information sent by the power adapter; wherein the negotiation information is used to determine whether to allow adjustment of the charging power of the other electronic device, and the target operation includes: and sending determination information to the power adapter, or ignoring the negotiation information, wherein the determination information is used for determining that the power adapter is allowed to adjust the power value of the electronic equipment according to the negotiation information.
Optionally, in this embodiment of the application, the apparatus 700 includes a calculating module 703 and a display module 704, and the apparatus 700 further includes the calculating module 703 and the display module 704; the calculating module 703 is configured to calculate a charging duration of the electronic device according to the battery information; the display module 704 is configured to display a prompt message corresponding to the charging duration calculated by the calculation module 703; the sending module 701 is configured to send determination information to the power adapter when receiving a first input of the prompt information by the user, or ignore the negotiation information when receiving a second input of the prompt information by the user; 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 device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The charging power adjustment device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The charging power adjustment device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 2, and is not described here again to avoid repetition.
As shown in fig. 3, the modules that are necessarily included in the charging power adjustment apparatus 600 are illustrated by solid line boxes, such as a receiving module 601; the modules that may or may not be included in the charging power adjustment apparatus 600 are illustrated by a dashed box, such as the transmission module 604. As shown in fig. 4, the modules that are necessarily included in the charging power adjustment apparatus 700 are illustrated by solid line boxes, such as a transmission module 701; the modules that may or may not be included in the charging power adjustment apparatus 700 are illustrated by the dashed boxes, such as the calculation module 703
Optionally, as shown in fig. 5, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above charging power adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
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. Wherein the user input unit 107 includes: touch panel 1071 and other input devices 1072, display unit 106 including display panel 1061, input unit 104 including image processor 1041 and microphone 1042, memory 109 may be used to store software programs (e.g., an operating system, application programs needed for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., 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 implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
When the electronic device 100 is a power adapter, the radio frequency unit 101 is configured to receive M power request messages sent by M electronic devices when the M electronic devices are connected to the power adapter, where one power request message is sent to the power adapter by one electronic device connected to the power adapter; a processor 110, configured to determine a charging power allocation policy according to a sum of powers indicated by the M power request messages received by the radio frequency unit 101 and a rated power value of the power adapter; the processor 110 is configured to allocate charging power to M electronic devices according to the charging power allocation policy allocated by the processor 110, where M is a positive integer.
In the power adapter provided in this embodiment of the present application, when M electronic devices are connected to the power adapter, the power adapter receives M power request messages sent by the M electronic devices, and then, the power adapter determines a charging power allocation policy for the M electronic devices according to a sum of powers indicated by the M power request messages and a rated power value of the power adapter, and finally, the power adapter allocates charging power to the M electronic devices according to the charging power allocation policy, where M is a positive integer. Therefore, the power adapter can determine the final power value distributed to each electronic device according to the sum of the actual powers of all the electronic devices, so that the output power of the power adapter can be utilized to the maximum extent on the premise of ensuring the reliability of the power adapter, and the efficiency of the electronic devices for executing charging tasks is improved.
Optionally, the processor 110 is specifically configured to determine that the charging power allocation policy is a first charging policy when a sum of powers indicated by the M pieces of power request information is less than or equal to a rated power value of the power adapter, where the first charging policy is: distributing charging power to the M pieces of electronic equipment according to power values corresponding to the M pieces of power request information; the processor 110 is specifically configured to determine, 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, that the charging power allocation policy is a second charging policy, where the second charging policy is: and distributing charging power to the M pieces of electronic equipment according to the proportional relation between the power values corresponding to the M pieces of power request information and the rated power value.
Optionally, the radio frequency unit 101 is further configured to receive first request information sent by a target electronic device of the M electronic devices, where the first request information is used to request the power adapter to adjust a power value allocated to the target electronic device to a target power value; the radio frequency unit 101 is further configured to send negotiation information to other electronic devices, except the target electronic device, of the M electronic devices, where the negotiation information is used to determine whether to allow adjustment of charging power of the other electronic devices; the processor 110 is further configured to adjust charging power of the first electronic device when receiving the determination information sent by the first electronic device; wherein, the other electronic devices include the first electronic device.
Optionally, 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 the predetermined time period; the second electronic device is an electronic device that does not send the specific information to the power adapter among the other electronic devices.
Optionally, the processor 110 is specifically configured to calculate a first difference between the current power value of the target electronic device and the target power value; the processor is further specifically configured to adjust the charging power of the first electronic device to a first charging power according to the first difference; wherein a second difference between the first charging power and the charging power before the first electronic device is adjusted is the same as the first difference.
When the electronic device 100 is an electronic device, the radio frequency unit 101 is configured to send power request information to a power adapter connected to the electronic device; the processor 110 is configured to perform charging according to the charging power allocation policy indicated by the power adapter.
According to the electronic equipment provided by the embodiment of the application, after the electronic equipment sends the power request information to the power adapter connected with the electronic equipment, the electronic equipment is charged according to the charging power distribution strategy indicated by the power adapter, so that the equipment can receive different charging powers according to different charging powers required by the electronic equipment, and the charging efficiency of the electronic equipment is improved
Optionally, 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 the target power value.
Optionally, the processor 110 is further configured to execute a target operation when receiving the negotiation information sent by the power adapter; wherein the negotiation information is used to determine whether to allow adjustment of the charging power of the other electronic device, and the target operation includes: and sending determination information to the power adapter, or ignoring the negotiation information, wherein the determination information is used for determining that the power adapter is allowed to adjust the power value of the electronic equipment according to the negotiation information.
Optionally, the processor 110 is configured to calculate a charging duration of the electronic device according to the battery information; the display unit 106 is configured to display a prompt message corresponding to the charging duration; the radio frequency unit 101 is specifically configured to send determination information to the power adapter when receiving a first input of the prompt information by a user, or ignore the negotiation information when receiving a second input of the prompt information by the user; wherein the first input is different from the second input.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 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 referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above charging power adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The 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 execute a program or an instruction to implement each process of the charging power adjustment method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (20)

1. A charging power adjustment method is applied to a power adapter, and comprises the following steps:
under the condition that M pieces of electronic equipment are connected with the power adapter, receiving M pieces of power request information sent by the M pieces of electronic equipment;
determining 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;
and distributing charging power to the M electronic devices according to the charging power distribution strategy, wherein M is a positive integer.
2. The method according to claim 1, wherein the determining a charging power distribution strategy according to the sum of the powers indicated by the M power request messages and the rated power value of the power adapter comprises:
determining the charging power distribution strategy as a 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, wherein the first charging strategy is as follows: distributing charging power to the M pieces of electronic equipment according to power values corresponding to the M pieces of power request information;
determining that the charging power distribution strategy is a second charging strategy when the sum of the powers indicated by the M power request information is greater than the rated power value of the power adapter, wherein the second charging strategy is: and distributing charging power for the M pieces of electronic equipment respectively according to the proportional relation among the power values corresponding to the M pieces of power request information and the rated power value.
3. The method of claim 1, wherein after the power adapter allocates charging power to the M electronic devices according to the charging power allocation policy, the method further comprises:
receiving first request information sent by a target electronic device of the M electronic devices, wherein the first request information is used for requesting the power adapter to adjust a charging power value allocated to the target electronic device to a target power value;
sending negotiation information to other electronic devices except the target electronic device in the M electronic devices, wherein the negotiation information is used for determining whether the charging power of the other electronic devices is allowed to be adjusted or not;
under the condition of receiving the determination information sent by the first electronic equipment, adjusting the charging power of the first electronic equipment;
wherein the other electronic devices include the first electronic device.
4. The method of claim 3, wherein after the power adapter sends negotiation information to the other electronic devices of the M electronic devices except the target electronic device, the method comprises:
under the condition that the determination information sent by the second electronic equipment is not received within the preset time, keeping the charging power of the second electronic equipment unchanged;
the second electronic device is an electronic device which does not send the determination information to the power adapter in the other electronic devices.
5. The method of claim 3, wherein the adjusting the charging power of the first electronic device comprises:
calculating a first difference value between the current power value of the target electronic equipment and the target power value;
adjusting the charging power of the first electronic device to a first charging power according to the first difference;
wherein a second difference between the first charging power and a charging power before the first electronic device adjusts is the same as the first difference.
6. A charging power adjustment method is applied to an electronic device, and the method comprises the following steps:
transmitting power request information to a power adapter connected to the electronic device;
and charging according to the charging power distribution strategy indicated by the power adapter.
7. The method of claim 6, wherein after the charging the electronic device, the method further comprises:
and sending first request information to the power adapter, wherein the first request information is used for requesting the power adapter to adjust the charging power value of the electronic equipment to a target power value.
8. The method of claim 6, wherein after the charging according to the charging power allocation policy indicated by the power adapter, the method further comprises:
executing target operation under the condition of receiving the negotiation information sent by the power adapter;
wherein the negotiation information is used for determining whether to allow adjustment of the charging power of the other electronic device, and the target operation includes: and sending determination information to the power adapter, or ignoring the negotiation information, wherein the determination information is used for determining that the power adapter is allowed to adjust the power value of the electronic equipment according to the negotiation information.
9. The method of claim 8, wherein prior to the performing the target operation, the method further comprises:
calculating the charging time of the electronic equipment according to the battery information;
displaying prompt information corresponding to the charging duration;
the executing the target operation comprises:
transmitting determination information to the power adapter upon receiving a first input of the prompt information by a user,
or, under the condition that a second input of the prompt message by the user is received, ignoring the negotiation message;
wherein the first input is different from the second input.
10. The charging power adjusting device is characterized by comprising a receiving module, a determining module and an allocation strategy;
the receiving module is used for receiving M pieces of power request information sent by the M pieces of electronic equipment under the condition that the M pieces of electronic equipment are connected with the power adapter;
the determining module is configured to determine a charging power distribution policy according to a sum of the powers indicated by the M pieces of power request information received by the receiving module and a rated power value of the power adapter;
the distribution module is used for distributing charging power to the M pieces of electronic equipment according to the charging power distribution strategy, wherein M is a positive integer.
11. The apparatus of claim 10,
the determining module is specifically configured to determine that the charging power allocation policy is a first charging policy when a sum of the powers indicated by the M power request messages is less than or equal to a rated power value of the power adapter, where the first charging policy is: distributing charging power to the M pieces of electronic equipment according to power values corresponding to the M pieces of power request information;
the determining module is specifically configured to determine that the charging power allocation policy is a second charging policy when a sum of the powers indicated by the M power request messages is greater than a rated power value of the power adapter, where the second charging policy is: and distributing charging power for the M pieces of electronic equipment respectively according to the proportional relation among the power values corresponding to the M pieces of power request information and the rated power value.
12. The apparatus of claim 10, further comprising a sending module and an adjusting module;
the sending module is configured to receive first request information sent by a target electronic device of the M electronic devices, where the first request information is used to request the power adapter to adjust a power value allocated to the target electronic device to a target power value;
the sending module is further configured to send negotiation information to other electronic devices, except the target electronic device, of the M electronic devices, where the negotiation information is used to determine whether to allow adjustment of charging power of the other electronic devices;
the determining module is further configured to adjust the charging power of the first electronic device when the determination information of the other electronic devices is received;
wherein the other electronic devices include the first electronic device.
13. The apparatus of claim 12, further comprising an execution module;
the execution module is used for keeping the charging power of the second electronic equipment unchanged under the condition that the determination information sent by the second electronic equipment is not received within the preset time length;
the second electronic device is an electronic device which does not send the determination information to the power adapter in the other electronic devices.
14. The apparatus of claim 12, further comprising a computing module;
the calculating module is configured to calculate a first difference between a current power value of the target electronic device and the target power value;
the adjusting module is specifically configured to adjust the charging power of the first electronic device to a first charging power according to the first difference calculated by the calculating module;
wherein a second difference between the first charging power and a charging power before the first electronic device adjusts is the same as the first difference.
15. A charging power adjustment apparatus, comprising: a sending module and an execution module;
the sending module is used for sending power request information to a power adapter connected with the electronic equipment;
and the execution module is used for charging according to the charging power distribution strategy indicated by the power adapter.
16. The apparatus of claim 15,
the sending module 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.
17. The apparatus of claim 15,
the execution module is used for executing target operation under the condition of receiving the negotiation information sent by the power adapter;
wherein the negotiation information is used for determining whether to allow adjustment of the charging power of the other electronic device, and the target operation includes: and sending determination information to the power adapter, or ignoring the negotiation information, wherein the determination information is used for determining that the power adapter is allowed to adjust the power value of the electronic equipment according to the negotiation information.
18. The apparatus of claim 17, further comprising a computing module, a display module;
the computing module is used for computing the charging time of the electronic equipment according to the battery information;
the display module is used for displaying prompt information corresponding to the charging time calculated by the calculation module;
the sending module is used for sending determination information to the power adapter under the condition of receiving first input of the prompt information by a user,
or, under the condition that a second input of the prompt message by the user is received, ignoring the negotiation message;
wherein the first input is different from the second input.
19. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the charging power adjustment method according to any one of claims 1-5 or 6 to 9.
20. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the charging power adjustment method according to any one of claims 1-5 or 6 to 9.
CN202110456001.7A 2021-04-26 2021-04-26 Charging power adjustment method and device and electronic equipment Active CN113193620B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110456001.7A CN113193620B (en) 2021-04-26 2021-04-26 Charging power adjustment method and device and electronic equipment
PCT/CN2022/088949 WO2022228374A1 (en) 2021-04-26 2022-04-25 Charging power adjustment method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110456001.7A CN113193620B (en) 2021-04-26 2021-04-26 Charging power adjustment method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113193620A true CN113193620A (en) 2021-07-30
CN113193620B CN113193620B (en) 2024-05-17

Family

ID=76979166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110456001.7A Active CN113193620B (en) 2021-04-26 2021-04-26 Charging power adjustment method and device and electronic equipment

Country Status (2)

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

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472096A (en) * 2021-08-17 2021-10-01 维沃移动通信有限公司 Wireless charging management method and device and electronic equipment
CN114123380A (en) * 2021-10-15 2022-03-01 华为数字能源技术有限公司 Charging device, charger, and charging power adjustment method
CN114759632A (en) * 2022-04-18 2022-07-15 杭州涂鸦信息技术有限公司 Charging device
WO2022228374A1 (en) * 2021-04-26 2022-11-03 维沃移动通信有限公司 Charging power adjustment method and apparatus, and electronic device
CN116031965A (en) * 2022-06-30 2023-04-28 荣耀终端有限公司 Charging method, device, power adapter and storage medium
CN116073481A (en) * 2023-02-15 2023-05-05 此芯科技(上海)有限公司 A charging device, method and electronic equipment
CN116111702A (en) * 2023-01-29 2023-05-12 深圳金三立视频科技股份有限公司 Method, device, terminal and readable storage medium for power management of CT camera
CN116169758A (en) * 2023-04-25 2023-05-26 厦门英麦科芯集成科技有限公司 Output power adjustment method and charger
CN116505628A (en) * 2023-06-28 2023-07-28 深圳市澳博森科技有限公司 A charging control method and system for an intelligent multi-port adapter
CN117220376A (en) * 2023-09-15 2023-12-12 小米汽车科技有限公司 Charging method, device, adapter and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070230227A1 (en) * 2004-04-29 2007-10-04 Palmer Douglas A Universal Power Adapter
CN106410990A (en) * 2016-11-21 2017-02-15 努比亚技术有限公司 Wireless charging device control device and method
CN107612068A (en) * 2017-09-21 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of wireless charging method and charging equipment based on built-in aerial
CN107706972A (en) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 Power output control method, circuit and charging device for charging device
CN108494030A (en) * 2018-03-13 2018-09-04 维沃移动通信有限公司 A kind of wireless charging method, terminal and transmitting end equipment
CN108879884A (en) * 2018-08-15 2018-11-23 国网浙江省电力有限公司杭州供电公司 A kind of charging management method and device of charging station
WO2018214459A1 (en) * 2017-05-26 2018-11-29 深圳市乐得瑞科技有限公司 Power adapting apparatus, control method and apparatus
CN109802455A (en) * 2019-01-09 2019-05-24 湖南秒冲新能源科技有限责任公司 A kind of charging method and charger system
CN110626205A (en) * 2019-10-08 2019-12-31 北京嘀嘀无限科技发展有限公司 Charging equipment power distribution method, storage medium and system
CN112202222A (en) * 2020-09-29 2021-01-08 维沃移动通信有限公司 Charger, charging control method and device
CN112440806A (en) * 2020-11-23 2021-03-05 南方电网调峰调频发电有限公司 Power control method and device for charging pile, computer equipment and storage medium
CN112440831A (en) * 2019-09-04 2021-03-05 北汽福田汽车股份有限公司 Engine control method and device for fuel cell vehicle and fuel cell vehicle

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202309103U (en) * 2011-06-16 2012-07-04 深圳市理工新能源有限公司 Charging control system
US20170373522A1 (en) * 2016-06-23 2017-12-28 Apple Inc. Charging System
CN113193620B (en) * 2021-04-26 2024-05-17 维沃移动通信有限公司 Charging power adjustment method and device and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070230227A1 (en) * 2004-04-29 2007-10-04 Palmer Douglas A Universal Power Adapter
CN106410990A (en) * 2016-11-21 2017-02-15 努比亚技术有限公司 Wireless charging device control device and method
WO2018214459A1 (en) * 2017-05-26 2018-11-29 深圳市乐得瑞科技有限公司 Power adapting apparatus, control method and apparatus
CN107612068A (en) * 2017-09-21 2018-01-19 深圳市盛路物联通讯技术有限公司 A kind of wireless charging method and charging equipment based on built-in aerial
CN107706972A (en) * 2017-09-30 2018-02-16 湖南海翼电子商务股份有限公司 Power output control method, circuit and charging device for charging device
CN108494030A (en) * 2018-03-13 2018-09-04 维沃移动通信有限公司 A kind of wireless charging method, terminal and transmitting end equipment
CN108879884A (en) * 2018-08-15 2018-11-23 国网浙江省电力有限公司杭州供电公司 A kind of charging management method and device of charging station
CN109802455A (en) * 2019-01-09 2019-05-24 湖南秒冲新能源科技有限责任公司 A kind of charging method and charger system
CN112440831A (en) * 2019-09-04 2021-03-05 北汽福田汽车股份有限公司 Engine control method and device for fuel cell vehicle and fuel cell vehicle
CN110626205A (en) * 2019-10-08 2019-12-31 北京嘀嘀无限科技发展有限公司 Charging equipment power distribution method, storage medium and system
CN112202222A (en) * 2020-09-29 2021-01-08 维沃移动通信有限公司 Charger, charging control method and device
CN112440806A (en) * 2020-11-23 2021-03-05 南方电网调峰调频发电有限公司 Power control method and device for charging pile, computer equipment and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228374A1 (en) * 2021-04-26 2022-11-03 维沃移动通信有限公司 Charging power adjustment method and apparatus, and electronic device
CN113472096A (en) * 2021-08-17 2021-10-01 维沃移动通信有限公司 Wireless charging management method and device and electronic equipment
CN114123380A (en) * 2021-10-15 2022-03-01 华为数字能源技术有限公司 Charging device, charger, and charging power adjustment method
CN114759632A (en) * 2022-04-18 2022-07-15 杭州涂鸦信息技术有限公司 Charging device
CN116031965B (en) * 2022-06-30 2023-10-27 荣耀终端有限公司 Charging method, device, power adapter and storage medium
CN116031965A (en) * 2022-06-30 2023-04-28 荣耀终端有限公司 Charging method, device, power adapter and storage medium
CN116111702A (en) * 2023-01-29 2023-05-12 深圳金三立视频科技股份有限公司 Method, device, terminal and readable storage medium for power management of CT camera
CN116073481A (en) * 2023-02-15 2023-05-05 此芯科技(上海)有限公司 A charging device, method and electronic equipment
CN116169758A (en) * 2023-04-25 2023-05-26 厦门英麦科芯集成科技有限公司 Output power adjustment method and charger
CN116169758B (en) * 2023-04-25 2024-05-03 厦门英麦科芯集成科技有限公司 Output power adjusting method and charger
CN116505628A (en) * 2023-06-28 2023-07-28 深圳市澳博森科技有限公司 A charging control method and system for an intelligent multi-port adapter
CN116505628B (en) * 2023-06-28 2024-01-19 深圳市澳博森科技有限公司 Intelligent multi-port adapter charging control method and system
CN117220376A (en) * 2023-09-15 2023-12-12 小米汽车科技有限公司 Charging method, device, adapter and storage medium
CN117220376B (en) * 2023-09-15 2024-06-04 小米汽车科技有限公司 Charging method, device, adapter and storage medium

Also Published As

Publication number Publication date
WO2022228374A1 (en) 2022-11-03
CN113193620B (en) 2024-05-17

Similar Documents

Publication Publication Date Title
CN113193620B (en) Charging power adjustment method and device and electronic equipment
WO2022068802A1 (en) Charger, and charging control method and apparatus
US10181734B2 (en) Charging control method and charging system, power delivery unit, and power receiver control circuit using the method
WO2017131907A2 (en) Systems and methods for providing power efficiency via memory latency control
CN111278051B (en) File transmission methods, devices, storage media and electronic equipment
CN106786887A (en) A kind of charge control system
WO2023246757A1 (en) Computing power service method and apparatus, and terminal
CN112269086B (en) Charging cable identification method, device, charging cable and readable storage medium
CN115756135A (en) Processor management method and computing device
CN107315635A (en) The method of adjustment of the stock number of handheld device and the handheld device
CN115473292A (en) Charging control method and device, terminal and storage medium
CN111857996A (en) Interrupt processing method, system, device and computer-readable storage medium
CN110708747A (en) Data transmission rate adjusting method, system, storage medium and mobile terminal
CN115514033A (en) Charging method, power supply apparatus, and computer-readable storage medium
CN117555649A (en) Network service processing methods, devices, equipment and storage media
WO2024109555A1 (en) Dynamic resource adjustment method and communication apparatus
US20220206724A1 (en) Printer
CN106339268B (en) Application program control method and intelligent terminal
CN118819267A (en) Power consumption adjustment method and electronic device
EP3223161A1 (en) Information processing system, information processing method, information processing device, and control method and control program therefor
CN114862205B (en) Resource allocation method, device, equipment and computer readable storage medium
CN112950450A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN106376022B (en) The method and mobile terminal of information processing
CN111309224A (en) Sound effect adjusting method and device, storage medium and mobile terminal
CN118920659A (en) Multi-port power supply dynamic power distribution method and multi-port power supply

Legal Events

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