CN103744821B - Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal - Google Patents

Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal Download PDF

Info

Publication number
CN103744821B
CN103744821B CN201410013184.5A CN201410013184A CN103744821B CN 103744821 B CN103744821 B CN 103744821B CN 201410013184 A CN201410013184 A CN 201410013184A CN 103744821 B CN103744821 B CN 103744821B
Authority
CN
China
Prior art keywords
usb
mobile terminal
functions
equipment
otg
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.)
Expired - Fee Related
Application number
CN201410013184.5A
Other languages
Chinese (zh)
Other versions
CN103744821A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410013184.5A priority Critical patent/CN103744821B/en
Publication of CN103744821A publication Critical patent/CN103744821A/en
Application granted granted Critical
Publication of CN103744821B publication Critical patent/CN103744821B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for realizing the USB OTG (Universal Serial Bus On-The-Go) function of a mobile terminal. The method comprises the following steps: selecting the USB OTG function or USB function of the mobile terminal by a user; if the USB OTG function of the mobile terminal is selected, triggering a system start the USB OTG function by adopting an intermittent triggering way or thread triggering way, configuring the mobile terminal as USB major equipment, identifying external USB slave equipment, and realizing data exchange between the mobile terminal and the external USB slave equipment; if the USB function of the mobile terminal is selected, configuring the mobile terminal as the USB slave equipment and representing the USB function to the user. By adopting the method and the device, The USB OTG function of the mobile terminal can be used normally when hardware of the mobile terminal does not support the USB OTG function but a CPU (Central Processing Unit) is compatible with the USB OTG function, hardware defects are overcome, and the user experience is improved.

Description

A kind of method and device for realizing mobile terminal USB OTG functions
Technical field
The present invention relates to mobile communication technology field;Specifically related to a kind of method for realizing mobile terminal USB OTG functions And device.
Background technology
Mobile terminal with USB OTG functions increased the 5th pin -- ID, for recognizing different equipment, work as tool When the mobile terminal for there are USB OTG functions detects ID pins ground connection, the USB for accessing is represented from equipment, by mobile terminal configuration For USB Host(Main equipment), and when the mobile terminal with USB OTG functions detects ID pin floatings, represent what is accessed USB Host, by mobile terminal configuration be USB from equipment.Therefore, existing mobile terminal(Such as mobile phone)Realize USB OTG(On The Go)Function, the patchcord except providing the user with a USB OTG(I.e.:MicroUSB turns usb line) Outward, in addition it is also necessary to the hardware supported USB OTG functions of mobile terminal, and need to carry out judging ID feet in software, and One mobile terminal for not supporting this function, is under normal circumstances responseless after insertion circumscribed USB equipment.
Existing part mobile terminal(Such as mobile phone), its hardware is not plan this function;I.e. such mobile terminal ID pins are hanging, and mobile terminal hardware circuit does not connect this line out yet, so not supporting USB OTG work(on hardware Energy.But, the CPU of such mobile terminal is compatible USB OTG functions, and in existing software engineering, whether MTK platforms are also It is all compatible USB OTG functions in high-pass platform code to be;Only because the support without hardware, USB OTG functions are still Cannot use.
The content of the invention
It is an object of the invention to solve drawbacks described above of the prior art, there is provided one kind realizes mobile terminal USB OTG The method and device of function, which overcomes the hardware deficiency of mobile terminal, realizes the USB OTG functions of mobile terminal.
The purpose of the present invention can be reached by adopting the following technical scheme that:
A kind of method for realizing mobile terminal USB OTG functions is provided, the method is comprised the following steps:
User is selected using the USB OTG functions or USB functions of mobile terminal;
If selecting using the USB OTG functions of mobile terminal, using down trigger mode or thread triggering mode, triggering System start-up USB OTG functions, are USB main equipment by mobile terminal configuration, and external USB is identified from equipment, are moved Dynamic terminal realizes data exchange with external USB from equipment;
If select using mobile terminal USB functions, by mobile terminal configuration be USB from equipment, be user present USB Function.
Used as a kind of preferred scheme, user's selection is using the concrete grammar of USB OTG functions or USB functions:
After insertion USB device, eject on mobile terminal and select menu, select using the USB of mobile terminal for user OTG functions or USB functions;Or
Before insertion USB device, user recalls menu item, and the USB for selecting to use mobile terminal is carried out by menu OTG functions.
As a kind of preferred scheme, while being USB main equipment by mobile terminal configuration, also mobile terminal is filled Electric process is configured, and charging is set to into disable, and OTG functions are set to into enable.
As a kind of preferred scheme, the employing down trigger mode, the concrete of system start-up USB OTG functions is triggered Process is:
After the USB OTG functions using mobile terminal are selected, high level and the GPIO mouths for recognizing OTG are will default to It is changed into low level, now, the CPU of mobile terminal detects the GPIO mouths and is changed into low level, then produce interrupt signal;
After CPU judges that USB is normally inserted from equipment, mobile terminal will call the function of USB OTG to be processed, It is USB main equipment by mobile terminal configuration, and external USB is identified from equipment, mobile terminal and external USB is from setting It is standby to realize data exchange.
As a kind of preferred scheme, the employing thread triggering mode, the concrete of system start-up USB OTG functions is triggered Process is:
After the USB OTG functions using mobile terminal are selected, " using USB OTG functions " broadcast is received by upper strata and is come Thread scheduling is carried out, the function for directly invoking USB OTG is processed, be USB main equipment by mobile terminal configuration, and to external USB be identified from equipment, mobile terminal realizes data exchange with external USB from equipment.
A kind of device for realizing mobile terminal USB OTG functions is provided, including the USB connections for connecting external equipment singly Unit, also includes:
Select unit, for selecting using the USB OTG functions or USB functions of mobile terminal for user;
OTG functional units, for selecting as user during the USB OTG functions using mobile terminal, using down trigger side Formula or thread triggering mode, trigger system start-up USB OTG functions, are USB main equipment by mobile terminal configuration, and to external USB is identified from equipment, and mobile terminal realizes data exchange with external USB from equipment;
USB functional units, are USB by mobile terminal configuration for selecting as user during the USB functions using mobile terminal It is that user is presented USB functions from equipment.
The present invention has following beneficial effect relative to prior art:
By manually selecting using the USB OTG functions or USB functions of mobile terminal for user, overcome due to movement Terminal hardware does not support USB OTG functions, and cannot judge to insert USB port is USB main equipment or USB lacking from equipment Fall into, and when user select using mobile terminal USB OTG functions when, illustrate external equipment be USB from equipment, now then trigger System start-up USB OTG functions, are USB main equipment by mobile terminal configuration, and external USB is identified from equipment, are moved Dynamic terminal realizes data exchange with external USB from equipment;So as to overcome the hardware deficiency of mobile terminal, movement is realized The USB OTG functions of terminal, it is practical, effectively improve the experience of user.
With reference to the accompanying drawings and examples to a kind of method for realizing mobile terminal USB OTG functions of the present invention and Device is described further.
Description of the drawings
Fig. 1 is a kind of method flow schematic diagram for realizing mobile terminal USB OTG functions of the present invention;
Fig. 2 is a kind of apparatus structure schematic block diagram for realizing mobile terminal USB OTG functions of the present invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and concrete real in order to be more clearly understood that the above objects, features and advantages of the present invention Apply mode to be further described in detail the present invention.
More details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described below Specific embodiment restriction.
Embodiment 1:
Embodiments of the invention 1 provide a kind of method for realizing mobile terminal USB OTG functions, and Fig. 1 is according to this The schematic flow sheet of bright embodiment 1, refer to Fig. 1, and this method is applied to such as mobile phone, PDA, palm PC CPU compatibility USB On the mobile terminal of OTG functions.Wherein, described OTG is On The Go, it mobile terminal can be enable in USB main equipment and USB mutually switches between equipment;When mobile terminal is connected to PC(Personal computer)When, then as a common USB from Equipment, and when mobile terminal is connected with other USB from equipment, it is just as USB main equipment.It is of the present invention mobile whole End, its CPU compatibility USB OTG function, but its be used to recognizing USB be from the ID pins of equipment it is hanging, mobile terminal it is hard Part circuit do not draw connect the pin lead out, although therefore such mobile terminal CPU compatibility USB OTG, by Defect on hardware, causes the external USB of its None- identified from equipment, does not still possess USB OTG functions.
In corresponding mobile terminal(Such as mobile phone, PAD)On be provided with after the present invention, comprise the steps:
S1, user are selected using the USB OTG functions or USB functions of mobile terminal;
Wherein, more specifically, due to the defect on mobile terminal hardware, when USB is inserted, mobile terminal cannot judge outer Connect be USB from equipment or USB main equipment, so being supplied to user actively to select, realization actively judges that external equipment is USB From equipment or USB main equipment, so as to realize according to actual demand, be user present mobile terminal USB OTG functions or USB functions.
Used as a kind of preferred scheme, user's selection is using the concrete grammar of USB OTG functions or USB functions:
After insertion USB device, eject on mobile terminal and select menu, select using the USB of mobile terminal for user OTG functions or USB functions;Therefore user can independently select corresponding function according to the actual requirements;If user selectes " USB OTG The respective menu of function ", then expression external equipment is USB from equipment, it is USB main equipment to need mobile terminal configuration, is User is presented USB OTG functions;If user selectes the respective menu of " USB functions ", then represent that external equipment sets for USB master Standby, mobile terminal, then as generic USB from equipment, is that user is presented USB functions.
Certainly, for the simplicity of further lifting operation, it is to avoid operation it is loaded down with trivial details, it is also possible to insertion USB device it Before selected.Such as:Before insertion USB device, user carries out selecting using shifting by recalling corresponding menu item by menu Dynamic terminal USB OTG functions;And in this method, mobile terminal acquiescence USB recognition modes are USB from equipment, therefore, if Do not carried out before external USB device select USB OTG functions, then acquiescence by mobile terminal configuration be USB from equipment, be use Family is presented USB functions.
If S2, selection use the USB OTG functions of mobile terminal, using down trigger mode or thread triggering mode, Triggering system start-up USB OTG functions, are USB main equipment by mobile terminal configuration, and external USB is known from equipment Not, mobile terminal realizes data exchange with external USB from equipment;
More specifically, will to mobile terminal configuration be USB main equipment while, also the charging process of mobile terminal is entered Row configuration, by charging disable is set to, and OTG functions are set to into enable, and it is outer that now charging process is configured to from mobile terminal Meet USB to power from equipment.In the present embodiment, can be judged using oppo_otg_enable variables.
For 1:Then:CHG_CONTROL__DISABLE|OTG_SWITCH__ENABLE;
For 0:Then:CHG_CONTROL__ENABLE|OTG_SWITCH__DISABLE.
And external USB is identified from equipment, such as external USB is mouse from equipment, and mobile terminal system is known Do not go out is after mouse insertion, the arrow of mouse to be shown in the figure layer on upper strata;If insertion is USB flash disk, mobile terminal bottom will Read USB flash disk attribute, such as ID producers, size and USB flash disk carry on node, be read out for upper strata and call.
If S3, select using mobile terminal USB functions, by mobile terminal configuration be USB from equipment, be user's presentation USB functions.
More specifically, the employing down trigger mode, the detailed process for triggering system start-up USB OTG functions is:
After the USB OTG functions using mobile terminal are selected, high level and the GPIO mouths for recognizing OTG are will default to It is changed into low level, now, the CPU of mobile terminal(Central processing unit)Detect the GPIO mouths and be changed into low level, illustrate USB Interrupt condition is triggered from equipment insertion, then produces interrupt signal;
When CPU judges that USB is normally inserted from equipment, then the function that will call USB OTG is processed, just first Some variables of beginningization OTG and condition, then notify that upper strata USB is inserted from equipment, and realization will be USB to mobile terminal configuration Main equipment, and external USB is identified from equipment, and then make mobile terminal realize that data are handed over from equipment with external USB Change.
And the employing thread triggering mode, triggering system start-up USB OTG function detailed processes is:
After the USB OTG functions using mobile terminal are selected, " using USB OTG functions " broadcast is received by upper strata and is come Thread scheduling is carried out, the function for directly invoking USB OTG is processed, that is, be directly entered usb_is_host()Function, by movement Terminal is configured to USB main equipment, and external USB is identified from equipment, realizes mobile terminal and external USB from setting It is standby to carry out data exchange.
After implementing the present invention, a kind of hardware in mobile terminal is provided the user and has not supported USB OTG functions, but CPU During compatible USB OTG functions, the method that also can realize using USB OTG functions greatly improves the intelligent of this Terminal Type, The experience of such terminal use is improved, it is practical.
Embodiment 2
Embodiments of the invention 2 provide a kind of device for realizing mobile terminal USB OTG functions, and Fig. 2 is according to this The structural schematic block diagram of bright embodiment 2, described device includes:
USB connection units, for connecting the USB connection units of external equipment;
Select unit, for selecting using the USB OTG functions or USB functions of mobile terminal for user;
OTG functional units, for selecting as user during the USB OTG functions using mobile terminal, using down trigger side Formula or thread triggering mode, trigger system start-up USB OTG functions, are USB main equipment by mobile terminal configuration, and to external USB is identified from equipment, and mobile terminal realizes data exchange with external USB from equipment;
USB functional units, are USB by mobile terminal configuration for selecting as user during the USB functions using mobile terminal It is that user is presented USB functions from equipment.
Wherein, more specifically, the select unit is being selected using the USB OTG functions or USB of mobile terminal for user During function, concrete grammar can be:After insertion USB device, eject on mobile terminal and select menu, select to use for user and move The USB OTG functions or USB functions of dynamic terminal;Or
Before insertion USB device, user recalls menu item, carries out selecting to use mobile terminal USB OTG by menu Function.
And described OTG functional units are using down trigger mode, during triggering system start-up USB OTG functions, specifically Process is:After the USB OTG functions using mobile terminal are selected, high level and the GPIO mouths for recognizing OTG are will default to It is changed into low level, now, the CPU of mobile terminal detects the GPIO mouths and is changed into low level, then produce interrupt signal;
After CPU judges that USB is normally inserted from equipment, then the function that will call USB OTG is processed, will Mobile terminal configuration is USB main equipment, and external USB is identified from equipment, and mobile terminal is with external USB from equipment Realize data exchange.
Using thread triggering mode, during triggering system start-up USB OTG functions, detailed process is OTG functional units: After selecting the USB OTG functions using mobile terminal, receive " using USB OTG functions " broadcast to carry out thread tune by upper strata Degree, when CPU judges that USB is normally inserted from equipment, then the function for directly invoking USB OTG is processed, by mobile terminal Main equipment is configured to, and external USB is identified from equipment, mobile terminal realizes number with external USB from equipment According to exchange.
Described mobile terminal includes the mobile end of mobile phone, PAD, palm PC or other CPU compatibility USB OTG functions End.
It should be noted that in said apparatus embodiment, included unit simply carries out drawing according to function logic Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional module is concrete Title is also only to facilitate mutually differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in the various embodiments described above method Program be can be by instruct the hardware of correlation to complete, corresponding program can be stored in embodied on computer readable storage and be situated between In matter, described storage medium, such as ROM/RAM, disk or CD.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention not by above-described embodiment Limit, other any spirit without departing from the present invention and the change, modification, replacement made under principle, combine, simplification, Equivalent substitute mode is should be, is included within protection scope of the present invention.

Claims (5)

1. a kind of method for realizing mobile terminal USB OTG functions, it is characterised in that the method is comprised the following steps:
User is selected using the USB OTG functions or USB functions of mobile terminal;
If selecting using the USB OTG functions of mobile terminal, using down trigger mode or thread triggering mode, system is triggered Start USB OTG functions, be USB main equipment by mobile terminal configuration, and external USB is identified from equipment, it is mobile whole Data exchange is realized with external USB from equipment in end;Wherein, the employing down trigger mode, triggers system start-up USB OTG The detailed process of function is:
After the USB OTG functions using mobile terminal are selected, will default to high level and the GPIO mouths for recognizing OTG are changed into Low level, now, the CPU of mobile terminal detects the GPIO mouths and is changed into low level, then produce interrupt signal;
After CPU judges that USB is normally inserted from equipment, mobile terminal will call the function of USB OTG to be processed, and will move Dynamic terminal is configured to USB main equipment, and external USB is identified from equipment, and mobile terminal is with external USB from equipment reality Existing data exchange;
Wherein, the employing thread triggering mode, trigger system start-up USB OTG functions detailed process be:
After the USB OTG functions using mobile terminal are selected, receive " using USB OTG functions " broadcast to carry out by upper strata Thread scheduling, the function for directly invoking USB OTG is processed, and is USB main equipment by mobile terminal configuration, and to external USB is identified from equipment, and mobile terminal realizes data exchange with external USB from equipment;
If select using mobile terminal USB functions, by mobile terminal configuration be USB from equipment, be user present USB work( Energy.
2. the method for realizing mobile terminal USB OTG functions according to claim 1, it is characterised in that user's choosing Select and be using the concrete grammar of USB OTG functions or USB functions:
After insertion USB device, eject on mobile terminal and select menu, select using the USB OTG work(of mobile terminal for user Energy or USB functions;Or
Before insertion USB device, user recalls menu item, and the USB OTG work(for selecting to use mobile terminal is carried out by menu Energy.
3. the method for realizing mobile terminal USB OTG functions according to claim 1, it is characterised in that will it is mobile eventually While end is configured to USB main equipment, also the charging process of mobile terminal is configured, charging is set to into disable, will OTG functions are set to enable.
4. the method for realizing mobile terminal USB OTG functions according to claim 1, it is characterised in that described movement Terminal is mobile phone, PAD or palm PC.
5. a kind of device for realizing mobile terminal USB OTG functions, including for connecting the USB connection units of external equipment, its It is characterised by, also includes:
Select unit, for selecting using the USB OTG functions or USB functions of mobile terminal for user;
OTG functional units, for selecting as user during the USB OTG functions using mobile terminal, using down trigger mode or Thread triggering mode, triggers system start-up USB OTG functions, is USB main equipment by mobile terminal configuration, and to external USB It is identified from equipment, mobile terminal realizes data exchange with external USB from equipment;
Wherein, the employing down trigger mode, trigger system start-up USB OTG functions detailed process be:
After the USB OTG functions using mobile terminal are selected, will default to high level and the GPIO mouths for recognizing OTG are changed into Low level, now, the CPU of mobile terminal detects the GPIO mouths and is changed into low level, then produce interrupt signal;
After CPU judges that USB is normally inserted from equipment, mobile terminal will call the function of USB OTG to be processed, and will move Dynamic terminal is configured to USB main equipment, and external USB is identified from equipment, and mobile terminal is with external USB from equipment reality Existing data exchange;
Wherein, the employing thread triggering mode, trigger system start-up USB OTG functions detailed process be:
After the USB OTG functions using mobile terminal are selected, receive " using USB OTG functions " broadcast to carry out by upper strata Thread scheduling, the function for directly invoking USB OTG is processed, and is USB main equipment by mobile terminal configuration, and to external USB is identified from equipment, and mobile terminal realizes data exchange with external USB from equipment;
USB functional units, are USB from setting by mobile terminal configuration for selecting as user during the USB functions using mobile terminal It is standby, it is that user is presented USB functions.
CN201410013184.5A 2014-01-10 2014-01-10 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal Expired - Fee Related CN103744821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410013184.5A CN103744821B (en) 2014-01-10 2014-01-10 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410013184.5A CN103744821B (en) 2014-01-10 2014-01-10 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal

Publications (2)

Publication Number Publication Date
CN103744821A CN103744821A (en) 2014-04-23
CN103744821B true CN103744821B (en) 2017-05-03

Family

ID=50501839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410013184.5A Expired - Fee Related CN103744821B (en) 2014-01-10 2014-01-10 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal

Country Status (1)

Country Link
CN (1) CN103744821B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461999A (en) * 2014-12-10 2015-03-25 上海畅联智融通讯科技有限公司 Circuit for automatically implementing functions of USB (universal serial bus) boot disks and OTG (on-the-go) function
CN104978300B (en) * 2015-07-16 2019-04-12 Oppo广东移动通信有限公司 Mobile terminal and its detection method being connect with external equipment and device
CN105183309B (en) * 2015-08-13 2019-04-16 小米科技有限责任公司 Method for handover control and device
CN105068958B (en) * 2015-08-13 2019-04-16 小米科技有限责任公司 Method for handover control and device
CN105183274B (en) * 2015-08-13 2019-01-11 小米科技有限责任公司 Method for handover control and device
CN105068954B (en) * 2015-08-25 2018-05-08 广东欧珀移动通信有限公司 The communication means and device of terminal interface
CN106598892B (en) * 2015-10-14 2020-06-02 北京小米移动软件有限公司 Switching control method and device
CN105404600B (en) * 2015-10-23 2018-05-25 广东欧珀移动通信有限公司 Take into account the method and device of USB eye patterns performance and OTG functions
CN106484126A (en) * 2016-09-12 2017-03-08 广东欧珀移动通信有限公司 A kind of OTG function open method and terminal
CN106547705A (en) * 2016-10-25 2017-03-29 北京小米移动软件有限公司 USB (universal serial bus) operating mode control method and device
CN106502911B (en) * 2016-11-09 2019-12-10 珠海全志科技股份有限公司 Multi-terminal access device
CN106597143B (en) * 2016-11-10 2022-01-14 青岛海信移动通信技术股份有限公司 Test equipment and test method
CN106648857B (en) * 2016-11-29 2019-11-01 维沃移动通信有限公司 A kind of open method and mobile terminal of the OTG function of mobile terminal
CN108268409A (en) * 2016-12-30 2018-07-10 维沃移动通信有限公司 A kind of method and mobile terminal of mobile terminal connection
CN106786960B (en) * 2017-01-13 2019-10-25 Oppo广东移动通信有限公司 Charge control method, device and terminal
CN107643998B (en) * 2017-09-07 2020-04-10 上海移远通信技术股份有限公司 System for realizing OTG and charging dual functions based on intelligent module
CN108012033A (en) * 2017-12-06 2018-05-08 深圳晨芯时代科技有限公司 A kind of method that file transmission and management are carried out between mobile phone and mobile music player
CN109032984A (en) * 2018-05-31 2018-12-18 广州吉欧电子科技有限公司 A kind of method and USB OTG equipment of multiplexing USB interface
CN111969686A (en) * 2020-08-18 2020-11-20 上海乐今通信技术有限公司 Mobile terminal for concurrent USB OTG and charging and implementation method
CN118113649A (en) * 2022-01-12 2024-05-31 青岛海信移动通信技术有限公司 OTG interface control method, control device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393542A (en) * 2008-10-08 2009-03-25 上海华勤通讯技术有限公司 Embedded equipment and method for supporting USB interface by GPIO terminal port
CN102662898B (en) * 2012-04-06 2015-01-21 华为技术有限公司 Host-slave compatibility method, device and system for USB (universal serial bus) device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200707208A (en) * 2005-08-03 2007-02-16 Sunplus Technology Co Ltd USB device capable of automatically detecting USB mode and method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393542A (en) * 2008-10-08 2009-03-25 上海华勤通讯技术有限公司 Embedded equipment and method for supporting USB interface by GPIO terminal port
CN102662898B (en) * 2012-04-06 2015-01-21 华为技术有限公司 Host-slave compatibility method, device and system for USB (universal serial bus) device

Also Published As

Publication number Publication date
CN103744821A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103744821B (en) Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal
US20190363567A1 (en) Battery charging method and electronic device
CN104540071B (en) The communication handover method and device of intelligent sound box
CN106712179B (en) Method and device for realizing reverse charging
JP2017534100A (en) USB Type C-MHL Charging out of battery with M1 M1
CN104915306B (en) A kind of data manipulation control method and equipment manager
CN101534349A (en) Method and apparatus for determining external connection device in mobile terminal
CN108037938B (en) Card opening method of eMMC
CN104519405A (en) Control method and electronic equipment
CN103887571A (en) Charging mode switching method and charging mode switching device
CN104216840A (en) USB (universal serial bus) setting and method and device for operating external equipment
CN105357403A (en) Network switching method and device for communication terminal and communication terminal
CN103761129A (en) Method of implementing SDIO (secure digital input/output) interface drive in Boot loader layer
CN105071484A (en) Charging method and apparatus of terminal having data exchange function
CN107885688B (en) Signal switching method and device
CN112714426A (en) Intelligent upgrading method and device for Bluetooth equipment, electronic equipment and medium
CN104298505A (en) Operation method for application program
CN102830943A (en) Method and system for playing multimedia files in external USB (universal serial bus) storage on the basis of Android platform
CN105511849A (en) Method, device and system for application program display
CN105279077A (en) Method and device for automated testing
CN106445516B (en) External radio trawl performance loading method and device
CN105049374A (en) Method and device for scheduling download task, and mobile terminal
CN105117254B (en) Wireless communication module and operation method and device thereof
CN104052801A (en) Information processing method and electronic equipment
CN107451067B (en) Processing method for downloading test and related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170503