CN107948567A - USB wired screen transmission method and device - Google Patents

USB wired screen transmission method and device Download PDF

Info

Publication number
CN107948567A
CN107948567A CN201611043037.8A CN201611043037A CN107948567A CN 107948567 A CN107948567 A CN 107948567A CN 201611043037 A CN201611043037 A CN 201611043037A CN 107948567 A CN107948567 A CN 107948567A
Authority
CN
China
Prior art keywords
usb
equipment
port
usb interface
communication protocol
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.)
Granted
Application number
CN201611043037.8A
Other languages
Chinese (zh)
Other versions
CN107948567B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to PCT/CN2017/103468 priority Critical patent/WO2018090721A1/en
Publication of CN107948567A publication Critical patent/CN107948567A/en
Application granted granted Critical
Publication of CN107948567B publication Critical patent/CN107948567B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to a USB wired screen transmission method and device. The method comprises the following steps: the method comprises the steps that a plurality of communication protocol ports are provided for first equipment through a first USB interface of a home terminal, the communication protocol ports can be identified by a general driver of the first equipment, and USB communication connection between the home terminal and the first equipment is established through the communication protocol ports and the first USB interface; instructing the first device to switch system sound to a virtual sound card simulated at the home terminal through a port of the virtual sound card, wherein the virtual sound card is not connected with any power amplifier device; detecting that the first USB interface has information from first equipment, detecting a communication protocol port for transmitting the information, and identifying the information as audio and video data if the port is used for transmitting the audio and video data; and forwarding the audio and video data to the second device through a second USB interface of the local terminal. The invention can overcome the problem that the display source end and the display equipment end sound at the same time.

Description

