[go: up one dir, main page]

CN109560581B - Charging processing method, charging processing circuit, electronic device and storage medium - Google Patents

Charging processing method, charging processing circuit, electronic device and storage medium Download PDF

Info

Publication number
CN109560581B
CN109560581B CN201811347508.3A CN201811347508A CN109560581B CN 109560581 B CN109560581 B CN 109560581B CN 201811347508 A CN201811347508 A CN 201811347508A CN 109560581 B CN109560581 B CN 109560581B
Authority
CN
China
Prior art keywords
charging
output
interface
pin
output pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811347508.3A
Other languages
Chinese (zh)
Other versions
CN109560581A (en
Inventor
刘绍斌
庄小利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811347508.3A priority Critical patent/CN109560581B/en
Publication of CN109560581A publication Critical patent/CN109560581A/en
Application granted granted Critical
Publication of CN109560581B publication Critical patent/CN109560581B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/448End of discharge regulating measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/48Accumulators combined with arrangements for measuring, testing or indicating the condition of cells, e.g. the level or density of the electrolyte
    • H02J7/0026
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • H02J7/0032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits disconnection of loads if battery is not under charge, e.g. in vehicle if engine is not running
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本申请实施例提供一种充电处理方法、充电处理电路、电子设备及存储介质,充电处理方法包括:获取与待充电设备的连接状态;当所述连接状态为已连接状态时,与所述待充电设备通信;当与所述待充电设备通信成功后,输出充电信号;当与所述待充电设备通信失败或所述连接状态为未连接状态时,停止输出充电信号。充电装置在未连接状态下,没有输出充电信号,此时,即使充电输出接口进异物或进液都不会导致充电接口短路,而且可以节约功耗,在已连接状态且通信成功后,才输出充电信号,实现正常充电。

Figure 201811347508

The embodiment of the present application provides a charging processing method, a charging processing circuit, an electronic device and a storage medium. The charging processing method includes: obtaining the connection status with the device to be charged; when the connection status is the connected state, communicating with the device to be charged; when the communication with the device to be charged is successful, outputting a charging signal; when the communication with the device to be charged fails or the connection status is the unconnected state, stopping outputting the charging signal. The charging device does not output a charging signal in the unconnected state. At this time, even if foreign objects or liquid enter the charging output interface, it will not cause the charging interface to short-circuit, and it can save power consumption. The charging signal is output only after the connected state and communication is successful to achieve normal charging.

Figure 201811347508

Description

充电处理方法、充电处理电路、电子设备及存储介质Charging processing method, charging processing circuit, electronic device and storage medium

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种充电处理方法、充电处理电路、电子设备及存储介质。The present application relates to the field of electronic technology, and in particular, to a charging processing method, a charging processing circuit, an electronic device and a storage medium.

背景技术Background technique

目前,充电装置的充电输出接口已经能够集数据传输与充电功能于一体,充电装置可以为给移动终端充电的适配器。充电装置与市电连接后,充电装置的充电输出接口有输出充电电压,当充电装置的充电输出接口进液或进异物时,容易造成充电输出接口短路,进而造成充电输出接口或适配器的烧毁。At present, the charging output interface of the charging device can integrate data transmission and charging functions, and the charging device can be an adapter for charging the mobile terminal. After the charging device is connected to the mains, the charging output interface of the charging device has an output charging voltage. When liquid or foreign matter enters the charging output interface of the charging device, it is easy to cause a short circuit of the charging output interface, and then cause the charging output interface or the adapter to burn.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种充电处理方法、充电处理电路、电子设备及存储介质,可以保护充电输出接口。Embodiments of the present application provide a charging processing method, a charging processing circuit, an electronic device, and a storage medium, which can protect a charging output interface.

本申请实施例提供了一种充电处理方法,其包括:The embodiment of the present application provides a charging processing method, which includes:

获取与待充电设备的连接状态;Get the connection status with the device to be charged;

当所述连接状态为已连接状态时,与所述待充电设备通信;When the connection state is the connected state, communicate with the device to be charged;

当与所述待充电设备通信成功后,输出充电信号;After successful communication with the device to be charged, output a charging signal;

当与所述待充电设备通信失败或所述连接状态为未连接状态时,停止输出充电信号。When the communication with the device to be charged fails or the connection state is an unconnected state, the output of the charging signal is stopped.

本申请实施例还提供了一种充电处理方法,其包括:The embodiment of the present application also provides a charging processing method, which includes:

获取与充电装置的连接状态;Get the connection status with the charging device;

当所述连接状态为已连接状态时,与所述充电装置通信;When the connection state is the connected state, communicate with the charging device;

当与所述充电装置通信成功后,控制所述充电装置从停止输出充电信号切换到输出充电信号。After successful communication with the charging device, the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal.

本申请实施例还提供了一种充电处理电路,其包括:The embodiment of the present application also provides a charging processing circuit, which includes:

充电输出接口,所述充电输出接口用于与待充电设备的充电输入接口连接;a charging output interface, the charging output interface is used to connect with the charging input interface of the device to be charged;

检测模块,所述检测模块与所述充电输出接口连接,所述检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态;a detection module, the detection module is connected to the charging output interface, and the detection module is used to obtain the connection state of the charging output interface and the charging input interface;

输出控制模块,所述充电输出接口和所述检测模块均与所述输出控制模块连接,当所述连接状态为未连接状态时,停止通过所述充电输出接口输出充电信号,当所述连接状态为已连接状态时,与所述待充电设备通信,以及当通信成功时,通过所述充电输出接口输出充电信号,当通信失败时,停止通过所述充电输出接口输出充电信号。an output control module, the charging output interface and the detection module are both connected to the output control module, when the connection state is an unconnected state, stop outputting a charging signal through the charging output interface, when the connection state is In the connected state, communicate with the device to be charged, and when the communication succeeds, output a charging signal through the charging output interface, and stop outputting the charging signal through the charging output interface when the communication fails.

本申请实施例还提供了一种充电处理电路,其包括:The embodiment of the present application also provides a charging processing circuit, which includes:

充电输入接口,所述充电输入接口用于与充电装置的充电输出接口连接;a charging input interface, the charging input interface is used for connecting with the charging output interface of the charging device;

第二检测模块,所述第二检测模块与所述充电输入接口连接,所述第二检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态;a second detection module, the second detection module is connected to the charging input interface, and the second detection module is used to obtain the connection state of the charging output interface and the charging input interface;

第二输出控制模块,所述充电输入接口和所述第二检测模块均与所述第二输出控制模块连接,当所述连接状态为已连接状态时,与所述充电装置通信,以及当通信成功时,控制所述充电装置从停止输出充电信号切换到输出充电信号。The second output control module, the charging input interface and the second detection module are both connected to the second output control module, when the connection state is the connected state, communicate with the charging device, and when the communication When successful, the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal.

本申请实施例还提供了一种电子设备,其包括壳体和充电处理电路,所述充电处理电路在所述壳体内,所述充电处理电路如上述所述的充电处理电路。An embodiment of the present application further provides an electronic device, which includes a housing and a charging processing circuit, wherein the charging processing circuit is inside the housing, and the charging processing circuit is the above-mentioned charging processing circuit.

本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如上述所述的充电处理方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above-mentioned charging processing method are implemented.

本申请实施例提供的充电处理方法、充电处理电路、电子设备及存储介质,首先获取与待充电设备的连接状态;当所述连接状态为已连接状态时,与所述待充电设备通信;当与所述待充电设备通信成功后,输出充电信号;当与所述待充电设备通信失败或所述连接状态为未连接状态时,停止输出充电信号。充电装置在未连接状态下,没有输出充电信号,此时,即使充电输出接口进异物或进液都不会导致充电接口短路,而且可以节约功耗,在已连接状态且通信成功后,才输出充电信号,实现正常充电。The charging processing method, charging processing circuit, electronic device, and storage medium provided by the embodiments of the present application first obtain the connection state with the device to be charged; when the connection state is the connected state, communicate with the device to be charged; After the communication with the device to be charged is successful, a charging signal is output; when the communication with the device to be charged fails or the connection state is an unconnected state, the output of the charging signal is stopped. In the unconnected state, the charging device does not output a charging signal. At this time, even if foreign matter or liquid enters the charging output interface, it will not cause a short circuit of the charging interface, and power consumption can be saved. It is only output when it is connected and the communication is successful. Charging signal to achieve normal charging.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1为本申请实施例提供的充电处理电路的第一种结构示意图。FIG. 1 is a schematic diagram of a first structure of a charging processing circuit provided by an embodiment of the present application.

图2为本申请实施例提供的充电处理电路的第二种结构示意图。FIG. 2 is a schematic diagram of a second structure of a charging processing circuit provided by an embodiment of the present application.

图3为本申请实施例提供的Type-C接口的结构示意图。FIG. 3 is a schematic structural diagram of a Type-C interface provided by an embodiment of the present application.

图4为本申请实施例提供的充电处理电路的第三种结构示意图。FIG. 4 is a schematic diagram of a third structure of the charging processing circuit provided by the embodiment of the present application.

图5为本申请实施例提供的充电处理电路的第四种结构示意图。FIG. 5 is a schematic diagram of a fourth structure of the charging processing circuit provided by the embodiment of the present application.

图6为本申请实施例提供的充电处理电路的第五种结构示意图。FIG. 6 is a schematic diagram of a fifth structure of the charging processing circuit provided by the embodiment of the present application.

图7为本申请实施例提供的充电处理电路的第六种结构示意图。FIG. 7 is a schematic diagram of the sixth structure of the charging processing circuit provided by the embodiment of the present application.

图8为本申请实施例提供的充电处理电路的第七种结构示意图。FIG. 8 is a schematic diagram of a seventh structure of the charging processing circuit provided by the embodiment of the present application.

图9为本申请实施例提供的充电处理方法的流程示意图。FIG. 9 is a schematic flowchart of a charging processing method provided by an embodiment of the present application.

图10为本申请实施例提供的充电处理方法的另一流程示意图FIG. 10 is another schematic flowchart of the charging processing method provided by the embodiment of the present application

具体实施方式Detailed ways

请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, wherein the same component symbols represent the same components, and the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application and should not be construed as limiting other specific embodiments of the present application not detailed herein.

本申请实施例提供一种充电处理方法、充电处理电路、电子设备及存储介质。以下将分别进行详细说明。Embodiments of the present application provide a charging processing method, a charging processing circuit, an electronic device, and a storage medium. The detailed descriptions will be given below.

请参阅图1,图1为本申请实施例提供的充电处理电路的第一种结构示意图。充电处理电路包括充电输出接口210、检测模块220和输出控制模块230。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a first structure of a charging processing circuit provided by an embodiment of the present application. The charging processing circuit includes a charging output interface 210 , a detection module 220 and an output control module 230 .

其中,充电输出接口210用于与待充电设备300的充电输入接口310连接。充电输出接口210可以为通用串行总线(Universal Serial Bus,USB)接口。具体的,充电输出接口210可以为Micro USB接口或Type-C接口等,当然,充电输出接口210也可以为其他接口。当充电输出接口210为Type-C接口时,由于Type-C接口的引脚较多,而Type-C接口的宽度有限,因此Type-C接口引脚间的间距比较小,进异物或进液时,容易造成微短路,从而导致Type-C接口处的温度上升,从而烧坏充电输出接口210。The charging output interface 210 is used to connect with the charging input interface 310 of the device to be charged 300 . The charging output interface 210 may be a Universal Serial Bus (Universal Serial Bus, USB) interface. Specifically, the charging output interface 210 may be a Micro USB interface or a Type-C interface, etc. Of course, the charging output interface 210 may also be other interfaces. When the charging output interface 210 is a Type-C interface, since the Type-C interface has many pins and the width of the Type-C interface is limited, the distance between the pins of the Type-C interface is relatively small, and foreign objects or liquids can enter. At this time, it is easy to cause a micro short circuit, thereby causing the temperature at the Type-C interface to rise, thereby burning out the charging output interface 210 .

检测模块220与充电输出接口210连接,检测模块220用于获取充电输出接口210与充电输入接口310的连接状态。检测模块220用于检测充电装置200的充电输出接口210与待充电装置200的充电输入接口310的连接状态。连接状态包括已连接状态和未连接状态,已连接状态表示充电装置200和待充电装置200已经实现物理连接,如充电装置200的充电输出接口210插入待充电设备300的充电输入接口310。未连接状态则表示充电装置200和待充电装置200还未实现物理连接,如充电装置200的充电输出接口210悬空,没有与待充电设备300连接。The detection module 220 is connected to the charging output interface 210 , and the detection module 220 is used to obtain the connection state between the charging output interface 210 and the charging input interface 310 . The detection module 220 is configured to detect the connection state between the charging output interface 210 of the charging device 200 and the charging input interface 310 of the device to be charged 200 . The connection state includes a connected state and an unconnected state. The connected state indicates that the charging device 200 and the device to be charged 200 have been physically connected, for example, the charging output interface 210 of the charging device 200 is inserted into the charging input interface 310 of the device to be charged 300 . The unconnected state indicates that the charging device 200 and the device to be charged 200 have not been physically connected. For example, the charging output interface 210 of the charging device 200 is floating and not connected to the device to be charged 300 .

充电输出接口210和检测模块220均与输出控制模块230连接,当连接状态为未连接状态时,停止通过充电输出接口210输出充电信号,当连接状态为已连接状态时,与待充电设备300通信,以及当通信成功时,通过充电输出接口210输出充电信号,当通信失败时,停止通过充电输出接口210输出充电信号。The charging output interface 210 and the detection module 220 are both connected to the output control module 230. When the connection state is the unconnected state, it stops outputting the charging signal through the charging output interface 210, and when the connection state is the connected state, it communicates with the device to be charged 300. , and when the communication succeeds, output the charging signal through the charging output interface 210 , and when the communication fails, stop outputting the charging signal through the charging output interface 210 .

当连接状态为未连接状态时,停止输出充电信号。当充电装置200与待充电设备300为未连接状态时,即,充电装置200的充电输出接口210没有连接待充电设备300时,同样停止输出充电信号。When the connection state is the unconnected state, stop outputting the charging signal. When the charging device 200 and the device to be charged 300 are not connected, that is, when the charging output interface 210 of the charging device 200 is not connected to the device to be charged 300 , the output of the charging signal is also stopped.

当连接状态为已连接状态时,即充电装置200与待充电设备300物理连接后,充电装置200开始与待充电设备300通信。例如,可以充电装置200主动发送连接请求至待充电设备300,也可以接收待充电设备300发送的连接请求。当充电装置200与待充电设备300通信成功后,输出充电信号。具体的,可以理解为充电装置200发送连接请求后,接收到待充电设备300返回的接收请求信息后,识别该接收请求信息后,确定通信成功,然后输出充电信号。还可以理解为充电装置200接收到待充电设备300发送的连接请求后,识别该连接请求后,返回接收请求信息给待充电设备300,从而确定通信成功,然后输出充电信号。When the connection state is the connected state, that is, after the charging device 200 is physically connected to the device to be charged 300 , the charging device 200 starts to communicate with the device to be charged 300 . For example, the charging apparatus 200 may actively send a connection request to the device to be charged 300 , or may receive a connection request sent by the device to be charged 300 . After the charging apparatus 200 successfully communicates with the device to be charged 300, a charging signal is output. Specifically, it can be understood that after the charging apparatus 200 sends a connection request, after receiving the reception request information returned by the device to be charged 300, after identifying the reception request information, it is determined that the communication is successful, and then a charging signal is output. It can also be understood that after receiving the connection request sent by the device to be charged 300, the charging apparatus 200 recognizes the connection request, and returns the receiving request information to the device to be charged 300 to determine that the communication is successful, and then outputs a charging signal.

当与待充电设备300通信时,充电装置200接收到待充电设备300发送的连接请求后,无法识别该连接请求,或者该连接请求为非法连接请求,则认为通信失败。还可以,充电装置200发送连接请求至待充电设备300,没有接收到返回的接收请求信息,或者接收到非法的接收请求信息,则同样认为通信失败。通信失败后,则停止输出充电信号。When communicating with the device to be charged 300, if the charging device 200 fails to recognize the connection request after receiving the connection request sent by the device to be charged 300, or the connection request is an illegal connection request, it is considered that the communication fails. Alternatively, if the charging apparatus 200 sends a connection request to the device to be charged 300, and does not receive the returned reception request information, or receives illegal reception request information, it is also considered that the communication fails. After the communication fails, it stops outputting the charging signal.

请参阅图2,图2为本申请实施例提供的充电处理电路的第二种结构示意图。在一些实施例中,充电输出接口210包括第一输出引脚SBU1和第二输出引脚SBU2,第一输出引脚SBU1与第二输出引脚SBU2通过第一功能元件R1连接,第一输出引脚SBU1和第二输出引脚SBU2通过充电输入接口310形成回路。Please refer to FIG. 2 , which is a schematic diagram of a second structure of a charging processing circuit provided by an embodiment of the present application. In some embodiments, the charging output interface 210 includes a first output pin SBU1 and a second output pin SBU2, the first output pin SBU1 and the second output pin SBU2 are connected through the first functional element R1, and the first output pin SBU1 The pin SBU1 and the second output pin SBU2 form a loop through the charging input interface 310 .

检测模块220与第二输出引脚SBU2连接,并获取第二输出引脚SBU2的检测电压或检测电流,检测模块220用于通过检测电压或检测电流的变化,获取充电输出接口210和充电输入接口310的连接状态。The detection module 220 is connected to the second output pin SBU2, and obtains the detection voltage or detection current of the second output pin SBU2, and the detection module 220 is used to obtain the charging output interface 210 and the charging input interface by detecting changes in the voltage or detection current 310 connection status.

其中,第一功能元件R1可以为电阻外,还可以为电容等元件。第一输出引脚SBU1和第二输出引脚SBU2之间通过第一功能元件R1连接,充电输出接口210和充电输入接口310连接前,充电装置200不给第一输出引脚SBU1和第二输出引脚SBU2供电或提供固定的值,充电输出接口210和充电输入接口310连接后,充电输入接口310给第二输出引脚SBU2提供电压,并将第一输出引脚SBU1接地,从而形成回路。充电输出接口210和充电输入接口310没有连接前,第一输出引脚SBU1和第二输出引脚SBU2没有电压和电流,或者第二输出引脚SBU2具有固定的电压和电流。当形成回路后,第二输出引脚SBU2的电压和电流发生变化,然后检测得到第二输出引脚SBU2的检测电压或检测电流。当第二输出引脚SBU2的检测电压或检测电流为0或为固定值时,则确定连接状态为未连接状态,当第二输出引脚SBU2的检测电压或检测电流为变化后的值时,则确定连接状态为已连接状态。Wherein, the first functional element R1 may be not only a resistor, but also an element such as a capacitor. The first output pin SBU1 and the second output pin SBU2 are connected through the first functional element R1. Before the charging output interface 210 and the charging input interface 310 are connected, the charging device 200 does not provide the first output pin SBU1 and the second output pin SBU1 and the second output pin. The pin SBU2 supplies power or provides a fixed value. After the charging output interface 210 and the charging input interface 310 are connected, the charging input interface 310 provides a voltage to the second output pin SBU2 and grounds the first output pin SBU1 to form a loop. Before the charging output interface 210 and the charging input interface 310 are not connected, the first output pin SBU1 and the second output pin SBU2 have no voltage and current, or the second output pin SBU2 has a fixed voltage and current. After the loop is formed, the voltage and current of the second output pin SBU2 change, and then the detection voltage or the detection current of the second output pin SBU2 is detected. When the detection voltage or detection current of the second output pin SBU2 is 0 or a fixed value, the connection state is determined to be an unconnected state, and when the detection voltage or detection current of the second output pin SBU2 is a changed value, Then it is determined that the connection state is the connected state.

需要说明的是,本实施例中第一输出引脚和第二输出引脚可以为非供电引脚,以Type-C接口为例,如图3所示,第一输出引脚可以为SBU1外,还可以根据需要为引脚GND、TX1+、TX1-、TX2+、TX2-、RX1+、RX1-、RX2+、RX2-、SBU2、CC1、CC2中的一个,第二输出引脚可以为SBU2外,还可以根据需要为引脚TX1+、TX1-、TX2+、TX2-、RX1+、RX1-、RX2+、RX2-、SBU1、CC1、CC2中的一个。It should be noted that in this embodiment, the first output pin and the second output pin may be non-power supply pins. Taking the Type-C interface as an example, as shown in FIG. 3 , the first output pin may be an external pin outside the SBU1. , it can also be one of the pins GND, TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-, SBU2, CC1, CC2 as needed, and the second output pin can be SBU2, or Can be one of pins TX1+, TX1-, TX2+, TX2-, RX1+, RX1-, RX2+, RX2-, SBU1, CC1, CC2 as needed.

在其他一些实施例中,充电输入接口310的第二功能元件R2与第一功能元件R1串联,即充电输入接口310内的第二输入引脚通过第三功能元件与第二输出引脚SBU2连接。其中,第二功能元件R2可以为电阻外,还可以为电容等元件。In some other embodiments, the second functional element R2 of the charging input interface 310 is connected in series with the first functional element R1, that is, the second input pin in the charging input interface 310 is connected to the second output pin SBU2 through the third functional element . Wherein, the second functional element R2 may be not only a resistor, but also an element such as a capacitor.

请参阅图4,图4为本申请实施例提供的充电处理电路的第三种结构示意图。在一些实施例中,第一输出引脚SBU1和第二输出引脚SBU2还通过第五功能元件R5、第二开关元件250连接。Please refer to FIG. 4 , which is a schematic diagram of a third structure of the charging processing circuit provided by the embodiment of the present application. In some embodiments, the first output pin SBU1 and the second output pin SBU2 are further connected through the fifth functional element R5 and the second switching element 250 .

第五功能元件R5的一端连接第一输出引脚SBU1,第五功能元件R5的另一端连接第二开关元件250的输入端,第二开关元件250的输出端连接第二输出引脚SBU2,第二开关元件250的控制端连接检测模块220。One end of the fifth functional element R5 is connected to the first output pin SBU1, the other end of the fifth functional element R5 is connected to the input end of the second switching element 250, and the output end of the second switching element 250 is connected to the second output pin SBU2, The control terminals of the two switching elements 250 are connected to the detection module 220 .

第一输出引脚SBU1和第二输出引脚SBU2之间通过第五功能元件R5和第二开关元件250连接,第五功能元件R5和第一功能元件R1并联。检测模块220检测到连接状态为已连接状态时,控制第二开关元件250从导通切换到断开,或从断开切换到导通,从而改变第一输出引脚SBU1和第二输出引脚SBU2之间的阻抗,从而改变电压和电流。检测模块220检测到变化后,发送新的电压或新的电流给待充电设备300,用以提示充电装置200为原装充电装置200。当为原装充电装置200时,可以进行大功率的快充,当为非原装充电装置200时,可以进行小功率的慢充。The first output pin SBU1 and the second output pin SBU2 are connected through the fifth functional element R5 and the second switching element 250, and the fifth functional element R5 and the first functional element R1 are connected in parallel. When the detection module 220 detects that the connection state is the connected state, it controls the second switch element 250 to switch from on to off, or from off to on, so as to change the first output pin SBU1 and the second output pin impedance between SBU2, thereby changing voltage and current. After detecting the change, the detection module 220 sends a new voltage or a new current to the device to be charged 300 to prompt the charging device 200 to be the original charging device 200 . When the original charging device 200 is used, high-power fast charging can be performed, and when the non-original charging device 200 is used, low-power slow charging can be performed.

在一些实施例中,充电输入接口310包括第一输入引脚和第二输入引脚,第一输入引脚接地,第一输入引脚与第一输出引脚SBU1连接,第二输入引脚通过第二功能元件R2与第二输出引脚SBU2连接,第二输入引脚具有电压。In some embodiments, the charging input interface 310 includes a first input pin and a second input pin, the first input pin is grounded, the first input pin is connected with the first output pin SBU1, and the second input pin is connected through The second functional element R2 is connected to the second output pin SBU2, and the second input pin has a voltage.

待充电设备300给第二输入引脚提供电压,第二输入引脚通过第二功能元件R2连接第二输出引脚SBU2,第二输出引脚SBU2通过第一功能元件R1连接第一输出引脚SBU1,第一输出引脚SBU1通过第一输入引脚接地,从而实现回路。第一功能元件R1和第二功能元件R2分压,通过检测第二输入引脚或第二输出引脚SBU2的电压,从而确定当前的连接状态是已连接状态还是未连接状态。The device to be charged 300 provides a voltage to the second input pin, the second input pin is connected to the second output pin SBU2 through the second functional element R2, and the second output pin SBU2 is connected to the first output pin through the first functional element R1 SBU1, the first output pin SBU1 is grounded through the first input pin, thereby realizing a loop. The first functional element R1 and the second functional element R2 divide the voltage, and determine whether the current connection state is a connected state or an unconnected state by detecting the voltage of the second input pin or the second output pin SBU2.

请参阅图5,图5为本申请实施例提供的充电处理电路的第四种结构示意图。在一些实施例中,充电输出接口210包括第三输出引脚和第四输出引脚,第三输出引脚和第四输出引脚通过充电输入接口210导通,充电装置200通过第三输出引脚传输识别信号,当第四输出引脚检测到识别信号时,确定充电输出接口210和充电输入接口310的连接状态为已连接状态。Please refer to FIG. 5 , which is a schematic diagram of a fourth structure of the charging processing circuit provided by the embodiment of the present application. In some embodiments, the charging output interface 210 includes a third output pin and a fourth output pin, the third output pin and the fourth output pin are connected through the charging input interface 210, and the charging device 200 is connected through the third output pin The pin transmits the identification signal, and when the fourth output pin detects the identification signal, it is determined that the connection state of the charging output interface 210 and the charging input interface 310 is the connected state.

以Typc-C接口为例,第三输出引脚可以为CC引脚,第四输出引脚可以为电源输入引脚VBUS,每隔一段时间在CC引脚发出一个识别信号(如脉冲信号)。充电输入接口310和充电输出接口210连接后,充电输入接口310一端将CC引脚和电源输出引脚VBUS导通,如此,电源输出引脚VBUS就会接收到一个识别信号,充电装置200一检测到这个识别信号,充电装置200通过D+/-给待充电设备300发送充电请求。待充电启动后,将充电装置200的CC引脚停止发出脉冲信号。在其他一些实施例中,电源输出引脚VBUS和CC引脚可以用其他引脚替换。Taking the Typc-C interface as an example, the third output pin can be the CC pin, the fourth output pin can be the power input pin VBUS, and an identification signal (such as a pulse signal) is sent out on the CC pin at regular intervals. After the charging input interface 310 and the charging output interface 210 are connected, one end of the charging input interface 310 conducts the CC pin and the power output pin VBUS, so that the power output pin VBUS will receive an identification signal, and the charging device 200 detects Upon receiving this identification signal, the charging apparatus 200 sends a charging request to the device to be charged 300 through D+/-. After charging is started, stop the CC pin of the charging device 200 from sending out pulse signals. In some other embodiments, the power output pins VBUS and CC pins can be replaced with other pins.

请参阅图6,图6为本申请实施例提供的充电处理电路的第五种结构示意图。在一些实施例中,充电输出接口210包括通信引脚,通信引脚周期性发送连接请求,当接收到待充电设备300根据连接请求返回的接收请求信息时,确定充电输出接口210和充电输入接口310的连接状态为已连接状态。Please refer to FIG. 6 , FIG. 6 is a schematic diagram of a fifth structure of the charging processing circuit provided by the embodiment of the present application. In some embodiments, the charging output interface 210 includes a communication pin, and the communication pin periodically sends a connection request. When receiving the receiving request information returned by the device to be charged 300 according to the connection request, the charging output interface 210 and the charging input interface are determined. The connection state of 310 is the connected state.

充电输出接口210的通信引脚可以为D+引脚或D-引脚,让充电装置200的充电输出接口210的D+或D-引脚每隔一段时间发一个信号(如连接请求)给待充电设备300,请求充电,当充电装置200与待充电设备300连接后,待充电设备300接受到该请求,两者之间可以建立通讯,充电装置200输出充电信号,给待充电设备300充电。The communication pin of the charging output interface 210 can be the D+ pin or the D- pin, so that the D+ or D- pin of the charging output interface 210 of the charging device 200 sends a signal (such as a connection request) to the charging device 200 at intervals. The device 300 requests charging. After the charging device 200 is connected to the device 300 to be charged, the device 300 to be charged receives the request, and communication can be established between the two. The charging device 200 outputs a charging signal to charge the device 300 to be charged.

请参阅图7,图7为本申请实施例提供的充电处理电路的第六种结构示意图。在一些实施例中,充电处理电路应用于待充电设备300,充电处理电路包括充电输入接口310、第二检测模块320和第二输出控制模块330。Please refer to FIG. 7 , which is a schematic diagram of a sixth structure of the charging processing circuit provided by the embodiment of the present application. In some embodiments, the charging processing circuit is applied to the device to be charged 300 , and the charging processing circuit includes a charging input interface 310 , a second detection module 320 and a second output control module 330 .

充电输入接口310用于与充电装置200的充电输出接口210连接。充电输入接口310与充电输出接口210配合连接,例如,充电输入接口310与充电输出接口210可以分别为Type-C接口的公头和母头。The charging input interface 310 is used for connecting with the charging output interface 210 of the charging device 200 . The charging input interface 310 is connected with the charging output interface 210. For example, the charging input interface 310 and the charging output interface 210 may be the male and female connectors of the Type-C interface, respectively.

第二检测模块320与充电输入接口310连接,第二检测模块320用于获取充电输出接口210与充电输入接口310的连接状态。The second detection module 320 is connected to the charging input interface 310 , and the second detection module 320 is used to obtain the connection state between the charging output interface 210 and the charging input interface 310 .

充电输入接口310和第二检测模块320均与第二输出控制模块330连接,当连接状态为已连接状态时,与充电装置200通信,以及当通信成功时,控制充电装置200从停止输出充电信号切换到输出充电信号。The charging input interface 310 and the second detection module 320 are both connected to the second output control module 330, when the connection state is the connected state, communicate with the charging device 200, and when the communication is successful, control the charging device 200 to stop outputting the charging signal Switch to output charging signal.

在一些实施例中,充电输入接口310包括通信引脚,通信引脚周期性发送连接请求,当接收到充电装置200根据连接请求返回的接收请求信息时,确定充电输出接口210和充电输入接口310的连接状态为已连接状态。In some embodiments, the charging input interface 310 includes a communication pin, and the communication pin periodically sends a connection request. When receiving the reception request information returned by the charging device 200 according to the connection request, the charging output interface 210 and the charging input interface 310 are determined. The connection status is Connected.

充电输入接口310的通信引脚可以为D+引脚或D-引脚,让待充电设备300的充电输入接口310的D+或D-引脚每隔一段时间发一个信号(如连接请求)给适配器,请求充电,当充电装置200与待充电设备300连接后,充电装置200接受到该请求,两者之间可以建立通讯,充电装置200输出充电信号,给待充电设备300充电。The communication pin of the charging input interface 310 can be the D+ pin or the D- pin, so that the D+ or D- pin of the charging input interface 310 of the device to be charged 300 sends a signal (such as a connection request) to the adapter at regular intervals , to request charging. After the charging device 200 is connected to the device 300 to be charged, the charging device 200 receives the request, and communication can be established between the two. The charging device 200 outputs a charging signal to charge the device 300 to be charged.

请参阅图8,图8为本申请实施例提供的充电处理电路的第七种结构示意图。在一些实施例中,充电输入接口310包括第三输入引脚和第四输入引脚,第三输入引脚和第四输入引脚通过充电输出接口210导通,待充电设备300通过第三输入引脚传输识别信号,当第四输入引脚检测到识别信号时,确定充电输出接口210和充电输入接口310的连接状态为已连接状态。Please refer to FIG. 8 , FIG. 8 is a schematic diagram of a seventh structure of the charging processing circuit provided by the embodiment of the present application. In some embodiments, the charging input interface 310 includes a third input pin and a fourth input pin, the third input pin and the fourth input pin are connected through the charging output interface 210, and the device to be charged 300 is connected through the third input pin The pin transmits an identification signal, and when the fourth input pin detects the identification signal, it is determined that the connection state of the charging output interface 210 and the charging input interface 310 is the connected state.

以Typc-C接口为例,第三输入引脚可以为CC引脚,第四输入引脚可以为电源输入引脚VBUS,每隔一段时间在CC引脚发出一个识别信号(如脉冲信号)。充电输入接口310和充电输入接口210连接后,充电输出接口210一端将CC引脚和电源输入引脚VBUS导通,如此,电源输入引脚VBUS就会接收到一个识别信号,待充电设备300一检测到这个识别信号,待充电设备300通过D+/-给充电装置200发送充电请求。待充电启动后,将待充电设备300的CC停止发出脉冲信号。在其他一些实施例中,电源输入引脚VBUS和CC引脚可以用其他引脚替换。Taking the Typc-C interface as an example, the third input pin can be the CC pin, the fourth input pin can be the power supply input pin VBUS, and an identification signal (such as a pulse signal) is sent out on the CC pin at regular intervals. After the charging input interface 310 and the charging input interface 210 are connected, one end of the charging output interface 210 conducts the CC pin and the power input pin VBUS. In this way, the power input pin VBUS will receive an identification signal. After detecting this identification signal, the device to be charged 300 sends a charging request to the charging device 200 through D+/-. After the charging is started, the CC of the device 300 to be charged is stopped from sending out pulse signals. In some other embodiments, the power input pins VBUS and CC pins can be replaced with other pins.

本申请实施例还提供一种电子设备,电子设备包括壳体和充电电路,充电电路设置在壳体内。在一些实施例中,电子设备可以根据需要为充电装置。在其他一些实施例中,电子设备可以根据需要为待充电设备。其中,充电装置200可以为适配器、充电底座等装置。待充电设备300可以是智能手机、平板电脑等设备,还可以是游戏设备、AR(AugmentedReality,增强现实)设备、音频播放装置、视频播放装置等。The embodiment of the present application further provides an electronic device, the electronic device includes a housing and a charging circuit, and the charging circuit is arranged in the housing. In some embodiments, the electronic device may be a charging device as required. In some other embodiments, the electronic device may be the device to be charged as required. The charging device 200 may be an adapter, a charging base or the like. The device 300 to be charged may be a smartphone, a tablet computer, or the like, and may also be a game device, an AR (Augmented Reality, augmented reality) device, an audio playback device, a video playback device, and the like.

请参阅图9,图9为本申请实施例提供的充电处理方法的流程示意图。本实施例的充电处理方法可以应用在充电装置中。充电处理方法具体包括:Please refer to FIG. 9 , which is a schematic flowchart of a charging processing method provided by an embodiment of the present application. The charging processing method of this embodiment can be applied to a charging device. The charging processing method specifically includes:

101,获取与待充电设备的连接状态。101. Acquire a connection state with the device to be charged.

连接状态包括已连接状态和未连接状态,已连接状态表示充电装置和待充电装置已经实现物理连接,如充电装置的充电输出接口插入待充电设备的充电输入接口。未连接状态则表示充电装置和待充电装置还未实现物理连接,如充电装置的充电输出接口悬空,没有与待充电设备连接。可以通过上述实施例中的多种方式获取与待充电设备的连接状态。The connection state includes a connected state and an unconnected state. The connected state indicates that the charging device and the device to be charged have been physically connected, for example, the charging output interface of the charging device is inserted into the charging input interface of the device to be charged. The unconnected state means that the charging device and the device to be charged have not been physically connected, for example, the charging output interface of the charging device is floating and not connected to the device to be charged. The connection status with the device to be charged can be acquired in various ways in the above embodiments.

102,当连接状态为已连接状态时,与待充电设备通信。102. When the connection state is the connected state, communicate with the device to be charged.

当连接状态为已连接状态时,即充电装置与待充电设备物理连接后,充电装置开始与待充电设备通信。例如,可以充电装置主动发送连接请求至待充电设备,也可以接收待充电设备发送的连接请求。When the connection state is the connected state, that is, after the charging device is physically connected to the device to be charged, the charging device starts to communicate with the device to be charged. For example, the charging device may actively send a connection request to the device to be charged, or may receive a connection request sent by the device to be charged.

103,当与待充电设备通信成功后,输出充电信号。103. After successful communication with the device to be charged, output a charging signal.

当充电装置与待充电设备通信成功后,输出充电信号。具体的,可以理解为充电装置发送连接请求后,接收到待充电设备返回的接收请求信息后,识别该接收请求信息后,确定通信成功,然后输出充电信号。还可以理解为充电装置接收到待充电设备发送的连接请求后,识别该连接请求后,返回接收请求信息给待充电设备,从而确定通信成功,然后输出充电信号。When the charging device successfully communicates with the device to be charged, a charging signal is output. Specifically, it can be understood that after the charging device sends the connection request, after receiving the reception request information returned by the device to be charged, after identifying the reception request information, it is determined that the communication is successful, and then the charging signal is output. It can also be understood that after the charging device receives the connection request sent by the device to be charged, after recognizing the connection request, it returns the receiving request information to the device to be charged, so as to determine that the communication is successful, and then outputs a charging signal.

在一些实施例中,当与待充电设备通信成功后,输出充电信号的步骤之后,还包括:In some embodiments, after the step of outputting the charging signal after successful communication with the device to be charged, the method further includes:

当接收到充电完成的信息时,停止输出充电信号。When receiving the charging completion information, stop outputting the charging signal.

充电装置给待充电设备进行充电,当待充电设备充电完成后,发送充电完成的信息,充电装置接收到充电完成的信息时,停止输出充电信号。可以节约功耗,同时防止对待充电设备过充。The charging device charges the device to be charged, and when the device to be charged is completed, sends a charging completion information, and when the charging device receives the charging completion information, it stops outputting a charging signal. Power consumption can be saved while preventing overcharging of the device to be charged.

104,当与待充电设备通信失败或连接状态为未连接状态时,停止输出充电信号。104, when the communication with the device to be charged fails or the connection state is the unconnected state, stop outputting the charging signal.

当与待充电设备通信时,充电装置接收到待充电设备发送的连接请求后,无法识别该连接请求,或者该连接请求为非法连接请求,则认为通信失败。还可以,充电装置发送连接请求至待充电设备,没有接收到返回的接收请求信息,或者接收到非法的接收请求信息,则同样认为通信失败。通信失败后,则停止输出充电信号。When communicating with the device to be charged, after the charging device receives the connection request sent by the device to be charged, and cannot identify the connection request, or the connection request is an illegal connection request, it is considered that the communication fails. Alternatively, if the charging apparatus sends a connection request to the device to be charged, and does not receive the returned reception request information, or receives illegal reception request information, it is also considered that the communication fails. After the communication fails, it stops outputting the charging signal.

在一些实施例中,当连接状态为未连接状态时,停止输出充电信号。当充电装置与待充电设备为未连接状态时,即,充电装置的充电输出接口没有连接待充电设备时,同样停止输出充电信号。In some embodiments, when the connected state is the unconnected state, the output of the charging signal is stopped. When the charging device and the device to be charged are not connected, that is, when the charging output interface of the charging device is not connected to the device to be charged, the output of the charging signal is also stopped.

请参阅图10,图10为本申请实施例提供的充电处理方法的另一流程示意图。本实施例的充电处理方法可以应用在待充电设备中。充电处理方法具体包括:Please refer to FIG. 10 , FIG. 10 is another schematic flowchart of the charging processing method provided by the embodiment of the present application. The charging processing method of this embodiment can be applied to a device to be charged. The charging processing method specifically includes:

201,获取与充电装置的连接状态。201. Acquire a connection state with a charging device.

连接状态包括已连接状态和未连接状态,已连接状态表示充电装置和待充电装置已经实现物理连接,如充电装置的充电输出接口插入待充电设备的充电输入接口。未连接状态则表示充电装置和待充电装置还未实现物理连接,如待充电设备的充电输入接口悬空,没有与充电装置连接。可以通过上述实施例中的多种方式获取与待充电设备的连接状态。The connection state includes a connected state and an unconnected state. The connected state indicates that the charging device and the device to be charged have been physically connected, for example, the charging output interface of the charging device is inserted into the charging input interface of the device to be charged. The unconnected state means that the charging device and the device to be charged have not yet been physically connected. For example, the charging input interface of the device to be charged is floating and not connected to the charging device. The connection status with the device to be charged can be acquired in various ways in the above embodiments.

202,当连接状态为已连接状态时,与充电装置通信。202. When the connection state is the connected state, communicate with the charging device.

当连接状态为已连接状态时,即充电装置与待充电设备物理连接后,充电装置开始与待充电设备通信。例如,可以待充电设备主动发送连接请求,也可以接收充电装置发送的连接请求。When the connection state is the connected state, that is, after the charging device is physically connected to the device to be charged, the charging device starts to communicate with the device to be charged. For example, the device to be charged may actively send the connection request, or the connection request sent by the charging device may be received.

203,当与充电装置通信成功后,控制充电装置从停止输出充电信号切换到输出充电信号。203 , after successful communication with the charging device, control the charging device to switch from stopping outputting the charging signal to outputting the charging signal.

当充电装置与待充电设备通信成功后,控制充电装置从停止输出充电信号切换到输出充电信号。具体的,可以理解为待充电设备发送连接请求后,接收到充电装置返回的接收请求信息后,识别该接收请求信息后,确定通信成功,然后控制充电装置从停止输出充电信号切换到输出充电信号。After the charging device successfully communicates with the device to be charged, the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal. Specifically, it can be understood that after the charging device sends a connection request, after receiving the receiving request information returned by the charging device, after identifying the receiving request information, it is determined that the communication is successful, and then the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal .

可以理解为待充电设备接收到充电装置发送的连接请求后,识别该接收请求信息后,返回接收请求信息,同时确定通信成功,然后控制充电装置从停止输出充电信号切换到输出充电信号。返回的接收请求信息中可以包括控制指令,该控制指令用于控制充电装置从停止输出充电信号切换到输出充电信号。也可以通信成功后,再重新发送控制指令。It can be understood that after the device to be charged receives the connection request sent by the charging device, recognizes the receiving request information, returns the receiving request information, and determines that the communication is successful, and then controls the charging device to switch from stopping outputting charging signals to outputting charging signals. The returned receiving request information may include a control instruction, where the control instruction is used to control the charging device to switch from stopping outputting the charging signal to outputting the charging signal. It is also possible to resend the control command after successful communication.

在一些实施例中,当与充电装置通信成功后,控制充电装置从停止输出充电信号切换到输出充电信号的步骤,包括:In some embodiments, after successful communication with the charging device, the step of controlling the charging device to switch from stopping outputting the charging signal to outputting the charging signal includes:

当与充电装置通信成功后,弹出充电确认界面;When the communication with the charging device is successful, the charging confirmation interface will pop up;

根据充电确认界面获取的确定充电信息,控制充电装置从停止输出充电信号切换到输出充电信号;Control the charging device to switch from stopping outputting the charging signal to outputting the charging signal according to the confirmed charging information obtained from the charging confirmation interface;

根据充电确认界面获取的确定通信信息,控制充电装置保持停止输出充电信号。According to the determined communication information obtained from the charging confirmation interface, the charging device is controlled to keep stopping outputting the charging signal.

当与充电装置通信成功后,可以弹出充电确认界面,然后等待用户进行操作。其中,充电确认界面上可以包括充电虚拟按钮、数据传输按钮,当充电虚拟按钮被用户触发时,得到确定充电信息,进而控制充电装置从停止输出充电信号切换到输出充电信号。当数据传输按钮被触发时,得到确定通信信息,从而控制充电装置保持停止输出充电信号,同时进行数据交换。When the communication with the charging device is successful, a charging confirmation interface can pop up, and then wait for the user to operate. The charging confirmation interface may include a charging virtual button and a data transmission button. When the charging virtual button is triggered by the user, the confirmed charging information is obtained, and then the charging device is controlled to switch from stopping outputting charging signals to outputting charging signals. When the data transmission button is triggered, the determined communication information is obtained, so that the charging device is controlled to stop outputting the charging signal, and at the same time perform data exchange.

在一些实施例中,获取与充电装置的连接状态的步骤之前,还包括:In some embodiments, before the step of acquiring the connection state with the charging device, the method further includes:

当接收到充电启动指令时,启动与充电装置通信的通信模块,并周期性发送连接请求。When receiving the charging start instruction, start the communication module that communicates with the charging device, and periodically send connection requests.

充电启动指令可以为识别到长按电源键、组合键、或其它操作方式。得到充电启动指令启动与充电装置通信的通信模块,并周期性发送连接请求,等待充电装置返回对应的信息。The charging start command may be recognition of long-pressing the power key, key combination, or other operation methods. The communication module that communicates with the charging device is activated by obtaining the charging start instruction, and periodically sends a connection request, waiting for the charging device to return corresponding information.

在一些实施例中,当与充电装置通信成功后,控制充电装置从停止输出充电信号切换到输出充电信号的步骤之后,还包括:In some embodiments, after the step of controlling the charging device to switch from stopping outputting the charging signal to outputting the charging signal after successful communication with the charging device, the method further includes:

当充电完成后,控制充电装置停止输出充电信号。When the charging is completed, the charging device is controlled to stop outputting the charging signal.

充电装置给待充电设备进行充电,当待充电设备充电完成后,发送充电完成的信息,用以控制充电装置停止输出充电信号。可以节约功耗,同时防止对待充电设备过充。The charging device charges the device to be charged, and when the device to be charged is completed, it sends a charging completion message to control the charging device to stop outputting a charging signal. Power consumption can be saved while preventing overcharging of the device to be charged.

本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的充电处理方法,比如:获取与待充电设备的连接状态;当所述连接状态为已连接状态时,与所述待充电设备通信;当与所述待充电设备通信成功后,输出充电信号;当与所述待充电设备通信失败或所述连接状态为未连接状态时,停止输出充电信号。Embodiments of the present application also provide a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on the computer, the computer is made to execute the charging processing method in any of the above-mentioned embodiments, such as: obtaining and waiting for charging The connection state of the device; when the connection state is the connected state, communicate with the device to be charged; when the communication with the device to be charged is successful, output a charging signal; when the communication with the device to be charged fails or all When the connection state is the unconnected state, stop outputting the charging signal.

在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)、或者随机存取记忆体(Random Access Memory,RAM)等。In this embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access memory (Random Access Memory, RAM), or the like.

