Mobile power supply control method, device and system and mobile power supply

By detecting the access status changes of the mobile power interface and identifying and controlling the flow of electricity, the problem of repeated switching of the mobile power supply between charging and discharging modes is solved, reducing power loss and extending battery life.

CN120237758APending Publication Date: 2025-07-01ZHUHAI ISMARTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510351620.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

The mobile power supply is repeatedly switched between charge and discharge modes, resulting in invalid power loss and accelerated battery aging, reducing battery life.

Method used

By detecting the change in the access status between different interfaces of the mobile power supply, identify whether the input and output terminals are connected to the same cable, and control the flow of electrical energy between the interfaces to reduce the probability of repeated self-charge and self-discharge.

Benefits of technology

Reduces the power loss of the mobile power supply and extends the battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120237758A_ABST
    Figure CN120237758A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile power supply control method, device and system and a mobile power supply, and belongs to the technical field of charging. The control method of the mobile power supply comprises the following steps: starting timing in response to the fact that a first interface of the mobile power supply enters a first access state; when the timing duration of the first interface in the first access state is smaller than a first duration threshold value and it is detected that a second interface of the mobile power supply enters a second access state, the wiring detection results of the first interface and the second interface are obtained, and the first access state and the second access state are different; and when the wiring detection result is that the first interface and the second interface are connected with the same cable, controlling the mobile power supply to stop electric energy flow between the first interface and the second interface. According to the control method of the mobile power supply provided by the invention, whether different interfaces of the mobile power supply are connected with the same cable can be identified, electric energy flow between the interfaces is controlled, the electric quantity loss of the mobile power supply is reduced, and the service life of the mobile power supply is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of charging, and particularly relates to a control method, device, system and mobile power supply for a mobile power supply. Background Art

[0002] With the popularization of portable electronic devices, mobile power supplies have become indispensable power supply devices. During the use of a mobile power supply and the storage of a charging cable, it is possible that both ends of the charging cable are connected to the mobile power supply at the same time. However, since the mobile power supply enters the discharge mode when it detects the access of a device and enters the charging mode when it detects the access of a power supply, the above-mentioned use and storage methods will cause the mobile power supply to repeatedly switch between the charge and discharge modes, resulting in ineffective power consumption and accelerating the aging of the battery, reducing the battery life. Summary of the Invention

[0003] This application aims to solve at least one of the technical problems existing in the prior art. For this purpose, this application provides a control method, device, system and mobile power supply for a mobile power supply, which can identify whether different ports of the mobile power supply are connected to the same cable, thereby reducing the power consumption of the mobile power supply and extending the battery life.

[0004] In a first aspect, this application provides a control method for a mobile power supply, the method includes:

[0005] In response to a first interface of the mobile power supply entering a first access state, start timing;

[0006] When the timing duration of the first interface in the first access state is less than a first duration threshold and it is detected that a second interface of the mobile power supply enters a second access state, obtain a wiring detection result of the first interface and the second interface, where the first access state and the second access state are different;

[0007] When the wiring detection result is that the first interface and the second interface are connected to the same cable, control the mobile power supply to stop the power flow between the first interface and the second interface.

[0008] According to the control method for a mobile power supply provided by the embodiments of this application, by detecting whether there is a corresponding change in the access state between different interfaces of the mobile power supply within a short period of time, identifying whether the input and output ends of the mobile power supply are connected to the same cable according to the detection result, and controlling the power flow between the interfaces, the probability of the mobile power supply repeatedly charging and discharging itself is reduced, which helps to reduce the power consumption of the mobile power supply and extend the service life of the mobile power supply.

[0009] According to an embodiment of the present application, the first interface and the second interface are USB-C interfaces. When the first access state is a power supply state, the second access state is a power receiving state; or when the first access state is a power receiving state, the second access state is a power supply state. Obtaining the wiring detection result of the first interface and the second interface includes:

[0010] Determine that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0011] According to an embodiment of the present application, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. Obtaining the wiring detection result of the first interface and the second interface includes:

[0012] Control the first interface to stop power output and start timing;

[0013] When the timing duration of the first interface stopping power output is less than the second duration threshold, and it is detected that the second interface stops power input, determine that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0014] According to an embodiment of the present application, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. Obtaining the wiring detection result of the first interface and the second interface includes:

[0015] When the timing duration of the first interface stopping power output is less than the second duration threshold, and it is not detected that the second interface stops power input, determine that the wiring detection result is that the first interface and the second interface are not connected to the same cable;

[0016] Control the first interface to resume power output.

[0017] According to an embodiment of the present application, the second duration threshold is determined based on the types of the first interface and the second interface.

[0018] According to an embodiment of the present application, after controlling the mobile power supply to stop the power flow between the first interface and the second interface, the method further includes:

[0019] Control the mobile power supply to stop the power flow between the first interface and the second interface until the first interface re-enters the first access state.

[0020] In a second aspect, the present application provides a control device for a mobile power supply, the device comprising:

[0021] A first processing module, configured to start timing in response to a first interface of the mobile power supply entering a first access state;

[0022] A second processing module, configured to obtain a wiring detection result of the first interface and the second interface when the timing duration of the first interface in the first access state is less than a first duration threshold and it is detected that a second interface of the mobile power supply enters a second access state, wherein the first access state and the second access state are different;

[0023] A third processing module, configured to control the mobile power supply to stop the power flow between the first interface and the second interface when the wiring detection result indicates that the first interface and the second interface are connected to the same cable.

[0024] According to the control device for a mobile power supply provided by an embodiment of the present application, by detecting whether there are corresponding changes in the access states between different interfaces of the mobile power supply within a short period of time, identifying whether the input and output ends of the mobile power supply are connected to the same cable according to the detection result, and controlling the power flow between the interfaces, the probability of the mobile power supply repeatedly charging and discharging itself is reduced, which helps to reduce the power consumption of the mobile power supply and extend the service life of the mobile power supply.

