APP and method for realizing remote connection between UAC and UVC devices using wireless channels
APP that realizes remote connection between UAC and UVC devices through wireless channels, uses USB control module and signaling module to solve the problem of Dongle device dependence and multi-device transmission in the existing technology, realizes the video conferencing function without Dongle devices, and improves the User experience and connectivity ease.
Patent Information
- Application Number
- CN202410891006.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing UAC and UVC devices remote connection systems require additional Dongle devices, which are presented as combination devices and do not support transmissive transmission of multiple USB devices, and require pairing to connect to a new remote receiver.
APP that uses wireless channels to achieve remote connection between UAC and UVC devices includes USB control module, signaling module and driver module. It discovers and manages remote receivers through signaling broadcasts, creates USB control and media channels, and builds virtual USB devices, and supports Remote connection and data transmission of individual or combined devices.
Remote connection between UAC and UVC devices can be achieved without Dongle devices, improving user experience, supporting multi-device transmission, making the connection more flexible and convenient, reducing Dongle plug-in and unplugging operations.
Smart Images

Figure CN118433683B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless communication, and in particular to an APP and a method for realizing remote connection between a UAC and a UVC device by using a wireless channel. Background Art
[0002] The USB-C Dongle is connected to the PC, and the video and audio information displayed by the PC can be sent to the remote receiver RX through the wireless channel. RX converts the video and audio information into HDMI and outputs it to the TV for display. The remote receiver RX is connected to the USB device (including UAC, UVC, HID, etc.). The remote receiver RX can establish a connection with the Dongle through the wireless channel and present the USB device to the PC, such as Figure 3 shown.
[0003] However, the existing remote connection system between UAC and UVC devices has the following problems:
[0004] (1) The PC needs to be connected to an additional Dongle device;
[0005] (2) The Dongle device appears as a combined device and cannot transparently transmit multiple USB devices as is;
[0006] (3) Dongle needs to be paired before it can connect to the new remote receiver RX.
[0007] To sum up, it is necessary to make further innovations on existing technologies. Summary of the invention
[0008] In response to the technical problems existing in the above-mentioned background technology, the present invention proposes an APP and method which has a reasonable concept and is more flexible and convenient to use. It can be conveniently and flexibly networked in large, medium and small conference room scenarios. Users only need to install and run the APP on the PC to start a video conference without the need to use a Dongle device, which reduces the Dongle plug-in and unplug operations and improves the user experience. It uses a wireless channel to realize the remote connection of UAC and UVC devices.
[0009] To solve the above technical problems, the present invention provides an APP that uses a wireless channel to realize remote connection between UAC and UVC devices, which includes a USB control module, a signaling module and a driver module; the USB control module discovers and manages a remote receiver RX through signaling broadcast, requests the remote receiver RX to remotely connect the UAC and UVC devices, creates a USB control and USB media channel with the remote receiver RX, and sends and receives USB control and USB media information; the signaling module is responsible for establishing and maintaining a signaling channel with the remote receiver RX, and is responsible for signaling processing between the APP and the remote receiver RX; the USB driver module constructs a virtual USB device in the PC operating system, and the virtual USB device has the same function as a real USB device.
[0010] The APP that uses a wireless channel to achieve remote connection between UAC and UVC devices, wherein: the USB media channel includes a Camera media channel, a Speaker media channel and a MIC media channel.
[0011] The APP that uses a wireless channel to achieve remote connection between UAC and UVC devices, wherein: the remote receiver RX includes a remote USB control module and a remote signaling module; the remote USB control module receives a device discovery message and responds, completes the USB device management connected to the remote receiver RX, negotiates with the APP for remote connection of the USB device, creates a USB control and USB media channel with the APP, and sends and receives USB control and media information; the remote signaling module is responsible for managing the signaling channel established by the APP, and is responsible for signaling processing between the remote receiver RX and the APP.
[0012] A method for realizing remote connection between UAC and UVC device through wireless channel, based on the above-mentioned APP for realizing remote connection between UAC and UVC device through wireless channel; it mainly includes the following steps:
[0013] S100, Search Device
[0014] S110, the APP periodically uses the specified multicast address + port to send a search device message;
[0015] S120, the remote receiver RX receives the search device message of the specified multicast address + port, and sends a search device response message to the IP and port specified by the APP;
[0016] S130, the APP receives the response and presents the device name and status of the remote receiver RX on its interface;
[0017] S200, USB connection
[0018] S210, selecting a remote receiver RX from the remote receiver RX list searched on the interface of the APP to establish a signaling channel. If there is already a remote receiver RX connected, the connected remote receiver RX must be disconnected;
[0019] S220, the APP sends a USB connection request to the remote receiver RX;
[0020] S230, when the remote receiver RX receives the USB connection request, it performs a preemptible connection process;
[0021] S300, create USB control and media channels
[0022] Upon receiving the USB device descriptor in the USB connection request response, the APP may create a USB combined device, and create corresponding endpoints for USB device reading and writing and corresponding media channels for sending and receiving according to the array of USB endpoint information;
[0023] S400, cyclic data transmission and reception
[0024] S410, the USB control channel between the APP and the remote receiver RX is bidirectional; the APP reads the control information from the USB driver, encapsulates it into a control message and sends it to the remote receiver RX, the remote receiver RX receives the control message and parses it and sends it to the corresponding USB device, and feeds back the operation result to the APP;
[0025] S420, turning on MIC, Speaker and Camera through the USB control channel between the APP and the remote receiver RX;
[0026] S430, cyclically sending and receiving data of MIC, Speaker and Camera;
[0027] S440, USB control channel control operation between the APP and the remote receiver RX;
[0028] S500, USB change notice
[0029] S510, when a USB connection request is preempted, a USB disconnection request is rolled back, and a USB update of a remote receiver RX is performed, a USB change notification is sent to the APP;
[0030] S520, the APP receives a USB change notification from the remote receiver RX, the USB control module calls the USB driver to process the change according to the change type, and sends a response to the remote receiver RX;
[0031] S530, the remote receiver RX receives the USB change notification response from the APP, and when the APP returns a response that the change is successful, the remote receiver RX processes the USB endpoint reading and the media channel sending and receiving according to the change type;
[0032] S600, USB disconnection
[0033] S610, selecting a connected device on the APP interface to disconnect;
[0034] S620, the APP sends a USB disconnect request to the remote receiver RX;
[0035] S630: When receiving the disconnection request, the remote receiver RX performs a reversible disconnection process.
[0036] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein step S210 specifically includes the following steps:
[0037] S211, the APP establishes a signaling channel with the remote receiver RX according to the connection type and connection parameters;
[0038] S212, the APP sends a request to create a signaling channel to the remote receiver RX;
[0039] S213, after receiving the request processing, the remote receiver RX sends a signaling channel creation request response to the APP, and the signaling channel request response includes a response code, a client unique identifier, an access code type, a device type of the remote receiver RX, and a capability set of the remote receiver RX;
[0040] S214. The APP receives a response to the request to create a signaling channel. The response code is success, indicating that the signaling channel is successfully created.
[0041] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein step S230 specifically includes the following steps:
[0042] S231, when the remote receiver RX is not connected to the APP, the UAC, UVC and HID devices connected to the USB interface are opened, a request response is generated according to the USB connection request information and sent to the APP, and the corresponding endpoint reading and writing of the MIC data, speaker data and camera data of the UAC and UVC devices and the corresponding media channel sending and receiving are created;
[0043] S232, when the remote receiver RX has the APP connected, the remote receiver RX sends a USB change message to the connected APP to shut down the USB device, and after receiving the APP change message response, shuts down the media channel receiving and sending of the connected APP;
[0044] S233, generating a request response according to the USB connection request information and sending it to the newly connected APP, creating a new APP media channel for sending and receiving;
[0045] S234, the APP receives a response to the USB connection request, and the response code is success, indicating that the USB connection request is successful.
[0046] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein: in the step S300, a USB device descriptor is received in a USB connection request response, and the APP can also create an independent USB device set to create a USB device corresponding endpoint reading and writing and its corresponding media channel sending and receiving according to an array of USB endpoint information.
[0047] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein step S430 specifically includes the following steps:
[0048] S431, the remote receiver RX reads the MIC data from the endpoint corresponding to the MIC data, encapsulates it into an RTP packet, and sends it to the APP from the MIC data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet, and writes it into the USB driver corresponding to the MIC;
[0049] S432, the remote receiver RX reads the camera data from the endpoint corresponding to the camera data, encapsulates it into an RTP packet, and sends it to the APP from the camera data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet and writes it into the USB driver corresponding to the camera;
[0050] S433, the APP receives the RTP packets of MIC and Camera from the MIC media and the Camera media and needs to sort the RTP packets and align the MIC and Camera data;
[0051] S434, the APP reads the Speaker data from the USB driver corresponding to the Speaker, encapsulates it into an RTP packet in the USB control module, and sends it from the Speaker data channel to the remote receiver RX. The remote receiver RX receives the RTP packet, parses the RTP packet, and then writes it to the USB device corresponding to the Speaker.
[0052] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein: the USB control channel control operation in step S440 specifically includes MIC and Speaker mute / unmute, MIC and Speaker volume increase and decrease, Camera movement and zoom, Camera contrast and brightness adjustment, and closing MIC, Speaker and Camera through USB control channel.
[0053] The method for realizing remote connection between UAC and UVC device through wireless channel, wherein step S630 specifically includes the following steps:
[0054] S631: When there is no APP connection, turn off the reading and writing of the endpoints corresponding to the MIC data, speaker data and camera data of the UAC and UVC devices and the sending and receiving of the corresponding media channels, turn off the UAC, UVC and HID devices, and send a USB disconnection request response to the APP;
[0055] S632: When the APP is connected, close the media channel transmission and reception, and send a USB disconnection request response to the requesting APP;
[0056] S633, sending a USB change message to the APP connected to the previous USB to open the USB combination device, and after receiving a response, creating a media channel for sending and receiving;
[0057] S634, the APP receives a response to the remote receiver RX disconnect request, and the return code is success, indicating that the USB disconnection is successful;
[0058] S635, the APP closes the USB media channel, the USB control channel and the USB device corresponding to the USB driver;
[0059] S636: The APP closes the signaling channel.
[0060] By adopting the above technical solution, the present invention has the following beneficial effects:
[0061] The APP and method of the present invention adopting wireless channels to realize remote connection of UAC and UVC devices are reasonably conceived, more flexible and convenient to use, and can be conveniently and flexibly networked in large, medium and small conference room scenarios. Users only need to install and run the APP on the PC to start a video conference without using the Dongle device, thus reducing the Dongle plug-in and unplug operations and improving the user experience; the present invention supports both combined devices and separate devices, and UAC and UVC can be changed separately without affecting each other, which is more flexible and convenient to use; the APP can select different RX connections with one click, without the need for re-pairing operations, and is more convenient to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0063] Figure 1 This is a connection principle diagram of an APP that uses a wireless channel to achieve remote connection between UAC and UVC devices in the present invention;
[0064] Figure 2 A flow chart of a method for realizing remote connection between UAC and UVC devices by using a wireless channel according to the present invention;
[0065] Figure 3 This is the connection schematic diagram of the system for remote connection of the original UAC and UVC devices. DETAILED DESCRIPTION
[0066] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] The present invention is further explained below in conjunction with specific implementation modes.
[0068] Glossary:
[0069] PC stands for Personal Computer, that is, personal computer;
[0070] USB stands for Universal Serial Bus.
[0071] UAC stands for USB Audio Class, which means USB audio class;
[0072] UVC stands for USB Video Class, which means USB video class;
[0073] HID stands for Human Interface Device, which means human-computer interaction device.
[0074] Camera means: camera;
[0075] Speaker means: loudspeaker;
[0076] MIC stands for microphone, which means microphone.
[0077] like Figure 1 As shown, the present embodiment provides an APP that uses a wireless channel to achieve remote connection between UAC and UVC devices, including a USB control module, a signaling module and a driver module.
[0078] The USB control module discovers and manages the remote receiver RX through signaling broadcast, requests the remote receiver RX to connect to the UAC and UVC devices remotely, creates USB control and USB media channels with the remote receiver RX, and sends and receives USB control and USB media information; wherein the USB media channel includes a Camera media channel, a Speaker media channel, and a MIC media channel.
[0079] The signaling module is responsible for establishing and maintaining a signaling channel with the remote receiver RX and for signaling processing between the APP and the remote receiver RX.
[0080] The USB driver module builds a virtual USB device in the PC operating system, and the virtual USB device has the same functions as a real USB device. It can be a USB combination device including UAC, UVC and HID, or it can transparently transmit UAC, UVC and HID devices as is.
[0081] The remote receiver RX includes a remote USB control module and a remote signaling module. The remote USB control module receives device discovery messages and responds, completes USB device management connected to the remote receiver RX, negotiates USB device remote connection with the APP, creates USB control and USB media channels with the APP, and sends and receives USB control and media information. The remote signaling module is responsible for managing the signaling channel established by the APP and for signaling processing between the remote receiver RX and the APP.
[0082] like Figure 2 As shown, the present invention uses a wireless channel to realize a method for remotely connecting UAC and UVC devices, and the specific method is as follows:
[0083] S100, Search Device
[0084] S110, APP regularly uses the specified multicast address + port to send search device messages; the multicast message contains device type, device function, etc.
[0085] S120, the remote receiver RX receives the device search message of the specified multicast address + port, and sends a device search response message to the IP and port specified by the APP. The response message includes the device type, device function, device status, device name, connection information, etc.; the connection information includes the connection type and connection parameters. The connection type includes the specified WIFI and the existing network. The connection parameters of the specified WIFI include the SSID, password, connection IP, and connection PORT of the WIFI. The connection parameters of the existing network include the connection IP and connection PORT.
[0086] S130 , the APP receives the response and presents the device name and status of the remote receiver RX on the APP interface.
[0087] S200, USB connection
[0088] S210. Select a remote receiver RX from the remote receiver RX list searched on the APP interface to establish a signaling channel. If there is already a remote receiver RX connected, disconnect the connected remote receiver RX.
[0089] S211, APP establishes a signaling channel with RX according to the connection type and connection parameters;
[0090] S212, APP sends a request to create a signaling channel to the remote receiver RX, the request includes device type and access code information;
[0091] S213. After receiving the request, the remote receiver RX sends a signaling channel creation request response to the APP, and the signaling channel request response includes a response code, a unique identifier of the client, an access code type, a device type of the remote receiver RX, and a capability set of the remote receiver RX;
[0092] S214. The APP receives a response to the request to create a signaling channel. The response code is success, indicating that the signaling channel is successfully created.
[0093] S220, APP sends a USB connection request to the remote receiver RX, the request includes the maximum number of endpoints supported by USB, the available port range for media reception, the maximum supported bandwidth, etc.;
[0094] S230: When the remote receiver RX receives the USB connection request, it performs a preemptible connection process, specifically including:
[0095] S231, the remote receiver RX has no APP connection: open the UAC, UVC and HID devices connected to the USB interface, generate a request response according to the USB connection request information and send it to the APP, the request response includes a response code, a USB combined device description, the number of endpoints used and an endpoint information array (the endpoint information includes the endpoint number, type, and receiving port, and the types include USB control, MIC data, Speaker data and Camera data); create endpoints corresponding to the MIC data, Speaker data and Camera data of the UAC and UVC devices for reading and writing, and their corresponding media channels for sending and receiving;
[0096] S232, the remote receiver RX has an APP connection: send a USB change message to the connected APP to turn off the USB device, and after receiving the APP change message response, turn off the media channel sending and receiving of the connected APP;
[0097] S233, generating a request response according to the USB connection request information and sending it to the newly connected APP; creating a new APP media channel for sending and receiving;
[0098] S234, the APP receives a response to the USB connection request, and the response code is success, indicating that the USB connection request is successful;
[0099] S300, create USB control and media channels
[0100] After receiving the USB device descriptor in the USB connection request response, the APP can create a USB combination device or an independent USB device set (a USB combination device refers to a USB device that contains UAC+UVC+HID, and an independent USB device set contains a combination of UAC devices, UVC devices, and HID devices), and create the corresponding endpoint reading and writing of the USB device and its corresponding media channel sending and receiving according to the array of USB endpoint information;
[0101] S400, cyclic data transmission and reception
[0102] S410, the USB control channel between the APP and the remote receiver RX is bidirectional; the APP reads the control information from the USB driver, encapsulates it into a control message and sends it to the remote receiver RX, the remote receiver RX receives the control message and parses it and sends it to the corresponding USB device, and feeds back the operation result to the APP;
[0103] S420, turn on MIC, Speaker and Camera through the USB control channel between the APP and the remote receiver RX;
[0104] S430, cyclically sending and receiving data of MIC, Speaker and Camera, specifically including:
[0105] S431, the remote receiver RX reads the MIC data from the endpoint corresponding to the MIC data, encapsulates it into an RTP packet, and sends it to the APP from the MIC data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet, and writes it into the USB driver corresponding to the MIC;
[0106] S432, the remote receiver RX reads the camera data from the endpoint corresponding to the camera data, encapsulates it into an RTP packet, and sends it to the APP from the camera data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet, and writes it into the USB driver corresponding to the camera.
[0107] S433, APP receives RTP packets from MIC media and Camera media and needs to sort RTP packets and align MIC and Camera data;
[0108] S434, the APP reads the speaker data from the USB driver corresponding to the speaker, encapsulates it into an RTP packet in the USB control module, and sends it to the remote receiver RX from the speaker data channel. The remote receiver RX receives the RTP packet, parses the RTP packet, and writes it to the USB device corresponding to the speaker;
[0109] S440, USB control channel control operation, specifically including:
[0110] S441, MIC and Speaker mute / unmute;
[0111] S442, MIC and Speaker volume increase and decrease;
[0112] S443, Camera movement and zooming, etc.;
[0113] S444, Camera contrast, brightness, etc. adjustment;
[0114] S445, turn off MIC, Speaker and Camera through USB control channel;
[0115] S500, USB change notification, including:
[0116] S510, sending a USB change notification to the APP when the USB connection request is preempted, the USB disconnection request is rolled back, and the USB of the remote receiver RX is updated. The change notification includes the message type, USB combined device description, the number of endpoints used, and the endpoint information array information; the change type includes connection, disconnection, and connection update;
[0117] S520, the APP receives a USB change notification from the remote receiver RX, the USB control module calls the USB driver to process the change according to the change type, and sends a response to the remote receiver RX;
[0118] S530, the remote receiver RX receives the USB change notification response from the APP, and when the APP returns a response that the change is successful, it processes the USB endpoint reading and the media channel sending and receiving according to the change type;
[0119] S600, USB disconnection
[0120] S610, select the connected device on the APP interface to disconnect;
[0121] S620, APP sends a USB disconnect request to the remote receiver RX;
[0122] S630: When receiving the disconnection request, the remote receiver RX performs a reversible disconnection process, which specifically includes:
[0123] S631: When there is no APP connection, turn off the reading and writing of the endpoints corresponding to the MIC data, speaker data, and camera data of the UAC and UVC devices and the sending and receiving of the corresponding media channels, turn off the UAC, UVC, and HID devices, and send a USB disconnection request response to the APP;
[0124] S632: When there is an APP connected, close the media channel transmission and reception, and send a USB disconnection request response to the requesting APP;
[0125] S633, sending a USB change message to an APP connected to the previous USB to open the USB combination device, and after receiving a response, creating a media channel for sending and receiving;
[0126] S634, APP receives the remote receiver RX disconnect request response, and the return code is success, indicating that the USB disconnection is successful;
[0127] S635, the APP closes the USB media channel, the USB control channel and the USB device corresponding to the USB driver;
[0128] S636. APP closes the signaling channel.
[0129] The present invention is more flexible and convenient to use, and can be easily and flexibly networked in large, medium and small conference room scenarios. Users only need to install and run the APP on the PC to start a video conference without using a Dongle device, which reduces the Dongle plug-in and pull-out operations and improves the user experience.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for realizing remote connection between UAC and UVC device through wireless channel, the method is executed by PC, the PC has APP installed, characterized in that: The method mainly comprises the following steps: S100, Search Device S110, the APP periodically uses the specified multicast address + port to send a search device message; S120, the remote receiver RX receives a search device message of the specified multicast address + port, and sends a search device response message to the multicast address and port specified by the APP; S130, the APP receives the response and presents the device name and status of the remote receiver RX on its interface; S200, USB connection S210, selecting a remote receiver RX from the remote receiver RX list searched on the interface of the APP to establish a signaling channel. If there is already a remote receiver RX connected, the connected remote receiver RX must be disconnected; S220, the APP sends a USB connection request to the remote receiver RX; S230, when the remote receiver RX receives the USB connection request, it performs a preemptible connection process; S300, create USB control and media channels The APP receives the USB device descriptor in the USB connection request response, and the APP can create a USB combination device, and create the endpoint reading and writing function corresponding to the USB device and the media channel receiving and sending function corresponding to the USB device according to the array of USB endpoint information; S400, cyclic data transmission and reception S410, the USB control channel between the APP and the remote receiver RX is bidirectional; the APP reads the control information from the USB driver module, encapsulates it into a control message and sends it to the remote receiver RX, the remote receiver RX receives the control message and parses it and sends it to the corresponding USB device, and feeds back the operation result to the APP; S420, turning on MIC, Speaker and Camera through the USB control channel between the APP and the remote receiver RX; S430, cyclically sending and receiving data of MIC, Speaker and Camera; S440, USB control channel control operation between the APP and the remote receiver RX; S500, USB change notice S510, when the USB connection request is preempted, the USB disconnection request is rolled back, and the USB of the remote receiver RX is updated, the remote receiver RX sends a USB change notification to the APP; S520, the APP receives a USB change notification from the remote receiver RX, the USB control module calls the USB driver module to process the change according to the change type, and sends a response to the remote receiver RX; S530, the remote receiver RX receives the USB change notification response from the APP, and when the APP returns a response that the change is successful, the remote receiver RX processes the USB endpoint reading and the media channel sending and receiving according to the change type; S600, USB disconnection S610, selecting a connected device on the APP interface to disconnect; S620, the APP sends a USB disconnect request to the remote receiver RX; S630, when the remote receiver RX receives the disconnection request, it performs a reversible disconnection process; The step S210 specifically includes the following steps: S211, the APP establishes a signaling channel with the remote receiver RX according to the connection type and connection parameters; S212, the APP sends a request to create a signaling channel to the remote receiver RX; S213, after receiving the request processing, the remote receiver RX sends a signaling channel creation request response to the APP, and the signaling channel creation request response includes a response code, a client unique identifier, an access code type, a device type of the remote receiver RX, and a capability set of the remote receiver RX; S214, the APP receives a response to the request to create a signaling channel, and the response code is success or failure. The signaling channel is created successfully only when the response code is success; The step S230 specifically includes the following steps: S231, when the remote receiver RX is not connected to the APP, the UAC, UVC and HID devices connected to the USB interface are opened, a request response is generated according to the USB connection request and sent to the APP, and the corresponding endpoint reading and writing functions of the MIC data, speaker data and camera data of the UAC and UVC devices and the corresponding media channel receiving and sending functions of the UAC and UVC devices are created; S232, when the remote receiver RX is connected to the APP, sending a USB change message to the connected APP to shut down the USB device, and after receiving a response to the APP change message, shutting down the sending and receiving functions of the media channel connected to the APP; S233, generating a request response according to the USB connection request and sending the response to the newly connected APP, thereby creating a media channel for the newly connected APP; S234, the APP receives a USB connection request response, the response code is success or failure, and only when the response code is success does it indicate that the signaling channel is successfully created; In step S300, the USB device descriptor in the USB connection request response is received, and the APP can also create an independent USB device set to create a corresponding endpoint read and write function of the USB device and a corresponding media channel transceiver function of the USB device according to the array of USB endpoint information; The step S430 specifically includes the following steps: S431, the remote receiver RX reads the MIC data from the endpoint corresponding to the MIC data, encapsulates it into an RTP packet, and sends it to the APP from the MIC data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet and writes it into the USB driver module corresponding to the MIC; S432, the remote receiver RX reads the camera data from the endpoint corresponding to the camera data, encapsulates it into an RTP packet, and sends it to the APP from the camera data channel. The USB control module of the APP receives the RTP packet, parses the RTP packet and writes it into the USB driver module corresponding to the camera; S433, the APP receives the RTP packets of MIC and Camera from the MIC media channel and the Camera media channel and needs to sort the RTP packets and align the MIC and Camera data; S434, the APP reads the speaker data from the USB driver module corresponding to the speaker, encapsulates it into an RTP packet in the USB control module, and sends it to the remote receiver RX from the speaker data channel. The remote receiver RX receives the RTP packet, parses the RTP packet, and then writes it to the USB device corresponding to the speaker; The step S630 specifically includes the following steps: S631: When there is no APP connected to the remote receiver RX, the corresponding endpoint reading and writing functions of the MIC data, speaker data and camera data of the UAC and UVC devices and the corresponding media channel transceiver functions of the UAC and UVC devices are turned off, the UAC, UVC and HID devices are turned off, and a USB disconnection request response is sent to the APP; S632, when the APP is connected to the remote receiver RX, close the media channel transmission and reception, and send a USB disconnection request response to the requesting APP; S633: Send a USB change message to the APP connected to the previous USB to open the USB combination device, and after receiving a response, create a media channel; S634, the APP receives a response to the remote receiver RX disconnect request, and the return code is success or failure. Only when the return code is success does it mean that the USB disconnection is successful; S635, the APP closes the USB media channel, the USB control channel and the USB device corresponding to the USB driver; S636: The APP closes the signaling channel.
2. The method for realizing remote connection between UAC and UVC device through wireless channel as claimed in claim 1, characterized in that: The USB control channel control operations in step S440 specifically include MIC and Speaker mute / unmute, MIC and Speaker volume increase / decrease, Camera movement and zoom, Camera contrast and brightness adjustment, and closing the MIC, Speaker and Camera through the USB control channel.
