CN105656119A - Method and device for detecting charging of dual chips in mobile device - Google Patents

Method and device for detecting charging of dual chips in mobile device Download PDF

Info

Publication number
CN105656119A
CN105656119A CN 201610055947 CN201610055947A CN105656119A CN 105656119 A CN105656119 A CN 105656119A CN 201610055947 CN201610055947 CN 201610055947 CN 201610055947 A CN201610055947 A CN 201610055947A CN 105656119 A CN105656119 A CN 105656119A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
mode
node
current
chip
charging
Prior art date
Application number
CN 201610055947
Other languages
Chinese (zh)
Inventor
李建田
俞茂学
Original Assignee
青岛海信移动通信技术股份有限公司
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

Links

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/007Regulation of charging current or voltage

Abstract

The invention discloses a method and device for detecting the charging of dual chips in a mobile device. The method comprises the following steps: acquiring a direction of current flowing by a node under a first mode, wherein the first mode is a mode that both a main charging chip and an auxiliary charging chip are operated; when the direction of the current flowing by the node under the first mode is determined to flow into a charging battery, acquiring a direction of current flowing by the node under a second state, wherein the second mode is a mode that the main charging chip is operated and the auxiliary charging chip is closed; and when the direction of the current flowing by the node under the second mode is determined to flow into the charging battery, determining that a connection function of the main charging chip is normal. By adopting the method and device, the problem in the prior art that no corresponding detection mechanism is provided for the functional detection of the charging chip in a dual-chip charging way is solved.

Description

_种检测移动设备中双芯片充电的方法及装置 _ Detecting method in a mobile device and means for charging two-chip

技术领域 FIELD

[0001]本发明涉及充电芯片检测领域,尤其涉及一种检测移动设备中双芯片充电的方法及装置。 [0001] The present invention relates to a charge detecting chip, and more particularly relates to a method and apparatus for charging a mobile device in a double-chip detection.

背景技术 Background technique

[0002]随着人们对充电速度和充电发热问题的关注,多种充电方式逐渐走向市场,包括单芯片充电方式以及双芯片充电方式。 [0002] With attention to the charging rate and charging the heat problem, a variety of charging methods gradually move toward the market, including single-chip and dual-chip charging charging. 其中,双芯片充电方式是通过主充电芯片和辅充电芯片同时为电池进行充电,采用该充电方式可以使电流分流,提高充电芯片的使用寿命。 Wherein the charging method is a two-chip simultaneously charging the battery charging chip by primary and secondary charging chips, using the shunt current charging mode can improve the life of the charging of the chip. 为了降低双芯片充电方式中充电芯片带来的故障风险,设计一套完善的充电芯片功能检测机制是必要的。 To reduce the risk of failure in a two-chip charging charging chip brought about a comprehensive charging chip design feature detection mechanism is necessary.

[0003]现有技术中,对单芯片充电方式的充电芯片的功能检测是通过获取充电电流的大小,采用绝对值检测的方法进行检测,但对于双芯片充电方式中充电芯片的功能检测,目前还没有相应的检测机制。 [0003] In the prior art, the function of detecting a single chip charging charging chip is calculated by obtaining the charging current, using the method of detecting the absolute value is detected, but the double-chip charge charging mode detection function of the chip, the current no corresponding detection mechanism.

发明内容 SUMMARY

[0004]本发明的目的是提供一种检测移动设备中双芯片充电的方法及装置,以解决双芯片充电方式中充电芯片的功能检测的问题。 [0004] The object of the present invention is to provide a method and apparatus issues a mobile device in a double-chip charge detection function of detecting two-chip solution to charging mode of charging the chip.

[0005]本发明的目的是通过以下技术方案实现的: [0005] The object of the present invention is achieved by the following technical solution:

[0006] —种检测移动设备中双芯片充电的方法,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,所述方法包括: [0006] - the kind of mobile device detection method of charging a two-chip, the input end of the main charging current mobile chip device and the current input terminal of said secondary mobile device chip are connected to a charging an external battery charger, the the main current output terminal of said charging current output terminal of the chip and the secondary chip are charged by the rechargeable battery is connected to the node, the method comprising:

[0007]获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式; [0007] Gets the current flowing through the first node mode direction, wherein the first mode is a mode charging the primary chip and the secondary chip are working charge;

[0008]在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的模式; When the [0008] direction of a current flowing through the node in the first mode is determined flowing into the rechargeable battery, the direction of current flowing through the acquired node in the second mode, the second mode is the master chip operates and charging the secondary charging chip off mode;

[0009]在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 When the [0009] direction of the current in the second mode determines that the node is flowing into said rechargeable battery, it is determined that the primary charge chip connecting function properly.

[0010]可选的,在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 [0010] Alternatively, the direction of current flowing through the node determined in the second mode when the effluent from the rechargeable battery, it is determined that the primary charge chip is connected dysfunction.

[0011]可选的,在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,结束检测。 [0011] Alternatively, the direction of current flowing through the node determined in the first mode when the effluent from the rechargeable battery, it is determined that the chip is connected to the primary charging dysfunction, end detection.

[0012]可选的,获取所述第一模式下流经所述节点的电流的方向,包括: [0012] Optionally, acquiring the direction of the current flowing through the node in a first mode, comprising:

[0013]在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向;或者 [0013] In the first mode, a current flowing through the detection node, in order to obtain the direction of the current flowing through the node in the first mode; or

[0014]在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 [0014] In the first mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the first mode to Get the current flowing through the first mode the node direction.

[0015]可选的,获取所述第二模式下流经所述节点的电流的方向,包括: [0015] Optionally, acquiring the direction of the current flowing through the node in a second mode, comprising:

[0016]在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向;或者 [0016] In the second mode, current flowing through the detection node, in order to obtain the direction of a current flowing through said second mode node; or

[0017]在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 [0017] In the second mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the second mode to obtaining the direction of current flowing through the second mode of the node.

[0018]可选的,该方法还包括: [0018] Optionally, the method further comprising:

[0019]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; Difference [0019] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the nodes outside the set threshold range, it is determined that the charging the secondary chip is connected dysfunction;

[0020]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 Difference [0020] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the node is within the threshold range, it is determined that the charging the secondary chip is connected to function properly.

