WO2024082278A1 - 数据传输方法和数据传输设备 - Google Patents

数据传输方法和数据传输设备 Download PDF

Info

Publication number
WO2024082278A1
WO2024082278A1 PCT/CN2022/126765 CN2022126765W WO2024082278A1 WO 2024082278 A1 WO2024082278 A1 WO 2024082278A1 CN 2022126765 W CN2022126765 W CN 2022126765W WO 2024082278 A1 WO2024082278 A1 WO 2024082278A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
virtual network
processor
control data
network card
Prior art date
Application number
PCT/CN2022/126765
Other languages
English (en)
French (fr)
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 广州视臻信息科技有限公司
Priority to PCT/CN2022/126765 priority Critical patent/WO2024082278A1/zh
Publication of WO2024082278A1 publication Critical patent/WO2024082278A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems

Definitions

  • the embodiments of the present application relate to the field of data processing technology, and in particular, to a data transmission method and a data transmission device.
  • a processing device such as a personal computer or mobile phone
  • the large screen of the display device displays the received screen image, allowing participants to share and display content more conveniently.
  • An existing screen sharing method is achieved through a data transmission device, such as a wireless screen transmitter.
  • the wireless screen transmitter has a USB (Universal Serial Bus) interface (such as a USB2.0 interface or a Type-C interface) and a WiFi module. It is connected to a computer through a USB interface to obtain the screen projection related data content from the computer, and then transmits it to a display device, such as a conference tablet, for processing.
  • a USB Universal Serial Bus
  • the existing wireless screen transmitter usually enumerates itself to the computer as a HID (Human Interface Device, such as a keyboard, mouse, camera), and then transmits the data content based on the HID communication channel.
  • HID Human Interface Device
  • the data transmission bandwidth that HID can support is limited, resulting in a low transmission rate in the process of transmitting the above content from the computer to the wireless screen transmitter, which has a large limitation on the quality and/or delay of the data content processed by the display device.
  • the present application provides a data transmission method and a data transmission device to solve the technical problems that the transmission rate is low when the existing processing device transmits content to the data transmission device, and the quality and/or delay of the data content processed by the display device are greatly restricted.
  • an embodiment of the present application provides a data transmission method, which is applied to a data transmission device, wherein the data transmission device includes a processor, a universal interface, and a wireless communication module, wherein the universal interface and the wireless communication module are both connected to the processor, and the universal interface is used to connect to the processing device;
  • the data transmission method includes:
  • the processor creates a virtual network card based on the universal interface, and establishes a communication connection between the virtual network card and the wireless communication module through bridging or network address translation;
  • the processor receives a request instruction sent by the processing device, where the request instruction is used to request device information of the data transmission device;
  • the processor responds according to the request instruction to present the data transmission device as a composite device to the processing device, the composite device including a virtual network card;
  • the processor parses the screen transmission control data to determine the control data to be forwarded;
  • the processor controls the virtual network card to send the control data to be forwarded to the wireless communication module, and controls the wireless communication module to send the control data to be forwarded to the display device;
  • the processor determines whether to send the media data to the display device according to the control data to be forwarded.
  • an embodiment of the present application provides a data transmission device, which includes: a universal interface, a wireless communication module and a processor; the universal interface and the wireless communication module are both connected to the processor, and the universal interface is used to connect to the processing device;
  • the processing device When the data transmission device is connected to the processing device, the processing device detects it, so that the processing device sends a request instruction to the data transmission device, the request instruction is used to request device information of the data transmission device, the processing device is pre-installed with a universal driver, and the universal driver includes a virtual network card driver;
  • the processor is configured to:
  • the processing device responding according to the request instruction to present the data transmission device as a composite device to the processing device, the composite device including a virtual network card;
  • the control data to be forwarded is sent to the display device through the wireless communication module, and when the processor determines to send the media data to the display device, the media data is sent to the display device.
  • an embodiment of the present application further provides a data transmission device, the data transmission device comprising: a universal interface, a virtual network card, a wireless communication module and a processor; the universal interface and the wireless communication module are both connected to the processor;
  • a virtual network card is used to obtain screen transmission control data and media data from the processing device
  • a processor configured to parse the screen transmission control data acquired by the virtual network card to determine the control data to be forwarded and control the virtual network card to send the control data to be forwarded to the wireless communication module, and determine whether to control the virtual network card to send the media data to the wireless communication module according to the control data to be forwarded;
  • the wireless communication module is used to send the control data to be forwarded to the display device, and to send the media data sent by the virtual network card to the display device.
  • the data transmission method is applied to the data transmission device, and the data transmission device includes a processor, a universal interface and a wireless communication module, the universal interface and the wireless communication module are both connected to the processor, and the universal interface is used to connect to the processing device;
  • the data transmission method includes: the universal interface is detected by the processing device when it is connected to the processing device; the processor creates a virtual network card based on the universal interface, and establishes a communication connection between the virtual network card and the wireless communication module through bridging or network address translation;
  • the processor receives a request instruction sent by the processing device, the request instruction is used to request device information of the data transmission device, the processor responds according to the request instruction to present the data transmission device to the processing device as a composite device, and the composite device includes a virtual network card;
  • the screen transmission control data and media data sent by the processing device are obtained through the virtual network card, and the media data is the content displayed on the screen of the processing device;
  • the processor parses the screen transmission control data
  • the data transmission device When the data transmission device is connected to the processing device, it enumerates it as a virtual network card to the processing device, thereby establishing a network transmission channel based on the virtual network card.
  • the data transmission device receives the screen transmission control data and media data in the screen sharing from the processing device through the network transmission channel, thereby improving the data transmission bandwidth.
  • the transmission rate of the processing device to transmit the screen projection related content to the data transmission device is faster, thereby optimizing the quality and/or delay of the data content processed by the display device.
  • FIG1 is a method flow chart of a data transmission method provided in an embodiment of the present application.
  • Figure 2 is a schematic diagram of the data flow process during screen projection using the data transmission method provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a device connection status during screen projection using a data transmission method provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a composite device in a data transmission method provided in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the pin arrangement of the plug end of the Type-C interface.
  • FIG6 is a schematic diagram of a communication channel based on a Type-C interface in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the pin arrangement of the Type-A interface.
  • FIG8 is a schematic diagram of a network data format and a network address translation process in a data transmission method provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application.
  • the data transmission device When the data transmission device is running, it is connected between the processing device and the display device, and is a bridge for the processing device and the display device to transmit data related to screen projection during the screen projection process.
  • the data transmission device may be a wireless screen transmitter.
  • the processing device may be a terminal device such as a personal computer, PAD or mobile phone; the display device may be a smart tablet or a conference display device for conferences.
  • the display device may have a receiving box, which may be integrated with the display device or may be designed separately from the display device; the receiving box is used to receive media data from the data transmission device and transmit it to the main processor of the display device to complete the display and corresponding control.
  • the data transmission device processes the audio and video data that currently needs to be output and displayed on the processing device, so that the data can be displayed on the display device for more people to watch and share.
  • a data transmission device when a data transmission device is connected to a processing device for forwarding screen projection data, it is usually identified as an HID by the display device, and the screen projection data is transmitted based on the data protocol corresponding to the HID, as well as the control instructions generated by the display device during the screen projection process are transmitted to the processing device.
  • the data transmission bandwidth supported by the HID is limited, resulting in a low transmission rate when the processing device transmits the above content to the data transmission device.
  • the following describes in detail each embodiment by taking the processing device as a computer and the data transmission device as a wireless screen transmitter as an example.
  • FIG. 1 is a method flow chart of a data transmission method provided in an embodiment of the present application.
  • the data transmission method is used for a data transmission device.
  • FIG. 2 for a schematic diagram of a data transmission process used in a screen projection process.
  • the data transmission method includes:
  • Step S110 When the wireless screen transmitter is connected to the computer, it is detected by the computer, so that the computer sends a request instruction to the wireless screen transmitter, and the request instruction is used to request the device information of the wireless screen transmitter.
  • the wireless screen transmitter has a universal interface, which is generally provided in the form of a plug.
  • the universal interface of the wireless screen transmitter is plugged into the universal interface of the computer.
  • the universal interface of the computer is generally provided in the form of a socket.
  • the universal interface under the same interface standard system may have a variety of different interface standards (such as USB2.0 and USB3.0).
  • the plugs and sockets corresponding to different interface standards may not be able to directly achieve physical connection (such as MicroUSB and Type-C). In this case, the connection can be achieved through a conversion device.
  • the plug on the wireless screen transmitter and the socket on the computer cannot be directly physically connected, the connection can be achieved through a conversion device.
  • a power pin is provided in the universal interface.
  • the wireless screen transmitter is connected to the computer, the computer can provide the wireless screen transmitter with a basic working voltage through the power pin.
  • the working voltage can be 5V or other voltages.
  • the wireless screen transmitter starts working under the power supply of the basic working voltage.
  • the computer completes the insertion detection based on the corresponding signal changes of the pull-up resistor before and after power supply. After detecting that a device is connected to the general interface and waiting for stable power supply, the computer first detects the speed type of the inserted wireless screen transmitter to determine whether the inserted wireless screen transmitter is a high-speed device or a low-speed device. Then the computer will reset the connected device and detect whether the connected full-speed device supports high-speed mode. If it supports high-speed mode, it will switch to high-speed signal mode. After the reset is completed, the computer uses the default address agreed by the protocol (for example, 0) to perform preliminary communication with the currently connected device.
  • the protocol for example, 0
  • the preliminary communication is mainly to obtain the type of the connected device.
  • the computer sends a request instruction to the device corresponding to the default address.
  • the request instruction is used to request the device information of the currently connected device, which corresponds to the application scenario of this solution and is used to request the device information of the wireless screen transmitter.
  • the device information is mainly used to describe the type of device, such as the HID described in the previous text. In addition, it can also describe the working parameters of the device, such as the rated working voltage.
  • the computer in order to achieve the desired data transmission effect, is pre-installed with a universal driver, which includes a virtual network card driver.
  • the universal driver is used to implement basic hardware drivers on the computer, and the virtual network card driver is used to virtualize a virtual network card based on a universal interface in the computer, and the virtual network card sends and receives data through the universal interface in the form of network data packets.
  • the device connection state after all connections are completed is shown in FIG3 , wherein the specific form of the computer 11 is a laptop computer, the display device 31 is an interactive tablet with a large-size display screen, the display screen can be a touch screen, and the wireless screen transmitter 21 is connected to the computer 11 through a universal interface and is connected to the display device 31 in wireless mode.
  • the wireless screen transmitter 21 is connected to the computer 11 through a universal interface and is connected to the display device 31 in wireless mode.
  • Step S120 the processor creates a virtual network card based on the universal interface, and establishes a communication connection between the virtual network card and the wireless communication module through bridging or network address translation.
  • the process of the wireless screen transmitter forwarding the data received from the processing device to the display device is implemented by the cooperation of the virtual network card and the wireless communication module.
  • the processor can start to complete the internal screen projection data channel establishment process. That is, before the wireless screen transmitter obtains the screen transmission control data and media data sent by the computer, the processor first creates a virtual network card, and establishes a communication connection between the virtual network card and the wireless communication module through bridging or network address translation. The processor establishes a communication connection relationship between the virtual network card and the wireless communication module through bridging or network address translation.
  • the processor changes the network data packet received by the virtual network card according to the send and receive address, and adjusts the small data volume to achieve direct forwarding of the network data packet.
  • a communication connection relationship is established by means of network address conversion.
  • the wireless screen transmitter first receives a first dynamic host configuration protocol request sent by the computer through a universal interface; in response to the first dynamic host configuration protocol request, a first IP address is assigned to the computer according to the IP address of the virtual network card; the wireless communication module is controlled to connect to the wireless network where the display device is located, and a second dynamic host configuration protocol request is sent to the display device, so that the display device assigns a second IP address to the wireless communication module according to the IP address of the display device; a network address conversion rule is established based on the first IP address and the second IP address, and the network address conversion rule is used to perform network address conversion on the received screen transmission control data.
  • the connection relationship between the computer, the wireless screen transmitter and the display device is fixed, and the three data nodes are linearly connected. Therefore, a fixed and different IP address can be assigned to the four network cards of the three devices during the current screen projection task through the configuration protocol, and the wireless screen transmitter located in the middle of the three obtains the current network address conversion rule based on the network address, and performs network address conversion based on the network address conversion rule, so that the data obtained from the processing device can be quickly forwarded.
  • the source address of the received screen transmission control data is converted from the first IP address to the second IP address; the target address of the received screen transmission control data is converted from the local address of the virtual network card to the IP address of the display device.
  • this network address translation rule is necessary only when there is a network data packet that needs to be forwarded.
  • Step S130 The processor receives the request instruction sent by the processing device.
  • Step S140 The wireless screen transmitter responds according to the request instruction to present the wireless screen transmitter to the computer as a composite device, wherein the composite device includes a virtual network card.
  • Step S130 and step S140 are the process of the processing device sending a request instruction after detecting that the universal interface is connected to the external device, the processor correspondingly receiving the request instruction, and the process of responding to the request instruction.
  • the wireless screen transmitter After receiving the request instruction, the wireless screen transmitter describes its own device type to the computer according to the parameters requested by the computer, for example, returns the parameters to the computer in the form of a device descriptor. In the actual processing process, the wireless screen transmitter is defined relative to the device type that people know in daily life, rather than a type of external device that the computer can recognize.
  • the type of external device connected to the computer needs to be described based on the standard of the corresponding protocol of the universal interface, for example, the connected external device is a storage device, HID, communication device, static image device, etc.
  • the type of external device actually connected may be described as one or more types in the computer according to different usage functions.
  • a USB flash drive connected to a computer through a universal interface is usually described as only a storage device
  • a mobile phone connected to a computer through a universal interface may be described as a communication device and a static image device at the same time.
  • the wireless screen transmitter 21 needs to be described in the computer 11 as multiple standard types in the protocol, that is, the wireless screen transmitter 21 is presented to the computer 11 as a composite device. As shown in Figure 4, the user usually recognizes that there is only one device connected to the computer 11, the wireless screen transmitter 21, but the wireless screen transmitter 21 is presented as a composite device in the computer 11, which is equivalent to the computer 11 can recognize the virtual network card 21a through the universal interface, and can also have a storage device 21b and HID 21c.
  • the computer corresponds to the different device types in the composite device, and according to the protocol, there is a specific subsequent processing required for data transmission corresponding to the device type.
  • the computer obtains the maximum packet length of the default endpoint 0 from the device descriptor; the computer resets the bus again and enters the address setting stage, and the computer and the external device complete the address setting required for data transmission; different device types have different specific setting strategies.
  • the computer will also have the process of sending HID requests and continuing to obtain report descriptors.
  • the computer After the computer understands the device information of the external device, it will select the most suitable driver for the external device. The driver will configure the external device so that the device is in a configuration state to prepare for subsequent data transmission.
  • the wireless screen transmitter also includes a memory, which is connected to the processor, and the memory stores a first application program.
  • the universal driver also includes a storage driver program
  • the composite device also includes a storage device.
  • different device types in the composite device correspond to specific setting strategies and specific data transmission tasks.
  • the wireless screen transmitter establishes a communication channel between the computer and the storage device according to the setting of the storage driver program.
  • the process of establishing the communication channel between the computer and the storage device is invisible to the user, and the user can see the result of establishing the communication channel after the operation process ends, that is, the storage device can be read or unreadable.
  • the processor sends the first application program to the computer through the communication channel so that the computer runs the first application program.
  • the first application program is used to obtain screen transmission control data and media data on the computer, and transmit the screen transmission control data and media data to the data transmission device through the virtual network card.
  • the screen transmission control data is the instruction data corresponding to the control operations in the screen transmission process, such as starting screen transmission, pausing screen transmission, window screen transmission, extended screen screen transmission or privacy processing. These control operations may have different control objects. For example, to start screen transmission, if the user presses the switch of the application, the computer will execute it locally. If the user presses the button on the wireless screen transmission device, the operation will be executed locally by the wireless screen transmission device. Pausing may be executed locally on the computer, and privacy processing may require the wireless screen transmission device to execute. For control operations that are not executed locally, the corresponding screen transmission control data are transmitted to the data transmission device through the virtual network card.
  • the computer may display the drive letter of the memory corresponding to the type of storage device, and when it detects that the user opens the storage directory of the memory through the drive letter on the computer, the content stored in the memory is displayed, corresponding to the first application, that is, its corresponding icon is displayed.
  • the wireless screen transmitter loads the first application into the computer's memory through the communication channel between the computer and the storage device for execution by the computer's central processing unit, thereby obtaining the screen transmission control data and media data generated by the computer during the screen transmission process.
  • the memory of the wireless screen transmitter can cooperate with the file transfer application installed on the computer to send the first application to the computer.
  • the storage device's device function is mainly assumed by specific storage-related hardware (i.e., memory). Accordingly, the processor sends the first application to the computer through the second communication channel. In fact, the processor reads the storage data corresponding to the first application from the memory and sends it to the computer through the dedicated communication channel corresponding to the storage device, i.e., the second communication channel.
  • specific storage-related hardware i.e., memory
  • a first confirmation window will pop up.
  • the user can confirm whether to start screen transmission based on the window (such as clicking a button to confirm). If the user confirms to perform screen projection based on the first confirmation window that pops up, the first application starts to obtain media data and screen transmission control data after the required channel is established.
  • the screen projection control function allows users to choose to project the main screen or the extended screen, can choose to project the window of a specific application instead of the entire screen, can choose to join the screen projection in the form of joining (multiple screens on the same screen) or preempting, can choose whether to project the sound, whether to project the mouse pointer, and can choose the picture quality, etc., which can be set in the first confirmation window that pops up.
  • the first confirmation window may not pop up.
  • whether to start screen transmission can be determined by receiving screen transmission instructions through the hardware buttons of the wireless screen transmitter.
  • the computer confirms from the response that the composite device includes a virtual network card
  • the response will trigger the virtual network card driver, that is, the virtual network card driver is called and run by the computer based on the existence of the virtual network card in the response.
  • the virtual network card driver is a backend running program, which is used to establish a communication channel between the computer and the wireless screen transmitter for transmitting network data through a universal interface.
  • the wireless screen transmitter establishes a first communication channel between the computer and the storage device according to the settings of the virtual network card driver.
  • the process of establishing the first communication channel is not visible to the user. The user can see the establishment result of the first communication channel after the operation process ends, that is, whether the network connection is established successfully or failed.
  • the establishment of the first communication channel is the result of the cooperation between the virtual network card driver in the wireless screen transmitter and the virtual network card driver in the computer.
  • the establishment of the first communication channel is to virtualize a network card in the wireless screen transmitter, and a corresponding network card in the computer.
  • Network data transmission can be carried out between the two virtual network cards.
  • the physical channel for network data transmission is the communication channel formed by the universal interface connection. That is, the first communication channel is actually a communication channel with the pin connection formed by the universal interface connection as the physical carrier and the network data format as the data encoding method. From the application scenario of this solution, the role of the first communication channel is equivalent to connecting the wireless screen transmitter and the computer to the same local area network.
  • the data of the two virtual network cards cannot be sent to devices other than the wireless screen transmitter and the computer.
  • the wireless screen transmitter and the computer send and receive data through the virtual network card, and all of them are sent and received through the data channel formed between the two, that is, the first communication channel.
  • Step S150 Acquire the screen transmission control data and media data sent by the processing device through the virtual network card, where the media data is the content displayed on the screen of the processing device.
  • Step S160 Process and/or forward the received screen transmission control data and media data.
  • the wireless screen transmitter 21 is used to send the data received from the computer 11, which needs to be sent to the display device 31, to the display device 31 through the wireless network for display or response based on the wireless communication module.
  • This is equivalent to the universal interface in the wireless screen transmitter 21 actually establishing a physical connection with the wireless communication module, and based on the physical connection, the data received through the first communication channel may be sent to the display device.
  • Multimedia data is data obtained by acquiring the content displayed on the screen of the processing device in real time, and is sent to another device (ie, the display device in this embodiment) for reproduction and display.
  • Screen transmission control data may appear in the entire process of screen transmission.
  • the control of the wireless screen transmitter may be direct control on the wireless screen transmitter, for example, the screen transmission button of the wireless screen transmitter is a hardware button, which is set on the upper surface or side of the wireless screen transmitter, and direct control is achieved by operating the hardware button. It may also be remote control on a computer, for example, a soft button is set on the display interface of the computer, and the user can start the screen projection process by clicking the soft button.
  • the screen transmission control data targeted in this embodiment refers to remote control on a computer.
  • the wireless screen transmitter responds or sends according to the control target of the screen transmission control data, that is, after the first application is sent to the computer and starts running, the screen transmission control data is obtained in real time and transmitted through the first communication channel.
  • the wireless screen transmitter serves as the counterpart of the screen transmission control data transmission.
  • the processor of the wireless screen transmitter obtains the screen transmission control data sent by the first application through the first communication channel and parses the screen transmission control data; the processor confirms whether to process the screen transmission control data according to the parsing result of the screen transmission control data. For example, the processor parses the privacy control instruction from the received screen transmission control data, and the control instruction is locally processed and responded by the wireless screen transmitter and is no longer forwarded.
  • the wireless screen transmitter is provided with an indicator light, which is used to indicate the connection status between the wireless screen transmitter and the display device, such as the flashing indicator light indicates that the wireless screen transmitter is establishing a connection with the display device, and the indicator light is always on, indicating that the wireless screen transmitter has successfully connected to the display device.
  • the wireless screen transmitter needs to set the indication status of the indicator light according to the current connection status between the wireless screen transmitter and the display device.
  • the processor parses the received screen transmission control data to obtain the control instruction for setting the indicator light status
  • the control instruction for the indicator light status is processed and responded to locally by the wireless screen transmission device and is no longer forwarded.
  • the processor forwards the screen transmission control data to the wireless communication module.
  • the process of the wireless screen transmitter sending data to the display device through the wireless communication module can adopt the relatively mature existing screen projection solution, which will not be elaborated here.
  • the overall processing can be considered as the processor parsing the screen transmission control data to determine the control data to be forwarded; based on the communication connection between the processor and the wireless communication module in the data transmission device, the processor controls the virtual network card to send the control data to be forwarded to the wireless communication module, and controls the wireless communication module to send the control data to be forwarded to the display device; the processor determines whether to send the media data to the display device based on the control data to be forwarded, and if forwarding is required, the same processing method is adopted for the control data to be forwarded.
  • the screen transmission control data does not need to be forwarded, it is directly processed locally by the processor.
  • this embodiment can increase the data transmission bandwidth, so that the transmission rate is faster when the computer transmits content to the wireless screen transmitter, and the quality and/or delay of data content processing by the display device is optimized.
  • step S110 describes that the wireless screen transmitter is detected by the computer when it is connected to the computer.
  • the detection result can enable the computer to send a request instruction to the wireless screen transmitter, but the processor has a process of receiving and responding to the request instruction.
  • the wireless screen transmitter and the computer respond to the request instruction, there may also be a process of processing step S120. Therefore, the change in the description order does not affect the overall design framework of this solution.
  • the universal interface 211 in the wireless screen transmitter 21 is a Type-C interface
  • the wireless screen transmitter 21 also includes a processor 212, a wireless communication module 213 and a memory 214.
  • the computer 11 also has a Type-C interface standard socket. When the Type-C interface on the wireless screen transmitter 21 is connected to the computer 11, the computer 11 detects that an external device is connected, and the type of the Type-C interface of the wireless screen transmitter 21 can be recognized by the computer 11.
  • the computer 11 and the wireless screen transmitter 21 establish a first communication channel (i.e., 1 in FIG6 ).
  • a second communication channel i.e., 2 in FIG6 , if the memory 214 is writable, the second communication channel can be a bidirectional channel
  • a HID channel can be established between the computer 11 and the wireless screen transmitter 21. The HID channel is used to send the control instructions (such as turning pages of a presentation) detected by the display device 31 to the computer 11, so as to realize the cross-device reverse interactive control of the computer 11 in the display device 31 operation.
  • Type-C interface also known as USB-Type-C, is a hardware interface specification of a universal serial bus with faster transmission speed (up to 10Gbps) and more powerful power transmission (up to 100W), and is compatible with USB2.0, USB3.0 and DP (DisplayPort).
  • USB-Type-C is a hardware interface specification of a universal serial bus with faster transmission speed (up to 10Gbps) and more powerful power transmission (up to 100W), and is compatible with USB2.0, USB3.0 and DP (DisplayPort).
  • the Type-C interface has a total of 24 pins, including two rows of pins with the same function, and the two rows of pins with the same function support forward or reverse insertion.
  • the Type-C interface includes two pairs of power pins (A9, B4, B9, A4), four pairs of differential pins (A11 and B2, A10 and B3, A4 and B10, A2 and B11) and a CC pin (A5) for pairing communication when inserted for pairing.
  • TX+, TX-, RX+ and RX- in each group of pins are differential signal transmission pins, and each group of differential signal transmission pins supports working in USB mode or DP (DisplayPort) mode.
  • the signal transmission pin pair When the differential signal transmission pin pair works in USB mode, the signal transmission pin pair transmits USB3.0 signals; when the differential signal transmission pin pair works in DP mode, the signal transmission pin pair is used as a DP (DisplayPort) interface (i.e., corresponding to the DP communication channel).
  • DP DisplayPort
  • the wireless screen transmitter based on the Type-C interface is connected to the computer through a universal interface. After the wireless screen transmitter is powered on, the computer can send a request instruction to the wireless screen transmitter through the CC pin of the Type-C interface.
  • the request instruction can be information customized by the supplier.
  • the wireless screen transmitter sends a response to the computer through its CC pin.
  • the response is used to describe the device attributes of data transmission, which may include the current working mode of the wireless screen transmitter, the specific power supply range and other information, and the device type of the wireless screen transmitter is a composite device (including at least a virtual network card, and at least one of the storage device, HID and other device types).
  • the computer can set the power supply voltage for the wireless screen transmitter based on the power supply range information.
  • the universal interface 211 in the wireless screen transmitter 21 is a Type-A interface.
  • the wireless screen transmitter 21 based on the Type-A interface forms the connection relationship shown in FIG3, it can also form a communication channel as shown in FIG6.
  • the wireless screen transmitter 21 also includes a processor 212, a wireless communication module 213 and a memory 214.
  • the computer 11 also has a socket of the Type-A interface standard. Based on the overall design idea of the foregoing, corresponding to the implementation process of the request instruction, the computer 11 and the wireless screen transmitter 21 establish a first communication channel (i.e., 1 in FIG6).
  • a second communication channel (i.e., 2 in FIG6, if the memory 214 is writable, the second communication channel can be a bidirectional channel) can also be established at the same time.
  • an HID channel can be established between the computer 11 and the wireless screen transmitter 21. The HID channel is used to send the control instructions (such as turning pages of a presentation) detected by the display device 31 to the computer 11, so as to realize the cross-device reverse interactive control of the computer 11 in the display device 31 operation.
  • the first application is used to obtain the screen transmission control data and media data of the computer 11, and encode them to obtain second encoded data; that is, after the first application is transmitted to the processing device through the second communication channel for operation, what is achieved during the operation is to simultaneously obtain the screen transmission control data and media data, and directly encode the media data to obtain the second encoded data, and transmit the screen transmission control data to the first communication channel.
  • the wireless screen transmitter 21 after its processor 212 sends the first application to the computer through the second communication channel, it also includes: the virtual network card obtains the second encoded data through the first communication channel; the processor sends the second encoded data to the wireless communication module.
  • the screen transmission control data and the media data are directly sent through the first communication channel, that is, the computer 11 sends the media data not by sending only valid media data in the form of a media protocol in the physical connection formed by the universal interface, but by encoding the media data into a network data packet that can be used to send to the network.
  • the processor 212 there is no need to encode the media data again, and the network data packet can be directly forwarded to the wireless communication module to send to the display device 31, which can effectively reduce the data processing burden of the processor 212 in the wireless screen transmitter 21.
  • the Type-A interface has a total of 4 pins, including two power pins (S-, S+) and two data pins (D+, D-).
  • the specific post-connection processing mechanism and response process are the same as the real-time process in the overall design description above. The difference lies in the different definitions of the corresponding pins, which will not be repeated here.
  • the wireless screen transmitter itself is a Type-C interface, but the computer only has a Type-A interface, then the wireless screen transmitter requires a conversion device to achieve connection with the computer. At this time, the wireless screen transmitter should be regarded as a wireless screen transmitter with a Type-A interface.
  • the same communication channel is used for the same data, that is, for Type-C interface and Type-A interface, both can be responded to as virtual network cards, and all screen transmission control data and media data can be transmitted through the first communication channel.
  • the entire transmission process can be completed for communication channels of different interfaces through the same version of the first application, and the data processing burden of the processors in all wireless screen transmitters can be reduced.
  • the data forwarding between the virtual network card and the wireless communication module is forwarded based on the network address rules in the previous text.
  • the corresponding network address conversion rules under the network address conversion rules can refer to Figure 8.
  • the basic structure in its data packet format includes a preamble, a destination address, a source address, a frame type, data and CRC, and each structural unit has a corresponding length, wherein the destination address indicates which device the network data packet needs to be sent to, the source address indicates which device the network data packet is sent from, and the data indicates the entity content of the network data packet.
  • Address 1, address 2, address 3 and address 4 in the second row of Figure 8 correspond to the virtual network card of the computer (first IP address), the virtual network card of the wireless screen transmitter, the wireless communication module of the wireless screen transmitter (second IP address) and the IP address of the display device.
  • the processor gives the network data packet to the wireless communication module and it can be directly sent to the display device.
  • the processor of the wireless screen transmitter In the process of forwarding network data packets by the processor of the wireless screen transmitter, it is only necessary to perform preliminary decoding on the network data packets, obtain the address data of the structural unit corresponding to the source address and the destination address, and perform address data conversion according to the network address conversion rules and the corresponding stored IP address. It is not necessary to decode and encode the entity data related to screen transmission in the network data packet (such as projection screen data), and the network data packet can be forwarded quickly. During the entire sending process, the encoding of the entity data related to screen transmission is completed on a computer with strong data processing capabilities.
  • the wireless screen transmitter only needs to perform simple preliminary decoding and data replacement of a few bits to forward it, which shortens the data processing time and reduces the data processing tasks of the wireless screen transmitter.
  • the large bandwidth of the first communication channel is used to realize the rapid transmission of projection data in the form of network data packets, thereby further meeting the requirements of high picture quality and good picture synchronization at the same time.
  • FIG8 is only an exemplary illustration of the data packet format of the network data packet (i.e., Ethernet frame) based on the data link layer in the network architecture.
  • the data packet formats have corresponding designs.
  • the target address and the source address are relatively basic structural units.
  • both IPv4 and IPv6 in the IP layer include structural units corresponding to the target address and the source address.
  • the target address and the source address are converted into address data according to the network address conversion rules, and encoded into a network data packet for transmission.
  • only preliminary decoding and a few bits of data replacement are required for forwarding, which shortens the data processing time and reduces the data processing task of the wireless screen transmitter.
  • the larger bandwidth of the first communication channel is used to realize the rapid transmission of the projection data in the form of a network data packet, thereby further meeting the requirements of high picture quality and good picture synchronization.
  • the data transmission method is applied to a data transmission device, the data transmission device includes a processor, a universal interface and a wireless communication module, the universal interface and the wireless communication module are both connected to the processor, and the universal interface is used to connect to the processing device;
  • the data transmission method includes: the universal interface is detected by the processing device when it is connected to the processing device; the processor creates a virtual network card based on the universal interface, and establishes a communication connection between the virtual network card and the wireless communication module through bridging or network address translation;
  • the processor receives a request instruction sent by the processing device, the request instruction is used to request device information of the data transmission device, the processor responds according to the request instruction to present the data transmission device as a composite device to the processing device, and the composite device includes a virtual network card;
  • the screen transmission control data and media data sent by the processing device are obtained through the virtual network card, and the media data is the processing device
  • the processor parses the screen transmission control data to determine the control data to be forwarded; based on the communication
  • the data transmission device When the data transmission device is connected to the processing device, it enumerates it as a virtual network card to the processing device, thereby establishing a network transmission channel based on the virtual network card.
  • the data transmission device receives the screen transmission control data and media data in the screen sharing from the processing device through the network transmission channel, thereby improving the data transmission bandwidth.
  • the transmission rate of the processing device to transmit the screen projection related content to the data transmission device is faster, and the quality and/or delay of the data content processed by the display device is optimized.
  • FIG9 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application.
  • the data transmission device is applied to a data transmission device, which includes a processor, a universal interface and a wireless communication module.
  • the universal interface and the wireless communication module are both connected to the processor, and the universal interface is used to connect to the processing device; when the data transmission device is connected to the processing device, it is detected by the processing device, so that the processing device sends a request instruction to the data transmission device, and the request instruction is used to request the device information of the data transmission device.
  • the processing device is pre-installed with a universal driver, and the universal driver includes a virtual network card driver.
  • the data transmission device includes a virtual network card creation unit 210, a request instruction receiving unit 220, a request instruction response unit 230, a screen transmission data receiving unit 240 and a screen transmission data processing unit 250.
  • the virtual network card creation unit 210 is used for the processor to create a virtual network card based on a universal interface, and establish a communication connection between the virtual network card and the wireless communication module through bridging or network address translation;
  • the request instruction receiving unit 220 is used for the processor to receive a request instruction sent by the processing device, and the request instruction is used to request the device information of the data transmission device;
  • the request instruction response unit 230 is used for the processor to respond according to the request instruction to present the data transmission device as a composite device to the processing device, and the composite device includes a virtual network card;
  • the screen transmission data receiving unit 240 is used to obtain the screen transmission control data and media data sent by the processing device through the virtual network card, and the media data is the content displayed on the screen of the processing device;
  • the screen transmission data processing unit 250 is used for the processor to parse the screen transmission control data to determine the control data to be forwarded; control the virtual network card to send the control data to be forwarded to the wireless communication module, and control the wireless communication module to send
  • the virtual network card creation unit 210 includes:
  • a configuration request receiving module configured to receive a first dynamic host configuration protocol request sent by a processing device through a universal interface
  • a first address allocation module configured to respond to a first dynamic host configuration protocol request and allocate a first IP address to the processing device according to the IP address of the virtual network card;
  • a wireless connection configuration module used to control the wireless communication module to connect to the wireless network where the display device is located, and to send a second dynamic host configuration protocol request to the display device, so that the display device allocates a second IP address to the wireless communication module according to the IP address of the display device;
  • the conversion rule establishment module is used to establish a network address conversion rule based on the first IP address and the second IP address, and the network address conversion rule is used to perform network address conversion on the received screen transmission control data and media data.
  • the network address translation rules include:
  • the target address of the received screen transmission control data and media data is converted from the local address of the virtual network card to the IP address of the display device.
  • the data transmission device further includes a memory connected to the processor, the memory stores a first application program, and the composite device further includes a storage device;
  • the data transmission device also includes:
  • An application sending unit is used for the processor to send a first application to a processing device through a storage device so that the processing device runs the first application.
  • the first application is used to obtain screen transmission control data and media data on the processing device, and transmit the screen transmission control data and media data to the virtual network card.
  • the screen transmission data processing unit 250 includes:
  • a control data receiving module is used for the processor to obtain the screen transmission control data sent by the first application through the virtual network card, and parse the screen transmission control data;
  • the analysis result judgment module is used for the processor to confirm whether to process the screen transmission control data according to the analysis result of the screen transmission control data;
  • the control data forwarding module is used to determine that the screen transmission control data is the control data to be forwarded if the analysis result is no.
  • the universal interface is a Type-A interface
  • the first application is further used to encode the media data to obtain second encoded data
  • the data transmission device also includes:
  • the coded data receiving unit is used for the virtual network card to obtain the second coded data from the processing device;
  • the coded data forwarding unit is used for the processor to control the virtual network card to send the second coded data to the wireless communication module.
  • the data transmission device provided in the embodiments of the present application can be used to execute or cooperate with the execution of any of the data transmission methods provided in the above embodiments, and has corresponding functions and beneficial effects.
  • FIG10 is a schematic diagram of the structure of a data transmission device provided in an embodiment of the present application.
  • the data transmission device 20 includes: a universal interface 211, a wireless communication module 213 and a processor 212; the universal interface 211 and the wireless communication module 213 are both connected to the processor 212, and the universal interface is used to connect to the processing device;
  • the processing device 20 When the data transmission device 20 is connected to the processing device, it is detected by the processing device, so that the processing device sends a request instruction to the data transmission device 20, the request instruction is used to request the device information of the data transmission device 20, the processing device is pre-installed with a universal driver, and the universal driver includes a virtual network card driver;
  • the processor 212 is configured to:
  • the composite device including a virtual network card
  • the control data to be forwarded is sent to the display device through the wireless communication module, and when the processor determines to send the media data to the display device, the media data is sent to the display device.
  • the universal interface in the data transmission device is, for example, a Type-A interface.
  • the data transmission device in this solution may include a memory 214, which can store applications or configuration parameters, etc., for local operation during the screen projection process or for acquisition and operation by the processing device.
  • the first application 214a is stored and can be sent to the processing device for operation, thereby realizing the manual installation of the screen projection program on the processing device.
  • the data transmission device provided in the embodiments of the present application can be used to execute or cooperate in executing any of the data transmission methods provided in the above embodiments, and has corresponding functions and beneficial effects.
  • the embodiment of the present application also provides a data transmission device, which includes: a universal interface, a virtual network card, a wireless communication module and a processor; the universal interface and the wireless communication module are both connected to the processor;
  • a virtual network card is used to obtain screen transmission control data and media data from the processing device
  • a processor configured to parse the screen transmission control data acquired by the virtual network card to determine the control data to be forwarded and control the virtual network card to send the control data to be forwarded to the wireless communication module, and determine whether to control the virtual network card to send the media data to the wireless communication module according to the control data to be forwarded;
  • the wireless communication module is used to send the control data to be forwarded to the display device, and to send the media data sent by the virtual network card to the display device.
  • the universal interface in the data transmission device is, for example, a Type-A interface.
  • the data transmission device provided in the embodiments of the present application can be used to execute or cooperate in executing any of the data transmission methods provided in the above embodiments, and has corresponding functions and beneficial effects.
  • An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the relevant operations in the data transmission method provided in any embodiment of the present application are implemented, and have corresponding functions and beneficial effects.
  • the application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware.
  • the application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • the application is described with reference to the flowchart and/or block diagram of the method, device (system) and computer program product according to the embodiment of the application. It should be understood that each flow and/or box in the flow chart and/or block diagram and the combination of the flow chart and/or box in the flow chart and/or block diagram can be realized by computer program instructions.
  • These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of a computer or other programmable data processing device produce a device for realizing the function specified in one flow chart or multiple flows and/or one box or multiple boxes of a block diagram.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operating steps are performed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes of the flowchart and/or one or more blocks of the block diagram.
  • a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • the memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and/or non-volatile memory in the form of read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information.
  • Information can be computer readable instructions, data structures, program modules or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供了数据传输方法和数据传输设备,数据传输设备包括处理器、通用接口和无线通信模组;方法包括:通用接口与处理设备连接时被处理设备检测到;处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;处理器接收处理设备发送的请求指令并对应进行回应;通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据;处理器对传屏控制数据进行解析以确定待转发的控制数据;处理器控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制无线通信模组将其发送给显示设备;处理器根据待转发的控制数据确定是否将媒体数据发送给显示设备,基于虚拟网卡和通信连接可以提高传屏的传输速率。