[0025] According to an embodiment of the present application, the first interface and the second interface are USB-C interfaces. When the first access state is a power supply state, the second access state is a power receiving state; or, when the first access state is a power receiving state, the second access state is a power supply state. The second processing module is configured to obtain the wiring detection result of the first interface and the second interface, including:

[0026] Determining that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0027] According to an embodiment of the present application, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. The second processing module is configured to obtain the wiring detection result of the first interface and the second interface, including:

[0028] Controlling the first interface to stop power output and starting timing;

[0029] When the timing duration of the first interface stopping power output is less than a second duration threshold and it is detected that the second interface stops power input, determining that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0030] In a third aspect, the present application provides a control system for a mobile power supply, including:

[0031] A plugging and unplugging detection module, which is connected to the first interface and the second interface of the mobile power supply, and is used to detect the connection status of the first interface and the second interface;

[0032] A self-charging judgment module, which is connected to the plugging and unplugging detection module. The plugging and unplugging detection module is used to output the connection status of the first interface and the second interface to the self-charging judgment module, so that the self-charging judgment module can judge whether the first interface and the second interface are connected to the same cable, and obtain the wiring detection result of the first interface and the second interface;

[0033] A digital control module, which is connected to the plugging and unplugging detection module and the self-charging judgment module. The plugging and unplugging detection module is used to output the connection status of the first interface and the second interface to the digital control module, and the self-charging judgment module is used to output the detection result of whether the first interface and the second interface are connected to the same cable to the digital control module;

[0034] An input / output module, which is connected to the digital control module. The digital control module is used to input a control instruction to the input / output module based on at least one of the connection status of the first interface and the second interface and the detection result of whether the first interface and the second interface are connected to the same cable, so that the input / output module can control the input / output status of the first interface and the second interface;

[0035] Wherein, the self-charging judgment module is used to start timing in response to the first interface of the mobile power supply entering the first access state; when the timing duration of the first interface in the first access state is less than the first duration threshold and it is detected that the second interface of the mobile power supply enters the second access state, the wiring detection result of the first interface and the second interface is obtained, and the first access state and the second access state are different; when the wiring detection result is that the first interface and the second interface are connected to the same cable, the mobile power supply is controlled to stop the power flow between the first interface and the second interface.

[0036] According to the control system of the mobile power supply provided by the embodiments of the present application, by detecting whether there are corresponding changes in the access states between different interfaces of the mobile power supply within a short period of time, it is identified whether the input and output ends of the mobile power supply are connected to the same cable according to the detection result, and the flow of electric energy between the interfaces is controlled, reducing the probability of the mobile power supply repeatedly charging and discharging itself, which helps to reduce the power consumption of the mobile power supply and extend the service life of the mobile power supply.

[0037] In a fourth aspect, the present application provides a mobile power supply, including:

[0038] The control device of the mobile power supply as described in the second aspect or the control system of the mobile power supply as described in the third aspect.

[0039] According to the mobile power supply provided by the embodiments of the present application, by detecting whether there are corresponding changes in the access states between different interfaces of the mobile power supply within a short period of time, it is identified whether the input and output ends of the mobile power supply are connected to the same cable according to the detection result, and the flow of electric energy between the interfaces is controlled, reducing the probability of the mobile power supply repeatedly charging and discharging itself, which helps to reduce the power consumption of the mobile power supply and extend the service life of the mobile power supply.

[0040] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0042] Figure 1 is one of the schematic flowcharts of the control method of the mobile power supply provided by the embodiments of the present application;

[0043] Figure 2 is another schematic flowchart of the control method of the mobile power supply provided by the embodiments of the present application;

[0044] Figure 3 is yet another schematic flowchart of the control method of the mobile power supply provided by the embodiments of the present application;

[0045] Figure 4 is still another schematic flowchart of the control method of the mobile power supply provided by the embodiments of the present application;

[0046] Figure 5 is the schematic structural diagram of the control device of the mobile power supply provided by the embodiments of the present application;

[0047] Figure 6 is the schematic structural diagram of the control system of the mobile power supply provided by the embodiments of the present application;

[0048] Figure 7 It is a circuit schematic diagram of the control system of the mobile power supply provided by the embodiment of the present application;

[0049] Figure 8 It is one of the structural schematic diagrams of the mobile power supply provided by the embodiment of the present application;

[0050] Figure 9 It is the second structural schematic diagram of the mobile power supply provided by the embodiment of the present application.

[0051] Reference numerals:

[0052] Control device 500, first processing module 510, second processing module 520, third processing module 530,

[0053] Control system 600, plug detection module 610, self-charging judgment module 620, digital control module 630, input / output module 640, pull-up unit 650,

[0054] Mobile power supply 800. Detailed implementation manners

[0055] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0056] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0057] Connecting both ends of the charging cable to the body of the mobile power supply 800 at the same time will cause the mobile power supply 800 to repeatedly switch between the charging and discharging modes, resulting in ineffective power consumption, and will also cause the battery to age rapidly and reduce the battery life.

[0058] The embodiment of the present application proposes a control method for the mobile power supply 800, which can identify whether different ports of the mobile power supply 800 are connected to the same cable, thereby reducing the power consumption of the mobile power supply 800 and extending the battery life.

[0059] The control method of the mobile power supply 800 provided by the embodiments of the present application. The execution subject of the control method of the mobile power supply 800 can be the mobile power supply 800 or a functional module or entity in the mobile power supply 800 that can implement the control method function of the mobile power supply 800. The mobile power supply 800 mentioned in the embodiments of the present application includes, but is not limited to, lithium-ion battery mobile power supplies 800, polymer battery mobile power supplies 800, solar mobile power supplies 800, etc.

[0060] As Figure 1 shown, the control method of the mobile power supply 800 includes: step 110, step 120, and step 130.