[0021]可选的,获取所述第一模式下流经所述节点的电流的方向,还包括:获取所述第一模式下流经所述节点的电流的电流值; [0021] Optionally, acquiring the direction of the current flowing through the node in a first mode, further comprising: acquiring a current value of a current flowing through said first mode the node;

[0022]获取所述第二模式下流经所述节点的电流的方向,还包括:获取所述第二模式下流经所述节点的电流的电流值。 [0022] Gets the direction of the current flowing through the node in the second mode, further comprising: obtaining a current value flowing through the second mode of the current node.

[0023]基于与方法同样的发明构思,本发明实施例提供了一种检测移动设备中双芯片充电的装置,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,所述装置包括: [0023] Based on the same concept and method of the invention, embodiments provide a means for moving the device in a two-chip charge detecting the present invention, the current input of the mobile device chip and the main charging the secondary mobile device input terminal of the charging current chip are connected to an external charger, charging current output terminal of the main chip and the charging current output terminal of the secondary chip are connected node via a rechargeable battery, said apparatus comprising:

[0024]获取模块,用于获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式;以及,用于获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的模式; [0024] acquiring module, for acquiring the direction of current flowing through the first mode of the node, wherein the first mode is the primary mode and the secondary charging charging chip chips are working; and, for Get the current flowing through said second node mode direction, the second charging mode is the main chip and the secondary working chips off the charging mode;

[0025]判定处理模块,用于在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 [0025] The determination processing module, the direction of current in the second mode determined for flows through the node is flowing into the rechargeable battery, it is determined that the connection is functioning properly charging the main chip.

[0026]可选的,所述判断处理模块还用于: [0026] Alternatively, the determination processing module is further configured to:

[0027]在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 [0027] The direction of the current flowing through the node determined in the second mode when the effluent from the rechargeable battery, it is determined that the primary charge chip is connected dysfunction.

[0028]可选的,所述判断处理模块还用于: [0028] Alternatively, the determination processing module is further configured to:

[0029]在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,并结束检测。 [0029] The direction of the current in said first mode determines that the node is flowing through the flow from the rechargeable battery, it is determined that the chip is connected to the primary charging dysfunction, and end detection.

[0030]可选的,所述获取模块具体用于: [0030] Optionally, the obtaining module is configured to:

[0031]在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向;或者 [0031] In the first mode, a current flowing through the detection node, in order to obtain the direction of the current flowing through the node in the first mode; or

[0032]在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 [0032] In the first mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the first mode to Get the current flowing through the first mode the node direction.

[0033]可选的,所述获取模块具体用于: [0033] Optionally, the obtaining module is configured to:

[0034]在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向;或者 [0034] In the second mode, current flowing through the detection node, in order to obtain the direction of a current flowing through said second mode node; or

[0035]在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 [0035] In the second mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the second mode to obtaining the direction of current flowing through the second mode of the node.

[0036]可选的,所述判定模块还用于: [0036] Optionally, the determination module is further configured to:

[0037]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; Difference [0037] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the nodes outside the set threshold range, it is determined that the charging the secondary chip is connected dysfunction;

[0038]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 Difference [0038] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the node is within the threshold range, it is determined that the charging the secondary chip is connected to function properly.

[0039]可选的,所述获取模块还用于:获取所述第一模式下流经所述节点的电流的电流值;以及获取所述第二模式下流经所述节点的电流的电流值。 [0039] Optionally, the obtaining module is further configured to: obtain a current value of a current flowing through said first mode of said node; and obtaining a current value flowing through the second mode of the current node.

[0040]本发明实施例还提供了一种移动设备,包括以上所述任一装置。 [0040] Embodiments of the present invention further provides a mobile device comprising the apparatus of any of the foregoing.

[0041]本发明实施例提供的一种检测移动设备中双芯片充电的方法及装置,在主充电芯片和辅充电芯片均工作的第一模式下,获取流经节点的电流的方向,在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,在所述主充电芯片工作且所述辅充电芯片关闭的第二模式下,获取流经所述节点的电流的方向;在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常,解决了双芯片充电方式中充电芯片的功能检测的问题。 [0041] A method and apparatus for detecting a mobile device according to an embodiment of the two-chip charge present invention, in a first mode, the main and secondary charge charging chips are chips work acquires the direction of the current flowing through the nodes, it is determined the direction of the current flowing through the first mode when the node is flowing into the rechargeable battery, the main charging at chip operating mode and the second charging secondary chip off, flowing through the node acquires the current direction; direction of current flowing through the node in the second mode is determined when flowing into the rechargeable battery, it is determined that the chip is connected to the primary charging function properly solve the charging mode two-chip charge chip problem detection function.

附图说明 BRIEF DESCRIPTION

[0042]图1为本发明实施例提供的一种检测移动设备中双芯片充电的方法流程图; [0042] FIG 1 A method for detecting a double-chip charge mobile device according to an embodiment of the present invention, a flow chart;

[0043]图2为本发明实施例提供的又一种检测移动设备中双芯片充电的方法流程图; [0043] FIG. 2 provides a further embodiment of a mobile device two-chip detecting method of charging a flowchart of the present invention;

[0044]图3为本发明实施例提供的一种检测移动设备中双芯片充电的装置示意图; [0044] Fig 3 a schematic view of a device for detecting a mobile device provided in the two-chip embodiment of the invention the charging;

[0045]图4为本发明实施例提供的另一种检测移动设备中双芯片充电的装置示意图。 [0045] FIG. 4 is a schematic of another apparatus for detecting a mobile device charging a two-chip according to an embodiment of the present invention.

具体实施方式 detailed description

[0046]下面将结合附图,对本发明实施例提供的技术方案进行详细说明。 [0046] will be described in detail in conjunction with the accompanying drawings, technical solutions provided in embodiments of the present invention.

[0047]本发明实施例提供了一种检测移动设备中双芯片充电的方法,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,如图1所示,包括如下操作: [0047] The embodiments of the present invention provides a method of detecting two-chip charge a mobile device, the mobile device in the current input terminal of the main chip with the mobile charge of the secondary charging device chip and the current input terminal, respectively, external charger is connected, the charging current output terminal of the main chip and the charging current output terminal of the secondary chip are connected node via the rechargeable battery shown in Figure 1, it comprises the following operations:

[0048]步骤100、获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式。 [0048] Step 100, obtaining the direction of the current flowing through the node in a first mode, wherein the first mode is a mode charging the primary chip and the secondary chip are charging work.

