A BYOD method and apparatus

By creating virtual UAC/UVC devices within BYOD devices and utilizing network protocols to process audio and video data, the problem of limited device count in existing technologies is solved, achieving more efficient data transmission and scalability.

CN116781622BActive Publication Date: 2025-12-12YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310899986.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-12-12
Estimated Expiration
2043-07-20

AI Technical Summary

Technical Problem

In existing BYOD solutions, the number of devices is limited and the hardware requirements are high because UAC/UVC devices are enumerated through actual USB endpoints, which cannot meet the needs of multi-stream scenarios.

Method used

Virtual UAC/UVC devices are created using network protocols, avoiding actual USB endpoint enumeration. Data is received using wired or wireless network cards, and audio and video data are written to the virtual devices separately based on the TCP/IP protocol, simplifying the data transmission process.

Benefits of technology

It breaks through hardware limitations, improves system scalability, simplifies data transmission, and increases data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116781622B_ABST
    Figure CN116781622B_ABST
Patent Text Reader

Abstract

The application discloses a BYOD method and device, comprising: obtaining network data, the network data comprising multiple audio data and multiple video data; sending the network data to a PC end through a BULK endpoint according to a TCP / IP network protocol, so that the PC end writes the multiple audio data into respective virtual UAC devices and writes the multiple video data into respective virtual UVC devices. The application sends network data to a PC end through a BULK endpoint by a TCP / IP network protocol, and creates virtual UAC devices and virtual UVC devices based on the TCP / IP network protocol, thereby avoiding enumeration of UAC devices and UVC devices through actual usb endpoints, breaking hardware limitations, and having strong expansibility. In addition, when transmitting data to the PC end, the audio data and the video data do not need to be split, so that the data transmission process is simplified and data transmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data communication, and more particularly to a BYOD method and device. Background Technology

[0002] Currently, in the BYOD (Bring Your Own Device) method, the BYOD device receives audio and video data streams from the VCS host via a network. The BYOD program then sends the video to the UVC device via the BULK (bulk transfer) endpoint and the audio to the UAC device via the ISOC (isolated transfer) endpoint. The PC receives the video data from the UVC devices enumerated through the actual BULK endpoint and plays it on its video software. Similarly, it receives the audio data from the UAC devices enumerated through the actual ISOC endpoint and plays it on its audio software. This allows the PC to play the audio and video data from the VCS host, thus enabling BYOD functionality.

[0003] While existing solutions have implemented the BYOD function, they require the use of actual USB endpoint devices for enumeration during use. In multi-stream scenarios, the number of USB endpoints required is very high, and there is a risk that the number of hardware endpoints may not be sufficient. Summary of the Invention

[0004] This invention provides a BYOD method and device to solve the technical problem that existing solutions enumerate UAC / UVC devices through actual USB endpoints, resulting in a limited number of devices and high hardware requirements.

[0005] To address the aforementioned technical problems, this invention provides a BYOD method, comprising:

[0006] Acquire network data, which includes multiple audio data streams and multiple video data streams;

[0007] After passing through a BULK endpoint, the network data is sent to the PC according to the network protocol, so that the PC writes multiple audio data streams to each virtual UAC device and multiple video data streams to each virtual UVC device.

[0008] This invention uses a BULK endpoint to package and send network data to a PC via a network protocol, and creates virtual UAC and virtual UVC devices based on the network protocol. This avoids enumerating UAC and UVC devices through actual USB endpoints, breaks hardware limitations, and has strong scalability. In addition, when transmitting data to the PC, there is no need to separate audio and video data, which simplifies the data transmission process and improves data transmission efficiency.

[0009] Furthermore, the step of enabling the PC to write multiple audio data streams to each virtual UAC device and multiple video data streams to each virtual UVC device specifically involves:

[0010] Parse the network data to obtain the number of audio data points and the number of video data points;

[0011] Based on the network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data.

[0012] Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