[0061] Step 110: Start timing in response to the first interface of the mobile power supply 800 entering the first access state.

[0062] Step 120: When the timing duration of the first interface in the first access state is less than the first duration threshold and it is detected that the second interface of the mobile power supply 800 enters the second access state, obtain the wiring detection result of the first interface and the second interface. The first access state and the second access state are different;

[0063] Step 130: When the wiring detection result is that the first interface and the second interface are connected to the same cable, control the mobile power supply 800 to stop the power flow between the first interface and the second interface.

[0064] Among them, the mobile power supply 800 is a portable device with a rechargeable battery built-in, which can provide power support for various devices (such as smartphones, tablets, digital cameras, etc.) in the absence of a fixed power supply.

[0065] The interface of the mobile power supply 800 is a physical connection port for the mobile power supply 800 to input and output electric energy, and is used to connect cables or devices.

[0066] In actual implementation, the mobile power supply 800 can be equipped with various types of interfaces to meet the usage requirements of different devices. For example, the mobile power supply 800 can include one or more types of interfaces such as USB-A, USB-C, Micro-USB, and Lightning.

[0067] It should be noted that the mobile power supply 800 can supply power to devices through the connected cable, or can also charge the mobile power supply 800.

[0068] Step 110: Start timing in response to the first interface of the mobile power supply 800 entering the first access state.

[0069] Among them, the first interface can be any interface provided on the mobile power supply 800.

[0070] In actual implementation, the mobile power supply 800 can monitor the access status of each interface in real time. The access status is used to represent whether the interface outputs or inputs electrical energy when connecting a cable.

[0071] In this embodiment, it is detected that a cable is connected to the first interface of the mobile power supply 800, and it is determined whether the access status when the cable is connected to the first interface is an output electrical energy access status or an input electrical energy access status, that is, the first access status can be output electrical energy or input electrical energy.

[0072] In step 110, it is detected that the first interface of the mobile power supply 800 enters the first access status, starts timing, and records the duration when the first interface enters the first access status.

[0073] It should be noted that in response to the first interface entering the first access status, timing is started, and the timing is an immediate response action when the first interface enters the first access status.

[0074] In actual implementation, in response to the first interface entering the first access status, the timer of the mobile power supply 800 itself can be started to start timing.

[0075] Step 120: When the timing duration when the first interface is in the first access status is less than the first duration threshold and it is detected that the second interface of the mobile power supply 800 enters the second access status, obtain the wiring detection results of the first interface and the second interface. The first access status and the second access status are different.

[0076] It should be noted that the second interface can be any interface other than the first interface provided on the mobile power supply 800.

[0077] The second access status is the access status entered by the second interface of the mobile power supply 800, which is different from the first access status and has a corresponding relationship with the first access status.

[0078] In this embodiment, after starting to record the duration when the first interface enters the first access status, the access status of the interfaces other than the first interface on the mobile power supply 800 is detected. If the second interface of the mobile power supply 800 enters a second access status different from the first access status within a relatively short duration less than the first duration threshold, it indicates that the status change of the second interface may be related to the status change of the first interface, that is, the access status of the second interface changes accordingly with the change of the access status of the first interface.

[0079] It can be understood that the access status of the interfaces on the mobile power supply 800 is divided into output electrical energy and input electrical energy. The first access status and the second access status are different. When the first access status corresponds to the output electrical energy status, the second access status corresponds to the input electrical energy status; when the first access status corresponds to the input electrical energy status, the second access status corresponds to the output electrical energy status.

[0080] For example, for a dual USB-C connection where both the first interface and the second interface are USB-C interfaces, if the first access state is a power supply state, then the second access state is a power receiving state; for a non-dual USB-C connection where at least one of the first interface and the second interface is not a USB-C interface, if the first access state is a power output state, then the second access state is a power input state.

[0081] If it is detected that the second interface of the mobile power supply 800 enters the second access state within the first duration threshold when the first interface is in the first access state, then obtain the wiring detection results of the first interface and the second interface to determine the wiring conditions of the two interfaces.

[0082] Step 130, in the case where the wiring detection result is that the first interface and the second interface are connected to the same cable, control the mobile power supply 800 to stop the power flow between the first interface and the second interface.

[0083] It can be understood that stopping the power flow between the first interface and the second interface can mean closing the input or output of the first interface and closing the input or output of the second interface.

[0084] In this step, if the obtained detection result is that the first interface and the second interface are connected to the same cable, the power flow between the two interfaces will be stopped, reducing the power loss of the mobile power supply 800 caused by being connected to the same cable.

[0085] A specific embodiment is introduced below.

[0086] A certain mobile power supply 800 has two USB-A interfaces and one USB-C interface. The USB-A interface can output power, and the USB-C interface can input power. The first duration threshold is set to 0.5 s.

[0087] In this embodiment, if any one of the two USB-A interfaces enters the power output state, that is, the mobile power supply 800 has the first interface accessing the first access state, the timer of the mobile power supply 800 starts timing.

[0088] At 0.3 s, the USB-C interface enters the power input state. 0.3 s is less than the first duration threshold of 0.5 s. There is a situation where the second interface of the mobile power supply 800 accesses the second access state. At this time, the wiring detection results of the first interface and the second interface will be obtained, and the power flow of the two interfaces will be controlled according to the wiring detection results.

[0089] During the use of the mobile power supply 800, it may occur that both ends of the cable are connected to the mobile power supply 800. This situation will cause the mobile power supply 800 to repeatedly switch between the charging and discharging modes, resulting in power loss, and will also cause the battery to age rapidly and reduce the battery life.

[0090] In the related art, the access situation at both ends of the cable can be judged by real-time monitoring of the voltage difference or the voltage change rate at both ends of the cable. However, in actual use, the voltage change at the cable port is difficult to predict and the situation is complex. This solution cannot achieve accurate and rapid identification, and may also result in misjudgment, affecting normal use.