[0049]步骤110、在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的模式。 When [0049] Step 110, the direction of current flowing through the node determined in the first mode to flow into the rechargeable battery, the direction of current flowing through the acquired node in the second mode, the second mode chip operates as the primary charge and the secondary charging chip off mode.

[0050]本发明实施例中,所述第一模式下流经所述节点的电流的方向由所述第一模式下流经所述节点的电流的值的正负表示,具体的,所述第一模式下流经所述节点的电流为流入所述充电电池时,所述第一模式下流经所述节点的电流的值为负,所述第一模式下流经所述节点的电流为从所述充电电池流出时,所述第一模式下流经所述节点的电流的值为正。 [0050] The embodiments of the present invention, the positive and negative direction of current flowing through the node in the first mode by the current flowing through the node in the first mode of representation of the value, particularly, the first flowing through the current mode of the node into said rechargeable battery, said first mode current flowing through the node negative value, the first mode is a current flowing through the node from the charging when the battery flows, a current value flowing in the first mode the node positive.

[0051 ]步骤120、在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 [0051] Step 120, the current direction in said second mode determines that the node flows into the flow through the rechargeable battery, it is determined that the connection is functioning properly charging the main chip.

[0052]本发明实施例中,若所述第一模式下流经所述节点的电流的方向为流入所述充电电池,无法判定所述主充电芯片的连接功能是否异常,需要进一步确定所述第二模式下流经所述节点的电流的方向,并根据所述第二模式下流经所述节点的电流的方向,判定所述主充电芯片的连接功能是否异常。 Embodiment [0052] of the present invention, if the direction of current flowing through the first mode the node is flowing into the rechargeable battery, charging can not be determined that the chip is connected to the main function is abnormal, the determination of the need for further the direction of the current flowing through the second mode of the node, and depending on the direction of current flowing through the second mode the node, determining that the chip is connected to the main charging function is abnormal.

[0053]本发明实施例提供的一种检测移动设备中双芯片充电的方法,在主充电芯片和辅充电芯片均工作的第一模式下,获取流经节点的电流的方向,在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,在所述主充电芯片工作且所述辅充电芯片关闭的第二模式下,获取流经所述节点的电流的方向;在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常,解决了双芯片充电方式中的主充电芯片的连接功能的检测的问题。 [0053] A detecting device provided in a mobile two-chip embodiment of the present invention, method of charging, charging in the first mode, the main chip and the secondary chip are charging work, the direction of current flowing through the nodes acquired in the determined said direction of the current flowing in a first mode when the node is flowing into the rechargeable battery, at the primary charge chip operation mode and the second charging the secondary chip off, the current flowing through the acquired node direction; a direction of the current flowing through the node in the second mode is determined when flowing into the rechargeable battery, it is determined that the chip is connected to the primary charging function properly solve the charging mode two-chip primary charging chip the detection of connectivity problems.

[0054]本发明实施例中,移动设备中的主充电芯片的连接作用可控,即主充电芯片可以单独起到连接作用,而辅充电芯片只起到辅助连接作用,辅充电芯片无法单独起到连接作用。 [0054] The embodiments of the present invention, the main chip is connected to the charging effect of mobile devices controllable, i.e., the master chip may play ligation charging alone, and the secondary charging chip only play a role in the auxiliary connector, the auxiliary charging chip can not separate from to ligation.

[0055]本发明实施例中,可选的,如图2所示,步骤110之后,该方法还包括: [0055] The embodiments of the present invention, optionally, then 2, step 110, the method further comprising:

[0056]步骤130、在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 [0056] Step 130, the direction of current flowing through the node determined in the second mode when the effluent from the rechargeable battery, it is determined that the primary charge chip is connected dysfunction.

[0057] 本发明实施例中,可选的,如图2所示,步骤100之后,该方法还包括:还包括如下操作: [0057] The embodiments of the present invention, optionally, then 2, step 100, the method further comprising: further comprising the following operations:

[0058]步骤140、在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,结束检测。 [0058] Step 140, the direction of current flowing through the node determined in the first mode when the effluent from the rechargeable battery, it is determined that the chip is connected to the primary charging dysfunction, end detection.

[0059]具体的,若所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,则可以确定出所述主充电芯片的连接功能异常,此时辅充电芯片的连接功能可能正常,也可能异常,由于当所述主充电芯片的连接功能异常时,辅充电芯片的连接功能不管是正常还是异常,都无法进行充电,因此,不需要判定辅充电芯片的连接功能是否异常。 [0059] Specifically, if the direction of the current flowing through the node in a first mode when the effluent from the rechargeable battery, it may be determined that the main charging is connected dysfunction chip, charging the chip at this time secondary connectivity may be normal, or may abnormal, since the main charging function when the connection is abnormal chip, chip is connected to the auxiliary charging function whether normal or abnormal, can not be charged, therefore, does not require a secondary charging determination connectivity chip It is abnormal.

[0060]本发明实施例中,步骤100中在获取所述第一模式下流经所述节点的电流的方向,包括以下两种可选的实现方式: [0060] In embodiments, step 100 the direction of current flowing through the node in the mode of obtaining a first embodiment of the present invention, comprises the following two alternative ways:

[0061]方式1、在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向。 [0061] Embodiment 1, in the first mode, a current flowing through the detection node, in order to obtain the direction of a current flowing through said first mode the node.

[0062]该方式下,通过检测流经所述节点的电流,从而获取所述第一模式下流经所述节点的电流的方向。 [0062] In this manner, the current flowing through the detection by a node, thereby obtaining the direction of a current flowing through said first mode the node.

[0063]方式2、在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 [0063] Embodiment 2, in the first mode, receiving the transmitted primary charging chip for microarray representing the main charging current flowing through the direction to the node in the first mode information to obtain the direction of a current flowing through said first mode the node.

[0064]该方式下,从接收到的所述主充电芯片发送的信息,获取到所述第一模式下流经所述节点的电流的方向。 [0064] In this embodiment, the received information is transmitted from the master chip charge, the direction acquired in the first mode of the current flowing through the node. 其中,由主充电芯片在所述第一模式下检测流经所述节点的电流,根据检测到的流经所述节点的电流,确定出所述第一模式下流经所述节点的电流的方向。 Wherein, by the main charger IC flowing through the current detection node in the first mode, according to the detected current flowing through the node, the node determines the direction of current flowing through said first mode .

