Electronic device
By combining control modules and power chips, the input and power receiving parameters are dynamically matched, enabling independent control of multiple output interfaces. This solves the problems of low efficiency and insufficient safety in existing charging devices, and improves power supply efficiency and safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-29
- Publication Date
- 2026-03-13
AI Technical Summary
Existing charging devices cannot dynamically match the input power parameters with the power demand of the device to be charged, resulting in low power supply efficiency or overload risk, and are difficult to meet the diverse access needs of the devices to be charged.
The system employs a combination of a control module, an input interface, multiple output interfaces, a first power supply chip, and a second power supply chip corresponding to each output interface. By acquiring input electrical parameters and the power receiving parameters of the powered device, the system dynamically determines the power supply parameters and supplies electrical energy to the powered device through power supply lines, thereby achieving independent control and parallel power supply of multiple output interfaces.
It improves charging efficiency, reduces the risk of damage to powered equipment caused by overvoltage, overcurrent, and overpower, reduces interference or power distribution conflicts when multiple devices share a power supply channel, and enhances charging safety and compatibility.
Smart Images

Figure CN121663704A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging technology, and more particularly to an electronic device. Background Technology
[0002] Most charging devices in related technologies cannot dynamically match the input power parameters with the power requirements of the device being charged, resulting in low power supply efficiency or overload risks. Furthermore, the lack of flexible multi-path power supply control makes it difficult to meet the diverse needs of devices requiring charging. Summary of the Invention
[0003] In view of this, embodiments of this application provide at least one electronic device.
[0004] The technical solution of this application embodiment is implemented as follows: This application provides an electronic device, which includes: a control module, an input interface, multiple output interfaces, a first power chip, and a second power chip corresponding to each of the output interfaces; The input interface is connected to the control module via a first power supply chip; multiple output interfaces are each connected to the control module via their respective second power supply chips; the input interface and multiple output interfaces are connected to form at least two power supply lines; wherein... The first power chip is used to acquire input electrical parameters through the input interface; the input electrical parameters are adapted to the power output parameters of the power supply equipment connected to the input interface. The control module is used to determine the power supply parameters based on the input electrical parameters and the power receiving parameters of the power receiving device connected to the output interface, and to transmit the power supply parameters to the second power chip; the power receiving parameters are used to characterize the power receiving capability of the power receiving device. The second power chip is used to supply electrical energy from the power supply equipment to the powered equipment based on the power supply parameters through the power supply line.
[0005] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description
[0006] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0007] Figure 1 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 1 ; Figure 2 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 2 ; Figure 3 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 3 ; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 1 ; Figure 5 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 4 ; Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 2 ; Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 ; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 ; Figure 9 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 5 ; Figure 10 This is a schematic diagram of the circuit structure of an electronic device provided in an embodiment of this application. Figure 6 ; Figure 11 This is a flowchart illustrating a control method for an Internet of Things (IoT) device provided in an embodiment of this application. Figure 1 ; Figure 12 This is a flowchart illustrating a control method for an Internet of Things (IoT) device provided in an embodiment of this application. Figure 2 ; Figure 13 This is a flowchart illustrating a control method for an Internet of Things (IoT) device provided in an embodiment of this application. Figure 3 . Detailed Implementation
[0008] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application are further described in detail below with reference to the accompanying drawings and embodiments. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0009] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. It is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. The terms "first / second / third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second / third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0010] 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 pertains. The terminology used herein is for descriptive purposes only and is not intended to limit the scope of this application.
[0011] To address the technical problems in related technologies, this application provides an electronic device comprising: a control module, an input interface, multiple output interfaces, a first power chip, and second power chips corresponding to each output interface. When a power supply device is connected to the input interface, the first power chip obtains input electrical parameters adapted to the power output parameters of the power supply device through the input interface. Then, the control module determines power supply parameters based on the input electrical parameters and the power receiving parameters of the device connected to the output interface. Finally, the second power chip supplies power from the power supply device to the device through a power supply line based on the power supply parameters. In this way, the control module, through the input electrical parameters adapted to the power output parameters of the power supply device and the power receiving parameters of the device, can not only reduce the risk of damage to the device caused by overvoltage, overcurrent, and overpower charging, but also dynamically adapt to the optimal power supply efficiency range of the device, thereby improving the charging efficiency of the device. Furthermore, each output interface corresponds to a second power chip, thus enabling independent control and parallel power supply of multiple output interfaces, reducing the risk of interference or power distribution conflicts caused by multiple devices sharing a power supply channel, and improving the charging safety of the device.
[0012] The technical solution of this application will be described in detail below with reference to embodiments, such as... Figure 1 As shown, the electronic device includes a control module 101, an input interface 102, and multiple output interfaces 103. Figure 1 It shows 5 output interfaces), a first power chip 104, and a second power chip 105 corresponding to each output interface 103. Figure 1 Five secondary power supply chips are shown). Input interface 102 is connected to control module 101 via first power chip 104; multiple output interfaces 103 are respectively connected to control module 101 via their respective second power chips 105; input interface 102 and multiple output interfaces 103 are connected to form at least two power supply lines; wherein... The first power chip 104 is used to acquire input electrical parameters through the input interface 102; the input electrical parameters are adapted to the power output parameters of the power supply device (not shown in the figure) connected to the input interface 102; The control module 101 is used to determine the power supply parameters based on the input electrical parameters and the power receiving parameters of the power receiving device (not shown in the figure) connected to the output interface, and transmit the power supply parameters to the second power chip 105; the power receiving parameters are used to characterize the power receiving capability of the power receiving device. The second power chip 105 is used to supply electrical energy from the power supply equipment to the powered equipment through the power supply line based on the power supply parameters.
[0013] In this embodiment, the input interface is used to connect to a power supply device. Exemplarily, the input interface 102 may be a Universal Serial Bus Type-C (USB Type-C) female port, serving as the power input port for the electronic device. The power supply device may include an adapter and a power supply; the adapter can be connected to the power supply to provide power to the electronic device. The output interface 103 is used to connect to a powered device. The electronic device can transfer power from the power supply device to the powered device through the output interface 103 to charge the powered device. Exemplarily, the output interface 103 may be a USB Type-C male connector, serving as the power output port for the electronic device.
[0014] In this embodiment, the first power chip 104 may be a power chip with the function of identifying the electrical parameters of a device connected to the input interface 102. For example, the first power chip 104 may be a Sink USB Power Delivery Integrated Circuit (Sink PD IC). When the powered device is connected to the input interface 102 via an adapter of an electronic device, the first power chip 104 may transmit an electrical parameter acquisition request to the adapter. In response to the electrical parameter acquisition request, the adapter transmits multiple electrical parameters to the first power chip 104. The first power chip 104 can then select the input electrical parameters that match its own from among the multiple electrical parameters.
[0015] Understandably, the first power chip 104 supports multiple electrical parameters. After acquiring multiple electrical parameters transmitted by the adapter, it can select an input electrical parameter that matches itself from these parameters. Then, the adapter can supply power to the electronic device based on this input electrical parameter. For example, the first power chip 104 supports two different voltage level specifications, PD3.0 and PD3.1. The power levels supported by the first power chip 104 are PD3.0 45W, PD3.0 65W, PD3.0 100W, PD3.0 140W, PD3.1 140W, and PD3.1 180W, respectively.
[0016] In this embodiment, when the first power chip 104 obtains the input electrical parameters, it can transmit the input electrical parameters to the control module 101. When the powered device is connected to the output interface 103 of the electronic device, the control module 101 can obtain the power receiving parameters of the powered device through the output interface 103. Then, the control module 101 determines the power supply parameters based on the input electrical parameters and the power receiving parameters of the powered device. Specifically, the control module 101 can send a power receiving parameter acquisition request to the controller of the powered device, and the controller of the powered device responds to the power receiving parameter acquisition request by sending the power receiving parameters of the powered device to the control module 101. Exemplarily, the control module 101 of the electronic device can be a microcontroller unit (MCU), and the controller of the powered device can be an embedded controller (EC).
[0017] In some embodiments, when the powered device is in a powered-off state, the controller of the powered device is in a sleep state. When the powered device is connected to the output interface 103, the electronic device transmits an electrical signal to the powered device through the output interface 103. This electrical signal can wake up the controller of the powered device, thereby completing the interaction of the powered device's power parameters. In this way, the powered parameters of the powered device can be obtained even when the powered device is in a powered-off state.
[0018] In this embodiment, when the control module 101 obtains the input electrical parameters and the power receiving parameters of the powered device, it can compare the input electrical parameters and the power receiving parameters to obtain a comparison result. Then, based on the comparison result, it determines the power supply parameters for transmitting electrical energy to the powered device and sends these power supply parameters to the second power chip 105. These power supply parameters characterize the power supply method for supplying power to the powered device. For example, the second power chip 105 may be a USB Power Delivery Integrated Circuit (PD IC).
[0019] For example, if the input electrical parameters and the received electrical parameters are equal, it means that the electrical energy output by the power supply device to the electronic device through the adapter matches the power receiving capability of the electronic device. In this case, the received electrical parameters are the same as the input electrical parameters, meaning the electronic device supplies power to the electronic device via direct power supply. If the input electrical parameters are greater than the received electrical parameters, it means that the electrical energy output by the power supply device to the electronic device through the adapter cannot be directly received by the electronic device and needs to be stepped down. In this case, the received electrical parameters are the stepped-down input electrical parameters, meaning the electronic device supplies power to the electronic device via stepped-down power supply. If the input electrical parameters are less than the received electrical parameters, it means that the electrical energy output by the power supply device to the electronic device through the adapter cannot fully meet the power receiving requirements of the electronic device and needs to be stepped up. In this case, the received electrical parameters are the stepped-up input electrical parameters, meaning the electronic device supplies power to the electronic device via stepped-up power supply.
[0020] In some embodiments, after determining the power supply parameters, the control module 101 needs to first identify a target power chip among a plurality of second power chips 105. The target power chip refers to the second power chip 105 corresponding to the output interface 103 connected to the powered device. That is, the target power chip can be at least one of the plurality of second power chips 105. When only one output interface 103 is connected to the powered device, the second power chip 105 corresponding to that output interface 103 is the target power chip; when all output interfaces 103 are connected to the powered device, all second power chips 105 are target power chips.
[0021] In this embodiment, the control module 101 can detect the pin voltages of each output interface 103. If a target pin voltage exists within a preset voltage range, it is determined that the output interface 103 corresponding to the target pin voltage is connected to a powered device. Therefore, the second power chip 105 corresponding to that output interface 103 is the target power chip. For example, when the output interface 103 is a USB Type-C male connector, the pin voltage is the CC pin voltage.
[0022] In this embodiment, when the power supply device is connected to the input interface 102, the first power chip 104 can identify the adapter's input electrical parameters through interaction with the adapter. This enables the electronic device to accurately acquire the appropriate power, while ensuring power supply compatibility and safe and efficient power transmission. Then, the control module 101 compares the input electrical parameters and the power receiving parameters, determines the power supply parameters for transmitting power to the powered device based on the comparison result, and sends these power supply parameters to the second power chip 105. In this way, a power supply method matching the power receiving capability of the powered device can be used to supply power to the powered device, thereby improving the power supply efficiency of the powered device.
[0023] In some embodiments, the input electrical parameters include the input current; the power receiving parameters include the power receiving voltage; the control module 101 is configured to: determine the output current based on the input current and the number of output interfaces 103; determine the power receiving voltage as the output voltage, and determine the output voltage and output current as power supply parameters.
[0024] Here, the input current refers to the current value input from an external power supply device (such as a charger or power adapter) to the first power chip 104. The input current parameter reflects the actual power supply capability of the input power source. The receiving voltage refers to the maximum charging voltage that the powered device can accept. For example, when the powered device is a laptop, the receiving voltage can be 20V.
[0025] In this embodiment, the control module 101 can allocate output current to each output interface 103 according to the number of output interfaces 103 and the current required by the electronic device. For example, when the input current is 2.25A, the output current of each output interface 103 can be 0.4A, and the current required by the electronic device is 0.25A; when the input current is 3.25A, the output current of each output interface 103 can be 0.6A, and the current required by the electronic device is 0.25A; when the input current is 5A, the output current of each output interface 103 can be 0.95A, and the current required by the electronic device is 0.25A.
[0026] In this embodiment, the control module 101 uses the maximum charging voltage that the powered device can accept as the output voltage of the electronic device. It is understood that the voltage of the electrical energy output from the power supply device to the electronic device through the adapter may differ from the voltage received by the powered device. If the voltage of the electrical energy output from the power supply device to the electronic device through the adapter is directly used as the voltage received by the powered device, it may lead to overvoltage charging and damage to the powered device, or the charging efficiency of the powered device may be reduced because it is not within its optimal power supply efficiency range. Therefore, it is necessary to use the maximum charging voltage that the powered device can accept as the output voltage of the electronic device.
[0027] In some embodiments, if the voltage of the electrical energy output by the power supply device to the electronic device through the adapter is greater than the voltage received by the device, then the electrical energy output by the power supply device to the electronic device through the adapter needs to be stepped down. If the voltage of the electrical energy output by the power supply device to the electronic device through the adapter is less than the voltage received by the device, then the electrical energy output by the power supply device to the electronic device through the adapter needs to be stepped up. If the voltage of the electrical energy output by the power supply device to the electronic device through the adapter is equal to the voltage received by the device, then no processing is required on the output electrical energy, and it is directly supplied to the device.
[0028] In this embodiment, by rationally allocating the output current according to the input current and the number of output interfaces, overload or current waste can be effectively prevented. Simultaneously, using the received voltage as the output voltage can reduce the risk of damage to the powered device due to overvoltage charging, or address the issue of reduced charging efficiency of the powered device due to it not reaching its optimal power supply efficiency range.
[0029] In some embodiments, the input electrical parameters also include the input voltage; such as Figure 2 As shown, the electronic device also includes multiple step-down modules 201 corresponding to the output interface 103; the multiple step-down modules 201 are respectively set on the corresponding power supply lines; wherein, the second power chip 105 is used to control the step-down module 201 corresponding to the second power chip 105 to step down the power of the power supply equipment if the output voltage of the power supply parameters is less than the input voltage, and to provide the stepped-down power to the powered device through the power supply line based on the power supply parameters.
[0030] Here, input voltage refers to the output voltage of the electronic device's adapter. Input voltage is a crucial factor in determining whether subsequent voltage conversion is necessary. For example, under the PD3.1 specification, when the input voltage is 28V, it may be necessary to reduce the input voltage to 20V to meet the input requirements of some powered devices; under the PD3.0 specification, when the input voltage is 20V, there is no need to step down the input voltage, and the power supply equipment directly provides power to the powered device.
[0031] like Figure 2 As shown, a step-down module 201 is provided on each power supply line connecting the input interface 102 and the output interface 130. If the output voltage of the power supply parameters received by the second power chip 105 from the control module 101 is less than the input voltage of the powered device, the corresponding step-down module 201 is controlled to step down the power supply energy of the powered device. The control process of the second power chip 105 over the step-down module 201 can refer to controlling the current of the powered device to pass through the step-down module 201 to step down the voltage of the powered device's power. For example, when a switch module is connected in parallel with the step-down module 201, the switch module can be controlled to disconnect. In some embodiments, the control process of the second power chip 105 over the step-down module 201 can refer to controlling the operating state of the step-down module 201; when the step-down module 201 needs to step down the power supply energy of the powered device, it can be controlled to be in an operating state. For example, the step-down module 201 can be a direct current to direct current converter (DCDC).
[0032] In this embodiment, each output interface is equipped with an independent step-down module 201 to support independent power supply control when multiple devices are charging in parallel. The design using an independent step-down module 201 ensures that each connected device receives a stable voltage and current that meets the needs of the powered device, unaffected by other devices. For example, when an output interface requires 20V power, the corresponding step-down module 201 will convert the input 28V voltage to 20V, while other output interfaces without step-down functionality can remain in pass-through mode. Integrating the step-down module 201 onto each power supply line improves the overall flexibility and stability of the system and enhances its fault isolation capabilities. When a step-down module 201 malfunctions, because each power supply line is independent, it will not affect the normal operation of the entire electronic device.
[0033] In this embodiment, when the input voltage is higher than the required output voltage, the second power chip 105 can control the corresponding step-down module 201 to perform step-down processing, so that the output voltage meets the requirements of the powered device and improves compatibility and safety.
[0034] In some embodiments, such as Figure 3 As shown, the electronic device also includes a switch module 301 corresponding to the output interface 103; the switch module 301 is connected in parallel with its corresponding step-down module 201; wherein, the second power chip 105 is used to control the switch module 301 corresponding to the second power chip 105 to close if the output voltage of the power supply parameter is equal to the input voltage, and to supply the power of the power supply device to the power receiving device through the power supply line and the power supply parameter.
[0035] In this embodiment, the switch module 301 and the step-down module 201 are connected in parallel, meaning they are connected to the same power supply path but do not affect each other. When the switch module 301 is closed, current can be directly transmitted to the output terminal; when the switch module 301 is open, the current is handled by the step-down module 201. This parallel connection allows the system to seamlessly switch between direct power supply and step-down power supply modes, improving the flexibility and efficiency of charging the device by the electronic device.
[0036] In this embodiment, when the output voltage of the power supply parameters equals the input voltage, the second power chip 105 can send a first electrical signal to the switch module 301, causing the switch module 301 corresponding to the second power chip 105 to close. At this time, the current can be directly transmitted to the output terminal through the switch module 301 without being processed by the step-down module 201, i.e., a direct power supply mode is used to power the device. For example, under the PD3.1 specification, when the input voltage is 28V, if the voltage received by the device is also 28V, the switch module 301 corresponding to the second power chip 105 can be controlled to close; under the PD3.0 specification, when the input voltage is 20V, if the voltage received by the device is 20V, the switch module 301 corresponding to the second power chip 105 can be controlled to close.
[0037] In some embodiments, when the output voltage of the power supply parameters is greater than the input voltage, the second power chip 105 can send a second electrical signal to the switching module 301, causing the switching module 301 corresponding to the second power chip 105 to disconnect. At this time, the current is transmitted to the output terminal through the step-down module 201, that is, the device is powered by step-down power supply mode. For example, under the PD3.1 specification, when the input voltage is 28V, if the voltage received by the device is 20V, the switching module 301 corresponding to the second power chip 105 can be controlled to disconnect, and the voltage is stepped down to 20V by the step-down module 201 to power the device.
[0038] In some embodiments, the electronic device further includes multiple boost modules corresponding to each output interface; the multiple boost modules are respectively disposed on corresponding power supply lines; and each buck module 201 is also connected in series with a switching unit. When the output voltage of the power supply parameter is less than the input voltage, the corresponding switching unit is controlled to open and the corresponding switching module 301 is controlled to open, so that current flows through the boost module, thereby boosting the voltage of the power supply device's electrical energy through the boost module. For example, the boost module can be a DC boost module.
[0039] In this embodiment, when the input voltage is higher than the required output voltage, the second power chip can control the corresponding buck module to perform buck processing. Thus, when the electronic device is connected to multiple powered devices, the second power chip can use different charging methods to charge each powered device based on the different voltages supported by each device. For example, one power supply line can use a through-mode to charge the powered device, while another power supply line can use a buck mode. This ensures that the output voltage of each power supply line of the electronic device meets the requirements of each powered device, thereby improving compatibility and safety.
[0040] In some embodiments, such as Figure 4As shown, the electronic device also includes a display module 401; wherein, the second power chip 105 is further configured to send an information acquisition request to the controller of the powered device; receive the attribute information of the powered device sent by the controller in response to the information acquisition request, and transmit the attribute information of the powered device to the control module 101; the attribute information includes the power information of the powered device and / or the identification information of the powered device; the control module 101 is further configured to control the display module 401 to display the attribute information of the powered device.
[0041] Here, the identification information of the power receiving equipment can be the unique identification information of the power receiving equipment, such as the serial number and model of the power receiving equipment.
[0042] In this embodiment, when a powered device is connected to the output interface corresponding to the second power chip 105, the second power chip 105 can communicate with the controller of the powered device through the output interface, that is, send an information acquisition request to the controller of the powered device. In response to the information acquisition request, the controller of the powered device sends the attribute information of the powered device to the second power chip 105. After receiving the attribute information of the powered device, the second power chip 105 can send the attribute information of the powered device to the control module 101. The control module 101 can control the display module 401 to display the attribute information of the powered device, or process the attribute information of the powered device and then control the display module 401 to display the processed attribute information.
[0043] In some embodiments, when the powered device is in a sleep state, if the powered device is connected to the output interface of the electronic device, the electronic device will transmit an electrical signal to the powered device through the output interface, thereby waking up the controller of the powered device in a sleep state, and thus enabling the establishment of a communication link with the powered device. For example, the controller of the powered device may be an embedded controller (EC).
[0044] In some embodiments, the power information of the powered device includes the designed capacity of the battery and the current battery capacity. In this case, the control module 101 can determine the power percentage of the powered device based on the designed capacity and current battery capacity, and then control the display module 401 to display the power percentage of the powered device. In other embodiments, the power information of the powered device also includes the remaining power (State of Charge, SOC). In this case, the control module 101 does not need to process this information and controls the display module 401 to display the remaining power of the powered device.
[0045] In this embodiment, the display module 401 includes multiple display areas corresponding one-to-one with the output interfaces. When a powered device is connected to an output interface, the attribute information of the powered device is displayed in the display area corresponding to that output interface. For example, Figure 4 As shown, there are 5 output interfaces and 5 display areas in the display module 401, which correspond one-to-one with the output interfaces. Currently, 3 of the 5 output interfaces are connected to powered devices, and the power of the 3 powered devices is 5%, 75% and 100% respectively. Two output interfaces are not connected to powered devices, so the corresponding display areas display "NC", which means that the corresponding output interfaces are not connected to powered devices.
[0046] In this embodiment, through communication between the second power chip 105 and the power receiving device controller, key information such as power level and device identification can be obtained in real time and displayed through the display module 401, making it easier for users to understand the charging status of the power receiving device and enhancing the human-computer interaction experience.
[0047] In some embodiments, such as Figure 4 and Figure 5 As shown, the electronic device also includes a peripheral interface 402; the peripheral interface 402 is connected to the control module 101; wherein, the peripheral interface 402 is used to transmit the identification information of the powered device collected by the information acquisition device to the control module 101; the control module 101 is also used to match the identification information of the powered device collected by the peripheral interface 402 with the identification information sent by the controller of the powered device to obtain a matching result; based on the matching result, the powered device is authenticated.
[0048] Here, peripheral interface 402 is a communication channel used to connect the information acquisition device and the internal control system. Peripheral interface 402 typically supports the standard USB-A protocol and can transmit data collected by the information acquisition device to the control module 101 for processing in real time. For example, the information acquisition device can be a barcode scanner, such as a barcode scanner.
[0049] In this embodiment, the peripheral interface 402 is used to connect to the information acquisition device. The information acquisition device can transmit the identification information of the powered device it has collected to the control module 101 through the peripheral interface 402. The control module 101 can compare the collected identification information with the interactively obtained identification information, and perform identity verification of the powered device based on the comparison result. Specifically, if the collected identification information is inconsistent with the interactively obtained identification information, it is determined that the identity verification of the powered device has failed, and charging of the powered device can be stopped; if the collected identification information is consistent with the interactively obtained identification information, it is determined that the identity verification of the powered device has passed, and charging of the powered device can continue.
[0050] In some embodiments, after the powered device is authenticated, the electronic device can also send control commands to the powered device to change the operating state of the powered device. For example, controlling the powered device to be in a power-on, power-off, or factory reset state.
[0051] In this embodiment of the application, by matching the identification information of the powered device from the peripheral interface 402 with the identification information of the powered device provided by the controller of the powered device, unauthorized powered devices can be effectively prevented from accessing the charging system, thereby improving the safety of charging.
[0052] In this embodiment, the identification information provided by the external device is collected through the peripheral interface 402 and compared with the identification of the powered device itself to realize the authentication function of the powered device, thereby improving the security and reliability of the device connection.
[0053] In some embodiments, such as Figure 5 As shown, the electronic device also includes a network module 501; the network module 501 is used to receive control commands sent by the user equipment for a target power receiving device among multiple power receiving devices, and transmit the control commands to the control module 101; the control module 101 is used to control the working state of the target power receiving device based on the control commands.
[0054] Here, network module 501 refers to a hardware component integrated into an electronic device that has wireless communication capabilities, supporting access to the Internet via Wireless Fidelity (Wi-Fi) or other wireless protocols to achieve remote data interaction. For example, network module 501 can be an Internet of Things (IoT) module.
[0055] User equipment (UAE) refers to a terminal device capable of sending control commands to electronic devices via a network, such as a personal computer (PC), tablet computer, or smartphone. UAE runs dedicated management software or a web interface, allowing administrators to select target powered devices and issue control commands. Upon receiving a control command, network module 501 transmits it to control module 101, which parses and executes the command. The operating state of the powered device refers to its current running state, including modes such as power-on, power-off, charging, standby, and hibernation. Control module 101 adjusts the operating state of the target powered device based on the received control commands. For example, upon receiving a power-on command, control module 101 can activate the target device using a wake-up command.
[0056] In this embodiment, the user equipment can respond to the selection operation of target identifier information among multiple identifier information by sending a control command carrying target identifier information to the network module 501. The network module 501 transmits the control command to the control module 101. Based on the target identifier information carried by the control command, the control module 101 determines the target powered device to be controlled and finally controls the target powered device to be in the working state corresponding to the control command.
[0057] In some embodiments, after the control module 101 receives the control command, it can analyze the control command to obtain the command type of the control command, and then send a control signal to the target powered device based on the command type of the control command, thereby controlling the target powered device to be in the working state corresponding to the command type.
[0058] In some embodiments, the condition for the control module 101 to control the working state of the powered device is that the matching result obtained based on the identification information of the powered device collected by the peripheral interface 402 and the identification information sent by the controller of the powered device indicates that the authentication of the powered device is successful.
[0059] In this embodiment, the electronic device can communicate with the user equipment via the network module 501, thereby enabling the user equipment to control the operating status of the powered equipment. This improves the flexibility and convenience of powered equipment management.
[0060] In some embodiments, after the control module 101 obtains the identification information of the powered device through the information acquisition device or obtains the attribute information of the powered device through communication with the powered device, the control module 101 can send the attribute information of the powered device to the network module 501. Then, the network module 501 sends the attribute information of the powered device to the user equipment, and the user equipment displays the attribute information of the powered device through its own display device.
[0061] In some embodiments, such as Figure 5 As shown, the electronic device also includes a signal switching module 502; the signal switching module 502 is connected to the control module 101 and to multiple output interfaces 103; wherein, the control module 101 is used to: determine the target powered device and the instruction type of the control instruction based on the control instruction; control the signal switching module 502 to establish a communication connection with the target powered device; and control the target powered device to be in a working state corresponding to the instruction type.
[0062] Here, the signal switching module 502 is used to switch the communication path between the control module 101 and multiple output interfaces. That is, the control module 101 can establish communication connections with multiple output interfaces simultaneously, or it can select one or more to establish a communication connection, through the signal switching module 502. For example, the signal switching module 502 can be a USB switch.
[0063] Understandably, due to the limitations of the USB protocol, in related technologies, a managed device (USB Host, such as the powered device in this application) can only be connected to one managing device (USB device, such as the electronic device in this application). This results in a USB device being unable to connect to multiple USB Hosts, thereby reducing resource utilization. To solve this technical problem, in this embodiment, the control module 101 is connected to multiple output interfaces 103 through a signal switching module 502. When multiple output interfaces 103 are connected to multiple powered devices one by one, the control module 101 can select any one of the powered devices for communication connection through the signal switching module 502, thus achieving the effect of a USB device being connected to multiple USB Hosts. For example, when the electronic device is connected to 5 powered devices, the electronic device communicates with powered device 1 at time T1, communicates with powered device 2 at time T2, ..., and communicates with powered device 5 at time T5. In this way, the electronic device can achieve communication connections with 5 powered devices within the time interval from T1 to T5.
[0064] In this embodiment, the control command sent by the user equipment carries target identification information of the target powered device. The control module 101 can determine the target powered device based on the target identification information and send a path switching command corresponding to the target powered device to the signal switching module 502 via a two-wire serial bus. In response to the path switching command, the signal switching module 502 establishes an output interface corresponding to the target powered device. Then, the control module 101 controls the target powered device to be in the working state corresponding to the command type.
[0065] In this embodiment, after receiving a control command from the network module 501, the control module 101 first parses the command content, identifies the identification information of the target powered device (such as device number, serial number, etc.), and determines the specific type of the control command, such as power on, power off, system reset, etc. The control module 101 can identify different types of commands through a preset mapping table or configuration file and convert these commands into specific execution actions. For example, when the control module 101 receives a remote power-on command, it sends a wake-up signal to the target powered device, triggering the target powered device to resume operation from a dormant state.
[0066] In this embodiment, after determining the target powered device and the command type of the control command, the control module 101 sends a path switching command to the signal switching module 502, causing the signal switching module 502 to switch the communication path to the output interface of the target powered device. For example, if the target powered device is a laptop with serial number xxx, the signal switching module 502 will select the output interface corresponding to the laptop with serial number xxx and establish a communication link through the signal switching module 502 to ensure that the control command can be correctly delivered to the laptop with serial number xxx.
[0067] In this embodiment, the signal switching module 502 enables directional communication with the target powered device, and works in conjunction with the control module 101 to perform specific operations, such as remote power on / off or system reset, thereby improving the accuracy and response speed of the powered device control.
[0068] In some embodiments, such as Figure 5 As shown, the electronic device also includes a storage module 503; wherein, the network module 501 is used to receive a firmware upgrade command carrying a firmware address sent by the user equipment; download the firmware to the storage module 503 based on the firmware address, and send download completion information to the control module 101; the control module 101 is used to perform firmware upgrade based on the firmware in the storage module 503 in response to the download completion information.
[0069] Here, storage module 503 is a hardware component in the electronic device used for temporary or permanent data storage. The function of storage module 503 is to cache downloaded firmware files during firmware upgrades. Storage module 503 is typically implemented using SPI flash memory (Serial Peripheral Interface Flash Memory) or other types of non-volatile memory to ensure data retention after power failure. Storage module 503 communicates with control module 101 via an inter-integrated circuit (IIC / I²C) bus. Control module 101 can read firmware data from storage module 503 and perform update operations.
[0070] In this embodiment, after parsing the firmware upgrade command, the network module 501 initiates a download request based on the download address carried in the firmware upgrade command, downloads the corresponding firmware file from the cloud server, and writes the firmware file to the storage module 503. After the download is complete, the network module 501 sends a download completion signal to the control module 101 via the IIC interface, notifying the control module 101 to prepare for the upgrade operation. Upon receiving the download completion signal from the network module 501, the control module 101 can respond to the download completion information and perform a firmware upgrade based on the firmware stored in the storage module 503.
[0071] In some embodiments, the control module 101 can also obtain the latest firmware version information and the current firmware version information of the electronic device. If the latest firmware version information is inconsistent with the current firmware version information, the control module 101 sends a firmware download instruction to the network module 501. In response to the firmware download instruction, the network module 501 downloads the firmware to the storage module 503 based on the latest firmware version information, and then the control module 101 performs a firmware upgrade operation.
[0072] In this embodiment, firmware is remotely downloaded via network module 501 and stored in storage module 503. Control module 101 can perform upgrade operations after the download is completed, realizing the Over-the-Air (OTA) update function and improving the convenience and sustainability of electronic device maintenance.
[0073] In some embodiments, the peripheral interface 402 is further configured to connect to a user equipment; the control module 101 is further configured to receive network attribute information sent by the user equipment through the peripheral interface 402, and send the network attribute information to the network module 501; the network attribute information is the attribute information of the network connected to the user equipment; the network module 501 is configured to connect to the network based on the network attribute information, and send the current network connection status to the control module 101; the control module 101 is configured to send the network connection status to the user equipment through the peripheral interface 402.
[0074] Here, network attribute information refers to the relevant parameters of the network currently connected to the user device, including but not limited to Service Set Identifier (SSID), Internet Protocol Address (IP), Media Access Control Address (MAC), and Domain Name System (DNS) settings.
[0075] In this embodiment, the peripheral interface 402 can not only connect to the information acquisition device used to collect attribute information of the powered device, but also connect to the user's user equipment. The purpose is to configure the network module 501 through the user equipment so that the network module 501 and the user equipment are connected to the same network.
[0076] In this embodiment, after the user equipment connects to the device via the peripheral interface 402, the user equipment can send network attribute information to the control module 101 via the peripheral interface 402. After receiving the network attribute information, the control module 101 forwards the network attribute information to the network module 501, so that the network module 501 can establish a connection or adjust the communication strategy according to the network attribute information.
[0077] In this embodiment, after receiving the network connection status feedback from the network module 501, the control module 101 transmits the network connection status back to the user equipment via the peripheral interface 402. The user equipment can display the network connection status through its own display device to show the user the network connection status of the electronic device, thereby providing timely prompts to the user when the electronic device cannot connect to the network.
[0078] In this embodiment, network attribute information is transmitted through peripheral interface 402, enabling network module 501 to quickly access the specified network and feed back the connection status to the user device, thereby improving the controllability of device networking and user experience.
[0079] This application embodiment also provides a charging method, which can be applied to the electronic device in the above embodiments. The charging method can be implemented through steps S101 to S103: Step S101: Use the first power chip to obtain input electrical parameters through the input interface; match the input electrical parameters with the power output parameters of the power supply equipment connected to the input interface.
[0080] Step S102: The control module determines the power supply parameters based on the input electrical parameters and the power receiving parameters of the power receiving device connected to the output interface, and transmits the power supply parameters to the target power chip among the multiple second power chips; the power receiving parameters are used to characterize the power receiving capability of the power receiving device.
[0081] Step S103: Using the target power chip, the power supply device provides electrical energy to the powered device through the target power supply line corresponding to the target power chip, based on the power supply parameters.
[0082] In some embodiments, the input electrical parameters include the input current; the power receiving parameters include the power receiving voltage; the "determining the power supply parameters using the control module based on the input electrical parameters and the power receiving parameters of the power receiving device connected to the output interface" in step S102 can be achieved through steps S1021 and S1022: Step S1021: The control module determines the output current based on the input current and the number of output interfaces.
[0083] Step S1022: The control module determines the received voltage as the output voltage and the output voltage and output current as power supply parameters.
[0084] In some embodiments, before "transmitting power supply parameters to the target power chip among the plurality of second power chips" in step S102 above, the above method can also be implemented by steps S1023 and S1024: Step S1023: Use the control module to obtain the pin voltage of each output interface.
[0085] Step S1024: If there is a target pin voltage within the preset voltage range among the various pin voltages, the control module determines the output interface corresponding to the target pin voltage and connects it to the powered device, and the second power chip corresponding to the output interface is determined as the target power chip.
[0086] Step S1025: The control module transmits the power supply parameters to the target power chip among the multiple second power chips.
[0087] In some embodiments, the input electrical parameters further include input voltage; the electronic device further includes multiple step-down modules corresponding one-to-one with the output interfaces; the multiple step-down modules are respectively disposed on corresponding power supply lines; the above step S103 is implemented through step S201: Step S201: If the output voltage of the power supply parameters is less than the input voltage, the target power chip controls the step-down module corresponding to the second power chip to step down the power supply equipment's power, and then provides the stepped-down power to the powered equipment through the power supply line based on the power supply parameters.
[0088] In some embodiments, the electronic device further includes a switching module corresponding to each output interface; the switching module is connected in parallel with its corresponding step-down module; the above step S103 is implemented through step S202: In step S202, if the output voltage of the power supply parameters is equal to the input voltage, the target power chip controls the switch module corresponding to the second power chip to close, and the power supply equipment supplies electrical energy to the powered equipment through the power supply line and the power supply parameters.
[0089] In some embodiments, the electronic device further includes a display module; the above method can also be implemented through steps S301 and S302: Step S301: Use the target power chip to send an information acquisition request to the controller of the powered device; use the target power chip to receive the attribute information of the powered device sent by the controller in response to the information acquisition request, and transmit the attribute information of the powered device to the control module; the attribute information includes the power information of the powered device and / or the identification information of the powered device. Step S302: Use the control module to control the display module to display the attribute information of the powered device.
[0090] In some embodiments, the electronic device further includes a peripheral interface; the peripheral interface is connected to the control module; the above method can also be implemented through steps S401 and S402: Step S401: The control module uses the identification information of the powered device collected by the peripheral interface to match the identification information sent by the controller of the powered device to obtain the matching result.
[0091] Step S402: The control module authenticates the powered device based on the matching result.
[0092] In some embodiments, the electronic device further includes a network module; the above method can also be implemented through steps S501 and S502: Step S501: Receive control commands sent by the user equipment for the target power receiving device among multiple power receiving devices using the network module, and transmit the control commands to the control module.
[0093] Step S502: Using the control module, the working status of the target power receiving equipment is controlled based on control commands.
[0094] In some embodiments, the electronic device further includes a signal switching module; the signal switching module is connected to the control module and to multiple output interfaces; the above step S502 can be implemented through steps S5021 to S5023: Step S5021: The control module determines the target power receiving device and the instruction type of the control instruction based on the control instruction.
[0095] Step S5022: Use the control module to control the signal switching module to establish a communication connection with the target power receiving device.
[0096] Step S5023: Use the control module to control the target power receiving device to be in the working state corresponding to the instruction type.
[0097] In some embodiments, the electronic device further includes a storage module; the above method can also be implemented through steps S601 and S602: Step S601: Receive a firmware upgrade command carrying a firmware address from the user equipment using the network module; download the firmware to the storage module based on the firmware address; and send a download completion message to the control module.
[0098] In step S602, the control module responds to the download completion information and performs a firmware upgrade based on the firmware in the storage module.
[0099] In some embodiments, the peripheral interface is further used to connect to a user equipment; the above method can also be implemented through steps S701 to S703: Step S701: The control module receives network attribute information sent by the user equipment through the peripheral interface and sends the network attribute information to the network module; the network attribute information is the attribute information of the network to which the user equipment is connected.
[0100] Step S702: Use the network module to connect to the network based on network attribute information and send the current network connection status to the control module.
[0101] Step S703: The control module sends the network connection status to the user equipment through the peripheral interface.
[0102] In this embodiment, the control module of the electronic device, through input electrical parameters adapted to the power output parameters of the power supply equipment and the power receiving parameters of the powered device, can not only reduce the risk of damage to the powered device caused by overvoltage, overcurrent, and overpower charging, but also dynamically adapt to the optimal power supply efficiency range of the powered device, thereby improving the charging efficiency of the powered device. Furthermore, each output interface corresponds to a second power chip, thus enabling independent control and parallel power supply of multiple output interfaces, reducing the risk of interference or power distribution conflicts caused by multiple devices sharing a power supply channel, and improving the charging safety of the powered device.
[0103] In the development of modern educational informatization, schools typically equip students with electronic devices to support teaching activities. These devices often require centralized management, including charging, system configuration, and status monitoring, to improve management efficiency and consistency in device usage. With the increasing number of devices, achieving efficient, safe, and flexible power control and unified management has become a pressing issue.
[0104] This application provides an Internet of Things (IoT) device (the electronic device in the above embodiment) that supports charging multiple devices, such as... Figures 6 to 8 As shown, the IoT device includes multiple power output ports 601, power input ports 602, USB-A ports 603, buttons 604, a display screen 605, and light-emitting diode (LED) lights 606; among which, The power output port 601 is a USB Type-C male connector, the power input port 602 is a USB Type-C female connector, and the USB-A port 603 is used to connect an external barcode scanner; the button 604 is used to reset the IoT device; the LED lights 606 correspond one-to-one with the power output port 601 and are used to display the connection status and power status; the display screen 605 is used to display the device connection status and device power information.
[0105] like Figure 9 As shown, the IoT device includes a SINK PD IC 901, an MCU 902, multiple PD ICs 903, multiple DC-DC modules 904, and an overcurrent and overvoltage module 905; among which, The SINK PD IC 901 features identification and spoofing capabilities and supports both PD3.0 and PD3.1 voltage level specifications. Supported power levels are PD3.0 45W, PD3.0 65W, PD3.0 100W, PD3.0 140W, PD3.1 140W, and PD3.1 180W. The SINK PD IC 901 can identify the power level and voltage of the IoT device's adapter and send this information to the MCU 902. The MCU 902 determines the charging parameters of each power output port 601 based on the power level and voltage of the adapter, and sends the charging parameters to the PD IC 903 corresponding to each power output port 601; the PD IC 903 corresponding to the power output port 601 charges the powered device according to the charging parameters.
[0106] In this embodiment of the application, the PD IC is responsible for configuring the output mode of the DCDC module, for example: With the adapter power rating, voltage, and current of the IoT device being PD3.0 45W, 20V, and 2.25A, the DC-DC converter is in direct-through mode, and the charging parameters for each power output port are 20V and 0.4A. With the adapter power rating, voltage, and current of the IoT device being PD3.0 65W, 20V, and 3.25A, the DC-DC converter operates in direct mode, and the charging parameters for each power output port are 20V and 0.6A. With the adapter power rating, voltage, and current of the IoT device being PD3.0 100W, 20V, and 5A, the DC-DC converter is in direct-through mode, and the charging parameters for each power output port are 20V and 0.95A. With the adapter power rating, voltage, and current of the IoT device being PD3.0 140W, 20V, and 7A, the DC-DC converter is in direct-through mode, and the charging parameters for each power output port are 20V and 1.35A. With the adapter power rating, voltage, and current of the IoT device being PD3.1 140W, 28V, and 5A, the DC-DC converter is in buck mode, and the charging parameters for each power output port are 20V and 1.2A. With the adapter power rating, voltage, and current of the IoT device being PD3.1 180W, 36V, and 5A, the DC-DC converter is in buck mode, and the charging parameters for each power output port are 20V and 1.62A.
[0107] In this embodiment, the IoT device has the function of reading the laptop's battery level. Specifically, the IoT device's PD IC periodically sends a Get NB Status command. Upon receiving this command, the laptop's EC (Electronic Control Unit) replies with Get NBStatus ACK, along with the laptop's designed battery capacity (Wh) and current battery capacity (Wh). The PD IC transmits this information to the MCU, calculates the battery percentage, and displays it on the LCD.
[0108] like Figure 10 As shown, the IoT device also includes an IoT module 1001 and a Serial Peripheral Interface Flash (SPI Flash) 1002; the IoT module 1001 supports connection to the network via Wi-Fi, providing network function support for the IoT device; the SPI Flash 1002 is used to store firmware.
[0109] In this embodiment, when the cloud pushes a firmware (FW) update for the IoT device itself, the IoT module downloads the FW and writes it to the SPI Flash. Then, it notifies the MCU via IIC that the FW writing operation is complete, and the MCU can perform the FW update.
[0110] In this embodiment of the application, when an IoT device is connected to a laptop, while providing charging functionality, the laptop can be woken up from its powered-off state via a PD wake-up command; for example... Figure 10 As shown, the MCU controls the USB2 Switch 1003 to make the IoT module 1001 recognized as a network device by the laptop via the USB-CDC protocol, thus providing network access services to the laptop.
[0111] In this embodiment, due to limitations of the USB protocol, a USB host in related technologies can only be attached to one USB device. This results in a USB device being unable to connect to multiple USB hosts, thus reducing resource utilization. To solve this problem, the MCU in this embodiment connects to multiple USB Type-C male connectors via a USB2 switch 1003. When a user's laptop is connected via a USB Type-C male connector, the MCU can select any one of the laptops for communication via the USB2 switch 1003, thereby enabling IoT devices to communicate with multiple laptops within a certain time frame.
[0112] like Figure 10 As shown, when an IoT device is first activated, a PC is required. Connect the IoT device to the USB-A port 603 via a USB-A cable, with one end connected and the other end connected to the PC. The PC will recognize the IoT device as a USB HID device. A configuration tool runs on the PC. Input the Wi-Fi name and password from the current network environment into the configuration tool. The configuration tool then sends this information to the MCU 902, which in turn writes the Wi-Fi name and password to the IoT module 1001. The IoT module 1001 connects to the Wi-Fi network based on the received information and ultimately returns status information to the PC configuration tool.
[0113] In this embodiment, the user manual for the IoT device records the URL for cloud management. By accessing the URL through a browser, completing registration, and logging into the website, the configured IoT device can be assigned to the user's organization. Furthermore, a series of operation commands can be issued from the cloud. Upon receiving these commands, the IoT module transmits them to the MCU, which then controls the peripheral circuitry to execute tasks and displays the results on the website page. The tasks issued from the cloud include: 1. Check the current firmware version of the IoT device, and whether a firmware update is needed if a new firmware version is available: like Figure 10 As shown, MCU 902 obtains the firmware version information from SPI Flash 1002 and PD IC 903 and sends it to IoT module 1001, which then sends it to the cloud for display. When an update is available, the cloud notifies that the new version can be updated. If an update is required, the new firmware is downloaded and transmitted to MCU 902 via IoT module 1001, and MCU 902 writes it to SPI Flash 1002 and PD IC 903 to complete the update.
[0114] 2. Check the output power of the power adapter connected to the charger: like Figure 9 and Figure 10 As shown, the power adapter of the IoT device is connected to the power input port 602. The SINK PD IC 901 of the IoT device communicates with the power adapter to confirm the power output capability and agrees to start supplying power to the IoT device. The MCU 902 communicates with the SINK PD IC 901 to obtain the output power information of the power adapter. The MCU 902 sends the information to the IoT module 1001, and the IoT module 1001 sends it to the cloud and displays it on the web.
[0115] 3. Check the device model, corresponding battery level, serial number, and power status information of the connected IoT devices, such as whether the device is powered on, in sleep mode, or powered off: like Figure 9 and Figure 10 As shown, the device to be charged can be connected to the Type-C interface corresponding to the power output port 601. For example, the device to be charged is connected to the interface corresponding to the power output port 601. The PD IC 901 corresponding to the power output port 601 communicates with the device being charged. The PD IC 901 obtains the device's power information, serial number information, power status information, etc., and sends this information to the MCU 902. The MCU 902 then sends it to the IoT module 1001, which in turn sends it to the cloud.
[0116] 4. Perform a reboot or factory reset via the IoT device. After a factory reset, the device disappears from the cloud and needs to be reconfigured. like Figure 10 As shown, the cloud sends a command, the IoT module 1001 receives the command and transmits the command to the MCU 902. The MCU 902 receives the command and sends the corresponding command to clear the user configuration data stored in the SPI Flash 1002. At the same time, the MCU 902 sends a clear configuration command to the IoT module 1001 to clear the Wi-Fi related information.
[0117] 5. Select to perform the following functions on a connected device: power off, restart, or restore factory settings: like Figure 10 As shown, the cloud sends a command, the IoT module 1001 receives the command, and sends the command to the MCU 902. The MCU 902 controls the PD IC 901 to send the corresponding command to the connected device to be charged, and the device to be charged executes the corresponding command and reports the result back to the PD IC 901. The PD IC 901 reports back to the MCU 902, the MCU 902 reports to the IoT module 1001, and finally the IoT module 1001 reports back to the cloud.
[0118] In some embodiments, such as Figure 11 As shown, this application provides a control method for an Internet of Things (IoT) device, which can be implemented through steps S1101 to S1104: Step S1101: Obtain the serial number / model of the laptop using a barcode scanner.
[0119] In this embodiment, administrators can input information from a laptop into an IoT device using a barcode scanner, and the IoT device will process the information and upload it to the Cloud.
[0120] In step S1102, the MCU captures and processes the laptop's serial number / model data and then transmits it to the IoT module.
[0121] In this embodiment, administrators can manage the data of laptops connected to IoT devices on the cloud.
[0122] In step S1103, the IoT module transmits the laptop serial number / model to the Cloud server via Wi-Fi.
[0123] Step S1104: Display the laptop serial number / model in the Cloud server.
[0124] In some embodiments, such as Figure 12 As shown, the control method for the above-mentioned IoT device can also be implemented through steps S1201 to S1203: In step S1201, the Cloud server sends control commands to the laptop connected to the IoT device.
[0125] In this embodiment, the administrator can choose to send control commands to one or more laptops simultaneously. The command types for these control commands include: 1. specifying which laptop to control; 2. powering off / powering on / resetting the system.
[0126] In step S1202, the IoT module 1001 receives a command from the Cloud server via WiFi.
[0127] In this embodiment, the IoT module receives command data from the cloud and then hands it over to the MCU for parsing.
[0128] Step S1203: The MCU parses the command and sends the control command to the laptop according to the command type.
[0129] In this embodiment, the MCU parses the command and sends the control command to the laptop according to the command type through the USB Human Interface Device (USB HID), which can realize the simultaneous control of multiple laptops.
[0130] like Figure 12 As shown, step S1203 can be achieved through steps S12031 to S12035: Step S12031: The MCU parses the command data; Step S12032: Confirm the target notebook and command type; In step S12033, the MCU controls the USB Switch 1003 to switch to the target laptop and establish a connection there; Step S12034: Send control commands via USB HID; Step S12035: Determine whether to control other devices.
[0131] In the case of yes, step S12032 is executed.
[0132] In some embodiments, such as Figure 13 As shown, the control method for the above-mentioned IoT device can also be implemented through steps S1301 to S1303: Step S1301: Cloud issues upgrade commands to IoT devices.
[0133] In step S1302, the IoT module 1001 receives the upgrade command, accesses the address given by the Cloud to download the firmware package, and stores the downloaded firmware package in SPIF LASH.
[0134] In step S1303, after receiving the command that the firmware download is complete, the MCU enters the upgrade mode and restores the device to normal status after the upgrade is completed.
[0135] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0136] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0137] The above are merely embodiments 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.
Claims
1. An electronic device, the electronic device comprising: The control module, input interface, multiple output interfaces, first power chip, and second power chip corresponding to each of the output interfaces; The input interface is connected to the control module through the first power chip; Multiple output interfaces are each connected to the control module via their respective second power supply chips; the input interface is connected to the multiple output interfaces to form at least two power supply lines; wherein... The first power chip is used to acquire input electrical parameters through the input interface; the input electrical parameters are adapted to the power output parameters of the power supply device connected to the input interface. The control module is used to determine power supply parameters based on the input electrical parameters and the power receiving parameters of the power receiving device connected to the output interface, and transmit the power supply parameters to the second power chip; the power receiving parameters are used to characterize the power receiving capability of the power receiving device. The second power chip is used to supply electrical energy from the power supply device to the power receiving device through the power supply line based on the power supply parameters.
2. The device according to claim 1, wherein the input electrical parameters include input current; the power receiving parameters include power receiving voltage; and the control module is configured to: The output current is determined based on the input current and the number of output interfaces; The received voltage is determined as the output voltage, and the output voltage and the output current are determined as the power supply parameters.
3. The device according to claim 2, wherein the input electrical parameters further include input voltage; the electronic device further includes a plurality of step-down modules corresponding one-to-one with the output interfaces; the plurality of step-down modules are respectively disposed on corresponding power supply lines; wherein, The second power chip is used to control the step-down module corresponding to the second power chip to step down the power of the power supply device if the output voltage of the power supply parameter is less than the input voltage, and to provide the stepped-down power to the power receiving device through the power supply line based on the power supply parameter.
4. The device according to claim 3, wherein the electronic device further includes a switching module corresponding to each of the output interfaces; the switching module is connected in parallel with its corresponding step-down module; wherein, The second power chip is used to control the switch module corresponding to the second power chip to close if the output voltage of the power supply parameter is equal to the input voltage, and to supply the power of the power supply device to the power receiving device through the power supply line and the power supply parameter.
5. The device according to claim 1, wherein the electronic device further includes a display module; wherein, The second power chip is further configured to send an information acquisition request to the controller of the powered device; receive attribute information of the powered device sent by the controller in response to the information acquisition request, and transmit the attribute information of the powered device to the control module; the attribute information includes the power information of the powered device and / or the identification information of the powered device; The control module is also used to control the display module to display the attribute information of the powered device.
6. The device according to claim 5, wherein the electronic device further includes a peripheral interface; the peripheral interface is connected to the control module; wherein, The peripheral interface is used to transmit the identification information of the powered device collected by the information acquisition device to the control module; The control module is also used to match the identification information of the powered device collected by the peripheral interface with the identification information sent by the controller of the powered device to obtain a matching result; The control module is also used to authenticate the powered device based on the matching result.
7. The device according to any one of claims 1 to 6, wherein the electronic device further comprises a network module; the network module is configured to receive a control command sent by a user equipment for a target power receiving device among the plurality of power receiving devices, and to transmit the control command to the control module; The control module is used to control the working state of the target power receiving device based on the control command.
8. The device according to claim 7, wherein the electronic device further comprises a signal switching module; the signal switching module is connected to the control module and to the plurality of output interfaces; wherein, The control module is used for: Based on the control command, determine the target power receiving device and the command type of the control command; The signal switching module is controlled to establish a communication connection with the target power receiving device; Control the target powered device to be in the working state corresponding to the instruction type.
9. The device according to claim 7, wherein the electronic device further includes a storage module; wherein, The network module is used to receive a firmware upgrade command carrying a firmware address sent by the user equipment; download the firmware to the storage module based on the firmware address; and send download completion information to the control module. The control module is used to perform firmware upgrades based on the firmware in the storage module in response to the download completion information.
10. The device according to claim 6, wherein the peripheral interface is further configured to connect to a user equipment; The control module is further configured to receive network attribute information sent by the user equipment through the peripheral interface, and send the network attribute information to the network module; the network attribute information is the attribute information of the network to which the user equipment is connected; The network module is used to connect to the network based on the network attribute information and send the current network connection status to the control module; The control module is used to send the network connection status to the user equipment through the peripheral interface.