CN104090857A - System and method for expanding peripheral interfaces of intelligent terminal - Google Patents
System and method for expanding peripheral interfaces of intelligent terminal Download PDFInfo
- Publication number
- CN104090857A CN104090857A CN201410323454.2A CN201410323454A CN104090857A CN 104090857 A CN104090857 A CN 104090857A CN 201410323454 A CN201410323454 A CN 201410323454A CN 104090857 A CN104090857 A CN 104090857A
- Authority
- CN
- China
- Prior art keywords
- interface
- usb
- pin
- intelligent terminal
- serial ports
- 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
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention relates to a system and method for expanding peripheral interfaces of an intelligent terminal. According to the system and method, an embedded integrated circuit and a USB-HUB expanding unit are adopted and through circuit debugging and software programming and under the condition that the system and the interfaces of the intelligent terminal are not changed at all, the system and method for expanding the peripheral interfaces of the intelligent terminal through USB interfaces are developed. According to the scheme, a standard USB-OTG protocol on the standard intelligent terminal is adopted and the expansion interfaces are communicated with the intelligent terminal in the mode of a USB-HID device, so that difficulty of secondary development of the intelligent terminal is greatly lowered, the speed of secondary development is increased, customization cost of the intelligent terminal is saved, and product cost is reduced.
Description
Technical field
The present invention relates to the USB-OTG Interface Expanding system and method for intelligent movable operating system, especially utilize integrated circuit (IC) design and software programming to use USB interface to expand other interfaces, for example UART interface, the system and method for SPI interface and I2C interface etc.
Background technology
USB OTG is the abbreviation of USB On-The-Go, is the technology that developed recently gets up, and announced Dec 18 calendar year 2001 by USB Implementers Forum, is mainly used in the connection between various equipment or mobile device, carries out exchanges data.Particularly PDA, mobile phone, consumer devices.Change as multiple different systems connectors of equipment room such as digital camera, video camera, printers the nearly inconvenience of exchanges data between the storage card of 7 kinds of standards.The development of USB technology, can link together various device by the manufacturing cost of plain mode, appropriateness PC and peripheral equipment, can pass through usb bus, as the periphery of PC, carries out exchanges data under the control of PC.But this exchanged form easily, once leave PC, each equipment room cannot utilize USB mouth to operate, because neither one equipment can serve as the Host that PC is the same.On-The-Go, OTG technology is exactly to realize in the situation that there is no Host, realizes the data transmission of equipment room.
Interface on the intelligent terminal of intelligent movable operating system has adopted this USB-OTG technology at present, realize the data interaction between plurality of devices, but on above-mentioned intelligent terminal, generally all only have the minority interfaces such as a USB or SDIO (Secure Digital Input and Output Card secure digital input-output card), interface quantity and interface type all cannot meet the needs of secondary development.
Traditionally, the method that solves this class problem for a change hardware circuit design again fabric swatch draw other required interfaces, as UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous reception/dispensing device), SPI (Serial Peripheral Interface--Serial Peripheral Interface (SPI)), I2C (Inter-Integrated Circuit) etc., or in the situation that not changing external interface, need to upgrade intelligent movable operating system, enroll new driving with support demand.Two kinds of traditional methods, all need hardware or software to intelligent terminal change or upgrade, and have brought great not convenient to secondary development.
Summary of the invention
In this background, the present invention utilizes embedded integration and USB-HUB expanding element, by circuit debugging and software programming, in the case of the system to intelligent terminal itself and interface do not make any change, develop a kind of system and method that utilizes USB interface expansion intelligent terminal external interface.
According to an embodiment of the invention, a kind of system of expanding intelligent terminal external interface is proposed, comprising:
Based on the intelligent terminal of intelligent movable operating system, it has USB-OTG interface, and described USB-OTG interface is configured to USB-HOST pattern;
USB-HUB expanding element, becomes multiple USB-HOST interfaces by USB-OTG Interface Expanding, and an interface connects embedded integration control circuit, and other interfaces connect other USB device;
Embedded integration control circuit, draw the interface of at least two other types thereon, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
According to an embodiment of the invention, the interface of described other types is UART serial interface, SPI interface, I2C interface, GPIO interface and bluetooth serial ports interface.
According to an embodiment of the invention, described protocol conversion comprises: embedded integration control circuit sends intelligent terminal Data Analysis by USB-HID agreement becomes UART serial ports, SPI interface, I2C interface, the form of GPIO interface and bluetooth serial ports interface data, send to the serial ports with UART, SPI interface, I2C interface, the equipment that GPIO interface and bluetooth serial ports interface connect, and passing through UART serial ports, SPI interface, I2C interface, the data that GPIO interface and bluetooth serial ports interface receive from outside are packaged into the USB-HID data layout of standard, by the USB interface being connected with intelligent terminal, form and intelligent terminal with the USB-HID of standard carry out communication.
According to a preferred embodiment of the present invention, described USB-HUB expanding element comprises USB multiport transmitting-receiving macroelement, uplink port transceiver, downlink port transceiver, routing switch, data receiver buffer memory, PLL phaselocked loop, 3.3V and 1.8V voltage regulator, oscillator, downlink port controller, uplink port controller, serial ports engine, full-speed/low-speed headend, high-speed data transponder, headend buffer memory, hub controller.
According to a preferred embodiment of the present invention, described embedded integration control circuit is that 2*10 pin is arranged, wherein the first pin and three-prong connect 5V power supply, the second pin connects 12V power supply, the 4th pin, the 6th pin connects UART interface signal, the 8th pin, the tenth pin and the 12 pin connect SPI interface signal, the 5th pin and the 7th pin connect bluetooth serial ports signal, the 9th pin, the 11 pin, the tenth three-prong, the 15 pin connects GPIO interface signal, the 17 pin and the 19 pin connect USB interface signal, the 14 pin and the 16 pin connect I2C interface signal, the 18 pin and the 20 pin ground signalling.
Embodiment according to another preferred, also proposes a kind of method of utilizing said system expansion intelligent terminal external interface, and concrete steps comprise:
The USB-OTG interface of the intelligent terminal based on intelligent movable operating system is arranged to USB-HOST pattern;
Utilize USB-HUB expanding element that USB-OTG is extended to multiple USB-HOST interfaces, one connects embedded integration control circuit, and other interfaces connect other USB device;
On embedded integration control circuit, draw the interface of at least two other types, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
The scheme that the present invention is designed, has overcome the shortcoming of traditional scheme preferably: adopt the USB-OTG agreement of standard on the intelligent terminal of standard, expansion interface carries out communication with form and the intelligent terminal of USB-HID equipment; Utilize the USB-HUB expanding element of research and development voluntarily, support USB2.0 specification completely, can realize the distinct interface data retransmission of various data rate requirements; Utilize the embedded integration control circuit of research and development voluntarily, realized the high-speed transitions of USB interface to multiple interfaces such as UART serial ports, SPI interface, I2C interface, GPIO interface and bluetooth serial ports interfaces; Greatly reduce the difficulty of intelligent terminal secondary development, accelerate the speed of secondary development; Save the customisation costs of intelligent terminal, reduce cost of products.
Brief description of the drawings
Fig. 1 is the system chart that utilizes USB interface expansion intelligent terminal external interface according to the embodiment of the present invention;
Fig. 2 is USB-HUB expanding element structural representation according to the embodiment of the present invention;
Fig. 3 is embedded integration control circuit interface schematic diagram according to the embodiment of the present invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, but should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
According to an embodiment of the invention, a kind of system of utilizing USB interface expansion intelligent terminal external interface is proposed, as shown in Figure 1, shown in system comprise:
Based on the intelligent terminal of intelligent movable operating system, it has USB-OTG interface, described USB-OTG interface is configured to USB-HOST pattern, and described intelligent movable operating system can be the Mobile operating system of current main flow, for example Android, IOS and windows phone;
USB-HUB expanding element, becomes multiple USB-HOST interfaces by USB-OTG Interface Expanding, and an interface connects embedded integration control circuit, and other interfaces connect other USB device;
Embedded integration control circuit, draw the interface of at least two other types thereon, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
According to an embodiment of the invention, the interface of described other types is UART serial interface, SPI interface, I2C interface, GPIO interface and bluetooth serial ports interface.
According to an embodiment of the invention, described protocol conversion comprises: embedded integration control circuit sends intelligent terminal Data Analysis by USB-HID agreement becomes UART serial ports, SPI interface, I2C interface, the form of GPIO interface and bluetooth serial ports interface data, send to the serial ports with UART, SPI interface, I2C interface, the equipment that GPIO interface and bluetooth serial ports interface connect, and passing through UART serial ports, SPI interface, I2C interface, the data that GPIO interface and bluetooth serial ports interface receive from outside are packaged into the USB-HID data layout of standard, by the USB interface being connected with intelligent terminal, form and intelligent terminal with the USB-HID of standard carry out communication.
According to a preferred embodiment of the present invention, as shown in Figure 2, described USB-HUB expanding element comprises USB multiport transmitting-receiving macroelement, uplink port transceiver, downlink port transceiver, routing switch, data receiver buffer memory, PLL phaselocked loop, 3.3V and 1.8V voltage regulator, oscillator OSR, downlink port controller, uplink port controller, serial ports engine, full-speed/low-speed headend, high-speed data transponder, headend buffer memory, hub controller.
According to a preferred embodiment of the present invention, as shown in Figure 3, described embedded integration control circuit is that 2*10 pin is arranged, wherein the first pin and three-prong connect 5V power supply, the second pin connects 12V power supply, the 4th pin, the 6th pin connects UART interface signal, the 8th pin, the tenth pin and the 12 pin connect SPI interface signal, the 5th pin and the 7th pin connect bluetooth serial ports signal, the 9th pin, the 11 pin, the tenth three-prong, the 15 pin connects GPIO interface signal, the 17 pin and the 19 pin connect USB interface signal, the 14 pin and the 16 pin connect I2C interface signal, the 18 pin and the 20 pin ground signalling.
Embodiment according to another preferred, also proposes a kind of method of utilizing said system expansion intelligent terminal external interface, and concrete steps comprise:
The USB-OTG interface of the intelligent terminal based on intelligent movable operating system is arranged to USB-HOST pattern;
Utilize USB-HUB expanding element that USB-OTG is extended to multiple USB-HOST interfaces, one connects embedded integration control circuit, and other interfaces connect other USB device;
On embedded integration control circuit, draw the interface of at least two other types, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
Above embodiment is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
Claims (6)
1. a system of expanding intelligent terminal external interface, comprising:
Based on the intelligent terminal of intelligent movable operating system, it has USB-OTG interface, and described USB-OTG interface is configured to USB-HOST pattern;
USB-HUB expanding element, becomes multiple USB-HOST interfaces by USB-OTG Interface Expanding, and an interface connects embedded integration control circuit, and other interfaces connect other USB device;
Embedded integration control circuit, draw the interface of at least two other types thereon, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
2. system according to claim 1, the interface of described other types is UART serial interface, SPI interface, I2C interface, GPIO interface and bluetooth serial ports interface.
3. system according to claim 1, described protocol conversion comprises: embedded integration control circuit sends intelligent terminal Data Analysis by USB-HID agreement becomes UART serial ports, SPI interface, I2C interface, the form of GPIO interface and bluetooth serial ports interface data, send to the serial ports with UART, SPI interface, I2C interface, the equipment that GPIO interface and bluetooth serial ports interface connect, and passing through UART serial ports, SPI interface, I2C interface, the data that GPIO interface and bluetooth serial ports interface receive from outside are packaged into the USB-HID data layout of standard, by the USB interface being connected with intelligent terminal, form and intelligent terminal with the USB-HID of standard carry out communication.
4. system according to claim 1, described USB-HUB expanding element comprises USB multiport transmitting-receiving macroelement, uplink port transceiver, downlink port transceiver, routing switch, data receiver buffer memory, PLL phaselocked loop, 3.3V and 1.8V voltage regulator, oscillator, downlink port controller, uplink port controller, serial ports engine, full-speed/low-speed headend, high-speed data transponder, headend buffer memory, hub controller.
5. system according to claim 1, described embedded integration control circuit is that 2*10 pin is arranged, wherein the first pin and three-prong connect 5V power supply, the second pin connects 12V power supply, the 4th pin, the 6th pin connects UART interface signal, the 8th pin, the tenth pin and the 12 pin connect SPI interface signal, the 5th pin and the 7th pin connect bluetooth serial ports signal, the 9th pin, the 11 pin, the tenth three-prong, the 15 pin connects GPIO interface signal, the 17 pin and the 19 pin connect USB interface signal, the 14 pin and the 16 pin connect I2C interface signal, the 18 pin and the 20 pin ground signalling.
6. utilize one of them the method for system extension intelligent terminal external interface of the claims 1-5, concrete steps comprise:
The USB-OTG interface of the intelligent terminal based on intelligent movable operating system is arranged to USB-HOST pattern;
Utilize USB-HUB expanding element that USB-OTG is extended to multiple USB-HOST interfaces, one connects embedded integration control circuit, and other interfaces connect other USB device;
On embedded integration control circuit, draw the interface of at least two other types, the conversion that carries on an agreement of described embedded integration control circuit, is converted to the USB-HID agreement of standard by other types interface protocol and is other dissimilar interface protocols by the USB-HID protocol conversion of intelligent movable operating system intelligent terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410323454.2A CN104090857A (en) | 2014-07-07 | 2014-07-07 | System and method for expanding peripheral interfaces of intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410323454.2A CN104090857A (en) | 2014-07-07 | 2014-07-07 | System and method for expanding peripheral interfaces of intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104090857A true CN104090857A (en) | 2014-10-08 |
Family
ID=51638574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410323454.2A Pending CN104090857A (en) | 2014-07-07 | 2014-07-07 | System and method for expanding peripheral interfaces of intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104090857A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331386A (en) * | 2014-10-09 | 2015-02-04 | 苏州工业园区服务外包职业学院 | Device for data transmission between intelligent equipment and embedded equipment |
CN104836877A (en) * | 2015-02-10 | 2015-08-12 | 数据通信科学技术研究所 | Method for debugging and detecting mobile phone |
CN105305185A (en) * | 2015-09-24 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | Connector base for multiplex serial interface and I2C interface |
CN105938462A (en) * | 2015-06-30 | 2016-09-14 | 知鑫知识产权服务(上海)有限公司 | Sensor-general switching equipment based on Micro USB |
CN107122069A (en) * | 2017-06-12 | 2017-09-01 | 深圳逗号互联科技有限公司 | Expansible portable intelligent device based on usb bus technology |
CN108205511A (en) * | 2017-12-29 | 2018-06-26 | 上海哈诚电子科技有限公司 | A kind of USB serial paralled interfaces expander |
CN110808876A (en) * | 2019-10-30 | 2020-02-18 | 厦门亿联网络技术股份有限公司 | Telephone debugging system and equipment |
CN111343616A (en) * | 2019-12-31 | 2020-06-26 | 武汉迈威通信股份有限公司 | Household intelligent gateway construction method based on communication terminal, gateway and storage medium |
CN113419979A (en) * | 2021-05-26 | 2021-09-21 | 深圳市昱森微电子有限公司 | USB multimedia concentrator control chip |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1485756A (en) * | 2002-09-29 | 2004-03-31 | 联想(北京)有限公司 | Multifunctional integrated machine having universal serial bus main terminal interface |
US20050182883A1 (en) * | 2004-02-03 | 2005-08-18 | Overtoom Eric J. | USB OTG intelligent hub/router for debugging USB OTG devices |
CN103902488A (en) * | 2012-12-30 | 2014-07-02 | 航天信息股份有限公司 | Method and system for expanding other interfaces through USB-OTG interface based on Android system |
-
2014
- 2014-07-07 CN CN201410323454.2A patent/CN104090857A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1485756A (en) * | 2002-09-29 | 2004-03-31 | 联想(北京)有限公司 | Multifunctional integrated machine having universal serial bus main terminal interface |
US20050182883A1 (en) * | 2004-02-03 | 2005-08-18 | Overtoom Eric J. | USB OTG intelligent hub/router for debugging USB OTG devices |
CN103902488A (en) * | 2012-12-30 | 2014-07-02 | 航天信息股份有限公司 | Method and system for expanding other interfaces through USB-OTG interface based on Android system |
Non-Patent Citations (1)
Title |
---|
CYPRESS: "《Very Low Power USB 2.0 Hub Controller CY7C65632》", 30 June 2011 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331386A (en) * | 2014-10-09 | 2015-02-04 | 苏州工业园区服务外包职业学院 | Device for data transmission between intelligent equipment and embedded equipment |
CN104836877A (en) * | 2015-02-10 | 2015-08-12 | 数据通信科学技术研究所 | Method for debugging and detecting mobile phone |
CN105938462A (en) * | 2015-06-30 | 2016-09-14 | 知鑫知识产权服务(上海)有限公司 | Sensor-general switching equipment based on Micro USB |
CN105305185A (en) * | 2015-09-24 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | Connector base for multiplex serial interface and I2C interface |
CN107122069A (en) * | 2017-06-12 | 2017-09-01 | 深圳逗号互联科技有限公司 | Expansible portable intelligent device based on usb bus technology |
CN108205511A (en) * | 2017-12-29 | 2018-06-26 | 上海哈诚电子科技有限公司 | A kind of USB serial paralled interfaces expander |
CN110808876A (en) * | 2019-10-30 | 2020-02-18 | 厦门亿联网络技术股份有限公司 | Telephone debugging system and equipment |
CN111343616A (en) * | 2019-12-31 | 2020-06-26 | 武汉迈威通信股份有限公司 | Household intelligent gateway construction method based on communication terminal, gateway and storage medium |
CN113419979A (en) * | 2021-05-26 | 2021-09-21 | 深圳市昱森微电子有限公司 | USB multimedia concentrator control chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104090857A (en) | System and method for expanding peripheral interfaces of intelligent terminal | |
CN103902488A (en) | Method and system for expanding other interfaces through USB-OTG interface based on Android system | |
US20060106962A1 (en) | USB On-The-Go implementation | |
CN105051706A (en) | Device, method and system for operation of a low power PHY with a PCIe protocol stack | |
CN202795350U (en) | Management device for USB ports | |
US20120270602A1 (en) | Multiple subscriber identity module controller | |
CN105162213A (en) | USB controller, and device | |
CN105446930A (en) | Single selection end SPI (Serial Peripheral Interface) master-slave multi-machine bidirectional communication method | |
CN102445981B (en) | Data transmission system and data transmission method | |
CN101494543B (en) | Bluetooth wireless hub and apparatus based on Bluetooth wireless transmission | |
CN102457990B (en) | Possess mobile terminal and its implementation of wireless network card function | |
CN201348780Y (en) | Interface expanding device and mobile terminal | |
CN104409090A (en) | Usb interface conversion module | |
KR20150118466A (en) | Wireless communication module and method for providing automatic configuration of network | |
CN210627213U (en) | Wireless time-sharing RFID terminal of Internet of things | |
CN204119319U (en) | A kind of module supporting WIFI wireless image transmission and serial communication | |
CN203086471U (en) | Network NFC (Near Field Communication) equipment | |
CN103294637B (en) | Based on the Magnetic isolation data input/output module of ARM adaptive direction control | |
CN202632217U (en) | Mouse integrating WiFi (Wireless Fidelity) function with Bluetooth function | |
CN102387609A (en) | Wireless sensor gateway device | |
CN204719747U (en) | The compatible equipment of Serial Peripheral Interface (SPI), Serial Peripheral Interface (SPI) and main process equipment | |
CN213718228U (en) | Bluetooth module | |
CN104735821A (en) | Wireless network card with USB-to-serial function and implement method thereof | |
CN213338363U (en) | Android industrial control all-in-one machine controlled by CAN bus | |
CN104978294A (en) | Compatible device of serial peripheral interface, serial peripheral interface and host device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141008 |
|
RJ01 | Rejection of invention patent application after publication |