[0065]本发明实施例中,步骤110中根据所述第二模式下流经所述节点的电流,获取第二模式下流经所述节点的电流的方向,包括以下两种可选的实现方式: [0065] embodiment, the current in step 110 according to the second mode flows through the node embodiment of the present invention, obtaining the direction of current flowing through the node in a second mode, comprising the following two optional ways:

[0066]方式A、在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向。 [0066] The mode A, in the second mode, current flowing through the detection node, to obtain the direction of the current flowing through the second mode of the node.

[0067]该方式下,通过检测流经所述节点的电流,从而获取所述第二模式下流经所述节点的电流的方向。 [0067] In this manner, the current flowing through the detection by a node, thereby obtaining the direction of the current flowing through the second mode of the node.

[0068]方式B、在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 [0068] B mode, in the second mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of flow through the node in the second mode information to obtain the direction of the current flowing through the second mode of the node.

[0069]该方式下,从接收到的所述主充电芯片发送的信息,获取到所述第二模式下流经所述节点的电流的方向。 [0069] In this embodiment, the received information is transmitted from the primary charging chip, to obtain the second mode the direction of flow through the current node. 其中,由主充电芯片在所述第二模式下检测流经所述节点的电流,根据检测到的流经所述节点的电流,确定出所述第二模式下流经所述节点的电流的方向。 Wherein, by the main charging chip in the second mode, current flowing through the detection node, in accordance with the detected current flowing through the node, the node determines the direction of current flowing in the second mode .

[0070]本发明实施例中,在所述第二模式下,该方法还能够判断出所述辅充电芯片的连接功能是否异常,具体如下: [0070] embodiment, in the second mode, the method also can be determined that the chip is connected to the secondary charging function is abnormal embodiment of the present invention, as follows:

[0071]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; Difference [0071] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the nodes outside the set threshold range, it is determined that the charging the secondary chip is connected dysfunction;

[0072]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 Difference [0072] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the node is within the threshold range, it is determined that the charging the secondary chip is connected to function properly.

[0073]本发明实施例中,所述阈值范围是根据本领域技术人员的经验设定,本发明不作限定。 [0073] embodiment, the threshold range is set based on the experience of the skilled in the art, the present invention is not limited in the present invention.

[0074]可选的,获取所述第一模式下流经所述节点的电流的方向时,还包括:获取所述第一模式下流经所述节点的电流的电流值; When [0074] Optionally, acquiring the direction of the current flowing through the node in a first mode, further comprising: acquiring a current value of a current flowing through said first mode the node;

[0075]获取所述第二模式下流经所述节点的电流的方向时,该方法还包括:获取所述第二模式下流经所述节点的电流的电流值。 When [0075] Gets the direction of the current flowing through the node in the second mode, the method further comprises: acquiring a current value of the current flowing through the second mode of the node.

[0076]可选的,获取所述第一模式下流经所述节点的电流的电流值,包括: [0076] Optionally, acquiring the current value of the current flowing through the node in a first mode, comprising:

[0077]在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的电流值;或者 [0077] In the first mode, a current flowing through the detection node, in order to obtain a current value flowing through said first mode said current node; or

[0078]在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的电流值的信息,以获取所述第一模式下流经所述节点的电流的电流值。 [0078] In the first mode, receiving the primary charge chip for transmitting information indicating the current value of a current flowing through the primary node charging chip detected in the first mode, obtaining the current value at a first node of the mode of current flowing through.

[0079]具体的,在所述第一模式下,通过检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向和电流值;或者在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向和电流值的信息,以获取所述第一模式下流经所述节点的电流的方向和电流值。 [0079] Specifically, in the first mode, a current flowing through the detection by a node, and to obtain the direction of the current value of current flowing through the node in a first mode; or in the first mode, receiving the primary charge representing the chip transmitted for a chip main charging current detection information and direction to a current value flowing through the node in the first mode, the first to obtain direction and the current value of the current flowing through the node mode.

[0080]可选的,获取所述第二模式下流经所述节点的电流的电流值,包括: [0080] Optionally, acquiring the current value of the current flowing through the node in a second mode, comprising:

[0081]在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的电流值;或者 [0081] In the second mode, current flowing through the detection node, in order to obtain the current value of the current flowing through the node a second mode; or

[0082]在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的电流值的信息,以获取所述第二模式下流经所述节点的电流的电流值。 [0082] In the second mode, receiving the primary charge chip for transmitting information indicating the current value of a current flowing through the master node chip charge detected in said second mode, to obtain a current value under the second mode of the current flowing through the node.

[0083]具体的,在所述第二模式下,通过检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向和电流值;或者在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向和电流值的信息,以获取所述第二模式下流经所述节点的电流的方向和电流值。 [0083] Specifically, in the second mode, current flowing through the detection by a node, to obtain the direction and value of a current flowing through the current node in a second mode; or, in the second mode, receiving the primary charge representing the chip transmitted for a chip main charging current detection information and direction to a current value flowing through the node in the second mode, to obtain the second direction and the current value of the current flowing through the node mode.

[0084]可选的,由于恒流状态时所获取的电流值是稳定的,因此,当所述充电电池处于恒流充电状态时,获取流经所述节点的电流的电流值。 [0084] Alternatively, the current value of the constant current due to the acquired status is stable, and therefore, when the state of charge of the rechargeable battery in the constant current, current value of current flowing through the acquisition of the node.

[0085]基于与方法同样的发明构思,本发明实施例还提供一种检测移动设备中双芯片充电的装置,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,如图3所示,包括: [0085] The method based on the same inventive concept, an embodiment of the present invention further provides an apparatus for detecting a mobile device, two-chip charge, the current input of the mobile device chip and the main charging the secondary mobile device input terminal of the charging current chip are connected to an external charger, charging current output terminal of the main chip and the charging current output terminal of the secondary chip are connected node via a rechargeable battery, shown in Figure 3, comprising:

[0086]获取模块301,用于获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式;以及,用于获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的模式; [0086] 301 acquisition module, for acquiring the direction of current flowing through the first mode of the node, wherein the first mode is the primary mode and the secondary charging charging chip chips are working; and, with Get the current direction in the second mode flows through the node, the second charging mode is the main chip and the secondary working chips off the charging mode;