[0013] This invention creates virtual UAC and UVC devices corresponding to the number of video and audio data based on network protocols, eliminating the need to enumerate UAC and UVC devices through actual USB endpoints, thus breaking hardware limitations and improving scalability.

[0014] Furthermore, the acquisition of network data specifically includes:

[0015] Receive network data through a wired or wireless network card.

[0016] In this invention, network data is received via a wired or wireless network card and transmitted to a PC via a network protocol. The two data transmissions are in the same format. Therefore, when receiving network data, there is no need to split the audio and video data in the network data. They can be merged into a single BULK port for transmission, which simplifies the data transmission process and improves data transmission efficiency.

[0017] Furthermore, after writing the audio and video data into the respective virtual UAC and virtual UVC devices, the process further includes:

[0018] Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC;

[0019] Simultaneously play all audio and video data from all virtual UAC devices and virtual UVC devices.

[0020] Secondly, the present invention also provides a BYOD device, including: a data acquisition module and a data forwarding module;

[0021] The data acquisition module is used to acquire network data, which includes multiple audio data streams and multiple video data streams.

[0022] The data forwarding module is used to send network data to the PC through a BULK endpoint according to the network protocol, so that the PC can write multiple audio data into each virtual UAC device and multiple video data into each virtual UVC device.

[0023] Furthermore, the data forwarding module is specifically used for:

[0024] Parse the network data to obtain the number of audio data points and the number of video data points;

[0025] Based on the TCP / IP network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data.

[0026] Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

[0027] Furthermore, the data acquisition module is specifically used for:

[0028] Receive network data through a wired or wireless network card.

[0029] Furthermore, the data forwarding module is also used for:

[0030] Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC;

[0031] Play all audio and video data from all virtual UAC and virtual UVC devices.

[0032] Thirdly, the present invention also provides a computer device, comprising: a processor, a communication interface, and a memory, wherein the processor, the communication interface, and the memory are interconnected, wherein the memory stores executable program code, and the processor is used to call the executable program code to execute the BYOD method.

[0033] Fourthly, the present invention also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the BYOD method. Attached Figure Description

[0034] Figure 1 This is a schematic flowchart of the BYOD method provided in an embodiment of the present invention;

[0035] Figure 2 This is a data transmission diagram of the BYOD method provided in an embodiment of the present invention;

[0036] Figure 3 This is a schematic diagram of a BYOD device provided in an embodiment of the present invention. Detailed Implementation

[0037] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0038] Example 1

[0039] Please refer to Figure 1 , Figure 1 A flowchart illustrating the BYOD method provided in this embodiment of the invention includes steps 101 to 102, as detailed below:

[0040] Step 101: Acquire network data, which includes multiple audio data streams and multiple video data streams;

[0041] In this embodiment, acquiring network data specifically refers to:

[0042] Receive network data through a wired or wireless network card.

[0043] In this embodiment, the BYOD device obtains network data sent by the VCS host through a wired or wireless network card.

[0044] In this embodiment, the VCS host collects the video and audio data, encodes and packages the video data using a video codec such as H.264, and encodes and packages the audio data using an audio codec such as AAC, and then sends it to the BYOD device via the network.

[0045] In this embodiment, network data is received via a wired or wireless network card and transmitted to the PC via a network protocol. The two data transmissions are in the same format. Therefore, when receiving network data, there is no need to split the audio and video data in the network data. They can be merged into a single BULK port for transmission, which simplifies the data transmission process and improves data transmission efficiency.

[0046] Step 102: Through a BULK endpoint, the network data is sent to the PC according to the network protocol, so that the PC writes multiple audio data to each virtual UAC device and multiple video data to each virtual UVC device.

[0047] In this embodiment, the network protocols include, but are not limited to, TCP / IP, IPX / SPX, and NetBEUI protocols.

