This application discloses a method, device, medium and device for mobile phone charging. The method includes: charging the target mobile phone in CDP mode when the target mobile phone is detected to be connected to the charging device; detecting whether the target mobile phone is in normal charging state; if the target mobile phone is not in normal charging state, switching the charging device to DCP mode for the target mobile phone. Charge. Compared with the existing technology, in this application, if the target cell phone is not in the normal charging state during charging, the charging device charges the target cell phone in the DCP mode, thus avoiding the situation that the charging device in the existing technology can not correctly output the stable charging current to the target cell phone in the CDP mode, so that the charging device is always charged stably. The current charges the target cell phone, so the application can ensure the security and reliability of the target cell phone in the charging process.
【技术实现步骤摘要】
一种手机充电方法、装置、介质及设备
本专利技术涉及电池充电
,特别涉及一种手机充电方法、装置、介质及设备。
技术介绍
随着社会经济的不断发展,手机已经成为人们日常生活中必备的通讯工具。在现有技术当中,由于CDP(ChargingDownstreamPort,充电下行端口)模式不仅能够对手机进行充电,而且,能够在手机充电过程中保持USB的数据传输,所以,CDP模式成为手机高负荷运转并保持通信的不二供电选择。但是,如果手机长期处于高负荷运转状态,并实时传输USB数据时,手机需要消耗大量的电能。此时,如果手机USB(UniversalSerialBus,通用串行总线)端的供电电流较小,手机会消耗自身的电能,并最终导致手机亏电而关机。在此情况下,由于有的手机在关机时,无法发出正确的USB充电握手协议,这样会使得CDP模式不能向手机输出稳定的充电电流,并由此导致部分手机在关机状态下,无法正常充电的情形,这种情况会导致手机充电过程中的安全性及可靠性较差。针对这一技术问题,目前,还没有有效的解决办法。由此可见,提供一种怎样的手机充电方法,以提高手机在充电过程中的安全性及可靠性,是本领域技术人员亟待解决的问题。
技术实现思路
有鉴于此,本专利技术的目的在于提供一种手机充电方法、装置、介质及设备,以提高手机在充电过程中的安全性及可靠性。其具体方案如下:一种手机充电方法,包括:当检测到目标手机接入充电设备时,使所述充电设备在CDP模式对所述目标手机进行充电;检测所述目标手机是否处于正常充电状态;若所述目标手机不处于所述正常充电状态,则使所述充电设备切换到DCP模式对所述目标 ...
【技术保护点】
1.一种手机充电方法,其特征在于,包括:当检测到目标手机接入充电设备时,使所述充电设备在CDP模式对所述目标手机进行充电;检测所述目标手机是否处于正常充电状态;若所述目标手机不处于所述正常充电状态,则使所述充电设备切换到DCP模式对所述目标手机进行充电。
【技术特征摘要】
1.一种手机充电方法,其特征在于,包括:当检测到目标手机接入充电设备时,使所述充电设备在CDP模式对所述目标手机进行充电;检测所述目标手机是否处于正常充电状态;若所述目标手机不处于所述正常充电状态,则使所述充电设备切换到DCP模式对所述目标手机进行充电。2.根据权利要求1所述的手机充电方法,其特征在于,所述检测所述目标手机是否处于正常充电状态的过程之后,还包括:若所述目标手机处于所述正常充电状态,则继续使所述充电设备在所述CDP模式对所述目标手机进行充电。3.根据权利要求1所述的手机充电方法,其特征在于,所述检测所述目标手机是否处于正常充电状态的过程之后,还包括:若所述目标手机不处于所述正常充电状态,则提示预警信息。4.根据权利要求1至3任一项所述的手机充电方法,其特征在于,所述检测所述目标手机是否处于正常充电状态的过程,包括:利用目标芯片的GPIO检测所述充电设备的输出电压;若所述充电设备在预设时间内未输出连续的预设电压,则确定所述目标手机不处于所述正常充电状态。5.根据权利要求4所述的手机充电方法,其特征在于,所述利用目标芯片的GPIO检测所述充电设备...
【专利技术属性】
技术研发人员:张志远,朱世伟,
申请(专利权)人:深圳市网心科技有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。