[0087]判定处理模块302,用于在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 [0087] The determination processing module 302, in a direction determined for the second mode of current flowing through the node when flowing into the rechargeable battery, it is determined that the connection is functioning properly charging the main chip.

[0088]本发明实施例提供的一种检测移动设备中双芯片充电的装置,在主充电芯片和辅充电芯片均工作的第一模式下,获取流经节点的电流的方向,在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,在所述主充电芯片工作且所述辅充电芯片关闭的第二模式下,获取流经所述节点的电流的方向;在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常,解决了双芯片充电方式中的主充电芯片的连接功能的检测的问题。 [0088] a device for detecting a mobile device according to an embodiment of the two-chip charge present invention, in a first mode, the main and secondary charge charging chips are chips work, the direction of current flowing through the nodes acquired in the determined said direction of the current flowing in a first mode when the node is flowing into the rechargeable battery, at the primary charge chip operation mode and the second charging the secondary chip off, the current flowing through the acquired node direction; a direction of the current flowing through the node in the second mode is determined when flowing into the rechargeable battery, it is determined that the chip is connected to the primary charging function properly solve the charging mode two-chip primary charging chip the detection of connectivity problems.

[0089]可选的,所述判断处理模块还用于: [0089] Alternatively, the determination processing module is further configured to:

[0090]在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 [0090] The direction of the current flowing through the node determined in the second mode when the effluent from the rechargeable battery, it is determined that the primary charge chip is connected dysfunction.

[0091]可选的,所述判断处理模块还用于: [0091] Alternatively, the determination processing module is further configured to:

[0092]在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,并结束检测。 [0092] The direction of the current in said first mode determines that the node is flowing through the flow from the rechargeable battery, it is determined that the chip is connected to the primary charging dysfunction, and end detection.

[0093]可选的,所述获取模块具体用于: [0093] Optionally, the obtaining module is configured to:

[0094]在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向;或者 [0094] In the first mode, a current flowing through the detection node, in order to obtain the direction of the current flowing through the node in the first mode; or

[0095]在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 [0095] In the first mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the first mode to Get the current flowing through the first mode the node direction.

[0096]可选的,所述获取模块具体用于: [0096] Optionally, the obtaining module is configured to:

[0097]在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向;或者 [0097] In the second mode, current flowing through the detection node, in order to obtain the direction of a current flowing through said second mode node; or

[0098]在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 [0098] In the second mode, receiving the transmitted primary charging chip for microarray representing the main charging current to the direction of the information flowing through the node in the second mode to obtaining the direction of current flowing through the second mode of the node.

[0099]可选的,所述判定模块还用于: [0099] Optionally, the determination module is further configured to:

[0100]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; Difference [0100] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the nodes outside the set threshold range, it is determined that the charging the secondary chip is connected dysfunction;

[0101]若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 Difference [0101] If the current value of current flowing through the first mode of the node and the current value of the current flowing through the second mode of the node is within the threshold range, it is determined that the charging the secondary chip is connected to function properly.

[0102]可选的,所述获取模块还用于:获取所述第一模式下流经所述节点的电流的电流值;以及获取所述第二模式下流经所述节点的电流的电流值。 [0102] Optionally, the obtaining module is further configured to: obtain a current value of a current flowing through said first mode of said node; and obtaining a current value flowing through the second mode of the current node.

[0103]需要说明的是,本发明实施例提供的装置可以设置于所述移动设备内,也可以与所述移动设备独立设置。 [0103] Incidentally, according to an embodiment of the apparatus of the present invention may be provided in the mobile-device may be provided independently of the mobile device.

[0104]下面通过一个具体实施例,对本发明实施例提供的检测移动设备中双芯片充电的装置执行检测移动设备中双芯片充电的过程进行详细说明。 [0104] By following a specific embodiment, described in detail detecting device provided in a mobile two-chip implementation of the charge detecting device in a mobile device charging a two-chip implementation of the process of the present invention.

[0105]实施例一、本实施例中,该装置可以设置于所述移动设备内,在所述第一模式下,该装置采用接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向和电流值的信息,以获取所述第一模式下流经所述节点的电流的方向和电流值;在所述第二模式下,该装置采用接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向和电流值的信息,以获取所述第二模式下流经所述节点的电流的方向和电流值。 [0105] Embodiment 1 of the present embodiment, the apparatus may be provided within the mobile device, in the first mode, the receiving device uses the primary charge representing the chip transmitted for a chip main charging and the direction information of the current flowing through the node values ​​detected in the first mode current, to obtain the direction and value of a current flowing through the current node in the first mode; the second mode, the device uses the received chip sends the primary charge for charging said master chip detector representing directional information to the current flowing through the node and a current value in the second mode, to obtain the direction and said second value of current flowing through the mode of the node. 本实施例提供的装置、主充电芯片、辅充电芯片、充电电池、外接充电器的一种可能的实现电路,如图4所示: Means provided in the present embodiment, a master-chip charge, the secondary charging chip, a rechargeable battery, the external charger circuit possible implementation, shown in Figure 4:

[0106] 节点P连接主充电芯片的VSYS管脚以及辅充电芯片的VBAT管脚,电流通过主充电芯片的VSYS管脚与辅充电芯片的VBAT管脚流经节点P; [0106] charging the node P connecting the main chip pins VBAT and auxiliary charging VSYS pin chips, the charging current through the main and auxiliary pin chip VSYS VBAT pin chip flow through the charging node P;

[0107]节点P与装置的输入端c连接,流经节点P的电流为装置供电; [0107] c input device is connected to the node P, a current flowing through the node P for the power supply means;

[0108] 节点P与电阻Rsns连接; [0108] Rsns connection node P and the resistor;

[0109] 主充电芯片的CS_P管脚与CS_N管脚分别连接到电阻Rsns两端,主充电芯片通过CS_P管脚与CS_N管脚检测流经电阻Rsns的电流,通过主充电芯片内部的逻辑运算处理,确定出流经电阻Rsns的电流的电流值及方向,即确定了流经节点P的电流的电流值及方向; [0109] CS_P primary charging pins of the chip are connected to pins CS_N Rsns across the resistor, the main current CS_P charging chip pins and pins CS_N Rsns by flowing through the resistor is detected, the logic operation by charging the interior of the main processing chip determining a current value and a direction of a current flowing through the resistor Rsns, i.e., determines the current value and direction of the current flowing through the node P;

