CN105744075A - Mobile phone interconnection method based on OTG technique - Google Patents

Mobile phone interconnection method based on OTG technique Download PDF

Info

Publication number
CN105744075A
CN105744075A CN201610201386.1A CN201610201386A CN105744075A CN 105744075 A CN105744075 A CN 105744075A CN 201610201386 A CN201610201386 A CN 201610201386A CN 105744075 A CN105744075 A CN 105744075A
Authority
CN
China
Prior art keywords
mobile phone
otg
usb
method based
cable
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
Application number
CN201610201386.1A
Other languages
Chinese (zh)
Inventor
田雨农
郭鹏
周秀田
史文虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Roiland Technology Co Ltd
Original Assignee
Dalian Roiland Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian Roiland Technology Co Ltd filed Critical Dalian Roiland Technology Co Ltd
Priority to CN201610201386.1A priority Critical patent/CN105744075A/en
Publication of CN105744075A publication Critical patent/CN105744075A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile phone interconnection method based on an OTG technique. The method comprises following specific steps of directly connecting a USB interface of a mobile phone A and a USB interface of a mobile phone B through an OTG cable; if one mobile phone receives a USB ID interruption signal transmitted by the cable, starting an OTG mode of the mobile phone as USB Host; operating the other mobile phone in a USB Device mode by default, and starting handshake by the two mobile phones; carrying out handshake communication by the mobile phone A and the mobile phone B; and after the handshake is successful, selecting a file at the mobile phone A or the mobile phone B side by a mobile phone owner, thus sharing the file in a USB mode. According to the method, the existing problems of inconvenience in transferring the mobile phone file by using a transferring medium, and the instability and rate by using wireless interconnection are solved.

Description

Mobile phone interconnecting method based on OTG technology
Technical field
The invention belongs to OTG technical field, specifically a kind of mobile phone interconnecting method based on OTG technology.
Background technology
Current people's day by day promoting according to patience mobile phone, a lot of people not only have and use a mobile phone, are frequently encountered the situation needing the staged files to arrive another mobile phone, or share some videos, picture, file etc. with colleague friend.
For this situation, substantially solution can be classified as two kinds at present: carrys out the staged files by transfer medium, such as computer, USB flash disk etc.;By bluetooth, the wireless technology such as WiFi realizes interconnection and directly transmits.The medium such as computer or USB flash disk the first carried out to the mode of the staged files by transfer medium, it is clear that ageing not strong, because can not be had whenever and wherever possible available;The mode that the second is wireless interconnected, there is also some shortcomings, such as transfer rate relys more on the tenability of mobile phone, for cell phone platform comparatively high-end in the market, such as the MSM8974 platform of high pass, supporting WiFi chip transfer rate theoretical upper values just arrives 300Mbps, and wireless transmission method and apart from closely bound up, also being easily disturbed, transfer rate is discounted certainly.
Summary of the invention
There is disadvantages mentioned above or deficiency for prior art, the invention provides a kind of mobile phone interconnecting method based on OTG technology, solve to currently use the inconvenience of transfer medium transfer mobile phone file, and use wireless interconnected unstability and problem rate.
For achieving the above object, the technical scheme is that a kind of mobile phone interconnecting method based on OTG technology specifically comprises the following steps that
S1. the USB interface of mobile phone A and the USB interface of mobile phone B are directly connected to by OTG cable;
S2. as mobile phone A receives the USBID interrupt signal of cable transmission, then starting OTG pattern is USBHost;
S3. mobile phone A is USBHost pattern, then mobile phone B acquiescence operates in USBDevice pattern, and two handset startings are shaken hands;
S4. mobile phone A and mobile phone B handshake communication;
S5. shaking hands after successfully, mobile phone owner selects file to share in USB mode in mobile phone A or mobile phone B end.
Further, if mobile phone B receives the USBID interrupt signal of cable transmission in step s 2, then mobile phone B being set to USBhost pattern, mobile phone A will for USBDevice pattern, and two mobile phones can share file after shaking hands.
Further, above-mentioned middle OTG cable, including MicroUSB, MiniUSB etc., other merge class or customization class interface, and USBID foot is cable one end ground connection.
Further, mobile phone can automatically switch between USB master slave mode.
As further, file transfer rate can reach the speed of 480Mbps.
Due to the fact that the above technical scheme of employing, following technique effect can be obtained: based on OTG technology, not only achieving two mobile phones need not by transfer medium direct interconnection, the radio interconnected unstability brought of customer service and the low problem of transfer rate again, make two mobile phones can be more convenient, mutually share file faster.
Accompanying drawing explanation
The present invention has accompanying drawing 3 width:
Fig. 1 is two mobile phone interconnecting schematic diagrams of the present invention;
Fig. 2 is the OTG cable inner schematic diagram used in embodiment;
Fig. 3 is FB(flow block) of the present invention.
Detailed description of the invention
By the examples below, and in conjunction with accompanying drawing, technical scheme is described in further detail.
Embodiment 1
In following description, OTG cable is exemplified as the cable of MicroUSB interface type the most general at present;
S1. as it is shown in figure 1, mobile phone A and mobile phone B are connected on the OTG cable two ends of MicroUSB interface respectively;
S2. as in figure 2 it is shown, due on the interface of OTG cable wherein one end USBID pin and ground be connected together, so when mobile phone A or mobile phone B are connected on this end, can be all one the low interruption of generation of corresponding mobile phone;
S3. according to usb protocol, when USBID pin receives low interruption, corresponding mobile phone will be placed in USBhost pattern;
S4. when receiving the USBID mobile phone interrupted and being placed in USBhost pattern, the DC voltage of one about 5V of internal generation is just gone up to the USB power source line of OTG cable, the mobile phone being so connected on the other end receives this 5V signal, will start USB portion circuit, and be placed in USBdevice pattern;
S5. when two mobile phones are respectively disposed in USBhost and USBdevice pattern, meeting handshake communication, namely successfully establish data channel after successfully wait shaking hands;
S6., after data channel is successfully established, mobile phone owner can select respective file at mobile phone A end or mobile phone B end and select to share in USB mode.
OTG cable includes the cable of various interface, and such as MicroUSB, MiniUSB etc., other merge class or customization class interface, and USBID foot is cable one end ground connection.Mobile phone interconnecting thinking based on OTG technology, although supporting that the mobile phone of OTG is very many currently on the market, but OTG cable compares generic USB line on the one hand is distinguishing, people often neglect this function, people are often due to online etc. are accustomed on the other hand, the wireless mode utilization rates such as WiFi are caused to be greatly promoted, therefore the wireless way for transmitting file such as WiFi more accustomed to using, but when needs transmit large data files, just clearly, and the media such as computer can not be carried with for the instability of the wireless modes such as WiFi and the slow weakness of speed.
Use OTG cable to realize mobile phone direct interconnection by the USB interface of two mobile phones, the inconvenience that transfer medium passes mutually can be avoided the need for;OTG technology is the extension to usb protocol so that mobile phone can automatically switch between USB master slave mode, even transfer rate 2.0 also can reach the speed of 480Mbps, and highly stable, and the impact of interference-free and distance etc..
The above; it is only the present invention preferably detailed description of the invention; but protection scope of the present invention is not limited thereto; any those familiar with the art is in the technical scope of present disclosure; it is equal to replacement according to technical scheme and inventive concept thereof or is changed, all should be encompassed within protection scope of the present invention.