[0091] In the embodiment of the present application, in response to the first interface of the mobile power supply 800 entering the first access state, timing is started; when the timing duration of the first interface in the first access state is less than the first duration threshold and it is detected that the second interface of the mobile power supply 800 enters the second access state, the wiring detection results of the first interface and the second interface are obtained, and the first access state and the second access state are different; when the wiring detection result is that the first interface and the second interface are connected to the same cable, the mobile power supply 800 is controlled to stop the power flow between the first interface and the second interface. By detecting whether the second interface of the mobile power supply 800 enters the second access state corresponding to the first access state within a preset short duration (the first duration threshold), it is judged whether the first interface and the second interface are connected to the same cable, and when the first interface and the second interface are connected to the same cable, the power flow between the two interfaces is turned off, which can achieve accurate and rapid identification of the situation where both ends of the cable are connected to the mobile power supply 800 at the same time, and reduce the power loss of the mobile power supply 800 and extend the battery life.

[0092] According to the control method of the mobile power supply 800 provided by the embodiment of the present application, by detecting whether there is a corresponding change in the access state between different interfaces of the mobile power supply 800 within a short time, it is identified whether the input and output ends of the mobile power supply 800 are connected to the same cable according to the detection result, and the power flow between the interfaces is controlled, reducing the probability of the mobile power supply 800 repeatedly charging and discharging itself, which helps to reduce the power loss of the mobile power supply 800 and extend the service life of the mobile power supply 800.

[0093] The following specifically describes the embodiments of the present application from two different implementation perspectives.

[0094] 1. Dual USB-C interface connection.

[0095] In some embodiments, the first interface and the second interface are USB-C interfaces. When the first access state is the power supply state, the second access state is the power receiving state;

[0096] Alternatively, when the first connection state is the power receiving state, the second connection state is the power supply state.

[0097] Obtaining a wiring detection result of the first interface and the second interface includes: determining that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0098] Among them, the USB-C interface, also known as the Type-C interface, can support reversible plugging and unplugging, and has functions such as data transmission, power supply and video output. The USB-C interface simplifies the connection method and is suitable for a variety of devices.

[0099] In addition, the USB-C interface supports bidirectional power supply and can switch between the power receiving state and the power supply state as needed.

[0100] Among them, the power receiving state is also called Sink Mode. At this time, the interface receives power from an external power source. For example, a mobile phone is charged through the USB-C interface, or a laptop is charged by connecting a power adapter through the USB-C interface.

[0101] The power supply state is also called Source Mode. At this time, the interface provides power to the outside through the USB-C interface. For example, a laptop charges a mobile phone through the USB-C interface, or a monitor powers a connected device through the USB-C interface.

[0102] In this embodiment, in the detection of two USB-C interfaces connected to the same cable, the first access state of the first interface corresponds to the second access state of the second interface. When the first access state is the power supply state, the second access state is the power receiving state, or when the first access state is the power receiving state, the second access state is the power supply state.

[0103] For example, Figure 2 As shown, when the first interface is detected to enter the power receiving state, the timing is started. Within the timing duration less than the first duration threshold, if the second interface is detected to enter the power supply state, the wiring detection result is determined to be that the first interface and the second interface are connected to the same cable.

[0104] If the second interface is not detected to enter the power supply state within a timing time that is less than the first time threshold, it can be determined that the first interface and the second interface are not connected to the same cable.

[0105] In actual implementation, Figure 2 As shown, if it is determined that the first interface and the second interface are connected to the same cable, the mobile power supply 800 can control to stop the flow of power between the first interface and the second interface, that is, no power is supplied, which will not affect other existing output ports. Only the first interface and the second interface cannot open the output until the connection of the first interface or the second interface is disconnected.

[0106] If it is determined that the first interface and the second interface are not connected to the same cable, the mobile power supply 800 can control the first interface and the second interface to perform normal power input and output.

[0107] In this embodiment, by detecting and timing the power receiving state and power supply state of the first interface and the second interface, it is possible to quickly identify whether the two USB-C interfaces are connected to the same cable, stop the power flow between the two interfaces, and reduce power consumption.

[0108] II. Non-dual USB-C interface connection.

[0109] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface, the first access state is a power output state, and the second access state is a power input state. As Figure 3 shown, obtaining the wiring detection results of the first interface and the second interface includes:

[0110] Step 140: Control the first interface to stop power output and start timing;

[0111] Step 150: When the timing duration of the first interface stopping power output is less than the second duration threshold, if it is detected that the second interface stops power input, determine that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0112] For the case where at least one of the first interface and the second interface is a non-USB-C interface, that is, a non-dual USB-C interface connection, the control method includes steps 110 to 150.

[0113] It can be understood that a non-USB-C interface is other types of interfaces except USB-C interfaces, and can have different interface forms and transmission performances.

[0114] For example, USB-A, Micro-USB, Mini-USB, and Lightning interfaces, etc.

[0115] A non-USB-C interface can have different access states. For example, a power input state and a power output state.

[0116] Among them, the power input state refers to the state when the non-USB-C interface is a power receiving end. At this time, the interface obtains electric energy from an external power source (such as a charger). For example, a mobile phone charges through a Micro-USB interface, and a table lamp obtains the electric energy required to light the lamp tube through a USB-A interface, etc.;

[0117] The power output state refers to the state when a non-USB-C interface serves as the power supply end. At this time, the interface outputs electrical energy to external devices (such as external hard drives, other electronic devices) to provide them with power support. For example, the USB-A interface of a computer powers a mouse, and the USB-A interface of a monitor powers a mobile phone, etc.

[0118] In this embodiment, as Figure 4 shown, in the detection process of connecting the same cable to non-dual USB-C interfaces, the first access state of the first interface is the power output state, and the second access state of the second interface is the power input state.

