Docking station and control method and device thereof, storage medium and product
By dynamically adjusting the withheld power value of the dock, the problem of insufficient utilization of the withheld power in the existing technology is solved according to the number of connected expansion devices and interface types, and the charging efficiency of the electronic terminal and the operation of the expansion equipment are improved. need.
Patent Information
- Application Number
- CN202411031071.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-22
AI Technical Summary
When connecting to the power adapter, the pre-deducted power cannot be fully utilized, which affects the charging efficiency of the electronic terminal and cannot meet the operating requirements when multiple expansion devices are connected.
By obtaining the interface type and number of connected expansion devices, dynamically adjusting the withheld power value to ensure the normal operation of the expansion device and increase the power supply of the electronic terminal, thereby improving charging efficiency.
Effectively utilize external power supplies to ensure timely power supply of extended equipment and improve the charging efficiency of electronic terminals, avoiding the problem of insufficient withholding power.
Smart Images

Figure CN119002670A_ABST
Abstract
Description
Technical Field
[0001] 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 Art
[0002] A docking station, also known as an interface replicator, is an external device designed specifically for electronic terminals such as laptops or mobile phones. By replicating and expanding the interfaces of the electronic terminals, the electronic terminals can 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.
[0003] When the docking station is connected to a power adapter, the connected external power supply simultaneously supplies power to the expansion device connected to the docking station and the electronic terminal connected to the docking station. In the related art, the docking station usually sets a fixed power value to pre-deduct the input power of the external power supply, wherein the pre-deducted power is used to power the connected expansion device, and the remaining power of the external power supply is used to power the electronic terminal. When the docking station is not connected to an expansion device, the pre-deducted power is not fully utilized, which affects the charging efficiency of the electronic terminal; and when the docking station is connected to multiple expansion devices at the same time, the pre-deducted power may not meet the operating requirements of the expansion devices. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a docking station and a control method, device, storage medium and product thereof, which aim to perform dynamic power pre-withholding based on the connected expansion device to improve the charging efficiency of the electronic terminal.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for controlling a docking station, the method comprising:
[0007] Get the interface type and quantity of the connected expansion device;
[0008] Determining a pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device;
[0009] Based on the withheld power value, power is supplied to the connected electronic terminal.
[0010] In some embodiments, determining the pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device includes:
[0011] Determine the power requirement value of the extension device based on the interface type and quantity of the connected extension device;
[0012] The withholding power value is determined based on the power demand value and a preset initial power value.
[0013] In some embodiments, the interface type includes a first interface type and a second interface type, and determining the power requirement value of the expansion device based on the interface type and quantity of the connected expansion device includes:
[0014] Obtain a first power value corresponding to the first interface type and a second power value corresponding to the second interface type;
[0015] Generate a first quantity based on the number of connected extension devices of the first interface type;
[0016] Generate a second quantity based on the number of connected extension devices of the second interface type;
[0017] The power demand value is determined based on the first number and the first power value, and the second number and the second power value.
[0018] In some embodiments, the method further comprises:
[0019] Based on the first power value, determining the initial power value;
[0020] The first power value is greater than the second power value.
[0021] In some embodiments, the step of supplying power to the connected electronic terminal based on the withheld power value comprises:
[0022] Detecting an input power value of the external power supply;
[0023] determining a third power value based on the withheld power value and the input power value of the external power source;
[0024] The electronic terminal is powered based on the third power value.
[0025] In some embodiments, the method further comprises:
[0026] In response to a standby instruction sent by a user, stop supplying power to the connected expansion device;
[0027] Determining a fourth power value based on a preset standby power value and an input power value of the external power source;
[0028] The electronic terminal is powered based on the fourth power value.
[0029] In a second aspect, an embodiment of the present application provides a control device for a docking station, the device comprising:
[0030] An acquisition module, used to acquire an interface type of an expansion device connected to the expansion dock;
[0031] A determination module, configured to determine a pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device;
[0032] The control module is used to supply power to the connected electronic terminal based on the pre-withheld power value.
[0033] In a third aspect, an embodiment of the present application provides a docking station, the docking station comprising: a first interface, a second interface and a plurality of third interfaces, the first interface being used to connect an electronic terminal, the second interface being used to connect an external power supply, and the third interface being used to connect an expansion device; the docking station also comprises a controller, wherein:
[0034] The controller is used to execute the steps of the method described in the first aspect when running a computer program.
[0035] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which a computer program is stored. When the computer program is executed by a controller, the steps of the method described in the first aspect are implemented.
[0036] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0037] The control method of the expansion dock provided in the embodiment of the present application includes: obtaining the interface type and number of the connected expansion device; determining the pre-withheld power value of the expansion dock based on the interface type and number of the connected expansion device; and supplying power to the connected electronic terminal based on the pre-withheld power value. In this way, the expansion dock of the embodiment of the present application dynamically adjusts the actual pre-withheld power value based on the number and interface type of the connected expansion devices, while ensuring the normal operation of the connected expansion devices, increasing the power supply of the electronic terminal and improving the charging efficiency of the electronic terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flowchart of a method for controlling a docking station according to an embodiment of the present application;
[0039] Figure 2 This is a schematic diagram of the structure of the expansion dock according to an embodiment of the present application;
[0040] Figure 3 It is a schematic diagram of the structure of the control device of the expansion dock according to an embodiment of the present application.
[0041] Description of reference numerals:
[0042] 1. First interface; 2. Second interface; 3. Third interface; 4. Hub; 5. Controller;
[0043] 6. First processor; 7. Power module; 8. Switch tube; 9. Button; 10. Electronic terminal;
[0044] 11. Power adapter; 12. Expansion device. DETAILED DESCRIPTION
[0045] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0047] The embodiment of the present application provides a docking station for use in the control method described later in the embodiment of the present application. The docking station includes: 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.
[0048] Here, the electronic terminal includes terminal devices such as laptop computers and mobile phones. After the expansion dock is connected to the electronic terminal, it is used to copy and expand the expansion interface of the electronic terminal.
[0049] In an application example of the present application, the first interface is a Type-C interface.
[0050] Here, the second interface is used to connect the power adapter, the first interface of the expansion dock is connected to the electronic terminal, and when the second interface is connected to the power adapter, the external power provided by the power adapter is connected to the expansion dock to power the expansion dock and the electronic terminal.
[0051] Here, the first interface of the expansion dock is connected to the electronic terminal, and when the second interface is not connected to the power adapter, the electronic terminal supplies power to the expansion dock.
[0052] Specifically, the second interface of the expansion dock is consistent with the power interface of the adapted electronic terminal.
[0053] In an application example of the present application, the second interface is a Type-C interface.
[0054] Here, the third interface is used to access expansion devices such as a mobile hard disk, a USB flash drive, a mouse, and an external keyboard, and the electronic terminal can be connected to the accessed expansion device through the expansion dock.
[0055] Here, when the third interface of the expansion dock is connected to an expansion device, the external power supply connected to the expansion dock is also used to supply power to the connected expansion device.
[0056] 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.
[0057] Here, the expansion dock of the embodiment of the present application also includes at least one High Definition Multimedia Interface (HDMI) for connecting to a display terminal.
[0058] It should be noted that when the expansion dock is connected to the electronic terminal, if the second interface of the expansion dock is not connected to the power adapter, the electronic terminal powers the expansion dock through the first interface; if the second interface of the expansion dock is connected to the power adapter, the expansion dock pre-withholds the input power of the external power supply, and the pre-withheld power is used to power the expansion dock and the connected expansion devices, and the input power after the external power supply is pre-withheld is used to power the electronic terminal; among them, since the electronic terminal is usually equipped with energy storage units such as batteries, when the input power after the external power supply is pre-withheld meets the operating requirements of the electronic terminal, the remaining power can also be used to charge the energy storage unit of the electronic terminal.
[0059] It should be noted that, in the related art, the expansion dock usually sets a fixed power value to pre-withhold the input power of the external power supply. In one example, the pre-withheld power value can be set to 15W.
[0060] It should be noted that in the related art, if the second interface of the expansion dock is connected to an external power supply and the third interface is not connected to an expansion device, the expansion dock still withholds power according to the set fixed power value. At this time, the withheld power is neither used to power the expansion device nor to charge the electronic terminal. Obviously, the withheld power is not fully utilized, which affects the charging efficiency of the electronic terminal. If a smaller withheld power value is set to improve the charging efficiency of the electronic terminal, when multiple expansion devices are connected to the expansion dock, the withheld power may not be able to meet the operating requirements of multiple expansion devices.
[0061] Based on this, an embodiment of the present application provides a control method for an expansion dock, which aims to perform dynamic power pre-withholding based on the connected expansion device to improve the charging efficiency of the electronic terminal.
[0062] The present application embodiment provides a method for controlling a docking station, such as Figure 1 As shown, the method includes:
[0063] Step 101: Obtain the interface type and quantity of the connected expansion device.
[0064] Here, after the expansion device is connected to the expansion dock, the expansion dock 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.
[0065] Step 102: Determine the pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device.
[0066] Exemplarily, based on the interface type and number of the connected expansion device, the pre-withheld power value of the expansion dock is determined, including: based on the interface type and number of the connected expansion device, determining the power requirement value of the expansion device; based on the power requirement value and a preset initial power value, determining the pre-withheld power value.
[0067] It should be noted that different interface types correspond to different power requirement values of expansion devices. The embodiment of the present application can determine the power requirement value of the currently connected expansion device based on determining the number of expansion devices of each interface type connected, and dynamically adjust the pre-withheld power value of the expansion dock according to the determined power requirement value.
[0068] It should be noted that the withheld power value in the embodiment of the present application includes not only the dynamically adjusted power demand value of the expansion device, but also a preset initial power value, and the initial power value includes the standby power value of the expansion dock and the power demand value of an expansion device.
[0069] It is understandable that when a new expansion device is connected to the expansion dock, since the initial power value includes the power requirement value of an expansion device, it effectively avoids the problem that the expansion dock's pre-withheld power is too small, resulting in the inability to meet the operating requirements of the newly connected expansion device in a timely manner.
[0070] 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.
[0071] Exemplarily, determining the power requirement value of the extension device based on the interface type and number of the connected extension devices includes: 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 connected extension devices of the first interface type; generating a second number based on the number of connected extension devices 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.
[0072] Specifically, the first interface type is USB 3.0, and the second interface type is USB 2.0.
[0073] Specifically, the first power value is 7.5W, and the second power value is 5W.
[0074] It can be understood that the expansion dock of the embodiment of the present application pre-configures the power value corresponding to each interface type, and calculates the product of the number of connected expansion devices of each interface type and the corresponding power value to obtain the power requirement value of the connected expansion device.
[0075] In an application example of the present application, the plurality of third interfaces of the expansion dock are respectively connected to an expansion device of the first interface type and an expansion device of the second interface type, and the power requirement value is: 1*7.5W+1*5W=12.5W.
[0076] Exemplarily, the method further includes: determining an initial power value based on the first power value; wherein the first power value is greater than the second power value.
[0077] It can be understood that since the initial power value includes the standby power value of the expansion dock and the power requirement value of an expansion device, here, the initial power value is set to the sum of the standby power value of the expansion dock and the first power value to ensure that the pre-deducted power can meet the operating requirements of the newly connected expansion device regardless of whether it is the first interface type or the second interface type.
[0078] 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.
[0079] In an application example of the present application, the plurality of third interfaces of the expansion dock are respectively connected to an expansion device of the first interface type and an expansion device of the second interface type, and the withheld power value is: 12.5W+8.5W=21W.
[0080] In an application example of the present application, a withholding power value is determined based on a power demand value and a preset initial power value, including: obtaining a first withholding power value based on the power demand value and the preset initial power value; comparing the first withholding power value with a preset maximum withholding power value; if it is determined that the first withholding power value is less than or equal to the maximum withholding power value, determining that the withholding power value of the expansion dock is the first withholding power value; if it is determined that the first withholding power value is greater than the maximum withholding power value, determining that the withholding power value of the expansion dock is the maximum withholding power value.
[0081] It should be noted that, in this application example, the expansion dock is also configured with a maximum pre-withholding power value to limit the pre-withholding power of the expansion dock, wherein the maximum pre-withholding power value is determined based on the number of third interfaces set in the expansion dock.
[0082] It can be understood that the control method of the embodiment of the present application pre-withholds the initial power value to ensure timely power supply to the newly connected expansion device. When all the third interfaces of the expansion dock are connected to the expansion device, since the expansion dock can no longer connect to new expansion devices at this time, there is no need to pre-withhold the power demand value of an expansion device. Therefore, this application example sets the maximum pre-withheld power value to avoid the problem of pre-withholding the power demand value of an expansion device when all the third interfaces of the expansion dock are connected to the expansion device, thereby affecting the charging efficiency of the electronic terminal.
[0083] In an application example of the present application, the number of third interfaces of the expansion dock is 3, and the maximum pre-withheld power value is determined based on the number of third interfaces, the first power value and the standby power value of the expansion dock, specifically: 3*7.5W+1W=23.5W.
[0084] Step 103: supply power to the connected electronic terminal based on the pre-withheld power value.
[0085] Exemplarily, supplying power to a connected electronic terminal based on a pre-withheld power value includes: detecting an input power value of an external power source; determining a third power value based on the pre-withheld power value and the input power value of the external power source; and supplying power to the electronic terminal based on the third power value.
[0086] Here, the expansion dock 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).
[0087] 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-withheld power value. The pre-withheld power is used to power the expansion dock and the connected expansion device, and the power supply power corresponding to the third power value is used to power the electronic terminal.
[0088] It can be understood that the expansion dock of the embodiment of the present application dynamically adjusts the actual pre-withheld power value based on the number of connected expansion devices and the interface type, thereby increasing the power supply power of the electronic terminal and improving the charging efficiency of the electronic terminal while ensuring the normal operation of the connected expansion devices.
[0089] In an application example of the present application, the input power value of the external power supply is 100W.
[0090] In an application example of the present application, the plurality of third interfaces of the expansion dock are respectively connected to an expansion device of the first interface type and an expansion device of the second interface type, and the third power value is: 100W-21W=79W.
[0091] In an application example of the present application, powering an electronic terminal based on a third power value includes: comparing the third power value with a preset minimum power supply value; if it is determined that the third power value is greater than or equal to the minimum power supply value, the power supply power of the electronic terminal is the third power value; if it is determined that the third power value is less than the minimum power supply value, the power supply power of the electronic terminal is the minimum power supply value; and powering the electronic terminal based on the determined power supply power of the electronic terminal.
[0092] Here, the minimum power supply value is the minimum power value that satisfies the operation of the electronic terminal. If the power supply power of the electronic terminal is less than the minimum power supply value, the stable operation of the electronic terminal cannot be guaranteed.
[0093] It is understandable that if the input power value of the external power supply is too small, the input power value may not be able to meet the operating requirements of the electronic terminal after being withheld based on the withheld power value; in this application example, the withheld power value is adjusted based on the set minimum power supply power value to ensure the normal operation of the electronic terminal.
[0094] In an application example of the present application, the minimum power supply value is 45W.
[0095] In an application example of the present application, the minimum power supply value may be determined after the docking station and the electronic terminal establish communication.
[0096] Exemplarily, the method also includes: in response to a standby command sent by a user, stopping power supply to a connected expansion device; determining a fourth power value based on a preset standby power value and an input power value of an external power supply; and powering the electronic terminal based on the fourth power value.
[0097] It should be noted that the expansion dock in the embodiment of the present application is set to a standby state. When the expansion dock receives a standby command sent by the user, it controls all third interfaces to stop output, and the expansion dock no longer withholds the power demand value of an expansion device. After the input power of the external power supply meets the standby power consumption of the expansion dock, the remaining power is all used to power the electronic terminal, further improving the charging efficiency of the electronic terminal.
[0098] 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 this time, the power supply power of the electronic terminal is: 100W-1W=99W.
[0099] Exemplarily, obtaining the interface type and quantity of the connected expansion device includes: detecting whether the second interface is connected to an external power supply; if it is determined that the second interface is connected to the external power supply, obtaining the interface type and quantity of the connected expansion device.
[0100] It can be understood that the control methods of the expansion dock in the aforementioned embodiments of the present application are all executed in the scenario where the expansion dock is connected to a power adapter. If the expansion dock is not connected to a power adapter, the expansion dock is powered by the electronic terminal, and the expansion dock does not perform dynamic power pre-withholding.
[0101] 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 100W, the standby power value of the docking station is 1W, and when the docking station is connected to expansion devices of different numbers and interface types, the pre-withheld power value of the docking station and the power supply power value of the electronic terminal are shown in Table 1:
[0102] Table 1
[0103]
[0104]
[0105] It can be understood that in this application example, when the expansion dock dynamically adjusts the pre-withheld power value of the expansion dock based on the number of connected expansion devices and the interface type, compared with the pre-withholding based on a fixed power value adopted in the related technology, when the number of connected expansion devices is small, the charging efficiency of the electronic terminal can be improved; when the number of connected expansion devices is large, the newly connected expansion devices can be powered in time.
[0106] In an embodiment of the present application, a docking station is further provided for executing the aforementioned method for controlling the docking station.
[0107] Exemplarily, an embodiment of the present application provides a docking station, such as Figure 2 As shown, the expansion dock includes: 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.
[0108] Here, the controller 5 is used to execute the control method described above in the embodiment of the present application when running the computer program.
[0109] 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 gate array (FPGA), a general processor, a controller, a microcontroller (MCU), a microprocessor (Microprocessor) or an electronic component; in an application example of the present application, the controller 5 is a microcontroller (MCU).
[0110] Here, the first interface 1 is used to connect the electronic terminal 10, and the second interface 2 is used to access an external power supply when connected to the power adapter 11; the third interface 3 is used to access the expansion device 12, and the expansion dock includes multiple third interfaces 3.
[0111] Here, the hub 4 is used to connect the first interface 1 and the plurality of third interfaces 3 .
[0112] Here, the controller 5 is connected to the hub 4 , and based on the hub 4 , obtains the interface type and quantity of the connected expansion device 12 .
[0113] Here, the switch tube 8 connects the second interface 2 and the power module 7. When the switch tube 8 is turned on, the external power is connected to the power module 7. The power module 7 is used to power the expansion dock and / or expansion device 12 after converting the external power.
[0114] Here, the first processor 6 is connected to the first interface 1, the second interface 2 and the switch tube 8 respectively. The first processor 6 is used to determine the connection status between the expansion dock and the electronic terminal 10 and the power adapter 11, and after determining that the electronic terminal 10 and the power adapter 11 are connected, control the switch tube 8 to turn on.
[0115] Here, the first processor 6 determines that the expansion dock is connected to the electronic terminal 10 based on the CC detection principle; the first processor 6 establishes PD protocol communication with the power adapter 11 based on the second interface 2, and the first processor 6 is also connected to the controller 5. The first processor 6 is also used to detect the input power value of the external power supply based on PD protocol communication, and send the detected input power value of the external power supply to the first processor 6.
[0116] Here, after determining the pre-withheld power value, the controller 5 is also used to control the power supply of the electronic terminal 10 based on the first processor 6 .
[0117] Here, the expansion dock further includes at least one HDMI interface (not shown in the figure), and the HDMI interface is connected to the first processor 6 for connecting to a display terminal.
[0118] Here, the button 9 is connected to the controller 5, and the first processor 6 is connected to the power module 7. When the user presses the button 9, the controller 5 receives a standby instruction and controls the power module 7 to stop output based on the first processor 6.
[0119] 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 expansion dock stops running. Since the switch tube 8 is in the on state at this time, the controller 5 and the first processor 6 continue to run.
[0120] It should be noted that when the user presses button 9 again, the docking station exits the standby state.
[0121] In an application example of the present application, the docking station further includes a display component (not shown in the figure), which may be an LED light for displaying the usage status of the docking station.
[0122] In an application example of the present application, when the docking station is in a standby state, the first processor 6 controls the connected display terminal to turn off the screen and to turn off the display component.
[0123] Specifically, the hub 4, the controller 5 and the first processor 6 communicate based on an I2C (Inter-Integrated Ci rcuit) bus.
[0124] It can be understood that when the expansion dock of the embodiment of the present application is connected to an external power source, it dynamically pre-deducts power based on the number of connected expansion devices 12 and the interface type, thereby improving the charging efficiency of the electronic terminal 10; at the same time, the expansion dock is also provided with a button 9. When the user presses the button 9, the expansion dock enters the standby state and stops supplying power to the connected expansion device 12, thereby further improving the charging efficiency of the electronic terminal 10.
[0125] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a control device of the expansion dock, which corresponds to the aforementioned control method, and each step in the aforementioned control method embodiment is also fully applicable to the embodiment of the present device.
[0126] like Figure 3As shown, an embodiment of the present application provides a control device for an expansion dock, the device comprising: an acquisition module 301, a determination module 302 and a control module 303. The acquisition module 301 is used to obtain the interface type of the expansion device connected to the expansion dock. The determination module 302 is used to determine the pre-withheld power value of the expansion dock based on the interface type and number of the connected expansion device. The control module 303 is used to power the connected electronic terminal based on the pre-withheld power value.
[0127] In some embodiments, the determination module 302 is specifically used to: determine the power requirement value of the expansion device based on the interface type and quantity of the connected expansion device; determine the withheld power value based on the power requirement value and a preset initial power value.
[0128] In some embodiments, the interface type includes a first interface type and a second interface type, and the determination module 302 is specifically used to: obtain 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 number of connected expansion devices of the first interface type; generate a second quantity based on the number of connected expansion devices of the second interface type; determine the power requirement value based on the first quantity and the first power value, and the second quantity and the second power value.
[0129] In some embodiments, the determination module 302 is further used to: determine an initial power value based on the first power value; wherein the first power value is greater than the second power value.
[0130] In some embodiments, the acquisition module 301 is also used to: detect the input power value of the external power supply; the control module 303 is specifically used to: determine a third power value based on the pre-withheld power value and the input power value of the external power supply; and power the electronic terminal based on the third power value.
[0131] In some embodiments, the control module 303 is also used to: stop supplying power to the connected expansion device in response to a standby command sent by the user; the determination module 302 is also used to: determine a fourth power value based on a preset standby power value and an input power value of the external power supply; the control module 303 is also used to: supply power to the electronic terminal based on the fourth power value.
[0132] In an exemplary embodiment, the present application embodiment further provides a storage medium, namely a computer storage medium, which can be a computer-readable storage medium, on which a computer program is stored, and the computer program can be executed by the controller 5 of the docking station to complete the steps described in the control method of the present application embodiment. 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 disk, or a compact disc read-only memory (CD-ROM).
[0133] In an exemplary embodiment, the embodiment of the present application further provides a computer program product, including a computer program, which can be executed by the controller 5 of the docking station to complete the steps described in the method of the embodiment of the present application.
[0134] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0135] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling an expansion dock, It is characterized in that The method comprises: Get the interface type and quantity of the connected expansion device; Determining a pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device; Based on the withheld power value, power is supplied to the connected electronic terminal.
2. The method according to claim 1, It is characterized in that The determining the pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device includes: Determine the power requirement value of the extension device based on the interface type and quantity of the connected extension device; The withholding power value is determined based on the power demand value and a preset initial power value.
3. The method according to claim 2, It is characterized in that The interface type includes a first interface type and a second interface type, and determining the power requirement value of the extension device based on the interface type and quantity of the connected extension device includes: Obtain 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 number of connected extension devices of the first interface type; Generate a second quantity based on the number of connected extension devices of the second interface type; The power demand value is determined based on the first number and the first power value, and the second number and the second power value.
4. The method according to claim 3, It is characterized in that The method further comprises: Based on the first power value, determining the initial power value; The first power value is greater than the second power value.
5. The method according to claim 1, It is characterized in that The step of supplying power to the connected electronic terminal based on the pre-withheld power value comprises: Detecting an input power value of the external power supply; determining a third power value based on the withheld power value and the input power value of the external power source; The electronic terminal is powered based on the third power value.
6. The method according to claim 5, It is characterized in that The method further comprises: In response to a standby instruction sent by a user, stop supplying power to the connected expansion device; Determining a fourth power value based on a preset standby power value and an input power value of the external power source; The electronic terminal is powered based on the fourth power value.
7. A control device for an expansion dock, It is characterized in that The device comprises: An acquisition module, used to acquire an interface type of an expansion device connected to the expansion dock; A determination module, configured to determine a pre-withheld power value of the expansion dock based on the interface type and quantity of the connected expansion device; The control module is used to supply power to the connected electronic terminal based on the pre-withheld power value.
8. A docking station, It is characterized in that The expansion dock includes: a first interface, a second interface and a plurality of third interfaces, wherein 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 expansion dock also includes a controller, wherein: The controller is used to execute the steps of the method according to any one of claims 1 to 6 when running a computer program.
9. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a controller, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Docking station, method and apapratus for controlling same, storage medium, and product
WO2026026882A1