[0048] In this embodiment, the TCP / IP protocol is used as an example for explanation. As a reliable transmission protocol, the TCP / IP protocol has a retransmission mechanism. When transmitting audio and video data, the reliability of the protocol itself can be relied upon to improve the data transmission's ability to withstand packet loss, thereby improving the fault tolerance of the BYOD method and thus enhancing the user experience.

[0049] In this embodiment, since the audio data transmitted via the TCP / IP network protocol of the BYOD device and the PC is in the same format, when the network data is transmitted to the BYOD device, the BYOD device only needs to forward it. There is no need for the BYOD device to decode the network data and separate the audio and video streams for transmission through two ports. The data can be transmitted through a single port.

[0050] In this embodiment, the step of having the PC write multiple audio data streams to each virtual UAC device and multiple video data streams to each virtual UVC device specifically involves:

[0051] Parse the network data to obtain the number of audio data points and the number of video data points;

[0052] Based on the network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data.

[0053] Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

[0054] In this embodiment, the BYOD device forwards network data to the PC via a BULK endpoint using the TCP / IP protocol. The PC receives the network data via TCP / IP and decodes it to obtain the number of audio and video data points. Based on the TCP / IP protocol, virtual UAC (USB Audio Class) devices and virtual UVC (USB Video Class) devices corresponding to the number of audio and video data points are created.

[0055] In this embodiment, the BOYD device sends data based on the TCP / IP network protocol. The network data is transmitted via the USB interface through USB over IP technology, meaning the USB interface supports data transmission using the TCP / IP network protocol.

[0056] In this embodiment, virtual UAC and UVC devices corresponding to the number of video and audio data are created based on the TCP / IP network protocol, eliminating the need to enumerate UAC and UVC devices through actual USB endpoints, thus breaking hardware limitations and improving scalability.

[0057] Please refer to Figure 2 , Figure 2 This is a data transmission diagram of the BYOD method provided in an embodiment of the present invention.

[0058] In this embodiment, a TCP / IP protocol stack is built into both the PC and BYOD terminals. The lightweight IP protocol stack LWIP (Lightweight IP) is used, which can run without the support of an operating system. By maintaining the main functions of the TCP protocol, LWIP reduces the use of RAM (Random Access Memory). It only requires a few dozen KB of RAM and about 40 KB of ROM (Read-Only Memory) to run, thus enabling its use in low-end embedded systems.

[0059] In this embodiment, the BYOD device receives multiple audio and video data sent by the VCS host via a wired or wireless network card, and then sends the audio and video data to the PC via the TCP / IP network protocol through the BYOD program. The BYOD program is a software built into the BYOD device used to receive and transmit the audio and video data.

[0060] In this embodiment, audio data is written to each virtual UAC device in a one-to-one manner via the TCP / IP protocol, and video data is written to each virtual UVC device in a one-to-one manner.

[0061] In this embodiment, after writing the audio and video data into the respective virtual UAC and virtual UVC devices, the method further includes:

[0062] Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC;

[0063] Simultaneously play all audio and video data from all virtual UAC devices and virtual UVC devices.

[0064] In this embodiment, the audio software on the PC opens a virtual UAC device and plays the received audio data. The video software on the PC opens a virtual UVC device and plays the received video data, enabling multi-person audio and video calls through simultaneous playback.

[0065] In this embodiment, the present invention sends network data to the PC via a BULK endpoint and TCP / IP network protocol, and creates virtual UAC and virtual UVC devices based on TCP / IP network protocol. This avoids enumerating UAC and UVC devices through actual USB endpoints, breaks hardware limitations, and has strong scalability. In addition, when transmitting data to the PC, there is no need to separate audio and video data, which simplifies the data transmission process and improves data transmission efficiency.

[0066] Please refer to Figure 3 , Figure 3 A schematic diagram of a BYOD device provided in an embodiment of the present invention includes: a data acquisition module 301 and a data forwarding module 302;

[0067] The data acquisition module 301 is used to acquire network data, which includes multiple audio data and multiple video data.

[0068] The data forwarding module 302 is used to send the network data to the PC through a BULK endpoint according to the network protocol, so that the PC can write multiple audio data into each virtual UAC device and multiple video data into each virtual UVC device.

[0069] In this embodiment, the data forwarding module 302 is specifically used for:

[0070] Parse the network data to obtain the number of audio data points and the number of video data points;

[0071] Based on the network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data.

[0072] Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

[0073] In this embodiment, the data acquisition module 301 is specifically used for:

[0074] Receive network data through a wired or wireless network card.

[0075] In this embodiment, the data forwarding module 302 is further configured to:

[0076] Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC;

[0077] Play all audio and video data from all virtual UAC and virtual UVC devices.

[0078] This invention also provides a computer device, including: a processor, a communication interface, and a memory, wherein the processor, the communication interface, and the memory are interconnected, wherein the memory stores executable program code, and the processor is used to call the executable program code to execute the BYOD method.

[0079] This invention also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the BYOD method.

[0080] In this embodiment, network data is packaged and sent to the PC via a BULK endpoint using a network protocol. Virtual UAC devices and virtual UVC devices are created based on the network protocol, avoiding the need to enumerate UAC and UVC devices through actual USB endpoints, breaking hardware limitations and providing strong scalability. In addition, when transmitting data to the PC, there is no need to separate audio and video data, simplifying the data transmission process and improving data transmission efficiency.

[0081] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A BYOD method, characterized by, include: BYOD devices acquire network data, which includes multiple audio data streams and multiple video data streams; The network data is a data packet uniformly packaged by the VCS host; Through a BULK port, the network data is sent to the PC according to the network protocol, so that the PC can write multiple audio data streams to each virtual UAC device and multiple video data streams to each virtual UVC device.

2. The BYOD method of claim 1, wherein, The process of enabling the PC to write multiple audio data streams to each virtual UAC device and multiple video data streams to each virtual UVC device specifically involves: Parse the network data to obtain the number of audio data points and the number of video data points; Based on the network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data. Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

3. The BYOD method of claim 1, wherein, The acquisition of network data specifically includes: Receive network data through a wired or wireless network card.

4. The BYOD method of claim 2, wherein, After writing the audio and video data to the respective virtual UAC and virtual UVC devices, the process further includes: Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC; Simultaneously play all audio and video data from all virtual UAC devices and virtual UVC devices.

5. A BYOD device, characterized by, include: Data acquisition module and data forwarding module; The data acquisition module is used to acquire network data, which includes multiple audio data streams and multiple video data streams. The network data is a data packet uniformly packaged by the VCS host; The data forwarding module is used to send network data to the PC through a BULK port according to the network protocol, so that the PC can write multiple audio data into each virtual UAC device and multiple video data into each virtual UVC device.

6. The BYOD device of claim 5, wherein, The data forwarding module is specifically used for: Parse the network data to obtain the number of audio data points and the number of video data points; Based on the network protocol, a corresponding number of virtual UAC devices are created according to the number of audio data, and a corresponding number of virtual UVC devices are created according to the number of video data. Write each audio data and each video data to the respective virtual UAC device and virtual UVC device.

7. The BYOD device of claim 5, wherein, The data acquisition module is specifically used for: Receive network data through a wired or wireless network card.

8. The BYOD device of claim 6, wherein, The data forwarding module is also used for: Open all virtual UAC devices and virtual UVC devices using audio and video software on your PC; Play all audio and video data from all virtual UAC and virtual UVC devices.

9. A computer device, comprising: include: The processor, the communication interface, and the memory are interconnected, wherein the memory stores executable program code, and the processor is used to call the executable program code to execute the BYOD method as described in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions, and the computer instructions are executed by the processor to implement the BYOD method in any one of claims 1 to 4.

Citation Information

Patent Citations

  • USB2.0 interface-based audio and video data transfer method

    CN101009849A

  • Multi-platform multi-application live broadcast method and system, live broadcast equipment and storage medium

    CN114286117A