[0119] It should be noted that for the case of connecting the same cable to non-dual USB-C interfaces, if one interface does not enter the power output state, the other interface will not enter the power input state either. That is, in the specific detection process, when the two interfaces are connected to the same cable at the same time, the mobile power supply 800 will first detect that the first interface enters the power output state, and then detect that the second interface enters the power input state.

[0120] In step 140, control the first interface to stop power output and start timing.

[0121] Starting the timing is an immediate response action to the first interface stopping power output, and the duration obtained by this timing action is the duration of the first interface stopping power output.

[0122] In this embodiment, this timing action can be implemented by setting a timer in the mobile power supply 800.

[0123] In step 150, when the timing duration of the first interface stopping power output is less than the second duration threshold, it is detected that the second interface stops power input, and it is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0124] It can be understood that the timing action will not continue indefinitely. By setting an upper limit on the timing duration, the power consumption caused by the timing action for too long can be reduced.

[0125] The specific value of the upper limit of the timing duration can be determined according to the actual situation.

[0126] If it is detected that the second interface of the mobile power supply 800 stops power output within the second duration threshold of the first interface stopping power output, it proves that the second interface stopping power input is related to the first interface stopping power output, and it is determined that the two interfaces are connected to the same cable, and the power flow between the two interfaces is stopped.

[0127] In this embodiment, by detecting and timing the access states of the first interface and the second interface, it is possible to quickly identify the connection of the same cable to non-dual USB-C interfaces, and stop the power flow between the two interfaces, reducing power consumption.

[0128] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface, the first access state is a power output state, the second access state is a power input state, and obtaining the wiring detection results of the first interface and the second interface includes:

[0129] When the timing duration of the first interface stopping power output is less than the second duration threshold and the second interface stopping power input is not detected, it is determined that the wiring detection result is that the first interface and the second interface are not connected to the same cable;

[0130] Control the first interface to resume power output.

[0131] In this embodiment, for the case of non-dual USB-C interfaces, in order not to affect the normal use of the mobile power supply 800 by the detection of the connection of the same cable to the interfaces, the above method is set for the case where the interfaces are not connected to the same cable.

[0132] The following is an introduction with a specific usage scenario as an example.

[0133] For a certain mobile power supply 800, both the first duration threshold and the second duration threshold are 0.5 s. Charge the mobile phone through the USB-A interface (i.e., the first interface), and turn on the switch of the charger of the mobile power supply 800 0.4 s after access. Charge the mobile power supply 800 through the USB-C interface (i.e., the second interface). At this time, the USB-A interface will stop power output and start timing, affecting the normal use of the mobile power supply 800.

[0134] After the USB-A interface stops power output, if the charger continues to charge the mobile power supply 800, that is, within the second duration threshold of the USB-A interface (the first interface) stopping output, the USB-C interface (the second interface) does not exit the power input state. Based on this, it is determined that the two interfaces are not connected to the same cable.

[0135] At this time, control the USB-A interface to resume power output, and the mobile power supply 800 can work normally.

[0136] In this embodiment, by detecting the case where the interfaces are not connected to the same cable, it is possible not to affect the normal use of the mobile power supply 800 by the detection of the connection of the same cable to the interfaces.

[0137] In some embodiments, the first duration threshold is determined based on the types of the first interface and the second interface.

[0138] In this embodiment, the first duration threshold can be adjusted according to actual usage conditions. For different types of interfaces, different first duration thresholds can be set according to their interface characteristics and response speeds.

[0139] It can be understood that if the first duration threshold is set too long, the situation of misjudging the normal access of the second interface will increase, affecting the normal use of the mobile power supply 800.

[0140] For example, set the first duration threshold to 3s. Use a USB-C interface (the first interface) in the mobile power supply 800 to charge a mobile phone. When it is detected that the first interface enters the power output state, start timing. After 2s, use another USB-C interface (the second interface) to charge the mobile power supply 800. When it is detected that the second interface enters the power input state, the timing duration at this time is 2s, which is less than the first duration threshold, and it is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable, that is, the above normal access operation will be misjudged.

[0141] It can be understood that for the case where the first interface and the second interface are connected to the same cable, in response to the first interface entering the first access state, the second interface will quickly enter the second access state, and its response speed is much higher than that of normal operations. The first duration threshold can be set to a shorter time according to the actual response speed to distinguish the situation where the two interfaces are connected to the same cable from the normal connection situation.

[0142] For example, when the first interface and the second interface are connected to the same cable, if the first interface enters the power output state, the second interface will enter the power input state within 0.1s, then the first duration threshold can be set to 0.2s.

[0143] In this embodiment, the specific value of the first duration threshold can be determined according to the interface characteristics and response speeds of the first interface and the second interface. By setting a reasonable first duration threshold, the situation where the two interfaces are connected to the same cable can be distinguished from the normal connection situation, reducing the number of misjudgments in actual use.

[0144] In some embodiments, the second duration threshold is determined based on the types of the first interface and the second interface.

[0145] In this embodiment, the second duration threshold can be adjusted according to actual usage conditions. For different types of interfaces, different second duration thresholds can be set according to their interface characteristics and response speeds.

[0146] The specific value of the second duration threshold can be determined according to the interface characteristics and response speeds of the first interface and the second interface. By setting a reasonable second duration threshold, the situation where the two interfaces are connected to the same cable can be distinguished from the normal connection situation, reducing the number of misjudgments in actual use.

[0147] In some embodiments, after controlling the mobile power supply 800 to stop the power flow between the first interface and the second interface, the method further includes:

[0148] Controlling the mobile power supply 800 to stop the power flow between the first interface and the second interface until the first interface re-enters the first access state.

[0149] In this embodiment, as Figure 4 shown, after determining that the first interface and the second interface are connected to the same cable, the mobile power supply 800 can control the power flow between the first interface and the second interface, that is, stop and maintain the output state of the first interface or the output state of the second interface until one interface re-enters the first access state.

