Power configuration method, charging device and storage medium
By introducing a power configuration component into the charging device, providing user interaction functions and display screen, the problem of poor power allocation flexibility in traditional charging devices is solved. It enables adaptive power configuration and maximum utilization of the charging interface, improving user experience and device intelligence.
Patent Information
- Application Number
- CN202410464727.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2025-10-24
AI Technical Summary
Traditional charging devices have poor flexibility in allocating power to charging interfaces, making it impossible to maximize power output and achieve flexible configuration.
By introducing a power configuration component into the charging device, user interaction functions are provided, allowing users to flexibly adjust the output power of each charging interface through physical buttons, touch screen, voice interaction or remote communication, and display power information on the display screen to achieve adaptive configuration of the charging interface.
It improves the power configuration flexibility of charging devices and the power utilization rate of charging interfaces, maximizes the power utilization of each charging interface, and enhances the user experience and the intelligence of charging devices.
Smart Images

Figure CN120834612A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of charging, in particular to a power configuration method, a charging device and a storage medium. BACKGROUND
[0002] In the use process of electronic products, it is often necessary to charge or power the electronic products by means of charging devices such as charging sockets, mobile power supplies, power banks, etc., so as to ensure that the electronic products can be normally used under the condition of having power.
[0003] Traditionally, one charging device can include one or more charging interfaces. In the charging process, each charging interface generally charges the electronic products according to a fixed charging power. However, the traditional charging method has the problem of poor charging flexibility. SUMMARY
[0004] Therefore, it is necessary to provide a power configuration method, device, charging device, computer readable storage medium and computer program product capable of improving the power configuration flexibility of each charging interface of the charging device, thereby improving the charging flexibility.
[0005] In a first aspect, the present application provides a power configuration method applied to a charging device, the charging device including a plurality of charging interfaces and a power configuration component, and the method includes:
[0006] generating a power configuration instruction in response to a trigger from the power configuration component;
[0007] configuring the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction.
[0008] In one embodiment, the power configuration component includes a first power configuration button, and the power configuration instruction generated in response to the trigger from the power configuration component includes:
[0009] a first power configuration instruction generated in response to a trigger from the first power configuration button;
[0010] Correspondingly, the configuring of the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction includes:
[0011] increasing the output power of a target charging interface among the charging interfaces and decreasing the output power of other charging interfaces except the target charging interface among the charging interfaces.
[0012] In one embodiment, the power configuration component further includes a second power configuration button, and the power configuration instruction generated in response to the trigger from the power configuration component includes:
[0013] The second power configuration instruction is generated in response to a trigger from the second power configuration button;
[0014] Accordingly, the output power of each charging interface is configured according to the power value of each charging interface corresponding to the power configuration instruction, including:
[0015] The output power of the target charging interface among the charging interfaces is reduced, and the output power of the charging interface other than the target charging interface is increased.
[0016] In one embodiment, the increased output power and the reduced output power are both 1W.
[0017] In one embodiment, the charging device further comprises a display screen and an interface switching component, and the method further comprises:
[0018] The power display interface is displayed on the display screen, and at least one of the real-time output power and the configuration power of each charging interface is displayed in the power display interface.
[0019] The power display interface is switched to the power configuration interface in response to a trigger operation on the interface switching component.
[0020] Accordingly, the power configuration instruction generated in response to a trigger from the power configuration component includes:
[0021] The power configuration instruction is generated in the power configuration interface in response to a trigger from the power configuration component.
[0022] In one embodiment, the configuration power of each charging interface is displayed in the power display interface, and the method further comprises:
[0023] The configuration power of each charging interface in the power display interface is updated according to the power value of each charging interface corresponding to the power configuration instruction.
[0024] In one embodiment, the power display interface includes a first power display interface and a second power display interface, and the power display interface is displayed on the display screen, including:
[0025] The first power display interface is displayed on the display screen, and the real-time output power of each charging interface is displayed in the first power display interface.
[0026] The first power display interface is switched to the second power display interface in response to a first trigger operation on the interface switching component, and the configuration power of each charging interface is displayed in the second power display interface.
[0027] Accordingly, the power display interface is switched to the power configuration interface in response to a trigger operation on the interface switching component, including:
[0028] In response to a second triggering operation on the interface switching component, the first power display interface or the second power display interface is switched to a power configuration interface.
[0029] In one of the embodiments, the method further includes:
[0030] In response to a third triggering operation on the interface switching component, the second power display interface is switched to the first power display interface.
[0031] In one of the embodiments, the interface switching component includes an interface switching control in the display screen, and the real-time output power and the configuration power of each charging interface are displayed in the power display interface.
[0032] In one of the embodiments, the power configuration component includes a power configuration control in the power configuration interface, the power configuration control is used to adjust the power proportion of each charging interface, and the power configuration instruction generated by the power configuration interface in response to the triggering from the power configuration component includes:
[0033] In the power configuration interface, a target power proportion is determined in response to a proportion adjustment operation on the power configuration control.
[0034] The power configuration instruction is generated according to the target power proportion.
[0035] In one of the embodiments, the power configuration component includes at least one device type selection component corresponding to each charging interface in the power configuration interface, and the power configuration instruction generated by the power configuration interface in response to the triggering from the power configuration component includes:
[0036] In the power configuration interface, for each charging interface, a device type of an electronic device connected to the charging interface is determined in response to a triggering operation on the device type selection component corresponding to the charging interface.
[0037] The power configuration instruction is generated according to the device type of the electronic device connected to each charging interface.
[0038] In one of the embodiments, the power configuration instruction is generated according to the device type of the electronic device connected to each charging interface, including:
[0039] The power value of each charging interface is determined according to the device type of the electronic device connected to each charging interface and a preset corresponding relationship, and the preset corresponding relationship includes the corresponding relationship between different device types of the electronic device and the power value of the charging interface.
[0040] The power configuration instruction is generated according to the power value of each charging interface.
[0041] In one of the embodiments, the power configuration component further comprises an audio input component, the power configuration instruction generated in response to the trigger from the power configuration component comprises:
[0042] the power configuration instruction acquired from the audio input component.
[0043] In one of the embodiments, the power configuration component further comprises a communication component, the power configuration instruction generated in response to the trigger from the power configuration component comprises:
[0044] the power configuration instruction received from the communication component.
[0045] In the second aspect, the application further provides a power configuration device applied to a charging device, the charging device comprising a plurality of charging interfaces and a power configuration component, the device comprising:
[0046] a response module, configured to generate a power configuration instruction in response to a trigger from the power configuration component;
[0047] a configuration module, configured to configure output power of each charging interface according to a power value of each charging interface corresponding to the power configuration instruction.
[0048] In the third aspect, the application further provides a charging device comprising a memory, a processor, a plurality of charging interfaces and a power configuration component, the memory storing a computer program, and the processor executing the computer program to realize the steps of the power configuration method in the first aspect.
[0049] In the fourth aspect, the application further provides a computer readable storage medium storing a computer program, and the computer program is executed by the processor to realize the steps of the power configuration method in the first aspect.
[0050] In the fifth aspect, the application further provides a computer program product comprising a computer program, and the computer program is executed by the processor to realize the steps of the power configuration method in the first aspect.
[0051] The power configuration method, the power configuration device, the charging device, the storage medium and the computer program product can be used in the case that the charging device comprises a plurality of charging interfaces and a power configuration component. The charging device can generate a power configuration instruction in response to a trigger from the power configuration component, and configure the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction. That is, the charging device provided in the embodiment of the present application increases the power configuration component, and can realize the user interaction function through the power configuration component. According to the user interaction operation, the output power of each charging interface on the charging device can be flexibly adjusted and configured. Compared with the fixed power in the prior art, or even the intelligent power distribution mode, the output power of each charging interface can be adaptively adjusted according to the user's demand, so as to meet the different charging demands of the user. The flexibility of power configuration can be improved, and the flexibility of charging can be improved. The utilization rate of the output power of each charging interface can be improved, and the power of each charging interface can be maximally utilized. BRIEF DESCRIPTION OF DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or the related art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0053] Figure 1 The application environment diagram of the power configuration method in one embodiment;
[0054] Figure 2 The flowchart of the power configuration method in one embodiment;
[0055] Figure 3 The flowchart of the power configuration method in another embodiment;
[0056] Figure 4 The structural diagram of the power display interface in one embodiment;
[0057] Fig. 5(a) is a structural diagram of a first power display interface in one embodiment;
[0058] Fig. 5(b) is a structural diagram of a second power display interface in one embodiment;
[0059] Figure 6 The structural diagram of the power configuration interface in one embodiment;
[0060] Figure 7 The structural diagram of the power configuration interface in another embodiment;
[0061] Figure 8 A schematic diagram of the circuit structure of the charging device in an embodiment;
[0062] Figure 9 A schematic diagram of the flow of the key interaction mode in an embodiment;
[0063] Figure 10 A schematic diagram of the switching of three display interfaces by the key in an embodiment;
[0064] Figure 11 A schematic diagram of the connection of the controller and the touch screen in an embodiment;
[0065] Figure 12 A structural block diagram of the power configuration device in an embodiment;
[0066] Figure 13 An internal structural diagram of the charging device in an embodiment. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0068] In the use process of electronic products, it is often necessary to charge or power the electronic products by means of charging devices such as charging sockets, mobile power supplies, power banks, etc., so as to ensure that the electronic products can be normally used under the condition of having electricity.
[0069] At present, one type of charging device is a charging device with a display screen, and another type is a charging device without a display screen; among them, the interactive display of the charging device with a display screen can display the power of the charging interface, and the user can realize real-time perception of the charging condition of the device, while the charging device without a display screen only has a conventional power distribution or intelligent and dynamic power distribution strategy, and the user cannot perceive the actual charging condition of the electronic product by the charging device.
[0070] Traditionally, when the charging interface power of the charging device with a display screen is adapted to different electronic products for charging, the power cannot reach the maximum output; for example: the power distribution of two C ports of a 100W whole machine is 60W and 40W, such as charging an 87W Mac computer and a 12W iPhone 6, according to the power distribution of the charging device, the maximum charging power is 60W+12W, and the charging power is at most 72W, obviously the total power of 100W is not maximally utilized.
[0071] In addition, the charging device without display screen interaction is basically provided with a corresponding power distribution strategy (such as a fixed power, an intelligent power or a dynamic power distribution strategy, etc.); for example, in a use scenario, when a nearly full-power computer and a computer without power are connected to the charging interface at the same time, the minimum power distribution of the full-power computer is automatically adjusted to 15W, and if the computer has a threshold power requirement, the charging will be interrupted, and obviously the user experience in such a scenario is problematic. The other two power distribution strategies cannot achieve maximum power output.
[0072] In general, the existing charging device still has the problem of poor flexibility of power distribution when distributing power to the charging interface.
[0073] Therefore, the embodiment of the present application provides a power distribution method, which can flexibly set the output power of each charging interface in the charging device through user interaction, improve the flexibility of power configuration, and improve the maximum output of power.
[0074] First, before introducing the scheme of the present application, the technical terms involved are explained and described, including:
[0075] PD: USB Power Delivery USB, fast charging protocol standard
[0076] LCD: Liquid Crystal Display, liquid crystal display
[0077] MCU: micro programmed control Unit, single-chip microcomputer (minimum control unit)
[0078] ADC: Analog to Digital Converter, analog-digital converter
[0079] I2C: Inter-integrated Circuit, I2C communication protocol
[0080] C: fast charging Type-C port
[0081] SRAM: Static Random-Access Memory, static random access memory
[0082] SPI: Serial Peripheral Interface, serial peripheral interface
[0083] The power configuration method provided by the embodiment of the present application can be applied to, for example Figure 1The application environment shown. Among them, the charging device can include a charging socket, a mobile power supply, a power bank and other devices with charging function, the charging device includes a plurality of charging interfaces, the interface type of each charging interface can be the same, or can be different; The interface type of the charging interface can include but is not limited to MicroUSB interface, USBTypeC interface, Lightning interface and miniusb interface and the like. In addition, the charging device can also include a power configuration component, through which the charging power of the plurality of charging interfaces in the charging device can be adjusted; The structure of the power configuration component can include but is not limited to physical keys, touch screen controls, voice interfaces, remote communication interfaces, etc. The structure of the power configuration component is not limited in the embodiment of the application.
[0084] In an exemplary embodiment, as shown in Figure 2 A power configuration method is provided, which is applied to the charging device in Figure 1 for example, including the following steps:
[0085] Step 201, generating a power configuration instruction in response to a trigger from the power configuration component.
[0086] Exemplarily, the charging device in the embodiment of the application can have a user interaction function, so that the user can flexibly adjust or configure the output power of each charging interface on the charging device. In the implementation of the user interaction function, any kind of user interaction mode can be used, including but not limited to physical keys, touch display screen, voice interaction, remote interaction, etc. For a variety of different interaction modes, it can be uniformly referred to as power configuration interaction, and correspondingly, a power configuration component can be provided in the charging device, through which the power configuration interaction can be realized, so that the user can flexibly adjust or configure the output power of each charging interface through the power configuration component according to the actual charging demand.
[0087] Exemplarily, the charging device can obtain the corresponding power configuration instruction by detecting the trigger operation of the user on the power configuration component. Exemplarily, the power configuration component can include one or more; For example: in the case of two charging interfaces, since the total output power of the two charging interfaces is unchanged, the output power of one charging interface is increased or decreased, and the output power of the other charging interface will be adaptively reduced or increased; Therefore, only one power configuration component can be set to realize the configuration of the output power of the two charging interfaces.
[0088] For the power configuration component, it can be a physical component such as a physical button, a physical knob, a physical push rod, etc., or a control on a touch screen, such as an input control, a selection control, a progress bar control, etc. The form and number of the power configuration component are not limited in the embodiments of the present application, and can be designed according to the requirements and functions in actual applications.
[0089] As an example, a physical button for configuring the output power of each charging interface can be provided on the charging device, and the user can configure the output power of a specified charging interface by clicking the physical button. Based on this, the charging device generates a power configuration instruction by detecting the clicking operation of the user on the physical button.
[0090] As another example, a touch display screen can be provided on the charging device, and the user can configure the output power of a specified charging interface on the touch display screen. Based on this, the charging device generates a power configuration instruction by detecting the triggering operation of the user on the touch display screen.
[0091] As another example, the charging device can include an audio input component, and the user can configure the output power of a specified charging interface through voice interaction. Based on this, the charging device can obtain a power configuration instruction through the audio input component.
[0092] As another example, the charging device can include a communication component, and the user can configure the output power of a specified charging interface through a control device. Based on this, the charging device can receive a power configuration instruction sent by the control device through the communication component, wherein the power configuration instruction is input by the user through the control device. The control device can include, but is not limited to, a mobile phone, a tablet computer, a smart speaker, etc.
[0093] Step 202, configuring the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction.
[0094] As an example, the power configuration instruction can include the configured power value corresponding to at least one charging interface, or can include a power configuration strategy for at least one charging interface. For example, the power configuration instruction can include increasing / decreasing the output power of a specified charging interface by a preset power value, adjusting the output power of a specified charging interface to a preset power value, etc.
[0095] Exemplarily, in a case that the power configuration instruction includes the configured power value corresponding to at least one charging interface, the configured power value corresponding to the other charging interface can be determined according to the configured power value corresponding to the at least one charging interface indicated in the power configuration instruction; then, the output power of each charging interface is configured according to the configured power value corresponding to each charging interface. It should be noted that, generally, the total output power corresponding to each charging interface is fixed; for example, the total output power is 100 watts (W), and for two charging interfaces C1 and C2, C1 is 30 W and C2 is 70 W.
[0096] Of course, in a case that the power configuration instruction includes the configured power value corresponding to all charging interfaces, if the sum of the configured power values corresponding to all charging interfaces does not exceed the total output power value, the output power of each charging interface can also be configured according to the configured power value corresponding to each charging interface indicated in the power configuration instruction. Based on the above example, C1 can be set to 30 W and C2 to 50 W.
[0097] In addition, if the sum of the configured power values corresponding to all charging interfaces exceeds the total output power value, the power value of one or more charging interfaces can also be adjusted according to a preset adjustment strategy; for example, the output power of the charging interface with the maximum power value is reduced; based on the above example, in a case that the power configuration instruction indicates that C1 is 30 W and C2 is 80 W, C2 can be reduced to 70 W.
[0098] Exemplarily, in a case that the power configuration instruction includes a power configuration strategy for at least one charging interface, the configured power value corresponding to each charging interface can be determined according to the power configuration strategy of the at least one charging interface and the initial configured power of each charging interface; and then, the output power of each charging interface is configured according to the configured power value corresponding to each charging interface.
[0099] Based on the above example, in a case that two charging interfaces C1 and C2 are included and the total output power is 100 W, if the power configuration instruction is to increase the output power of C1 by 5 W, then 5 W is added to the initial configured power of C1, and correspondingly, 5 W can be reduced from the initial configured power of C2 to obtain the configured power values corresponding to C1 and C2 respectively.
[0100] For example, if the power configuration instruction is C1, and the output power of C1 is increased by 5W, and the output power of C2 is increased by 10W, the power configuration component can increase the output power of C1 by 5W according to the power configuration strategy of C1, and increase the output power of C2 by 10W according to the power configuration strategy of C2. Then, if the sum of the adjusted output powers of C1 and C2 does not exceed the total output power 100W, the output powers of C1 and C2 are configured according to the adjusted power values of C1 and C2.
[0101] In the above power configuration method, when the charging device includes multiple charging interfaces and a power configuration component, the charging device can generate a power configuration instruction in response to a trigger from the power configuration component, and configure the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction. That is, the charging device provided by the embodiments of the present application increases the power configuration component, and the power configuration component can realize user interaction function, and flexibly adjust and configure the output power of each charging interface on the charging device according to the user's interaction operation. Compared with the fixed power in the prior art, or even the intelligent power distribution mode, the output power of each charging interface can be adaptively adjusted according to the user's demand, so as to meet the different charging demands of the user. Not only the flexibility of power configuration is improved, thereby improving the flexibility of charging, but also the utilization rate of the output power of each charging interface is improved, and the power of each charging interface is maximized.
[0102] In an exemplary embodiment, when the power configuration component includes a physical button, the power configuration component can include a first power configuration button, which can be used to increase the output power of a target charging interface while reducing the output power of other charging interfaces. Based on this, the step 201 can include generating a first power configuration instruction in response to a trigger from the first power configuration button. Correspondingly, the step 202 can include increasing the output power of the target charging interface among the charging interfaces, and reducing the output power of other charging interfaces except the target charging interface among the charging interfaces.
[0103] Based on the above example, when the charging device includes two charging interfaces C1 and C2, and the first power configuration button is used to increase the output power of C1 and reduce the output power of C2, the user can click the first power configuration button, so that the charging device increases the output power of C1 by a preset power value, and reduces the output power of C2 by a preset power value.
[0104] Exemplarily, the power configuration component can further include a second power configuration button, which can be used to reduce the output power of the target charging interface while increasing the output power of other charging interfaces. Based on this, the step 201 can include generating a second power configuration instruction in response to a trigger from the second power configuration button; correspondingly, the step 202 can include reducing the output power of the target charging interface and increasing the output power of other charging interfaces except the target charging interface.
[0105] Based on the above example, in the case where the charging device includes two charging interfaces C1 and C2, and the second power configuration button is used to reduce the output power of C1 and increase the output power of C2, the user can click the second power configuration button, so that the charging device reduces the output power of C1 by a preset power value and increases the output power of C2 by the preset power value.
[0106] In addition, it should be noted that the preset power value for increasing or decreasing can be any preset power value, such as 2W, 5W, 10W, etc., which is not limited in the present application. As an example, the increased output power and the reduced output power can both be 1W, so as to realize stepless adjustment of the output power. In addition, the preset power value (i.e., the output power) for increasing or decreasing can be fixed or can be flexibly set and adjusted by the user, which is also not limited in the present application.
[0107] In the embodiment, the power configuration component can include a first power configuration button and a second power configuration button, and the user can configure the output power of each charging interface by operating the first power configuration button and / or the second power configuration button, so as to improve the convenience and flexibility of user interaction.
[0108] In an exemplary embodiment, the charging device can further include a display screen, which can be used to display at least one of the real-time output power and the configured power of each charging interface of the charging device. After configuring the output power of each charging interface in any interaction mode, the display screen can display the configured output power corresponding to each interface, so as to prompt the user and increase the user experience.
[0109] Exemplarily, in the case where the charging device includes a display screen, at least one display interface can be displayed on the display screen, such as a power configuration interface, a power display interface, etc. For the case where multiple display interfaces exist, the charging device can further include an interface switching component, by which the switching between multiple display interfaces can be realized. Based on this, as shown in Figure 3 The method can further include:
[0110] In step 301, a power display interface is displayed on the display screen; at least one of the real-time output power and the configured power of each charging interface is displayed in the power display interface.
[0111] That is, the power display interface can include one, in one power display interface, multiple information of each charging interface is displayed; refer to Figure 4 As shown in the figure, in the case of two charging interfaces C1 and C2, the power display interface can display the real-time output power and the configured power of the charging interface C1, and the real-time output power and the configured power of the charging interface C2. Among them, the real-time output power is the gray progress bar area in FIG. 5, and the configured power is Figure 4 the power value on the right side of the progress bar in FIG. 5.
[0112] Exemplarily, the power display interface can also include multiple, each power display interface can display one or more information of each charging interface; refer to FIG. 5(a), the power display interface can include a first power display interface, which can be used to display the real-time output power of the charging interface C1 and the real-time output power of the charging interface C2. Refer to FIG. 5(b), the power display interface can also include a second power display interface, which can be used to display the configured power of the charging interface C1 and the configured power of the charging interface C2.
[0113] That is, in one implementation, the real-time output power of each charging interface can be displayed in the first power display interface, and the configured power of each charging interface can be displayed in the second power display interface; of course, the real-time output power and the configured power of the charging interface C1 can also be displayed in the first power display interface, and the real-time output power and the configured power of the charging interface C2 can also be displayed in the second power display interface; in other words, the power display interface can also be set according to the charging interface, and each charging interface corresponds to a power display interface.
[0114] Exemplarily, the charging device can display the first power display interface on the display screen by default, and switch the first power display interface to the second power display interface in response to a first triggering operation of the interface switching component.
[0115] In step 302, in response to the triggering operation of the interface switching component, the power display interface is switched to the power configuration interface.
[0116] Exemplarily, the interface switching component can include a physical button, and can also include a function control on the touch screen, etc., and the form of the interface switching component is not limited in the embodiment of the application.
[0117] Exemplarily, in the case that the display screen displays the power display interface, the power display interface on the display screen can be switched to the power configuration interface by triggering the interface switching component. Exemplarily, in the case that the power display interface includes multiple power display interfaces, the interface switching component can be triggered to directly switch to the power configuration interface at each power display interface; for example, an interface switching control is arranged on each power display interface, and the interface switching control is triggered to directly switch to the power configuration interface. For example, in the case that the interface switching component is a physical button, a specific button mode, such as double-clicking, can be set to switch from any power display interface to the power configuration interface.
[0118] Exemplarily, in the case that the display screen displays the first power display interface or the second power display interface, the charging device can switch the first power display interface or the second power display interface to the power configuration interface in response to a second triggering operation on the interface switching component.
[0119] Based on the embodiment, in the case that the power display interface displays the configuration power of each charging interface, the charging device can further update the configuration power of each charging interface in the power display interface according to the power value of each charging interface corresponding to the power configuration instruction after obtaining the power configuration instruction. The output power of each charging interface after configuration can be displayed to the user.
[0120] Correspondingly, the step 201 can further include:
[0121] The step 201’ is that the power configuration interface generates a power configuration instruction in response to a triggering from the power configuration component.
[0122] That is, in the case that the display screen does not display the power configuration interface, the power configuration component is not functional, or in other words, the power configuration component is not used for power configuration. For example, in the case that the power configuration component is a power configuration control on the touch screen, the power configuration controls are not displayed in the non-power configuration interface; for another example, in the case that the power configuration component is a physical button, the physical button is not functional in the non-power configuration interface, or the physical button can be used as a functional button in the non-power configuration interface.
[0123] In this embodiment, the display screen of the charging device can display a power display interface or a power configuration interface, and the switching between different interfaces is realized through an interface switching component arranged on the charging device, so as to meet different needs of users. When power configuration is needed, the interface is switched to the power configuration interface through the interface switching component, so that the output power of each charging interface is configured through a power configuration component in the power configuration interface. After the configuration is completed, the power display interface is automatically switched to, so as to display the information of each charging interface in real time. By using this method, the flexibility and intelligence of the charging device can be improved. In addition, by arranging the power configuration interface on the display screen of the charging device, and in the case that the display screen displays the power configuration interface, the charging device generates a power configuration instruction in response to the trigger from the power configuration component. By using this method, the accuracy of power configuration can be improved.
[0124] In one exemplary embodiment, in the case that the power display interface includes a first power display interface and a second power display interface, the first power display interface displays the real-time output power of each charging interface, and the second power display interface displays the configured power of each charging interface. The interface display process can be:
[0125] Exemplarily, taking the interface switching component as an interface switching button for example, after the charging device is started / powered on, the display screen of the charging device can display the first power display interface by default, that is, the real-time output power of each charging interface is displayed in the first power display interface. At this time, the charging device can detect the real-time output power of each charging interface based on the corresponding detection circuit, and display the real-time output power of each charging interface in the first power display interface.
[0126] Then, in the case of the first power display interface, the user can switch the first power display interface to the second power display interface by clicking the interface switching button, and the configured power of each charging interface can be displayed in the second power display interface. And in the case of the second power display interface, the user can click the interface switching button again to switch the second power display interface to the power configuration interface, so that the output power of each charging interface is configured through the power configuration button in the power configuration interface.
[0127] Exemplarily, in the second power display interface, the charging device can also switch the second power display interface to the first power display interface in response to a third trigger operation of the user on the interface switching component.
[0128] For example, in the second power display interface, the user can switch the interface by long-pressing the interface switch button for more than a preset time length, and the charging device can switch the second power display interface to the power configuration interface; the user can switch the interface by short-pressing the interface switch button for less than the preset time length, and the charging device can switch the second power display interface back to the first power display interface.
[0129] For example, in the second power display interface, the user can switch the interface by double-clicking the interface switch button, and the charging device can switch the second power display interface to the power configuration interface; the user can switch the interface by single-clicking the interface switch button, and the charging device can switch the second power display interface back to the first power display interface.
[0130] It should be noted that the above examples are only used to describe some optional implementations of the scheme and do not limit the way of switching the different display interfaces by the buttons; in actual application scenarios, different button switching modes can be set to switch between different interfaces.
[0131] In an exemplary embodiment, the power display interface can also include one, that is, the real-time output power and the configured power of each charging interface are displayed in the power display interface. For example, on this basis, the interface switching component can include an interface switching control in the display screen, that is, a touch button, for example, the interface switching control can be set in the upper right corner of the power display interface as shown in the above Figure 4 Accordingly, the power configuration component can also include a power configuration control in the power configuration interface. That is, in this example, the user interaction can be realized by the touch screen without setting a physical button.
[0132] For example, the power configuration control can include a plurality of power configuration controls, each of which can correspond to one of the charging interfaces; of course, the power configuration control can also include one, and the output power of each charging interface can be configured by one power configuration control, for example, when different charging interfaces are selected, the power configuration control is used to configure the output power of the selected charging interface. In addition, in the case where the power configuration control includes one, the power configuration control can also be in the form of a progress bar and the like, which can simultaneously realize the output power configuration of multiple charging interfaces.
[0133] For example, the power configuration control can be used to adjust the power ratio of each charging interface, and based on this, the above step 201' can include:
[0134] In the power configuration interface, in response to the user's ratio adjustment operation on the power configuration control, a target power ratio is determined; and a power configuration instruction is generated according to the target power ratio.
[0135] In one implementation, refer to Figure 6As shown, the power configuration control can be in the form of a progress bar, and at least one movable moving control is arranged on the progress bar, and the progress bar can be divided into multiple parts by the moving control; for example, in the case that the charging interface includes C1 and C2, the progress bar can be divided into two parts by one moving control, one part represents the power proportion of the charging interface C1, and the other part represents the power proportion of the charging interface C2.
[0136] The user can adjust the position of the moving control on the progress bar through the touch screen to achieve the effect of adjusting the output power of the charging interfaces C1 and C2. During the adjustment of the position of the moving control, the charging device can determine the target power proportions of the charging interfaces C1 and C2 corresponding to the current position of the moving control, and then determine the power values corresponding to the charging interfaces C1 and C2, respectively; and the power values corresponding to the charging interfaces C1 and C2 can be displayed in the power configuration interface in real time. It should be noted that, in the case that the user triggers the confirmation control in the power configuration interface, the target power proportions of the charging interfaces C1 and C2 corresponding to the current position of the moving control are determined; and the output power of the charging interfaces C1 and C2 is configured according to the target power proportions of the charging interfaces C1 and C2, respectively.
[0137] For example, in the case that the user exits the power configuration interface, the charging device can also configure the output power of the charging interfaces C1 and C2 according to the position of the moving control on the progress bar after the user last adjusts the moving control.
[0138] It should be noted that the progress bar described above is only used as an example for illustration, and other forms can also be used to adjust the power proportion of multiple charging interfaces in actual application; for example, a circular pie structure, etc.
[0139] In an exemplary embodiment, the power configuration component can also include at least one device type selection component corresponding to each charging interface in the power configuration interface; that is, a device type selection component corresponding to each charging interface can also be arranged in the power configuration interface, and each charging interface can be configured to connect at least one charging device of a device type, and the output power of the charging device configured for the charging interface is different when the charging interface connects different types of charging devices.
[0140] Reference Figure 7 As shown, one or more device type selection components can be arranged in the power configuration interface for different charging interfaces, including but not limited to a computer selection component, a mobile phone selection component, a tablet selection component, a watch / earphone selection component, etc. That is, the device types of the charging device can include computers, mobile phones, tablets, watches / earphones, etc.
[0141] Refer to Table 1, which shows the power distribution of the C1 and C2 interfaces in different device types.
[0142] Table 1
[0143]
[0144] Based on this, the above step 201' may include:
[0145] On the power configuration interface, for each charging interface, in response to a triggering operation of a device type selection component corresponding to the charging interface, determining the device type of the electronic device connected to the charging interface;
[0146] Generate power configuration instructions based on the device type of the electronic device connected to each charging port.
[0147] For example, refer to Figure 7 As shown, when each charging interface corresponds to multiple device type selection components, the device type of the electronic device connected to each charging interface can be selected separately for each charging interface. For example: the electronic device connected to charging interface C1 is selected as a computer, and the electronic device connected to charging interface C2 is selected as a mobile phone.
[0148] Exemplarily, when the device type of the electronic device connected to each charging interface is determined, a power configuration instruction can be generated; in one implementation, a power configuration instruction carrying the device type of the electronic device connected to each charging interface can be generated, then accordingly, the above step 202 can include: determining the power value of each charging interface according to the device type of the electronic device connected to each charging interface carried in the power configuration instruction, and configuring the output power of each charging interface according to the power value of each charging interface.
[0149] In another implementation method, the power value of each charging interface can be determined based on the device type of the electronic device connected to each charging interface and the preset correspondence, and then a power configuration instruction carrying the power value of each charging interface is generated based on the power value of each charging interface; wherein the preset correspondence may include the correspondence between different device types of electronic devices and the power values of the charging interfaces.
[0150] That is to say, based on Figure 7 In the power configuration interface shown, the user can select the device type of the electronic device connected to each charging port. The charging device can then determine the power value of each charging port based on the device type of the electronic device connected to each charging port and the preset correspondence. Of course, the charging device can also detect the device type of the electronic device connected to each charging port and generate a power configuration instruction based on the device type of the electronic device connected to each charging port.
[0151] In the above embodiments, the key and the touch screen and other interactive implementation schemes are described respectively, and various implementation modes are provided for the output power configuration of each charging interface of the charging device, so as to improve the flexibility and diversity of the charging configuration.
[0152] In an optional embodiment, referring to Figure 8 As shown in the figure, a schematic diagram of the circuit structure of the charging device is provided. It includes a controller MCU, an LCD screen, an alternating current input (AC-IN), a power conversion module (AC-DC), a PD protocol + BUCK voltage conversion module, and a low dropout regulator (LDO) step-down module. The charging device is connected to 220V mains through the AC-IN, and the input 220V mains is converted into direct current of a preset size required by the PD protocol + BUCK voltage conversion module through the power conversion module AC-DC; then, the two PD protocol + BUCK voltage conversion modules respectively charge the charging device connected to C1 and the charging device connected to C2 according to the configuration power of the charging interfaces C1 and C2.
[0153] In addition, the direct current output by the two PD protocol + BUCK voltage conversion modules is connected to the LDO step-down module through VDRV1 and VDRV2 respectively for step-down processing to obtain a 3.3V power supply voltage for the controller MCU.
[0154] The controller MCU respectively collects the voltage V_C1 and the current I_C1 of the charging interface C1, and the voltage V_C2 and the current I_C2 of the charging interface C2 through an analog-to-digital conversion module ADC, and calculates the real-time output power of the charging interface C1 according to the voltage V_C1 and the current I_C1 of the charging interface C1, and calculates the real-time output power of the charging interface C2 according to the voltage V_C2 and the current I_C2 of the charging interface C2.
[0155] In addition, the controller MCU is in communication connection with the LCD screen through an SPI bus, for obtaining the power configuration instruction triggered by the user's interactive operation on the LCD screen, and in the case that the corresponding configured power values of C1 and C2 are determined, adjusting the output power to the charging interface C1 through the I2C1 bus by controlling the PD protocol + BUCK voltage conversion module, and adjusting the output power to the charging interface C2 through the I2C2 bus by controlling the PD protocol + BUCK voltage conversion module.
[0156] Three complete user interaction modes will be provided below to describe the power distribution method in detail. Assume that the application scenario is that a 95W high-power computer is connected to the charging interface C1 and a 5W earphone device is connected to the charging interface C2.
[0157] The first: through the key and LCD screen interaction to realize the active configuration of the power of the charging interface. Exemplarily, referring to FIG. 1, the process of key interaction can include: Figure 9
[0158] Three display interfaces are provided on the LCD screen. The first display interface is the first power display interface, that is, the real-time power parameter display of the charging interfaces C1 and C2. The second display interface is the second power display interface, that is, the current power distribution display when the charging interfaces C1 and C2 are online at the same time. The third display interface is the power configuration interface, which can be entered when the charging interfaces C1 and C2 are online at the same time. The initial configuration power of the charging interfaces C1 and C2 can be half of the total power. In the case of a total power of 100W, the initial configuration power of the charging interfaces C1 and C2 can be 50W each.
[0159] After the charging device is powered on and started, the LCD screen can enter the first power display interface by default. The software defines the interface position parameter as interface_position, sets interface_position as 1, and then caches it in the SRAM of the MCU. At the same time, the ADC sampling function of the MCU is started to perform analog-to-digital conversion on the actual output voltage and current of the charging interfaces C1 and C2. The analog ADC values collected are converted into corresponding voltage and current values by calculation and cached in the SRAM of the MCU (the voltage and current data of the charging interface C1 are defined as output_c1_vol and output_c1_cur respectively; the voltage and current data of the charging interface C2 are defined as output_c2_vol and output_c2_cur respectively). At the same time, the calculated voltage and current are multiplied to obtain the actual output power value at this time, which is cached in the SRAM of the MCU (the real-time output power of the charging interfaces C1 and C2 is defined as output_c1_power and output_c2_power respectively). Then the real-time output power of the charging interfaces C1 and C2 is displayed in the first power display interface of the LCD. The display communication mode can be SPI. The implementation process is to fill the real-time output power of the charging interfaces C1 and C2 into the corresponding drive register according to the drive requirements of the LCD through the SPI communication mode, so that the data can be displayed on the LCD screen.
[0160] The above process realizes real-time power display of each charging interface of the first power display interface. When the user presses the key 1, the MCU detects the pressing of the key 1 through the GPIO input of the pin (Pin, referred to as Pin pin), at this time, the interface_position is set to 2 and cached in the SRAM of the MCU, at this time, the display interface will switch to the second power display interface, and the displayed content is the power configuration value of the charging interfaces C1 and C2 (the displayed power values are respectively defined as current_c1_set_power and current_c2_set_power, both of which are 50W by default, which are also cached in the SRAM of the MCU).
[0161] When the user long-presses the key 1 for more than 3s without releasing it, at this time, the interface_position is set to 3 and cached in the SRAM of the MCU, at this time, the display interface will switch to the power configuration interface, indicating that the user needs to enter the configuration of the charging power of the charging interfaces C1 and C2 (respectively defined as get_c1_set_power and get_c2_set_power), at this time, the user can infinitely adjust the current power distribution of C1 and C2 through the key 2 and the key 3 (i.e., the increased / decreased power is 1W); by pressing the key 2, the power distribution of C1 can be increased while the power distribution of C2 is reduced, and by pressing the key 3, the power distribution of C1 can be reduced while the power distribution of C2 is increased; for example: the current power distribution combination is 50W + 50W, when the key 2 is pressed, the power distribution becomes 51W + 49W, and when the key 3 is pressed, the power distribution becomes 49W + 51W, and the adjustment limit can be set to 95W + 5W or 5W + 95W; at the same time, the MCU will update the power distribution parameters configured by the user in real time, and refresh them to the cached get_c1_set_power and get_c2_set_power, when the user determines the power distribution combination, the key 1 is long-pressed again for more than 3s (equivalent to a confirmation key), at this time, the last power distribution combination parameter (i.e., get_c1_set_power and get_c2_set_power) configured by the user is updated to current_c1_set_power and current_c2_set_power, after the update, the interface_position is set to 2 and cached in the SRAM of the MCU, at this time, the interface will switch to the second power display interface, and the current power distribution combination will be displayed as the power distribution combination configured by the user, indicating that the user actively configures the interface power distribution successfully.
[0162] In addition, if the long press of the key 1 is not released for more than 3s in the second power display interface, it is considered as a short press, at this time the first power display interface will be returned, and the interface_position is set to 1 and cached in the SRAM of the MCU. Referring to Figure 10 As shown in FIG. 6, it shows the operation schematic diagram of the key switching different display interfaces.
[0163] After the above-mentioned interaction process between the user and the charging device, for example, finally adjusting the power distribution combination to 95W + 5W, the computer device can finally charge at the highest power of 95W, and the earphone can charge at the highest demand of 5W, so as to achieve the optimization of power charging under the condition of ensuring safety.
[0164] In addition, it should be noted that when a single charging interface is connected to an electronic device, the charging interface connected to the electronic device can be allocated the total power for charging. For example: when the charging interface C1 is connected to the electronic device, the charging interface C2 is not connected to the electronic device, the charging power of 100W is allocated to the charging interface C1, and the charging power is not allocated to the charging interface C2; when the charging interface C1 is not connected to the electronic device, the charging interface C2 is connected to the electronic device, the charging power of 100W is allocated to the charging interface C2, and the charging power is not allocated to the charging interface C1.
[0165] When multiple charging interfaces are connected to electronic devices, the above-mentioned power distribution method can be used to allocate output power to multiple charging interfaces.
[0166] Second: touch screen interaction mode
[0167] Exemplarily, referring to Figure 11 As shown in FIG. 6, it shows the operation schematic diagram of the key switching different display interfaces. Figure 8 The LCD screen in the FIG. 6 can be a serial touch screen, which can communicate with the controller through a universal asynchronous receiver / transmitter (UART) including a receiving interface RX and a sending interface TX. In addition, VCC represents a power supply for powering the touch screen, and GND represents the ground of the touch screen. Its interaction process can include:
[0168] MCU parses the instructions of the serial touch screen through the serial UART signal, and obtains the corresponding interface parameters by parsing; for example, in the multi-port power distribution setting interface, the user adjusts the C1 power distribution to 30W and the C2 power distribution to 70W by touching the power distribution progress bar. After the user saves and confirms, the serial screen driver sends a UART signal (according to the corresponding protocol) to the MCU, and the MCU parses the power distribution values of C1 and C2 that need to be updated, so as to immediately update the obtained power distribution values to the protocol IC, and the protocol IC re-broadcasts to inform the charging interface of the latest power distribution values; at the same time, the MCU continuously collects the output voltage and current signals of each charging interface, converts the collected analog quantities into digital quantities through ADC, and calculates the output power value through the voltage and current values; then, the MCU notifies the serial touch screen driver IC of the latest real-time power values of C1 and C2 at a certain interval period through a UART signal (according to the corresponding protocol), and the serial touch screen obtains the UART signal of the MCU, and also parses the real-time output power values of C1 and C2, and refreshes the obtained real-time output power values to the multi-port output power display interface.
[0169] Among them, for the touch display screen, it can include two display interfaces, namely a power display interface and a power configuration interface; in the power display interface, the real-time output power and the configuration power of each charging interface can be displayed, as shown in the above Figure 4 When single-port access, the touch screen can display the real-time output power of C1 or C2 and the maximum power of the charging device, such as 100W; when multi-port access, the touch screen can display the real-time output power of C1 and C2, such as 5W and 48W, and the configuration power of C1 and C2, such as 50W and 50W. The user can click the setting icon button in the power display interface on the touch screen by finger, enter the power configuration interface, and then perform autonomous power distribution setting of C1 and C2. When returning to the power display interface after setting, the interface will be updated according to the set power values of C1 and C2; for example, setting C1 to 30W and C2 to 70W in the power distribution interface, the power values displayed in the power display interface are changed to C1 30W and C2 70W, and the power outputs of the charging interfaces C1 and C2 are limited to the configured power values.
[0170] The third: based on the user actively selecting the interface device type to perform power distribution
[0171] First of all, it needs to be pointed out that the display interface and the interface switching mode in the third interactive mode can be the same as the second mode, and the difference lies in that in the third interactive mode, the device type selection components corresponding to each charging interface are displayed in the power configuration interface, as shown in the above Figure 7The power display interface displays the real-time output power of each charging interface and the device type of the connected charging device. The interaction process can include:
[0172] The MCU analyzes the instructions of the serial touch screen through the serial UART signal, and obtains the corresponding interface parameters, for example, in the power configuration interface, the user selects the device type of the charging device connected to the charging interface C1 and C2 through touch, and then adjusts the power distribution according to the device type; for example, C1 is selected as a computer, and C2 is selected as a computer, then according to the above table 1, the power distribution of C1 and C2 can be set to 50W. After the user saves and confirms, the serial screen driver sends a UART signal (according to the corresponding protocol) to the MCU, the MCU analyzes the device type of the interface C1 and C2 configured by the user, and then sets the interface power according to the device type, and updates the allocated power value to the protocol IC, and the protocol IC re-broadcasts the latest power distribution value of the charging interface at this time; at the same time, the MCU continuously collects the output voltage and current signals of the interface, converts the collected analog quantity into digital quantity through ADC, and calculates the output power value through the voltage and current value, and then notifies the serial touch screen driver IC of the latest real-time output power value of C1 and C2 through UART signal (according to the corresponding protocol) at a certain interval period; after the serial touch screen obtains the UART signal of the MCU, the real-time output power value of C1 and C2 is also obtained, and the obtained real-time output power value is refreshed to the power display interface.
[0173] The power configuration method for the charging device proposed in the embodiment of the application opens the interface power distribution configuration and is configured by the user to actively configure, which can cover different use habits of each user (including the combination of the device charging selection, the interface charging use habit, etc.), truly reflects the more human characteristics of power distribution, and improves the interactive use experience of the charging device. In addition, it can also solve the compatibility problem caused by the power distribution strategy at the user end (when the compatibility problem occurs, the user can adjust the power distribution to quickly solve it). In addition, when multiple devices are connected to the charging device for charging, the user can actively configure the power of each charging interface to achieve the optimal charging efficiency.
[0174] It should be understood that although the steps in the flowcharts related to the embodiments described above are shown in a sequence as indicated by arrows, the steps are not necessarily executed in the order as indicated by the arrows. Unless otherwise specified herein, the execution of the steps is not necessarily limited in sequence, and the steps can be executed in other sequences. Moreover, at least some of the steps in the flowcharts related to the embodiments described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution of the steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least some of the other steps or the steps or stages in the other steps.
[0175] Based on the same inventive concept, the embodiments of the present application further provide a power configuration apparatus for implementing the power configuration method described above. The solution to the problem provided by the apparatus is similar to the solution described in the method, and therefore the specific limitations in one or more power configuration apparatus embodiments provided below can refer to the limitations of the power configuration method described above, which will not be repeated here.
[0176] In one exemplary embodiment, as shown in Figure 12 a power configuration apparatus is provided, comprising: a response module 1201 and a configuration module 1202, wherein:
[0177] The response module 1201 is configured to generate a power configuration instruction in response to a trigger from a power configuration component.
[0178] The configuration module 1202 is configured to configure the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction.
[0179] In one embodiment, the power configuration component includes a first power configuration button, and the response module 1201 is configured to generate a first power configuration instruction in response to a trigger from the first power configuration button.
[0180] Correspondingly, the configuration module 1202 is configured to increase the output power of a target charging interface among the charging interfaces and decrease the output power of the other charging interfaces except the target charging interface.
[0181] In one embodiment, the power configuration component further includes a second power configuration button, and the response module 1201 is configured to generate a second power configuration instruction in response to a trigger from the second power configuration button.
[0182] Correspondingly, the configuration module 1202 is configured to reduce the output power of the target charging interface among the charging interfaces, and increase the output power of the charging interfaces other than the target charging interface.
[0183] In one of the embodiments, the increased output power and the reduced output power are both 1 W.
[0184] In one of the embodiments, the charging device further comprises a display screen and an interface switching component, and the device further comprises:
[0185] The display module is configured to display a power display interface on the display screen, and the power display interface displays at least one of the real-time output power and the configuration power of the charging interfaces.
[0186] The switching module is configured to switch the power display interface to a power configuration interface in response to a triggering operation on the interface switching component.
[0187] Correspondingly, the response module 1201 is configured to generate a power configuration instruction in response to a triggering of the power configuration component in the power configuration interface.
[0188] In one of the embodiments, the power display interface displays the configuration power of the charging interfaces, and the device further comprises:
[0189] The update module is configured to update the configuration power of the charging interfaces in the power display interface according to the power values of the charging interfaces corresponding to the power configuration instruction.
[0190] In one of the embodiments, the power display interface comprises a first power display interface and a second power display interface, and the display module is configured to display the first power display interface on the display screen, and the first power display interface displays the real-time output power of the charging interfaces.
[0191] The switching module is configured to switch the first power display interface to the second power display interface in response to a first triggering operation on the interface switching component, and the second power display interface displays the configuration power of the charging interfaces.
[0192] The switching module is further configured to switch the first power display interface or the second power display interface to the power configuration interface in response to a second triggering operation on the interface switching component.
[0193] In one of the embodiments, the switching module is further configured to switch the second power display interface to the first power display interface in response to a third triggering operation on the interface switching component.
[0194] In one of the embodiments, the interface switching component comprises an interface switching control in the display screen, and the power display interface displays the real-time output power and the configuration power of the charging interfaces.
[0195] In one of the embodiments, the power configuration component includes a power configuration control in the power configuration interface, the power configuration control is used to adjust the power proportion of each charging interface, the response module 1201 is configured to determine a target power proportion in the power configuration interface in response to a proportion adjustment operation on the power configuration control, and generate a power configuration instruction according to the target power proportion.
[0196] In one of the embodiments, the power configuration component includes at least one device type selection component corresponding to each charging interface in the power configuration interface, the response module 1201 is configured to determine the device type of the electronic device connected to each charging interface in the power configuration interface in response to a triggering operation on the device type selection component corresponding to the charging interface, and generate a power configuration instruction according to the device type of the electronic device connected to each charging interface.
[0197] In one of the embodiments, the response module 1201 is configured to determine the power value of each charging interface according to the device type of the electronic device connected to each charging interface and a preset correspondence relationship, and generate a power configuration instruction according to the power value of each charging interface, the preset correspondence relationship includes the correspondence relationship between different device types of the electronic device and the power value of the charging interface.
[0198] In one of the embodiments, the power configuration component further includes an audio input component, and the response module 1201 is configured to respond to the power configuration instruction obtained from the audio input component.
[0199] In one of the embodiments, the power configuration component further includes a communication component, and the response module 1201 is configured to respond to the power configuration instruction received from the communication component.
[0200] Each of the above power configuration devices can be implemented by software, hardware and combinations thereof in whole or in part. Each of the above modules can be embedded in or independent of the processor in the charging device in hardware form, or can be stored in the memory in the charging device in software form, so as to be called and executed by the processor to perform the operations corresponding to each of the above modules.
[0201] In one of the embodiments, a charging device is provided, and its internal structure diagram can be as shown in Figure 13As shown in the figure. The charging device includes a processor, a memory, an input / output interface, a communication interface and a display unit, and further includes a plurality of charging interfaces and a power configuration component (not shown in the figure). Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface and the display unit are connected to the system bus through the input / output interface. Among them, the processor of the charging device is used to provide computing and control capability. The memory of the charging device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program in the non-volatile storage medium to run. The input / output interface of the charging device is used to exchange information between the processor and external devices. The communication interface of the charging device is used to communicate with external terminals in a wired or wireless manner. The wireless manner can be realized through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by the processor to realize a power configuration method. The display unit of the charging device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the charging device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad provided on the shell of the charging device, etc.
[0202] Those skilled in the art can understand that, Figure 13 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the charging device to which the scheme of the present application is applied. The specific charging device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0203] In one exemplary embodiment, a charging device is provided, including a memory, a processor, a plurality of charging interfaces and a power configuration component, the memory storing a computer program, and the processor executing the computer program to realize the steps of the power configuration method in any of the above embodiments.
[0204] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to realize the steps of the power configuration method in any of the above embodiments.
[0205] In one embodiment, a computer program product is provided, including a computer program, and the computer program is executed by a processor to realize the steps of the power configuration method in any of the above embodiments.
[0206] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0207] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0208] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A power configuration method, comprising: Applied to a charging device, the charging device including multiple charging interfaces and a power configuration component, the method comprising: generating a power configuration instruction in response to a trigger from the power configuration component; The output power of each charging interface is configured according to the power value of each charging interface corresponding to the power configuration instruction.
2. The method of claim 1, wherein, The power configuration component includes a first power configuration button; the power configuration instruction generated in response to a trigger from the power configuration component includes: a first power configuration instruction generated in response to a trigger from the first power configuration button; Correspondingly, configuring the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction includes: The output power of a target charging interface among the charging interfaces is increased, and the output power of other charging interfaces among the charging interfaces except the target charging interface is reduced.
3. The method of claim 2, wherein, The power configuration component further includes a second power configuration button, and the power configuration instruction generated in response to a trigger from the power configuration component includes: a second power configuration instruction generated in response to a trigger from the second power configuration button; Correspondingly, configuring the output power of each charging interface according to the power value of each charging interface corresponding to the power configuration instruction includes: The output power of a target charging interface among the charging interfaces is reduced, and the output power of other charging interfaces among the charging interfaces except the target charging interface is increased.
4. The method according to claim 2 or 3, characterized in that, The increased output power and the decreased output power are both 1W.
5. The method of claim 1, wherein, The charging device further includes a display screen and an interface switching component, and the method further includes: Displaying a power display interface on the display screen; the power display interface displays at least one of the real-time output power and the configured power of each charging port; In response to a triggering operation on the interface switching component, switching the power display interface to a power configuration interface; Accordingly, the power configuration instruction generated in response to the trigger from the power configuration component includes: A power configuration instruction is generated at the power configuration interface in response to a trigger from the power configuration component.
6. The method of claim 5, wherein, The power display interface includes a first power display interface and a second power display interface, and displaying the power display interface on the display screen includes: Displaying the first power display interface on the display screen; the first power display interface displays the real-time output power of each charging port; In response to a first triggering operation on the interface switching component, the first power display interface is switched to the second power display interface; the second power display interface displays the configured power of each of the charging interfaces; Accordingly, in response to the triggering operation of the interface switching component, the power display interface is switched to the power configuration interface, including: In response to a second triggering operation on the interface switching component, the first power display interface or the second power display interface is switched to the power configuration interface.
7. The method of claim 5, wherein, The power configuration component includes a power configuration control in the power configuration interface, the power configuration control being used to adjust a power ratio of each of the charging interfaces, and the power configuration instruction generated in the power configuration interface in response to a trigger from the power configuration component including: In the power configuration interface, a target power ratio is determined in response to a ratio adjustment operation on the power configuration control; The power configuration instruction is generated according to the target power ratio.
8. The method of claim 5, wherein, The power configuration component includes at least one device type selection component corresponding to each of the charging interfaces in the power configuration interface; and the power configuration instruction generated in the power configuration interface in response to a trigger from the power configuration component including: In the power configuration interface, for each of the charging interfaces, a device type of an electronic device connected to the charging interface is determined in response to a trigger operation on the device type selection component corresponding to the charging interface; The power configuration instruction is generated according to the device type of the electronic device connected to each of the charging interfaces.
9. A charging device, characterized by The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 8.