Docking station
By introducing detectors and controllers into the expansion dock, the power supply to the data ports can be flexibly controlled according to the port information, solving the problem of disk reading in different access sequences of the expansion dock, realizing the flexibility and controllability of power supply, and ensuring normal communication of the equipment.
Patent Information
- Application Number
- CN202423122310.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2034-12-16
AI Technical Summary
The lack of a power supply control mechanism in the expansion dock can easily lead to problems such as missing or failed disk readings for the host device under different connection sequences.
By introducing detectors and controllers into the expansion dock, the port information of the uplink and downlink ports can be detected, enabling flexible control of power supply to the data ports and allowing or disabling power supply based on the actual port information.
It improves the flexibility and controllability of power supply control, avoids situations where the host device lacks disk reading or fails to read disk, and ensures normal communication between electronic devices and the host device.
Smart Images

Figure CN223757801U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of circuits, in particular to a docking station. BACKGROUND
[0002] The docking station is an electronic device for connecting a host device and various peripherals. It can provide additional interfaces for notebook computers, tablet computers and even some smartphones, thereby enhancing the functionality and convenience of use of these devices. With the development of technology, the docking station has added an adapter port for connecting an external power supply, which can charge the host device and power the docking station. However, the docking station lacks a power supply control mechanism. Whether the host device is connected to the docking station first or the adapter is connected to the docking station first, the docking station will supply power to the ports connected to the electronic devices, which may result in a lack of disk reading of the host device or even a disk reading failure. CONTENT OF THE UTILITY MODEL
[0003] The application provides a docking station.
[0004] The technical scheme of the application embodiment is as follows:
[0005] In a first aspect, the application provides a docking station, comprising: an uplink port configured to be electrically connected to a host device; at least one data port configured to be electrically connected to an electronic device; a downlink port configured to be electrically connected to an external power supply; a detector electrically connected to the uplink port and the downlink port, respectively, and configured to detect port information of the uplink port and the downlink port; and a controller connected to the data port and configured to allow or prohibit power supply to the data port according to the port information.
[0006] The docking station provided by the application provides a power supply control mechanism. According to the port information of the uplink port and the downlink port, the power supply to the data port is allowed or prohibited. In this way, the power supply to the data port can be controlled according to the actual situation of the port information of the uplink port and the downlink port, the flexibility of power supply control is improved, and the situation of lack of disk reading of the host device or even disk reading failure is avoided. BRIEF DESCRIPTION OF DRAWINGS
[0007] Figure 1 The docking station provided by the application provides a power supply control mechanism. According to the port information of the uplink port and the downlink port, the power supply to the data port is allowed or prohibited. In this way, the power supply to the data port can be controlled according to the actual situation of the port information of the uplink port and the downlink port, the flexibility of power supply control is improved, and the situation of lack of disk reading of the host device or even disk reading failure is avoided.
[0008] Figure 2 The docking station provided by the application provides a power supply control mechanism. According to the port information of the uplink port and the downlink port, the power supply to the data port is allowed or prohibited. In this way, the power supply to the data port can be controlled according to the actual situation of the port information of the uplink port and the downlink port, the flexibility of power supply control is improved, and the situation of lack of disk reading of the host device or even disk reading failure is avoided.
[0009] Figure 3 The docking station provided by the application provides a power supply control mechanism. According to the port information of the uplink port and the downlink port, the power supply to the data port is allowed or prohibited. In this way, the power supply to the data port can be controlled according to the actual situation of the port information of the uplink port and the downlink port, the flexibility of power supply control is improved, and the situation of lack of disk reading of the host device or even disk reading failure is avoided.
[0010] Figure 4A structure diagram of a PD protocol module provided by an embodiment of the present application is shown in FIG. 1.
[0011] Figure 5 A structure diagram of a HUB module provided by an embodiment of the present application is shown in FIG. 2.
[0012] Figure 6 A structure diagram of an over-current protection sub-module provided by an embodiment of the present application is shown in FIG. 3. Figure 1
[0013] Figure 7 A structure diagram of an over-current protection sub-module provided by an embodiment of the present application is shown in FIG. 4. Figure 2
[0014] Figure 8 A structure diagram of a system power supply detection circuit provided by an embodiment of the present application is shown in FIG. 5.
[0015] Figure 9 A use scenario of a docking station provided by an embodiment of the present application is shown in FIG. 6. DETAILED DESCRIPTION
[0016] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
[0017] It should be noted that in the embodiments of the present application, the term "and / or" is only used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B, which means that there are three cases of A alone, A and B together, and B alone. In addition, in the embodiments of the present application, the character " / ", generally represents a "or" relationship between the front and rear associated objects.
[0018] In the description of the embodiments of the present application, the term "corresponding" can represent a direct or indirect corresponding relationship between the two, can also represent an associated relationship between the two, or can be indicative of the indicated, configured and other relationships.
[0019] In order to facilitate the understanding of the technical solutions of the embodiments of the present application, the related technologies of the embodiments of the present application are described as follows, which can be combined with the technical solutions of the embodiments of the present application in any way, and all of them belong to the protection scope of the embodiments of the present application.
[0020] The conventional docking station lacks a power supply control mechanism for data ports, and the docking station may cause the host device to fail to read disks, lack of disk reading or fail to read all disks when the order of connection among the adapter, the host device and the electronic device is different, especially when the host device is restarted, powered on or the docking station is connected to other host devices without power interruption.
[0021] Figure 1 A structural diagram of the docking station provided by the embodiment of the present application is shown in Figure 1 The docking station provided by the embodiment of the present application comprises:
[0022] an uplink port configured to be electrically connected to a host device;
[0023] at least one data port configured to be electrically connected to an electronic device;
[0024] a downlink port configured to be electrically connected to an external power supply;
[0025] a detector configured to be electrically connected to the uplink port and the downlink port and to detect port information of the uplink port and the downlink port;
[0026] a controller configured to be connected to the data port and to allow or prohibit power supply to the data port according to the port information.
[0027] In the embodiment of the present application, the docking station is connected to the host device through the uplink port, and thus the uplink port can also be named as a host device port. In actual application, the uplink port can also be named as other names, which are not limited in the embodiment of the present application. The host device can be a computer, a tablet, a smart phone, a car machine or the like, and in actual application, it can also be other host devices, which are not limited in the embodiment of the present application.
[0028] In the embodiment of the present application, the data port is configured to be connected to the electronic device, and the electronic device communicates with the host device through the docking station. The electronic device can be a U disk, a hard disk, a card reader or the like, and can also be other electronic devices, which are not limited in the embodiment of the present application.
[0029] In the embodiment of the present application, the type of the data port includes one or more of the following: USB Type-A, USB Type-C, High-Definition Multimedia Interface (HDMI), DisplayPort, Registered Jack-45 (RJ45), SD card slot and the like.
[0030] In the embodiment of the present application, the downlink port is used for electrical connection with an external power supply, and the downlink port can also be called an adapter port. The external power supply can be connected through an adapter, and the external power supply can charge the host device and power the docking station.
[0031] In the embodiment of the present application, there are two power supply modes for the docking station. The first power supply mode is that the host device powers the docking station, and the second power supply mode is that the external power supply powers the docking station. The scenario of the first power supply mode is that the docking station is connected to the host device and is not connected to the external power supply. The scenario of the second power supply mode is that the docking station is connected to the external power supply and is not connected to the host device, or the docking station is connected to both the host device and the external power supply. In the related art, the docking station lacks a power supply control mechanism, and the docking station cannot identify whether the power supply device is the host device or the external power supply connected through the adapter port. As long as the docking station identifies that there is a power supply, the docking station supplies power to the data port, and the docking station establishes communication with the electronic device. If the docking station is not connected to the host device at this time, the electronic device does not communicate with the host device in the first time, and when the host device is connected to the docking station later, it can cause the problem of lack of disk reading or disk reading failure.
[0032] The docking station provided in the embodiment of the present application provides a power supply control mechanism. The controller allows or prohibits power supply to the data port according to the port information of the uplink port and the downlink port detected by the detector. In this way, the power supply to the data port can be controlled according to the actual situation of the port information of the uplink port and the downlink port, the flexibility and controllability of the power supply to the data port are improved, and the problem of lack of disk reading or disk reading failure of the host device is avoided.
[0033] In the embodiment of the present application, the order in which the docking station accesses the host device and the external power supply can be obtained according to the port information of the uplink port and the downlink port detected by the detector. When the docking station is first inserted into the external power supply and the docking station is not inserted into the host device, the controller prohibits power supply to the data port, that is, the data port is not electrified at this time, and even if the docking station is inserted into the electronic device at this time, the electronic device is not powered.
[0034] Based on this, in an optional embodiment of the present application, the controller is configured to prohibit power supply to the data port when the port information detected by the detector indicates that the downlink port is first inserted into the external power supply and the uplink port is not inserted into the host device.
[0035] For example, the port information includes port voltage, and the order in which the docking station accesses the host device and the external power supply can be determined by the port voltage of the uplink port and the downlink port. If the uplink port has no port voltage and the downlink port has port voltage, it indicates that the docking station is first inserted into the external power supply and the docking station is not inserted into the host device.
[0036] In the embodiments of the present application, if the downlink port voltage is detected first and then the uplink port voltage is detected, it indicates that the docking station is inserted with the external power supply first and the docking station is inserted with the host device second. The controller allows power supply to the data port, i.e., the data port is electrified at this time. This is because the docking station has been connected to the host device at this time, and the electronic device can establish communication between the host device and the electronic device in the first time after the electronic device is powered.
[0037] Based on this, in an optional embodiment of the present application, the controller is configured to allow power supply to the data port and use the external power supply to power the host device through the uplink port when the port information detected by the detector indicates that the downlink port is inserted with the external power supply first and the uplink port is inserted with the host device second.
[0038] In the embodiments of the present application, the controller includes a HUB module, which is configured to at least manage data transmission between the electronic device connected to the data port and the host device. The host device communicates with the electronic device through the HUB module. In order to ensure normal communication between the host device and the electronic device, when the host device is connected to the docking station, the HUB module performs a reset operation, clears the cache data, initializes the state of each data port, and then allows power supply to each data port to establish communication between the host device and the electronic device.
[0039] In the embodiments of the present application, the detector can determine whether to send a reset signal to the controller according to the port information of the uplink port and the downlink port. The controller allows or prohibits power supply to the data port according to whether the reset signal is received.
[0040] Based on this, in an optional embodiment of the present application, the detector is configured to not send a reset signal to the controller when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is not inserted with the host device second.
[0041] The controller is configured to not perform a reset operation and prohibit power supply to the data port when the reset signal sent by the controller is not received.
[0042] In another optional embodiment of the present application, the detector is configured to send a reset signal to the controller when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is inserted with the host device second.
[0043] The controller is configured to perform a reset operation, allow power supply to the data port, and use the external power supply to power the host device through the uplink port after the reset signal is received.
[0044] Reference Figure 2 , Figure 2 The power supply control process diagram provided in the embodiments of the present application is as follows:Figure 2 As shown, the detector includes a Power Delivery (PD) protocol module and a delay module, the PD protocol module is connected with the uplink port and the downlink port, and the PD protocol module and the delay module are connected; the controller includes a HUB module and an overcurrent protection module, the HUB module and the overcurrent protection module are connected; the delay module is connected with the PD protocol module and the HUB module; the overcurrent protection module is connected with the data port and the power module of the docking station;
[0045] In the embodiment, the power module in the docking station is used for managing the voltage inputted from outside to the docking station, and the power supplied from outside to the docking station is used for supplying the power required by each module of the docking station; the PD protocol module can be used as a communication bridge between the host device and the adapter, the host device can request the charging voltage required by the host device from the adapter through the PD protocol module, and the PD protocol module can detect the port information of the uplink port and the downlink port, and determine whether to control the delay module to send a reset signal to the HUB module according to the port information; here, the reset of the HUB module needs a certain time, and the reset signal needs to act continuously in this period of time, therefore, the delay module is arranged between the PD protocol module and the HUB module in the embodiment, the duration of the reset signal is prolonged, and the duration is determined according to the time of the reset operation, which can be the same as or longer than the time of the reset operation, and the embodiment does not limit this; the overcurrent protection module is connected with the data port and the power module, which is used for providing overcurrent protection for the docking station and the electronic device, and is used as a switch to turn on or turn off the data port and the power module according to the control of the HUB module.
[0046] In the embodiment, for the case that the port information indicates that the downlink port is inserted into the external power supply first and the uplink port is not inserted into the host device, the control logic of the controller for prohibiting power supply to the data port is as follows: when the port information indicates that the downlink port is inserted into the external power supply first and the uplink port is not inserted into the host device, the PD protocol module prohibits the delay module from sending a reset signal to the HUB module; the HUB module does not perform the reset operation when the reset signal sent by the controller is not received, the overcurrent protection module is prohibited to turn on the data port and the power module, and the data port is not powered.
[0047] Based on this, in an optional embodiment of the application, the detector includes a PD protocol module and a delay module; the controller includes a HUB module and an overcurrent protection module; the delay module is connected with the PD protocol module and the HUB module, and is used for prolonging the duration of the reset signal; and the overcurrent protection module is connected with the data port and the power module of the docking station;
[0048] The PD protocol module is connected with the uplink port and the downlink port, and is configured to control the delay module to send a reset signal to the HUB module when the port information indicates that the downlink port is inserted into an external power supply first and the uplink port is inserted into a host device later.
[0049] The HUB module is connected with the over-current protection module, and is configured to not perform a reset operation when the reset signal sent by the controller is not received, and to control the over-current protection module to turn on the data port and the power supply module.
[0050] In the embodiment of the application, for the case that the port information indicates that the downlink port is inserted into an external power supply first and the uplink port is inserted into a host device later, the control logic of the controller allowing power supply to the data port is as follows: when the port information indicates that the downlink port is inserted into an external power supply first and the uplink port is inserted into a host device later, the PD protocol module controls the delay module to send a reset signal to the HUB module; the HUB module performs a reset operation when the reset signal sent by the controller is received, and controls the over-current protection module to turn on the data port and the power supply module to supply power to the data port.
[0051] Based on this, in an optional embodiment of the application, the detector includes a PD protocol module and a delay module; the controller includes a HUB module and an over-current protection module; the delay module is connected with the PD protocol module and the HUB module, and is configured to prolong the duration of the reset signal; and the over-current protection module is connected with the data port and the power supply module of the docking station.
[0052] The PD protocol module is connected with the uplink port and the downlink port, and is configured to control the delay module to send a reset signal to the HUB module when the port information indicates that the downlink port is inserted into an external power supply first and the uplink port is inserted into a host device later.
[0053] The HUB module is connected with the over-current protection module, and is configured to perform a reset operation according to the reset signal and control the over-current protection module to turn on the data port and the power supply module after the reset signal is received.
[0054] Reference Figure 3 , Figure 3 The structure diagram of the delay module provided in the embodiment of the application is as shown in Figure 3As shown, the delay module includes a first resistor R1, a second resistor R2, a third resistor R3 and a first capacitor C1, one end of R1 is grounded, the other end is connected with one end of R2 and then connected with the PD protocol module, the other end of R2 is connected with one end of C1 and one end of R3 and then connected with the controller, the other end of C1 is connected with the other end of R3 and then grounded. It should be noted that in the embodiment of the present application, the reset signal sent by the delay module to the controller is a low-level signal, and the control signal sent by the PD protocol module to the delay module is a high-level signal, because the reset signal of the common HUB module is a low-level signal, in actual application, the structure of the delay module can also be designed according to the attributes of the HUB module, and the embodiment of the present application does not limit this.
[0055] Reference Figure 4 , Figure 4 The structure schematic diagram of the PD protocol module provided by the embodiment of the present application is as shown in Figure 4 As shown, the PD protocol module includes a PD protocol chip U1, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6 and a seventh resistor R7, one end of R4 is connected with the downstream port, the other end of R4 is connected with one end of R5 and then connected with the first port of U1 to collect the port voltage of the upstream port; the other end of R5 is grounded; one end of R6 is connected with the downstream port, the other end of R6 is connected with one end of R7 and then connected with the second port of U1 to collect the port voltage of the downstream port; the other end of R7 is grounded; the third port of U1 is connected with the delay module, used for sending a control signal to the delay module when allowing to supply power to the data port, and controlling the delay module to send a reset signal to the controller.
[0056] Reference Figure 5 , Figure 5 The structure schematic diagram of the HUB module provided by the embodiment of the present application is as shown in Figure 5 As shown, the HUB module includes a HUB chip, the HUB chip includes a fourth port and a fifth port; the fourth port is connected with the delay module, and the fifth port is connected with the overcurrent protection module.
[0057] In the embodiment of the present application, the overcurrent protection module includes at least one overcurrent protection submodule; the at least one overcurrent protection submodule corresponds to the at least one data port one by one.
[0058] Reference Figure 6 , Figure 6 The structure schematic diagram of the overcurrent protection submodule provided by the embodiment of the present application is as shown in Figure 1 As shown in Figure 6As shown, the overcurrent protection submodule includes a first power input end, a first power output end and an enable end, the first power input end is connected with the power module, the first power output end is connected with the data port corresponding to the overcurrent protection submodule, and the enable end is connected with the HUB module. When the enable end of the overcurrent protection submodule receives the enable signal sent by the HUB module, the power module and the data port corresponding to the overcurrent protection submodule are turned on, and the power supply is provided to the data port corresponding to the overcurrent protection submodule through the first power output end.
[0059] Based on this, in an optional embodiment of the present application, the PD protocol module includes: a PD protocol chip; the PD protocol chip includes a first port, a second port and a third port; the first port is connected with the uplink port, and the second port is connected with the downlink port; the third port is connected with the delay module;
[0060] The delay module includes: a first resistor, a second resistor, a third resistor and a first capacitor; one end of the first resistor and one end of the second resistor are connected and then connected with the PD protocol module; the other end of the first resistor is grounded; the other end of the second resistor is connected with one end of the first capacitor and one end of the third resistor and then connected with the HUB module; the other end of the first capacitor and the other end of the third resistor are connected and then grounded;
[0061] The HUB module includes: a HUB chip; the HUB chip includes a fourth port and a fifth port; the fourth port is connected with the delay module, and the fifth port is connected with the overcurrent protection module;
[0062] The overcurrent protection module includes at least one overcurrent protection submodule; the at least one overcurrent protection submodule corresponds to the at least one data port one by one; each overcurrent protection submodule in the plurality of overcurrent protection submodules includes: a first power input end, a first power output end and an enable end; the first power input end is connected with the power module, the first power output end is connected with the data port corresponding to the overcurrent protection submodule, and the enable end is connected with the HUB module.
[0063] Reference Figure 7 , Figure 7 The structure of the overcurrent protection submodule provided by the embodiment of the present application Figure 2 As Figure 7As shown, in the embodiment, the over-current protection submodule includes: a chip U9, a fuse F1, a resistor R187, a resistor R190, a resistor R193, a resistor R189, a resistor R195, and a resistor R197. Port 1 of the U9 corresponds to the first power output end and is connected to the data port corresponding to the over-current protection submodule. Port 5 of the U9 corresponds to the second power input end and is connected to the power module. Port 1 and port 5 of the U9 are connected through the fuse F1. Port 4 of the U9 corresponds to the enable end and is connected to the HUB module.
[0064] In the embodiment of the present application, when the detector detects that the uplink port has a port voltage and the downlink port does not have a port voltage, it is indicated that the docking station first inserts the host device and does not insert the external power supply. At this time, the power supply to the data port is allowed because the host device has been connected, and the electronic device can establish communication with the host device at the first time of power supply.
[0065] Based on this, in an optional embodiment of the present application, the controller is configured to allow power supply to the data port when the detector detects that the uplink port first inserts the host device and the downlink port does not insert the external power supply.
[0066] In the embodiment of the present application, when the docking station first inserts the host device and does not insert the external power supply, the power supply to the data port is allowed. At this time, when it is detected that the downlink port has a port voltage, that is, the external power supply is inserted into the downlink port. At this time, the host device has established communication with the electronic device, and the controller does not need to reset and supply power again. The docking station switches the power supply relationship at this time, uses the external power supply to supply power to the data port, and supplies power to the host device through the uplink port.
[0067] Based on this, in an optional embodiment of the present application, the controller is configured to allow power supply to the data port when the detector detects that the uplink port first inserts the host device and the downlink port does not insert the external power supply.
[0068] In the embodiment of the present application, the docking station further includes a system power supply detection circuit, which is described with reference to Figure 8 , Figure 8 The structure diagram of the system power supply detection circuit provided in the embodiment of the present application is shown in FIG. 2. Figure 8As shown, the system power supply detection circuit includes resistors R167, R171 and R170, one end of R167 is connected with the output end of the power module, the other end of R167, one end of R171 and one end of R170 are connected, the other end of R171 is grounded, and the other end of R170 is connected with the HUB module. When the power module supplies power to each module of the docking station, it indicates that the system has been powered on. If the power supply control mechanism provided in the present application is not added, the docking station cannot distinguish whether the host device has been connected to the docking station. The HUB module will reset after detecting that the system is powered on. If the docking station is not connected to the host device at this time, only the external power supply is connected, then the HUB module will not communicate with the host device, resulting in no data on the data port at this time, which leads to the situation of no disk reading or missing disk reading.
[0069] With the docking station provided in the embodiments of the present application, after the downstream port is connected to the external power supply, the system starts to supply power. At this time, the detector detects that there is voltage on the downstream port and no voltage on the upstream port, which indicates that the docking station is only connected to the external power supply and not connected to the host device. Therefore, the detector will not trigger the HUB module to reset, and thus the HUB module will not start, and the overcurrent protection module will not turn on the power module and the data port to supply power to the data port. At this time, if an electronic device is connected, the docking station will not supply power to the data port, and thus will not affect disk reading. When the upstream port is connected to the host device, the host device will request a charging voltage from the external power supply through the PD protocol module. At this time, by collecting the two detection voltages of the upstream port and the downstream port, the detector will know that the host device and the external power supply have been connected, and control the HUB module to perform a reset operation. After the HUB module is successfully reset and started, the HUB module and the host device communicate data and trigger the overcurrent protection module to turn on to supply power to the data port. At this time, if an electronic device is connected, the power supply and communication of the electronic device are synchronized, and the problem of missing or failed disk reading will not occur.
[0070] In the embodiments of the present application, when the host device is pulled out during normal operation of the docking station, the detector does not detect the port voltage of the upstream port, and thus the HUB module and the host do not communicate through the protocol, and the power supply of the data port is disconnected. When the host device is connected again, the detector detects that the host device is connected, the HUB module is reset, and the power supply of the data port is turned on after the HUB module is reset. At the same time, the HUB module communicates with the host device, avoiding the problem of missing or failed disk reading.
[0071] Reference Figure 9 , Figure 9 The use scenario diagram of the docking station provided in the embodiments of the present application is as follows: Figure 9As shown, the first part is the host device, the second part is the adapter, and the third part is the electronic device, which includes device A, device B, device C, and device D. These three parts can form many different scenarios. For example, the host device can be connected first, then the adapter, and finally the electronic device; the adapter first, then the host, and finally the electronic device; or the electronic device first, then the adapter, and finally the host; or the electronic device first, then the host, and finally the adapter; or the adapter first, then the electronic device, and finally the host; or the adapter first, then the electronic device, and finally the host, and so on. With the docking station provided in this application embodiment, regardless of the connection order, the power supply to the data port can be precisely controlled. Power is only supplied to the data port when the host device is connected to the docking station, ensuring the docking station functions normally and preventing disk read errors or failures.
[0072] It should be noted that the "module" mentioned in the embodiments of this application can be replaced by "circuit" or other descriptions, and the embodiments of this application do not limit this.
[0073] In the embodiments provided in this application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.
[0074] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0075] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A docking station, characterized by The application relates to a docking station. The docking station comprises: an uplink port for electrically connecting with a host device; at least one data port for electrically connecting with an electronic device; a downlink port for electrically connecting with an external power supply; a detector electrically connected with the uplink port and the downlink port respectively, for detecting port information of the uplink port and the downlink port; a controller connected with the data port, for allowing or prohibiting power supply to the data port according to the port information.
2. The docking station of claim 1, wherein the controller is configured to prohibit power supply to the data port when the port information detected by the detector indicates that the downlink port is inserted with the external power supply first and the uplink port is not inserted with the host device.
3. The docking station of claim 2, wherein the controller is configured to allow power supply to the data port and supply power to the host device through the uplink port by using the external power supply when the port information detected by the detector indicates that the downlink port is inserted with the external power supply first and the uplink port is inserted with the host device later.
4. The docking station of claim 3, wherein the detector is configured to not send a reset signal to the controller when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is not inserted with the host device; 5. The docking station of claim 4, wherein, the controller is configured to not perform a reset operation and prohibit power supply to the data port when the reset signal sent by the controller is not received. The detector comprises a PD protocol module and a delay module; the controller comprises a HUB module and an overcurrent protection module; the delay module is connected with the PD protocol module and the HUB module, for prolonging the duration of the reset signal; the overcurrent protection module is connected with the data port and a power module of the docking station; the PD protocol module is connected with the uplink port and the downlink port, for prohibiting the delay module from sending the reset signal to the HUB module when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is not inserted with the host device; the HUB module is connected with the overcurrent protection module, for not performing a reset operation and prohibiting the overcurrent protection module from turning on the data port and the power module when the reset signal sent by the controller is not received.
6. The docking station of claim 3, wherein the detector is configured to send a reset signal to the controller when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is inserted with the host device later; 7. The docking station of claim 6, wherein, the controller is configured to perform a reset operation, allow power supply to the data port and supply power to the host device through the uplink port by using the external power supply after the reset signal is received. The detector comprises a PD protocol module and a delay module; the controller comprises a HUB module and an overcurrent protection module; the delay module is connected with the PD protocol module and the HUB module, for prolonging the duration of the reset signal; the overcurrent protection module is connected with the data port and a power module of the docking station; the PD protocol module is connected with the uplink port and the downlink port, for prohibiting the delay module from sending the reset signal to the HUB module when the port information indicates that the downlink port is inserted with the external power supply first and the uplink port is not inserted with the host device; the HUB module is connected with the overcurrent protection module, for not performing a reset operation and prohibiting the overcurrent protection module from turning on the data port and the power module when the reset signal sent by the controller is not received. The PD protocol module is connected with the uplink port and the downlink port, and is configured to control the delay module to send a reset signal to the HUB module when the port information indicates that the downlink port is inserted with an external power supply earlier than the uplink port is inserted with a host device. The HUB module is connected with the overcurrent protection module, and is configured to perform a reset operation according to the reset signal and control the overcurrent protection module to turn on the data port and the power supply module after receiving the reset signal.
8. The docking station of claim 7, wherein The PD protocol module comprises a PD protocol chip, the PD protocol chip comprises a first port, a second port and a third port, the first port is connected with the uplink port, the second port is connected with the downlink port, and the third port is connected with the delay module. The delay module comprises a first resistor, a second resistor, a third resistor and a first capacitor, one end of the first resistor and one end of the second resistor are connected and then connected with the PD protocol module, the other end of the first resistor is grounded, the other end of the second resistor is connected with one end of the first capacitor and one end of the third resistor and then connected with the HUB module, and the other end of the first capacitor and the other end of the third resistor are connected and then grounded. The HUB module comprises a HUB chip, the HUB chip comprises a fourth port and a fifth port, the fourth port is connected with the delay module, and the fifth port is connected with the overcurrent protection module. The overcurrent protection module comprises at least one overcurrent protection submodule, the at least one overcurrent protection submodule corresponds to the at least one data port in one-to-one manner, each overcurrent protection submodule in the plurality of overcurrent protection submodules comprises a first power input end, a first power output end and an enable end, the first power input end is connected with the power supply module, the first power output end is connected with the data port corresponding to the overcurrent protection submodule, and the enable end is connected with the HUB module.
9. The docking station of claim 1, wherein The controller is configured to allow power supply to the data port when the port information detected by the detector indicates that the uplink port is inserted with the host device earlier than the downlink port is inserted with the external power supply.
10. The docking station of claim 9, wherein The controller is configured to allow power supply to the data port and supply power to the host device through the uplink port by using the external power supply when the port information detected by the detector indicates that the uplink port is inserted with the host device earlier than the downlink port is inserted with the external power supply.