[0110]主充电芯片的SDA管脚及SCL管脚与装置的通信端a连接,主充电芯片的通过SDA管脚将确定出的流经节点P的电流的电流值及方向传输至装置,主充电芯片的通过SCL管脚输出时钟信号至装置; [0110] SDA pin chip and the main charging a SCL pins of the communication terminal apparatus is connected to the chip by primary charging SDA pin and the current value of the transmission direction of the current flowing through the determined node P to the apparatus main charging SCL pin chip through outputs a clock signal to the device;

[0111]装置的通信端b与所述辅充电芯片的SPMI_CLK管脚以及SPMI_DATA管脚相连接,当装置发出关断辅充电芯片指令时,关断辅充电芯片指令通过通信端b输出至所述辅充电芯片的SPMI_CLK管脚以及SPMI_DATA管脚,辅充电芯片通过SPMI_CLK管脚以及SPMI_DATA管脚接收到关断指令后,控制所述辅充电芯片的关断。 [0111] communication terminal b of the secondary charging device and the chip pins and SPMI_DATA SPMI_CLK pin is connected is turned off when the secondary charging device issues commands chip, off-chip auxiliary charging command is output to the terminal b through the communication secondary charging the chip pins and SPMI_DATA SPMI_CLK pin, charging the chip after receiving the auxiliary turn-off command by SPMI_CLK SPMI_DATA pins and pin, the secondary off controlling the charging of the chip.

[0112] 在工作时,启动主充电芯片和辅充电芯片,外接充电器与主充电芯片的DCIN管脚以及辅充电芯片的USB_IN管脚连接,主充电芯片的BATT_P管脚与充电电池的正极连接,辅充电芯片的BATT_N管脚与充电电池的负极连接,外接充电器通过主充电芯片和辅充电芯片为充电电池充电;外接充电器的电流通过主充电芯片的VSYS管脚以及辅充电芯片的VBAT管脚流经节点P,节点P与装置的输入端c连接,流经节点P的电流为装置供电;节点P与电阻Rsns连接,主充电芯片的CS_P管脚与03_~管脚实时检测流经电阻Rsns的电流,通过主充电芯片内部的逻辑运算处理,确定出流经电阻Rsns的电流的电流值及方向,实时通过主充电芯片的SDA管脚将确定出的电流的方向和电流值输出至装置的通信端a,同时主充电芯片的SCL管脚输出时钟信号至装置的通信端a。 [0112] In operation, to start charging the main chip and a secondary charging chip, the external pins DCIN is the main charger and the charging chip pins USB_IN secondary chip is connected to the charging, the positive electrode connecting the main chip BATT_P charging the rechargeable battery with the pins a cathode connected to the secondary chip BATT_N charging pins of the rechargeable battery, an external battery charger to charge the primary charge and a secondary charge chip chips; current charging by the main charger external chip pins and the secondary charging VSYS chip VBAT c flowing through the input pin of node P, node P is connected to the device, the current flowing through the power supply means to the node P; P node connecting the resistor Rsns, cs - p pin chip and the main charging time detection pin passing through 03_ ~ current resistance Rsns by logical operation of the main chip inside the charging process, determines a current value and a direction of a current flowing through the resistor Rsns real time charging by the main chip SDA pin and the determined direction to the current value of the output current SCL pin outputs a clock signal of a communication terminal apparatus, while the main charging device chip to the communication terminal a. 装置根据接收到的主充电芯片的发送的电流的方向判断主充电芯片的连接功能是否异常,具体为:若流经节点P的电流的方向为从充电电池流出时,确定主充电芯片的连接功能异常;若流经节点P的电流的方向为流入充电电池时,通过通信端b向辅充电芯片的SPMI_DATA管脚发送关闭指令,以关闭辅充电芯片。 The device determines the direction of current transmitted to the primary charging chip received primary charging chip connecting function is abnormal, specifically: if the direction of the current flowing through the flow from the node P is a rechargeable battery, charging determining function of the main chip connected abnormality; if the direction of the current flowing through the node P to flow into a rechargeable battery, sending a shutdown command to the secondary charging SPMI_DATA pin chip through the communication terminal B, charged to close the secondary chip. 之后,装置根据接收到的主充电芯片的发送的电流的方向判断主充电芯片的连接功能是否异常,具体为:若流经节点P的电流的方向为从充电电池流出时,确定主充电芯片的连接功能异常;若流经节点P的电流的方向为流入充电电池时,确定主充电芯片的连接功能正常。 Thereafter, the apparatus is determined according to the direction of the current transmitted to the receiving chip primary charging charging chip is connected to the main function is abnormal, specifically: if the direction of the current flowing through the flow from the node P is a rechargeable battery, charging the chip to determine the main connecting dysfunction; if the direction of the current flowing through the inflow of the node P is a rechargeable battery, determines that the connection is functioning properly charging the main chip.

[0113]进一步,装置还可以根据主充电芯片和辅充电芯片同时工作接收到的流经节点P的电流的电流值AI和关闭辅充电芯片后接收到的流经节点P的电流的电流值A2,判断辅充电芯片的连接功能是否异常,具体为:Al与A2的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常,若Al与A2的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 Current value of the current value of AI [0113] Further, the device may also be received simultaneously charging according to the master chip and the secondary chip charging current flowing through the node P and the charging of the secondary chip receives off flow through the node P A2 determining the secondary chip is connected to the charging function is abnormal, in particular: the difference between Al and A2 outside the threshold range, it is determined that charging the secondary chip is connected dysfunction, if the difference between the Al and A2 set within the threshold range, it is determined that charging the secondary chip is connected is functioning properly.

[0114]本发明实施例还提供了一种移动设备,包括以上所述任一装置。 [0114] Embodiments of the present invention further provides a mobile device comprising the apparatus of any of the foregoing.

[0115]本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0115] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present invention may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0116]本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0116] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0117]这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0117] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0118]这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0118] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0119]尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。 [0119] While the present invention has been described with preferred embodiments, but those skilled in the art from the underlying inventive concept can make other modifications and variations to these embodiments. 所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 Therefore, the appended claims are intended to explain embodiments including the preferred embodiment as fall within the scope of the invention and all changes and modifications.

[0120]显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0120] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (15)

  1. 1.一种检测移动设备中双芯片充电的方法,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,其特征在于,所述方法包括: 获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式; 在判定出所述第一模式下流经所述节点的电流的方向为流入所述充电电池时,获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的t旲式; 在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 A mobile device in two-chip detecting method of charging the mobile device in the current input terminal of the main chip and the charging current input terminal of said secondary mobile device chip are connected to a charging an external battery charger, the the main current output terminal, respectively, through the node charging chip rechargeable battery connected to the current output of the secondary charging chip, characterized in that, said method comprising: obtaining the direction of the current flowing through the node in a first mode, wherein, the first mode is the primary mode and the secondary charging charging chip chips are working; direction of the current flowing through the node in the first mode is determined when flowing into the rechargeable battery, a second acquisition the direction of the current flowing through the node mode, said second mode is the master chip operates and charging the secondary charging chip off Dae formula t; flowing through the node determined in the second mode current direction when flowing into the rechargeable battery, it is determined that the primary charge chip connecting function properly.
  2. 2.根据权利要求1所述的方法,其特征在于,获取所述第二模式下流经所述节点的电流的方向之后,该方法还包括: 在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 After 2. The method according to claim 1, characterized in that the direction of current in the acquisition mode flows through the second node, the method further comprises: flowing the node determined in the second mode direction of current is flowing from the rechargeable battery, it is determined that the primary charge chip is connected dysfunction.
  3. 3.根据权利要求1所述的方法,其特征在于,获取所述第一模式下流经所述节点的电流的方向之后,该方法还包括: 在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,结束检测。 After 3. The method of claim 1, wherein the obtaining of the direction of the current flowing through said first mode the node, the method further comprises: flowing the node determined in the first mode direction of current is flowing from the rechargeable battery, it is determined that the chip is connected to the primary charging dysfunction, end detection.
  4. 4.根据权利要求1所述的方法,其特征在于,获取所述第一模式流经所述节点的电流的方向,包括: 在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向;或者在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 4. The method according to claim 1, wherein obtaining the first direction of the current flowing through the node mode, comprising: in the first mode, a current flowing through the detection node, to obtain the direction of the current flowing through the node in the first mode; or in the first mode, receiving the transmitted primary charging chip for microarray representing the primary charge in the first mode information to the current direction flowing through the node, to obtain a direction of a current flowing through said first mode the node.
  5. 5.根据权利要求1所述的方法,其特征在于,获取所述第二模式下流经所述节点的电流的方向,包括: 在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向;或者在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 5. The method according to claim 1, characterized in that the direction of current in the acquisition mode flows through the second node, comprising: in the second mode, current flowing through the detection node, to obtain the direction of the current flowing through the node in the second mode; or in the second mode, receiving the transmitted primary charging chip for microarray representing the primary charge in the second mode information to the current direction flowing through the node, to obtain the direction of the current flowing through the second mode of the node.
  6. 6.根据权利要求1〜5任一项所述的方法,其特征在于,该方法还包括: 若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; 若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 6. The method according to any of claims 1 ~ 5, wherein the method further comprises: if the current flowing through the value of the second mode of the current flowing through the first node mode difference between the current value of a current to said node outside the threshold range, it is determined that the secondary chip is connected to the charging dysfunction; the first mode if a current value flowing through the lower current node to the first difference between the current value of a current flowing through the second mode of the node is within the threshold range, it is determined that charging the secondary chip is connected is functioning properly.
  7. 7.根据权利要求6所述的方法,其特征在于,获取所述第一模式下流经所述节点的电流的方向,还包括:获取所述第一模式下流经所述节点的电流的电流值; 获取所述第二模式下流经所述节点的电流的方向,还包括:获取所述第二模式下流经所述节点的电流的电流值。 7. The method according to claim 6, characterized in that the direction of a current acquired in the first mode flows through the node, further comprising: acquiring a current value of said first mode current flowing through the node ; obtaining the direction of the current flowing through the node in the second mode, further comprising: obtaining a current value flowing through the second mode of the current node.
  8. 8.—种检测移动设备中双芯片充电的装置,所述移动设备中的主充电芯片的电流输入端与所述移动设备中的辅充电芯片的电流输入端分别与外接充电器连接,所述主充电芯片的电流输出端与所述辅充电芯片的电流输出端分别通过节点与充电电池连接,其特征在于,所述装置包括: 获取模块,用于获取第一模式下流经所述节点的电流的方向,其中,所述第一模式为所述主充电芯片和所述辅充电芯片均工作的模式;以及,用于获取第二模式下流经所述节点的电流的方向,所述第二模式为所述主充电芯片工作且所述辅充电芯片关闭的模式; 判定处理模块,用于在判定出所述第二模式下流经所述节点的电流的方向为流入所述充电电池时,确定出所述主充电芯片的连接功能正常。 8.- kinds of means for detecting the two-chip charge a mobile device, the mobile main charging current input terminal of the chip device with the current input terminal of said secondary mobile device chip are connected to a charging an external battery charger, the current output terminal of the main chip and the charging current output terminal of said secondary chip charging rechargeable batteries respectively connected to the nodes, characterized in that said apparatus comprises: an obtaining module, configured to obtain a current flowing in the first mode the node direction, wherein the first mode is a mode charging the primary chip and the secondary chip are working charge; direction and a mode for obtaining a current flowing through said second node, said second mode chip operates as the primary charge and the secondary charging chip off mode; determining a processing module for the direction of current flowing through the node in the second mode is determined when flowing into the rechargeable battery, is determined charging the primary chip is connected is functioning properly.
  9. 9.根据权利要求8所述的装置,其特征在于,所述判断处理模块还用于: 在判定出所述第二模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常。 9. The apparatus according to claim 8, wherein the determination processing module is further configured to: the direction of current flowing through the node in the second mode is determined when flowing from the rechargeable battery, determining that the chip is connected primary charging dysfunction.
  10. 10.根据权利要求8所述的装置,其特征在于,所述判断处理模块还用于:在判定出所述第一模式下流经所述节点的电流的方向为从所述充电电池流出时,确定出所述主充电芯片的连接功能异常,结束检测。 10. The apparatus according to claim 8, wherein the determination processing module is further configured to: the direction of current flowing through the node determined in the first mode when flowing from the rechargeable battery, connectivity is determined that an abnormality of the main charging chip, end detection.
  11. 11.根据权利要求8所述的装置,其特征在于,所述获取模块具体用于: 在所述第一模式下,检测流经所述节点的电流,以获取所述第一模式下流经所述节点的电流的方向;或者在所述第一模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第一模式下检测到的流经所述节点的电流的方向的信息,以获取所述第一模式下流经所述节点的电流的方向。 11. The apparatus according to claim 8, wherein the obtaining module is configured to: in the first mode, a current flowing through the detection node, in order to obtain the flow through said first mode said direction of the current node; or in the first mode, receiving the transmitted chips for main charging current to flow through the representing node of the primary charging detecting chip in the first mode direction information, to obtain the direction of a current flowing through said first mode the node.
  12. 12.根据权利要求8所述的装置,其特征在于,所述获取模块具体用于: 在所述第二模式下,检测流经所述节点的电流,以获取所述第二模式下流经所述节点的电流的方向;或者在所述第二模式下,接收所述主充电芯片发送的用于表示所述主充电芯片在所述第二模式下检测到的流经所述节点的电流的方向的信息,以获取所述第二模式下流经所述节点的电流的方向。 12. The apparatus according to claim 8, wherein the obtaining module is configured to: in the second mode, current flowing through the detection node, in order to obtain the flow through the second mode said direction of the current node; or in the second mode, receiving the transmitted chips for main charging current to flow through the representing node of the primary charging detecting chip in the second mode direction information to obtain the direction of the current flowing through the second mode of the node.
  13. 13.根据权利要求8〜12任一项所述的装置,其特征在于,所述判定处理模块还用于: 若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围外,确定出所述辅充电芯片的连接功能异常; 若所述第一模式下流经所述节点的电流的电流值与所述第二模式下流经所述节点的电流的电流值的差值在设定的阈值范围内,确定出所述辅充电芯片的连接功能正常。 13. The apparatus according to any of claims 8~12, wherein the determination processing module is further configured to: if the value of the current flowing through the current node in a first mode and the second If the value of the current flowing through the first mode of the current node; the difference between the current value of the current flowing through the mode nodes outside the set threshold range, it is determined that the secondary chip is connected to the charging dysfunction difference between the current value of the current flowing through the second mode of the node is within the threshold range, it is determined that charging the secondary chip is connected is functioning properly.
  14. 14.根据权利要求13所述的装置,其特征在于,所述获取模块还用于:获取所述第一模式下流经所述节点的电流的电流值;以及获取所述第二模式下流经所述节点的电流的电流值。 14. The apparatus according to claim 13, wherein the obtaining module is further configured to: obtain a current value of a current flowing through the node in the first mode; and obtaining the flow through the second mode said current value of the current node.
  15. 15.—种移动设备,其特征在于,包括如权利要求8〜14任一项所述的装置。 15.- kinds of mobile device, characterized in that it comprises means as claimed in any one of claims 8~14.
CN 201610055947 2016-01-27 2016-01-27 Method and device for detecting charging of dual chips in mobile device CN105656119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201610055947 CN105656119A (en) 2016-01-27 2016-01-27 Method and device for detecting charging of dual chips in mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201610055947 CN105656119A (en) 2016-01-27 2016-01-27 Method and device for detecting charging of dual chips in mobile device

Publications (1)

Publication Number Publication Date
CN105656119A true true CN105656119A (en) 2016-06-08

Family

ID=56487976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201610055947 CN105656119A (en) 2016-01-27 2016-01-27 Method and device for detecting charging of dual chips in mobile device

Country Status (1)

Country Link
CN (1) CN105656119A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5477128A (en) * 1993-07-30 1995-12-19 Technical Associates Co., Ltd. Automatic charging apparatus
CN1819395A (en) * 2006-03-15 2006-08-16 李慧琪 Evenly charging method and charger for serial batteries
CN103645412A (en) * 2013-12-25 2014-03-19 华为技术有限公司 Battery detection method and device
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5477128A (en) * 1993-07-30 1995-12-19 Technical Associates Co., Ltd. Automatic charging apparatus
CN1819395A (en) * 2006-03-15 2006-08-16 李慧琪 Evenly charging method and charger for serial batteries
CN103645412A (en) * 2013-12-25 2014-03-19 华为技术有限公司 Battery detection method and device
CN104300630A (en) * 2014-10-17 2015-01-21 广东欧珀移动通信有限公司 Charging control device and method

Similar Documents

Publication Publication Date Title
US20100039081A1 (en) System for supplying and receiving power, power supply device and method thereof
US20130334883A1 (en) Battery charging method and electronic device
US20140028377A1 (en) Autonomous thermal controller for power management ic
US20110043162A1 (en) Charger and portable device having the same
US8762746B1 (en) Power management in electronic devices
US20120290761A1 (en) USB Converter and Related Method
CN102570546A (en) Mobile terminal and charge device and method thereof
US20120214417A1 (en) Systems for remotely waking up application processor of mobile device
US20100060233A1 (en) Charger with USB detection
US20120166173A1 (en) Method and system for determining an arbitrary charging protocol in usb charging ports
US20150270733A1 (en) Device to device charging via usb type-c interfaces
CN203387203U (en) Charging switching system possessing USB on-the-go (OTG) function
CN103986217A (en) Charger outputting different voltages in self-adaptation mode and implementation method thereof
US20140225639A1 (en) Integrated circuit identification and dependability verification using ring oscillator based physical unclonable function and age detection circuitry
EP2383861A2 (en) Battery charger for portable electronic equipment
US20150331463A1 (en) Power Management Contracts for Accessory Devices
US20130154551A1 (en) Charging port
US20070075680A1 (en) Charging mode control circuit
US20130007336A1 (en) System and method for providing power through a reverse local data transfer connection
US8683087B2 (en) Mobile device auto detection apparatus and method
US20080303484A1 (en) System For Controlling Voltage Balancing In a Plurality of Lithium-Ion Cell Battery Packs and Method Thereof
US20130103966A1 (en) Method and terminal for selecting internal circuit according to usb interface status
US7987376B2 (en) Power supply controller configured to supply power to external device and modules of computer system according to the selected power supply mode
CN101179199A (en) Terminal and charging method thereof
US20130151749A1 (en) Apparatus for coupling to a usb device and a host and method thereof

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination