Docking station, method and apapratus for controlling same, storage medium, and product
By detecting the docking station's power supply status and device type, and dynamically adjusting the pre-charged power value, the problem of insufficient power in the docking station when multiple devices are connected is solved, thus improving the normal operation of the devices and charging efficiency.
Patent Information
- Application Number
- PCT/CN2025/111617
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-30
- Filing Date
- 2025-07-30
- Publication Date
- 2026-02-05
AI Technical Summary
Existing docking stations may not be able to meet the power requirements of multiple devices when connected simultaneously, resulting in low charging efficiency.
By detecting whether the second interface of the expansion dock is connected to an external power source, the pre-deducted power value is dynamically adjusted, prioritizing power supply to the expansion devices and the expansion dock, and using the remaining power to supply electronic terminals. The pre-deducted power value is dynamically adjusted based on the interface type and number of the connected devices.
While ensuring the normal operation of the extended equipment, it also improves the charging efficiency of electronic terminals.
Smart Images

Figure CN2025111617_05022026_PF_FP_ABST
Abstract
Description
Docking station and control method, device, storage medium and product thereof
[0001] Cross-reference to Related Applications
[0002] The present application is based on and claims priority to Chinese Patent Application No. 202411031071.8, filed on July 30, 2024, the entire contents of which are incorporated herein by reference. TECHNICAL FIELD
[0003] The present application relates to the field of docking stations, and in particular to a docking station and a control method, device, storage medium and product thereof. BACKGROUND
[0004] Docking station, also known as interface replicator, is an external device specially designed for notebook computers or mobile phones and other electronic terminals. It replicates and expands the interfaces of electronic terminals, allowing them to be connected to multiple expansion devices (such as mobile hard drives, network cables, mice, external keyboards, printers, and external monitors) and power adapters in one stop.
[0005] When the docking station is connected to a power adapter, the external power source connected to the docking station provides power to the expansion devices connected to the docking station and the electronic terminal connected to the docking station. In related technologies, when the docking station is connected to multiple expansion devices, it may not be able to meet the power requirements of the connected expansion devices. SUMMARY
[0006] Therefore, the embodiments of the present application provide a docking station and a control method, device, storage medium and product thereof, which aim to dynamically pre-deduct the power of connected expansion devices, ensure the normal operation of expansion devices, and improve the charging efficiency of electronic terminals.
[0007] The technical solutions of the embodiments of the present application are as follows:
[0008] The embodiments of the present application provide a control method of a docking station, which comprises:
[0009] detecting whether a second interface of the docking station is connected to an external power source; if the second interface is connected to an external power source, determining a pre-deducted power value of the docking station;
[0010] based on the pre-deducted power value, supplying power to a connected electronic terminal;
[0011] wherein the second interface is used to connect a power adapter; the pre-deducted power is used to supply power to the docking station and connected expansion devices.
[0012] The embodiments of the present application provide a control device of a docking station, which comprises:
[0013] The acquisition module is configured to detect whether the second interface of the docking station is connected to an external power supply.
[0014] The determination module is configured to determine a pre-deduction power value of the docking station if the second interface is connected to the external power supply.
[0015] The control module is configured to supply power to the connected electronic terminal based on the pre-deduction power value.
[0016] The second interface is used to connect a power adapter, and the pre-deduction power is used to supply power to the docking station and the connected expansion device.
[0017] The embodiment of the present application provides a docking station, which comprises a first interface, a second interface and a plurality of third interfaces, the first interface is used to connect an electronic terminal, the second interface is used to connect an external power supply, and the third interface is used to connect an expansion device; the docking station further comprises a controller, wherein,
[0018] The controller is configured to execute the steps of the control method of the docking station according to the embodiment of the present application when a computer program is executed.
[0019] The embodiment of the present application provides a computer storage medium, and the computer storage medium stores a computer program, and the computer program is executed by the controller to realize the steps of the control method of the docking station according to the embodiment of the present application.
[0020] The embodiment of the present application provides a computer program product, which comprises a computer program, and the computer program is executed by the processor to realize the steps of the control method of the docking station according to the embodiment of the present application.
[0021] The technical scheme provided by the embodiment of the present application detects whether the second interface of the docking station is connected to an external power supply; the second interface is used to connect a power adapter; if the second interface is connected to the external power supply, a pre-deduction power value of the docking station is determined; and power is supplied to the connected electronic terminal based on the pre-deduction power value; the second interface is used to connect a power adapter; and the pre-deduction power is used to supply power to the docking station and the connected expansion device. In this way, after the docking station according to the embodiment of the present application is connected to an external power supply, a pre-deduction power value for supplying power to the docking station and the connected expansion device is determined in priority, the electronic terminal is supplied with power based on the remaining power, the charging efficiency of the electronic device is improved while ensuring the normal operation of the connected expansion device.
[0022] The technical scheme provided in the embodiments of the present application obtains the interface type and quantity of the accessed extension device, determines the pre-deduction power value of the docking station based on the interface type and quantity of the accessed extension device, and supplies power to the connected electronic terminal based on the pre-deduction power value. In this way, the docking station of the embodiments of the present application dynamically adjusts the actual pre-deduction power value based on the quantity and interface type of the accessed extension device, increases the power supply of the electronic terminal while ensuring the normal operation of the accessed extension device, and improves the charging efficiency of the electronic terminal. BRIEF DESCRIPTION OF DRAWINGS
[0023] FIG. 1 is a flow diagram of a control method of a docking station according to an embodiment of the present application;
[0024] FIG. 2 is a structural diagram of a docking station according to an embodiment of the present application;
[0025] FIG. 3 is a structural diagram of a control device of a docking station according to an embodiment of the present application.
[0026] Legend: 1, first interface; 2, second interface; 3, third interface; 4, hub; 5, controller; 6, first processor; 7, power supply module; 8, switch tube; 9, button; 10, electronic terminal; 11, power adapter; 12, extension device. DETAILED DESCRIPTION
[0027] The present application will be further described in detail below with reference to the accompanying drawings and embodiments.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description herein is for describing the specific embodiments only and is not intended to be limiting of the application.
[0029] The embodiments of the present application provide a docking station for the control method described below. The docking station comprises a first interface, a second interface and a plurality of third interfaces. The first interface is used to connect an electronic terminal, the second interface is used to access an external power supply, and the third interface is used to access an extension device.
[0030] Here, the electronic terminal includes terminal devices such as notebook computers and mobile phones, and the docking station is used to copy and expand the extension interface of the electronic terminal after connecting the electronic terminal.
[0031] In one application example of the present application, the first interface is a Type-C interface.
[0032] Here, the second interface is used to connect a power adapter, and when the first interface of the docking station is connected to the electronic terminal and the second interface of the docking station is connected to the power adapter, the external power supply provided by the power adapter accesses the docking station and is used to supply power to the docking station and the electronic terminal.
[0033] Here, when the first interface of the docking station is connected with the electronic terminal and the second interface of the docking station is not connected with the power adapter, the electronic terminal supplies power to the docking station.
[0034] Specifically, the second interface of the docking station is consistent with the form of the power interface of the adapted electronic terminal.
[0035] In an application example of the present application, the second interface is a Type-C interface.
[0036] Here, the third interface is used to access the expansion device such as a mobile hard disk, a U disk, a mouse and an external keyboard, and the electronic terminal can be connected with the expansion device accessed by the docking station through the docking station.
[0037] Here, when the third interface of the docking station accesses the expansion device, the external power source accessed by the docking station is also used to supply power to the accessed expansion device.
[0038] In an application example of the present application, the third interface includes at least one of the following: a USB-A interface, a USB-C interface and a Type-C interface.
[0039] Here, the docking station of the embodiment of the present application further includes at least one High Definition Multimedia Interface (HDMI) for connecting a display terminal.
[0040] It should be noted that when the docking station is connected with the electronic terminal, if the second interface of the docking station is not connected with the power adapter, the electronic terminal supplies power to the docking station through the first interface; if the second interface of the docking station is connected with the power adapter, the docking station pre-deducts the input power of the external power source, the pre-deducted power is used to supply power to the docking station and the accessed expansion device, and the input power of the external power source after pre-deduction is used to supply power to the electronic terminal; wherein, since the electronic terminal is usually provided with a battery or other energy storage unit, the input power of the external power source after pre-deduction can charge the energy storage unit of the electronic terminal when meeting the operation requirements of the electronic terminal.
[0041] It should be noted that in the related art, the docking station usually pre-deducts the input power of the external power source with a fixed power value; in an example, the pre-deducted power value can be set to 15W.
[0042] It should be noted that in the related art, if the second interface of the docking station accesses the external power supply and the third interface does not access the expansion device, the docking station still performs power pre-deduction according to the set fixed power value, at this time, the pre-deduction power is not used for power supply to the expansion device or charging of the electronic terminal, obviously, the pre-deduction power is not fully utilized, which affects the charging efficiency of the electronic terminal; if a smaller pre-deduction power value is set to improve the charging efficiency of the electronic terminal, when multiple expansion devices access the docking station, the pre-deduction power may not meet the operation requirements of the multiple expansion devices.
[0043] Based on this, the embodiment of the present application provides a control method of a docking station, which aims to perform dynamic power pre-deduction based on the accessed expansion device, to ensure normal operation of the expansion device and improve the charging efficiency of the electronic terminal.
[0044] The embodiment of the present application provides a control method of a docking station, as shown in FIG. 1, the method comprises:
[0045] Step 100, detecting whether the second interface of the docking station accesses the external power supply.
[0046] Here, the second interface is used to connect the power adapter.
[0047] It is easy to understand that the external power supply is connected to the docking station through the power adapter, which is used to supply power to the docking station, the accessed expansion device and the connected electronic terminal.
[0048] Step 102, if the second interface accesses the external power supply, determining the pre-deduction power value of the docking station.
[0049] Here, the pre-deduction power is used to supply power to the docking station and the accessed expansion device.
[0050] Step 103, based on the pre-deduction power value, supplying power to the connected electronic terminal.
[0051] It can be understood that after the docking station of the embodiment of the present application accesses the external power supply, the pre-deduction power value for supplying power to the docking station and the accessed expansion device is determined in priority, and the electronic terminal is supplied with power based on the remaining power, which ensures normal operation of the accessed expansion device and improves the charging efficiency of the electronic terminal.
[0052] In some embodiments, if the second interface accesses the external power supply, the method further comprises:
[0053] Step 101, obtaining the interface type and quantity of the accessed expansion device.
[0054] Here, after the expansion device accesses the docking station, the docking station establishes communication with the expansion device, obtains the interface type of the expansion device, and determines the power requirement value of the expansion device based on the interface type of the expansion device.
[0055] In some embodiments, step 102 specifically comprises determining the pre-deducted power value of the docking station based on the interface type and the number of the accessed extension device.
[0056] Illustratively, determining the pre-deducted power value of the docking station based on the interface type and the number of the accessed extension device comprises determining a power requirement value of the extension device based on the interface type and the number of the accessed extension device, and determining the pre-deducted power value based on the power requirement value and a preset initial power value.
[0057] It should be noted that different interface types correspond to different power requirement values of the extension device, and the embodiments of the present application can determine the power requirement value of the currently accessed extension device based on the determined number of the extension device of each interface type, and dynamically adjust the pre-deducted power value of the docking station according to the determined power requirement value.
[0058] It should be noted that the pre-deducted power value of the embodiments of the present application includes not only the dynamically adjusted power requirement value of the extension device, but also a preset initial power value, and the initial power value includes a standby power value of the docking station and a power requirement value of one extension device.
[0059] It can be understood that when a new extension device accesses the docking station, since the initial power value includes a power requirement value of one extension device, the problem that the pre-deducted power of the docking station is too small to meet the operation requirement of the newly accessed extension device in time is effectively avoided.
[0060] Here, the interface type of the extension device includes a first interface type and a second interface type, and the power requirement value corresponding to the first interface type is different from the power requirement value corresponding to the second interface type. Specifically, the power requirement value corresponding to the first interface type is greater than the power requirement value corresponding to the second interface type.
[0061] Illustratively, determining the power requirement value of the extension device based on the interface type and the number of the accessed extension device comprises obtaining a first power value corresponding to the first interface type and a second power value corresponding to the second interface type, generating a first number based on the number of the extension device of the first interface type, generating a second number based on the number of the extension device of the second interface, and determining the power requirement value based on the first number and the first power value, and the second number and the second power value.
[0062] In some embodiments, the first interface type is USB3.0, and the second interface type is USB2.0.
[0063] In some embodiments, the first power value is 7.5W, and the second power value is 5W.
[0064] It can be understood that the docking station pre-configures the power value corresponding to each interface type, and calculates the product of the access number of the extension device of each interface type and the corresponding power value to obtain the power demand value of the accessed extension device.
[0065] In an application example of the present application, the plurality of third interfaces of the docking station respectively access one extension device of the first interface type and one extension device of the second interface type, and the power demand value is 1x7.5W+1x5W=12.5W.
[0066] Exemplarily, the method further comprises: determining an initial power value based on the first power value; wherein the first power value is greater than the second power value.
[0067] It can be understood that since the initial power value includes the standby power value of the docking station and the power demand value of one extension device, here, the initial power value is set as the sum of the standby power value of the docking station and the first power value, so as to ensure that the pre-deduction power can meet the operation demand of the newly accessed extension device regardless of the first interface type or the second interface type.
[0068] In an application example of the present application, the standby power value of the docking station is 1W, and the initial power value is: 1W+7.5W=8.5W.
[0069] In an application example of the present application, the plurality of third interfaces of the docking station respectively access one extension device of the first interface type and one extension device of the second interface type, and the pre-deduction power value is: 12.5W+8.5W=21W.
[0070] In an application example of the present application, the determination of the pre-deduction power value based on the power demand value and the preset initial power value comprises: obtaining a first pre-deduction power value based on the power demand value and the preset initial power value; comparing the first pre-deduction power value with a preset maximum pre-deduction power value; if it is determined that the first pre-deduction power value is less than or equal to the maximum pre-deduction power value, determining the pre-deduction power value of the docking station as the first pre-deduction power value; if it is determined that the first pre-deduction power value is greater than the maximum pre-deduction power value, determining the pre-deduction power value of the docking station as the maximum pre-deduction power value.
[0071] It should be noted that in the present application example, the docking station is also configured with a maximum pre-deduction power value to limit the pre-deduction power of the docking station, wherein the maximum pre-deduction power value is determined based on the number of third interfaces set by the docking station.
[0072] It can be understood that the control method of the embodiment of the application pre-deducts the initial power value to ensure timely power supply to the newly connected expansion device. When all the third interfaces of the docking station are connected to the expansion device, the docking station cannot connect to a new expansion device, so there is no need to pre-deduct the power requirement value of an expansion device. Therefore, the application example sets the maximum pre-deducted power value to avoid the problem that when all the third interfaces of the docking station are connected to the expansion device, the power requirement value of an expansion device is still pre-deducted, affecting the charging efficiency of the electronic terminal.
[0073] In an application example of the application, the number of third interfaces of the docking station is 3, and the maximum pre-deducted power value is determined based on the number of third interfaces, the first power value and the standby power value of the docking station. Specifically, 3*7.5W+1W=23.5W.
[0074] Illustratively, based on the pre-deducted power value, the electronic terminal connected is powered, including: detecting the input power value of the external power supply; determining a third power value based on the pre-deducted power value and the input power value of the external power supply; and powering the electronic terminal based on the third power value.
[0075] Here, the docking station establishes communication with the power adapter connected to the second interface, and obtains the input power value supported by the power adapter based on the USB fast charging protocol (Power Delivery, PD).
[0076] It can be understood that the third power value is the difference between the input power value of the external power supply and the pre-deducted power value. The pre-deducted power is used to power the docking station and the connected expansion device, and the third power value corresponds to the power supply power used to power the electronic terminal.
[0077] It can be understood that the docking station of the embodiment of the application dynamically adjusts the actual pre-deducted power value based on the number of connected expansion devices and the type of interface, ensures the normal operation of the connected expansion device, increases the power supply power of the electronic terminal, and improves the charging efficiency of the electronic terminal.
[0078] In an application example of the application, the input power value of the external power supply is 100W.
[0079] In an application example of the application, the plurality of third interfaces of the docking station are respectively connected to one expansion device of a first interface type and one expansion device of a second interface type, and the third power value is: 100W-21W=79W.
[0080] In an application example of the present application, the electronic terminal is powered based on the third power value, including: comparing the third power value with a preset minimum power value; if it is determined that the third power value is greater than or equal to the minimum power value, the power supplied to the electronic terminal is the third power value; if it is determined that the third power value is less than the minimum power value, the power supplied to the electronic terminal is the minimum power value; and powering the electronic terminal based on the determined power supplied to the electronic terminal.
[0081] Here, the minimum power value is the minimum power value that meets the operation of the electronic terminal, and if the power supplied to the electronic terminal is less than the minimum power value, the stable operation of the electronic terminal cannot be guaranteed.
[0082] It can be understood that if the input power value of the external power supply is too small, the input power value may not meet the operation requirements of the electronic terminal after the pre-deduction of the power value. In the application example, the pre-deduction power value is adjusted based on the set minimum power value to ensure the normal operation of the electronic terminal.
[0083] In an application example of the present application, the minimum power value is 45W.
[0084] In an application example of the present application, the minimum power value can be determined after the docking station and the electronic terminal establish communication.
[0085] Illustratively, the method further includes: in response to a standby instruction sent by a user, stopping power supply to the docked expansion device; determining a fourth power value based on a preset standby power value and an input power value of the external power supply; and powering the electronic terminal based on the fourth power value.
[0086] It should be noted that the docking station of the present application is provided with a standby state, when the docking station receives a standby instruction sent by a user, the docking station controls all the third interfaces to stop outputting, and the docking station no longer deducts the power requirement value of an expansion device, and after the input power of the external power supply meets the standby power consumption of the docking station, the remaining power is all used to power the electronic terminal, further improving the charging efficiency of the electronic terminal.
[0087] In an application example of the present application, the input power value of the external power supply is 100W, the standby power value of the docking station is 1W, and the docking station responds to the standby instruction, at which time the power supplied to the electronic terminal is: 100W-1W=99W.
[0088] Illustratively, the interface type and the number of the docked expansion device are obtained, including: detecting whether the second interface is connected to the external power supply; and if it is determined that the second interface is connected to the external power supply, obtaining the interface type and the number of the docked expansion device.
[0089] It can be understood that the control method of the docking station in the foregoing embodiments of the present application is executed in the scenario that the docking station is connected with the power adapter. If the docking station is not connected with the power adapter, the docking station is powered by the electronic terminal, and the docking station does not perform dynamic power pre-deduction at this time.
[0090] Based on the foregoing control method of the docking station, it can be easily understood that in some embodiments, the method further includes: in response to the third interface of the docking station accessing the expansion device, updating the pre-deduction power value of the docking station; based on the adjustment amount of the pre-deduction power value, reducing the third power value; and based on the updated third power value, powering the electronic terminal.
[0091] It can be understood that when it is detected that the expansion device accessed by the third interface of the docking station is unplugged, the pre-deduction power of the corresponding expansion device is added to the power supply power of the electronic terminal by the docking station.
[0092] In some embodiments, the method further includes: in response to the expansion device connected to the third interface of the docking station being disconnected, updating the pre-deduction power value of the docking station; based on the adjustment amount of the pre-deduction power value, increasing the third power value; and based on the updated third power value, powering the electronic terminal.
[0093] The third interface is configured to connect the expansion device; and the sum of the pre-deduction power value and the third power value is less than the input power value.
[0094] It can be understood that when it is detected that the expansion device accessed by the third interface of the docking station is newly accessed, the power supply power of the electronic terminal is reduced, and the power deducted from the power supply power of the electronic terminal is used to power the newly accessed expansion device.
[0095] In an application example of the present application, the docking station includes three third interfaces, the input power value of the external power supply is 100 W, the standby power value of the docking station is 1 W, and the pre-deduction power value of the docking station and the power supply value of the electronic terminal when the docking station accesses expansion devices of different numbers and interface types are shown in Table 1:
[0096] Table 1
[0097] It can be understood that in the application example, when the docking station dynamically adjusts the pre-deduction power value of the docking station based on the number and interface type of the accessed expansion devices, compared with the pre-deduction based on the fixed power value in the related art, when the number of the accessed expansion devices is small, the charging efficiency of the electronic terminal can be improved, and when the number of the accessed expansion devices is large, the newly accessed expansion devices can be powered in time.
[0098] In the embodiments of the present application, a docking station is further provided for executing the foregoing control method of the docking station.
[0099] Exemplarily, the embodiment of the present application provides a docking station, as shown in Fig. 2, which comprises a first interface 1, a second interface 2, a third interface 3, a hub 4, a controller 5, a first processor 6, a power module 7, a switch tube 8 and a button 9.
[0100] Here, the controller 5 is configured to execute the control method as described above in the embodiment of the present application when running a computer program.
[0101] It should be noted that the controller 5 can be a digital signal processor (DSP), a programmable logic device (PLD), a complex programmable logic device (CPLD), a field programmable logic gate array (FPGA), a general-purpose processor, a controller, a microcontroller (MCU), a microprocessor or an electronic element; in an application example of the present application, the controller 5 is a microcontroller (MCU).
[0102] Here, the first interface 1 is used to connect an electronic terminal 10, the second interface 2 is used to access an external power supply when connecting a power adapter 11, and the third interface 3 is used to access an expansion device 12. The docking station comprises a plurality of third interfaces 3.
[0103] Here, the hub 4 is used to connect the first interface 1 and the plurality of third interfaces 3.
[0104] Here, the controller 5 is connected to the hub 4 and is configured to obtain the interface type and the number of the accessed expansion device 12 based on the hub 4.
[0105] Here, the switch tube 8 is connected to the second interface 2 and the power module 7, and when the switch tube 8 is turned on, the external power supply is connected to the power module 7, and the power module 7 is used to convert and process the external power supply to supply power to the docking station and / or the expansion device 12.
[0106] Here, the first processor 6 is connected to the first interface 1, the second interface 2 and the switch tube 8 respectively, and the first processor 6 is configured to determine the connection state of the docking station with the electronic terminal 10 and the power adapter 11, and to control the switch tube 8 to be turned on after determining that the electronic terminal 10 and the power adapter 11 have been connected.
[0107] Here, the first processor 6 is configured to determine the docking station to connect the electronic terminal 10 based on a configuration channel (CC) detection principle; the first processor 6 establishes a power delivery (PD) protocol communication with the power adapter 11 based on the second interface 2 after being connected; the first processor 6 is further connected to the controller 5, and the first processor 6 is further configured to detect an input power value of the external power supply based on the PD protocol communication and send the detected input power value of the external power supply to the controller 5.
[0108] Here, the controller 5 is further configured to control the power supply of the electronic terminal 10 based on the first processor 6 after determining the pre-deducted power value.
[0109] Here, the docking station further comprises at least one HDMI interface (not shown in the figure), and the HDMI interface is connected to the first processor 6 and used to connect a display terminal.
[0110] Here, the key 9 is connected to the controller 5, and the first processor 6 is connected to the power module 7; when the user presses the key 9, the controller 5 is further configured to receive a standby instruction and control the power module 7 to stop outputting based on the first processor 6.
[0111] It should be noted that the power module 7 does not supply power to the controller 5 and the first processor 6, that is, in the standby state, after the power module 7 stops outputting, the hub 4 of the docking station stops running, and since the switch tube 8 is in the conducting state at this time, the controller 5 and the first processor 6 continue to run.
[0112] It should be noted that when the user presses the key 9 again, the docking station exits the standby state.
[0113] In an application example of the present application, the docking station further comprises a display assembly (not shown in the figure), which can be an LED lamp, and is used to display the use state of the docking station.
[0114] In an application example of the present application, when the docking station is in the standby state, the first processor 6 is further configured to control the connected display terminal to turn off the screen and control the display assembly to turn off.
[0115] Specifically, the hub 4, the controller 5 and the first processor 6 communicate based on an I2C (Inter-Integrated Circuit) bus.
[0116] It can be understood that the docking station of the embodiment of the present application, when accessing the external power supply, performs dynamic power pre-deduction based on the access quantity and the interface type of the expansion device 12, thereby improving the charging efficiency of the electronic terminal 10; meanwhile, the docking station is also provided with the button 9, and when the user presses the button 9, the docking station enters the standby state and stops supplying power to the accessed expansion device 12, thereby further improving the charging efficiency of the electronic terminal 10.
[0117] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a control device of a docking station, which corresponds to the foregoing control method, and each step in the foregoing control method embodiment is completely applicable to the device embodiment.
[0118] As shown in FIG. 3, the embodiment of the present application provides a control device of a docking station, which includes an acquisition module 301, a determination module 302 and a control module 303. The acquisition module 301 is configured to detect whether the second interface of the docking station accesses the external power supply. The determination module 302 is configured to determine the pre-deduction power value of the docking station if the second interface accesses the external power supply. The control module 303 is configured to supply power to the connected electronic terminal based on the pre-deduction power value. The second interface is used to connect the power adapter; and the pre-deduction power is used to supply power to the docking station and the accessed expansion device.
[0119] In some embodiments, the acquisition module 301 is further configured to acquire the interface type of the expansion device accessed by the docking station. The determination module 302 is further configured to determine the pre-deduction power value of the docking station based on the interface type and the quantity of the accessed expansion device.
[0120] In some embodiments, the determination module 302 is further configured to: determine the power demand value of the expansion device based on the interface type and the quantity of the accessed expansion device; and determine the pre-deduction power value based on the power demand value and the preset initial power value.
[0121] In some embodiments, the interface type includes a first interface type and a second interface type, and the determination module 302 is further configured to: acquire a first power value corresponding to the first interface type and a second power value corresponding to the second interface type; generate a first quantity based on the access quantity of the expansion device of the first interface type; generate a second quantity based on the access quantity of the expansion device of the second interface type; and determine the power demand value based on the first quantity and the first power value, and the second quantity and the second power value.
[0122] In some embodiments, the determination module 302 is further configured to: determine the initial power value based on the first power value; and the first power value is greater than the second power value.
[0123] In some embodiments, the determining module 302 is further configured to: obtain a first pre-deducted power value based on the power requirement value and a preset initial power value; compare the first pre-deducted power value with a preset maximum pre-deducted power value; determine the pre-deducted power value of the docking station as the first pre-deducted power value if the first pre-deducted power value is determined to be less than or equal to the maximum pre-deducted power value; and determine the pre-deducted power value of the docking station as the maximum pre-deducted power value if the first pre-deducted power value is determined to be greater than the maximum pre-deducted power value.
[0124] In some embodiments, the obtaining module 301 is further configured to: detect an input power value of the external power supply; and the control module 303 is specifically configured to: determine a third power value based on the pre-deducted power value and the input power value of the external power supply; and supply power to the electronic terminal based on the third power value.
[0125] In some embodiments, the control module 303 is further configured to: stop supplying power to the connected expansion device in response to a standby instruction sent by a user; and the determining module 302 is further configured to: determine a fourth power value based on a preset standby power value and the input power value of the external power supply; and the control module 303 is further configured to: supply power to the electronic terminal based on the fourth power value.
[0126] In some embodiments, the determining module 302 is further configured to: update the pre-deducted power value of the docking station in response to the third interface of the docking station connecting an expansion device; and reduce the third power value based on an adjustment amount of the pre-deducted power value; and the control module 303 is further configured to: supply power to the electronic terminal based on the updated third power value; wherein the third interface is used to connect the expansion device; and the sum of the pre-deducted power value and the third power value is less than the input power value.
[0127] In some embodiments, the determining module 302 is further configured to update the pre-deducted power value of the docking station in response to the third interface of the docking station accessing the extension device being disconnected; and increase the third power value based on the adjustment amount of the pre-deducted power value. The controlling module 303 is further configured to supply power to the electronic terminal based on the updated third power value. The third interface is used to connect the extension device. The sum of the pre-deducted power value and the third power value is less than the input power value. In an exemplary embodiment, the present application also provides a storage medium, i.e., a computer storage medium, which can be a computer readable storage medium. The storage medium stores a computer program, which can be executed by the controller 5 of the docking station to complete the steps of the control method of the present application. The computer readable storage medium can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.
[0128] In an exemplary embodiment, the present application also provides a computer program product, which includes a computer program that can be executed by the controller 5 of the docking station to complete the steps of the method of the present application.
[0129] It should be noted that "first", "second", etc. are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0130] In addition, the technical solutions described in the present application can be combined arbitrarily without conflict.
[0131] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for controlling a docking station, the method comprising: detecting whether a second interface of the docking station is connected to an external power supply; if the second interface is connected to the external power supply, determining a pre-deducted power value of the docking station; based on the pre-deducted power value, supplying power to a connected electronic terminal; wherein the second interface is configured to connect to a power adapter, and the pre-deducted power is configured to supply power to the docking station and connected expansion devices.
2. The method of claim 1, wherein, The method further comprises: obtaining a type and a number of interfaces of the connected expansion devices; The determining of the pre-deducted power value of the docking station comprises: based on the type and the number of the interfaces of the connected expansion devices, determining the pre-deducted power value of the docking station.
3. The method of claim 2, wherein, The determining of the pre-deducted power value of the docking station based on the type and the number of the interfaces of the connected expansion devices comprises: based on the type and the number of the interfaces of the connected expansion devices, determining a power demand value of the connected expansion devices; based on the power demand value and a preset initial power value, determining the pre-deducted power value.
4. The method of claim 3, wherein, The type of the interface comprises a first interface type and a second interface type, and the determining of the power demand value of the connected expansion devices based on the type and the number of the interfaces of the connected expansion devices comprises: obtaining a first power value corresponding to the first interface type and a second power value corresponding to the second interface type; based on a number of the expansion devices of the first interface type, generating a first number; based on a number of the expansion devices of the second interface type, generating a second number; based on the first number and the first power value, and the second number and the second power value, determining the power demand value.
5. The method of claim 4, wherein, The method further comprises: based on the first power value, determining the initial power value; wherein the first power value is greater than the second power value.
6. The method of claim 3, wherein, The determining of the pre-deducted power value based on the power demand value and the preset initial power value comprises: based on the power demand value and the preset initial power value, obtaining a first pre-deducted power value; comparing the first pre-deducted power value with a preset maximum pre-deducted power value; if it is determined that the first pre-deducted power value is less than or equal to the maximum pre-deducted power value, determining the pre-deducted power value of the docking station as the first pre-deducted power value; if it is determined that the first pre-deducted power value is greater than the maximum pre-deducted power value, determining the pre-deducted power value of the docking station as the maximum pre-deducted power value.
7. The method according to any one of claims 1 to 6, wherein, The supplying power to the electronic terminal based on the pre-deducted power value comprises: detecting an input power value of the external power supply; based on the pre-deducted power value and the input power value of the external power supply, determining a third power value; based on the third power value, supplying power to the electronic terminal.
8. The method of claim 7, wherein, The method further comprises: in response to a standby instruction sent by a user, stopping supplying power to the connected expansion devices; based on a preset standby power value and the input power value of the external power supply, determining a fourth power value; based on the fourth power value, supplying power to the electronic terminal.
9. The method of claim 7, wherein, The method further comprises: in response to a third interface of the docking station being connected to an expansion device, updating the pre-deducted power value of the docking station; based on an adjustment amount of the pre-deducted power value, reducing the third power value; supply power to the electronic terminal based on the third power value after being updated; wherein the third interface is configured to connect the expansion device; and a sum of the pre-deducted power value and the third power value is less than the input power value.
10. The method of claim 7, wherein, The method further comprises: updating the pre-deducted power value of the docking station in response to the expansion device connected to the third interface of the docking station being disconnected; increasing the third power value based on an adjustment amount of the pre-deducted power value; supplying power to the electronic terminal based on the third power value after being updated; wherein the third interface is configured to connect the expansion device; and a sum of the pre-deducted power value and the third power value is less than the input power value.
11. A control device of a docking station, the device comprising: an obtaining module configured to detect whether a second interface of the docking station is connected to an external power source; a determining module configured to determine a pre-deducted power value of the docking station if the second interface is connected to the external power source; a control module configured to supply power to a connected electronic terminal based on the pre-deducted power value; wherein the second interface is configured to connect a power adapter; and the pre-deducted power is configured to supply power to the docking station and a connected expansion device.
12. A docking station comprising: a first interface configured to connect an electronic terminal, a second interface configured to connect a power adapter and connect to an external power source, and a plurality of third interfaces configured to connect to expansion devices; and the controller is configured to execute a computer program to perform the steps of the method of any one of claims 1 to 10.
13. The docking station of claim 12, wherein, The docking station further comprises a hub connected to the first interface and the plurality of third interfaces; and the controller is connected to the hub.
14. The docking station of claim 12, wherein, The docking station further comprises a switch tube, a power module, and a first processor; wherein the switch tube is connected to the second interface and the power module respectively, the external power source connected to the second interface is connected to the power module when the switch tube is turned on, and the power module is configured to supply power to the docking station and / or the connected expansion device after conversion processing of the external power source; the first processor is connected to the second interface and the switch tube, and the first processor is configured to control the switch tube to be turned on when the docking station is connected to the electronic terminal and the power adapter.
15. The docking station of claim 14, wherein, The docking station further comprises at least one HDMI interface configured to connect a display terminal.
16. The docking station of claim 15, wherein, The first processor is further configured to control the connected display terminal to turn off the screen in response to a standby instruction.
17. The docking station of claim 14, wherein, The docking station further comprises a display component configured to display a usage state of the docking station.
18. The docking station of claim 17, wherein, The first processor is further configured to control the display component to be turned off in response to a standby instruction.
19. The docking station of claim 16 or 18, wherein, The docking station further comprises a key; the key is connected to the controller, and the controller is further configured to control the power module to stop outputting in response to the standby instruction; wherein the standby instruction is generated based on an action of pressing the key.
20. The docking station of any one of claims 12 to 19, wherein, The first interface comprises a Type-C interface; the second interface comprises a Type-C interface; and the third interface comprises at least one of a USB-A interface, a USB-C interface, and a Type-C interface.
21. A computer storage medium having stored thereon a computer program, the computer program, when executed by a controller, implementing the steps of the method according to any one of claims 1 to 10.
22. A computer program product comprising a computer program, the computer program, when executed by a processor, implementing the steps of the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Computer system, computer docking station and power consumption management method thereof
CN101561792A
Power management method, electronic equipment and system equipment
CN106155254A
Docking station and dynamic power distribution method thereof
CN117632821A
Docking station and control method and device thereof, storage medium and product
CN119002670A
Docking station with power adapter
CN214542840U