[0150] The first interface re-entering the first access state may be reconnecting to an electrical device other than the mobile power supply 800. After the first interface re-enters the first access state, normal output can be performed.

[0151] For example, after confirming that the USB-A interface and the USB-C interface are connected to the same cable and the USB-A interface has stopped power output, one can unplug the end of the cable connected to the USB-C interface and connect this end to other electrical devices, or unplug the end of the cable connected to the USB-A interface and use a new cable to connect other electrical devices to the USB-A interface.

[0152] In this embodiment, after determining that the first interface and the second interface are connected to the same cable, by controlling the power flow between the first interface and the second interface, the power consumption in this scenario is reduced; after the first interface re-enters the power output state, by controlling the power output of the first interface, normal use after disconnecting from the same cable can be achieved.

[0153] For the control method of the mobile power supply 800 provided in the embodiments of the present application, the execution subject may be the control device 500 of the mobile power supply 800. In the embodiments of the present application, taking the control device 500 of the mobile power supply 800 to execute the control method of the mobile power supply 800 as an example, the control device 500 of the mobile power supply 800 provided in the embodiments of the present application is described.

[0154] The embodiments of the present application further provide a control device 500 for a mobile power supply 800.

[0155] As Figure 5 shown, the control device 500 of the mobile power supply 800 includes: a first processing module 510, a second processing module 520, and a third processing module 530.

[0156] The first processing module 510 is configured to start timing in response to the first interface of the mobile power supply 800 entering the first access state;

[0157] The second processing module 520 is configured to, when the timing duration of the first interface in the first access state is less than the first duration threshold and it is detected that the second interface of the mobile power supply 800 enters the second access state, obtain the wiring detection result of the first interface and the second interface, where the first access state and the second access state are different;

[0158] The third processing module 530 is configured to, when the wiring detection result is that the first interface and the second interface are connected to the same cable, control the mobile power supply 800 to stop the power flow between the first interface and the second interface.

[0159] According to the control device 500 of the mobile power supply 800 provided by the embodiment of the present application, by detecting whether there is a corresponding change in the access state between different interfaces of the mobile power supply 800 within a short period of time, identifying whether the input and output ends of the mobile power supply 800 are connected to the same cable according to the detection result, and controlling the power flow between the interfaces, the probability of the mobile power supply 800 repeatedly charging and discharging itself is reduced, which helps to reduce the power consumption of the mobile power supply 800 and extend the service life of the mobile power supply 800.

[0160] In some embodiments, the first interface and the second interface are USB-C interfaces. When the first access state is the power supply state, the second access state is the power receiving state; or, when the first access state is the power receiving state, the second access state is the power supply state. The second processing module 520 is configured to obtain the wiring detection result of the first interface and the second interface, including:

[0161] Determine that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0162] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is the power output state, and the second access state is the power input state. The second processing module 520 is configured to obtain the wiring detection result of the first interface and the second interface, including:

[0163] Control the first interface to stop power output and start timing;

[0164] When the timing duration of the first interface stopping power output is less than the second duration threshold and it is detected that the second interface stops power input, determine that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0165] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. The second processing module 520 is configured to obtain the wiring detection results of the first interface and the second interface, including:

[0166] When the timing duration of the first interface stopping power output is less than the second duration threshold and the second interface stopping power input is not detected, it is determined that the wiring detection result is that the first interface and the second interface are not connected to the same cable;

[0167] Control the first interface to resume power output.

[0168] In some embodiments, the second duration threshold is determined based on the types of the first interface and the second interface.

[0169] In some embodiments, after the third processing module 530 controls the power flow between the first interface and the second interface of the mobile power supply 800 to stop, it further includes:

[0170] Control the mobile power supply 800 to stop the power flow between the first interface and the second interface until the first interface re-enters the first access state.

[0171] An embodiment of the present application further provides a control system 600 for a mobile power supply 800. The control system 600 for the mobile power supply 800 can execute the control method of the mobile power supply 800 described above.

[0172] As Figure 6 shown, the control system 600 for the mobile power supply 800 includes: a plugging and unplugging detection module 610, a self-charging judgment module 620, a digital control module 630, and an input / output module 640.

[0173] The plugging and unplugging detection module 610 is connected to the first interface and the second interface of the mobile power supply 800. The plugging and unplugging detection module 610 is configured to detect the connection state of the first interface and the second interface;

[0174] The self-charging judgment module 620 is connected to the plugging and unplugging detection module 610. The plugging and unplugging detection module 610 is configured to output the connection state of the first interface and the second interface to the self-charging judgment module 620 for the self-charging judgment module 620 to judge whether the first interface and the second interface are connected to the same cable and obtain the wiring detection results of the first interface and the second interface;

[0175] The digital control module 630 is connected to the plug - in detection module 610 and the self - charging judgment module 620. The plug - in detection module 610 is used to output the connection status of the first interface and the second interface to the digital control module 630. The self - charging judgment module 620 is used to output the detection result of whether the first interface and the second interface are connected to the same cable to the digital control module 630;

[0176] The input - output module 640 is connected to the digital control module 630. The digital control module 630 is used to input a control instruction to the input - output module 640 based on at least one of the connection status of the first interface and the second interface and the detection result of whether the first interface and the second interface are connected to the same cable, so that the input - output module 640 controls the input - output status of the first interface and the second interface;

[0177] Among them, the self - charging judgment module 620 is used to start timing in response to the first interface of the mobile power supply 800 entering the first access state; when the timing duration of the first interface in the first access state is less than the first duration threshold and it is detected that the second interface of the mobile power supply 800 enters the second access state, the wiring detection result of the first interface and the second interface is obtained, and the first access state and the second access state are different; in the case where the wiring detection result is that the first interface and the second interface are connected to the same cable, the mobile power supply 800 is controlled to stop the power flow between the first interface and the second interface.

[0178] The plug - in detection module 610 can detect the connection status of the interface.

