Method for starting OTG function of mobile terminal and mobile terminal

A mobile terminal, functional technology

Active Publication Date: 2017-05-10
VIVO MOBILE COMM CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a method for enabling the OTG function of a mobile terminal and the mobile terminal, so as to solve the problem that the reliability and security of the USB interface are affected due to the OTG function of the mobile terminal being kept in a normally-on state

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for starting OTG function of mobile terminal and mobile terminal
  • Method for starting OTG function of mobile terminal and mobile terminal
  • Method for starting OTG function of mobile terminal and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0023] refer to figure 1 , which shows a flow chart of a method for enabling the OTG function of a mobile terminal according to the first embodiment of the present invention. The mobile terminal is configured with a first Hall switch, and may specifically include the following steps:

[0024] Step 101, when the mobile terminal is placed in a virtual reality VR device, the mobile terminal receives a first interrupt signal generated by a first Hall switch, and the VR device is configured with a second Hall switch;

[0025] In the embodiment of the present invention, the mobile terminal may be an electronic device with a display screen, such as a smart phone and a tablet computer. Further, the mobile terminal may also include one or more USB interfaces, which can be connected to the VR device through the USB interfaces.

[0026] USB (Universal Serial Bus, Universal Serial Bus) is an external bus standard that can be used to standardize the connection and communication between el...

no. 2 example

[0041] refer to figure 2 , which shows a flow chart of a method for enabling the OTG function of a mobile terminal according to a second embodiment of the present invention. The mobile terminal is configured with a first Hall switch, and may specifically include the following steps:

[0042] Step 201, when the mobile terminal is placed in the virtual reality VR device, the mobile terminal receives a first interrupt signal generated by the first Hall switch in the preset first magnetic region;

[0043] In the embodiment of the present invention, the mobile terminal may be an electronic device with a display screen, such as a smart phone and a tablet computer. Further, the mobile terminal may also include one or more USB interfaces, which can be connected to the VR device through the USB interfaces.

[0044] In the embodiment of the present invention, the VR device may refer to a VR box for placing a mobile terminal. After the mobile terminal is placed into the VR box, the mo...

no. 3 example

[0070] refer to Figure 3A , shows one of the block diagrams of the mobile terminal according to the third embodiment of the present invention, the mobile terminal 300 is configured with a first Hall switch, and the mobile terminal 300 may specifically include the following modules:

[0071] The receiving module 310 is configured to receive a first interrupt signal generated by a first Hall switch when the mobile terminal is placed in a virtual reality VR device, and the VR device may be configured with a second Hall switch;

[0072] The opening module 320 is used for enabling the OTG function of the mobile terminal in response to the first interruption signal;

[0073] The holding module 330 is configured to keep the OTG function in an on state when receiving the second interrupt signal generated by the second Hall switch within a preset time range.

[0074] In the embodiment of the present invention, the VR device may have a preset first magnetic region, and the receiving m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

One embodiment of the invention provides a method for starting the OTG function of a mobile terminal and a mobile terminal. The mobile terminal is configured with a first Hall switch. The method comprises following steps: when the mobile terminal is put in a virtual reality VR device, the mobile terminal receives a first interruption signal generated by the first Hall switch and the VR device is configured with a second Hall switch; for the first interruption signal, the mobile terminal starts the OTG function; when a second interruption signal generated by the second Hall switch is received within a preset period of time, the OTG function is kept on. Thereby the problem that the OTG function of the mobile terminals in the prior art needs to keep the normally start state is solved so that the mobile terminal can turn on the OTG function on demand; the reliability and safety of USB interface of mobile terminals is increased.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for enabling an OTG function of a mobile terminal and the mobile terminal. Background technique [0002] At present, the realization of the VR (Virtual Reality, virtual reality) function of smartphones is mainly based on the VR box, that is, the mobile phone is inserted into the VR box, and then image presentation and human-computer interaction are realized through the optical system and sensor unit in the VR box. The mobile phone and the VR box are connected through USB (Universal Serial Bus, Universal Serial Bus). Provide power for the VR box; on the other hand, the mobile phone also communicates with the VR box through OTG for data exchange. [0003] According to the USB OTG protocol, in order to realize the hot plug function of the OTG, the OTG must be kept in the normally open state, so the ID pin of the USB interface will always...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/48
CPCG06F9/4812
Inventor 付从华刘国红
Owner VIVO MOBILE COMM CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products