需要说明的是,对本申请实施例的充电处理方法而言,本领域普通测试人员可以理解实现本申请实施例的充电处理方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如充电处理方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the charging processing method of the embodiment of the present application, ordinary testers in the art can understand that all or part of the process of implementing the charging processing method of the embodiment of the present application can be completed by controlling the relevant hardware through a computer program , the computer program can be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution process can include methods such as charging processing methods. Example flow. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.

以上对本申请实施例所提供的一种充电处理方法、充电处理电路、电子设备及存储介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A charging processing method, a charging processing circuit, an electronic device, and a storage medium provided by the embodiments of the present application have been described in detail above. The principles and implementations of the present application are described with specific examples. The description is only used to help understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, there will be changes in the specific embodiment and the scope of application. In summary, The contents of this specification should not be construed as limiting the application.

Claims (14)

1.一种充电处理方法,应用于充电处理电路,其特征在于,所述充电处理电路包括充电输出接口和检测模块,所述方法包括:1. A charging processing method, applied to a charging processing circuit, wherein the charging processing circuit comprises a charging output interface and a detection module, and the method comprises: 获取与待充电设备的连接状态,其中,所述充电输出接口用于与待充电设备的充电输入接口连接,其中,所述充电输出接口包括第一输出引脚和第二输出引脚,第一输出引脚和第二输出引脚之间通过第一功能元件连接,所述第一输出引脚和所述第二输出引脚通过所述充电输入接口形成回路;所述检测模块与所述充电输出接口连接,所述检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态,其中,所述检测模块与所述第一输出引脚连接,并获取所述第一输出引脚的检测电压或检测电流,所述检测模块用于通过所述检测电压或所述检测电流的变化,获取所述充电输出接口和所述充电输入接口的连接状态;Obtain the connection status with the device to be charged, wherein the charging output interface is used to connect with the charging input interface of the device to be charged, wherein the charging output interface includes a first output pin and a second output pin, the first The output pin and the second output pin are connected through a first functional element, and the first output pin and the second output pin form a loop through the charging input interface; the detection module and the charging The output interface is connected, and the detection module is used to obtain the connection state between the charging output interface and the charging input interface, wherein the detection module is connected to the first output pin, and obtains the first output pin. The detection voltage or detection current of the pin, the detection module is used to obtain the connection status of the charging output interface and the charging input interface through the change of the detection voltage or the detection current; 当所述连接状态为已连接状态时,与所述待充电设备通信;When the connection state is the connected state, communicate with the device to be charged; 当与所述待充电设备通信成功后,通过所述充电输出接口输出充电信号;After successful communication with the device to be charged, output a charging signal through the charging output interface; 当与所述待充电设备通信失败时,停止通过所述充电输出接口输出充电信号;When the communication with the device to be charged fails, stop outputting a charging signal through the charging output interface; 当与所述待充电设备通信失败或所述连接状态为未连接状态时,停止通过所述充电输出接口输出充电信号。When the communication with the device to be charged fails or the connection state is an unconnected state, the outputting of the charging signal through the charging output interface is stopped. 2.根据权利要求1所述的充电处理方法,其特征在于,当与所述待充电设备通信成功后,输出充电信号的步骤之后,还包括:2. The charging processing method according to claim 1, wherein after the step of outputting a charging signal after successful communication with the device to be charged, the method further comprises: 当接收到充电完成的信息时,停止输出充电信号。When receiving the charging completion information, stop outputting the charging signal. 3.一种充电处理方法,应用于充电处理电路,其特征在于,所 述充电处理电路包括充电输出接口和检测模块,所述方法包括:3. A charging processing method, applied to a charging processing circuit, is characterized in that, the charging processing circuit comprises a charging output interface and a detection module, and the method comprises: 获取与充电装置的连接状态,其中,所述充电输出接口用于与待充电设备的充电输入接口连接,其中,所述充电输出接口包括第一输出引脚和第二输出引脚,第一输出引脚和第二输出引脚之间通过第一功能元件连接,所述第一输出引脚和所述第二输出引脚通过所述充电输入接口形成回路;所述检测模块与所述充电输出接口连接,所述检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态,其中,所述检测模块与所述第一输出引脚连接,并获取所述第一输出引脚的检测电压或检测电流,所述检测模块用于通过所述检测电压或所述检测电流的变化,获取所述充电输出接口和所述充电输入接口的连接状态;Obtain the connection status with the charging device, wherein the charging output interface is used to connect with the charging input interface of the device to be charged, wherein the charging output interface includes a first output pin and a second output pin, the first output The pin and the second output pin are connected through a first functional element, and the first output pin and the second output pin form a loop through the charging input interface; the detection module and the charging output interface connection, the detection module is used to obtain the connection state between the charging output interface and the charging input interface, wherein the detection module is connected to the first output pin, and obtains the first output pin The detection voltage or detection current, the detection module is used to obtain the connection status of the charging output interface and the charging input interface through the change of the detection voltage or the detection current; 当所述连接状态为已连接状态时,与所述充电装置通信;When the connection state is the connected state, communicate with the charging device; 当与所述充电装置通信成功后,控制所述充电装置从停止输出充电信号切换到输出充电信号。After successful communication with the charging device, the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal. 4.根据权利要求3所述的充电处理方法,其特征在于,当与所述充电装置通信成功后,控制所述充电装置从停止输出充电信号切换到输出充电信号的步骤,包括:4 . The charging processing method according to claim 3 , wherein after successful communication with the charging device, the step of controlling the charging device to switch from stopping outputting the charging signal to outputting the charging signal comprises: 4 . 当与所述充电装置通信成功后,弹出充电确认界面;After successful communication with the charging device, a charging confirmation interface pops up; 根据所述充电确认界面获取的确定充电信息,控制所述充电装置从停止输出充电信号切换到输出充电信号;Controlling the charging device to switch from stopping outputting the charging signal to outputting the charging signal according to the determined charging information obtained by the charging confirmation interface; 根据所述充电确认界面获取的确定通信信息,控制所述充电装置保持停止输出充电信号。According to the determined communication information obtained by the charging confirmation interface, the charging device is controlled to keep and stop outputting charging signals. 5.根据权利要求3所述的充电处理方法,其特征在于,获取与充电装置的连接状态的步骤之前,还包括:5. The charging processing method according to claim 3, wherein before the step of acquiring the connection state with the charging device, the method further comprises: 当接收到充电启动指令时,启动与所述充电装置通信的通信模块,并周期性发送连接请求。When a charging start instruction is received, a communication module communicating with the charging device is started, and a connection request is sent periodically. 6.根据权利要求3所述的充电处理方法,其特征在于,当与所述充电装置通信成功后,控制所述充电装置从停止输出充电信号切换到输出充电信号的步骤之后,还包括:6 . The charging processing method according to claim 3 , wherein after the step of controlling the charging device to switch from stopping outputting the charging signal to outputting the charging signal after the communication with the charging device is successful, the method further comprises: 6 . 当充电完成后,控制所述充电装置停止输出充电信号。After the charging is completed, the charging device is controlled to stop outputting the charging signal. 7.一种充电处理电路,其特征在于,包括:7. A charging processing circuit, comprising: 充电输出接口,所述充电输出接口用于与待充电设备的充电输入接口连接,其中,所述充电输出接口包括第一输出引脚和第二输出引脚,第一输出引脚和第二输出引脚之间通过第一功能元件连接,所述第一输出引脚和所述第二输出引脚通过所述充电输入接口形成回路;A charging output interface, the charging output interface is used to connect with the charging input interface of the device to be charged, wherein the charging output interface includes a first output pin and a second output pin, the first output pin and the second output The pins are connected through a first functional element, and the first output pin and the second output pin form a loop through the charging input interface; 检测模块,所述检测模块与所述充电输出接口连接,所述检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态,其中,所述检测模块与所述第一输出引脚连接,并获取所述第一输出引脚的检测电压或检测电流,所述检测模块用于通过所述检测电压或所述检测电流的变化,获取所述充电输出接口和所述充电输入接口的连接状态;A detection module, the detection module is connected to the charging output interface, and the detection module is used to obtain the connection state of the charging output interface and the charging input interface, wherein the detection module is connected to the first output interface. pin connection, and obtain the detection voltage or detection current of the first output pin, the detection module is used to obtain the charging output interface and the charging input interface through the change of the detection voltage or the detection current connection status; 输出控制模块,所述充电输出接口和所述检测模块均与所述输出控制模块连接,当所述连接状态为未连接状态时,停止通过所述充电输出接口输出充电信号,当所述连接状态为已连接状态时,与所述待充电设备通信,以及当通信成功时,通过所述充电输出接口输出充电信号,当通信失败时,停止通过所述充电输出接口输出充电信号。an output control module, the charging output interface and the detection module are both connected to the output control module, when the connection state is an unconnected state, stop outputting a charging signal through the charging output interface, when the connection state is In the connected state, communicate with the device to be charged, and when the communication succeeds, output a charging signal through the charging output interface, and stop outputting the charging signal through the charging output interface when the communication fails. 8.根据权利要求7所述的充电处理电路,其特征在于,8. The charging processing circuit according to claim 7, characterized in that: 所述第一输出引脚和所述第二输出引脚还通过第五功能元件、第二开关元件连接,The first output pin and the second output pin are also connected through a fifth functional element and a second switching element, 所述第五功能元件的一端连接所述第一输出引脚,所述第五功能元件的另一端连接所述第二开关元件的输入端,所述第二开关元件的输出端连接所述第二输出引脚,所述第二开关元件的控制端连接所述检测模块。One end of the fifth functional element is connected to the first output pin, the other end of the fifth functional element is connected to the input end of the second switch element, and the output end of the second switch element is connected to the first output pin. Two output pins, the control end of the second switch element is connected to the detection module. 9.根据权利要求7所述的充电处理电路,其特征在于,9. The charging processing circuit according to claim 7, characterized in that: 所述充电输入接口包括第一输入引脚和第二输入引脚,所述第一输入引脚接地,所述第一输入引脚与所述第一输出引脚连接,所述第二输入引脚通过第二功能元件与所述第二输出引脚连接,所述第二输入引脚具有电压。The charging input interface includes a first input pin and a second input pin, the first input pin is grounded, the first input pin is connected to the first output pin, and the second input pin is connected to the ground. The pin is connected to the second output pin through the second functional element, and the second input pin has a voltage. 10.根据权利要求7所述的充电处理电路,其特征在于,10. The charging processing circuit according to claim 7, characterized in that: 所述充电输出接口包括第三输出引脚和第四输出引脚,所述第三输出引脚和所述第四输出引脚通过所述充电输入接口导通,通过所述第三输出引脚传输识别信号,当所述第四输出引脚检测到所述识别信号时,确定所述充电输出接口和所述充电输入接口的连接状态为已连接状态。The charging output interface includes a third output pin and a fourth output pin, the third output pin and the fourth output pin are connected through the charging input interface, and the third output pin is connected through the charging input interface. An identification signal is transmitted, and when the fourth output pin detects the identification signal, it is determined that the connection state of the charging output interface and the charging input interface is a connected state. 11.根据权利要求7所述的充电处理电路,其特征在于,11. The charging processing circuit according to claim 7, wherein, 所述充电输出接口包括通信引脚,所述通信引脚周期性发送连接请求,当接收到所述待充电设备根据所述连接请求返回的接收请求信息时,确定所述充电输出接口和所述充电输入接口的连接状态为已连接状态。The charging output interface includes a communication pin, and the communication pin periodically sends a connection request, and when receiving the reception request information returned by the device to be charged according to the connection request, determine the charging output interface and the connection request. The connection status of the charging input interface is connected. 12.一种充电处理电路,其特征在于,包括:12. A charging processing circuit, characterized in that it comprises: 充电输入接口,所述充电输入接口用于与充电装置的充电输出接口连接,所述充电输出接口用于与待充电设备的充电输入接口连接,其中,所述充电输出接口包括第一输出引脚和第二输出引脚,第一输出引脚和第二输出引脚之间通过第一功能元件连接,所述第一输出引脚和所述第二输出引脚通过所述充电输入接口形成回路;A charging input interface, the charging input interface is used for connecting with the charging output interface of the charging device, and the charging output interface is used for connecting with the charging input interface of the device to be charged, wherein the charging output interface includes a first output pin and the second output pin, the first output pin and the second output pin are connected through a first functional element, and the first output pin and the second output pin form a loop through the charging input interface ; 第二检测模块,所述第二检测模块与所述充电输入接口连接,所述第二检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态,所述充电装置的检测模块与所述充电输出接口连接,所述检测模块用于获取所述充电输出接口与所述充电输入接口的连接状态,其中,所述检测模块与所述第一输出引脚连接,并获取所述第一输出引脚的检测电压或检测电流,所述检测模块用于通过所述检测电压或所述检测电流的变化,获取所述充电输出接口和所述充电输入接口的连接状态,所述第二检测模块接收所述检测模块发送的所述连接状态;The second detection module, the second detection module is connected to the charging input interface, the second detection module is used to obtain the connection status of the charging output interface and the charging input interface, the detection module of the charging device is connected to the charging output interface, and the detection module is used to obtain the connection state between the charging output interface and the charging input interface, wherein the detection module is connected to the first output pin, and obtains the The detection voltage or detection current of the first output pin, the detection module is used to obtain the connection state of the charging output interface and the charging input interface through the change of the detection voltage or the detection current, and the first 2. The detection module receives the connection status sent by the detection module; 第二输出控制模块,所述充电输入接口和所述第二检测模块均与所述第二输出控制模块连接,当所述连接状态为已连接状态时,与所述充电装置通信,以及当通信成功时,控制所述充电装置从停止输出充电信号切换到输出充电信号。The second output control module, the charging input interface and the second detection module are both connected to the second output control module, when the connection state is the connected state, communicate with the charging device, and when the communication When successful, the charging device is controlled to switch from stopping outputting the charging signal to outputting the charging signal. 13.一种电子设备,其特征在于,包括壳体和充电处理电路,所述充电处理电路在所述壳体内,所述充电处理电路如权利要求7-12任一项所述的充电处理电路。13. An electronic device, comprising a housing and a charging processing circuit, wherein the charging processing circuit is inside the housing, and the charging processing circuit is the charging processing circuit according to any one of claims 7-12 . 14.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1至6任一项所述的充电处理方法的步骤。14. A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the steps of the charging processing method according to any one of claims 1 to 6 are implemented.
CN201811347508.3A 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device and storage medium Active CN109560581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811347508.3A CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811347508.3A CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN109560581A CN109560581A (en) 2019-04-02
CN109560581B true CN109560581B (en) 2020-12-01

