CN102479110A

Electronic equipment and power supply control method

Abstract

The invention provides electronic equipment and a power supply control method. The electronic equipment comprises a first data interface, a detecting module, a verifying module, a first judging module and a power supply module, wherein the first data interface is used for being connected with external equipment and comprises a plurality of contacts including a power supply contact and at least one verifying contact; the detecting module is used for detecting whether the external equipment is connected with the first data interface and obtaining a detecting result; the verifying module is used for transmitting verifying information to the external equipment through at least one contact in the verifying contacts when the detecting result shows that the external equipment is connected with the first data interface; the first judging module is used for judging whether confirmation information of the verifying information, which is transmitted by the external equipment, is received through at least one contact in the verifying contacts and obtaining a judging result; and the power supply module is used for supplying power to the external equipment through the power supply contact when the judging result shows that the confirmation information is received through at least one contact in the verifying contacts. According to the invention, short circuit caused by poor contact of contacts of the data interface can be avoided.

Term

No projected expiry on record.

  1. Priority and filed
  2. Published
  3. Today

10 claims: 3 independent, 7 dependent

  1. 1
    The electronic device, a characterised, comprising:The first data interface, is connected with the external device, wherein the first data interface comprises multiple electronic, wherein a plurality of electronic and at least one of a contacts a power supply contacts;Detection module, for detecting whether with the external device with the first data interface connected, and information a test result;Verification component, wherein the test result is formed of when the external device with the first data interface connected by, wherein at least one contacts a verification contacts to the external device to is a verification information;The first judging module, for determining whether through at least one contacts a verification contacts receiving is connected to the verification information of the external device transmitted the verification information, and a obtained judging result;Power supply module, wherein the judging result is formed of the through at least one contacts a verification contacts received to the verification information, wherein the power contacts to the external device power supply. 1. 一种电子设备,其特征在于,包括:第一数据接口,用于与外部设备连接,所述第一数据接口包括多个触点,所述多个触点中包括电源触点和至少一个验证触点;检测模块,用于检测是否有外部设备与所述第一数据接口连接,并得到一检测结果; 验证模块,用于当所述检测结果表示有外部设备与所述第一数据接口连接时,通过所述验证触点中的至少一个触点向所述外部设备发送一验证信息;第一判断模块,用于判断是否通过所述验证触点中的至少一个触点接收到所述外部设备发送的对所述验证信息的确认信息,并得到一判断结果;供电模块,用于当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述确认信息时,通过所述电源触点向所述外部设备供电。
  2. 5
    The electronic device, a characterised, comprising:The second data interface, is connected with the host, wherein the second data interface comprises multiple electronic, wherein a plurality of electronic comprises at least one of a contacts;The second judging module, for determining whether through at least one contacts a verification contacts receiving to the verification information of the host and;and a obtained judging result;Feeds back component, wherein the judging result is formed of the through at least one contacts a verification contacts received to the verification information, a wherein at least one contacts a verification contacts to the host component is provided with a verification information indeed information. 5. 一种电子设备,其特征在于,包括:第二数据接口,用于与主机连接,所述第二数据接口包括多个触点,所述多个触点中包括至少一个验证触点;第二判断模块,用于判断是否通过所述验证触点中的至少一个触点接收到所述主机发送的验证信息,并得到一判断结果;反馈模块,用于当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述验证信息时,通过所述验证触点中的至少一个触点向所述主机发送所述验证信息的确信息。
  3. 8
    A power supply control method, applying on an electronic device, and electronic device is configured with a first data interface of the external device connected; Is characterised, wherein the method comprises the following steps:For detecting with the external device with the first data interface connected, and information a test result;The first data interface comprises multiple electronic, wherein a plurality of electronic and at least one of a contacts a power supply contacts;The test result is formed of when the external device with the first data interface connected by, wherein at least one contacts a verification contacts to the external device to is a verification information;For judging through at least one contacts a verification contacts receiving is connected to the verification information of the external device transmitted the verification information, and a obtained judging result;The judging result is formed of the through at least one contacts a verification contacts received to the verification information, wherein the power contacts to the external device power supply. 8. 一种供电控制方法,应用于一电子设备上,所述电子设备包括一用于与外部设备连接的第一数据接口 ;其特征在于,所述方法包括以下步骤:检测是否有外部设备与所述第一数据接口连接,并得到一检测结果;所述第一数据接口包括多个触点,所述多个触点中包括电源触点和至少一个验证触点;当所述检测结果表示有外部设备与所述第一数据接口连接时,通过所述验证触点中的至少一个触点向所述外部设备发送一验证信息;判断是否通过所述验证触点中的至少一个触点接收到所述外部设备发送的对所述验证信息的确认信息,并得到一判断结果;当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述确认信息时,通过所述电源触点向所述外部设备供电。