[0179] The connection status can be different access states of the interfaces on the mobile power supply 800, such as the power supply state, the power - receiving state, the power output state and the power output state, as well as the access and removal of the interfaces.

[0180] The digital control module 630 can control the opening and closing of the detection function of the plug - in detection module 610.

[0181] In actual execution, when an interface is in the closed state, that is, the interface is not connected to any cable or device, the digital control module 630 can control the plug - in detection module 610 to turn on the access detection function to detect the access of the cable or device at the interface; when an interface is in the open state, that is, the interface has been connected to a cable or device and is performing input or output, the digital control module 630 can control the plug - in detection module 610 to turn on the removal detection function to detect the removal of the cable or device at the interface.

[0182] According to the control system 600 of the power bank 800 provided by the embodiments of the present application, by detecting whether there are corresponding changes in the access states between different interfaces of the power bank 800 within a short period of time, identifying whether the input and output ends of the power bank 800 are connected to the same cable according to the detection results, and controlling the flow of electric energy between the interfaces, the probability of the power bank 800 repeatedly charging and discharging itself is reduced, which helps to reduce the power loss of the power bank 800 and extend the service life of the power bank 800.

[0183] In some embodiments, the first interface and the second interface are USB-C interfaces. When the first access state is a power supply state, the second access state is a power receiving state; or, when the first access state is a power receiving state, the second access state is a power supply state. The self-charging judgment module 620 obtains the wiring detection results of the first interface and the second interface, including:

[0184] Determining that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0185] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. The self-charging judgment module 620 obtains the wiring detection results of the first interface and the second interface, including:

[0186] Controlling the first interface to stop power output and starting timing;

[0187] When the timing duration of the first interface stopping power output is less than the second duration threshold, detecting that the second interface stops power input, and determining that the wiring detection result is that the first interface and the second interface are connected to the same cable.

[0188] In some embodiments, at least one of the first interface and the second interface is a non-USB-C interface. The first access state is a power output state, and the second access state is a power input state. The self-charging judgment module 620 obtains the wiring detection results of the first interface and the second interface, including:

[0189] When the timing duration of the first interface stopping power output is less than the second duration threshold, and it is not detected that the second interface stops power input, determining that the wiring detection result is that the first interface and the second interface are not connected to the same cable;

[0190] Controlling the first interface to resume power output.

[0191] In some embodiments, the second duration threshold is determined based on the types of the first interface and the second interface.

[0192] In some embodiments, after the digital control module 630 controls the power bank 800 to stop the flow of electric energy between the first interface and the second interface, it further includes:

[0193] Control the power bank 800 to stop the power flow between the first interface and the second interface until the first interface re-enters the first access state.

[0194] Take the plug-and-play detection module 610 detecting the access state of a non-dual USB-C interface by level detection as an example.

[0195] As Figure 7 shown, the plug-and-play detection module 610 is provided with a pull-up unit 650. VBUS1 is the first interface (output port), VBUS2 is the second interface (input port), and the resistors R1, R2, R3, R4, capacitors C1, C2, comparators U1, U2, and the pull-up unit 650 connected between VBUS1 and VBUS2 are functional units in the plug-and-play detection module 610.

[0196] When the plug-and-play detection module 610 turns on the access detection function of VBUS1, the level of VBUS1 is pulled up by the pull-up unit 650. When a cable or device is connected, the level of VBUS1 will be pulled down. At this time, VBUS1 divides the voltage through the two resistors R1 and R2 and transmits the result to the comparator U1. Since the level of VBUS1 is lower than Verf1, the comparator U1 outputs a high level at this time, indicating that a cable or device is connected to the interface at this time.

[0197] The plug-and-play detection module 610 outputs this result to the digital control module 630 and the self-charging judgment module 620. The digital control module 630 controls the input / output module 640 to turn on the power output M1 of VBUS1. At the same time, after receiving the comparison result of U1, the self-charging judgment module 620 immediately starts timing ta.

[0198] If the plug-and-play detection module 610 detects that there is a cable or device connected to VBUS2 at this time and outputs this result to the digital control module 630 and the self-charging judgment module 620, if ta is less than the first duration threshold t1, the self-charging judgment module 620 starts to obtain the wiring detection result.

[0199] The digital control module 630 controls the input / output module 640 to turn off the power output M2 of VBUS2. At the same time, the self-charging judgment module 620 starts timing t. If it detects that the level of VBUS2 is lower than Verf2, the comparator U2 outputs a low level at this time, indicating that the cable or device connected to VBUS2 is disconnected. And if tb is less than the second duration threshold t2 at this time, the self-charging judgment module 620 determines that the wiring detection result is that VBUS1 and VBUS2 are connected to the same cable and outputs this result to the digital control module 630.

[0200] The digital control module 630 controls the input / output module 640 to keep the VBUS1 power output off, and controls the plug detection module 610 to turn on the unplug detection function for VBUS1. When it detects that the cable or device connected to VBUS1 is unplugged, it controls the plug detection module 610 to turn on the access detection function for VBUS1 and returns to the start stage of the detection process.

[0201] If, after turning off the VBUS1 power output, within the second duration threshold, it does not detect that the cable or device connected to VBUS2 is disconnected, the self-charging judgment module 620 determines that VBUS1 and VBUS2 are not connected to the same cable, VBUS2 is a normal input port access, and outputs this result to the digital control module 630.

[0202] The digital control module 630 controls the input / output module 640 to turn on the power output of VBUS1 to enable VBUS1 to work properly.

[0203] The embodiment of the present application also provides a mobile power supply 800.

[0204] As Figure 8 shown, the mobile power supply 800 includes the control device 500 of the mobile power supply 800 as described above.

[0205] Or, as Figure 9 shown, the mobile power supply 800 includes the control system 600 of the mobile power supply 800 as described above.

[0206] According to the mobile power supply 800 provided by the embodiment of the present application, by detecting whether there are corresponding changes in the access states between different interfaces of the mobile power supply 800 within a short period of time, it identifies whether the input and output ends of the mobile power supply 800 are connected to the same cable according to the detection result, and controls the flow of electric energy between the interfaces, reducing the probability of the mobile power supply 800 repeatedly self-charging and self-discharging, helping to reduce the power consumption of the mobile power supply 800 and extending the service life of the mobile power supply 800.

[0207] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including one..." does not exclude the presence of additional identical elements in the process, method, article or device including such element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0208] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present application.

[0209] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.

[0210] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0211] Although embodiments of the present application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of the present application. The scope of the present application is defined by the claims and their equivalents.

Claims

1. A control method for a mobile power source, characterized in that: include: In response to the first interface of the mobile power supply entering the first connected state, starting timing; When the timing duration of the first interface being in the first access state is less than a first duration threshold and it is detected that the second interface of the mobile power supply enters the second access state, obtaining connection detection results of the first interface and the second interface, and the first access state and the second access state are different; When the wiring detection result shows that the first interface and the second interface are connected to the same cable, the mobile power supply is controlled to stop the flow of power between the first interface and the second interface.

2. The control method of the mobile power supply according to claim 1, characterized in that: The first interface and the second interface are USB-C interfaces, and when the first access state is a power supply state, the second access state is a power receiving state; or when the first access state is a power receiving state, the second access state is a power supply state, and the obtaining of the wiring detection results of the first interface and the second interface includes: It is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable.

3. The control method of the mobile power supply according to claim 1, characterized in that: At least one of the first interface and the second interface is a non-USB-C interface, the first connection state is a power output state, and the second connection state is a power input state, and obtaining the connection detection results of the first interface and the second interface includes: Controlling the first interface to stop power output and start timing; When the timing duration of stopping power output of the first interface is less than the second duration threshold, it is detected that the second interface stops power input, and it is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable.

4. The control method of the mobile power supply according to claim 1, characterized in that: At least one of the first interface and the second interface is a non-USB-C interface, the first connection state is a power output state, and the second connection state is a power input state, and obtaining the connection detection results of the first interface and the second interface includes: When the timing duration of stopping power output of the first interface is less than the second duration threshold, it is not detected that the second interface stops power input, and it is determined that the wiring detection result is that the first interface and the second interface are not connected to the same cable; Control the first interface to restore power output.

5. The control method of the mobile power supply according to claim 3 or 4, characterized in that: The second duration threshold is determined based on types of the first interface and the second interface.

6. The control method of a mobile power source according to any one of claims 1 to 4, characterized in that: After controlling the mobile power supply to stop the flow of power between the first interface and the second interface, the method further includes: The mobile power supply is controlled to stop the flow of power between the first interface and the second interface until the first interface re-enters the first access state.

7. A control device for a mobile power source, characterized in that: include: A first processing module, configured to start timing in response to the first interface of the mobile power supply entering a first access state; A second processing module, configured to obtain a wiring detection result of the first interface and the second interface when the timing duration of the first interface being in the first access state is less than a first duration threshold and it is detected that the second interface of the mobile power supply enters a second access state, and the first access state and the second access state are different; A third processing module is configured to control the mobile power supply to stop the flow of power between the first interface and the second interface when the wiring detection result shows that the first interface and the second interface are connected to the same cable.

8. The control device of the mobile power supply according to claim 7, characterized in that: The first interface and the second interface are USB-C interfaces, and when the first access state is a power supply state, the second access state is a power receiving state; or when the first access state is a power receiving state, the second access state is a power supply state, and the second processing module is used to obtain the wiring detection results of the first interface and the second interface, including: It is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable.

9. The control device of the mobile power supply according to claim 7, characterized in that: At least one of the first interface and the second interface is a non-USB-C interface, the first access state is a power output state, and the second access state is a power input state, and the second processing module is used to obtain wiring detection results of the first interface and the second interface, including: Controlling the first interface to stop power output and start timing; When the timing duration of stopping power output of the first interface is less than the second duration threshold, it is detected that the second interface stops power input, and it is determined that the wiring detection result is that the first interface and the second interface are connected to the same cable.

10. A control system for a mobile power source, characterized in that: include: A plug-in detection module, the plug-in detection module is connected to the first interface and the second interface of the mobile power supply, and the plug-in detection module is used to detect the connection status of the first interface and the second interface; A self-charging judgment module, the self-charging judgment module is connected to the plug-in detection module, and the plug-in detection module is used to output the connection status of the first interface and the second interface to the self-charging judgment module, so that the self-charging judgment module can judge whether the first interface and the second interface are connected to the same cable, and obtain the connection detection result of the first interface and the second interface; a digital control module, wherein the digital control module is connected to the plug-in detection module and the self-charging judgment module, the plug-in detection module is used to output the connection status of the first interface and the second interface to the digital control module, and the self-charging judgment module is used to output the detection result of whether the first interface and the second interface are connected to the same cable to the digital control module; an input-output module, the input-output module being connected to the digital control module, the digital control module being used to input a control instruction to the input-output module based on at least one of a connection state of the first interface and the second interface and a detection result of whether the first interface and the second interface are connected to the same cable, so that the input-output module controls the input-output state of the first interface and the second interface; Among them, the self-charging judgment module is used to start timing in response to the first interface of the mobile power supply entering the first access state; when the timing duration of the first interface in the first access state is less than the first duration threshold, and it is detected that the second interface of the mobile power supply enters the second access state, obtain the wiring detection result of the first interface and the second interface, and the first access state and the second access state are different; when the wiring detection result is that the first interface and the second interface are connected to the same cable, control the mobile power supply to stop the flow of power between the first interface and the second interface.

11. A mobile power source, characterized in that: include: The control system of a mobile power supply as claimed in claim 10 or the control device of a mobile power supply as claimed in claim 7.