CN103605624A - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- CN103605624A CN103605624A CN201310500927.7A CN201310500927A CN103605624A CN 103605624 A CN103605624 A CN 103605624A CN 201310500927 A CN201310500927 A CN 201310500927A CN 103605624 A CN103605624 A CN 103605624A
- Authority
- CN
- China
- Prior art keywords
- circuit
- communication device
- cpu chip
- usb
- memory circuitry
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention provides a communication device which is used for performing data communication with an external electronic device. The communication device comprises a power management circuit, a USB (universal serial bus) interface circuit, a storage circuit, a charging circuit and a central processing unit chip circuit, wherein the USB interface circuit is coupled to the power management circuit, the charging circuit is coupled to the power management circuit and the USB interface circuit, and the central processing unit chip circuit is respectively coupled to the USB interface circuit, the storage circuit and the power management circuit. When the communication device is powered off, if the power management circuit detects that the USB interface circuit is connected to the external electronic device, the power management circuit and the central processing unit chip circuit are started, and the central processing unit chip circuit drives the storage circuit and the USB interface circuit, so that the USB interface circuit is in data communication with the storage circuit.
Description
Technical field
The invention relates to a kind of communication device, especially a kind of when off-mode, the communication device that also can use as independent hard disk.
Background technology
USB flash disk (being also portable hard drive) has become the thing of the indispensability of computer user, has substantially replaced and has followed computer floppy drive and the floppy disk of decades.USB flash disk is for computer user, and its convenience and practicality in defence lines such as file storage, transfer, backups is apparent, thereby makes it also become a kind of consumer electronics salable.Because having self, increasing consumer electronics stores the demand of data, and for facilitate downloading data and with out of Memory devices exchange data, the numerous and confused integrated USB flash disk technology of these consumer electronicses, thereby make these consumer goods except itself utilizing USB flash disk storage data, and retained the original function of USB flash disk, be connected the external memory storage as computer with computer.On the other hand, mobile phone is as consumer electronics the most widely, integrated more and more a large amount of other functions, as music, take pictures, movie, see TV etc., therefore more and more to the demand of storer, the function of USB flash disk also becomes one of integrated function of mobile phone naturally, therefore, at present many mobile phones have also publicized USB flash disk function, but in fact, at present all mobile phones with USB flash disk are all false USB flash disks, can not play real USB flash disk function, be mainly manifested in: mobile phone must be started shooting, and guarantee that battery has enough electric weight (but real USB flash disk is not need power supply in addition), if be also that mobile phone is when off-mode or electric weight deficiency, this mobile phone just can not use as USB flash disk, bring larger trouble to user's use.
Therefore, be necessary to design a kind of novel communication device, to overcome above-mentioned defect, meet user's demand.
Summary of the invention
The object of the present invention is to provide a kind of communication device, it also can use as independent hard disk under off-mode.
For achieving the above object, the invention provides a kind of communication device, for carrying out data communication with external electronic, this news device comprises,
Electric power management circuit;
Usb circuit, is coupled to this electric power management circuit;
Memory circuitry;
Charging circuit, is coupled to this electric power management circuit and this usb circuit;
CPU chip circuit, is respectively coupled to this usb circuit, this memory circuitry, this electric power management circuit;
Wherein, when this communication device is during in off-mode, if electric power management circuit detects this usb circuit while being connected in this external electronic, this electric power management circuit starts, this external electronic is via this usb circuit, this charging circuit and this electric power management circuit are to this CPU chip circuit power supply so that the startup of this CPU chip circuit, and the startup by this CPU chip circuit, this CPU chip circuit drives this memory circuitry and this usb circuit, so that this usb circuit and this memory circuitry carry out this data communication.
Preferably, this communication device also further comprises display screen, this display screen is coupled to this CPU chip circuit, when this communication device, in off-mode and this memory circuitry and this usb circuit, set up data communication while being connected, this shows this communication device current state information of screen display.
Preferably, this status information comprises charge information or/and this data communications.
Preferably, when this communication device carries out data communication between off-mode and this memory circuitry and this usb circuit, the current state information of this this communication device of demonstration screen display is data communication state; When this communication device does not carry out data communication between off-mode and this memory circuitry and this usb circuit, the current state information of this this communication device of demonstration screen display is charged state.
Preferably, when this communication device is after off-mode and the startup of this CPU chip circuit, if this CPU chip circuit detects this memory circuitry while being connected with storage card, between this memory circuitry and this usb circuit, just carry out data communication.When this communication device is after off-mode and the startup of this CPU chip circuit, if this CPU chip circuit does not detect this memory circuitry and is connected with storage card, between this memory circuitry and this usb circuit, do not carry out data communication, and when this CPU chip circuit detects when this storage card and this memory circuitry are by being disconnected to while being connected, this CPU chip circuit is carried out initialization process to this storage card, so that this communication device has the warm connection function for this storage card.
Preferably, this memory circuitry is provided with detection pin, and this CPU chip circuit is to judge by detecting the variation of the level of this detection pin whether this storage card is connected with this memory circuitry; And when this storage card is connected with this memory circuitry, the level of the detection pin of this memory circuitry is dragged down, and the driver of this CPU chip circuit carries out initialization process to this storage card.
Preferably, when the startup of this communication device in shutdown charged state and this CPU chip circuit, this CPU chip circuit can start USB driver with enumerate this communication device and block device corresponding to storage card and LUN file in CPU chip circuit are carried out associated so that can see the disk unit that this storage card is corresponding in this external electronic.
Preferably, further comprise battery, this battery is coupled to this charging circuit and this electric power management circuit, and this external electronic is successively via backward this CPU chip circuit power supply of this usb circuit, this charging circuit, this battery and this electric power management circuit, and when this external electronic is powered to this CPU chip circuit, also this battery is charged.
Preferably, this external electronic is PC or server, and this external electronic has USB interface, and this external electronic can connect with the usb circuit of this communication device by this USB interface.
Compared with prior art, communication device of the present invention is under off-mode time, by the usb circuit of establishing in it, be connected with external electronic, can start this electric power management circuit and power to this CPU chip circuit, thereby start this CPU chip circuit, and the startup by this CPU chip circuit, drive memory circuitry and usb circuit so that this memory circuitry and this usb circuit are set up data communication connection, thereby the function of using as independent hard disk while realizing this communication device shutdown, with and external electronic between carry out the transmission of data message, be convenient to user's use.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of communication device of the present invention.
Fig. 2 is the structured flowchart of another embodiment of communication device of the present invention.
Embodiment
For making that object of the present invention, structure, feature and function thereof are had to further understanding, hereby coordinate embodiment to be described in detail as follows.
Shown in Fig. 1, a kind of communication device 100 of the present invention, can carry out data communication with external electronic, such as carrying out download, backup, transmission of data etc., this external electronic can be PC, communication device, server etc., and this external electronic has USB interface, this external electronic can connect with this communication device 100 by this USB interface.
The present invention interrogates device 100 and comprises electric power management circuit 1, usb circuit 2, memory circuitry 3, charging circuit 4, CPU chip circuit 5, display screen 6, battery 7.This usb circuit 2 is coupled to electric power management circuit 1 and charging circuit 4, central processing unit circuit 5 is coupled to memory circuitry 3, usb circuit 2 and display screen 6, electric power management circuit 1 is coupled to CPU chip circuit 5 and battery 7, and this battery 7 is coupled to this charging circuit 4.Wherein, this usb circuit 2 is for connecting with the USB interface of this external electronic.
When this communication device 100 is during in off-mode, this electric power management circuit 1 disconnects and being electrically connected to of this CPU chip circuit 5, and this CPU chip circuit 5 is in off working state.When the usb circuit 2 of this communication device 100 is connected with this external electronic by USB CABLE, this external electronic will be led to this usb circuit 2 to these communication device 100 transmission of electric energy, meanwhile, the VBUS pin that the charging detection pin of this electric power management circuit 1 detects this usb circuit 2 becomes high level, thereby assert have this usb circuit 2 to be connected with external electronic.When this usb circuit 2 is connected with this external electronic, this electric power management circuit 1 will start, this external electronic will sequentially be powered to this CPU chip circuit 5 via this usb circuit 2, this charging circuit 4, this battery 7 and this electric power management circuit 1 simultaneously, to start this CPU chip circuit 5, meanwhile, this external electronic also can be charged to this battery 7.By the startup of this CPU chip circuit 5, this CPU chip circuit 5 drives this memory circuitry 3 and usb circuit 2, so that this usb circuit 2 is set up data communication with this memory circuitry 3, is connected.Also when this communication device 100 is connected with external electronic by this usb circuit 2, this external electronic will be carried out two feature operations to this communication device 100, and the battery 7 to this communication device 100 charges and carries out data communication.
Preferably, for ease of user more intuition know the state that this communication device 100 is current, when this communication device 100 is in off-mode and this memory circuitry 2 during with this usb circuit 3 built vertical data communication, this CPU chip circuit 5 will send the instruction that shows this communication device current state to this display screen 6, this display screen 6 receives this instruction and shows the status information that this communication device is current, and this status information can be charged state or/and data communication state.For example, when this external electronic is charged to this battery 7 and this CPU chip circuit 5 simultaneously, and this memory circuitry 3 and this usb circuit 2 are set up data communication while being connected, and can show " charged state " and " data communication state " on this display screen 6; When this external electronic is charged to this battery 7 and this CPU chip circuit 5 simultaneously, and this memory circuitry 3 and this usb circuit 2 are not yet set up data communication while being connected, and only show " charged state " on this display screen 6.
In addition, it should be noted that, if before the usb circuit 2 of communication device 100 is connected with external electronic, if inserted storage card in this communication device 100, also this memory circuitry 3 has been connected with storage card (being detected by this CPU chip circuit 5),, after this CPU chip circuit 5 starts, this CPU chip circuit 5 can drive this usb circuit 2 and this memory circuitry 3 directly to set up data communication connection.Also be, when this communication device 100 is after off-mode and 5 startups of this CPU chip circuit, if when these CPU chip circuit 5 these memory circuitries 3 of detection are connected with storage card, just carry out data communication between this memory circuitry 3 and this usb circuit 2; And when this communication device 100 is after off-mode and 5 startups of this CPU chip circuit, for example, if this CPU chip circuit 5 does not detect this memory circuitry 3 and is connected with storage card (SD card), between this memory circuitry 3 and this usb circuit 2, do not carry out data communication.
Now, if user inserts storage card in communication device 100 when being connected with this memory circuitry 3, the level of the detection pin of this memory circuitry 3 will change.And this CPU chip circuit 5 can change to judge whether storage card is connected with this memory circuitry by detecting the level of the detection pin of this memory circuitry 3.Generally, when this storage card is inserted into the draw-in groove of this communication device 100 and is connected with this storage card circuit 3, the level of the detection pin of this memory circuitry is dragged down, and this CPU chip circuit 5 can tool this judge that this storage card circuit 3 is connected with storage card, and the program of the inside of this CPU chip circuit 5 will be carried out initialization process to this storage card, so that this communication device 100 has the warm connection function for this storage card.Certainly, this CPU chip circuit 5 also can confirm whether be connected with storage card in this storage card circuit 3 according to other mode, for example, can set when the level of the detection pin of this memory circuitry 3 is drawn high, judge in this storage card circuit 3 and be connected with storage card, those skilled in the art can have larger enlightenment accordingly, and the present invention is not as limit.
By the warm connection function to storage card that communication device 100 of the present invention is possessed, can be user-friendly, for example, when the capacity of a card is inadequate, can change another card etc., save user's time.
In addition, need to describe in detail, at communication device 100 during in off-mode, if externally can see disk unit corresponding to corresponding stored card on electronic installation time, need to carry out following operation:
(1) need to, under off-mode, enumerate the communication device 100 that this uses as independent hard disk.At the usb circuit of this communication device 100 by USB cable after being connected with external electronic, this CPU chip circuit 5 starts and starts working, start the USB driver of establishing in it, to enumerate this communication device 100, after this communication device 100 is enumerated, in the USB controller in the equipment control of this external electronic, just can see the disk unit of communication device 100 correspondences of the conduct independence hard disk use of enumerating out;
(2) need to storage card be carried out associated with the LUN file in CPU chip circuit.Take android mobile phone as example, file/sys/class/android_usb/android0/f_mass_storage/lun/file in the corresponding block device/dev/block/mmcblk1 of SD card (storage card) and mobile phone SYS system to be realized to link, like this, externally on electronic installation, just can see the corresponding disk unit of SD card (storage card).
In addition, can, with reference to shown in Fig. 2, be another embodiment of the present invention.Be with the difference of the embodiment shown in Fig. 1, under off-mode, in the present embodiment, communication device 200 is without battery, and other element is identical, for ease of describing, adopts identical element numbers.In the present embodiment, charging circuit 4 directly couples mutually with this electric power management circuit 1.When communication device 200 of the present invention connects by this usb circuit 2 and external electronic, this external electronic is by sequentially by backward these CPU chip circuit 5 power supplies of this usb circuit 2, this charging circuit 4 and this electric power management circuit 1.
In addition, in the present embodiment, there is not battery in communication device 200, and therefore, this external electronic only, to these CPU chip circuit 5 power supplies, does not exist to the situation of battery charging.Therefore, between this external electronic and this communication device 200, will only there is a kind of contact: data communication.Thereby, if show the current state of this communication device 200 on display screen 6, as built vertical data communication between usb circuit 2 and this memory circuitry 3 is connected, on this display screen 6, only show " data communication state ", if be connected and not yet set up data communication between this usb circuit 2 and this memory circuitry 3, do not show on this display screen 6 " data communication state ".
The present invention is described by above-mentioned related embodiment, yet above-described embodiment is only for implementing example of the present invention.Must be pointed out that, the embodiment having disclosed does not limit the scope of the invention.On the contrary, the change done without departing from the spirit and scope of the present invention and retouching, all belong to scope of patent protection of the present invention.
Claims (10)
1. a communication device, for carrying out data communication with external electronic, is characterized in that, this communication device comprises,
Electric power management circuit;
Usb circuit, is coupled to this electric power management circuit;
Memory circuitry;
Charging circuit, is coupled to this electric power management circuit and this usb circuit;
CPU chip circuit, is respectively coupled to this usb circuit, this memory circuitry, this electric power management circuit;
Wherein, when this communication device is during in off-mode, if electric power management circuit detects this usb circuit while being connected in this external electronic, this electric power management circuit starts, this external electronic is via this usb circuit, this charging circuit and this electric power management circuit are to this CPU chip circuit power supply so that the startup of this CPU chip circuit, and the startup by this CPU chip circuit, this CPU chip circuit drives this memory circuitry and this usb circuit, so that setting up this data communication with this memory circuitry, this usb circuit is connected.
2. communication device as claimed in claim 1, it is characterized in that, this communication device also further comprises display screen, this display screen is coupled to this CPU chip circuit, when this communication device, in off-mode and this memory circuitry and this usb circuit, set up data communication while being connected, this shows this communication device current state information of screen display.
3. communication device as claimed in claim 2, is characterized in that, this status information comprises charge information or/and this data communications.
4. communication device as claimed in claim 2, it is characterized in that, when this communication device carries out data communication between off-mode and this memory circuitry and this usb circuit, the current state information of this this communication device of demonstration screen display is data communication state; When this communication device does not carry out data communication between off-mode and this memory circuitry and this usb circuit, the current state information of this this communication device of demonstration screen display is charged state.
5. communication device as claimed in claim 1, it is characterized in that, when this communication device is after off-mode and the startup of this CPU chip circuit, only, when this CPU chip circuit detects this memory circuitry and is connected with storage card, between this memory circuitry and this usb circuit, just carry out data communication.
6. communication device as claimed in claim 5, it is characterized in that, when this communication device is after off-mode and the startup of this CPU chip circuit, if this CPU chip circuit does not detect this memory circuitry and is connected with storage card, between this memory circuitry and this usb circuit, do not carry out data communication, and when this CPU chip circuit detects when this storage card and this memory circuitry are by being disconnected to while being connected, this CPU chip circuit is carried out initialization process to this storage card, so that this communication device has the warm connection function for this storage card.
7. communication device as claimed in claim 6, is characterized in that, this memory circuitry is provided with detection pin, and this CPU chip circuit is to judge by detecting the variation of the level of this detection pin whether this storage card is connected with this memory circuitry; And when this storage card is connected with this memory circuitry, the level of the detection pin of this memory circuitry is dragged down, and the driver of this CPU chip circuit carries out initialization process to this storage card.
8. communication device as claimed in claim 1, it is characterized in that, when the startup of this communication device in shutdown charged state and this CPU chip circuit, this CPU chip circuit can start USB driver with enumerate this communication device and block device corresponding to storage card and LUN file in CPU chip circuit are carried out associated so that can see the disk unit that this storage card is corresponding in this external electronic.
9. communication device as claimed in claim 1, it is characterized in that, further comprise battery, this battery is coupled to this charging circuit and this electric power management circuit, and this external electronic is successively via backward this CPU chip circuit power supply of this usb circuit, this charging circuit, this battery and this electric power management circuit, and when this external electronic is powered to this CPU chip circuit, also this battery is charged.
10. communication device as claimed in claim 1, it is characterized in that, this external electronic is PC or server, and this external electronic has USB interface, and this external electronic can connect with the usb circuit of this communication device by this USB interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310500927.7A CN103605624A (en) | 2013-10-23 | 2013-10-23 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310500927.7A CN103605624A (en) | 2013-10-23 | 2013-10-23 | Communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103605624A true CN103605624A (en) | 2014-02-26 |
Family
ID=50123853
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310500927.7A Pending CN103605624A (en) | 2013-10-23 | 2013-10-23 | Communication device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103605624A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035902A (en) * | 2014-07-02 | 2014-09-10 | 广东欧珀移动通信有限公司 | Data access method and communication system |
CN105872200A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Mobile phone and usb system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929505A (en) * | 2006-09-25 | 2007-03-14 | 深圳市杰特电信控股有限公司 | Mobile phone with independent moving hard disk |
CN101645002A (en) * | 2009-05-15 | 2010-02-10 | 上海闻泰电子科技有限公司 | Method for controlling USB device through coprocessor for mobile phone |
CN101840726A (en) * | 2010-02-01 | 2010-09-22 | E-Corp国际有限公司 | Multifunctional usb flash disk |
CN103268143A (en) * | 2013-04-26 | 2013-08-28 | 福建星网视易信息***有限公司 | Method for realizing electroless storage of USB (universal serial bus) mobile equipment |
-
2013
- 2013-10-23 CN CN201310500927.7A patent/CN103605624A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929505A (en) * | 2006-09-25 | 2007-03-14 | 深圳市杰特电信控股有限公司 | Mobile phone with independent moving hard disk |
CN101645002A (en) * | 2009-05-15 | 2010-02-10 | 上海闻泰电子科技有限公司 | Method for controlling USB device through coprocessor for mobile phone |
CN101840726A (en) * | 2010-02-01 | 2010-09-22 | E-Corp国际有限公司 | Multifunctional usb flash disk |
CN103268143A (en) * | 2013-04-26 | 2013-08-28 | 福建星网视易信息***有限公司 | Method for realizing electroless storage of USB (universal serial bus) mobile equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035902A (en) * | 2014-07-02 | 2014-09-10 | 广东欧珀移动通信有限公司 | Data access method and communication system |
CN104035902B (en) * | 2014-07-02 | 2017-11-10 | 广东欧珀移动通信有限公司 | A kind of method and communication system for accessing data |
CN105872200A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Mobile phone and usb system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101901201B (en) | Method and device for realizing USB OTG function on electronic equipment | |
US9692253B2 (en) | Mobile terminal and method for controlling charging and charger therefor | |
US20160004287A1 (en) | Portable electronic device and power management method thereof | |
CN109921481A (en) | To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated | |
CN106685018B (en) | Reverse charging method and device and terminal | |
EP3771987A1 (en) | Electronic device for preventing damage of usb device and operating method thereof | |
CN105677596B (en) | Control method and electronic equipment | |
US20150263554A1 (en) | Mobile Power Device With Storage Feature | |
CN105446424A (en) | Host computer | |
CN202076771U (en) | USB OTG circuit and portable electronic device utilizing thereof | |
CN104345651A (en) | USB power supply | |
TWM584452U (en) | Integrated electronic apparatus for data access, data transmission and power management | |
US9864714B2 (en) | Electronic system for performing recharging and data communication | |
CN213151196U (en) | Signal adapter | |
CN103605624A (en) | Communication device | |
CN102508810A (en) | Switching device and switching method | |
CN106451693B (en) | Treasured charges and OTG data line | |
CN102544919B (en) | Cable | |
CN112688373A (en) | Charging method and device and data line | |
CN210006035U (en) | USB and OTG function switching control circuit, device and mobile terminal | |
CN104281184B (en) | Adaptive power supply system and method for supplying power to | |
JP2011233129A (en) | Rapid charging device | |
US9740256B2 (en) | Electrical device with detachable storage module | |
CN209929634U (en) | Multifunctional data line | |
CN203800659U (en) | Card type mobile power source with card (SD card) reading function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140226 |