[summary of the invention]
In order to address the above problem, the invention provides a kind of display, realized band OTG function on display, solved the single problem of existing display screen functions, and can between display of using as the connection computing machine and the display screen that shows the external unit file, freely switch.
For this reason, the present invention solves the technical scheme of its technical matters and is:
A kind of display, comprise: display processing unit and VGA interface, OTG processing unit and USB OTG interface, the video unit that is connected with the OTG processing unit with the display processing unit, also comprise the switch unit that links to each other with display processing unit and VGA interface, OTG processing unit and USBOTG interface, in order between display processing unit and OTG processing unit, to switch;
Described switch unit comprises the scanning element that is connected with described VGA interface and/or USB OTG interface at least, in order to VGA interface and/or USB OTG interface are scanned, and obtains related scans information, sends to the processor of described switch unit;
Described switch unit also comprises the switch that is connected with the OTG processing unit with described display processing unit, in order to be communicated with or to cut off display processing unit and VGA interface or be communicated with or cut off OTG processing unit and USB OTG interface;
The processor that is connected with switch with described scanning element, in order to send instruction to scanning element and to receive the scanning information that scanning element obtains, send instruction according to the scanning information that is obtained to switch again, the described instruction of synchronization can only be selected and be communicated with the display processing unit with the VGA interface or be communicated with the OTG processing unit and USB OTG interface.
Described scanning element scans the VGA interface when being communicated with computing machine, sends the information that captures the VGA interface to processor;
Described scanning element scans USB OTG interface when being communicated with external unit, sends the information that captures USB OTG interface to processor.
When described processor receives only the information that captures the VGA interface, then send the instruction that is communicated with display processing unit and VGA interface to switch;
When described processor receives only the information that captures USB OTG interface, then send the instruction that is communicated with OTG processing unit and USB OTG interface to switch;
Receive the information that captures the VGA interface and these the two kinds of scanning informations of information that capture USB OTG interface when described processor, then send to be communicated with to switch and instruct by the Priority Directive of setting in the processor.
The instruction of described setting instructs these two one of to instruct for predefined preferential connection display processing unit in the processor of switch unit instructs, preferentially is communicated with the OTG processing unit.
Described processor is connected with video unit, sends instruction to video unit, and the control of video unit shows OTG processing unit state or command information.
Described OTG processing unit comprises the OTG chip and is connected and controls the otg controller of OTG chip with the OTG chip.
Described OTG chip is the SIR72015 chip.
Described display also comprises the external switch that is connected with described switch, in order to by control the switch of described switch unit from outside display.
Display also comprises an audio interface; Described OTG processing unit comprises controller and the audio/video decoding unit and the data storage cell that link to each other with controller; Wherein said controller is connected with OTG processing unit switch with data storage cell, and described audio/video decoding unit links to each other with video unit.
The present invention has USB OTG interface on the display, energy be connected with external USB OTG equipment and support to discern automatically this equipment, browses multimedia file and picture in this external unit then.Easy to operate, can support many USB OTG interface peripheral hardware to be connected with display; Need not open the main frame that is connected with display, as long as this display energising can be browsed the file in the external unit.Realize two kinds of purposes of a display, saved cost.The display of this kind structure satisfies the demand in market.
Reach known patent documentation compared to existing technology, the display that the present invention relates to has outstanding substantive distinguishing features and significant technical progress is fairly obvious.In order better to set forth the present invention, be described in detail below in conjunction with the drawings and specific embodiments.
[embodiment]
As shown in Figure 1, the display of first embodiment of the invention, comprise: display processing unit and VGA interface, OTG processing unit and USB OTG interface, with the video unit that the display processing unit is connected with the OTG processing unit, also comprise the switch unit that links to each other with display processing unit and VGA interface, OTG processing unit and USB OTG interface.This switch unit comprises: the scanning element that is connected with described USB OTG interface; The switch that is connected with the OTG processing unit with described display processing unit; The processor that is connected with switch with described scanning element.Particularly, the OTG processing unit comprises: the OTG chip that is connected with video unit, and in order to control OTG chip and connected otg controller.Wherein, otg controller is connected by the switch in the switch unit with USB OTG interface.Described in actual applications OTG processing unit and switch unit are integrated into a module, need not carry out under the situation of big change existing display interior structure, this module are dosed in the existing display get final product.
The function that the display processing unit is realized comprises the relevant basic function of standard indicator at least.The function that video unit is realized comprises the function of display controller and display screen at least.The function that the OTG processing unit is realized comprises the function of otg controller, data storage, video decode at least.
When display powered on, switch was communicated with VGA interface and display processing unit in the present embodiment, and cut-out OTG processing unit is connected with USB OTG interface.Scanning element in the switch unit only is connected with USB OTG interface and according to the instruction of the processor in the switch unit USB OTG interface is carried out real time scan.When scanning USB OTG interface when being communicated with external unit, scanning element sends the scanning information that USB OTG interface is communicated with external unit to processor.The instruction of setting in advance in this processor is preferential OTG processing unit and the USB OTG interface of being communicated with, then, after this processor receives external unit USB OTG interface and scanning information that external unit is communicated with, switch in switch unit sends the instruction that is communicated with OTG processing unit and USB OTG interface, that is, otg controller is communicated with USB OTG interface.Simultaneously, because can only selecting one in synchronization, this switch is communicated with the OTG processing unit with peripheral hardware USB OTG interface or be communicated with the display processing unit and the VGA interface, so when being communicated with OTG processing unit and peripheral hardware USB OTG interface, originally the display processing unit of Lian Tonging is connected with the VGA interface and is cut off.At this moment, display enters into the OTG functional mode, otg controller is to connecting the external unit of display, and the USB OTG interface of this external unit scanned, and by the OTG chip file in the external unit is handled accordingly, this OTG chip can adopt the SIR72015 chip, in video unit the file of handling is shown, just, display plays back the file in the external unit by screen.The processing of said here OTG chip meets the content of USB OTG technical protocol regulation, and belongs to prior art, does not therefore repeat them here.
When the USB of external unit and display OTG interface disconnected, scanning element scanned the USB OTG interface of display and external unit when disconnecting, and sent the scanning information of USB OTG interface and external unit disconnection to processor.Processor is according to this scanning information, sends to switch to disconnect the instruction that OTG processing unit and USB OTG interface are connected and are communicated with display processing unit and VGA interface, and switch is carried out this instruction.Display recovers normal display function.
As shown in Figure 2, be the second embodiment of the present invention.In this display, the place identical with first embodiment will be not repeated.The difference of the concrete elaboration of present embodiment and first embodiment, in the present embodiment, scanning element and VGA interface also link together, simultaneously in real time to VGA interface and two interface scans of USB OTG interface.Switch is divided into: display processing unit switch and two switches of OTG processing unit switch.Processor is connected with video unit, sends instruction to video unit, and the order video unit receives the information that the OTG processing unit sends, and shows this information.The content of this shown in the present embodiment information is that prompting user display will switch to the OTG functional mode.
When display powered on, display processing unit switch was communicated with VGA interface and display processing unit in the present embodiment, and OTG processing unit switch cut-out OTG processing unit is connected with USB OTG interface.At this moment, the scanning element in the switch unit is carried out real time scan to VGA interface and USB OTG interface simultaneously.When scanning element scans the VGA interface when being communicated with computing machine, send the information that captures the VGA interface to processor; When scanning element scans USB OTG interface when being communicated with external unit, send the information that captures USB OTG interface to processor.
When display only connected main frame and uses, described processor received only the information that captures the VGA interface, then sent the instruction that is communicated with display processing unit and VGA interface to display processing unit switch.
When display only connected external unit and uses, described processor received only the information that captures USB OTG interface, then sent the instruction that is communicated with OTG processing unit and USB OTG interface to OTG processing unit switch.
When display connected computing machine and external unit simultaneously, described processor will receive the information that captures the VGA interface and capture these two kinds of scanning informations of information of USB OTG interface.At this moment, we can be according to the instruction that configures in advance in the processor, and selecting is that regular display as simple connection computing machine is come usefulness, still as can directly showing and does not show that by main frame the display of external unit internal file uses.In the present embodiment, our instruction of setting in advance is preferential OTG processing unit and the USB OTG interface of being communicated with.Therefore, processor can send to OTG processing unit switch and be communicated with instruction, and sends the cut-out instruction to display processing unit switch.Simultaneously, processor can call program stored information in the OTG processing unit.That is, video unit can receive the OTG processing unit and send over and be presented at the information that this display of prompting user on the display screen will switch to the OTG functional mode.
When external unit and the disconnection of USB OTG interface, then scanning element only scans the information that the VGA interface is connected with computing machine, send this scanning information to processor, processor sends to display processing unit switch and is communicated with instruction, make this switch be communicated with being connected of display processing unit and VGA interface again, and processor send to cut off instruction to OTG processing unit switch, makes switch cut off being connected of OTG processing unit and USB OTG interface.At this moment, display recovers related with computing machine.
As shown in Figure 3, be the third embodiment of the present invention.In the 3rd embodiment, be not repeated with place identical among above two embodiment.The place that present embodiment is different from second embodiment is to increase by two external switches outside display, is respectively: display function external switch and OTG function external switch.Wherein, display function external switch, OTG function external switch all are connected with processor in the switch unit.The form of these two external switches shows as two buttons on display in the present embodiment.In addition, as shown in Figure 4, OTG processing unit in the present embodiment is by the audio/video decoding unit, program storage unit (PSU), and controller, data storage cell is formed.Wherein, program storage unit (PSU) can be called by the processor of switch unit and the controller in the OTG processing unit in order to store the program of all relevant OTG processing units.The audio/video decoding unit is connected with the audio/video unit, is connected with data storage cell simultaneously, and data storage cell is connected with OTG processing unit switch, controller.
External unit is communicated with USB OTG interface and give processor with this information feedback when scanning element scans, and at this moment, processor receives the information that captures the VGA interface and captures these two kinds of scanning informations of information of peripheral hardware USB OTG interface.In such cases, processor sends instruction to the audio/video unit, and control audio/video unit receives the information that program storage unit (PSU) sends, and simultaneously, processor control program storage unit sends to the audio/video unit with canned data.The content of this information is that the inquiry user adopts the display of which kind of functional mode to carry out work.That is, allow the user determine to select Presentation Function or selection OTG function to show.
Like this, the user just can be according to oneself needs display function external switch button or one of OTG function external switch button by selecting the display outside, decide to be communicated with display processing unit and VGA interface, still be communicated with OTG processing unit and USB OTG interface.For example: if the user selects OTG function external switch button, at this moment, the processor of switch unit receives the signal that OTG function external switch button sends, and sends to OTG processing unit switch to be communicated with instruction.When being communicated with OTG processing unit and USB OTG interface, the inner data that need broadcast of external unit enter in the data storage cell controller control data storage unit by OTG processing unit switch, this display also comprises an audio interface, so just can realize the broadcast of sound.Controller is further controlled the audio/video decoding unit data in the data storage unit is decoded, and finally sends to the demonstration of audio/video unit.Here, the user can not select simultaneously by display function external switch and OTG function external switch.
The present invention also supports the use of many USB OTG interface on display,, supports USBHUB that is.When 2 or 2 above USB OTG interfaces are arranged at display, accordingly can corresponding a plurality of USB OTG switches, show multimedia file in the pairing peripheral hardware in order to control.For example, there are 2 USB OTG interfaces to connect the peripheral hardware of two band USB OTG respectively on the display, the file data that will play in the peripheral hardware can be stored in earlier in the data storage cell in the OTG processing unit, and finally when needs are presented at it on display screen, be called and show.
In sum; for the person of ordinary skill of the art; can make other various corresponding changes and distortion according to technical scheme of the present invention and technical conceive, and all these changes and distortion all should belong to the protection domain of claim of the present invention.