Family

ID=65866029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811347508.3A Active CN109560581B (en) 2018-11-13 2018-11-13 Charging processing method, charging processing circuit, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN109560581B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111211608A (en) * 2020-01-09 2020-05-29 广东小天才科技有限公司 Charging short-circuit protection circuit and method and power adapter
CN115606066A (en) * 2020-12-07 2023-01-13 深圳市韶音科技有限公司(Cn) Charging control circuit and acoustic output device
CN114123401A (en) * 2021-11-22 2022-03-01 苏州臻迪智能科技有限公司 Charging device and mobile device
CN114710738B (en) * 2022-03-31 2023-03-24 深圳市微源半导体股份有限公司 Sweat detection method of TWS earphone based on communication mode

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259300A (en) * 2012-02-15 2013-08-21 宏达国际电子股份有限公司 Portable electronic device and its charging method
CN103413986A (en) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 Method and device for automatically stopping charging after full charge of mobile terminal
CN104505921A (en) * 2015-01-16 2015-04-08 九五堂科技(深圳)有限公司 Charging device and charging management method
CN105576744A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Charge pal switching implementation method and charge pal
EP3093945A1 (en) * 2015-05-14 2016-11-16 MediaTek, Inc Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
CN106300690A (en) * 2015-06-12 2017-01-04 西安中兴新软件有限责任公司 A kind of wireless charging method, equipment and terminal
CN106340932A (en) * 2016-10-17 2017-01-18 惠州Tcl移动通信有限公司 Mobile terminal connection detection method and system based on USB interface charger
CN106786994A (en) * 2017-02-20 2017-05-31 维沃移动通信有限公司 A kind of charging method, charger and mobile terminal
CN106828171A (en) * 2017-03-08 2017-06-13 广州车电网新能源有限公司 Charging pile and the identification system and method for electric automobile wireless telecommunications
CN106877462A (en) * 2017-04-21 2017-06-20 维沃移动通信有限公司 A method and charger for detecting charging state
WO2018068323A1 (en) * 2016-10-14 2018-04-19 华为技术有限公司 Charger

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259300A (en) * 2012-02-15 2013-08-21 宏达国际电子股份有限公司 Portable electronic device and its charging method
CN103413986A (en) * 2013-08-27 2013-11-27 贝壳网际(北京)安全技术有限公司 Method and device for automatically stopping charging after full charge of mobile terminal
CN104505921A (en) * 2015-01-16 2015-04-08 九五堂科技(深圳)有限公司 Charging device and charging management method
EP3093945A1 (en) * 2015-05-14 2016-11-16 MediaTek, Inc Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
CN106300690A (en) * 2015-06-12 2017-01-04 西安中兴新软件有限责任公司 A kind of wireless charging method, equipment and terminal
CN105576744A (en) * 2015-12-25 2016-05-11 惠州Tcl移动通信有限公司 Charge pal switching implementation method and charge pal
WO2018068323A1 (en) * 2016-10-14 2018-04-19 华为技术有限公司 Charger
CN106340932A (en) * 2016-10-17 2017-01-18 惠州Tcl移动通信有限公司 Mobile terminal connection detection method and system based on USB interface charger
CN106786994A (en) * 2017-02-20 2017-05-31 维沃移动通信有限公司 A kind of charging method, charger and mobile terminal
CN106828171A (en) * 2017-03-08 2017-06-13 广州车电网新能源有限公司 Charging pile and the identification system and method for electric automobile wireless telecommunications
CN106877462A (en) * 2017-04-21 2017-06-20 维沃移动通信有限公司 A method and charger for detecting charging state