The method and device of the wired biography screens of USB
Technical field
The present invention relates to technical field of data transmission, more particularly to the method and device of the wired biography screens of USB.
Background technology
Current biography screen is achieved in that, as shown in Figure 1, pass screen equipment both ends connects display source PC and display eventually respectively End, shows screen page and voice data of the source PC by intercepting system, the screen page of interception and voice data is led to together Cross biography screen equipment and be sent to display terminal, display terminal, which shows and plays, passes picture and sound that screen equipment sends over, with up to To the purpose for passing screen.
In order to intercept sound, need to export sound at PC ends, therefore during screen is passed, show source PC and display terminal all It can be made a sound by respective power amplifier;But when showing that source PC and display terminal are in same room, such case then can In the presence of interfering with each other.Therefore in many cases, all sound is turned off in selection, only carries out the biography screen of display picture, but is difficult to reach pre- The effect of phase.
The content of the invention
Based on this, the method and device of the wired biography screens of USB provided in an embodiment of the present invention, can overcome display source device and At the same time there is the problem of interference in sounding with display terminal.
The method that one aspect of the present invention provides the wired biography screens of USB, including:
By the first USB interface of local terminal some communication protocol ports, the communication protocol port are provided to the first equipment It can be identified by the general driving of the first equipment;The general driving provides to communicate between the first equipment and standard USB device Common communication protocol, the communication protocol port includes at least:It is used for transmission the port of audio, video data and simulates virtual The port of sound card;
Local terminal is established by the communication protocol port, first USB interface and the usb communication of first equipment connects Connect;Its system sounds is switched to the Virtual Sound of local terminal simulation by port instruction first equipment of the virtual sound card Card, the virtual sound card are not connected with any power amplifying device;
Detecting that the first USB interface has the information from the first equipment, the communication protocol port of the information is transmitted in detection, if To be used for transmission the port of audio, video data, then the information is identified as audio, video data;The audio, video data is passed through this The secondary USB interface at end is forwarded to the second equipment, indicates that second equipment plays pair after the audio, video data is received The audio and video answered.
Another aspect of the present invention provides a kind of method of the wired biography screens of USB, including:
The communication protocol end provided by the USB device of general driving identification the first equipment USB interface of access of pre-installation Mouthful;The general driving provides the common communication protocol to communicate between the first equipment and standard USB device, the communication protocol Port includes at least:It is used for transmission the port of audio, video data and the port of the virtual sound card of simulation;The USB device is provided with First USB interface, the USB device accesses the first equipment USB interface by first USB interface, and passes through described first USB interface provides some communication protocol ports that can be identified by the general driving of the first equipment;
The system sounds of the first equipment are switched to what the USB device was simulated by the port of the virtual sound card identified Virtual sound card, the virtual sound card are not connected with any power amplifying device;
Intercept and capture the picture and audio of the first device plays;The audio, video data intercepted is connect by the USB of the first equipment Mouth is sent to the first USB interface of the USB device.
Another aspect of the invention provides a kind of device of the wired biography screens of USB, including:
Port analog module, some communication protocol ports are provided for the first USB interface by local terminal to the first equipment, The communication protocol port can identify that the general driving provides the first equipment and standard by the general driving of the first equipment The common communication protocol to communicate between USB device, the communication protocol port include at least:It is used for transmission the end of audio, video data The port of mouth and virtual sound card;
Connection establishment module, for establishing local terminal and described the by the communication protocol port, first USB interface The usb communication connection of one equipment;Indicate that first equipment switches to its system sounds by the port of the virtual sound card The virtual sound card of local terminal simulation, the virtual sound card are not connected with any power amplifying device;
Audio, video data forwarding module, for detecting that the first USB interface has the information from the first equipment, detection transmission The communication protocol port of the information, if the port for being used for transmission audio, video data, is then identified as audio, video data by the information; The audio, video data is forwarded to the second equipment by the secondary USB interface of local terminal, indicates that second equipment is receiving Corresponding audio and video are played after the audio, video data.
Another aspect of the invention provides a kind of device of the wired biography screens of USB, including:
USB identification modules, the USB device for general driving identification the first equipment USB interface of access by pre-installation The communication protocol port of offer;The general driving provides all purpose communication to communicate between the first equipment and standard USB device Agreement, the communication protocol port include at least:It is used for transmission the port of audio, video data and the port of virtual sound card;It is described USB device is provided with the first USB interface, and the USB device accesses the first equipment USB interface by first USB interface, and Some communication protocol ports that can be identified by the general driving of the first equipment are provided by first USB interface;
Sound handover module, switches to the system sounds of the first equipment for the port by the virtual sound card identified The virtual sound card of the USB device simulation, the virtual sound card are not connected with any power amplifying device;
Audio and video interception module, for intercepting and capturing the picture and audio of the first device plays;
Audio and video sending module, for being sent the audio, video data intercepted to institute by the USB interface of the first equipment State the first USB interface of USB device.
Above-mentioned technical proposal, simulates a virtual sound card, in the biography screen equipment and display source device by passing screen equipment After USB connections, the system sounds for showing source device are switched to the virtual sound card of screen equipment simulation;It will intercept at the same time Show that the audio, video data of source device is forwarded to corresponding display device by the USB interface of the biography screen equipment.So that aobvious Show that source device end no longer plays sound by power amplifier, when overcoming the biography screen for being related to sound, show that source device and display device are same There is the problem of interference in Shi Fasheng.
Brief description of the drawings
Fig. 1 is the system environments schematic diagram for the method for implementing the wired biography screens of USB of the present invention;
Fig. 2 is the indicative flowchart of the method for the wired biography screens of USB of an embodiment;
Fig. 3 is the detail flowchart of the method for the wired biography screens of USB of an embodiment;
Fig. 4 is the indicative flowchart of the method for the wired biography screens of USB of second embodiment;
Fig. 5 is the detail flowchart of the method for the display wired biography screens of source device USB of second embodiment;
Fig. 6 is the indicative flowchart of the method for the wired biography screens of USB of 3rd embodiment;
Fig. 7 is the detail flowchart of the method for the wired biography screens of display device USB of 3rd embodiment;
Fig. 8 is the schematic diagram of the device of the wired biography screens of USB of an embodiment;
Fig. 9 is the schematic diagram of the device of the wired biography screens of USB of second embodiment;
Figure 10 is the schematic diagram of the device of the wired biography screens of USB of 3rd embodiment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the system environments schematic diagram for the method for implementing the wired biography screen of the present invention.As shown in Figure 1, the embodiment of the present invention System environments include display source device (i.e. the first equipment), biography screen equipment (simulating USB device) and display device (i.e. second Equipment).The display source device can be the equipment or system that the operations such as PC, mobile phone have operating system, possess at least in its system The general driving of one pre-installation, the general driving provide communicate between the first equipment and standard USB device it is general logical Believe agreement.The display source device is also at least provided with a USB interface (i.e. the 3rd USB interfaces of USB interface D/), and the USB connects The attribute of mouth is set to USB host.The display device is to run the equipment or system that have operating system, such as large-size screen monitors electronics is white Plate, the display device is also at least provided with a USB interface (i.e. the 4th USB interfaces of USB interface A/), and the category of the USB interface Property is set to USB host.
The biography screen equipment is provided with USB interface, memory and processor.The USB interface include USB interface C and USB interface B (i.e. the first USB interface and secondary USB interface), the attribute of two USB interfaces is USB device, is respectively used to It is connected with display source device, display device.An embedded OS can be run inside screen equipment by passing, and pass through USB interface C It is connected with display source device;USB interface B can be common USB interface, for accessing Intelligent flat (or other big screen equipments) Deng on display device, system drive and identification by display device.Pass screen equipment can be combined into USB line material one customization The mode of the combination of special USB line material or a quasi- USB line material of USB dongle mark-ons with biography screen equipment exists. Specific program or the spy that one of purposes of the memory needs to use for needs for storage display source device or display device Determine the downloader of program.Passing screen equipment can be directly by showing that the USB interface of source device or the USB interface of display device are supplied Electricity.
Based on the system environments schematic diagram shown in Fig. 1, Fig. 2 is the schematic of the method for the wired biography screens of USB of an embodiment Flow chart;In this embodiment it is that being applied to illustrate exemplified by biography screen equipment in this way, the biography screen equipment includes first USB interface and secondary USB interface, are respectively used to access and show source device and display device.
As shown in Fig. 2, the method for the wired biography screens of the present embodiment USB includes step:
S11, some communication protocol ports, the communication protocol are provided by the first USB interface of local terminal to the first equipment Port can identify that the general driving is provided between the first equipment and standard USB device by the general driving of the first equipment The common communication protocol of communication;
In the present embodiment, the first equipment is to show source device, and local terminal refers to passing screen equipment.Passing screen equipment can be modeled to If the standard USB device of dry type, and corresponding communication protocol port is provided, the communication protocol port includes at least:For Transmit the port of audio, video data and the port of virtual sound card.It is corresponding, at display source device end, the general driving of pre-installation It also is provided with corresponding communication protocol port.The general driving of display source device pre-installation can independently drive different types of Standard USB device, passes the standard USB device that screen equipment is modeled to, and display source device energy free drive recognizes it (i.e. by general drive It is dynamic just to identify, without specific general driving).
USB interface is concept physically in the present embodiment, and is then face by the communication protocol port that USB interface provides To the abstract concept of USB Connection Services, different communication protocol ports can be identified by corresponding port and be distinguished, such as logical Port numbers are crossed to distinguish.In the present embodiment, the port-mark of each communication protocol port can be driven by Universal USB and know Not, also by the port-mark of communication protocol port, to carry out polytype information, (including sound regards the processor for passing in screen equipment Frequency according to or manipulation signal) transmitting-receiving, to realize the transmitting-receiving for realizing by same physical interface a variety of different types of information.
It is corresponding, if the standard USB device of dry type can be modeled to by passing screen equipment, it is general to refer to that biography screen equipment can be based on Standard USB communication protocol enumerate several standard USB communication protocol ports, different USB communication protocol ports are using different Port-mark distinguishes.
S12, establishes local terminal by the communication protocol port, first USB interface and the USB of first equipment leads to Letter connection;
Preferably, the communication protocol port further includes:It is used for transmission the port of link information.Confirm to build when passing screen equipment Stand after it is connected with the usb communication of first equipment, can also generate successful connection instruction;Successful connection instruction is suitable The port for being used for transmission link information is fitted on, and is sent by the first USB interface to the first equipment.
S13, indicates that its system sounds is switched to local terminal and simulated by first equipment by the port of the virtual sound card Virtual sound card, the virtual sound card is not connected with any power amplifying device;
In the present embodiment, a virtual USB sound card is simulated beforehand through the first USB interface for passing screen equipment, passes screen equipment After be connected with display source device USB, show source device can the automatic identification virtual USB sound card, and its system sounds is switched To the virtual sound card of local terminal simulation.For display source device (such as PC), when USB interface is inserted into and passes screen equipment, System can automatically detect a virtual sound card, be the virtual sound card for passing screen equipment simulation, thus show that source device can just incite somebody to action Its system sounds switches to the virtual sound card.Actual power amplifier, this mode are connected since the virtual USB sound card does not have Not only the system sounds of display source device will not be triggered abnormal, but also can allow and show source device not sounding, similar to mute effect.
S14, detects that the first USB interface has the information from the first equipment, the communication protocol end of the information is transmitted in detection Mouthful, if the port for being used for transmission audio, video data, then the information is identified as audio, video data;The audio, video data is led to The secondary USB interface for crossing local terminal is forwarded to the second equipment, indicates that second equipment is broadcast after the audio, video data is received Put corresponding audio and video;
In the present embodiment, the second equipment is display device.
In the present embodiment, show in source device and corresponding client software is installed, the biography screen for receiving user operates. The communication protocol port further includes:For accessing the port of memory space.In display source device with passing screen equipment successful connection Afterwards, if display source device is mounted with the software program for intercepting and capturing currently playing display picture and audio in advance, pass through The software program intercepts and captures currently playing display picture and audio, is sent after being carried out packing processing to biography screen equipment (this feelings Condition passes down USB device of the screen equipment equivalent to simulation);If display source device is fitted without for intercepting and capturing currently playing display picture Face and the software program of audio, then can pass the memory (memory space) of screen equipment by accessing, read the storage for passing screen equipment The data or program stored in device are used for the software program for intercepting and capturing currently playing display picture and audio, and are carried out Packing processing (passes the screen equipment USB flash disk external equivalent to one) in the case of this, the audio, video data hair after then packing is handled Send to biography screen equipment (passing screen equipment in the case of this again equivalent to the USB device of simulation).The second way is to display source device It is required that lower, even if it does not install corresponding program in advance, the memory that screen equipment can be also passed by accessing realizes correlation Function,, can be in " my computer " root when USB interface is inserted into and passes screen equipment for display source device (such as PC) Catalogue sees one " moveable magnetic disc ", is to pass the memory space simulated in advance of screen equipment, thus shows that source device just can be from The application program prestored should be run in " moveable magnetic disc ", and then realize the effect of plug and play.Screen equipment is passed from USB After the audio, video data that interface C is received, then display device is transmitted to by USB interface B, realizes the biography screen display of audio, video data Show.
It should be noted that the execution sequence of above-mentioned steps S13 and S14 are not limited to said sequence, two-part execution is suitable Sequence interchangeable, or can also perform at the same time.
In the biography screen pattern of conventional touch-based screen display device, if need to detect display device sets to first Standby manipulation signal feedback to the computer end, need to need increase by one to be used for transmission control letter between computer and the display device Number connecting line.Therefore need to need between computer and display device two or more than two connecting line (HDMI wire+USB line/ RS232 lines, VGA line+tone frequency channel wire+USB line or RS232 lines etc.) it could realize.It is complicated in the presence of wiring, will to user's professional standards Ask the problem of higher.In order to further solve the problems, such as this, as a preferred embodiment, the communication protocol port further includes use In the port of transmission manipulation signal;Further, the method for the wired biography screens of the USB of the present embodiment further includes step:Detect biography The secondary USB interface of screen equipment has the manipulation signal from the second equipment, then by it is described manipulation signal adaptation to be used for transmission grasp Control the port of signal, and sent by passing the first USB interface of screen equipment to the first equipment, the first equipment of instruction receive it is described Performed after manipulation signal and manipulate that signal is corresponding acts with described.
Therefore, the present embodiment can also receive the control signal of display device by passing screen equipment from USB interface B, and display is set The control information can be sent based on port information predetermined in advance between the standby screen equipment with biography, pass screen equipment and receive display device After control signal, it is adapted to be used for transmission the port of manipulation signal, thus can be by USB interface C by display device Manipulation signal return is to showing source device so that display source device will manipulate signal and be converted to corresponding manipulation event and perform pair The control action answered.Such as:Passing screen equipment and touch event is converted into HID touch events, it is modeled to HID touch apparatus, The HID touch events are submitted to by display source device system by USB interface C, for display source device system, according to normal The mode of the touch event of rule processing HID touch apparatus.The type of the manipulation signal includes:It is touch control signal, infrared distant Control signal or mouse/keyboard control signal etc.;The manipulation signal action accordingly can be held at display source device end Capable any action.
Based on the method for the above-mentioned wired biography screens of USB, on the one hand can be provided for common display source device needs what is used All kinds of USB communication protocol ports, display source device can free drive identify it, moreover it is possible to according to passing the data message that stores in screen equipment Complete corresponding audio, video data and intercept and capture function, realize the effect of plug and play;And a connecting line is only needed to realize Display source device is connected with the biography screen of display device, while can also realize the passback of display device manipulation signal, simplifies biography screen The wiring of display;Importantly, a virtual sound card is simulated by passing screen equipment, in the biography screen equipment and display source device After USB connections, the system sounds for showing source device are switched to the virtual sound card of screen equipment simulation;It will intercept at the same time Show that the audio, video data of source device is forwarded to corresponding display device by the USB interface of the biography screen equipment.So that aobvious Show that source device end no longer plays sound by power amplifier, when overcoming the biography screen for being related to sound, show that source device and display device are same There is the problem of interference in Shi Fasheng.
It is understood that the port of link information is used for transmission in the present embodiment, is used for transmission the end of audio/video information Mouth can be respectively HID1 ports, HID2 ports;The port for being used for transmission memory space access instruction can be the port of Mac types. In other words, passing screen equipment in the present embodiment can be according to actual needs, and being modeled to multiclass by its USB interface C can be shown The communication protocol port of source terminal free drive identification, and the driving of the general driving of source terminal independently can be shown, point Different types of data message is not used for transmission.
Fig. 3 is the detail flowchart of the method for the wired biography screens of USB of an embodiment;With reference to figure 3, pass screen equipment and detect USB interface C has the information from display source device, and the communication protocol port of the information is transmitted in detection, is returned if being used for transmission The port of request, then be identified as passback request instruction by the information;The passback request instruction is forwarded to by USB interface B Display device, so that display device, which returns to it, detects manipulation signal.Specifically, it is as follows to pass the step of screen equipment need to perform:
S101, after biography screen equipment processor program brings into operation, a virtual USB sound card is modeled to by USB interface C, The virtual USB sound card can be mounted with the display source device energy free drive identification of general driving.
Whether S102, detection USB interface C have satisfactory display source device access;
Whether detection USB interface C has equipment connection, if so, further detecting whether the equipment is satisfactory Show source device.If being satisfactory display source device, indicate that the display source is set by the port of the virtual sound card The standby virtual sound card that its system sounds is switched to local terminal simulation, the virtual sound card are not connected with any power amplifying device.
Whether S103, detection USB interface B have satisfactory display device to access;
Whether detection USB interface B has equipment connection, if so, further detecting whether the equipment is satisfactory Display device.
It is understood that the execution sequence of step S102, S103 is not limited to example in figure, step can be also first carried out S103, then perform step S102;Or two parts perform at the same time.
S104, generation successful connection instruction, confirms to pass screen successful connection;
Successful connection instruction is fitted to the port for being used for transmission link information in the present embodiment, and is connect by USB Mouth C is sent to the first equipment;Meanwhile based on the protocol rule predetermined with display device, sent out by USB interface B to display device Go out successful connection instruction.
Whether S105, detection USB interface C have from display source device audio-video document stream;
In the present embodiment, pass screen equipment and detect that USB interface C has after the information for showing source device, further detection The communication protocol port of the information is transmitted, if the port for being used for transmission audio, video data, then the information sound can be identified as and regarded Frequency evidence.
In the present embodiment, pass screen equipment and the port for being used for accessing memory space is also provided to display source device.In this step Before, if passing screen equipment detects that USB interface C has after the information for showing source device, the information is transmitted in further detection Communication protocol port, if the port for accessing memory space, is then identified as memory space access instruction by the information, passes screen The content information of default memory space is showed display source device by equipment so that display source device system interface can pass through operation The program of the memory space is used to intercept and capture the picture and audio for showing that source device plays.Pass and stored in the memory space of screen equipment It is useful for intercepting and capturing the exe executable programs of audio, video data, or the download information of storage corresponding program.Therefore the display source Equipment passes the information of the memory space of screen equipment by access, is used for realization and its currently playing picture or audio are cut Obtain.
S106, display device is forwarded to by the audio-video document stream that USB interface C is received by USB interface B.
In the present embodiment, after passing the audio, video data that screen equipment receives, the communication protocol port used according to it can know What is do not received is audio, video data, is directly forwarded to the second equipment by USB interface B.
As a preferred embodiment, pass screen equipment identify receive be audio, video data after, can also monitor is It is no to have the default Trig control signal for configured information forwarding, if listening to the Trig control signal, by the sound Video data is forwarded to the second equipment by USB interface B.Wherein, the Trig control signal can pass presetting for screen equipment The specific touch manipulation letter occurred on the human-computer interaction interface that the operation signal or biography screen equipment that button is pressed provide Number, i.e., user can by hardware trigger mode/software triggering mode, to control the forwarding for passing screen equipment to audio, video data, with Flexibly control passes the effect of screen displaying.
Whether S107, detection USB interface C have the passback request instruction from display source device;
In the present embodiment, if passing screen equipment detects that USB interface C has the information from display source device, detection transmission should The information, if the port for being used for transmission passback request, then can be identified as passback request instruction by the communication protocol port of information.
S108, display device is forwarded to by received passback request instruction by USB interface B.
It is understood that the above-mentioned trigger mechanism to audio, video data forwarding, is also applied for triggering and passes screen equipment to returning The forwarding of request instruction is passed, i.e., also screen equipment can be passed to passback request to control by hardware trigger mode/software triggering mode The forwarding of instruction.
In the present embodiment, pass screen equipment passback request instruction will be received according to protocol rule that itself and display device are arranged and lead to USB interface B is crossed to send to display device.
It is understood that step S105 and S106, the execution sequence of step S107 and S108 are not limited to example in figure, Step S107 and S108 can be first carried out, then performs step S105 and S106;Or two parts are according between the time each set Performed every parallel.
Whether S109, detection USB interface B have the manipulation signal from display device;
In the present embodiment, passing screen equipment can be received with the protocol rule detection USB interface B of display device agreement according to it Whether the information from display device is manipulation signal.
S110, the signal adaptation that manipulates is that display source device provides, is used for transmission control information to biography screen equipment Corresponding ports, and by USB interface C send to display source device so that display source device perform with it is described manipulate signal phase The action answered, it is thus achieved that manipulating the effect for showing source device at display device end.
It is understood that the above-mentioned trigger mechanism to audio, video data forwarding, is also applied for triggering and passes screen equipment to behaviour Control the forwarding of signal, i.e., can also be by hardware trigger mode/software triggering mode, to control biography screen equipment to turn manipulation signal Hair, flexibly to control the effect of distal end manipulation.
Wired screen transmission method of the present embodiment, by simulating the USB device of virtual USB sound card and standard in advance, passes through institute The port instruction for stating virtual sound card shows that its system sounds is switched to the virtual sound card of local terminal simulation by source device, so that aobvious Show source device will not sounding, and the cacophonia of display source device will not be triggered, and then overcome display source and display device End while the interference problem of sounding;By the standard USB device of simulation required some communication protocols are provided for display source device Port, shows that source device is connected with wired biography screen of display device to be established by the USB device of the simulation;Simulated when detecting USB device the first USB interface have from display source device information when, detection transmit the information communication protocol port, If the port for being used for transmission audio, video data, then the information is identified as audio, video data;The audio, video data is passed through The secondary USB interface of local terminal is forwarded to display device, to play corresponding audio and video in the display device;Simulated when detecting The secondary USB interface of USB device when having the manipulation signal from display device, then by the manipulation signal adaptation to being used to pass The port of defeated manipulation signal, and sent by the first USB interface to display source device, so that display source device performs and the behaviour Control signal acts accordingly, it is thus achieved that manipulating the effect for showing source device at display device end.Based on simulation USB device, Display source device and display device only need a connecting line to realize the biography screen displaying of audio, video data, while can also realize Display device manipulates the passback of signal, simplifies the wiring for passing screen display, reduces to terminal block difficulty.
Fig. 4 is the indicative flowchart of the method for the wired biography screens of USB of second embodiment;The present embodiment can be applied to show Source device.As shown in figure 4, the method for the wired biography screens of the present embodiment USB is as follows including step.
Step S21, the USB device that the general driving identification pre-installed by the first equipment (display source device) is currently accessed The communication protocol port that (biography screen equipment) provides, the general driving provides to communicate between the first equipment and standard USB device Common communication protocol, the communication protocol port includes at least:It is used for transmission the port of audio, video data and simulates virtual The port of sound card;The USB device is provided with the first USB interface, and the USB device passes through first USB interface connection the One equipment USB interface, and provide some communications that can be identified by the general driving of the first equipment by first USB interface Protocol port;
The USB interface C of screen equipment is passed in the present embodiment with showing that the USB interface D of source device is docked, the USB interface D's Attribute is USB host;Display source device refers to the equipment as display source,.
Step S22, the system sounds of the first equipment are switched to the USB by the port of the virtual sound card identified to set The virtual sound card of standby simulation, the virtual sound card are not connected with any power amplifying device;
Show that the general driving of source device pre-installation is capable of the virtual of USB device simulation described in automatic identification in the present embodiment Sound card, and after the virtual sound card is recognized, the port instruction display source of the virtual sound card provided by the USB device is set The standby virtual sound card that its system sounds is switched to local terminal simulation so that display source device will not sounding, and will not trigger Show the cacophonia of source device.
Step S23, the picture and audio of the first device plays are intercepted and captured;The audio, video data intercepted is passed through into the first equipment USB interface send to the first USB interface of the USB device.
In the present embodiment, the communication protocol port further includes:For accessing the port of memory space.Display source is intercepted and captured to set The picture of standby broadcasting and the mode of audio can be:Realized by running the program for passing and being stored in screen equipment, specifically for example:According to aobvious Show that source device user's operation generates memory space access instruction, the access instruction is fitted to the end for accessing memory space Mouthful, and send to the USB interface C of the USB device, to access the default memory space of the USB device, and by showing source The program that the system interface of equipment runs the default memory space is used to intercept and capture the picture and audio for showing that source device plays.By This, without installing corresponding program in advance in display source device, provides users with the convenient.
Preferably, also the journey of the default memory space of the USB device can be run by showing the system interface of source device The audio, video data that ordered pair intercepts is compressed and/or coded treatment, to facilitate transmission.
It should be noted that the execution sequence of above-mentioned steps S22 and S23 are not limited to said sequence, two-part execution is suitable Sequence interchangeable, or can also perform at the same time.
As a preferred embodiment, the communication protocol port further includes the port for being used for transmission manipulation signal;It is corresponding , the method for the wired biography screens of USB further includes step:Show that source device receives the first USB interface from the USB device The communication protocol port of the information is transmitted in information, detection;If the port for being used for transmission manipulation signal, then the information is identified as Signal is manipulated, display source device is performed and manipulates that signal is corresponding acts with described.
Preferably, display source device user can choose whether to need to open manipulation signal return function according to actual needs, If desired, then passback request can be sent to display device by passing screen equipment after connection is successfully established, it is corresponding, it is described Communication protocol port further includes:It is used for transmission the port of passback request.Concrete mode is for example:Obtain and show source device default time Request flag information is passed, determines whether the passback request function of display source device is unlatching according to passback request flag information State;If so, then generation returns request instruction;The passback request instruction is fitted to the port for being used for transmission passback request, And send to the USB interface C for passing screen equipment, sent by the USB interface B for passing screen equipment to display device.
Fig. 5 is the detail flowchart of the method for the wired biography screens of USB of second embodiment;With reference to figure 5, display source device need to be held Capable step is as follows:
S201, operation show the universal driver of source device, have detected whether to meet biography screen equipment spy in system background USB device (the passing screen equipment) access of the specific ID (PID/VID) of sign;
The USB interface that screen equipment is connected by it with display source device is passed described in the present embodiment, dummy model is into one Virtual sound card, the virtual sound card can be shown the general driving automatic identification pre-installed in source device.
S202, if so, being switched to the system sounds for showing source device by the port of the virtual sound card identified described The virtual sound card of USB device simulation, the virtual sound card are not connected with any power amplifying device;And it is confirmed whether to receive biography screen equipment The successful connection instruction of transmission;
In the present embodiment, show that the general driving of source device detects the coming from of receiving of USB interface D of display source device The information of the USB interface C of screen equipment is passed, the communication protocol port of the information is transmitted in detection, if being used for transmission link information Port, then may recognize that whether the information is successful connection instruction according to signal content.
S203, if receiving, intercepts the currently playing picture of display source device and/or audio, then through overcompression or Person is encoded into particular file format, is then sent to connected biography screen equipment;
Preferably, from screen equipment is passed acquisition in the communication protocol port of display source device can be supplied to empty for accessing storage Between port;According to display originating mobile subscriber operation generation memory space access instruction, the access instruction is fitted to the use In the port for accessing memory space, and send to the USB interface C for passing screen equipment, to access the default memory space for passing screen equipment, And by showing that the system interface of source device runs the program of the default memory space for intercepting and capturing display source device broadcasting Picture and audio.Thus, show that source device without installing corresponding program in advance, provides users with the convenient.
Also the program for the default memory space for passing screen equipment can be run to audio and video by showing the system interface of source device Data are compressed and/or encode, in order to transmit.Because interception code is stored in a USB flash disk for passing screen equipment simulation, Therefore source device is being shown after access passes screen equipment, the USB communication protocol end simulated in advance by passing screen equipment USB interface Mouth can check the exe routine datas for being stored in and passing in screen equipment, and display can be intercepted and captured by running relative program in biography screen equipment The currently playing picture of source device and/or audio (including voice data, further include the audios such as volume, sound channel and adjust information).
S204, confirm show source device passback request function switch whether open (user may be selected beat on or off Close);
In the present embodiment, after successful connection, it can show that the default passback request flag of source device is believed by reading Breath, determines whether the current passback request function of display source device is opening.
S205, if opening, biography screen equipment is sent to by passback request instruction;
If showing, the current passback request function of source device is opening, and generating passback request according to user's operation refers to Order;It is supplied to acquisition in the communication protocol port of display source device to be used for transmission the port that passback is asked from screen equipment is passed;Concurrently Send to the USB interface C for passing screen equipment, sent by the USB interface B for passing screen equipment to display device.
S206, detects whether to receive the manipulation signal for the USB interface C passbacks for passing screen equipment;
S207, if receiving the manipulation signal for passing screen equipment passback, performs corresponding response action.
In the present embodiment, detection USB interface D receives the information for the USB interface C for carrying out autobiography screen equipment, and the letter is transmitted in detection The communication protocol port of breath, if the port for being used for transmission manipulation signal, then can manipulate according to the conventional external HID device of processing The mode of signal, identifies the manipulation signal of passback, and performs the first equipment and manipulate that signal is corresponding acts with described.
It is understood that step S204 and S205, the execution sequence of step S206~S207 are not limited to example in figure, Step S206~S207 can be first carried out, then performs step S204 and S205;Or two parts are according between the time each set Performed every parallel.
Wired screen transmission method of the present embodiment, by advance mock standard USB device, passes through the USB of the USB device of simulation Interface provides required some communication protocol ports for display source device, establishes display source with the USB device by the simulation and sets It is standby to be connected with wired biography screen of display device;The requirement to showing source device is reduced, realizes plug and play, and show that source is set Standby and display device only needs a connecting line to realize the biography screen displaying of audio, video data, while can also realize display device The passback of signal is manipulated, realizes the effect for being manipulated at display device end and showing source device, simplifies the wiring for passing screen display, drop It is low to terminal block difficulty.
Fig. 6 is the indicative flowchart of the method for the wired biography screens of USB of 3rd embodiment;The present embodiment can be applied to show Equipment.As shown in fig. 6, the method for the wired biography screens of the present embodiment USB is as follows including step.
S31, detect that the second equipment USB interface has USB device access, identifies whether the USB device is satisfactory USB device;The USB device is provided with secondary USB interface, and the USB device is set by secondary USB interface access second Standby USB interface;
In the present embodiment, detecting the USB interface A of display device has USB device access, can be according to the PID of the USB device And/or VID judges whether be currently accessed is above-mentioned biography screen equipment.The display device refers to being used as displaying audio/video information Equipment, the attribute of the USB interface A is USB host.The USB device is connect by it with the USB that display source device is connected Mouthful, into a virtual sound card, which can be shown the general driving pre-installed in source device and know automatically dummy model Not.
S32, if satisfactory USB device, the by the USB device is received by the second equipment USB interface The audio, video data of two USB interfaces forwarding, in the corresponding audio and video of the second device plays;
Preferably, after the USB interface A for detecting display device has satisfactory biography screen equipment access, can also give birth to Into connection response signal, and send to the USB interface B for passing screen equipment, to inform that passing screen equipment display device meets audio and video biography The requirement of defeated display, passes whether screen equipment can succeed according to validation of information connection.
In the present embodiment, transmit, be compressed audio, video data and/or coded treatment for convenience in display source, It is corresponding also to need to carry out the audio, video data corresponding decompression and/or solution volume processing in display device, exist again after processing Display device plays corresponding picture and/or audio.
S33, obtain the manipulation signal to the first equipment that the second equipment detects, and the manipulation signal is sent to institute The secondary USB interface of USB device is stated, to return to the first equipment, instruction described the by the first USB interface of the USB device One equipment performs after the manipulation signal is received manipulates that signal is corresponding acts with described;
The type of signal is manipulated described in the present embodiment may include:Touch control signal, infrared remote-controlled signal or mouse/ Keyboard control signals;The manipulation signal action accordingly can be any action that can be performed at display source device end.
Fig. 7 is the detail flowchart of the method for the wired biography screens of USB of 3rd embodiment;With reference to figure 7, display device needs to perform The step of it is as follows:
S301, after the operation of display device system program, can detect whether that the USB device (passing screen equipment) of specific ID connects Enter.
In the present embodiment, this ID is the pre-set USB ID (PID or VID) for passing screen equipment in program;Therefore examine Survey the USB interface A whether the biography screen equipment accesses display device.
S302, passes screen equipment access if detecting, specified format data message is sent by USB interface A, inform biography screen Equipment local terminal meets the requirement that audio video transmission is shown;
In the present embodiment, the USB interface for passing screen equipment and being connected by it with display source device, dummy model is into one Virtual sound card, the virtual sound card can be shown the general driving automatic identification pre-installed in source device.
Whether S303, the USB interface B that detection passes screen equipment have audio-video document streaming to come;
Since display device can make the terminal of customization, can automatic identification pass screen equipment USB interface B transmit Signal type.I.e. display device can recognize that pass that screen equipment sends over is audio, video data, or passback request instruction, or Person is the instruction of successful connection.
In the present embodiment, the audio-video document stream is the data through overcompression and coded treatment.
S304, if receiving the audio-video document stream transmitted by biography screen equipment, audio and video number is obtained by decompressing or decoding According to, and then corresponding picture and audio are exported, realize display device with showing that the biography screen of source device is shown.
Preferably, display device can also reply presetting message to biography screen equipment, the communication simulated in advance by passing screen equipment Protocol port is forwarded to display source device, shows that source device passes screen display and is shown as work(with notice.
Whether S305, the USB interface B that detection passes screen equipment have control signal passback request to transmit;
In the present embodiment, display device can detect the information for the USB interface B for carrying out autobiography screen equipment, identify that the information identifies Whether it is passback request instruction.
S306, if detecting control signal passback request, obtains the manipulation to showing source device that local terminal detects and believes Number, and the manipulation signal is sent to biography screen equipment.
Display device obtains the manipulation letter for being used to manipulate display source device that local terminal detects by running default program Number, signal type includes but not limited to touch control signal, infrared remote-controlled signal or mouse/keyboard control signal.
By the method for the wired biography screens of the USB of above-described embodiment, if Ganlei can be modeled to by its USB interface by passing screen equipment The USB device of type so that display source device can exempt from special driving identification.Manipulation signal can also be obtained from display device by passing screen equipment Data flow, and be fitted to its be supplied to display source device corresponding ports be transmitted;Intercepting and capturing the code of audio, video data is Show the system interface of source device, but corresponding exe routine datas can be stored in a USB flash disk for passing screen equipment simulation.Pass Screen equipment is also modeled to USB storage device, is stored with for data communication and intercepts and captures the program of display source device audio, video data Data or Program download.Established in display source device with passing screen equipment after USB be connected, may have access to what biography screen equipment was simulated USB storage device, is used to intercept and capture the picture or audio of display source device to run corresponding exe routine datas.It is aobvious Show that source device can also be by running agreement of the corresponding exe routine datas for passing and being stored in screen equipment by audio, video data according to agreement Packing, is supplied to the correspondence communication protocol port of display source device to be sent to biography screen equipment by passing screen equipment, pass screen equipment from USB interface C receives data packet, does not change bag content, is directly forwarded to display device by USB interface B.Display device receives number According to bag, analysis protocol and bag content, further decoding audio, video data play out.
Display device software can also obtain user by display device to show source device touch operation signal (or Other kinds of manipulation signal), biography screen equipment is returned to by USB interface A, operation signal is fitted to corresponding by biography screen equipment Communication protocol port, and then submit to display source device and performed.Show that source device can be according to the USB interface C for passing screen equipment The correspondence communication protocol port of offer, identification is transmitted through the touch operation signal come, and is converted to manipulation event (touch operation signal It is that the operating system for showing source device supports that WINDOWS/MAC has this function to be converted to touch event this process), by This performs display source device to manipulate that signal is corresponding acts with described.
It should be noted that for foregoing each method embodiment, describe, it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement, because according to According to the present invention, some steps can use other orders or be carried out at the same time.
Based on the thought identical with the method for the wired biography screens of the USB in above-described embodiment, the present invention also provides the wired biographies of USB The apparatus and system of screen, apparatus and system can be used for the method for performing the wired biography screens of above-mentioned USB.For convenience of description, USB is wired In the structure diagram for passing the apparatus and system embodiment of screen, it illustrate only and the relevant part of the embodiment of the present invention, ability Field technique personnel are appreciated that schematic structure does not form the restriction to apparatus and system, can include more more or more than illustrating Few component, either combines some components or different components arrangement.
Fig. 8 is the schematic diagram of the device of the wired biography screens of USB of one embodiment of the invention, as shown in figure 8, this implementation The device of the wired biography screens of USB of example includes:Port analog module 510, connection establishment module 520, virtual sound card module 530 and Audio, video data forwarding module 540, details are as follows for each module:
The port analog module 510, some communication protocols are provided for the first USB interface by local terminal to the first equipment Port is discussed, the communication protocol port can be identified that the general driving provides first and sets by the general driving of the first equipment The standby common communication protocol to communicate between standard USB device, the communication protocol port include at least:It is used for transmission audio and video The port of data and the port of the virtual sound card of simulation;
The connection establishment module 520, for establishing local terminal by the communication protocol port, first USB interface It is connected with the usb communication of first equipment;
The virtual sound card module 530, for indicating that first equipment is by the port of the virtual sound card System sound switches to the virtual sound card of local terminal simulation, and the virtual sound card is not connected with any power amplifying device;
The audio, video data forwarding module 540, for detecting that the first USB interface has the information from the first equipment, The communication protocol port of the information is transmitted in detection, if the port for being used for transmission audio, video data, then the information is identified as sound Video data;The audio, video data is forwarded to the second equipment by the secondary USB interface of local terminal, indicates second equipment Corresponding audio and video are played after the audio, video data is received.
As a preferred embodiment, which is identified as audio, video data by the audio, video data forwarding module 540 Afterwards, whether have default Trig control signal for configured information forwarding, if listening to default for indicating if also monitoring The Trig control signal of information forwarding, the second equipment is forwarded to by the audio, video data by the secondary USB interface of local terminal.Institute Stating Trig control signal includes the operation signal that default control button is pressed, and may also include by presetting human-computer interaction interface The touch control signal listened to.Thus user flexibility control is facilitated to pass the effect of screen displaying.
Preferably, the communication protocol port further includes:It is used for transmission the port of link information;Corresponding, described USB The device of wired biography screen further includes connection and confirms module (not shown), for generating successful connection instruction, by the connection Success instructs the port for being fitted to and being used for transmission link information, and is sent by the first USB interface to the first equipment.
As a preferred embodiment, the communication protocol port further includes the port for being used for transmission manipulation signal;It is corresponding , the device of the wired biography screens of USB further includes:
The manipulation signal return module 550, for detecting that secondary USB interface has the manipulation letter from the second equipment Number, then the manipulation signal adaptation is arrived and be used for transmission the port for manipulating signal, and sent to first and set by the first USB interface It is standby, indicate that first equipment performs after the manipulation signal is received and manipulate that signal is corresponding to be acted with described.
Preferably, the communication protocol port further includes:It is used for transmission the port of passback request;Corresponding, described USB The device of wired biography screen further includes passback request module (not shown), for detecting that the first USB interface has from first The communication protocol port of the information is transmitted in the information of equipment, detection, if the port for being used for transmission passback request, then by the information It is identified as passback request instruction;The passback request instruction is forwarded to the second equipment by secondary USB interface, instruction second is set It is standby to return to its manipulation signal to the first equipment detected.
Preferably, the communication protocol port further includes:For accessing the port of memory space;Corresponding, described USB The device of wired biography screen further includes memory module 560, for detecting that the first USB interface has the information from the first equipment, inspection The communication protocol port for transmitting the information is surveyed, if the port for accessing memory space, then it is empty the information to be identified as storage Between access instruction;Default memory space is showed into the first equipment so that the system interface of the first equipment described in operation by depositing The program for storing up space intercepts and captures the picture and audio of the first device plays.
In the present embodiment, the first USB interface, the attribute of secondary USB interface are USB device;First equipment is Show source device, second equipment is display device.
Fig. 9 is the schematic diagram of the device of the wired biography screens of USB of second embodiment.As shown in figure 9, the present embodiment The device of the wired biography screens of USB includes:
USB identification modules 610, the USB for general driving identification the first equipment USB interface of access by pre-installation are set The standby communication protocol port provided, the general driving provide communicate between the first equipment and standard USB device it is general logical Believe agreement, the communication protocol port includes at least:It is used for transmission the port of audio, video data and the end of the virtual sound card of simulation Mouthful;The USB device is provided with the first USB interface, and the USB device accesses the first equipment USB by first USB interface Interface, and provide some communication protocol ports that can be identified by the general driving of the first equipment by first USB interface;
Sound handover module 620, cuts the system sounds of the first equipment for the port by the virtual sound card identified The virtual sound card of the USB device simulation is shifted to, the virtual sound card is not connected with any power amplifying device;
Audio and video interception module 630, for intercepting and capturing the picture and audio of the first device plays;
And audio and video sending module 640, the designated port for the USB interface by the first equipment are sent to described First USB interface of USB device, the designated port are adapted with being used for transmission the port of audio, video data.
Preferably, the communication protocol port further includes the port for being used for transmission manipulation signal;Corresponding, the USB has The device that line passes screen further includes:
Signal receiving module 650 is manipulated, for receiving the information of the first USB interface from the USB device, detection transmission The communication protocol port of the information;If the port for being used for transmission manipulation signal, then the information is identified as manipulation signal, makes the One equipment is performed manipulates that signal is corresponding acts with described.
Preferably, the communication protocol port further includes:For accessing the port of memory space;Corresponding, the sound regards Frequency interception module 630:Specifically for being fitted to the access instruction of generation for accessing the port of memory space, and pass through first The USB interface of equipment is sent to the first USB interface of the USB device, to access the default memory space of the USB device, And by the first device systems interface run the default memory space program be used for the picture for intercepting and capturing the first device plays and Audio.
In the present embodiment, first equipment is display source device;The attribute of first USB interface is USB device。
Figure 10 is the schematic diagram of the device of the wired biography screens of USB of 3rd embodiment.As shown in Figure 10, the present embodiment The devices of the wired biography screens of USB include:
USB accesses detection module 710, for detecting that the second equipment USB interface has USB device access, identifies that the USB is set Whether standby be satisfactory USB device;The USB device is provided with secondary USB interface, and the USB device passes through described Two USB interfaces access the second equipment USB interface;
In the present embodiment, the USB device is by itself and the USB interface that is connected of display source device, and dummy model is into one Virtual sound card, the virtual sound card can be shown the general driving automatic identification pre-installed in source device.
Audio, video data receiving module 720, for if satisfactory USB device, being connect by the second equipment USB interface The audio, video data forwarded by the secondary USB interface of the USB device is received, in the corresponding audio and video of the second device plays;
And manipulation signal transmitting module 730, the letter of the manipulation to the first equipment detected for obtaining the second equipment Number, and the manipulation signal is sent to the secondary USB interface of the USB device, to pass through the first USB of the USB device Interface returns to the first equipment, and it is corresponding to the manipulation signal to indicate that first equipment performs after the manipulation signal is received Action.
In the present embodiment, second equipment is display device, and the attribute of the secondary USB interface is USB device.
It should be noted that in the embodiment of the device of the wired biography screens of the USB of above-mentioned example, between each module/unit Information exchange, the content such as implementation procedure, due to being based on same design, its technology brought with preceding method embodiment of the present invention Effect is identical with preceding method embodiment of the present invention, and particular content can be found in the narration in the method for the present invention embodiment, herein not Repeat again.
In addition, in the embodiment of the device of the wired biography screens of the USB of above-mentioned example, the logical partitioning of each function module is only For example, can be as needed in practical application, for example, for corresponding hardware configuration requirement or software realization just Profit considers, above-mentioned function distribution is completed by different function module, will the wired biography screens of USB device internal structure Different function modules is divided into, to complete all or part of function described above.Wherein each function mould can both use The form of hardware is realized, can also be realized in the form of software function module.
It will appreciated by the skilled person that realizing all or part of flow in above-described embodiment method, being can To instruct relevant hardware to complete by computer program, the program can be stored in a computer-readable storage and be situated between In matter, as independent production marketing or use.Described program upon execution, can perform the complete of such as embodiment of above-mentioned each method Portion or part steps.Wherein, the storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.It is appreciated that wherein used term " first ", " second " etc. are at this It is used to distinguish object in text, but these objects should not be limited by these terms.
Embodiment described above only expresses the several embodiments of the present invention, it is impossible to is interpreted as to the scope of the claims of the present invention Limitation.It should be pointed out that for those of ordinary skill in the art, without departing from the inventive concept of the premise, Various modifications and improvements can be made, these belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention It should be determined by the appended claims.

Claims (23)

  1. A kind of 1. method of the wired biography screens of USB, it is characterised in that including:
    Some communication protocol ports are provided to the first equipment by the first USB interface of local terminal, the communication protocol port can Identified by the general driving of the first equipment;The general driving provide communicate between the first equipment and standard USB device it is logical With communication protocol, the communication protocol port includes at least:It is used for transmission the port of audio, video data and the port of virtual sound card;
    Establish local terminal by the communication protocol port, first USB interface and be connected with the usb communication of first equipment;
    Its system sounds is switched to the Virtual Sound of local terminal simulation by port instruction first equipment of the virtual sound card Card, the virtual sound card are not connected with any power amplifying device;
    Detecting the first USB interface has the information from the first equipment, and the communication protocol port of the information is transmitted in detection, if with In the port of transmission audio, video data, then the information is identified as audio, video data;The audio, video data is passed through into local terminal Secondary USB interface is forwarded to the second equipment, and it is corresponding to indicate that second equipment plays after the audio, video data is received Audio and video.
  2. 2. the method for the wired biography screens of USB according to claim 1, it is characterised in that the communication protocol port further includes It is used for transmission the port of manipulation signal;
    Local terminal is established by the communication protocol port, first USB interface and is connected it with the usb communication of first equipment After further include:
    Detect that secondary USB interface has the manipulation signal from the second equipment, by it is described manipulation signal adaptation to be used for transmission grasp The port of signal is controlled, and is sent by the first USB interface to the first equipment, indicates that first equipment is receiving the manipulation Performed after signal and manipulate that signal is corresponding acts with described.
  3. 3. the method for the wired biography screens of USB according to claim 1, it is characterised in that the communication protocol port further includes: It is used for transmission the port of link information;
    Local terminal is established by the communication protocol port, first USB interface and is connected it with the usb communication of first equipment After further include:
    Successful connection instruction is generated, successful connection instruction is fitted to and is used for transmission the port of link information, and passes through the One USB interface is sent to the first equipment.
  4. 4. the method for the wired biography screens of USB according to claim 1, it is characterised in that the communication protocol port further includes: It is used for transmission the port of passback request;
    Detect that the first USB interface has the information from the first equipment, detection to be gone back after transmitting the communication protocol port of the information Including:
    If the port for being used for transmission passback request, then the information is identified as passback request instruction;The passback request is referred to Order is forwarded to the second equipment by secondary USB interface, and the second equipment of instruction returns to its letter of the manipulation to the first equipment detected Number.
  5. 5. the method for the wired biography screens of USB according to claim 1, it is characterised in that the communication protocol port further includes: For accessing the port of memory space;
    Detect that the first USB interface has the information from the first equipment, detection to be gone back after transmitting the communication protocol port of the information Including:
    If the port for accessing memory space, then the information is identified as memory space access instruction;Default storage is empty Between show the first equipment so that the system interface of the first equipment by run the memory space program intercept and capture the first equipment The picture and audio of broadcasting.
  6. 6. the method for the wired biography screens of USB according to claim 1, it is characterised in that described to lead to the audio, video data Crossing the step of the secondary USB interface of local terminal is forwarded to the second equipment includes:
    If listen to the default Trig control signal for configured information forwarding, that the audio, video data is passed through into local terminal Two USB interfaces are forwarded to the second equipment.
  7. 7. the method for the wired biography screens of USB according to any one of claims 1 to 6, it is characterised in that the first USB interface, second The attribute of USB interface is USB device;
    First equipment is display source device, and the second equipment is display device.
  8. A kind of 8. method of the wired biography screens of USB, it is characterised in that including:
    The communication protocol port provided by the USB device of general driving identification the first equipment USB interface of access of pre-installation;Institute State general driving and provide the common communication protocol to communicate between the first equipment and standard USB device, the communication protocol port Include at least:It is used for transmission the port of audio, video data and the port of the virtual sound card of simulation;The USB device is provided with first USB interface, the USB device accesses the first equipment USB interface by first USB interface, and is connect by the first USB Mouth provides some communication protocol ports that can be identified by the general driving of the first equipment;
    The system sounds of first equipment are switched to by the virtual of the USB device simulation by the port of the virtual sound card identified Sound card, the virtual sound card are not connected with any power amplifying device;
    Intercept and capture the picture and audio of the first device plays;The audio, video data intercepted is sent out by the USB interface of the first equipment Send to the first USB interface of the USB device.
  9. 9. the method for the wired biography screens of USB according to claim 8, it is characterised in that the communication protocol port further includes It is used for transmission the port of manipulation signal;
    In the communication protocol port that the USB device of general driving identification the first equipment USB interface of access by pre-installation provides Afterwards, further include:
    The information of the first USB interface from the USB device is received by the first equipment USB interface, the information is transmitted in detection Communication protocol port;If the port for being used for transmission manipulation signal, then the information is identified as manipulation signal, control first is set Standby perform manipulates that signal is corresponding to be acted with described.
  10. 10. the method for the wired biography screens of USB according to claim 8, it is characterised in that also wrap the communication protocol port Include:For accessing the port of memory space;
    The step of picture and audio of the first device plays of the intercepting and capturing, includes:
    The access instruction of generation is fitted to the port for accessing memory space, and by the first equipment USB interface send to First USB interface of the USB device, to access the default memory space of the USB device, and is connect by the first device systems The program of the default memory space mouthful is run to intercept and capture the picture of the first device plays and audio.
  11. 11. the method for the wired biography screens of USB according to claim 8, it is characterised in that also wrap the communication protocol port Include:It is used for transmission the port of passback request;
    In the communication protocol port that the USB device of general driving identification the first equipment USB interface of access by pre-installation provides Afterwards, further include:
    The default passback request flag information of the first equipment is obtained, the first equipment is determined according to passback request flag information Return whether request function is opening;If so, generation passback request instruction;
    The passback request instruction is fitted to the port for being used for transmission passback request, and is sent by the first equipment USB interface To the USB device.
  12. 12. the method for the wired biography screens of USB according to claim 10, it is characterised in that the audio, video data that will be intercepted Further included before being fitted to the communication protocol port:
    The program of the default memory space of the USB device is run by the first device systems interface to the audio and video number that intercepts According to being compressed and/or coded treatment.
  13. 13. according to the method for any wired biography screens of USB of claim 8 to 12, it is characterised in that the first equipment is display Source device, the attribute of the first equipment USB interface is USB host;The attribute of first USB interface is USB device.
  14. A kind of 14. device of the wired biography screens of USB, it is characterised in that including:
    Port analog module, some communication protocol ports are provided for the first USB interface by local terminal to the first equipment, described Communication protocol port can identify that the general driving provides the first equipment and standard USB by the general driving of the first equipment The common communication protocol of communication between devices, the communication protocol port include at least:It is used for transmission the port of audio, video data With the port of virtual sound card;
    Connection establishment module, sets for establishing local terminal by the communication protocol port, first USB interface with described first Standby usb communication connection;
    Virtual sound card module, for indicating that first equipment switches to its system sounds by the port of the virtual sound card The virtual sound card of local terminal simulation, the virtual sound card are not connected with any power amplifying device;
    Audio, video data forwarding module, for detecting that the first USB interface has the information from the first equipment, the letter is transmitted in detection The communication protocol port of breath, if the port for being used for transmission audio, video data, is then identified as audio, video data by the information;By institute State audio, video data and the second equipment be forwarded to by the secondary USB interface of local terminal, indicate second equipment receive it is described Corresponding audio and video are played after audio, video data.
  15. 15. the device of the wired biography screens of USB according to claim 14, it is characterised in that also wrap the communication protocol port Include the port for being used for transmission manipulation signal;
    The device of the wired biography screens of USB further includes:
    Signal return module is manipulated, if for detecting that secondary USB interface has the manipulation signal from the second equipment, by described in Manipulation signal adaptation arrives the port for being used for transmission and manipulating signal, and is sent by the first USB interface to the first equipment, described in instruction First equipment performs after the manipulation signal is received manipulates that signal is corresponding acts with described.
  16. 16. the device of the wired biography screens of USB according to claim 14, it is characterised in that also wrap the communication protocol port Include:It is used for transmission the port of link information;
    The device of the wired biography screens of the USB further includes:
    Connection confirms module, for generating successful connection instruction, successful connection instruction is fitted to and is used for transmission connection letter The port of breath, and sent by the first USB interface to the first equipment.
  17. 17. the device of the wired biography screens of USB according to claim 14, it is characterised in that also wrap the communication protocol port Include:It is used for transmission the port of passback request;
    The device of the wired biography screens of the USB further includes:
    Request module is returned, for detecting that the first USB interface has the information from the first equipment, the logical of the information is transmitted in detection Believe protocol port;If the port for being used for transmission passback request, which is identified as passback request instruction;Please by the passback Instruction is asked to be forwarded to the second equipment by secondary USB interface, the second equipment of instruction returns to its behaviour to the first equipment detected Control signal.
  18. 18. the device of the wired biography screens of USB according to claim 14, it is characterised in that also wrap the communication protocol port Include:For accessing the port of memory space;
    The device of the wired biography screens of the USB further includes:
    The memory module, for detecting that the first USB interface has the information from the first equipment, the logical of the information is transmitted in detection Believe protocol port;If the port for accessing memory space, then the information is identified as memory space access instruction;Will be default Memory space shows the first equipment so that the first device systems interface is used to intercept and capture by running the program of the memory space The picture and audio of first device plays.
  19. 19. according to the device of any wired biography screens of USB of claim 14 to 18, it is characterised in that the first USB interface, The attribute of secondary USB interface is USB device;
    First equipment is display source device, and the second equipment is display device.
  20. A kind of 20. device of the wired biography screens of USB, it is characterised in that including:
    USB identification modules, the USB device for general driving identification the first equipment USB interface of access by pre-installation provide Communication protocol port;The general driving provides the common communication protocol to communicate between the first equipment and standard USB device, The communication protocol port includes at least:It is used for transmission the port of audio, video data and the port of the virtual sound card of simulation;It is described USB device is provided with the first USB interface, and the USB device accesses the first equipment USB interface by first USB interface, and Some communication protocol ports that can be identified by the general driving of the first equipment are provided by first USB interface;
    Sound handover module, switches to the system sounds of the first equipment for the port by the virtual sound card identified described The virtual sound card of USB device simulation, the virtual sound card are not connected with any power amplifying device;
    Audio and video interception module, for intercepting and capturing the picture and audio of the first device plays;
    Audio and video sending module, for being sent the audio, video data intercepted to the USB by the USB interface of the first equipment First USB interface of equipment.
  21. 21. the device of the wired biography screens of USB according to claim 20, it is characterised in that also wrap the communication protocol port Include the port for being used for transmission manipulation signal;
    The device of the wired biography screens of USB further includes:
    Signal receiving module is manipulated, for receiving the first USB interface from the USB device by the first equipment USB interface Information, detection transmit the information communication protocol port;If the port for being used for transmission manipulation signal, which is identified as Manipulate signal, the first equipment of control is performed manipulates that signal is corresponding acts with described.
  22. 22. the device of the wired biography screens of USB according to claim 20, it is characterised in that also wrap the communication protocol port Include:For accessing the port of memory space;
    The audio and video interception module:For being fitted to the access instruction of generation for accessing the port of memory space, and lead to Cross the first equipment USB interface to send to the first USB interface of the USB device, to access the default storage of USB device sky Between, and the program of the default memory space run by the first device systems interface with intercept and capture the picture of the first device plays and Audio.
  23. 23. according to the device of any wired biography screens of USB of claim 20 to 22, it is characterised in that
    First equipment is display source device, and the attribute of the first equipment USB interface is USB host;
    The attribute of first USB interface is USB device.
CN201611043037.8A 2016-10-12 2016-11-21 USB wired screen transmission method and device Active CN107948567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/103468 WO2018090721A1 (en) 2016-10-12 2017-09-26 Usb cable screen delivery method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016108926074 2016-10-12
CN201610892607 2016-10-12

Publications (2)

Publication Number Publication Date
CN107948567A true CN107948567A (en) 2018-04-20
CN107948567B CN107948567B (en) 2021-05-18

Family

ID=61929004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611043037.8A Active CN107948567B (en) 2016-10-12 2016-11-21 USB wired screen transmission method and device

Country Status (2)

Country Link
CN (1) CN107948567B (en)
WO (1) WO2018090721A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344101A (en) * 2018-11-01 2019-02-15 北京硬壳科技有限公司 Data processing system and method
CN109819201A (en) * 2019-03-08 2019-05-28 厦门亿联网络技术股份有限公司 A kind of meeting secondary flow data transmission method, display methods, conference system and peripheral equipment
CN111954028A (en) * 2020-10-19 2020-11-17 深圳乐播科技有限公司 Screen projection method, device and equipment of audio data and storage medium
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system
CN112433689A (en) * 2020-11-11 2021-03-02 深圳市先智物联科技有限公司 Data transmission method and device for same-screen device, same-screen device and medium
CN117453171A (en) * 2023-12-23 2024-01-26 深圳市一恒科电子科技有限公司 Virtual mapping method and device for android system display and virtual mapping system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160692A (en) * 2006-12-26 2008-07-10 Scalar Corp Cable, and method
CN101246417A (en) * 2007-02-13 2008-08-20 艾威梯软件技术(北京)有限公司 Method and system for non-intermittence software switch of audio data flow input/output
CN101685431A (en) * 2008-09-25 2010-03-31 宏正自动科技股份有限公司 Remote desktop control system using usb interface and method thereof
CN103312912A (en) * 2013-05-03 2013-09-18 华为软件技术有限公司 Sound mixing system and method
CN103414894A (en) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 Wireless real-time screen transfer equipment and method
CN103595944A (en) * 2013-11-22 2014-02-19 惠州华阳通用电子有限公司 Wi-Fi display switching device and method among terminals
CN105592348A (en) * 2014-10-24 2016-05-18 北京海尔广科数字技术有限公司 Automatic switching method for screen transmission signals and screen transmission signal receiver
CN105955685A (en) * 2016-04-25 2016-09-21 广州视睿电子科技有限公司 Control method, device and system for screen transmission demonstration content

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160692A (en) * 2006-12-26 2008-07-10 Scalar Corp Cable, and method
CN101246417A (en) * 2007-02-13 2008-08-20 艾威梯软件技术(北京)有限公司 Method and system for non-intermittence software switch of audio data flow input/output
CN101685431A (en) * 2008-09-25 2010-03-31 宏正自动科技股份有限公司 Remote desktop control system using usb interface and method thereof
CN103312912A (en) * 2013-05-03 2013-09-18 华为软件技术有限公司 Sound mixing system and method
CN103414894A (en) * 2013-07-29 2013-11-27 上海凯统信息科技有限公司 Wireless real-time screen transfer equipment and method
CN103595944A (en) * 2013-11-22 2014-02-19 惠州华阳通用电子有限公司 Wi-Fi display switching device and method among terminals
CN105592348A (en) * 2014-10-24 2016-05-18 北京海尔广科数字技术有限公司 Automatic switching method for screen transmission signals and screen transmission signal receiver
CN105955685A (en) * 2016-04-25 2016-09-21 广州视睿电子科技有限公司 Control method, device and system for screen transmission demonstration content

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344101A (en) * 2018-11-01 2019-02-15 北京硬壳科技有限公司 Data processing system and method
CN109819201A (en) * 2019-03-08 2019-05-28 厦门亿联网络技术股份有限公司 A kind of meeting secondary flow data transmission method, display methods, conference system and peripheral equipment
CN112000374A (en) * 2020-07-13 2020-11-27 深圳市智微智能软件开发有限公司 USB touch screen replacing method, device, equipment and medium applied to android system
CN112000374B (en) * 2020-07-13 2024-01-02 深圳市智微智能软件开发有限公司 USB touch screen replacement method, device, equipment and medium applied to android system
CN111954028A (en) * 2020-10-19 2020-11-17 深圳乐播科技有限公司 Screen projection method, device and equipment of audio data and storage medium
CN112433689A (en) * 2020-11-11 2021-03-02 深圳市先智物联科技有限公司 Data transmission method and device for same-screen device, same-screen device and medium
CN112433689B (en) * 2020-11-11 2024-05-28 深圳市先智物联科技有限公司 Data transmission method and device for same screen device, same screen device and medium
CN117453171A (en) * 2023-12-23 2024-01-26 深圳市一恒科电子科技有限公司 Virtual mapping method and device for android system display and virtual mapping system

Also Published As

Publication number Publication date
WO2018090721A1 (en) 2018-05-24
CN107948567B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN107948567A (en) USB wired screen transmission method and device
CN107948566A (en) Method and device for realizing plug-and-play screen transmission
CN111459433B (en) Screen transmission method, device and storage medium
CN107948568A (en) Method and device for realizing wired screen transmission
CN104618793B (en) A kind of information processing method and electronic equipment
CN107948565A (en) Method and device for realizing wired screen transmission
CN1708023B (en) Method for managing an audio network
KR100652957B1 (en) Method of moving multimedia content and system thereof
CN104635501B (en) Intelligent home furnishing control method and system
US20150350032A1 (en) Remote access for mobile devices
CN107566226A (en) A kind of methods, devices and systems for controlling smart home
JP6582100B2 (en) Method and apparatus for providing voice service
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
CN108184164A (en) Audio frequency playing method, smart television and computer readable storage medium
CN102148842A (en) Audio processing method and equipment for remote desktop protocol
CN104091423A (en) Signal transmission method and family song request system
CN103516418B (en) A kind of multimedia interaction communication system, method and the equipment of reception
CN103475907A (en) Multi-screen control method and device
CN108011951A (en) Remote assistance method, device, system and electronic equipment
CN103995567A (en) Double-system intelligent interaction all-in-one machine and double-system switching method thereof
CN112004146A (en) Audio playing method and system, television and storage medium
CN107948569A (en) Method and device for realizing wired screen transmission
CN113518022A (en) Method for connection configuration of user equipment and household equipment
US20060142991A1 (en) Remote USB network device control
CN104519390A (en) Information processing method and control equipment and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant