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.
- Priority and filed
- Published
- Today
10 claims: 3 independent, 7 dependent
- 1The 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. 一种电子设备,其特征在于,包括:第一数据接口,用于与外部设备连接,所述第一数据接口包括多个触点,所述多个触点中包括电源触点和至少一个验证触点;检测模块,用于检测是否有外部设备与所述第一数据接口连接,并得到一检测结果; 验证模块,用于当所述检测结果表示有外部设备与所述第一数据接口连接时,通过所述验证触点中的至少一个触点向所述外部设备发送一验证信息;第一判断模块,用于判断是否通过所述验证触点中的至少一个触点接收到所述外部设备发送的对所述验证信息的确认信息,并得到一判断结果;供电模块,用于当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述确认信息时,通过所述电源触点向所述外部设备供电。
- 5The 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. 一种电子设备,其特征在于,包括:第二数据接口,用于与主机连接,所述第二数据接口包括多个触点,所述多个触点中包括至少一个验证触点;第二判断模块,用于判断是否通过所述验证触点中的至少一个触点接收到所述主机发送的验证信息,并得到一判断结果;反馈模块,用于当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述验证信息时,通过所述验证触点中的至少一个触点向所述主机发送所述验证信息的确信息。
- 8A 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. 一种供电控制方法,应用于一电子设备上,所述电子设备包括一用于与外部设备连接的第一数据接口 ;其特征在于,所述方法包括以下步骤:检测是否有外部设备与所述第一数据接口连接,并得到一检测结果;所述第一数据接口包括多个触点,所述多个触点中包括电源触点和至少一个验证触点;当所述检测结果表示有外部设备与所述第一数据接口连接时,通过所述验证触点中的至少一个触点向所述外部设备发送一验证信息;判断是否通过所述验证触点中的至少一个触点接收到所述外部设备发送的对所述验证信息的确认信息,并得到一判断结果;当所述判断结果表示通过所述验证触点中的至少一个触点接收到所述确认信息时,通过所述电源触点向所述外部设备供电。
Independent claims3
74 paragraphs, as filed
Electronic device and power supply control method
technical field
[0001] The invention relates to the terminal technical field, claims an electronic device and a power supply control method for.
background technology
[0002] Standard USB (Universal Serial BUS, universal serial bus) host machine (and) is a standard USB socket and a USB apparatus (device), a USB host is a personal computer, a mobile phone of the device, the USB equipment is provided with a mouse, a keyboard, and shipyard of the device. The USB host machine and a USB device; and by a USB socket is a USB equipment power supply. On standard USB socket usually with the plurality of electronic: VBUS (power supply) contacts and GND (a) contacts and D+ (data) contacts and D- (data) contacts and ID (mark) contacts. The USB host detecting and ID electronic contact's the voltage USB socket is a is low, and tacitly approves current with the USB equipment and connected; at the time, a USB host via the VBUS contacts to USB equipment power supply.
[0003] The socket of USB host machine further possibly for non-inductive standard structure, non-inductive standard structure of socket with the upper plurality of electronic, further - comprising the function of electronic, for example, wherein handset's socket is possibly with a line-in/out (audio input) of the electronic of. When the plug inserting of USB equipment the socket; the contacts and a socket on plug the contact position and electronic contact's degree, for example therefore, the ID contacts and a GND contacts a socket connected, the VBUS contacts and a loudspeaker line-in/out contacts connected; at the time, the ID electronic contact's voltage and is low a, a USB host via the VBUS contacts to the loudspeaker line-in/out contacts power supply, the is a mechanism for making the circuit is short-circuit, and a create device for short-circuit.
invention content
[0004] Optical of the considering, the invention claims an electronic device and a power supply control method, can efficiently short-circuiting avoid each of the circuit for data interface the contact position of the contacts degree an.
[0005] Order to solve wherein the target, the invention claims an electronic device, comprising:
[0006] 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;
[0007] Detection module, for detecting whether with the external device with the first data interface connected, and information a test result;
[0008] 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;
[0009] 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;
[0010] 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.
[0011] Preferably, and verification information for sending the verification contacts and a receiving to the verification information and verification contacts are the same or different contacts.
[0012] Preferably, when the verification contacts are multiple, wherein the multiple of electronic of on the first data interface the two sides of the electronic of.
[0013] Preferably, wherein the multiple electronic of the farther comprising ID contacts, wherein the detecting module is connected with the ID contacts a detecting the voltage for is a, low source detecting whether the external device with the first data interface is.
[0014] The invention also claims an electronic device, comprising:
[0015] 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;
[0016] 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;
[0017] 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 to is a verification information.
[0018] Preferably, a receiving to the verification information and verification contacts and verification information for sending the verification contacts are the same or different contacts.
[0019] Preferably, when the verification contacts are multiple, wherein the multiple of electronic of with the data interface the two sides of the electronic of.
[0020] The invention also claims 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; The method comprises the following steps:
[0021] 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;
[0022] 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;
[0023] 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;
[0024] 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.
[0025] Preferably, and verification information for sending the verification contacts and a receiving to the verification information and verification contacts are the same or different contacts.
[0026] Preferably, when the verification contacts are multiple, wherein the multiple of electronic of on the first data interface the two sides of the electronic of.
[0027] The invention has the following beneficial effects:
[0028] The detection a data interface is connected with the external device and a host, a immediately to external device power supply, a first detecting data interface contacts the parking position of correctly, wherein is accurate detection of data interface the contact position of the contacts; after the power supply contacts through the data interface is external device power supply, so that can efficiently avoid the circuit of an layer of data interface the contact position of the contacts short-circuits degree.
Brief composed fo the drawings
[0029] Digital 1 is the invention embodiment electronic damping structure; diagram
[0030] Digital 2 is the invention embodiment first data interface leds structure; drawing
[0031] Digital 3 is the invention embodiment the other structure diagram of the electronic device;
[0032] Digital 4 is the invention embodiment second data interface leds structure; drawing
[0033] Digital 5 is the invention embodiment structure drawing leds the USB host machine and a USB device;
[0034] Digital 6 is the invention embodiment power supply control method for flow drawing leds.
Implements the manner of rack
[0035] The light of on digital and embodiment, is further composed detailed to the loading a groove of the present invention.
[0036] Shown as a digital 1 is the invention embodiment electronic damping structure image; the electronic device is computer, a mobile phone of the device; the electronic device is for with the external device power supply for connected, usually is mounted the host; the electronic device comprises:
[0037] The first data interface, 101 is connected with the external device, wherein the external device is receives the host computer power supply device, usually is mounted to the device, wherein the external device is provided with a second data interface, wherein the second data interface connected to the first data interface 101) is. The first data interface 101 and second data interface for homogeneous sample, and coordinate data interface, for example, wherein the first data interface (101) is a socket are, wherein the second data interface is a plug. Shown as a digital 2 is the invention embodiment first data interface 101 structure drawings leds, wherein the first data interface more than 101 to the electronic contact 1011, wherein the multiple electronic contact 1011 and at least one of a contacts a power supply contacts, wherein the power supply contacts is used for an external device power supply, wherein a verifying contacts is used for verification to the first data interface 101 on the contacts and external device the contact on of contacts is additionally and. Is a transparent signal transmission, the first data interface 101 on each contacts 1011 is provided with a ground, and verification contacts is provided with an independent workpiece ground, with the power supply contacts to share a ground wire. , Wherein usually the is the first data interface 101 (wherein the multiple electronic contact 1011 further comprises a ground contact and data contacts; the grounding contact to be used in ground, wherein the data contacts is configured with an external instrumentations transmits the data.
[0038] Detection module 102, for detecting whether with the external device with the first data interface 101 connected, and information a test result. The first data interface (101) is composed of multiple type data port, image different type data interface, wherein the detecting module (102 detections for with the external device with the first data interface 101) is a method is the. For example, wherein the first data interface more than 101 electronic contact 1011 comprising a ID contacts, wherein the detecting module (102) is detecting to the ID contacts the voltage for is a, low source detecting whether the external device with the first data interface 101) is.
[0039] Verification module, 103, wherein the test result is formed of when the external device with the first data interface connected 101, wherein at least one contacts a verification contacts to the external device to is a verification information. At the upper mentioned content of the first data interface (101) comprises one or more of electronic, wherein the first data interface and 101 comprises a verification contacts; and verification module (103) through the verification contacts to the external device transmission verification information, wherein the verification information is the disposable print information. The first data interface 101 comprises two of electronic, for example comprising a verifying contacts 1 and a verifying contacts 2, wherein the verification module (103) is connected with a verifying contacts 1 and a verifying contacts 2 to the external device transmission verification information, further - comprising a t-shaped is a verifying contacts 1 or verification contacts 2 of electronic connected to the external device transmission verification information. The first data interface 101 on the verification electric contact points are more than two; the electronic device is a through the light of electronic connected with any one or more of electronic of the external device transmission verification information.
[0040] The first judging module 104, 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. And the first data interface 101 on the electronic connected on contacts the contact position and a external device is accurate, the external device capable of receiving to the verification information of electronic device and. The external device and access to the verification information and verification information; and after the external device received to the verification information, directly confident information of the camera is in transmission and electronic device. , Wherein the external device is a to storage to the verification information and verification information, further comprises a processing module; and after receiving the verification information, a wherein the processing module is provided with a verification information to process, information to the verification information and verification information, and board is a verification information transmits the electronic device. Similarly; the electronic device is directly access to the verification information and verification information; when receiving an external device and information of the feedback information, wherein the first judging module (104) and a verifying information of the feedback information and is in camera to compare, and feedback information with the verification information of electronic device realizing is consistent, and switching for displaying with the verification information of the external device transmitted the verification information. , Wherein the electronic device further comprises a processing module, wherein signals sent by the external device and information of the feedback information, wherein the feedback information to process, a verification information and process the obtained result and is in external to compare, and diameter result of obtaining the verification information of the camera with the part is consistent, and switching an external device for displaying transmitted to the verification information and verification information. Further or, wherein the electronic device is a to storage to the verification information and verification information, and processing the manual verification information of transmission, the computer information to the verification information and verification information, the feedback information of the external device for and a receiving for comparing. And the first data interface 101 on the electronic connected on contacts the contact position and a external device is, degree the external device is not a receiving to the verification information of electronic device and released, and electronic device are a receiving the verification information of the external device and. The first data interface and 101 comprises a verification contacts; the electronic device via the verification contacts receiving the verification information of the external device and. The first data interface 101 comprises two of electronic, for example comprising a verifying contacts 1 and a verifying contacts 2, wherein the electronic device is connected with a verifying contacts 1 and a verifying contacts 2 receives the verification information of the external device, and 1 or verification contacts 2 of electronic for displaying the verification information is a verifying contacts the external device and. The first data interface 101 on the verification electric contact points are more than two; the electronic device is a through the light of electronic connected with one or more of electronic for displaying the verification information of the external device and base. , Wherein the first data interface is 101 to the verification information for sending the verification contacts and a receiving to the verification information and verification contacts are the same contacts, or a different contacts.
[0041] Power supply module, 105, 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.
[0042] At the middle embodiment, wherein the first data interface 101 typically comprises the multiple types the electronic for: Power supply contacts, ground contact, a contacts and verification contacts, and external power supply the electronic contact sensor contacts; the grounding contact and data contacts and a verifying contacts, plate, the power supply contacts; the grounding contact or data contacts and a verifying contacts. For example, a data contacts and a verifying contacts; when detecting the external device with the first data interface 101 ports; transforming the data contacts first and a verifying contacts, confirmed to the first data interface 101 on the electronic connected with said external device the contact on of contacts for is accurate, and verification contact accurate, wherein the data contacts with the external instrumentations transmits the data program.
[0043] The upper embodiment, the first data interface 101 on the verification electric contact points are multiple, which are multiple verification electric contact points are arranged on the first data interface 101 on the electronic of two ends; if layer contacted arranged at two ends of electronic of correctly, is located at the other contacts usual situations the centre position of the contact is further and.
[0044] By the electronic device of embodiment provision, wherein detecting a data interface is connected with the external device and a host, a immediately to external device power supply, a first detecting data interface contacts the parking position of correctly, wherein is accurate detection of data interface the contact position of the contacts; after the power supply contacts through the data interface is external device power supply, so that can efficiently avoid the circuit of an layer of data interface the contact position of the contacts short-circuits degree.
[0045] Corresponding to the main and when electronic device, the invention embodiment further claims a as a device for electronic device, and shown the digital 3 is the invention embodiment the other structure diagram of the electronic device, and electronic device can be a mouse, a keyboard, and shipyard of the device; the electronic device comprises:
[0046] The second data interface, 301 is connected with the host, wherein the host is provided with electronic device with, which is an electronic power supply, wherein the host is provided with a first data interface, which is connected with the first data interface connected to the second data interface 301) is. The first data interface and second data interface 301 for homogeneous sample, and coordinate data interface, for example, wherein the first data interface is a socket are, the data interface 301 is a plug. Shown as a digital 4 is the invention embodiment second data interface 301 structure drawings leds, wherein the second data interface more than 301 to the electronic contact 3011, wherein the multiple electronic contact 3011 and at least one of a contacts a power supply contacts, wherein the power supply contacts is used for a power source contacts connected with a host, receives current with the host machine claims, wherein a verifying contacts is used for receiving host the verification information and verification of contacts transmission, and a verifying contacts an acknowledgement on the main engine. , Wherein usually on the condition, the data interface 301 on multiple electronic contact 3011 further comprises a ground contact and data contacts; the grounding contact to be used in ground, wherein the data contacts is configured with a host to transmit the data.
[0047] The second judging module 302, 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.
[0048] Feeds back module, 303, 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 and verification information. The electronic device and access to the verification information and verification information; and after receiving the verification information, directly confident information of the camera is transmitted to the main engine. , Wherein the electronic device is a to storage to the verification information and verification information, further comprises a processing module; and after receiving the verification information, a wherein the processing module is provided with a verification information to process, information to the verification information and verification information, and board is a verification information to transmit to the main engine.
[0049] The second judging module 302 and feeds back module (303) is connected with the low cost logic circuit or Rom (Read-Only Memory, read-only memory) is realized.
[0050] The second data interface 301 and a verifying electronic connected with the verification contacts on the main engine to coordinates, for example, wherein the verification contacts on the main engine, the data interface 301 on the verification electric contact points are connected with, wherein the second data interface (301) adopt the verification contacts receiving to the verification information of the host wave, and connected with the verification contacts to the host component. acknowledgement, the data interface 301 on the position of verification contacts is connected with said host the position on of verification contacts is consistent.
[0051] The verification contacts on the main engine is two, for example verification contacts 1 and verification contacts 2, comprising a host 1 and a verifying contacts 2 to the electronic device transmission verification information via a verifying contacts, wherein the second data interface 301 is provided with a comprises two of electronic, for example a verifying contacts 3 and a verifying contacts 4, separately for receiving a verifying contacts are 1 and a verifying information of verification contacts 2 transmission. And the main engine 1 to the electronic device transmission verification information via a verifying contacts, the verification information via verification contacts 2 and electronic device the feedback information, at the time, wherein the second data interface (301) is connected with the verification information of verification contacts 3 and verification contacts 1, the transmission and a verification contacts (4) of contacts 2 transmission feedback information, wherein a verifying contacts 1 and verification contacts of 3 to corresponding, confirmed the contacts 2 and a verifying contacts 4 of corresponding.
[0052] The other phone, wherein the second data interface 301 is for receiving to the verification information and verification contacts and verification information and verification contacts is used for transmitting the same contacts, or a different contacts, matched with a communication a verifying contacts on the main engine.
[0053] The second data interface (301) is composed of multiple type data interface.
[0054] , Wherein the second data interface 301 on the verification electric contact points are multiple, which are multiple verification electric contact points are disposed in the data interface 301 on the electronic of two ends; if layer contacted arranged at two ends of electronic of correctly, is located at the other contacts usual situations the centre position of the contact is further and.
[0055] By the host and a USB host, wherein the device is a USB device is a compromised, wherein the embodiment.
[0056] The USB host with a socket (corresponding to the upper embodiment the first data interface 101), A USB equipment with a plug (corresponding to the upper embodiment the second data interface 301), And shown the digital 5, wherein the comprising the contacts: The power supply contacts; the grounding contact; the data contacts; the ID contacts and a verifying contacts 1 and a verifying contacts 2, verification the contacts 1 and a verifying contacts are 2 is arranged on the electronic of two ends. Plug comprises the following contacts: The power supply contacts; the grounding contact; the data contacts; the ID contacts and a verifying contacts 3 and a verifying contacts 4, verification the contacts 3 and a verifying contacts are 4 is arranged on the electronic of two ends, verification the contacts 3 is corresponding with a verifying contacts 1 position, verification the contacts 4 and a verifying contacts 2 of corresponding.
[0057] When the insertion plug socket; the voltage and ID electronic contact's is a, low at the time, a USB host 1 and a verification information to the USB equipment by a verifying contacts, for example, a 0/1 sequences.
[0058] The USB equipment 3 signals and a verifying contacts the verification information, wherein the verification information to process, a information feedback information, 4 and feedback information to the USB host sending) through a verifying contacts; the feedback information further provided 0/1 sequences.
[0059] The USB host and verification contacts 2 and feedback information, the judging wherein the feedback information for the verification information and verification information; if, and then thought to confirm successfully, supplied power to the USB equipment by a power supply contacts, otherwise to does not and USB equipment power supply.
[0060] The invention embodiment further claims a power supply control method, applied in the main machine electronic device, and electronic device is configured with a first data interface of the external device connected; Shown as a digital 6, wherein the power supply control method comprises the following steps:
[0061] Step 601, detecting whether 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, execution step 602, otherwise finished;
[0062] The step 602, wherein at least one contacts a verification contacts to the external device to is a verification information;
[0063] Step 603, 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; The judging result is formed of the through at least one contacts a verification contacts received to the verification information, execution step 604, otherwise finished;
[0064] The step 604, wherein the power supply contacts to the external device power supply.
[0065] At the middle embodiment, a verification information for sending the verification contacts and a receiving to the verification information and verification contacts are the same or different contacts.
[0066] The upper embodiment, wherein the verification contacts the first data interface is a, with multiple verification electric contact points are arranged on the first data interface the two sides of the electronic water inlet, and each contacted arranged at two ends of electronic of correctly, is located at the other contacts usual situations the centre position of the contact is further and.
[0067] With the power supply control method of embodiment provision, wherein detecting a data interface is connected with the external device and a host, a immediately to external device power supply, a first detecting data interface contacts the parking position of correctly, wherein is accurate detection of data interface the contact position of the contacts; after the power supply contacts through the data interface is external device power supply, so that can efficiently avoid the circuit of an layer of data interface the contact position of the contacts short-circuits degree.
[0068] The upper the invention is the is a manner of invention, point of the image that and technical person to the technical field, wherein the is separated from the invention of the lower side, further - can be multiple improvements and embellishes; the improvements and embellishes is the vision and invention protection range of protecting.
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| CN107104859A | Cited by | China | Search report |
| CN101079550A | Cites | China | Search report |
| CN101388822A | Cites | China | Search report |
| US2002168984A1 | Cites | United States of America | Search report |
| US2004103275A1 | Cites | United States of America | Search report |
2 priority claims, no other members on record
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 201010560266 | China | A | |
| CN20101560266 | – | – | – |
Numbers
- Publication
- 102479110
- Publication, DOCDB
- 102479110
- Publication, EPODOC
- CN102479110
- Application
- 105602663
- Application, DOCDB
- 201010560266
- Application, EPODOC
- CN20101560266
Titles2
- English
- Electronic equipment and power supply control method
- Chinese
- 电子设备和供电控制方法
Classification
- IPC, 1
- G06F11 00