Claims (5)

1. the mobile phone interconnecting method based on OTG technology, it is characterised in that specifically comprise the following steps that
S1. the USB interface of mobile phone A and the USB interface of mobile phone B are directly connected to by OTG cable;
S2. as mobile phone A receives the USBID interrupt signal of cable transmission, then starting OTG pattern is USBHost;
S3. mobile phone A is USBHost pattern, then mobile phone B acquiescence operates in USBDevice pattern, and two handset startings are shaken hands;
S4. mobile phone A and mobile phone B handshake communication;
S5. shaking hands after successfully, mobile phone owner selects file to share in USB mode in mobile phone A or mobile phone B end.
2. a kind of mobile phone interconnecting method based on OTG technology according to claim 1, it is characterized in that, if mobile phone B receives the USBID interrupt signal of cable transmission in step s 2, then mobile phone B is set to USBhost pattern, mobile phone A will for USBDevice pattern, and two mobile phones can share file after shaking hands.
3. a kind of mobile phone interconnecting method based on OTG technology according to claim 2, it is characterised in that above-mentioned middle OTG cable, including MicroUSB, MiniUSB, other merge class or customization class interface, and USBID foot is cable one end ground connection.
4. a kind of mobile phone interconnecting method based on OTG technology according to any one of claim 1-3, it is characterised in that mobile phone can automatically switch between USB master slave mode.
5. a kind of mobile phone interconnecting method based on OTG technology according to claim 4, it is characterised in that file transfer rate can reach the speed of 480Mbps.
CN201610201386.1A 2016-03-31 2016-03-31 Mobile phone interconnection method based on OTG technique Pending CN105744075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201386.1A CN105744075A (en) 2016-03-31 2016-03-31 Mobile phone interconnection method based on OTG technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201386.1A CN105744075A (en) 2016-03-31 2016-03-31 Mobile phone interconnection method based on OTG technique

Publications (1)

Publication Number Publication Date
CN105744075A true CN105744075A (en) 2016-07-06

Family

ID=56252744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201386.1A Pending CN105744075A (en) 2016-03-31 2016-03-31 Mobile phone interconnection method based on OTG technique

Country Status (1)

Country Link
CN (1) CN105744075A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563594A (en) * 2018-03-26 2018-09-21 联想(北京)有限公司 A kind of data transmission method, device and USB adapter
WO2018196413A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium
CN111698366A (en) * 2020-05-08 2020-09-22 北京连山时代科技有限公司 Mobile phone hardware extension mode based on USB interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001053823A (en) * 1999-08-05 2001-02-23 Nec Telecom Syst Ltd Synchronous and asynchronous peeling communication system
CN101500325A (en) * 2008-02-01 2009-08-05 上海晨兴电子科技有限公司 Method for implementing mobile phone interconnecting information sharing by USB electric cable
CN102325223A (en) * 2011-09-13 2012-01-18 深圳桑菲消费通信有限公司 Method for transmitting data between mobile phones
CN202433810U (en) * 2011-12-27 2012-09-12 成都众询科技有限公司 Tablet personal computer based on USB (Universal Serial Bus) and OTG (On-The-Go)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001053823A (en) * 1999-08-05 2001-02-23 Nec Telecom Syst Ltd Synchronous and asynchronous peeling communication system
CN101500325A (en) * 2008-02-01 2009-08-05 上海晨兴电子科技有限公司 Method for implementing mobile phone interconnecting information sharing by USB electric cable
CN102325223A (en) * 2011-09-13 2012-01-18 深圳桑菲消费通信有限公司 Method for transmitting data between mobile phones
CN202433810U (en) * 2011-12-27 2012-09-12 成都众询科技有限公司 Tablet personal computer based on USB (Universal Serial Bus) and OTG (On-The-Go)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018196413A1 (en) * 2017-04-24 2018-11-01 中兴通讯股份有限公司 Method and apparatus for operating mobile terminal, electronic device, and computer readable storage medium
CN108563594A (en) * 2018-03-26 2018-09-21 联想(北京)有限公司 A kind of data transmission method, device and USB adapter
CN108563594B (en) * 2018-03-26 2022-03-25 联想(北京)有限公司 Data transmission method and device and USB adapter
CN111698366A (en) * 2020-05-08 2020-09-22 北京连山时代科技有限公司 Mobile phone hardware extension mode based on USB interface
CN111698366B (en) * 2020-05-08 2021-03-19 北京连山科技股份有限公司 Mobile phone hardware extension method based on USB interface

Similar Documents

Publication Publication Date Title
US20180359705A1 (en) Method of Operating a Communication Device Operable in an Active Mode and in an Idle Mode, a Computer Program Product for Executing the Method, and the Communication Device Operable in an Active Mode and in an Idle Mode
EP3125513A1 (en) Multi-mode power saving multimedia transmission method and system
CN104978296A (en) Method and apparatus for determining direction of power delivery
TWI235577B (en) A method for peer to peer communication over an inherently master slave interface
CN102201846B (en) Wireless data transmission system and method based on soft AP (access point) technology
CN104584677A (en) Processor-independent communication of network availability
CN104303491A (en) Devices and methods for facilitating direct pairing in a wireless docking system
CN105101055A (en) File transfer method and intelligent equipment
CN1946214A (en) Mobile phone for providing radio access to internet function for other electronic device
CN105744075A (en) Mobile phone interconnection method based on OTG technique
CN202799183U (en) Mobile communication device with multiple mobile communication terminals
Chadha et al. Bluetooth technology: Principle, applications and current status
CN104364777A (en) Protocol translating adapter
CN101770436A (en) Personal computer (PC) side software realization method and system based on wireless connection
CN207802394U (en) Mifi equipment
CN101500325A (en) Method for implementing mobile phone interconnecting information sharing by USB electric cable
CN203707833U (en) Vehicle-mounted wireless charger
EP2670104B1 (en) Method and device for transferring data via more than one communications interface
CN202632217U (en) Mouse integrating WiFi (Wireless Fidelity) function with Bluetooth function
CN106681437B (en) Carrying equipment and electronic equipment accessory
CN104618653A (en) Novel Bluetooth self shooting control device
CN203504768U (en) Green non-driven wireless modem/WIFI router device
CN204423249U (en) A kind of electronic equipment
CN102447505A (en) Communication apparatus and signal processing method
CN213818199U (en) Embedded equipment for expanding vehicle-mounted system interconnection protocol through wireless encryption and decryption

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: 20160706

RJ01 Rejection of invention patent application after publication