WO2018090724A1 - Method and apparatus for wired screen transmission - Google Patents

Method and apparatus for wired screen transmission Download PDF

Info

Publication number
WO2018090724A1
WO2018090724A1 PCT/CN2017/103472 CN2017103472W WO2018090724A1 WO 2018090724 A1 WO2018090724 A1 WO 2018090724A1 CN 2017103472 W CN2017103472 W CN 2017103472W WO 2018090724 A1 WO2018090724 A1 WO 2018090724A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
usb interface
audio
embedded unit
information
Prior art date
Application number
PCT/CN2017/103472
Other languages
French (fr)
Chinese (zh)
Inventor
庞远杨
侯旻翔
Original Assignee
广州视源电子科技股份有限公司
广州视睿电子科技有限公司
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 广州视源电子科技股份有限公司, 广州视睿电子科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018090724A1 publication Critical patent/WO2018090724A1/en

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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
    • 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
    • H04N21/43635HDMI

Definitions

  • the present invention relates to the field of data transmission technologies, and in particular, to a method and apparatus for implementing wired transmission.
  • the implementation of the screen is that the display source device such as a computer intercepts the screen page and sound data of the system and sends it to the display device, and the display device decodes and displays and plays the transmitted picture and sound.
  • the screen is often used in conferences or teaching areas. Users need to project the audio and video signals of the computer to the large-screen LCD whiteboard or projector for display. The audio and video data on the computer is sent to the display device through the corresponding data line.
  • the display device only serves as an information display function, and does not have the function of receiving a user operation instruction and returning the display source end, and is inconvenient for the user to perform a demonstration operation.
  • the method and device for implementing wired screen transmission provided by the embodiments of the present invention can simplify the wiring during the screen display and reduce the difficulty of wiring the user.
  • An aspect of the present invention provides a method for implementing a wired screen, including:
  • An embedded unit for implementing a screen is disposed in advance at the local end, and the embedded unit is provided with a first USB interface, and the embedded unit is communicably connected to the local MCU;
  • the method for implementing wired screen transmission includes:
  • the communication protocol port being identifiable by the universal drive of the first device; the universal drive of the first device providing the first device and the standard USB device a universal communication protocol for communication, the communication protocol port comprising at least a port for transmitting audio and video data and a port for transmitting a control signal;
  • the first USB interface has information from the first device, and detecting, by the embedded unit, a port that transmits the information, if it is a port for transmitting audio and video data, identifying the information as audio and video data, and forwarding Give the local MCU to play the corresponding audio and video on the local end;
  • Another aspect of the present invention provides a method for implementing wired screen transmission, including:
  • the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device, the communication protocol port Included at least: a port for transmitting audio and video data and a port for transmitting a control signal;
  • the second device is provided with an embedded unit for implementing a screen, and the embedded unit is provided with a first USB interface, The embedded unit is communicatively coupled to the second device MCU, and the embedded unit provides a plurality of communication protocol ports that can be recognized by the universal driver through the first USB interface;
  • the designated port is adapted to be used for transmitting the audio and video data, to be forwarded by the embedded unit Giving the second device MCU to enable the second device to play the corresponding audio and video;
  • Another aspect of the present invention provides an apparatus for implementing a wired screen, including:
  • the embedded unit is communicatively coupled to the second device MCU;
  • the embedded unit includes:
  • a port simulation module configured to provide a plurality of communication protocol ports to the first device, the communication protocol port being identifiable by a universal drive of the first device; the universal drive of the first device providing a relationship between the first device and the standard USB device a universal communication protocol for communication, the communication protocol port comprising at least a port for transmitting audio and video data and a port for transmitting a control signal;
  • connection establishing module configured to establish, by using the communication protocol port, the first USB interface of the embedded unit, a USB communication connection between the embedded unit and the first device;
  • the audio and video data forwarding module is configured to detect that the first USB interface has information from the first device, and detects a port that transmits the information, and if it is a port for transmitting audio and video data, the information is recognized as audio and video data; Forwarding the audio and video data to the second device MCU, so that the second device plays the corresponding audio and video;
  • the control signal returning module is configured to receive, by using the system communication interface, a control signal of the first device detected by the local device acquired by the second device MCU, and adapt the control signal to a port for transmitting the control signal And sending, by the first USB interface, to the first device, instructing the first device to perform an action corresponding to the control signal after receiving the control signal.
  • Another aspect of the present invention provides an apparatus for implementing a wired screen, including:
  • a USB identification module configured to identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the local end, where the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device.
  • the communication protocol port includes at least a port for transmitting audio and video data and a port for transmitting a control signal, and an embedded unit for implementing the screen is disposed in the second device, where the embedded unit provides There is a first USB interface, the embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocols that can be recognized by the universal driver.
  • An audio and video intercepting module configured to intercept a picture and/or audio played by the local end
  • An audio and video sending module configured to send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface of the local end, where the designated port is adapted to a port for transmitting audio and video data;
  • control signal receiving module configured to receive information from the first USB interface, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, so that the local end performs the The action corresponding to the control signal.
  • the embedded unit is simulated as a standard USB device, and the display source device is provided by the USB interface provided by the embedded unit.
  • a plurality of communication protocol ports required to establish a USB communication connection between the display device and the display source device through the communication protocol port; when detecting that the USB interface provided by the embedded unit has information from the display source device, The embedded unit detects the port that transmits the information, and if it is a port for transmitting audio and video data, the information is recognized as audio and video data, and is sent to the display device MCU to play the corresponding audio and video on the display device; Displaying a manipulation signal of the source device, adapting the manipulation signal to a port for transmitting a manipulation signal by the embedded unit, and transmitting to the display source device through a USB interface provided by the embedded unit, so that the display device Performing an action corresponding to the manipulation signal.
  • the display source device and the display device can realize the transmission and display of the audio and video data only by one USB cable, and at the same time, realize the return of the control signal of the display device, simplify the wiring of the screen display and reduce the wiring. Difficult to wire the user.
  • FIG. 1 is a schematic diagram of a system environment for implementing a method for implementing wired screen transmission according to the present invention
  • FIG. 2 is a schematic flowchart of a method for implementing wired screen transmission according to an embodiment
  • FIG. 3 is a detailed flowchart of a method for implementing wired screen transmission according to an embodiment
  • FIG. 4 is a schematic flowchart of a method for implementing wired screen transmission in a second embodiment
  • FIG. 5 is a detailed flowchart of a method for implementing a wired screen transmission by a display source device according to a second embodiment
  • FIG. 6 is a schematic structural diagram of an apparatus for implementing wired screen transmission according to an embodiment
  • FIG. 7 is a schematic structural diagram of an apparatus for implementing wired screen transmission of the second embodiment.
  • the system environment of the embodiment of the present invention includes a display source device (ie, a first device) and a display device (ie, a second device).
  • the display source device may be a device or a system running an MCU such as a PC or a mobile phone, and the system has at least one pre-installed universal driver therein, and the universal driver provides universal communication between the display source device and the standard USB device. protocol.
  • the display source device is further configured with at least one USB interface (ie, a second USB interface), and the attribute of the USB interface is set to a USB host.
  • the display device is a device or system running an operating system, such as a large-screen electronic whiteboard.
  • the display device includes an MCU, Also included is an embedded unit (shown in dashed box) for communicating with the MCU, the embedded unit specifically including a memory, a processor, a first system communication interface, and a first USB interface; Running a corresponding processor program, the processor program capable of identifying the type of information received by the first USB interface; one of the uses of the memory is a specific program for storing the display source device or the display device Or a downloader of the specific program; correspondingly, the display device is further provided with a corresponding second system communication interface, and the communication between the embedded unit and the display device MCU is realized by the first system communication interface and the second system communication interface
  • the property of the first USB interface is set to a USB device for connecting to a second USB interface of the display source device.
  • FIG. 2 is a schematic flowchart of a method for implementing wired screen transmission according to an embodiment of the present invention. In this embodiment, the method is applied to a display device end as an example for description.
  • the method for implementing wired screen transmission in this embodiment includes the following steps:
  • the first device is provided with a plurality of communication protocol ports by the embedded unit of the local end, the communication protocol port can be recognized by the universal driver of the first device; the universal device of the first device provides the first device and the standard USB device a universal communication protocol for communication between, the communication protocol port at least comprising: a port for transmitting audio and video data and a port for transmitting a control signal;
  • the local end refers to a display device, and the embedded unit in the display device can be simulated into several types of standard USB devices, and provides a corresponding communication protocol port;
  • the first device is a display source device, and the display source device
  • the pre-installed universal driver can independently drive different types of standard USB devices, and the corresponding source software can also be installed in the display source device for receiving the user's screen operation.
  • the USB interface is a physical concept
  • the communication protocol port provided through the USB interface is an abstract concept for the USB connection service.
  • Different communication protocol ports can be distinguished by corresponding port identifiers, for example, by port number. distinguish.
  • the port identification of each communication protocol port can be recognized by the universal USB driver, and the processor of the embedded unit also performs various types of information (including audio and video data or control signals) through the port identification of the communication protocol port. Transceiver, to achieve the transmission and reception of a variety of different types of information through the same physical interface.
  • the embedded unit can be simulated into several types of standard USB devices, which means that the embedded unit can enumerate several standard USB communication protocol ports based on the common standard USB communication protocol, and different USB communication protocol ports use different port identifications. Make a distinction.
  • the local end is a display device
  • the embedded unit of the local end can be simulated into several types of standard USB devices, and provides a corresponding communication protocol port, and the display source device can be recognized by the drive (ie, by displaying the source device system generally
  • the built-in universal USB driver recognizes it without the need for a specific universal driver.
  • the communication protocol port further includes: a port for transmitting connection information.
  • the display device may further generate a connection success instruction, and send a connection success instruction to the embedded unit; and the connection success instruction is adapted by the embedded unit to transmit connection information.
  • the port is sent to the display source device through the first USB interface to notify the display source device that the connection is successfully established.
  • the first USB interface is detected to have information from the first device, and the port that transmits the information is detected by the embedded unit. If the port is used for transmitting audio and video data, the information is identified as audio and video data. And forwarded to the local MCU, so that the local end plays the corresponding audio and video;
  • the local MCU needs to parse the audio and video data for decompression and/or decoding.
  • S14 Acquire a control signal that is detected by the local end and is sent to the embedded device, and send the control signal to a port for transmitting a control signal by using the embedded unit, and pass the The first USB interface is sent to the first device, and the first device is instructed to perform an action corresponding to the control signal after receiving the control signal.
  • the corresponding action of the control signal may be any action that the local end can perform.
  • execution order of the above steps S13 and S14 is not limited to the above sequence, and the execution order of the two parts may be changed, or may be performed simultaneously.
  • the communication protocol port further includes: a port for accessing the storage space.
  • the display source device and the display device are successfully connected, if the display source device is pre-installed with a software program for intercepting the display screen and/or audio, the currently displayed display screen and/or audio is intercepted by the software program, and is performed. After being packaged, it is sent to the display device. If the display source device does not pre-install such a software program, the memory (storage space) of the embedded unit can be accessed through the USB interface, and a program stored in advance in the memory of the embedded unit is used to intercept the currently displayed display screen.
  • the second method has lower requirements on the display source device, even if it does not pre-install the corresponding program, for the display source device (for example, a PC), when the display device provided with the embedded unit is inserted,
  • the "My Computer” root directory sees a "removable disk", which is the storage space of the embedded unit, thereby showing that the source device can run the pre-stored application from the "removable disk", thereby Achieve plug and play effects.
  • the display device receives the audio and video data from the first USB interface, performs processing, and performs playback to realize the screen display of the audio and video data.
  • a control signal to the display source device can also be obtained by the display device system program, and the manipulation signal is sent to the system communication interface of the embedded unit; the manipulation signal is adapted by the embedded unit
  • the port for transmitting the control signal is transmitted back through the first USB interface, so that the display source device can convert the manipulation signal into a corresponding manipulation event and perform a corresponding action.
  • the embedded unit converts a touch event of the display device into a HID touch event, which is simulated as an HID touch device, and submits the HID touch event to the display source device system through the first USB interface.
  • the corresponding action is performed in a manner that conventionally processes the operation event of the HID touch device.
  • USB communication protocol ports that need to be used for common display source devices can be provided, and ordinary display source devices can be protected from drive recognition, and can also operate the memory of the embedded unit.
  • the pre-stored program completes the corresponding audio and video data interception function, realizing the plug-and-play effect; only one USB cable can realize the limited screen connection of the display source device and the display device, and at the same time realize the display device
  • the backhaul of the control signal simplifies the wiring of the screen display.
  • the port for transmitting the connection information may be the HID1 port and the HID2 port respectively; and the port for transmitting the storage space access instruction may be the Mac type port.
  • the embedded unit can be simulated by its first USB interface into multiple types of communication protocol ports that can be recognized by the display source device system, and several communication protocols. The ports can be independently driven by the universal drive of the display source device for respectively transmitting different data information.
  • the display device detects that the first USB interface has information from the display source device, and detects, by the embedded unit, the information transmitted by the embedded unit.
  • the port if it is a port for transmitting a return request, identifies the information as a return request command, and sends the information to the display device MCU through the system communication interface, thereby turning on the display device for acquiring the detected manipulation information on the display source device.
  • the function Specifically, the steps to be performed on the display device side are as follows:
  • the processor program of the embedded unit in the display device runs, and detects whether the first USB interface meets the conditional display source device access.
  • Detect whether the first USB interface has a device connection and if so, further check whether the device is a display source device that meets the requirements. Specifically, whether the accessed device is a qualified display source device can be detected by using a specific ID (PID/VID).
  • PID/VID a specific ID
  • the processor program of the embedded unit simulates the device as a standard USB device through the first USB interface, so that the display source device with the universal driver can be discriminated.
  • the processor program of the embedded unit generates a connection success instruction, and confirms that the screen connection is successful.
  • the processor program of the embedded unit in the embodiment adapts the connection success instruction to a port for transmitting connection information, and sends the second USB interface to the display source device through the first USB interface to notify the display source.
  • the device has successfully connected the screen.
  • the processor program of the embedded unit detects whether the first USB interface has an audio and video file stream from the display source device.
  • the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detects a port that transmits the information, and if it is a port for transmitting audio and video data, This information can be identified as audio and video data.
  • the embedded unit further provides a port for accessing the storage space to the display source device.
  • the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detecting the port transmitting the information, if it is a port for accessing the storage space.
  • the information is identified as a storage space access instruction; the preset storage space of the embedded unit is displayed to the display source device, so that the display source device system interface is used to intercept the screen played by the display source device by using a program running the storage space. Or audio.
  • the preset storage space stores an exe executable program for intercepting audio and video data or downloads download information of the corresponding program. Therefore, the display source device can perform a function of intercepting a picture or audio played thereon by accessing the storage space.
  • the processor program of the embedded unit sends the audio and video file stream received through the first USB interface to the display device MCU, and the display device MCU is decompressed and/or decoded, and the corresponding screen is played on the display device side and/or Or audio.
  • the processor program of the embedded unit After the processor program of the embedded unit recognizes the information as audio and video data, it also monitors whether there is a preset trigger control signal for indicating information forwarding, and if the trigger control is monitored The signal is forwarded to the local MCU to play the corresponding picture and/or audio on the display device.
  • the trigger control signal may be an operation signal that the preset button is pressed, or may be a specific touch control signal generated on the preset human-computer interaction interface, that is, the user may use a hardware trigger mode/software trigger mode. Controlling the forwarding of the audio and video data by the embedded unit to flexibly control the effect of the screen display.
  • the processor program of the embedded unit detects whether the first USB interface has a return request instruction from the display source device.
  • the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detecting the port transmitting the information, if the port is used for transmitting the return request, This information is identified as a postback request instruction.
  • the processor program of the embedded unit sends the backhaul request command to the display device MCU to enable the display device to return the control information. Function (or run the corresponding thread) to obtain the detected control signal to the display source device.
  • the above trigger mechanism for forwarding audio and video data is also applicable to triggering the forwarding of the return request command by the embedded unit, that is, the embedded unit can be controlled by the hardware trigger mode/software trigger mode. Request forwarding of instructions.
  • the display device MCU sends the control signal to the embedded unit, and the control signal is adapted to a port for transmitting a control signal by using a processor program of the embedded unit, and passes through the first USB interface. Sending to the display source device to cause the display source device to perform an action corresponding to the manipulation signal.
  • the above trigger mechanism for forwarding audio and video data is also applicable to triggering the forwarding of the control signal by the embedded unit, that is, the hardware trigger mode/software trigger mode can also be used to control the forwarding of the control signal by the embedded unit. To flexibly control the effect of remote control.
  • steps S104-S105 and steps S106-S108 is not limited to the example in the figure, and steps S106-S108 may be performed first, and then steps S104-S105 may be performed; or both parts are set according to respective time intervals. Execute in parallel.
  • the wired screen method of the embodiment is configured by embedding an embedded unit for realizing a screen in the display device, simulating the embedded unit into a standard USB device, and providing a USB interface through the embedded unit.
  • the port for transmitting the information is detected by the embedded unit, if it is a port for transmitting audio and video data, the information is recognized as audio and video data, and sent to the display device MCU to play the corresponding sound on the display device.
  • the display source device and the display device can realize the transmission and display of the audio and video data only by one USB cable, and at the same time, realize the return of the control signal of the display device, simplify the wiring of the screen display and reduce the wiring. Difficult to wire the user.
  • FIG. 4 is a schematic flowchart of a method for implementing wired screen transmission in the second embodiment; the method for implementing wired screen transmission in the embodiment is mainly applied to a display source device end.
  • the method for implementing wired screen transmission in this embodiment includes the following steps.
  • Step S21 Identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the first device; the universal driver provides a universal communication protocol for communication between the first device and the standard USB device;
  • the communication protocol port includes at least a port for transmitting audio and video data and a port for transmitting a control signal, and the second device is provided with an embedded unit for implementing a screen, and the embedded unit is provided with a first USB interface, the embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocol ports that can be recognized by the universal drive. ;
  • the first device is a display source device
  • the display source device refers to a device used as a display source
  • the second device is a display device
  • the first USB interface is connected to a second USB interface of the display source device
  • the property of the second USB interface is USB host, first The property of the USB interface is USB device.
  • Step S22 intercepting a picture and/or audio played by the first device
  • the manner of capturing the picture and/or the audio played by the source device may be: accessing the data or the program stored in the embedded unit, and correspondingly, the communication protocol port further includes: The port of the storage space.
  • the display source device generates a storage space access instruction according to a user operation, adapts the access instruction to a port for accessing the storage space, and sends the second USB interface to the first USB interface to access the The preset storage space of the embedded unit, and running the program of the storage space through its system interface to intercept the picture and/or audio played by the local end.
  • the plug-and-play is realized, which provides convenience for the user.
  • Step S23 Send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface, where the designated port is adapted to a port for transmitting audio and video data;
  • the display source device may perform compression and/or encoding processing on the intercepted audio and video data by using a corresponding program running the preset storage space through its system interface before transmitting the audio and video data to facilitate transmission.
  • Step S24 Receive information from the first USB interface through the second USB interface of the local end, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, so that the local end Performing an action corresponding to the manipulation signal.
  • the user of the display source device can select whether to enable the function of returning the control signal. If the user selects the function of turning back the control signal, the display source device can pass the second USB interface after the USB screen connection is successfully established. Sending a return request to the display device; correspondingly, the communication protocol port further includes: a port for transmitting the return request.
  • the method includes: obtaining, by the display source device, a backhaul request identifier bit information, and determining, according to the backhaul request identifier bit information, whether the backhaul request function of the display source device is in an open state; if yes, generating a backhaul request instruction;
  • the return request instruction is adapted to the port for transmitting the return request, and is sent to the first USB interface through the second USB interface to be sent to the display device system through the system communication interface of the embedded unit to notify the display The device performs a return of the control signal.
  • execution order of the above steps S23 and S24 is not limited to the above sequence, and the execution order of the two parts may be changed, or may be performed simultaneously.
  • FIG. 5 is a detailed flowchart of a method for implementing wired screen transmission in the second embodiment; referring to FIG. 5, the steps to be performed on the source device side are as follows:
  • Whether the accessed USB device is a display device that conforms to the set feature can be identified by a specific ID (PID and/or VID).
  • the universal driving of the display source device detects that the second USB interface receives the information from the first USB interface, and detects the port that transmits the information. If the port for transmitting the connection information is identifiable according to the signal content, Whether the information is a connection success instruction.
  • connection success instruction If a connection success instruction is received, intercepting a picture and/or audio currently displayed by the display source device, and compressing or compiling Coded into a specific file format, sent to the embedded unit of the display device through the second USB interface of the display source device;
  • the display source device may generate a storage space access instruction according to a user operation, obtain a port for accessing the storage space from a port provided by the embedded unit of the display device to the display source device, and adapt the access instruction to the
  • the port for accessing the storage space is sent to the first USB interface of the display device through the second USB interface to access the storage space corresponding to the display device end; and the program for running the storage space is displayed by the display source device system interface to intercept the display The picture and/or audio played by the source device. Therefore, the display source device does not need to install the corresponding program in advance, and realizes plug and play, which provides convenience for the user.
  • the audio and video data can also be compressed and/or encoded by a program that displays the embedded unit running on the source device system interface for transmission.
  • the interception code can be stored in the U disk emulated by the embedded unit of the display device.
  • the display source device After the display source device is connected to the first USB interface of the display device, the corresponding memory stored in the display device can be viewed through the corresponding communication protocol port.
  • the display source device system interface runs related programs to intercept the screen and/or audio (including sound data, including audio adjustment information such as volume and channel) played by the display source device.
  • the backhaul request identifier information preset by the display source device may be read to determine whether the return request function of the display source device is in an open state.
  • the current backhaul request function of the source device is displayed as being in an open state, according to generating a backhaul request instruction; adapting the backhaul request command to the port for transmitting the backhaul request, and sending through the second USB interface of the display source device To the first USB interface on the display device side.
  • the second USB interface of the display source device receives the information from the first USB interface of the display device, and detects the port that transmits the information. If the port is used for transmitting the control signal, the external processing may be performed according to the conventional processing. The way the HID device manipulates the event, recognizes the returned control signal, and performs the corresponding action.
  • steps S204 and S205 and steps S206-S207 is not limited to the example in the figure, and steps S206-S207 may be performed first, and then steps S204 and S205 may be performed; or both parts are set according to respective time intervals. Execute in parallel.
  • the embedded unit is simulated as a standard USB device by adding an embedded unit for realizing the screen, and the USB interface provided by the embedded unit is the display source device.
  • the USB interface provided by the embedded unit is the display source device.
  • the display device can be simulated into several types of USB devices through the USB interface provided by the embedded unit, and the display source device mounted with the universal drive can be protected from special drive recognition.
  • the display source device is also capable of obtaining a data stream of the manipulation signal from the display device end, and the code for intercepting the audio and video data may be a system interface of the display source device, but the corresponding program data may be stored in a memory corresponding to the display device end, the memory Pre-stored audio and video data for data communication and interception of display source devices Program data or program downloader.
  • the memory can be accessed by running corresponding program data therein for intercepting the picture or audio of the display source device.
  • the display source device may also package the audio and video data according to the agreed protocol by running the corresponding program data, and then transmit the data to the display device through the corresponding communication protocol port, and the display device receives the data packet from the first USB interface through the embedded device.
  • the unit recognizes and forwards to the display device system, and decodes the audio and video data for playback by the display device system program parsing protocol and packet content.
  • the system software of the display device side can also detect a touch operation (or other control signal) of the user on the display source device, send it to the embedded unit through the system communication interface, adapt to the corresponding port through the embedded unit, and pass the The first USB interface is returned to the display source device.
  • the display source device can recognize the touch operation signal transmitted according to the corresponding communication protocol port, convert it into a similar HID device-like manipulation event and execute a corresponding response (this process is supported by the display device MCU, WINDOWS/MAC This function is enabled, thereby achieving the effect of manipulating the display source device on the display device side.
  • the present invention also provides an apparatus and system for implementing wired screen transmission, and the apparatus and system can be used to implement the above method for implementing wired screen transmission.
  • the apparatus and system can be used to implement the above method for implementing wired screen transmission.
  • the illustrated structure does not constitute the device and the system.
  • the definition may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
  • FIG. 6 is a schematic structural diagram of an apparatus for implementing a wired screen according to an embodiment of the present invention.
  • the apparatus for implementing a wired screen in this embodiment specifically includes a second device MCU 100 and a device for implementing a screen.
  • the embedded unit 200 is in communication with the second device MCU 100.
  • the second device MCU 100 is configured to receive audio and video data forwarded by the embedded unit, so that the second device plays the corresponding And an audio signal; and a control signal for acquiring a picture and/or audio played on the second device, and sent to the embedded unit; wherein the embedded unit 200 includes: a port simulation module 510, and a connection establishment module 520.
  • the audio and video data forwarding module 530 and the control signal returning module 540 are detailed as follows:
  • the port emulation module 510 is configured to provide a plurality of communication protocol ports to the first device, where the communication protocol port can be recognized by the universal drive of the first device; the universal drive of the first device provides the first device and the standard USB a universal communication protocol for communication between devices, the communication protocol port including at least: a port for transmitting audio and video data and a port for transmitting a control signal;
  • connection establishing module 520 is configured to establish a USB communication connection between the embedded unit 200 and the first device by using the communication protocol port and the first USB interface of the embedded unit 200;
  • the audio and video data forwarding module 530 is configured to detect that the first USB interface has information from the first device, detect a port that transmits the information, and if it is a port for transmitting audio and video data, identify the information as a tone. Video data; forwarding the audio and video data to a second device MCU;
  • the control signal returning module 540 is configured to receive a control signal sent by the second device MCU, adapt the control signal to a port for transmitting a control signal, and send the first signal to the first device by using the first USB interface Instructing the first device to receive the manipulation letter The action corresponding to the manipulation signal is executed after the number.
  • the communication protocol port further includes: a port for transmitting connection information; correspondingly, the embedded unit 200 further includes: a connection confirmation module (not shown), configured to generate a connection success instruction and The port is configured to transmit the connection information, and is sent to the first device by using the first USB interface to notify the first device that the connection is successfully established.
  • a connection confirmation module (not shown), configured to generate a connection success instruction and The port is configured to transmit the connection information, and is sent to the first device by using the first USB interface to notify the first device that the connection is successfully established.
  • the communication protocol port further includes: a port for transmitting a return request; correspondingly, the embedded unit 200 further includes a backhaul request module (not shown) for detecting the first USB
  • the interface has information from the first device, detects a port that transmits the information; if it is a port for transmitting a return request, the information is identified as a backhaul request command, and is sent to the second device MCU 100; correspondingly, the The second device MCU 100 is further configured to receive a return request command sent by the embedded unit, and enable a function of the second device for returning the control information.
  • the communication protocol port further includes: a port for accessing the storage space; correspondingly, the embedded unit 200 further includes: a storage module 550, configured to detect that the first USB interface has information from the first device Detecting a port for transmitting the information; if it is a port for accessing the storage space, displaying the preset storage space of the embedded unit to the first device, so that the first device system interface passes the program for running the storage space Used to intercept the picture and/or audio played by the first device.
  • a storage module 550 configured to detect that the first USB interface has information from the first device Detecting a port for transmitting the information; if it is a port for accessing the storage space, displaying the preset storage space of the embedded unit to the first device, so that the first device system interface passes the program for running the storage space Used to intercept the picture and/or audio played by the first device.
  • the first device is a display source device
  • the second device is a display device
  • the attribute of the first USB interface is a USB device.
  • FIG. 7 is a schematic structural diagram of an apparatus for implementing wired screen transmission of the second embodiment. As shown in FIG. 7, the apparatus for implementing wired screen transmission in this embodiment includes:
  • the USB identification module 610 is configured to identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the first device, where the universal driver provides communication between the first device and the standard USB device a universal communication protocol, the communication protocol port at least comprising: a port for transmitting audio and video data and a port for transmitting a control signal; and the second device is provided with an embedded unit for implementing the screen,
  • the embedded unit is provided with a first USB interface, the embedded unit is communicatively coupled to the second device MCU, and the second device accesses the first device and the second USB interface through the first USB interface and provides a plurality of Drive identification communication protocol port;
  • the audio and video intercepting module 620 is configured to intercept a picture and/or audio played by the first device
  • the audio and video sending module 630 is configured to send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface, where the designated port is adapted to be used for transmitting audio and video data.
  • a control signal receiving module 640 configured to receive information from the first USB interface, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, and perform corresponding action.
  • the communication protocol port further includes: a port for accessing the storage space; correspondingly, the audio and video intercepting module 620 is specifically configured to generate the access instruction and adapt to a port for accessing the storage space, and Sending to the first USB interface through the second USB interface to access the preset storage space of the embedded unit, and running the program of the storage space through the first device system interface to intercept the picture played by the local end and/or Or audio.
  • the audio and video intercepting module 620 is specifically configured to generate the access instruction and adapt to a port for accessing the storage space, and Sending to the first USB interface through the second USB interface to access the preset storage space of the embedded unit, and running the program of the storage space through the first device system interface to intercept the picture played by the local end and/or Or audio.
  • the communication protocol port further includes: a port for transmitting a return request; correspondingly, the device for implementing the wired screen further includes: a backhaul request module (not shown) for acquiring The backhaul request identifier information preset by the first device, according to the return request The flag information determines whether the backhaul request function of the first device is in an open state; if yes, generates a backhaul request command; adapts the backhaul request command to a port for transmitting the backhaul request, and passes the second USB interface Sending to the first USB interface for sending to the second device MCU through the embedded unit to enable the function of the second device for returning the control signal.
  • a backhaul request module not shown for acquiring The backhaul request identifier information preset by the first device, according to the return request The flag information determines whether the backhaul request function of the first device is in an open state; if yes, generates a backhaul request command; adapts the backhaul request command to a port for transmitting the backha
  • the first device is a display source device
  • the second device is a display device
  • the attribute of the first USB interface is a USB device
  • the attribute of the second USB interface is a USB host.
  • each functional module is merely an example, and the actual application may be considered according to requirements, for example, for configuration requirements of corresponding hardware or convenience of implementation of software.
  • the above-mentioned function allocation is completed by different function modules, that is, the internal structure of the device for implementing wired screen is divided into different functional modules to complete all or part of the functions described above.
  • Each function module can be implemented in the form of hardware or in the form of a software function module.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Information Transfer Systems (AREA)

Abstract

The present invention relates to a method and apparatus for wired screen transmission. The method comprises: pre-setting an embedded unit for screen transmission at a local end, and providing a first USB interface; providing several communication protocol ports for a first device via the embedded unit; establishing a USB communication connection between the local end and the first device via the communication protocol ports and the first USB interface; when it is detected that there is information from the first device at the first USB interface, detecting, via the embedded unit, a port for transmitting the information, and if the port is a port for transmitting audio and video data, recognizing the information as the audio and video data and forwarding same to an MCU of the local end; acquiring a manipulation signal for the first device detected by the local end, and sending same to the embedded unit; and adapting, via the embedded unit, the manipulation signal to a port for transmitting the manipulation signal, and sending same to the first device via the first USB interface. The present invention can simplify the wiring during screen transmission, and reduce the wiring difficulty of a user.

Description

实现有线传屏的方法及装置Method and device for realizing wired screen transmission 技术领域Technical field
本发明涉及数据传输技术领域,特别是涉及实现有线传屏的方法及装置。The present invention relates to the field of data transmission technologies, and in particular, to a method and apparatus for implementing wired transmission.
背景技术Background technique
传屏实现方式是电脑等显示源设备通过截取系统的屏幕页面和声音数据,并发送到显示设备,显示设备解码并显示和播放发送过来的画面和声音。传屏经常应用在会议或者教学领域,用户需要将电脑的音视频信号投射到大屏的液晶电子白板或者投影机上进行展示,电脑上的音视频数据通过对应的数据线发送到显示设备。然而传统的传屏显示模式中,显示设备仅作为信息展示功能,不具有接收用户操作指令并回传显示源端的功能,不方便用户做演示操作。The implementation of the screen is that the display source device such as a computer intercepts the screen page and sound data of the system and sends it to the display device, and the display device decodes and displays and plays the transmitted picture and sound. The screen is often used in conferences or teaching areas. Users need to project the audio and video signals of the computer to the large-screen LCD whiteboard or projector for display. The audio and video data on the computer is sent to the display device through the corresponding data line. However, in the traditional screen display mode, the display device only serves as an information display function, and does not have the function of receiving a user operation instruction and returning the display source end, and is inconvenient for the user to perform a demonstration operation.
基于此,在基于触摸屏显示设备的传屏模式中,提出了将显示设备检测到的触摸操控信号反馈给电脑端,对应的,在电脑和所述显示设备之间需要增加一条用于传输控制信号的连接线。因此需电脑和显示设备之间需要两根或两根以上的连接线(HDMI线+USB线/RS232线,VGA线+音频线+USB线或RS232线等)才能实现。存在布线复杂,对用户专业水平要求较高的问题。Based on this, in the screen mode based on the touch screen display device, it is proposed to feed back the touch control signal detected by the display device to the computer end. Correspondingly, a new control signal is needed between the computer and the display device. Connection line. Therefore, two or more connection cables (HDMI cable + USB cable / RS232 cable, VGA cable + audio cable + USB cable or RS232 cable, etc.) are required between the computer and the display device. There is a problem that the wiring is complicated and the professional level of the user is high.
发明内容Summary of the invention
基于此,本发明实施例提供的实现有线传屏的方法及装置,能够简化传屏显示时的布线,降低对用户接线难度。Based on this, the method and device for implementing wired screen transmission provided by the embodiments of the present invention can simplify the wiring during the screen display and reduce the difficulty of wiring the user.
本发明一方面提供实现有线传屏的方法,包括:An aspect of the present invention provides a method for implementing a wired screen, including:
预先在本端设置一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与本端MCU通信连接;An embedded unit for implementing a screen is disposed in advance at the local end, and the embedded unit is provided with a first USB interface, and the embedded unit is communicably connected to the local MCU;
所述实现有线传屏的方法包括:The method for implementing wired screen transmission includes:
通过本端的嵌入式单元向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;Providing, by the embedded unit of the local end, a plurality of communication protocol ports to the first device, the communication protocol port being identifiable by the universal drive of the first device; the universal drive of the first device providing the first device and the standard USB device a universal communication protocol for communication, the communication protocol port comprising at least a port for transmitting audio and video data and a port for transmitting a control signal;
通过所述通信协议端口、所述第一USB接口建立本端与第一设备的USB通信连接;Establishing a USB communication connection between the local end and the first device by using the communication protocol port and the first USB interface;
检测到第一USB接口有来自第一设备的信息,通过所述嵌入式单元检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据,并转发给本端MCU,以在本端播放对应的音视频;Detecting that the first USB interface has information from the first device, and detecting, by the embedded unit, a port that transmits the information, if it is a port for transmitting audio and video data, identifying the information as audio and video data, and forwarding Give the local MCU to play the corresponding audio and video on the local end;
获取本端检测到的对第一设备的操控信号,并发送给所述嵌入式单元;通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信号后执行所述操控信号对应的动作。 Acquiring, by the local end, a control signal for the first device, and sending the control signal to the embedded unit; adapting, by the embedded unit, the control signal to a port for transmitting a control signal, and passing the A USB interface is sent to the first device, and the first device is instructed to perform an action corresponding to the control signal after receiving the control signal.
本发明另一方面提供一种实现有线传屏的方法,包括:Another aspect of the present invention provides a method for implementing wired screen transmission, including:
通过预安装的通用驱动识别接入本端第二USB接口的第二设备提供的通信协议端口;所述通用驱动提供了本端和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述嵌入式单元通过第一USB接口提供若干能够被通用驱动识别的通信协议端口;Identifying, by a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the local end; the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device, the communication protocol port Included at least: a port for transmitting audio and video data and a port for transmitting a control signal; the second device is provided with an embedded unit for implementing a screen, and the embedded unit is provided with a first USB interface, The embedded unit is communicatively coupled to the second device MCU, and the embedded unit provides a plurality of communication protocol ports that can be recognized by the universal driver through the first USB interface;
截获本端播放的画面和/或音频;Intercepting the picture and/or audio played by the local end;
将截获到的音视频数据通过本端第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应,以通过所述嵌入式单元转发给第二设备MCU,以使第二设备播放相应的音视频;Transmitting the intercepted audio and video data to the first USB interface through a designated port of the second USB interface of the local end, the designated port is adapted to be used for transmitting the audio and video data, to be forwarded by the embedded unit Giving the second device MCU to enable the second device to play the corresponding audio and video;
通过本端第二USB接口接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,使本端执行所述操控信号对应的动作。Receiving, by the second USB interface of the local end, information from the first USB interface, detecting a port for transmitting the information; if the port is for transmitting a control signal, identifying the information as a control signal, causing the local end to perform the The action corresponding to the control signal.
本发明又一方面提供一种实现有线传屏的装置,包括:Another aspect of the present invention provides an apparatus for implementing a wired screen, including:
包括第二设备MCU和一用于实现传屏的嵌入式单元,所述嵌入式单元与第二设备MCU通信连接;Included in the second device MCU and an embedded unit for implementing a screen, the embedded unit is communicatively coupled to the second device MCU;
其中,所述嵌入式单元包括:The embedded unit includes:
端口模拟模块,用于向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;a port simulation module, configured to provide a plurality of communication protocol ports to the first device, the communication protocol port being identifiable by a universal drive of the first device; the universal drive of the first device providing a relationship between the first device and the standard USB device a universal communication protocol for communication, the communication protocol port comprising at least a port for transmitting audio and video data and a port for transmitting a control signal;
连接建立模块,用于通过所述通信协议端口、所述嵌入式单元的第一USB接口建立所述嵌入式单元与第一设备的USB通信连接;a connection establishing module, configured to establish, by using the communication protocol port, the first USB interface of the embedded unit, a USB communication connection between the embedded unit and the first device;
音视频数据转发模块,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据;将所述音视频数据转发至第二设备MCU,以使第二设备播放对应的音视频;The audio and video data forwarding module is configured to detect that the first USB interface has information from the first device, and detects a port that transmits the information, and if it is a port for transmitting audio and video data, the information is recognized as audio and video data; Forwarding the audio and video data to the second device MCU, so that the second device plays the corresponding audio and video;
操控信号回传模块,用于通过所述系统通信接口接收第二设备MCU获取到的本端检测到的对第一设备的操控信号,将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信号后执行所述操控信号对应的动作。The control signal returning module is configured to receive, by using the system communication interface, a control signal of the first device detected by the local device acquired by the second device MCU, and adapt the control signal to a port for transmitting the control signal And sending, by the first USB interface, to the first device, instructing the first device to perform an action corresponding to the control signal after receiving the control signal.
本发明又一方面提供一种实现有线传屏的装置,包括:Another aspect of the present invention provides an apparatus for implementing a wired screen, including:
USB识别模块,用于通过预安装的通用驱动识别接入本端第二USB接口的第二设备提供的通信协议端口,所述通用驱动提供了本端和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述第二设备通过所述第一USB接口接入本端第二USB接口并提供若干能够被通用驱动识别的通信协议端口; a USB identification module, configured to identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the local end, where the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device. The communication protocol port includes at least a port for transmitting audio and video data and a port for transmitting a control signal, and an embedded unit for implementing the screen is disposed in the second device, where the embedded unit provides There is a first USB interface, the embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocols that can be recognized by the universal driver. Port
音视频截获模块,用于截获本端播放的画面和/或音频;An audio and video intercepting module, configured to intercept a picture and/or audio played by the local end;
音视频发送模块,用于将截获到的音视频数据通过本端第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应;An audio and video sending module, configured to send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface of the local end, where the designated port is adapted to a port for transmitting audio and video data;
操控信号接收模块,用于接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,使本端执行所述操控信号对应的动作。a control signal receiving module, configured to receive information from the first USB interface, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, so that the local end performs the The action corresponding to the control signal.
上述技术方案,通过在显示设备中嵌入设置一用于实现传屏的嵌入式单元,通过将该嵌入式单元模拟成标准的USB设备,并通过该嵌入式单元提供的USB接口为显示源设备提供所需的多个通信协议端口,通过所述通信协议端口建立显示设备与显示源设备的USB通信连接;当检测到该嵌入式单元提供的USB接口有来自显示源设备的信息时,通过所述嵌入式单元检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据,发送给显示设备MCU,以在显示设备播放对应的音视频;同时获取对显示源设备的操控信号,通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过所述嵌入式单元提供的USB接口发送至显示源设备,以使显示设备执行所述操控信号对应的动作。对于用户来说,显示源设备和显示设备均只需一条USB连接线便可实现音视频数据的传屏展示,同时还能实现显示设备操控信号的回传,简化了传屏显示的布线,降低对用户接线难度。In the above technical solution, by embedding an embedded unit for realizing a screen in a display device, the embedded unit is simulated as a standard USB device, and the display source device is provided by the USB interface provided by the embedded unit. a plurality of communication protocol ports required to establish a USB communication connection between the display device and the display source device through the communication protocol port; when detecting that the USB interface provided by the embedded unit has information from the display source device, The embedded unit detects the port that transmits the information, and if it is a port for transmitting audio and video data, the information is recognized as audio and video data, and is sent to the display device MCU to play the corresponding audio and video on the display device; Displaying a manipulation signal of the source device, adapting the manipulation signal to a port for transmitting a manipulation signal by the embedded unit, and transmitting to the display source device through a USB interface provided by the embedded unit, so that the display device Performing an action corresponding to the manipulation signal. For the user, the display source device and the display device can realize the transmission and display of the audio and video data only by one USB cable, and at the same time, realize the return of the control signal of the display device, simplify the wiring of the screen display and reduce the wiring. Difficult to wire the user.
附图说明DRAWINGS
图1为实施本发明实现有线传屏的方法的系统环境示意图;1 is a schematic diagram of a system environment for implementing a method for implementing wired screen transmission according to the present invention;
图2为一实施例的实现有线传屏的方法的示意性流程图;2 is a schematic flowchart of a method for implementing wired screen transmission according to an embodiment;
图3为一实施例的实现有线传屏的方法的详细流程图;3 is a detailed flowchart of a method for implementing wired screen transmission according to an embodiment;
图4为第二实施例的实现有线传屏的方法的示意性流程图;4 is a schematic flowchart of a method for implementing wired screen transmission in a second embodiment;
图5为第二实施例的显示源设备实现有线传屏的方法的详细流程图;5 is a detailed flowchart of a method for implementing a wired screen transmission by a display source device according to a second embodiment;
图6为一实施例的实现有线传屏的装置的示意性结构图;FIG. 6 is a schematic structural diagram of an apparatus for implementing wired screen transmission according to an embodiment; FIG.
图7为第二实施例的实现有线传屏的装置的示意性结构图。FIG. 7 is a schematic structural diagram of an apparatus for implementing wired screen transmission of the second embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图1为实施本发明有线传屏的方法的系统环境示意图。如图1所示,本发明实施例的系统环境包括显示源设备(即第一设备)和显示设备(即第二设备)。其中,显示源设备可为PC、手机等运行有MCU的设备或系统,其系统内拥有至少一个预安装的通用驱动,所述通用驱动提供了显示源设备和标准USB设备之间通信的通用通信协议。所述显示源设备还至少设置有一USB接口(即第二USB接口),且该USB接口的属性设为USB host。1 is a schematic diagram of a system environment for implementing a method for wired screen transmission of the present invention. As shown in FIG. 1, the system environment of the embodiment of the present invention includes a display source device (ie, a first device) and a display device (ie, a second device). The display source device may be a device or a system running an MCU such as a PC or a mobile phone, and the system has at least one pre-installed universal driver therein, and the universal driver provides universal communication between the display source device and the standard USB device. protocol. The display source device is further configured with at least one USB interface (ie, a second USB interface), and the attribute of the USB interface is set to a USB host.
其中,显示设备为运行有操作系统的设备或系统,例如大屏电子白板。所述显示设备包括MCU, 还包括与该MCU通信连接的用于实现传屏的嵌入式单元(虚线框所示),所述嵌入式单元具体包括存储器、处理器、第一系统通信接口以及第一USB接口;所述处理器中运行有相应的处理器程序,所述处理器程序能够识别第一USB接口接收到的信息类型;所述存储器的用途之一为用于存放显示源设备或显示设备需要用到的特定程序或特定程序的下载器;对应的,所述显示设备的还设有对应的第二系统通信接口,通过第一系统通信接口、第二系统通信接口实现所述嵌入式单元与显示设备MCU的通信;所述第一USB接口的属性设为USB device,用于与显示源设备的第二USB接口连接。The display device is a device or system running an operating system, such as a large-screen electronic whiteboard. The display device includes an MCU, Also included is an embedded unit (shown in dashed box) for communicating with the MCU, the embedded unit specifically including a memory, a processor, a first system communication interface, and a first USB interface; Running a corresponding processor program, the processor program capable of identifying the type of information received by the first USB interface; one of the uses of the memory is a specific program for storing the display source device or the display device Or a downloader of the specific program; correspondingly, the display device is further provided with a corresponding second system communication interface, and the communication between the embedded unit and the display device MCU is realized by the first system communication interface and the second system communication interface The property of the first USB interface is set to a USB device for connecting to a second USB interface of the display source device.
基于图1所示的系统环境示意图,图2为一实施例的实现有线传屏的方法的示意性流程图;在该实施例中,是以该方法应用于显示设备端为例进行说明。FIG. 2 is a schematic flowchart of a method for implementing wired screen transmission according to an embodiment of the present invention. In this embodiment, the method is applied to a display device end as an example for description.
如图2所示,本实施例实现有线传屏的方法包括步骤:As shown in FIG. 2, the method for implementing wired screen transmission in this embodiment includes the following steps:
S11,通过本端的嵌入式单元向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;S11, the first device is provided with a plurality of communication protocol ports by the embedded unit of the local end, the communication protocol port can be recognized by the universal driver of the first device; the universal device of the first device provides the first device and the standard USB device a universal communication protocol for communication between, the communication protocol port at least comprising: a port for transmitting audio and video data and a port for transmitting a control signal;
本实施例中,本端指的是显示设备,显示设备中的嵌入式单元可模拟成若干类型的标准USB设备,并提供对应的通信协议端口;第一设备即为显示源设备,显示源设备预安装的通用驱动能够独立地驱动不同类型的标准USB设备,显示源设备中还可安装有对应的客户端软件,用于接收用户的传屏操作。In this embodiment, the local end refers to a display device, and the embedded unit in the display device can be simulated into several types of standard USB devices, and provides a corresponding communication protocol port; the first device is a display source device, and the display source device The pre-installed universal driver can independently drive different types of standard USB devices, and the corresponding source software can also be installed in the display source device for receiving the user's screen operation.
本实施例中USB接口是物理上的概念,而通过USB接口提供的通信协议端口则是面向USB连接服务的抽象的概念,不同的通信协议端口可通过相应端口标识进行区分,例如通过端口号进行区分。在本实施例中,各通信协议端口的端口标识均能够被通用USB驱动识别,嵌入式单元的处理器也通过通信协议端口的端口标识来进行多种类型信息(包括音视频数据或操控信号)的收发,以实现通过同一个物理接口实现多种不同类型信息的收发。In this embodiment, the USB interface is a physical concept, and the communication protocol port provided through the USB interface is an abstract concept for the USB connection service. Different communication protocol ports can be distinguished by corresponding port identifiers, for example, by port number. distinguish. In this embodiment, the port identification of each communication protocol port can be recognized by the universal USB driver, and the processor of the embedded unit also performs various types of information (including audio and video data or control signals) through the port identification of the communication protocol port. Transceiver, to achieve the transmission and reception of a variety of different types of information through the same physical interface.
对应的,嵌入式单元可模拟成若干类型的标准USB设备,指的是嵌入式单元可基于通用的标准USB通信协议枚举若干个标准USB通信协议端口,不同USB通信协议端口采用不同的端口标识进行区分。Correspondingly, the embedded unit can be simulated into several types of standard USB devices, which means that the embedded unit can enumerate several standard USB communication protocol ports based on the common standard USB communication protocol, and different USB communication protocol ports use different port identifications. Make a distinction.
S12,通过所述通信协议端口、所述第一USB接口建立本端与第一设备的USB通信连接;S12. Establish a USB communication connection between the local device and the first device by using the communication protocol port and the first USB interface.
本实施例中,本端为显示设备,本端的嵌入式单元可模拟成若干类型的标准USB设备,并提供对应的通信协议端口,显示源设备能免驱识别到(即通过显示源设备系统普遍自带的通用USB驱动便能识别,无需特定的通用驱动)。In this embodiment, the local end is a display device, and the embedded unit of the local end can be simulated into several types of standard USB devices, and provides a corresponding communication protocol port, and the display source device can be recognized by the drive (ie, by displaying the source device system generally The built-in universal USB driver recognizes it without the need for a specific universal driver.
优选的,所述通信协议端口还包括:用于传输连接信息的端口。对应的,当连接成功之后,显示设备还可生成连接成功指令,将连接成功指令发送至所述嵌入式单元;通过所述嵌入式单元将所述连接成功指令适配到用于传输连接信息的端口,通过所述第一USB接口发送至显示源设备,以告知显示源设备连接建立成功。Preferably, the communication protocol port further includes: a port for transmitting connection information. Correspondingly, after the connection is successful, the display device may further generate a connection success instruction, and send a connection success instruction to the embedded unit; and the connection success instruction is adapted by the embedded unit to transmit connection information. The port is sent to the display source device through the first USB interface to notify the display source device that the connection is successfully established.
S13,检测到第一USB接口有来自第一设备的信息,通过所述嵌入式单元检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据,并转发给本端MCU,以使本端播放对应的音视频; S13. The first USB interface is detected to have information from the first device, and the port that transmits the information is detected by the embedded unit. If the port is used for transmitting audio and video data, the information is identified as audio and video data. And forwarded to the local MCU, so that the local end plays the corresponding audio and video;
优选的,本端MCU收到音视频数据后,还需对音视频数据进行解析,进行解压和/或解码处理。Preferably, after receiving the audio and video data, the local MCU needs to parse the audio and video data for decompression and/or decoding.
S14,获取本端检测到的对第一设备的操控信号,并发送给所述嵌入式单元;通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信号后执行所述操控信号对应的动作。S14: Acquire a control signal that is detected by the local end and is sent to the embedded device, and send the control signal to a port for transmitting a control signal by using the embedded unit, and pass the The first USB interface is sent to the first device, and the first device is instructed to perform an action corresponding to the control signal after receiving the control signal.
其中,所述操控信号相应的动作可以是本端能够执行的任意动作。The corresponding action of the control signal may be any action that the local end can perform.
需要说明的是,上述步骤S13和S14的执行顺序不限于上述顺序,两部分的执行顺序可调换,或者也可同时执行。It should be noted that the execution order of the above steps S13 and S14 is not limited to the above sequence, and the execution order of the two parts may be changed, or may be performed simultaneously.
优选的,所述通信协议端口还包括:用于访问存储空间的端口。在显示源设备与显示设备连接成功之后,若显示源设备预先安装了用于截获显示画面和/或音频的软件程序,则通过该软件程序截获当前播放的显示画面和/或音频,将其进行打包处理后发送至显示设备。若显示源设备没有预先安装此类软件程序,可通过USB接口访问所述嵌入式单元的存储器(存储空间),运行所述嵌入式单元的存储器中预先存储的程序用以截获当前播放的显示画面和/或音频的软件程序,以及将其进行打包处理,将打包处理后的音视频数据视频到对应的端口,并通过第二USB接口发送至所述嵌入式单元的第一USB接口,通过所述嵌入式单元转发至显示设备MCU。第二种方式对显示源设备的要求更低,即使其没有预先安装相应的程序,对于显示源设备(例如PC)来说,在插入设置有所述嵌入式单元的显示设备的时候,会在“我的电脑”根目录看到一个“可移动磁盘”,即是所述嵌入式单元的存储空间,由此显示源设备就能从该“可移动磁盘”中运行预先存储的应用程序,进而实现了即插即用的效果。显示设备从第一USB接口接收到音视频数据,进行处理后进行播放,实现音视频数据的传屏显示。Preferably, the communication protocol port further includes: a port for accessing the storage space. After the display source device and the display device are successfully connected, if the display source device is pre-installed with a software program for intercepting the display screen and/or audio, the currently displayed display screen and/or audio is intercepted by the software program, and is performed. After being packaged, it is sent to the display device. If the display source device does not pre-install such a software program, the memory (storage space) of the embedded unit can be accessed through the USB interface, and a program stored in advance in the memory of the embedded unit is used to intercept the currently displayed display screen. And/or audio software program, and packaging the same, and compressing the packaged audio and video data to a corresponding port, and sending the first USB interface to the embedded unit through the second USB interface, The embedded unit is forwarded to the display device MCU. The second method has lower requirements on the display source device, even if it does not pre-install the corresponding program, for the display source device (for example, a PC), when the display device provided with the embedded unit is inserted, The "My Computer" root directory sees a "removable disk", which is the storage space of the embedded unit, thereby showing that the source device can run the pre-stored application from the "removable disk", thereby Achieve plug and play effects. The display device receives the audio and video data from the first USB interface, performs processing, and performs playback to realize the screen display of the audio and video data.
另一方面,还可通过显示设备系统程序获取对显示源设备的操控信号,将所述操控信号发送给所述嵌入式单元的系统通信接口;通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过第一USB接口进行回传,使得显示源设备能够将所述操控信号转换为对应的操控事件并执行对应的动作。例如:所述嵌入式单元将显示设备的触摸事件转换成为HID触摸事件,其模拟成HID触摸设备,通过第一USB接口将该HID触摸事件提交给显示源设备系统。对于显示源设备系统来说,按照常规处理HID触摸设备的操作事件的方式,执行对应的动作。On the other hand, a control signal to the display source device can also be obtained by the display device system program, and the manipulation signal is sent to the system communication interface of the embedded unit; the manipulation signal is adapted by the embedded unit The port for transmitting the control signal is transmitted back through the first USB interface, so that the display source device can convert the manipulation signal into a corresponding manipulation event and perform a corresponding action. For example, the embedded unit converts a touch event of the display device into a HID touch event, which is simulated as an HID touch device, and submits the HID touch event to the display source device system through the first USB interface. For the display source device system, the corresponding action is performed in a manner that conventionally processes the operation event of the HID touch device.
基于上述的有线传屏方法,一方面可为普通的显示源设备提供需要用到的各类USB通信协议端口,普通的显示源设备能够免驱识别,还能通过运行所述嵌入式单元的存储器中预先存储的程序完成相应的音视频数据截获功能,实现了即插即用的效果;只需一条USB连接线便可实现显示源设备和显示设备的有限传屏连接,同时还能实现显示设备操控信号的回传,简化了传屏显示的布线。Based on the above-mentioned wired transmission method, on the one hand, various types of USB communication protocol ports that need to be used for common display source devices can be provided, and ordinary display source devices can be protected from drive recognition, and can also operate the memory of the embedded unit. The pre-stored program completes the corresponding audio and video data interception function, realizing the plug-and-play effect; only one USB cable can realize the limited screen connection of the display source device and the display device, and at the same time realize the display device The backhaul of the control signal simplifies the wiring of the screen display.
可以理解的是,本实施例中用于传输连接信息的端口、用于传输音视频信息的端口可分别为HID1端口、HID2端口;用于传输存储空间访问指令的端口可为Mac类型的端口。换句话说,本实施例中可根据实际需要,使所述嵌入式单元通过其第一USB接口模拟成多种类型的、能够被显示源设备系统免驱识别的通信协议端口,并且若干通信协议端口均能够被显示源设备的通用驱动分别独立的驱动,分别用于传输不同的数据信息。 It can be understood that the port for transmitting the connection information, the port for transmitting the audio and video information in the embodiment may be the HID1 port and the HID2 port respectively; and the port for transmitting the storage space access instruction may be the Mac type port. In other words, in the embodiment, the embedded unit can be simulated by its first USB interface into multiple types of communication protocol ports that can be recognized by the display source device system, and several communication protocols. The ports can be independently driven by the universal drive of the display source device for respectively transmitting different data information.
图3为一实施例的实现有线传屏的方法的详细流程图;参考图3,显示设备端检测到第一USB接口有来自显示源设备的信息,通过所述嵌入式单元检测传输该信息的端口,若为用于传输回传请求的端口,则将该信息识别为回传请求指令,通过系统通信接口发送给显示设备MCU,进而开启显示设备用于获取检测到对显示源设备的操控信息的功能。具体的,显示设备端需执行的步骤如下:3 is a detailed flowchart of a method for implementing wired screen transmission according to an embodiment; referring to FIG. 3, the display device detects that the first USB interface has information from the display source device, and detects, by the embedded unit, the information transmitted by the embedded unit. The port, if it is a port for transmitting a return request, identifies the information as a return request command, and sends the information to the display device MCU through the system communication interface, thereby turning on the display device for acquiring the detected manipulation information on the display source device. The function. Specifically, the steps to be performed on the display device side are as follows:
S101,显示设备中嵌入式单元的处理器程序运行,检测所述第一USB接口是否符合条件的显示源设备接入。S101. The processor program of the embedded unit in the display device runs, and detects whether the first USB interface meets the conditional display source device access.
检测第一USB接口是否有设备连接,若有,再进一步检测所述设备是否为符合要求的显示源设备。具体的,可通过特定ID(PID/VID)检测接入的设备是否为符合要求的显示源设备。Detect whether the first USB interface has a device connection, and if so, further check whether the device is a display source device that meets the requirements. Specifically, whether the accessed device is a qualified display source device can be detected by using a specific ID (PID/VID).
S102,若检测到显示源设备接入,所述嵌入式单元的处理器程序通过第一USB接口将其模拟成标准USB设备,使有通用驱动的显示源设备能免驱识别。S102. If the display source device is detected to be accessed, the processor program of the embedded unit simulates the device as a standard USB device through the first USB interface, so that the display source device with the universal driver can be discriminated.
S103,所述嵌入式单元的处理器程序生成连接成功指令,确认传屏连接成功;S103. The processor program of the embedded unit generates a connection success instruction, and confirms that the screen connection is successful.
本实施例中所述嵌入式单元的处理器程序将所述连接成功指令适配到用于传输连接信息的端口,并通过第一USB接口发送至显示源设备的第二USB接口,告知显示源设备传屏连接成功。The processor program of the embedded unit in the embodiment adapts the connection success instruction to a port for transmitting connection information, and sends the second USB interface to the display source device through the first USB interface to notify the display source. The device has successfully connected the screen.
S104,所述嵌入式单元的处理器程序检测第一USB接口是否有来自显示源设备音视频文件流;S104. The processor program of the embedded unit detects whether the first USB interface has an audio and video file stream from the display source device.
本实施例中,若所述嵌入式单元的处理器程序检测到第一USB接口有来自显示源设备的信息后,进一步检测传输该信息的端口,若为用于传输音视频数据的端口,则可将该信息识别为音视频数据。In this embodiment, if the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detects a port that transmits the information, and if it is a port for transmitting audio and video data, This information can be identified as audio and video data.
本实施例中,所述嵌入式单元还向显示源设备提供用于访问存储空间的端口。在本步骤之前,若所述嵌入式单元的处理器程序检测到第一USB接口有来自显示源设备的信息,进一步检测传输该信息的端口,若为用于访问存储空间的端口,则将该信息识别为存储空间访问指令;将所述嵌入式单元的预设存储空间展示给显示源设备,使得显示源设备系统接口通过运行所述存储空间的程序用于截获显示源设备播放的画面和/或音频。所述预设存储空间中存储有用于截获音视频数据的exe可执行程序或者存储相应程序的下载信息。因此所述显示源设备通过访问该存储空间可实现对其播放的画面或者音频进行截获的功能。In this embodiment, the embedded unit further provides a port for accessing the storage space to the display source device. Before the step, if the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detecting the port transmitting the information, if it is a port for accessing the storage space, The information is identified as a storage space access instruction; the preset storage space of the embedded unit is displayed to the display source device, so that the display source device system interface is used to intercept the screen played by the display source device by using a program running the storage space. Or audio. The preset storage space stores an exe executable program for intercepting audio and video data or downloads download information of the corresponding program. Therefore, the display source device can perform a function of intercepting a picture or audio played thereon by accessing the storage space.
S105,所述嵌入式单元的处理器程序将通过第一USB接口接收到的音视频文件流发送给显示设备MCU,显示设备MCU经过解压和/或解码,在显示设备端播放对应的画面和/或音频。S105. The processor program of the embedded unit sends the audio and video file stream received through the first USB interface to the display device MCU, and the display device MCU is decompressed and/or decoded, and the corresponding screen is played on the display device side and/or Or audio.
作为一优选实施方式,所述嵌入式单元的处理器程序将该信息识别为音视频数据之后,还会监听是否有预设的用于指示信息转发的触发控制信号,若监听到所述触发控制信号,则将所述音视频数据转发给本端MCU,以在显示设备端播放对应的画面和/或音频。其中,所述触发控制信号可以是预设按钮被按下的操作信号,也可以是预设的人机交互界面上发生的特定触摸操控信号,即用户可通过硬件触发方式/软件触发方式,来控制所述嵌入式单元对音视频数据的转发,以灵活控制传屏展示的效果。As a preferred implementation manner, after the processor program of the embedded unit recognizes the information as audio and video data, it also monitors whether there is a preset trigger control signal for indicating information forwarding, and if the trigger control is monitored The signal is forwarded to the local MCU to play the corresponding picture and/or audio on the display device. The trigger control signal may be an operation signal that the preset button is pressed, or may be a specific touch control signal generated on the preset human-computer interaction interface, that is, the user may use a hardware trigger mode/software trigger mode. Controlling the forwarding of the audio and video data by the embedded unit to flexibly control the effect of the screen display.
S106,所述嵌入式单元的处理器程序检测第一USB接口是否有来自显示源设备的回传请求指令;S106. The processor program of the embedded unit detects whether the first USB interface has a return request instruction from the display source device.
本实施例中,若所述嵌入式单元的处理器程序检测到第一USB接口有来自显示源设备的信息,进一步检测传输该信息的端口,若为用于传输回传请求的端口,则可将该信息识别为回传请求指令。 In this embodiment, if the processor program of the embedded unit detects that the first USB interface has information from the display source device, further detecting the port transmitting the information, if the port is used for transmitting the return request, This information is identified as a postback request instruction.
S107,若收到来自显示源设备的回传请求指令,所述嵌入式单元的处理器程序通过将所述回传请求指令发送给显示设备MCU,以开启显示设备的用于回传操控信息的功能(或运行相应的线程),获取检测到的对显示源设备的操控信号。S107. If receiving a return request command from the display source device, the processor program of the embedded unit sends the backhaul request command to the display device MCU to enable the display device to return the control information. Function (or run the corresponding thread) to obtain the detected control signal to the display source device.
可以理解的是,上述对音视频数据转发的触发机制,也适用于触发嵌入式单元对回传请求指令的转发,即还可通过硬件触发方式/软件触发方式,来控制嵌入式单元对回传请求指令的转发。It can be understood that the above trigger mechanism for forwarding audio and video data is also applicable to triggering the forwarding of the return request command by the embedded unit, that is, the embedded unit can be controlled by the hardware trigger mode/software trigger mode. Request forwarding of instructions.
S108,显示设备MCU将所述操控信号发送给所述嵌入式单元,通过所述嵌入式单元的处理器程序将所述操控信号适配到用于传输操控信号的端口,并通过第一USB接口发送至显示源设备,以使显示源设备执行所述操控信号对应的动作。S108. The display device MCU sends the control signal to the embedded unit, and the control signal is adapted to a port for transmitting a control signal by using a processor program of the embedded unit, and passes through the first USB interface. Sending to the display source device to cause the display source device to perform an action corresponding to the manipulation signal.
可以理解的是,上述对音视频数据转发的触发机制,也适用于触发嵌入式单元对操控信号的转发,即还可通过硬件触发方式/软件触发方式,来控制嵌入式单元对操控信号的转发,以灵活控制远端操控的效果。It can be understood that the above trigger mechanism for forwarding audio and video data is also applicable to triggering the forwarding of the control signal by the embedded unit, that is, the hardware trigger mode/software trigger mode can also be used to control the forwarding of the control signal by the embedded unit. To flexibly control the effect of remote control.
可以理解的是,步骤S104~S105、步骤S106~S108的执行顺序不限于图中示例,也可先执行步骤S106~S108,再执行步骤S104~S105;或者两部分均按照各自设定的时间间隔并行执行。It can be understood that the execution order of steps S104-S105 and steps S106-S108 is not limited to the example in the figure, and steps S106-S108 may be performed first, and then steps S104-S105 may be performed; or both parts are set according to respective time intervals. Execute in parallel.
本实施例的有线传屏方法,通过在显示设备中嵌入设置一用于实现传屏的嵌入式单元,通过将该嵌入式单元模拟成标准的USB设备,并通过该嵌入式单元提供的USB接口为显示源设备提供所需的多个通信协议端口,通过所述通信协议端口建立显示设备与显示源设备的USB通信连接;当检测到该嵌入式单元提供的USB接口有来自显示源设备的信息时,通过所述嵌入式单元检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据,发送给显示设备MCU,以在显示设备播放对应的音视频;同时获取显示设备端检测到的对显示源设备的操控信号,通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过所述嵌入式单元提供的USB接口发送至显示源设备,以使显示设备执行所述操控信号对应的动作。对于用户来说,显示源设备和显示设备均只需一条USB连接线便可实现音视频数据的传屏展示,同时还能实现显示设备操控信号的回传,简化了传屏显示的布线,降低对用户接线难度。The wired screen method of the embodiment is configured by embedding an embedded unit for realizing a screen in the display device, simulating the embedded unit into a standard USB device, and providing a USB interface through the embedded unit. Providing a plurality of communication protocol ports required for the display source device, establishing a USB communication connection between the display device and the display source device through the communication protocol port; and detecting that the USB interface provided by the embedded unit has information from the display source device When the port for transmitting the information is detected by the embedded unit, if it is a port for transmitting audio and video data, the information is recognized as audio and video data, and sent to the display device MCU to play the corresponding sound on the display device. Video; simultaneously obtaining a control signal for the display source device detected by the display device, adapting the manipulation signal to the port for transmitting the manipulation signal through the embedded unit, and providing the USB through the embedded unit The interface is sent to the display source device to cause the display device to perform an action corresponding to the manipulation signal. For the user, the display source device and the display device can realize the transmission and display of the audio and video data only by one USB cable, and at the same time, realize the return of the control signal of the display device, simplify the wiring of the screen display and reduce the wiring. Difficult to wire the user.
图4为第二实施例的实现有线传屏的方法的示意性流程图;本实施例实现有线传屏的方法主要应用于显示源设备端。参考图4所示,本实施例实现有线传屏的方法包括步骤如下。FIG. 4 is a schematic flowchart of a method for implementing wired screen transmission in the second embodiment; the method for implementing wired screen transmission in the embodiment is mainly applied to a display source device end. Referring to FIG. 4, the method for implementing wired screen transmission in this embodiment includes the following steps.
步骤S21、通过预安装的通用驱动识别接入第一设备第二USB接口的第二设备提供的通信协议端口;所述通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议;所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述第二设备通过所述第一USB接口接入本端第二USB接口并提供若干能够被通用驱动识别的通信协议端口;Step S21: Identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the first device; the universal driver provides a universal communication protocol for communication between the first device and the standard USB device; The communication protocol port includes at least a port for transmitting audio and video data and a port for transmitting a control signal, and the second device is provided with an embedded unit for implementing a screen, and the embedded unit is provided with a first USB interface, the embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocol ports that can be recognized by the universal drive. ;
本实施例中第一设备为显示源设备,显示源设备指的是用作显示源的设备;第二设备为显示设备;所述第一USB接口与显示源设备的第二USB接口对接;所述第二USB接口的属性为USB host,第一 USB接口的属性为USB device。In this embodiment, the first device is a display source device, the display source device refers to a device used as a display source, and the second device is a display device; the first USB interface is connected to a second USB interface of the display source device; The property of the second USB interface is USB host, first The property of the USB interface is USB device.
步骤S22、截获第一设备播放的画面和/或音频;Step S22, intercepting a picture and/or audio played by the first device;
本实施例中,截获显示源设备播放的画面和/或音频的方式可为:通过访问所述嵌入式单元中存储的数据或程序实现,对应的,所述通信协议端口还包括:用于访问存储空间的端口。具体例如:显示源设备根据用户操作生成存储空间访问指令,将所述访问指令适配到用于访问存储空间的端口,并通过第二USB接口发送至所述第一USB接口,以访问所述嵌入式单元的预设存储空间,并通过其系统接口运行所述存储空间的程序以截获本端播放的画面和/或音频。由此,无需在显示源设备预先安装对应的程序,实现了即插即用,为用户提供了方便。In this embodiment, the manner of capturing the picture and/or the audio played by the source device may be: accessing the data or the program stored in the embedded unit, and correspondingly, the communication protocol port further includes: The port of the storage space. Specifically, for example, the display source device generates a storage space access instruction according to a user operation, adapts the access instruction to a port for accessing the storage space, and sends the second USB interface to the first USB interface to access the The preset storage space of the embedded unit, and running the program of the storage space through its system interface to intercept the picture and/or audio played by the local end. Thereby, it is not necessary to pre-install the corresponding program in the display source device, and the plug-and-play is realized, which provides convenience for the user.
步骤S23、将截获到的音视频数据通过第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应;Step S23: Send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface, where the designated port is adapted to a port for transmitting audio and video data;
优选的,显示源设备在发送音视频数据之前,还可通过其系统接口运行所述预设存储空间的相应程序对截获到的音视频数据进行压缩和/或编码处理,以方便传输。Preferably, the display source device may perform compression and/or encoding processing on the intercepted audio and video data by using a corresponding program running the preset storage space through its system interface before transmitting the audio and video data to facilitate transmission.
步骤S24、通过本端第二USB接口接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,使本端执行所述操控信号对应的动作。Step S24: Receive information from the first USB interface through the second USB interface of the local end, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, so that the local end Performing an action corresponding to the manipulation signal.
优选的,显示源设备端的用户可选择是否开启操控信号回传的功能,若用户选择开启操控信号回传的功能,则显示源设备在USB传屏连接建立成功之后,可通过其第二USB接口向显示设备发送回传请求;对应的,所述通信协议端口还包括:用于传输回传请求的端口。具体方式例如:获取显示源设备预设的回传请求标识位信息,根据回传请求标识位信息确定显示源设备的回传请求功能是否为开启状态;若是,生成回传请求指令;将所述回传请求指令适配到用于传输回传请求的端口,通过第二USB接口发送至所述第一USB接口,以通过所述嵌入式单元的系统通信接口发送至显示设备系统,以通知显示设备进行操控信号的回传。Preferably, the user of the display source device can select whether to enable the function of returning the control signal. If the user selects the function of turning back the control signal, the display source device can pass the second USB interface after the USB screen connection is successfully established. Sending a return request to the display device; correspondingly, the communication protocol port further includes: a port for transmitting the return request. Specifically, the method includes: obtaining, by the display source device, a backhaul request identifier bit information, and determining, according to the backhaul request identifier bit information, whether the backhaul request function of the display source device is in an open state; if yes, generating a backhaul request instruction; The return request instruction is adapted to the port for transmitting the return request, and is sent to the first USB interface through the second USB interface to be sent to the display device system through the system communication interface of the embedded unit to notify the display The device performs a return of the control signal.
需要说明的是,上述步骤S23和S24的执行顺序不限于上述顺序,两部分的执行顺序可调换,或者也可同时执行。It should be noted that the execution order of the above steps S23 and S24 is not limited to the above sequence, and the execution order of the two parts may be changed, or may be performed simultaneously.
图5为第二实施例的实现有线传屏的方法的详细流程图;参考图5,显示源设备端需执行的步骤如下:FIG. 5 is a detailed flowchart of a method for implementing wired screen transmission in the second embodiment; referring to FIG. 5, the steps to be performed on the source device side are as follows:
S201,运行显示源设备的通用驱动程序,在系统后台检测是否有符合设定特征的USB设备(即显示设备)接入;S201, running a universal driver for displaying the source device, and detecting, in the background of the system, whether a USB device (ie, a display device) that meets the set feature is accessed;
可通过特定ID(PID和/或VID)识别接入的USB设备是否为符合设定特征的显示设备。Whether the accessed USB device is a display device that conforms to the set feature can be identified by a specific ID (PID and/or VID).
S202,若有,则确认是否有收到通过显示设备的嵌入式单元发送的连接成功指令;S202, if yes, confirm whether there is a connection success instruction sent by the embedded unit of the display device;
本实施例中,显示源设备的通用驱动检测到第二USB接口接收到来自第一USB接口的信息,检测传输该信息的端口,若为用于传输连接信息的端口,则根据信号内容可识别出该信息是否为连接成功指令。In this embodiment, the universal driving of the display source device detects that the second USB interface receives the information from the first USB interface, and detects the port that transmits the information. If the port for transmitting the connection information is identifiable according to the signal content, Whether the information is a connection success instruction.
S203,若收到连接成功指令,则对显示源设备当前播放的画面和/或音频进行截取,经过压缩或者编 码成特定文件格式,通过显示源设备的第二USB接口发送给显示设备的嵌入式单元;S203. If a connection success instruction is received, intercepting a picture and/or audio currently displayed by the display source device, and compressing or compiling Coded into a specific file format, sent to the embedded unit of the display device through the second USB interface of the display source device;
优选的,显示源设备可根据用户操作生成存储空间访问指令,从显示设备的嵌入式单元提供给显示源设备的端口中获取用于访问存储空间的端口,将所述访问指令适配到所述用于访问存储空间的端口,通过第二USB接口发送至显示设备端的第一USB接口,以访问显示设备端对应的存储空间;并通过显示源设备系统接口运行所述存储空间的程序以截获显示源设备播放的画面和/或音频。由此,显示源设备无需预先安装对应的程序,实现了即插即用,为用户提供了方便。Preferably, the display source device may generate a storage space access instruction according to a user operation, obtain a port for accessing the storage space from a port provided by the embedded unit of the display device to the display source device, and adapt the access instruction to the The port for accessing the storage space is sent to the first USB interface of the display device through the second USB interface to access the storage space corresponding to the display device end; and the program for running the storage space is displayed by the display source device system interface to intercept the display The picture and/or audio played by the source device. Therefore, the display source device does not need to install the corresponding program in advance, and realizes plug and play, which provides convenience for the user.
还可通过显示源设备系统接口运行的嵌入式单元的程序对音视频数据进行压缩和/或编码,以便于传输。截获代码可存储在显示设备端嵌入式单元模拟的U盘中,在显示源设备在接入显示设备端的第一USB接口之后,通过对应的通信协议端口可查看存储在显示设备端的对应存储器,通过显示源设备系统接口运行相关程序以截获显示源设备播放的画面和/或音频(包括声音数据,还包括音量、声道等音频调节信息)。The audio and video data can also be compressed and/or encoded by a program that displays the embedded unit running on the source device system interface for transmission. The interception code can be stored in the U disk emulated by the embedded unit of the display device. After the display source device is connected to the first USB interface of the display device, the corresponding memory stored in the display device can be viewed through the corresponding communication protocol port. The display source device system interface runs related programs to intercept the screen and/or audio (including sound data, including audio adjustment information such as volume and channel) played by the display source device.
S204,确认显示源设备的回传请求功能开关是否打开(使用者可选择打开或关闭);S204, confirming whether the return request function switch of the display source device is turned on (the user can select to open or close);
本实施例中,在连接成功之后,可通过读取显示源设备预设的回传请求标识位信息,确定显示源设备的回传请求功能是否为开启状态。In this embodiment, after the connection is successful, the backhaul request identifier information preset by the display source device may be read to determine whether the return request function of the display source device is in an open state.
S205,若打开,则将回传请求指令通过显示源设备的第二USB接口发送给显示设备的嵌入式单元;S205, if opened, transmitting the return request command to the embedded unit of the display device through the second USB interface of the display source device;
若显示源设备当前的回传请求功能为开启状态,根据生成回传请求指令;将所述回传请求指令适配到用于传输回传请求的端口,通过显示源设备的第二USB接口发送至显示设备端的第一USB接口。If the current backhaul request function of the source device is displayed as being in an open state, according to generating a backhaul request instruction; adapting the backhaul request command to the port for transmitting the backhaul request, and sending through the second USB interface of the display source device To the first USB interface on the display device side.
S206,检测显示源设备的第二USB接口是否接收到显示设备的嵌入式单元回传的操控信号;S206. Detect whether the second USB interface of the display source device receives the control signal sent back by the embedded unit of the display device.
S207,若接收到,则执行对应的响应动作。S207, if received, performs a corresponding response action.
本实施例中,通过显示源设备的第二USB接口接收来自显示设备端第一USB接口的信息,检测传输该信息的端口,若为用于传输操控信号的端口,则可按照常规的处理外接HID设备操控事件的方式,识别回传的操控信号,并执行对应的动作。In this embodiment, the second USB interface of the display source device receives the information from the first USB interface of the display device, and detects the port that transmits the information. If the port is used for transmitting the control signal, the external processing may be performed according to the conventional processing. The way the HID device manipulates the event, recognizes the returned control signal, and performs the corresponding action.
可以理解的是,步骤S204和S205、步骤S206~S207的执行顺序不限于图中示例,也可先执行步骤S206~S207,再执行步骤S204和S205;或者两部分均按照各自设定的时间间隔并行执行。It can be understood that the execution order of steps S204 and S205 and steps S206-S207 is not limited to the example in the figure, and steps S206-S207 may be performed first, and then steps S204 and S205 may be performed; or both parts are set according to respective time intervals. Execute in parallel.
本实施例的有线传屏方法,通过将显示设备端增设一个用于实现传屏的嵌入式单元,将该嵌入式单元模拟成标准USB设备,通过该嵌入式单元提供的USB接口为显示源设备提供所需的若干通信协议端口,以建立显示源设备和显示设备的有线传屏连接;可降低对显示源设备的要求,实现即插即用,并且显示源设备和显示设备之间只需一条USB连接线便可实现音视频数据的传屏展示,同时还能实现显示设备端操控信号的回传,简化了传屏显示的布线,降低对用户接线难度。In the wired screen method of the embodiment, the embedded unit is simulated as a standard USB device by adding an embedded unit for realizing the screen, and the USB interface provided by the embedded unit is the display source device. Providing a plurality of communication protocol ports required to establish a wired screen connection of the display source device and the display device; reducing the requirement on the display source device, implementing plug and play, and only one between the display source device and the display device The USB cable can realize the transmission and display of audio and video data, and at the same time, it can realize the return of the control signal of the display device, simplify the wiring of the screen display, and reduce the difficulty of wiring the user.
通过上述实施例的实现有线传屏的方法,显示设备可通过所述嵌入式单元提供的USB接口模拟成若干类型的USB设备,安装有通用驱动的显示源设备可免特殊驱动识别。显示源设备还能够从显示设备端得到操控信号的数据流,截获音视频数据的代码可为显示源设备的系统接口,但是对应的程序数据可保存在显示设备端对应的存储器中,所述存储器中预先存储有用于数据通信和截获显示源设备音视频数据 的程序数据或者程序下载器。在显示源设备与显示设备端的第一USB接口建立USB连接之后,可访问所述存储器,通过运行其中对应的程序数据用于对显示源设备的画面或者音频进行截获。显示源设备还可通过运行其中对应的程序数据将音视频数据按照约定的协议打包,然后通过对应通信协议端口传送至显示设备端,显示设备端从第一USB接口收到数据包,通过嵌入式单元识别并转发至显示设备系统,经显示设备系统程序解析协议和包内容,解码音视频数据进行播放。Through the method for implementing wired screen transmission in the above embodiment, the display device can be simulated into several types of USB devices through the USB interface provided by the embedded unit, and the display source device mounted with the universal drive can be protected from special drive recognition. The display source device is also capable of obtaining a data stream of the manipulation signal from the display device end, and the code for intercepting the audio and video data may be a system interface of the display source device, but the corresponding program data may be stored in a memory corresponding to the display device end, the memory Pre-stored audio and video data for data communication and interception of display source devices Program data or program downloader. After the display source device establishes a USB connection with the first USB interface of the display device end, the memory can be accessed by running corresponding program data therein for intercepting the picture or audio of the display source device. The display source device may also package the audio and video data according to the agreed protocol by running the corresponding program data, and then transmit the data to the display device through the corresponding communication protocol port, and the display device receives the data packet from the first USB interface through the embedded device. The unit recognizes and forwards to the display device system, and decodes the audio and video data for playback by the display device system program parsing protocol and packet content.
显示设备端的系统软件还可以检测用户对显示源设备的触摸操作(或者其他操控信号),通过系统通信接口发送给所述嵌入式单元,通过所述嵌入式单元适配到对应的端口,并通过第一USB接口回传给显示源设备。显示源设备能够根据对应通信协议端口识别传过来的触摸操作信号,将其转换为对应的HID设备类似的操控事件并执行对应的响应(这个过程是显示源设备的MCU支持的,WINDOWS/MAC均有此功能),由此实现在显示设备端对显示源设备进行操控的效果。The system software of the display device side can also detect a touch operation (or other control signal) of the user on the display source device, send it to the embedded unit through the system communication interface, adapt to the corresponding port through the embedded unit, and pass the The first USB interface is returned to the display source device. The display source device can recognize the touch operation signal transmitted according to the corresponding communication protocol port, convert it into a similar HID device-like manipulation event and execute a corresponding response (this process is supported by the display device MCU, WINDOWS/MAC This function is enabled, thereby achieving the effect of manipulating the display source device on the display device side.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。It should be noted that, for the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In accordance with the present invention, certain steps may be performed in other sequences or concurrently.
基于与上述实施例中的实现有线传屏的方法相同的思想,本发明还提供实现有线传屏的装置及系统,装置及系统可用于执行上述实现有线传屏的方法。为了便于说明,实现有线传屏的装置及系统实施例的结构示意图中,仅仅示出了与本发明实施例相关的部分,本领域技术人员可以理解,图示结构并不构成对装置及系统的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Based on the same idea as the method for implementing wired screen transmission in the above embodiments, the present invention also provides an apparatus and system for implementing wired screen transmission, and the apparatus and system can be used to implement the above method for implementing wired screen transmission. For the convenience of the description, in the structural diagram of the device and the system embodiment for implementing the wired screen, only the parts related to the embodiment of the present invention are shown, and those skilled in the art can understand that the illustrated structure does not constitute the device and the system. The definition may include more or fewer components than those illustrated, or some components may be combined, or different component arrangements.
图6为本发明一实施例的实现有线传屏的装置的示意性结构图,如图6所示,本实施例的实现有线传屏的装置具体包括第二设备MCU100和一用于实现传屏的嵌入式单元200,所述嵌入式单元200与第二设备MCU100通信连接;其中,所述第二设备MCU100,用于接收所述嵌入式单元转发的音视频数据,使第二设备播放相应的音视频;以及用于获取对第二设备播放的画面和/或音频的操控信号,并发送给所述嵌入式单元;其中,所述嵌入式单元200包括:端口模拟模块510、连接建立模块520、音视频数据转发模块530以及操控信号回传模块540,各模块详述如下:FIG. 6 is a schematic structural diagram of an apparatus for implementing a wired screen according to an embodiment of the present invention. As shown in FIG. 6, the apparatus for implementing a wired screen in this embodiment specifically includes a second device MCU 100 and a device for implementing a screen. The embedded unit 200 is in communication with the second device MCU 100. The second device MCU 100 is configured to receive audio and video data forwarded by the embedded unit, so that the second device plays the corresponding And an audio signal; and a control signal for acquiring a picture and/or audio played on the second device, and sent to the embedded unit; wherein the embedded unit 200 includes: a port simulation module 510, and a connection establishment module 520. The audio and video data forwarding module 530 and the control signal returning module 540 are detailed as follows:
所述端口模拟模块510,用于向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;The port emulation module 510 is configured to provide a plurality of communication protocol ports to the first device, where the communication protocol port can be recognized by the universal drive of the first device; the universal drive of the first device provides the first device and the standard USB a universal communication protocol for communication between devices, the communication protocol port including at least: a port for transmitting audio and video data and a port for transmitting a control signal;
所述连接建立模块520,用于通过所述通信协议端口、所述嵌入式单元200的第一USB接口建立所述嵌入式单元200与第一设备的USB通信连接;The connection establishing module 520 is configured to establish a USB communication connection between the embedded unit 200 and the first device by using the communication protocol port and the first USB interface of the embedded unit 200;
所述音视频数据转发模块530,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据;将所述音视频数据转发至第二设备MCU;The audio and video data forwarding module 530 is configured to detect that the first USB interface has information from the first device, detect a port that transmits the information, and if it is a port for transmitting audio and video data, identify the information as a tone. Video data; forwarding the audio and video data to a second device MCU;
所述操控信号回传模块540,用于接收第二设备MCU发送的操控信号,将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信 号后执行所述操控信号对应的动作。The control signal returning module 540 is configured to receive a control signal sent by the second device MCU, adapt the control signal to a port for transmitting a control signal, and send the first signal to the first device by using the first USB interface Instructing the first device to receive the manipulation letter The action corresponding to the manipulation signal is executed after the number.
优选的,所述通信协议端口还包括:用于传输连接信息的端口;对应的,所述嵌入式单元200还包括:连接确认模块(图中未示出),用于生成连接成功指令并适配到用于传输连接信息的端口,通过所述第一USB接口发送至第一设备,以告知第一设备连接建立成功。Preferably, the communication protocol port further includes: a port for transmitting connection information; correspondingly, the embedded unit 200 further includes: a connection confirmation module (not shown), configured to generate a connection success instruction and The port is configured to transmit the connection information, and is sent to the first device by using the first USB interface to notify the first device that the connection is successfully established.
优选的,所述通信协议端口还包括:用于传输回传请求的端口;对应的,所述嵌入式单元200还包括回传请求模块(图中未示出),用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口;若为用于传输回传请求的端口,将该信息识别为回传请求指令,并发送给第二设备MCU100;对应的,所述第二设备MCU100,还用于接收所述嵌入式单元发送的回传请求指令,开启第二设备用于回传操控信息的功能。Preferably, the communication protocol port further includes: a port for transmitting a return request; correspondingly, the embedded unit 200 further includes a backhaul request module (not shown) for detecting the first USB The interface has information from the first device, detects a port that transmits the information; if it is a port for transmitting a return request, the information is identified as a backhaul request command, and is sent to the second device MCU 100; correspondingly, the The second device MCU 100 is further configured to receive a return request command sent by the embedded unit, and enable a function of the second device for returning the control information.
优选的,所述通信协议端口还包括:用于访问存储空间的端口;对应的,所述嵌入式单元200还包括:存储模块550,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口;若为用于访问存储空间的端口,则将所述嵌入式单元的预设存储空间展示给第一设备,使第一设备系统接口通过运行所述存储空间的程序用于截获第一设备播放的画面和/或音频。Preferably, the communication protocol port further includes: a port for accessing the storage space; correspondingly, the embedded unit 200 further includes: a storage module 550, configured to detect that the first USB interface has information from the first device Detecting a port for transmitting the information; if it is a port for accessing the storage space, displaying the preset storage space of the embedded unit to the first device, so that the first device system interface passes the program for running the storage space Used to intercept the picture and/or audio played by the first device.
本实施例中,第一设备为显示源设备,第二设备为显示设备;第一USB接口的属性为USB device。In this embodiment, the first device is a display source device, and the second device is a display device; the attribute of the first USB interface is a USB device.
图7为第二实施例的实现有线传屏的装置的示意性结构图。如图7所示,本实施例的实现有线传屏的装置包括:FIG. 7 is a schematic structural diagram of an apparatus for implementing wired screen transmission of the second embodiment. As shown in FIG. 7, the apparatus for implementing wired screen transmission in this embodiment includes:
USB识别模块610,用于通过预安装的通用驱动识别接入第一设备的第二USB接口的第二设备提供的通信协议端口,所述通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述第二设备通过所述第一USB接口接入第一设备第二USB接口并提供若干能够被通用驱动识别的通信协议端口;The USB identification module 610 is configured to identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the first device, where the universal driver provides communication between the first device and the standard USB device a universal communication protocol, the communication protocol port at least comprising: a port for transmitting audio and video data and a port for transmitting a control signal; and the second device is provided with an embedded unit for implementing the screen, The embedded unit is provided with a first USB interface, the embedded unit is communicatively coupled to the second device MCU, and the second device accesses the first device and the second USB interface through the first USB interface and provides a plurality of Drive identification communication protocol port;
音视频截获模块620,用于截获第一设备播放的画面和/或音频;The audio and video intercepting module 620 is configured to intercept a picture and/or audio played by the first device;
音视频发送模块630,用于将截获到的音视频数据通过第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应。The audio and video sending module 630 is configured to send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface, where the designated port is adapted to be used for transmitting audio and video data.
以及,操控信号接收模块640,用于接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,并执行对应动作。And a control signal receiving module 640, configured to receive information from the first USB interface, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, and perform corresponding action.
优选的,所述通信协议端口还包括:用于访问存储空间的端口;对应的,所述音视频截获模块620:具体用于生成的访问指令并适配到用于访问存储空间的端口,并通过第二USB接口发送至所述第一USB接口,以访问所述嵌入式单元的预设存储空间,并通过第一设备系统接口运行所述存储空间的程序以截获本端播放的画面和/或音频。Preferably, the communication protocol port further includes: a port for accessing the storage space; correspondingly, the audio and video intercepting module 620 is specifically configured to generate the access instruction and adapt to a port for accessing the storage space, and Sending to the first USB interface through the second USB interface to access the preset storage space of the embedded unit, and running the program of the storage space through the first device system interface to intercept the picture played by the local end and/or Or audio.
优选的,所述通信协议端口还包括:用于传输回传请求的端口;对应的,所述的实现有线传屏的装置还包括:回传请求模块(图中未示出),用于获取第一设备预设的回传请求标识位信息,根据回传请求 标识位信息确定第一设备的回传请求功能是否为开启状态;若是,生成回传请求指令;将所述回传请求指令适配到用于传输回传请求的端口,并通过第二USB接口发送至所述第一USB接口,以通过所述嵌入式单元发送至第二设备MCU,以开启第二设备用于回传操控信号的功能。Preferably, the communication protocol port further includes: a port for transmitting a return request; correspondingly, the device for implementing the wired screen further includes: a backhaul request module (not shown) for acquiring The backhaul request identifier information preset by the first device, according to the return request The flag information determines whether the backhaul request function of the first device is in an open state; if yes, generates a backhaul request command; adapts the backhaul request command to a port for transmitting the backhaul request, and passes the second USB interface Sending to the first USB interface for sending to the second device MCU through the embedded unit to enable the function of the second device for returning the control signal.
本实施例中,第一设备为显示源设备,第二设备为显示设备;第一USB接口的属性为USB device,第二USB接口的属性为USB host。In this embodiment, the first device is a display source device, and the second device is a display device; the attribute of the first USB interface is a USB device, and the attribute of the second USB interface is a USB host.
需要说明的是,上述示例的实现有线传屏的装置的实施方式中,各模块/单元之间的信息交互、执行过程等内容,由于与本发明前述方法实施例基于同一构思,其带来的技术效果与本发明前述方法实施例相同,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that, in the implementation of the device for implementing wired screen in the above example, the information interaction, the execution process, and the like between the modules/units are based on the same concept as the foregoing method embodiments of the present invention. The technical effects are the same as those of the foregoing method embodiments of the present invention. For details, refer to the description in the method embodiment of the present invention, and details are not described herein again.
此外,上述示例的实现有线传屏的装置的实施方式中,各功能模块的逻辑划分仅是举例说明,实际应用中可以根据需要,例如出于相应硬件的配置要求或者软件的实现的便利考虑,将上述功能分配由不同的功能模块完成,即将所述实现有线传屏的装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。其中各功能模既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, in the implementation of the foregoing apparatus for implementing wired screen transmission, the logical division of each functional module is merely an example, and the actual application may be considered according to requirements, for example, for configuration requirements of corresponding hardware or convenience of implementation of software. The above-mentioned function allocation is completed by different function modules, that is, the internal structure of the device for implementing wired screen is divided into different functional modules to complete all or part of the functions described above. Each function module can be implemented in the form of hardware or in the form of a software function module.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,作为独立的产品销售或使用。所述程序在执行时,可执行如上述各方法的实施例的全部或部分步骤。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。It will be understood by those skilled in the art that all or part of the processes in the above embodiments may be implemented by a computer program to instruct related hardware, and the program may be stored in a computer readable storage medium as Independent product sales or use. The program, when executed, may perform all or part of the steps of an embodiment of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。可以理解,其中所使用的术语“第一”、“第二”等在本文中用于区分对象,但这些对象不受这些术语限制。In the above embodiments, the descriptions of the various embodiments are all focused, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments. It will be understood that the terms "first", "second", and the like, as used herein, are used herein to distinguish an object, but these are not limited by these terms.
以上所述实施例仅表达了本发明的几种实施方式,不能理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above-described embodiments are merely illustrative of several embodiments of the invention and are not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (22)

  1. 一种实现有线传屏的方法,其特征在于,预先在本端设置一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与本端MCU通信连接;A method for implementing a wired screen is characterized in that an embedded unit for realizing a screen is provided in advance at the local end, and the embedded unit is provided with a first USB interface, the embedded unit and the local MCU Communication connection
    所述实现有线传屏的方法包括如下步骤:The method for implementing wired screen transmission includes the following steps:
    通过本端的嵌入式单元向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议;所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;Providing, by the embedded unit of the local end, a plurality of communication protocol ports to the first device, the communication protocol port being identifiable by the universal drive of the first device; the universal drive of the first device providing the first device and the standard USB device a universal communication protocol for communication; the communication protocol port at least comprising: a port for transmitting audio and video data and a port for transmitting a control signal;
    通过所述通信协议端口、所述第一USB接口建立本端与第一设备的USB通信连接;Establishing a USB communication connection between the local end and the first device by using the communication protocol port and the first USB interface;
    检测到第一USB接口有来自第一设备的信息,通过所述嵌入式单元检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据,并转发给本端MCU,以使本端播放对应的音视频;Detecting that the first USB interface has information from the first device, and detecting, by the embedded unit, a port that transmits the information, if it is a port for transmitting audio and video data, identifying the information as audio and video data, and forwarding Give the local MCU to enable the local end to play the corresponding audio and video;
    获取本端检测到的对第一设备的操控信号,并发送给所述嵌入式单元;通过所述嵌入式单元将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信号后执行所述操控信号对应的动作。Acquiring, by the local end, a control signal for the first device, and sending the control signal to the embedded unit; adapting, by the embedded unit, the control signal to a port for transmitting a control signal, and passing the A USB interface is sent to the first device, and the first device is instructed to perform an action corresponding to the control signal after receiving the control signal.
  2. 根据权利要求1所述的实现有线传屏的方法,其特征在于,所述通信协议端口还包括:用于传输连接信息的端口;The method for implementing wired screen transmission according to claim 1, wherein the communication protocol port further comprises: a port for transmitting connection information;
    通过所述通信协议端口、所述第一USB接口建立本端与第一设备的USB通信连接之后还包括:After the USB communication connection between the local device and the first device is established by using the communication protocol port and the first USB interface, the method further includes:
    生成连接成功指令并发送至所述嵌入式单元;通过所述嵌入式单元将所述连接成功指令适配到用于传输连接信息的端口,并通过第一USB接口发送至第一设备。Generating a connection success instruction and transmitting to the embedded unit; adapting the connection success instruction to the port for transmitting connection information by the embedded unit, and transmitting to the first device through the first USB interface.
  3. 根据权利要求1所述的实现有线传屏的方法,其特征在于,所述通信协议端口还包括:用于传输回传请求的端口;The method for implementing wired screen transmission according to claim 1, wherein the communication protocol port further comprises: a port for transmitting a backhaul request;
    检测到第一USB接口有来自第一设备的信息,通过所述嵌入式单元检测传输该信息的端口之后还包括:Detecting that the first USB interface has information from the first device, and after detecting, by the embedded unit, the port that transmits the information, the method further includes:
    若为用于传输回传请求的端口,则将该信息识别为回传请求指令,并转发给本端MCU,以开启本端用于回传操控信息的功能。If the port is used for transmitting the backhaul request, the information is identified as a backhaul request command and forwarded to the local MCU to enable the local end to return the control information.
  4. 根据权利要求1所述的实现有线传屏的方法,其特征在于,所述通信协议端口还包括:用于访问存储空间的端口;所述嵌入式单元还提供一存储空间,所述存储空间中至少存储有用于截获第一设备播放的画面和/或音频的程序;The method for implementing wired screen transmission according to claim 1, wherein the communication protocol port further comprises: a port for accessing a storage space; the embedded unit further provides a storage space, wherein the storage space is Having at least a program for capturing a picture and/or audio played by the first device;
    检测到第一USB接口有来自第一设备的信息,通过所述嵌入式单元检测传输该信息的端口之后还包括:Detecting that the first USB interface has information from the first device, and after detecting, by the embedded unit, the port that transmits the information, the method further includes:
    若为用于访问存储空间的端口,则将该信息识别为存储空间访问指令;将所述嵌入式单元的存储空间展示给第一设备,使得第一设备系统接口通过运行所述存储空间的程序用于截获第一设备播放的画面和/或音频。 If the port is used to access the storage space, the information is identified as a storage space access instruction; the storage space of the embedded unit is presented to the first device, so that the first device system interface passes the program that runs the storage space Used to intercept the picture and/or audio played by the first device.
  5. 根据权利要求1至4任一所述的实现有线传屏的方法,其特征在于,A method for implementing wired screen transmission according to any one of claims 1 to 4, characterized in that
    第一设备为显示源设备,本端为显示设备;The first device is a display source device, and the local device is a display device;
    第一USB接口的属性为USB device。The property of the first USB interface is a USB device.
  6. 根据权利要求1所述的实现有线传屏的方法,其特征在于,将该信息识别为音视频数据,并转发给本端MCU之后还包括:The method for implementing a wired screen according to claim 1, wherein the identifying the information as audio and video data and forwarding the data to the local MCU further comprises:
    通过本端MCU对所述音视频数据进行解压和/或解编处理。The audio and video data is decompressed and/or decomposed by the local MCU.
  7. 根据权利要求1所述的实现有线传屏的方法,其特征在于,所述操控信号的类型包括:触摸控制信号或者红外遥控信号。The method for implementing wired screen according to claim 1, wherein the type of the control signal comprises: a touch control signal or an infrared remote control signal.
  8. 根据权利要求1至7任一所述的实现有线传屏的方法,其特征在于,所述将该信息识别为音视频数据,并转发给本端MCU的步骤包括:The method for implementing a wired screen according to any one of claims 1 to 7, wherein the step of identifying the information as audio and video data and forwarding the data to the local MCU comprises:
    将该信息识别为音视频数据,若监听到预设的用于指示信息转发的触发控制信号,则将识别出的音视频数据转发给本端MCU。The information is identified as audio and video data, and if the preset trigger control signal for indicating information forwarding is monitored, the identified audio and video data is forwarded to the local MCU.
  9. 一种实现有线传屏的方法,其特征在于,包括:A method for implementing wired screen transmission, comprising:
    通过预安装的通用驱动识别接入本端第二USB接口的第二设备提供的通信协议端口;所述通用驱动提供了本端和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述第二设备通过所述第一USB接口接入本端第二USB接口并提供若干能够被通用驱动识别的通信协议端口;Identifying, by a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the local end; the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device, the communication protocol port Included at least: a port for transmitting audio and video data and a port for transmitting a control signal; the second device is provided with an embedded unit for implementing a screen, and the embedded unit is provided with a first USB interface, The embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocol ports that can be recognized by the universal driver;
    截获本端播放的画面和/或音频;Intercepting the picture and/or audio played by the local end;
    将截获到的音视频数据通过本端第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应,以通过所述嵌入式单元转发给第二设备MCU,以使第二设备播放相应的音视频;Transmitting the intercepted audio and video data to the first USB interface through a designated port of the second USB interface of the local end, the designated port is adapted to be used for transmitting the audio and video data, to be forwarded by the embedded unit Giving the second device MCU to enable the second device to play the corresponding audio and video;
    通过本端第二USB接口接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,本端执行所述操控信号对应的动作。Receiving, by the second USB interface of the local end, information from the first USB interface, detecting a port for transmitting the information; if the port is used for transmitting a control signal, identifying the information as a control signal, and performing, by the local end, the control The action corresponding to the signal.
  10. 根据权利要求9所述的实现有线传屏的方法,其特征在于,所述通信协议端口还包括:用于访问存储空间的端口;所述嵌入式单元还提供一存储空间,所述存储空间中存储有用于截获本端播放的画面和/或音频的程序;The method for implementing wired screen transmission according to claim 9, wherein the communication protocol port further comprises: a port for accessing a storage space; the embedded unit further provides a storage space, wherein the storage space is Storing a program for intercepting pictures and/or audio played by the local end;
    截获本端播放的画面和/或音频的步骤包括:The steps of intercepting the picture and/or audio played by the local end include:
    生成的访问指令并适配到用于访问存储空间的端口,通过本端第二USB接口发送至所述第一USB接口,以访问所述嵌入式单元的存储空间,并通过本端系统接口运行所述存储空间的程序以截获本端播放的画面和/或音频。The generated access instruction is adapted to the port for accessing the storage space, and is sent to the first USB interface through the second USB interface of the local end to access the storage space of the embedded unit and run through the local system interface. The program of the storage space captures the picture and/or audio played by the local end.
  11. 根据权利要求9所述的实现有线传屏的方法,其特征在于,所述通信协议端口还包括:用于传输回传请求的端口; The method for implementing wired screen transmission according to claim 9, wherein the communication protocol port further comprises: a port for transmitting a backhaul request;
    通过预安装的通用驱动识别接入本端第二USB接口的第二设备提供的通信协议端口之后还包括:After the communication protocol port provided by the second device that accesses the second USB interface of the local terminal is identified by the pre-installed universal driver, the method further includes:
    获取本端预设的回传请求标识位信息,根据回传请求标识位信息确定本端的回传请求功能是否为开启状态;若是,生成回传请求指令;Obtaining the backhaul request identifier bit information of the local end, determining whether the backhaul request function of the local end is the open state according to the backhaul request identifier bit information; if yes, generating a backhaul request instruction;
    将所述回传请求指令适配到用于传输回传请求的端口,并通过本端第二USB接口发送至所述第一USB接口,以通过所述嵌入式单元发送至第二设备MCU。The backhaul request instruction is adapted to the port for transmitting the backhaul request, and is sent to the first USB interface through the local second USB interface to be sent to the second device MCU through the embedded unit.
  12. 根据权利要求10所述的实现有线传屏的方法,其特征在于,将截获到的音视频数据适配到用于传输音视频数据的端口之前还包括:The method for implementing wired screen transmission according to claim 10, wherein before the intercepting the audio and video data to the port for transmitting the audio and video data, the method further comprises:
    通过本端系统接口运行所述嵌入式单元的存储空间的相应程序对截获到的音视频数据进行压缩和/或编码处理。The intercepted audio and video data is compressed and/or encoded by a corresponding program that runs the storage space of the embedded unit through the local system interface.
  13. 根据权利要求9至12任一所述的实现有线传屏的方法,其特征在于,本端为显示源设备;所述第二设备为显示设备;The method for implementing a wired screen according to any one of claims 9 to 12, wherein the local device is a display source device; and the second device is a display device;
    所述第一USB接口的属性为USB device,第二USB接口的属性为USB host。The attribute of the first USB interface is a USB device, and the attribute of the second USB interface is a USB host.
  14. 一种实现有线传屏的装置,其特征在于,包括第二设备MCU和一用于实现传屏的嵌入式单元,所述嵌入式单元与第二设备MCU通信连接;An apparatus for implementing a wired screen, comprising: a second device MCU and an embedded unit for implementing a screen, wherein the embedded unit is communicably connected to the second device MCU;
    其中,所述第二设备MCU,用于接收所述嵌入式单元转发的音视频数据,使第二设备播放相应的音视频;以及用于获取对第二设备播放的画面和/或音频的操控信号,并发送给所述嵌入式单元;The second device MCU is configured to receive audio and video data forwarded by the embedded unit, to enable the second device to play the corresponding audio and video, and to obtain control of the picture and/or audio played by the second device. Signaling and transmitting to the embedded unit;
    所述嵌入式单元包括:The embedded unit includes:
    端口模拟模块,用于向第一设备提供若干通信协议端口,所述通信协议端口能够被第一设备的通用驱动识别;所述第一设备的通用驱动提供了第一设备和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;a port simulation module, configured to provide a plurality of communication protocol ports to the first device, the communication protocol port being identifiable by a universal drive of the first device; the universal drive of the first device providing a relationship between the first device and the standard USB device a universal communication protocol for communication, the communication protocol port comprising at least a port for transmitting audio and video data and a port for transmitting a control signal;
    连接建立模块,用于通过所述通信协议端口、所述嵌入式单元的第一USB接口建立所述嵌入式单元与第一设备的USB通信连接;a connection establishing module, configured to establish, by using the communication protocol port, the first USB interface of the embedded unit, a USB communication connection between the embedded unit and the first device;
    音视频数据转发模块,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口,若为用于传输音视频数据的端口,则将该信息识别为音视频数据;将所述音视频数据转发至第二设备MCU;The audio and video data forwarding module is configured to detect that the first USB interface has information from the first device, and detects a port that transmits the information, and if it is a port for transmitting audio and video data, the information is recognized as audio and video data; Transmitting the audio and video data to a second device MCU;
    操控信号回传模块,用于接收第二设备MCU发送的操控信号,将所述操控信号适配到用于传输操控信号的端口,并通过所述第一USB接口发送至第一设备,指示第一设备在接收到所述操控信号后执行所述操控信号对应的动作。The control signal returning module is configured to receive a control signal sent by the second device MCU, adapt the control signal to a port for transmitting the control signal, and send the first signal to the first device by using the first USB interface, indicating A device performs an action corresponding to the manipulation signal after receiving the manipulation signal.
  15. 根据权利要求14所述的实现有线传屏的装置,其特征在于,所述通信协议端口还包括:用于传输连接信息的端口;The apparatus for implementing wired screen transmission according to claim 14, wherein the communication protocol port further comprises: a port for transmitting connection information;
    所述嵌入式单元还包括:The embedded unit further includes:
    连接确认模块,用于生成连接成功指令并适配到用于传输连接信息的端口,通过所述第一USB接口发送至第一设备。 And a connection confirmation module, configured to generate a connection success instruction and adapt to a port for transmitting connection information, and send to the first device through the first USB interface.
  16. 根据权利要求14所述的实现有线传屏的装置,其特征在于,所述通信协议端口还包括:用于传输回传请求的端口;The apparatus for implementing wired screen transmission according to claim 14, wherein the communication protocol port further comprises: a port for transmitting a backhaul request;
    所述嵌入式单元还包括:The embedded unit further includes:
    回传请求接收模块,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口;若为用于传输回传请求的端口,将该信息识别为回传请求指令,并发送给第二设备MCU;a backhaul request receiving module, configured to detect that the first USB interface has information from the first device, and detects a port that transmits the information; if the port is used to transmit the backhaul request, the information is identified as a backhaul request command, And sent to the second device MCU;
    所述第二设备MCU,还用于接收所述嵌入式单元发送的回传请求指令,开启第二设备用于回传操控信息的功能。The second device MCU is further configured to receive a return request command sent by the embedded unit, and enable a function of the second device for returning the control information.
  17. 根据权利要求14所述的实现有线传屏的装置,其特征在于,所述通信协议端口还包括:用于访问存储空间的端口;The device for implementing wired screen transmission according to claim 14, wherein the communication protocol port further comprises: a port for accessing a storage space;
    所述嵌入式单元还包括:The embedded unit further includes:
    所述存储模块,用于检测到第一USB接口有来自第一设备的信息,检测传输该信息的端口;若为用于访问存储空间的端口,则将所述嵌入式单元的预设存储空间展示给第一设备,使第一设备系统接口通过运行所述存储空间的程序用于截获第一设备播放的画面和/或音频。The storage module is configured to detect that the first USB interface has information from the first device, and detects a port that transmits the information; if the port is used to access the storage space, the preset storage space of the embedded unit is used. Displayed to the first device, the first device system interface is used to intercept the picture and/or audio played by the first device by running the program of the storage space.
  18. 根据权利要求14至17任一所述的实现有线传屏的装置,其特征在于,第一设备为显示源设备,第二设备为显示设备;The device for implementing wired screen transmission according to any one of claims 14 to 17, wherein the first device is a display source device, and the second device is a display device;
    第一USB接口的属性为USB device。The property of the first USB interface is a USB device.
  19. 一种实现有线传屏的装置,其特征在于,包括:An apparatus for implementing wired screen transmission, comprising:
    USB识别模块,用于通过预安装的通用驱动识别接入本端第二USB接口的第二设备提供的通信协议端口;所述通用驱动提供了本端和标准USB设备之间通信的通用通信协议,所述通信协议端口至少包括:用于传输音视频数据的端口和用于传输操控信号的端口;所述第二设备中设置有一用于实现传屏的嵌入式单元,所述嵌入式单元提供有第一USB接口,所述嵌入式单元与第二设备MCU通信连接,所述第二设备通过所述第一USB接口接入本端第二USB接口并提供若干能够被通用驱动识别的通信协议端口;a USB identification module, configured to identify, by using a pre-installed universal driver, a communication protocol port provided by a second device that accesses the second USB interface of the local end; the universal driver provides a universal communication protocol for communication between the local terminal and the standard USB device The communication protocol port includes at least a port for transmitting audio and video data and a port for transmitting a control signal, and an embedded unit for implementing the screen is disposed in the second device, where the embedded unit provides There is a first USB interface, the embedded unit is in communication with the second device MCU, and the second device accesses the local second USB interface through the first USB interface and provides a plurality of communication protocols that can be recognized by the universal driver. port;
    音视频截获模块,用于截获本端播放的画面和/或音频;An audio and video intercepting module, configured to intercept a picture and/or audio played by the local end;
    音视频发送模块,用于将截获到的音视频数据通过本端第二USB接口的指定端口发送至所述第一USB接口,所述指定端口与用于传输音视频数据的端口相适应;An audio and video sending module, configured to send the intercepted audio and video data to the first USB interface through a designated port of the second USB interface of the local end, where the designated port is adapted to a port for transmitting audio and video data;
    操控信号接收模块,用于接收来自所述第一USB接口的信息,检测传输该信息的端口;若为用于传输操控信号的端口,则将该信息识别为操控信号,使本端执行所述操控信号对应的动作。a control signal receiving module, configured to receive information from the first USB interface, and detect a port that transmits the information; if it is a port for transmitting a control signal, identify the information as a control signal, so that the local end performs the The action corresponding to the control signal.
  20. 根据权利要求19所述的实现有线传屏的装置,其特征在于,所述通信协议端口还包括:用于访问存储空间的端口;The device for implementing wired screen transmission according to claim 19, wherein the communication protocol port further comprises: a port for accessing a storage space;
    所述音视频截获模块:用于生成的访问指令并适配到用于访问存储空间的端口,并通过本端第二USB接口发送至所述第一USB接口,以访问所述嵌入式单元的预设存储空间,并通过本端系统接口运行所述存储空间的程序以截获本端播放的画面和/或音频。 The audio and video intercepting module: the access instruction for generating and adapting to the port for accessing the storage space, and sending the first USB interface to the first USB interface through the local second USB interface to access the embedded unit Presetting the storage space and running the program of the storage space through the local system interface to intercept the picture and/or audio played by the local end.
  21. 根据权利要求19所述的实现有线传屏的装置,其特征在于,所述通信协议端口还包括:用于传输回传请求的端口;The apparatus for implementing wired screen transmission according to claim 19, wherein the communication protocol port further comprises: a port for transmitting a backhaul request;
    所述的实现有线传屏的装置还包括:The device for implementing wired screen transmission further includes:
    回传请求模块,用于获取本端预设的回传请求标识位信息,根据回传请求标识位信息确定本端的回传请求功能是否为开启状态;若是,生成回传请求指令并适配到用于传输回传请求的端口,通过本端第二USB接口发送至所述第一USB接口,以通过所述嵌入式单元发送至第二设备MCU。The backhaul request module is configured to obtain the backhaul request identifier information preset by the local end, and determine whether the backhaul request function of the local end is enabled according to the backhaul request identifier information; if yes, generate a backhaul request command and adapt to The port for transmitting the return request is sent to the first USB interface through the second USB interface of the local end to be sent to the second device MCU through the embedded unit.
  22. 根据权利要求19至21任一所述的实现有线传屏的装置,其特征在于,本端为显示源设备,第二设备为显示设备;The device for implementing wired screen transmission according to any one of claims 19 to 21, wherein the local device is a display source device, and the second device is a display device;
    第一USB接口的属性为USB device,第二USB接口的属性为USB host。 The attribute of the first USB interface is a USB device, and the attribute of the second USB interface is a USB host.
PCT/CN2017/103472 2016-10-12 2017-09-26 Method and apparatus for wired screen transmission WO2018090724A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201610890277 2016-10-12
CN201611048840.0A CN107948569B (en) 2016-10-12 2016-11-21 Method and device for realizing wired screen transmission
CN201611048840.0 2016-11-21

Publications (1)

Publication Number Publication Date
WO2018090724A1 true WO2018090724A1 (en) 2018-05-24

Family

ID=61929018

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103472 WO2018090724A1 (en) 2016-10-12 2017-09-26 Method and apparatus for wired screen transmission

Country Status (2)

Country Link
CN (1) CN107948569B (en)
WO (1) WO2018090724A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740168A (en) * 2019-07-26 2021-04-30 西安诺瓦星云科技股份有限公司 Wireless screen projection method and LED display

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629239B (en) * 2020-04-29 2022-01-25 腾讯科技(深圳)有限公司 Screen projection processing method, device, equipment and computer readable storage medium
CN115119034A (en) * 2021-03-17 2022-09-27 浙江宇视科技有限公司 Video window roaming method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404377A (en) * 2010-09-13 2012-04-04 现代自动车株式会社 Terminal having content interworking function and method thereof
TW201317879A (en) * 2011-10-20 2013-05-01 Magic Control Technology Corp Synchronized operation system and method for touch device
CN104572003A (en) * 2015-01-30 2015-04-29 深圳市国华光电科技有限公司 Second screen terminal and communication system with same
CN205507739U (en) * 2016-02-04 2016-08-24 白思稼 Smart mobile phone expands screen device
WO2016142713A1 (en) * 2015-03-10 2016-09-15 Displaylink (Uk) Limited System for connecting external displays to a mobile device
CN105955685A (en) * 2016-04-25 2016-09-21 广州视睿电子科技有限公司 Screen transmission demonstration content control method, apparatus and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5082209B2 (en) * 2005-06-27 2012-11-28 株式会社日立製作所 Transmission device, reception device, and video signal transmission / reception system
CN102054469A (en) * 2009-11-04 2011-05-11 联想(北京)有限公司 Display and display method thereof
CN105282601A (en) * 2014-07-07 2016-01-27 乐视致新电子科技(天津)有限公司 One screen sharing method, apparatus and system
CN105979334A (en) * 2016-07-06 2016-09-28 乐视控股(北京)有限公司 Screen content transmission system, terminal and screen content transmission method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404377A (en) * 2010-09-13 2012-04-04 现代自动车株式会社 Terminal having content interworking function and method thereof
TW201317879A (en) * 2011-10-20 2013-05-01 Magic Control Technology Corp Synchronized operation system and method for touch device
CN104572003A (en) * 2015-01-30 2015-04-29 深圳市国华光电科技有限公司 Second screen terminal and communication system with same
WO2016142713A1 (en) * 2015-03-10 2016-09-15 Displaylink (Uk) Limited System for connecting external displays to a mobile device
CN205507739U (en) * 2016-02-04 2016-08-24 白思稼 Smart mobile phone expands screen device
CN105955685A (en) * 2016-04-25 2016-09-21 广州视睿电子科技有限公司 Screen transmission demonstration content control method, apparatus and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112740168A (en) * 2019-07-26 2021-04-30 西安诺瓦星云科技股份有限公司 Wireless screen projection method and LED display
CN112740168B (en) * 2019-07-26 2023-09-12 西安诺瓦星云科技股份有限公司 Wireless screen projection method and LED display

Also Published As

Publication number Publication date
CN107948569A (en) 2018-04-20
CN107948569B (en) 2021-06-18

Similar Documents

Publication Publication Date Title
WO2018090723A1 (en) Method and apparatus for realizing wired screen delivery
WO2018090720A1 (en) Method and apparatus for plug and play screen mirroring
WO2018090721A1 (en) Usb cable screen delivery method and device
WO2018090722A1 (en) Method and apparatus for realizing wired screen delivery
AU2019239357B2 (en) Data transmission device, and data transmission method
US10726068B2 (en) App processing method and apparatus
EP3706365B1 (en) Secondary-stream data transmission method and display method for use in conference, conference system, and peripheral device
WO2021169495A1 (en) Network configuration method for intelligent device, and related apparatuses
WO2020078300A1 (en) Method for controlling screen projection of terminal and terminal
CN107333082A (en) A kind of wireless cooperation system and its implementation based on USB Type C interface
CN110442366B (en) Screen transmission processing method, device, equipment and storage medium
WO2018090724A1 (en) Method and apparatus for wired screen transmission
CN112740168B (en) Wireless screen projection method and LED display
CN106412683A (en) System and method for realizing audio and video transmission and interactive signaling through USB interface
US20050185102A1 (en) Single touch launch of remote applications over video
US9244699B2 (en) Method and system for audio device virtualization
WO2018000625A1 (en) Method for controlling bluetooth signal response in television and related device
TWI634784B (en) Digital media content playing transfer method and application device thereof
US11379397B2 (en) Transmission device capable of control feedback and control feedback method
US20060142991A1 (en) Remote USB network device control
CN103902395B (en) The control method and electric terminal of information input
WO2012151917A1 (en) Method, apparatus and system for remote controlling network multimedia service
US20080071950A1 (en) Thin client implementation based on redirection of virtual i/o devices
US20240232112A1 (en) Dongle Providing Operational Information
CN216527162U (en) Screen transmission device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17872249

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 07/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17872249

Country of ref document: EP

Kind code of ref document: A1