Description

数据传输方法和数据传输设备 技术领域
本申请实施例涉及数据处理技术领域,尤其涉及数据传输方法和数据传输设备。
背景技术
在会议、教学等多人沟通场景下,屏幕分享是一种使用频率较高的功能,常见的屏幕分享方案,作为数据源的处理设备(例如个人电脑、手机),以有线或者无线的形式将屏幕画面投送到具有大屏幕的显示设备(显示器、电视机、投影仪等),由显示设备的大屏幕对接收到的屏幕画面进行显示,参与者可以更方便地进行内容分享展示。
现有一种屏幕分享方式是通过数据传输设备,例如无线传屏器实现。无线传屏器具有USB(Universal Serial Bus,通用串行总线)接口(例如USB2.0接口或Type-C接口)和WiFi模块,其通过USB接口与电脑连接以从电脑获取其投屏相关数据内容后,传输给显示设备,例如会议平板进行处理。在传输上述数据内容的过程中,现有的无线传屏器通常将自身向电脑枚举成HID(Human Interface Device,人机接口设备,例如键盘、鼠标、摄像头),然后基于HID的通信通道进行数据内容的传输,然而在不改变无线传屏器的硬件的情况下,HID所能支持的数据传输带宽有限,导致电脑向无线传屏器传输上述内容过程中传输速率低,对显示设备处理数据内容的质量和/或时延限制较大。
申请内容
本申请提供了数据传输方法和数据传输设备,以解决现有处理设备向数据传输设备传输内容过程中传输速率低,对显示设备处理数据内容的质量和/或时延限制较大的技术问题。
第一方面,本申请实施例提供了数据传输方法,应用于数据传输设备,数据传输设备包括处理器、通用接口和无线通信模组,通用接口和无线通信模组均与处理器连接,通用接口用于与处理设备连接;该数据传输方法包括:
通用接口与处理设备连接时被处理设备检测到;
处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;
处理器接收处理设备发送的请求指令,请求指令用于请求数据传输设备的设备信息;
处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;
通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容;
处理器对传屏控制数据进行解析以确定待转发的控制数据;
基于通信连接,处理器控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制 无线通信模组将待转发的控制数据发送给显示设备;
处理器根据待转发的控制数据确定是否将媒体数据发送给显示设备。
第二方面,本申请实施例提供了数据传输设备,其包括:通用接口、无线通信模组和处理器;通用接口和无线通信模组均与处理器相连,通用接口用于与处理设备连接;
数据传输设备与处理设备连接时被处理设备检测到,使得处理设备向数据传输设备发送请求指令,请求指令用于请求数据传输设备的设备信息,处理设备预装有通用驱动程序,通用驱动程序包括虚拟网卡驱动程序;
该处理器被配置为:
根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;
根据虚拟网卡驱动程序的设置建立处理设备与虚拟网卡之间的第一通信通道,虚拟网卡驱动程序由处理设备根据回应调用运行;
通过第一通信通道获取处理设备发送的传屏控制数据和媒体数据;
对传屏控制数据进行解析以确定待转发的控制数据;
根据待转发的控制数据确定是否发送媒体数据给显示设备;
通过无线通信模块将待转发的控制数据发送给显示设备,并在处理器确定发送媒体数据给显示设备时,将媒体数据发送给显示设备。
第三方面,本申请实施例还提供了数据传输设备,该数据传输设备,包括:通用接口、虚拟网卡、无线通信模组和处理器;通用接口和无线通信模组均与处理器相连;
通用接口,用于与处理设备连接;
虚拟网卡,用于从处理设备获取传屏控制数据和媒体数据;
处理器,用于对虚拟网卡所获取到的传屏控制数据进行解析以确定待转发的控制数据并控制虚拟网卡将待转发的控制数据发送给无线通信模组,以及根据待转发的控制数据确定是否控制虚拟网卡将媒体数据发送给无线通信模组;
无线通信模组,用于将待转发的控制数据发送给显示设备,以及将虚拟网卡所发送的媒体数据发送给显示设备。
上述数据传输方法和数据传输设备中,数据传输方法应用于数据传输设备,数据传输设备包括处理器、通用接口和无线通信模组,通用接口和无线通信模组均与处理器连接,通用接口用于与处理设备连接;该数据传输方法包括:通用接口与处理设备连接时被处理设备检测到;处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;处理器接收处理设备发送的请求指令,请求指令用于请求数据传输设备的设备信息,处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容;处理器对传屏控制数据进行解析以确定待转发的控制数据;基于通信连接,处理器控制虚拟网卡将待转发的控制数据发送给无线通 信模组,并控制无线通信模组将待转发的控制数据发送给显示设备;处理器根据待转发的控制数据确定是否将媒体数据发送给显示设备将数据传输设备在其与处理设备连接时,向处理设备将其枚举为虚拟网卡,从而建立基于虚拟网卡的网络传输通道,数据传输设备通过网络传输通道从处理设备接收屏幕分享中的传屏控制数据以及媒体数据,提高了数据传输带宽,处理设备向数据传输设备传输投屏相关内容的传输速率较快,对显示设备处理数据内容的质量和/或时延实现优化。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的一种数据传输方法的方法流程图。
图2为本申请实施例提供的数据传输方法用于投屏过程中的数据流转过程示意图。
图3为本申请实施例提供的一种数据传输方法用于投屏过程中的设备连接状态示意图。
图4为本申请实施例提供的一种数据传输方法中回应为复合设备的示意图。
图5为Type-C接口的插头端的引脚排列示意图。
图6为本申请实施例中基于Type-C接口的通信通道示意图。
图7为Type-A接口的引脚排列示意图。
图8为本申请实施例提供的一种数据传输方法中网络数据格式以及网络地址转换过程的示意图。
图9为本申请实施例提供的一种数据传输装置的结构示意图。
图10为本申请实施例提供的一种数据传输设备的结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。
需要注意的是,由于篇幅所限,本申请说明书没有穷举所有可选的实施方式,本领域技术人员在阅读本申请说明书后,应该能够想到,只要技术特征不互相矛盾,那么技术特征的任意组合均可以构成可选的实施方式。
数据传输设备运行时,连接在处理设备与显示设备之间,是投屏过程中处理设备和显示设备进行投屏相关数据传输的桥梁。在本申请实施例中,数据传输设备可以为无线传屏器。处理设备可以为个人电脑、PAD或手机等终端设备;显示设备可以为会议用的智能平板或会议显示装置。显示设备可具有接收盒子,该接收盒子可与显示设备集成在一起,也可与显示设备为分体设计;该接收盒子用于接收来自数据传输设备的媒体数据,并将其传输给显示设备的主处理器完成显示和对应控制。各种设备在保证本方案中整体设计框架的前提下,对具 体实现形态不做限定。数据传输设备将处理设备上当前需要输出展示的音视频数据进行处理,使得该数据在显示设备上能够展示,供更多的人观看、分享。
现有技术中,数据传输设备连接到处理设备上用以进行投屏数据转发时,通常会被显示设备识别为HID,并基于HID对应的数据协议进行投屏数据的传输,以及投屏过程中显示设备产生的控制指令向处理设备的传输,但是HID所能支持的数据传输带宽有限,导致处理设备向数据传输设备传输上述内容过程中传输速率低,在传输过程中需要通过降低传输数据的参数指标,接受较低的质量获得较好的时延体验,或接受较大的时延实现传输数据较佳的参数指标,在二者平衡过程中可能出现质量和时延都不能满足用户使用需求的情况。
下面以处理设备为电脑为例,数据传输设备为无线传屏器为例对各实施例进行详细说明。
图1为本申请实施例提供的一种数据传输方法的方法流程图,该数据传输方法,用于数据传输设备,请结合图2所示数据传输方法用于投屏过程中的数据流转过程示意图,如图1所示,该数据传输方法,包括:
步骤S110:无线传屏器与电脑连接时被电脑检测到,使得电脑向无线传屏器发送请求指令,请求指令用于请求无线传屏器的设备信息。
无线传屏器具有通用接口,一般以插头的形式设置,用户在有屏幕分享的需求时,将无线传屏器的通用接口插入电脑的通用接口,电脑的通用接口一般以插口的形式设置。同一接口标准体系下的通用接口可能有多种不同的接口标准(例如USB2.0和USB3.0),不同的接口标准对应的插头和插口可能无法直接实现物理连接(例如MicroUSB和Type-C),此时可以通过转换装置实现连接。当无线传屏器上的插头与电脑上的插口不能直接实现物理上的连接时,相应可以通过转换装置实现连接。通用接口中设置有电源引脚,无线传屏器与电脑连接时,电脑可以通过电源引脚给无线传屏器提供基础工作电压,该工作电压可以为5V或者其它电压,无线传屏器在基础工作电压的供电下开始工作。
无线传屏器中,根据不同的具体接口标准,有专门的引脚连接有上拉电阻,电脑基于上拉电阻在供电前后对应的信号变化完成插入检测。在检测到通用接口有设备接入,等待稳定供电后,电脑先对所插入的无线传屏器进行速度类型的检测以确定所插入的无线传屏器是高速设备还是低速设备,随后电脑会对接入的设备复位,并检测所连接的全速设备是否是支持高速模式,如果支持高速模式则切换成高速信号模式运行,在复位完成后电脑使用协议约定的默认地址(例如0)与当前接入的设备进行初步通信。初步通信主要是获取接入设备的类型,电脑在初步通信中向默认地址对应的设备发送获取请求指令,请求指令用于请求当前接入设备的设备信息,对应的到本方案的应用场景,用于请求无线传屏器的设备信息。设备信息主要用于描述设备的类型,例如描述为前文的HID,另外还可以描述设备的工作参数等,例如额定工作电压。
在本申请实施例的实现中,为实现期望的数据传输效果,电脑预装有通用驱动程序,该通用驱动程序包括虚拟网卡驱动程序。通用驱动程序用于电脑实现基本的硬件驱动,虚拟网卡驱动程序用于在电脑虚拟出一个基于通用接口的虚拟网卡,该虚拟网卡以网络数据包的形 式通过通用接口收发数据。
完成全部连接后的设备连接状态如图3所示,其中电脑11的具体形式为笔记本电脑,显示设备31为具备大尺寸显示屏的交互平板,显示屏可以是触摸显示屏,无线传屏器21通过通用接口与电脑11连接,并以无线模式与显示设备31连接。基于图3所示的设备连接状态,在实施本方案之后,最终可以实现以相比HID的数据传输方式更大的带宽,从电脑11通过无线传屏器21向显示设备31发送投屏相关数据。
步骤S120:处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接。
在一个可选的实现方式中,无线传屏器将从处理设备接收到的数据转发到显示设备的过程由虚拟网卡和无线通信模组配合实现。无线传屏器接入处理设备之后,通常是有投屏应用需求,适应于该需求,处理器可以开始完成内部的投屏数据通道建立过程。即在无线传屏器通过获取电脑发送的传屏控制数据以及媒体数据之前,处理器先创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接。处理器通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接关系,在虚拟网卡接收到的是网络数据包的情况下,虚拟网卡与无线通信模组建立通信连接关系之后,处理器对虚拟网卡接收到的网络数据包根据收发地址变化,通过小数据量的调整,即可实现网络数据包的直接转发。
例如通过网络地址转换的方式建立通信连接关系,无线传屏器首先通过通用接口接收电脑发送的第一动态主机配置协议请求;应答于第一动态主机配置协议请求,根据虚拟网卡的IP地址分配第一IP地址给电脑;控制无线通信模组连接显示设备所处的无线网络,以及向显示设备发送第二动态主机配置协议请求,以使得显示设备根据显示设备的IP地址分配第二IP地址给无线通信模组;根据第一IP地址和第二IP地址,建立网络地址转换规则,网络地址转换规则用于对所接收到的传屏控制数据进行网络地址转换。在本方案所主要考虑的应用场景中,电脑、无线传屏器和显示设备之间的连接关系固定不变,三个数据节点呈线性连接,由此可以通过配置协议为三个设备中的四个网卡在当前投屏任务期间分配固定且不同的IP地址,由三者中位于中间的无线传屏器基于网络地址得到用于当前的网络地址转换规则,基于网络地址转换规则进行网络地址转换,即可快速将从处理设备获取到的数据进行转发。基于三者之间数据收发的目标关系,将所接收到的传屏控制数据的源地址由第一IP地址转换为第二IP地址;将所接收到的传屏控制数据的目标地址由虚拟网卡的本地地址转换为显示设备的IP地址。当然,该网络地址转换规则肯定是有转发需要的网络数据包才有使用的必要。
步骤S130:处理器接收处理设备发送的请求指令。步骤S140:无线传屏器根据请求指令进行回应,以将无线传屏器作为复合设备呈现给电脑,复合设备包括虚拟网卡。
步骤S130和步骤S140是处理设备检测到通用接口接入外部设备之后发送请求指令,处理器对应接收请求指令的接收过程,以及对请求指令进行响应的过程。无线传屏器收到请求指令后,按照电脑请求的参数,向电脑描述自身的设备类型,例如以设备描述符的形式将参数返回给电脑。在实际处理过程中,无线传屏器是相对于人们日常认知的设备类型定义,而 不是电脑能识别出的外部设备的一种。在基于通用接口的设备描述中,电脑接入的外部设备是何种类型,需要基于通用接口相应协议的标准进行描述,例如接入的外部设备是存储设备、HID、通信设备、静态图像设备等。实际接入的外部设备根据使用功能不同,在电脑可能描述的类型可能是一种、也可能是多种。例如U盘通过通用接口接入电脑通常描述为仅存储设备一种类型,手机通过通用接口接入电脑可能会同时描述为通信设备和静态图像设备总共两种。
请参考图4,在本方案中,无线传屏器21需要在电脑11中描述为协议中的多种标准类型,即将无线传屏器21作为复合设备呈现给电脑11。如图4所示,用户日常认知接入电脑11的只有无线传屏器21一个设备,但是无线传屏器21在电脑11呈现的是复合设备,相当于电脑11通过通用接口可以识别到虚拟网卡21a,同时还可以有存储设备21b和HID 21c。
在实际处理过程中,电脑在收到回应之后,对应复合设备中不同的设备类型,根据协议相应有具体实现该设备类型对应数据传输所需的后续处理过程。整体而言,电脑在成功获取到一个数据包形式的设备描述符后,从设备描述符中获取默认端点0的最大包长度;电脑再次总线复位,进入地址设置阶段,电脑与外部设备完成数据传输所需的地址设置;不同的设备类型对应有不同的具体设置策略。例如HID设备,电脑还会有发送HID请求并继续获取报告描述符的过程。电脑在了解清楚外部设备的设备信息之后,会选择一个最合适的驱动给外部设备,该驱动会对外部设备进行配置,使得设备处于配置状态,以为后续的数据传输做准备。
在一个具体的实现方式中,无线传屏器还包括存储器,存储器与处理器连接,存储器存储有第一应用程序,通用驱动程序还包括存储驱动程序,复合设备还包括存储设备。如前文,复合设备中不同的设备类型对应有具体的设置策略,也有特定的数据传输任务。当电脑从回应中确认复合设备中包括存储设备时,该回应会触发存储驱动程序,即存储驱动程序由电脑根据回应中存在存储器而调用运行,存储驱动程序是后端运行程序,其用于建立电脑从无线传屏器的存储器中获取数据的通信通道,对应于存储驱动程序在电脑的运行,无线传屏器根据存储驱动程序的设置建立电脑与存储设备之间通信通道。在存储驱动程序运行的过程中,电脑与存储设备之间建立通信通道的过程用户不可见,用户可以在运行过程结束后看到通信通道的建立结果,即存储器可以读取或不可读取。在电脑与存储设备之间的通信通道建立之后,处理器通过该通信通道发送第一应用程序给电脑,以使得电脑运行第一应用程序,第一应用程序用于在电脑上获取传屏控制数据和媒体数据,并将传屏控制数据和媒体数据通过虚拟网卡传输至数据传输设备。传屏控制数据是传屏过程中例如开始投屏、暂停投屏、窗口投屏、扩展屏投屏或隐私处理等控制操作对应的指令数据,这些控制操作可能有不同的控制对象,例如开始投屏,如果用户是按压应用的开关则由电脑本地执行,如果用户是按压无线传屏器上的按键则由无线传屏器本地执行该操作,暂停可能就是电脑本地执行,隐私处理可能是需要无线传屏器执行,对于非本地执行的控制操作,对应的传屏控制数据均通过虚拟网卡传输至数据传输设备。
在传输第一应用程序的过程中,可以是在电脑对应于存储设备的类型,显示存储器的盘符,检测到用户在电脑通过盘符打开存储器的存储目录时,显示存储器中存储的内容,对应于第一应用程序,即显示其对应的图标。接收到针对第一应用程序的图标的双击或右键运行操作时,无线传屏器通过电脑与存储设备之间的通信通道将第一应用程序加载到电脑的内存,以供电脑的中央处理器执行,从而获得电脑在传屏过程中产生的传屏控制数据和媒体数据。在其他一些实施例中,无线传屏器的存储器可以配合电脑上所安装的文件传输应用将第一应用程序发送给电脑。
存储设备作为复合设备的一种,其设备功能主要由具体的存储相关硬件(即存储器)承担,相应的,处理器通过第二通信通道发送第一应用程序给电脑,实际是处理器从存储器中读取第一应用程序对应的存储数据之后,通过存储设备对应的专用通信通道,即第二通信通道发送到电脑。
具体的,当将第一应用程序加载至电脑的内存时,会弹出第一确认窗口,当第一应用程序包括投屏控制功能时,用户可以基于该窗口确认是否启动传屏(如可点击按键确认)。如果基于弹出的第一确认窗口,用户确认进行投屏,则在所需的通道建立之后,第一应用程序开始获取媒体数据以及传屏控制数据。其中,投屏控制功能:可以让用户选择投主屏还是拓展屏,可以选择投特定应用程序的窗口而非整个屏幕,可以选择以加入形式(多屏同屏)或者抢占形式加入投屏,可以选择是否投声音,是否投鼠标指针,以及可以选择画面质量等等,这些都可以通过在弹出的第一确认窗口中进行设置。此外,可选的,第一应用程序加载至电脑内存时,也可以不弹出第一确认窗口,此时是否启动传屏,可通过无线传屏器的硬件按键接收传屏指令。
如前文,复合设备中不同的设备类型对应有具体的设置策略,也有特定的数据传输任务。当电脑从回应中确认复合设备中包括虚拟网卡时,该回应会触发虚拟网卡驱动程序,即虚拟网卡驱动程序由电脑根据回应中存在虚拟网卡而调用运行,虚拟网卡驱动程序是后端运行程序,其用于通过通用接口建立电脑与无线传屏器之间用于传输网络数据的通信通道,对应于虚拟网卡驱动程序在电脑的运行,无线传屏器根据虚拟网卡驱动程序的设置建立电脑与存储设备之间的第一通信通道。在虚拟网卡驱动程序运行的过程中,建立第一通信通道的过程用户不可见,用户可以在运行过程结束后看到第一通信通道的建立结果,即网络连接建立成功或失败。
实际上,第一通信通道的建立是无线传屏器中的虚拟网卡驱动程序和电脑中的虚拟网卡驱动程序配合执行的结果,第一通信通道的建立是在无线传屏器虚拟出一个网卡,对应在电脑虚拟出一个网卡,两个虚拟网卡之间可以进行网络数据传输,具体进行网络数据传输的物理通道是通用接口连接形成的通信通道。即第一通信通道实际是以通用接口连接形成的引脚连接为物理载体,以网络数据格式为数据编码方式的通信通道。从本方案的应用场景而言,第一通信通道的作用相当于将无线传屏器和电脑连接到同一局域网中,在未建立虚拟网卡与实际物理网卡的通信通道的情况下,两个虚拟网卡的数据不能发送到无线传屏器和电脑之外 的设备。无线传屏器和电脑之间通过虚拟网卡进行数据收发,均为通过二者之间形成的数据通道,即第一通信通道进行数据收发。
步骤S150:通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容。
步骤S160:对接收到的传屏控制数据和媒体数据进行处理和/或转发。
在图3所示的设备连接状态下,无线传屏器21用于基于无线通信模组,将从电脑11接收的数据中,需要发送到显示设备31的数据,通过无线网络发送到显示设备31进行显示或响应。相当于无线传屏器21中的通用接口已经实际建立与无线通信模组之间的物理连接,基于该物理连接,通过第一通信通道接收的数据有可能发送到显示设备。
多媒体数据是实时对处理设备的屏幕上展示的内容进行获取得到的数据,用以发送到另一设备(本实施例中即显示设备)进行重现显示。
传屏控制数据可以出现在传屏的全过程。对无线传屏器的控制可以是在无线传屏器上的直接控制,例如无线传屏器的传屏按键为硬件按键,设置在无线传屏器的上表面或侧面,通过对硬件按键的操作实现直接控制。也可以是在电脑上的远程控制,例如在电脑的显示界面设置软按键,用户可以通过点击该软按键,启动投屏过程。本实施例中针对的传屏控制数据是指在电脑上的远程控制。
在具体实现时,对应于第一应用程序发送的传屏控制数据,无线传屏器根据传屏控制数据的控制目标进行响应或发送,即在第一应用程序发送到电脑开始运行之后,实时获取传屏控制数据并通过第一通信通道进行传输,无线传屏器作为传屏控制数据传输的相对方,无线传屏器的处理器通过第一通信通道获取第一应用程序发送的传屏控制数据,并对传屏控制数据进行解析;处理器根据对传屏控制数据的解析结果确认是否对传屏控制数据进行处理,例如处理器从接收到的传屏控制数据中,解析出的是隐私控制指令,该控制指令由无线传屏器本地处理响应,不再转发。再例如,无线传屏器设置有指示灯,该指示灯用于指示无线传屏器与显示设备之间的连接状态,诸如指示灯闪烁表示无线传屏器正在与显示设备建立连接,指示灯常亮表示无线传屏器已成功连接上显示设备。无线传屏器需要根据当前与显示设备之间的连接状态来设置指示灯的指示状态。当处理器从接收到的传屏控制数据中,解析出的是设置指示灯状态的控制指令,该指示灯状态的控制指令由无线传屏器本地处理响应,不再转发。
若解析出的传屏控制数据不是由无线传屏器本地处理响应,则处理器将传屏控制数据转发给无线通信模组。无线传屏器通过无线通信模组将数据发送到显示设备的过程可以采用现有投屏方案比较成熟的方案,在此不做展开说明。
基于以上对传屏控制数据和媒体数据两种类型数据的处理过程描述,整体上的处理可以认为是处理器对传屏控制数据进行解析以确定待转发的控制数据;基于数据传输设备中处理器和无线通信模组的通信连接,处理器控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制无线通信模组将待转发的控制数据发送给显示设备;处理器根据待转发的控制数 据确定是否将媒体数据发送给显示设备,如果需要转发,采用待转发的控制数据相同的处理方式。当然,如果不需要转发的传屏控制数据,由处理器直接在本地处理。
整体上,本方案中将无线传屏器在其与电脑连接时,向电脑将其枚举为虚拟网卡,从而建立基于虚拟网卡的网络传输通道,无线传屏器通过网络传输通道从电脑接收屏幕分享中的传屏控制数据,相比于通过HID模式,本实施例可以提高数据传输带宽,使得电脑向无线传屏器传输内容过程中传输速率较快,对显示设备处理数据内容的质量和/或时延实现优化。
需要说明的是,以上步骤顺序只是用于描述本方案的整体设计框架,不表示两个步骤之间的必然先后关系。例如步骤S110中描述的是无线传屏器与电脑连接时被电脑检测到,该检测结果可以使得电脑向无线传屏器发送请求指令,但是处理器有对应该请求指令的接收、响应的过程,在实际执行过程中,无线传屏器与电脑进行请求指令相关响应的同时,还可能有处理步骤S120的过程,故描述顺序的变化不影响均属于本方案的整体设计框架。
以下以不同标准下具体的通用接口形态为连接基础,对本方案的实施过程做详细说明,详细说明主要针对多种通用接口中的Type-C接口和Type-A接口。
在一种可选接口类型的具体实现过程中,请参考图6,无线传屏器21中的通用接口211为Type-C接口,无线传屏器21还包括处理器212、无线通信模组213和存储器214,当然,电脑11也具备Type-C接口标准的插口。该无线传屏器21上的Type-C接口与电脑11连接时,电脑11检测到有外部设备接入,该无线传屏器21的Type-C接口的类型能被电脑11识别出。
基于前文请求指令的实施过程,使得电脑11和无线传屏器21建立第一通信通道(即图6中的①)。另外还可以同时建立第二通信通道(即图6中的②,如果存储器214可写,第二通信通道可以是双向通道),此外,还可以在基于Type-C接口这一个物理连接的基础上,可以在电脑11和无线传屏器21之间另外建立HID通道,HID通道用于将在显示设备31检测到的控制指令(例如演示文稿翻页)发送到电脑11,从而在显示设备31操作实现对电脑11的跨设备反向交互控制。
Type-C接口,即USB-Type-C,是一种通用串行总线的硬件接口规范,具有更快的传输速度(最高10Gbps)以及更强悍的电力传输(最高100W),并且兼容USB2.0、USB3.0以及DP(DisplayPort,显示接口)。
参阅图5,Type-C接口共有24个引脚,包括两行相同功能的引脚,两行相同功能的引脚支持正插或反插。Type-C接口包括两对电源引脚(A9、B4、B9、A4)、四对差分引脚(A11和B2、A10和B3、A4和B10、A2和B11)以及用于插入配对时候用于配对通讯的CC脚(A5)。其中,每一组引脚中的TX+、TX-、RX+和RX-是差分信号传输引脚,每一组差分信号传输引脚均支持工作在USB模式或者DP(DisplayPort)模式。当差分信号传输引脚对工作在USB模式下时,该信号传输引脚对传输USB3.0信号;当差分信号传输引脚对工作在DP模式下时,该信号传输引脚对作为DP(DisplayPort)接口(即对应DP通信通道)使用。
基于Type-C接口的无线传屏器和电脑的通用接口连接,在无线传屏器上电后,电脑可以通过Type-C接口的CC引脚向无线传屏器发送请求指令,该请求指令可以为供应商自定义的 信息;无线传屏器在接收到该请求指令后,通过其CC引脚对应向电脑发送回应,回应用于描述数据传输的设备属性,具体可以包括该无线传屏器当前的工作模式、具体的供电范围等信息,以及描述无线传屏器的设备类型是复合设备(至少包括虚拟网卡,另外还有存储设备、HID等设备类型中的至少一种)。电脑可以根据供电范围信息,设置对无线传屏器的供电电压。
在另一种可选接口类型的具体实现过程中,无线传屏器21中的通用接口211为Type-A接口,基于Type-A接口的无线传屏器21在形成图3所示的连接关系之后,也能形成如图6所示的通信通道。在Type-A标准的通用接口之外,无线传屏器21还包括处理器212、无线通信模组213和存储器214,当然,电脑11也具备Type-A接口标准的插口。在前文的整体设计思路的基础上,对应于请求指令的实施过程,电脑11和无线传屏器21建立第一通信通道(即图6中的①)。另外还可以同时建立第二通信通道(即图6中的②,如果存储器214可写,第二通信通道可以是双向通道),此外,还可以在基于Type-A接口这一个物理连接的基础上,可以在电脑11和无线传屏器21之间另外建立HID通道,HID通道用于将在显示设备31检测到的控制指令(例如演示文稿翻页)发送到电脑11,从而在显示设备31操作实现对电脑11的跨设备反向交互控制。在具体实现过程中实现方式中,第一应用程序用于获取电脑11的传屏控制数据和媒体数据,并对其进行编码处理以得到第二编码数据;即第一应用程序通过第二通信通道传输到处理设备运行之后,其在运行过程中实现的是同时获取传屏控制数据和媒体数据,并直接对媒体数据进行编码处理以得到第二编码数据,并将传屏控制数据传输至第一通信通道,对于无线传屏器21而言,其处理器212通过第二通信通道发送第一应用程序给电脑之后还包括:虚拟网卡通过第一通信通道获取第二编码数据;处理器将第二编码数据发送至无线通信模组。在基于Type-A接口和Type-C接口的实现方式中,传屏控制数据和媒体数据均直接通过第一通信通道发送,即电脑11发送媒体数据的方式不是通过通用接口形成的物理连接中以媒体协议的形式仅发送有效的媒体数据,而是将媒体数据编码成可用于为网络发送的网络数据包,对于处理器212而言,不需要再对媒体数据进行编码,直接将网络数据包转发到无线通信模组向显示设备31发送即可,可以有效降低无线传屏器21中处理器212的数据处理负担。
参考图7,Type-A接口共有4个引脚,其中包括两个电源引脚(S-、S+)和两个数据引脚(D+、D-),具体连接后的处理机制以及回应过程与前文整体设计描述中的实时过程相同,区别在于对应引脚定义的不同,在此不做重复说明。另外需要说明的是,如果某一无线传屏器本身是Type-C接口,但是电脑只有Type-A接口,那么该无线传屏器需要转换装置才能实现与电脑的连接,此时该无线传屏器应视为Type-A接口的无线传屏器。
对所有类型接口的设备,对于同一种数据均使用相同的通信通道,即对于Type-C接口和Type-A接口的方式,均可以回应为虚拟网卡,并将所有传屏控制数据和媒体数据通过第一通信通道进行数据传输,通过这种方式,可以对不同接口的通信通道通过同一版本的第一应用程序完成整个传输过程,并降低所有的无线传屏器中处理器的数据处理负担。
在基于Type-A接口和Type-C接口的数据传输设备中,虚拟网卡和无线通信模组之间的数据转发均基于前文的网络地址规则进行转发处理。该网络地址转换规则下对应的网络地址转换规则可以参考图8。对于网络数据包而言,参阅图8中的第一行,其数据包格式中的基本结构包括前导、目的地址、源地址、帧类型、数据和CRC,每个结构单元有对应的长度,其中目的地址表示该网络数据包需要发到哪个设备,源地址表示该网络数据包从哪个设备发出,数据表示该网络数据包的实体内容。在本方案的各个实施例中,基于HID和DP(如果有)的数据不需要按网络数据包的方式进行数据收发,只有通过第一通信通道收发的数据是网络数据包,对应在转发时需要基于网络地址转换规则进行处理。图8中第二行的地址1、地址2、地址3和地址4分别对应电脑的虚拟网卡(第一IP地址)、无线传屏器的虚拟网卡、无线传屏器的无线通信模组(第二IP地址)以及显示设备的IP地址。假设当前有一网络数据包需要从电脑通过无线传屏器发送到显示设备,那么编码得到该网络数据包时,将地址1编码为网络数据包的源地址,将地址2编码为网络数据包的目的地址,得到图8中第三行所示的网络数据包,该网络数据包从电脑的虚拟网卡通过第一通信通道发送到无线传屏器的虚拟网卡,无线传屏器接收到该网络数据包之后,其处理器根据以上网络地址转换规则,不需要对该网络数据包进行完全解析,只需要按网络数据包的基本结构,将地址3(无线传屏器对应的第二IP地址)替换到源地址,将地址4(显示设备的IP地址)替换到目标地址,即可得到图8中第四行所示的网络数据包。处理器将该网络数据包给到无线通信模组即可直接发送到显示设备。
在无线传屏器的处理器对网络数据包进行转发的过程中,只需要对网络数据包进行初步的解码,获取到源地址和目的地址对应的结构单元的地址数据,并按网络地址转换规则和存储的IP地址对应进行地址数据转换,不需要对网络数据包中传屏相关的实体数据(例如投屏画面数据)进行解码和编码,即可快速进行网络数据包的转发。整个发送过程中对传屏相关实体数据的编码在数据处理能力较强的电脑完成,无线传屏器只需要简单进行初步的解码和数位不多的数据替换即可进行转发,缩短了数据处理时长,减少了无线传屏器的数据处理任务,利用第一通信通道的较大带宽以网络数据包的形式实现了投屏数据的快速发送,从而进一步同时满足画面质量高和画面同步性好的要求。
需要说明的是,图8所示的仅是基于网络架构中数据链路层的网络数据包(即以太网帧)的数据包格式进行示例性说明,在网络架构的其它层,数据包格式各自有对应的设计,但是不同数据包格式中,关于目标地址和源地址是较为基础的结构单元,例如IP层中IPv4和IPv6都包括目标地址和源地址对应的结构单元,在处理器转发网络数据包时涉及到对目标地址和源地址的处理时,均按基于图8描述的实施原则进行网络地址转换即可,即都只需进行初步的解码,在解码到可以对目标地址和源地址进行调整之后,不再做深入解码,而是根据网络地址转换规则对目标地址和源地址进行地址数据转换,并编码为网络数据包进行发送,相应也同样只需要简单进行初步的解码和数位不多的数据替换即可进行转发,缩短了数据处理时 长,减少了无线传屏器的数据处理任务,利用第一通信通道的较大带宽以网络数据包的形式实现了投屏数据的快速发送,从而进一步同时满足画面质量高和画面同步性好的要求。
上述方法,数据传输方法应用于数据传输设备,数据传输设备包括处理器、通用接口和无线通信模组,通用接口和无线通信模组均与处理器连接,通用接口用于与处理设备连接;该数据传输方法包括:通用接口与处理设备连接时被处理设备检测到;处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;处理器接收处理设备发送的请求指令,请求指令用于请求数据传输设备的设备信息,处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容;处理器对传屏控制数据进行解析以确定待转发的控制数据;基于通信连接,处理器控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制无线通信模组将待转发的控制数据发送给显示设备;处理器根据待转发的控制数据确定是否将媒体数据发送给显示设备将数据传输设备在其与处理设备连接时,向处理设备将其枚举为虚拟网卡,从而建立基于虚拟网卡的网络传输通道,数据传输设备通过网络传输通道从处理设备接收屏幕分享中的传屏控制数据以及媒体数据,提高了数据传输带宽,处理设备向数据传输设备传输投屏相关内容的传输速率较快,对显示设备处理数据内容的质量和/或时延实现优化。
图9为本申请实施例提供的一种数据传输装置的结构示意图。该数据传输装置应用于数据传输设备,该数据传输设备包括处理器、通用接口和无线通信模组,通用接口和无线通信模组均与处理器连接,通用接口用于与处理设备连接;数据传输设备与处理设备连接时被处理设备检测到,使得处理设备向数据传输设备发送请求指令,请求指令用于请求数据传输设备的设备信息,处理设备预装有通用驱动程序,通用驱动程序包括虚拟网卡驱动程序。请参考图9,该数据传输装置包括虚拟网卡创建单元210、请求指令接收单元220、请求指令回应单元230、传屏数据接收单元240和传屏数据处理单元250。
其中,虚拟网卡创建单元210,用于处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;请求指令接收单元220,用于处理器接收处理设备发送的请求指令,请求指令用于请求数据传输设备的设备信息;请求指令回应单元230,用于处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;传屏数据接收单元240,用于通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容;传屏数据处理单元250,用于处理器对传屏控制数据进行解析以确定待转发的控制数据;控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制无线通信模组将待转发的控制数据发送给显示设备;根据待转发的控制数据确定是否将媒体数据发送给显示设备。
在上述实施例的基础上,虚拟网卡创建单元210包括:
配置请求接收模块,用于通过通用接口接收处理设备发送的第一动态主机配置协议请求;
第一地址分配模块,用于应答于第一动态主机配置协议请求,根据虚拟网卡的IP地址分配第一IP地址给处理设备;
无线连接配置模块,用于控制无线通信模组连接显示设备所处的无线网络,以及向显示设备发送第二动态主机配置协议请求,以使得显示设备根据显示设备的IP地址分配第二IP地址给无线通信模组;
转换规则建立模块,用于根据第一IP地址和第二IP地址,建立网络地址转换规则,网络地址转换规则用于对所接收到的传屏控制数据和媒体数据进行网络地址转换。
在上述实施例的基础上,网络地址转换规则包括:
将所接收到的传屏控制数据和媒体数据的源地址由第一IP地址转换为第二IP地址;
将所接收到的传屏控制数据和媒体数据的目标地址由虚拟网卡的本地地址转换为显示设备的IP地址。
在上述实施例的基础上,数据传输设备还包括存储器,存储器与处理器连接,存储器存储有第一应用程序,复合设备还包括存储设备;
数据传输装置还包括:
应用程序发送单元,用于处理器通过存储设备发送第一应用程序给处理设备,以使得处理设备运行第一应用程序,第一应用程序用于在处理设备上获取传屏控制数据和媒体数据,并将传屏控制数据和媒体数据传输至虚拟网卡。
在上述实施例的基础上,传屏数据处理单元250包括:
控制数据接收模块,用于处理器通过虚拟网卡获取第一应用程序发送的传屏控制数据,并对传屏控制数据进行解析;
解析结果判断模块,用于处理器根据对传屏控制数据的解析结果确认是否对传屏控制数据进行处理;
控制数据转发模块,用于若解析结果为否,则处理器确定传屏控制数据为待转发的控制数据。
在上述实施例的基础上,通用接口为Type-A接口,第一应用程序还用于对媒体数据进行编码处理以得到第二编码数据;
数据传输装置还包括:
编码数据接收单元,用于虚拟网卡从处理设备获取第二编码数据;
编码数据转发单元,用于处理器控制虚拟网卡将第二编码数据发送至无线通信模组。
本申请实施例提供的数据传输装置可用于执行或配合执行上述实施例中提供的任一数据传输方法,具备相应的功能和有益效果。
值得注意的是,上述数据传输装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。
图10为本申请实施例提供的一种数据传输设备的结构示意图。参考图10,该数据传输设备20包括:通用接口211、无线通信模组213和处理器212;通用接口211和无线通信模组213均与处理器212相连,通用接口用于与处理设备连接;
数据传输设备20与处理设备连接时被处理设备检测到,使得处理设备向数据传输设备20发送请求指令,请求指令用于请求数据传输设备20的设备信息,处理设备预装有通用驱动程序,通用驱动程序包括虚拟网卡驱动程序;
处理器212被配置为:
根据请求指令进行回应,以将数据传输设备20作为复合设备呈现给处理设备,复合设备包括虚拟网卡;
根据虚拟网卡驱动程序的设置建立处理设备与虚拟网卡之间的第一通信通道,虚拟网卡驱动程序由处理设备根据回应调用运行;
通过第一通信通道获取处理设备发送的传屏控制数据和媒体数据;
对传屏控制数据进行解析以确定待转发的控制数据;
根据待转发的控制数据确定是否发送媒体数据给显示设备;
通过无线通信模块将待转发的控制数据发送给显示设备,并在处理器确定发送媒体数据给显示设备时,将媒体数据发送给显示设备。
该数据传输设备中的通用接口例如Type-A接口。
为整体实现投屏功能或实现更优的投屏体验,本方案中的数据传输设备可以包括存储器214,存储器214中可以存储应用程序或配置参数等,以供投屏过程中本地运行或被处理设备获取运行,例如存储第一应用程序214a,可以发送到处理设备运行,从而实现处理设备免手动安装投屏程序。
本申请实施例提供的数据传输设备可用于执行或配合执行上述实施例中提供的任一数据传输方法,具备相应的功能和有益效果。
值得注意的是,上述数据传输设备的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。
本申请实施例还提供了数据传输设备,该数据传输设备,包括:通用接口、虚拟网卡、无线通信模组和处理器;通用接口和无线通信模组均与处理器相连;
通用接口,用于与处理设备连接;
虚拟网卡,用于从处理设备获取传屏控制数据和媒体数据;
处理器,用于对虚拟网卡所获取到的传屏控制数据进行解析以确定待转发的控制数据并控制虚拟网卡将待转发的控制数据发送给无线通信模组,以及根据待转发的控制数据确定是否控制虚拟网卡将媒体数据发送给无线通信模组;
无线通信模组,用于将待转发的控制数据发送给显示设备,以及将虚拟网卡所发送的媒 体数据发送给显示设备。
该数据传输设备中的通用接口例如Type-A接口。
本申请实施例提供的数据传输设备可用于执行或配合执行上述实施例中提供的任一数据传输方法,具备相应的功能和有益效果。
值得注意的是,上述数据传输设备的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。
本申请实施例还提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现本申请任意实施例中提供的数据传输方法中的相关操作,且具备相应的功能和有益效果。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。
因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随 机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。

Claims (10)

  1. 一种数据传输方法,其中,应用于数据传输设备,数据传输设备包括处理器、通用接口和无线通信模组,通用接口和无线通信模组均与处理器连接,通用接口用于与处理设备连接;方法包括:
    通用接口与处理设备连接时被处理设备检测到;
    处理器基于通用接口创建虚拟网卡,并通过桥接或网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接;
    处理器接收处理设备发送的请求指令,请求指令用于请求数据传输设备的设备信息;
    处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;
    通过虚拟网卡获取处理设备发送的传屏控制数据和媒体数据,媒体数据为处理设备的屏幕上展示的内容;
    处理器对传屏控制数据进行解析以确定待转发的控制数据;
    基于通信连接,处理器控制虚拟网卡将待转发的控制数据发送给无线通信模组,并控制无线通信模组将待转发的控制数据发送给显示设备;
    处理器根据待转发的控制数据确定是否将媒体数据发送给显示设备。
  2. 根据权利要求1的数据传输方法,其中,通过网络地址转换的方式将虚拟网卡与无线通信模组建立通信连接包括:
    通过通用接口接收处理设备发送的第一动态主机配置协议请求;
    应答于第一动态主机配置协议请求,根据虚拟网卡的IP地址分配第一IP地址给处理设备;
    控制无线通信模组连接显示设备所处的无线网络,以及向显示设备发送第二动态主机配置协议请求,以使得显示设备根据显示设备的IP地址分配第二IP地址给无线通信模组;
    根据第一IP地址和第二IP地址,建立网络地址转换规则,网络地址转换规则用于对所接收到的传屏控制数据和媒体数据进行网络地址转换。
  3. 根据权利要求2的数据传输方法,其中,网络地址转换规则包括:
    将所接收到的传屏控制数据和媒体数据的源地址由第一IP地址转换为第二IP地址;
    将所接收到的传屏控制数据和媒体数据的目标地址由虚拟网卡的本地地址转换为显示设备的IP地址。
  4. 根据权利要求1至3任一项的数据传输方法,其中,数据传输设备还包括存储器,存储器与处理器连接,存储器存储有第一应用程序,复合设备还包括存储设备;
    处理器根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备之后还包括:
    处理器通过存储设备发送第一应用程序给处理设备,以使得处理设备运行第一应用程序,第一应用程序用于在处理设备上获取传屏控制数据和媒体数据,并将传屏控制数据和媒体数据传输至虚拟网卡。
  5. 根据权利要求4的数据传输方法,其中,对传屏控制数据进行解析以确定待转发的控制数据包括:
    处理器通过虚拟网卡获取第一应用程序发送的传屏控制数据,并对传屏控制数据进行解析;
    处理器根据对传屏控制数据的解析结果确认是否对传屏控制数据进行处理;
    若否,则处理器确定传屏控制数据为待转发的控制数据。
  6. 根据权利要求4的数据传输方法,其中,通用接口为Type-A接口,第一应用程序还用于对媒体数据进行编码处理以得到第二编码数据;
    处理器通过存储设备发送第一应用程序给处理设备之后还包括:
    虚拟网卡从处理设备获取第二编码数据;
    处理器控制虚拟网卡将第二编码数据发送至无线通信模组。
  7. 一种数据传输设备,其中,包括:通用接口、无线通信模组和处理器;通用接口和无线通信模组均与处理器相连,通用接口用于与处理设备连接;
    数据传输设备与处理设备连接时被处理设备检测到,使得处理设备向数据传输设备发送请求指令,请求指令用于请求数据传输设备的设备信息,处理设备预装有通用驱动程序,通用驱动程序包括虚拟网卡驱动程序;
    处理器被配置为:
    根据请求指令进行回应,以将数据传输设备作为复合设备呈现给处理设备,复合设备包括虚拟网卡;
    根据虚拟网卡驱动程序的设置建立处理设备与虚拟网卡之间的第一通信通道,虚拟网卡驱动程序由处理设备根据回应调用运行;
    通过第一通信通道获取处理设备发送的传屏控制数据和媒体数据;
    对传屏控制数据进行解析以确定待转发的控制数据;
    根据待转发的控制数据确定是否发送媒体数据给显示设备;
    通过无线通信模块将待转发的控制数据发送给显示设备,并在处理器确定发送媒体数据给显示设备时,将媒体数据发送给显示设备。
  8. 根据权利要求7的数据传输设备,其中,通用接口为Type-A接口。
  9. 一种数据传输设备,其中,包括:通用接口、虚拟网卡、无线通信模组和处理器;通用接口和无线通信模组均与处理器相连;
    通用接口,用于与处理设备连接;
    虚拟网卡,用于从处理设备获取传屏控制数据和媒体数据;
    处理器,用于对虚拟网卡所获取到的传屏控制数据进行解析以确定待转发的控制数据并控制虚拟网卡将待转发的控制数据发送给无线通信模组,以及根据待转发的控制数据确定是否控制虚拟网卡将媒体数据发送给无线通信模组;
    无线通信模组,用于将待转发的控制数据发送给显示设备,以及将虚拟网卡所发送的媒体数据发送给显示设备。
  10. 根据权利要求9的数据传输设备,其中,通用接口为Type-A接口。
PCT/CN2022/126765 2022-10-21 2022-10-21 数据传输方法和数据传输设备 WO2024082278A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126765 WO2024082278A1 (zh) 2022-10-21 2022-10-21 数据传输方法和数据传输设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/126765 WO2024082278A1 (zh) 2022-10-21 2022-10-21 数据传输方法和数据传输设备

Publications (1)

Publication Number Publication Date
WO2024082278A1 true WO2024082278A1 (zh) 2024-04-25

Family

ID=90736659

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/126765 WO2024082278A1 (zh) 2022-10-21 2022-10-21 数据传输方法和数据传输设备

Country Status (1)

Country Link
WO (1) WO2024082278A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316224A (zh) * 2018-03-19 2020-06-19 广州视源电子科技股份有限公司 数据传输装置以及数据传输方法
CN111459433A (zh) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 一种传屏方法、设备及存储介质
WO2022143508A1 (zh) * 2020-12-31 2022-07-07 华为技术有限公司 一种近场中传输数据的方法、设备及系统
CN114844745A (zh) * 2022-03-29 2022-08-02 西安广和通无线软件有限公司 数据转发装置、方法、电子设备及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316224A (zh) * 2018-03-19 2020-06-19 广州视源电子科技股份有限公司 数据传输装置以及数据传输方法
CN111459433A (zh) * 2020-03-30 2020-07-28 广州视源电子科技股份有限公司 一种传屏方法、设备及存储介质
WO2022143508A1 (zh) * 2020-12-31 2022-07-07 华为技术有限公司 一种近场中传输数据的方法、设备及系统
CN114844745A (zh) * 2022-03-29 2022-08-02 西安广和通无线软件有限公司 数据转发装置、方法、电子设备及存储介质

Similar Documents

Publication Publication Date Title
AU2019239357B2 (en) Data transmission device, and data transmission method
US9467731B2 (en) Method for controlling touch screen, and mobile terminal
US11205397B2 (en) Data transmission device and data transmission method
US8035630B2 (en) USB image transmission system and device
WO2017124860A1 (zh) 分布式无线多屏虚拟机服务系统
US20220239718A1 (en) Communication Protocol Switching Method, Apparatus, and System
WO2020211437A1 (zh) 传屏方法和多屏互动装置、系统
CN111459433A (zh) 一种传屏方法、设备及存储介质
US11579831B2 (en) Intelligent interactive all-in-one machine
WO2021129885A1 (zh) 一种基于ip网络的音视频传输方法及系统
TW201418987A (zh) 採用雷霆介面之電子裝置、其連接方法及底座設備
CN110971855A (zh) 基于USB Type-C接口的DVR系统及方法
KR20170020776A (ko) Hdmi를 사용하여 데이터를 송수신하기 위한 방법 및 장치
CN113253877B (zh) 电子白板系统及其控制方法
CN108494895B (zh) 交互智能平板、网域冲突控制方法、装置及介质
WO2024082278A1 (zh) 数据传输方法和数据传输设备
WO2013010429A1 (zh) 一种无线上网设备及方法
CN110515489A (zh) 智能交互设备及其控制方法
CN115878537A (zh) 数据传输方法及其装置
CN114025227A (zh) 一种电子设备及控制方法
CN207625719U (zh) 一种便捷式无线传屏协作设备
CN215379106U (zh) 一种会议内容显示系统
WO2020220969A1 (zh) 智能交互设备及其控制方法
WO2024114247A1 (zh) 数据传输方法及其装置
EP4336339A1 (en) Data transmission method and apparatus, and conference system, wireless screen transmitter and storage medium