Also Published As

Publication number Publication date
CN109560581A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109560581B (en) Charging processing method, charging processing circuit, electronic device and storage medium
US11288407B2 (en) Method and electronic device for controlling voltage output to external electronic device according to size of voltage detected at signal terminal connected to external electronic device
CN111697663B (en) Charging circuit and charging cable
CN105226779B (en) Wireless charging equipment and its control method and control device
US20150143138A1 (en) System for detecting universal serial bus (usb) device and method thereof
CN108920397B (en) Device identification method and device, storage medium and electronic device
CN108132401A (en) Charging abnormity detection method and device, storage medium and mobile terminal
US20200073455A1 (en) Method of identifying external electronic device based on power information and electronic device and storage medium for supporting same
US10074949B1 (en) Electronic device and a method for detecting the connecting direction of two electronic components
CN108228509B (en) USB interface switching device and electronic equipment
US20130283028A1 (en) Adapter identification system and method for computer
CN106877462B (en) A kind of method and charger detecting charged state
CN111881074B (en) Electronic system, host device and control method
CN112136120A (en) Universal flash memory, electronic device capable of connecting to various types of storage devices, and method thereof
CN109478174B (en) Switch for reversible interface
US11428753B2 (en) Method for detecting water in connection terminal of electronic device and electronic device supporting the same
CN105824732A (en) USB detection method and detection system
TWI451634B (en) Circuit for swapping a memory card in an electronic device
EP3629428B1 (en) Method and apparatus for changing impedance of terminal included in connector
US11513978B2 (en) Dual data ports with shared detection line
CN109074141B (en) Computing device with hot plug prediction circuit
TWI640873B (en) Method for triggering fast charging mode of usb device and system and storage medium thereof
CN108874716B (en) Charging communication connection device and method for portable equipment
CN109151160B (en) Communication method, communication device, mobile terminal and storage medium
CN105208192A (en) Storage card state control method of terminal and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant