CN112672091A - Network-based video communication method, system, storage medium and UVC (ultraviolet video coding) equipment - Google Patents

Network-based video communication method, system, storage medium and UVC (ultraviolet video coding) equipment Download PDF

Info

Publication number
CN112672091A
CN112672091A CN202011513792.4A CN202011513792A CN112672091A CN 112672091 A CN112672091 A CN 112672091A CN 202011513792 A CN202011513792 A CN 202011513792A CN 112672091 A CN112672091 A CN 112672091A
Authority
CN
China
Prior art keywords
camera device
uvc
client
usb
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011513792.4A
Other languages
Chinese (zh)
Other versions
CN112672091B (en
Inventor
林文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202011513792.4A priority Critical patent/CN112672091B/en
Publication of CN112672091A publication Critical patent/CN112672091A/en
Application granted granted Critical
Publication of CN112672091B publication Critical patent/CN112672091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a video communication method, a system, a storage medium and UVC equipment based on a network, comprising the following steps: the client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP; the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle; the client analyzes the URB packet, and enumerates standard Camera equipment according to the descriptor information of the USB equipment obtained by analysis; and the communication software on the client remotely controls the Camera device end through standard Camera devices. The method and the system can meet the requirement that the video conference host expands multiple cameras through the internet access, and can be identified and utilized by standard communication software, so that the video communication experience of a user is improved.

Description

Network-based video communication method, system, storage medium and UVC (ultraviolet video coding) equipment
Technical Field
The invention relates to the technical field of video conferences, in particular to a network-based video communication method and system, a computer-readable storage medium and UVC equipment.
Background
A video conference system refers to a remote conference system in which two or more individuals or groups in different places transmit audio, video and file data to each other through a transmission line and multimedia devices, thereby realizing real-time and interactive communication.
The video conference is the most advanced communication technology at present, and can realize high-efficiency and high-definition remote conference and office only by means of the internet, has unique advantages in the aspects of continuously improving the communication efficiency of users, reducing the travel cost of enterprises, improving the management effect and the like, has partially replaced business trips, and becomes the latest mode of remote office.
In the video conference of the existing video conference system, a host can be externally connected with standard UVC Camera equipment through a USB port and can also be externally connected with IP Camera equipment through a network port so as to meet the conference requirement of a conference room. However, in the case of a very large conference room, many external interfaces are required, and an external IP Camera device through a network interface can only be used in conference software developed by a manufacturer, and cannot be recognized and utilized by standard communication software such as Teams and SFB software like UVC Camera.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a network-based video communication method, system, computer-readable storage medium, and UVC device, which can meet the requirement of a video conference host on expanding multiple cameras through a portal and can be identified and utilized by standard communication software.
In order to solve the above technical problem, an embodiment of the present invention provides a network-based video communication method, where the method includes:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
Further, before the client acquires the IP information of the Camera device with the UVC service on the network through the mDNS service, the method further includes:
the client loads a virtual USB main controller driver and a uvc video driver to realize enumeration processing of the uvc video device at the Camera device end;
the Camera equipment end loads a virtual USB equipment controller driver and a uvc gadget driver; the uvc gadget driver comprises USB descriptor information of the Camera device end, so that the client can obtain and identify the function type of the USB device.
Further, the USB descriptor information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor.
Further, before the client creates a connection with the Camera device end through TCP, the method further includes:
the Camera device side registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client side.
Further, the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle, specifically:
setting the socket fd handle as a virtual USB device controller drive;
and the virtual USB device controller driver encapsulates the USB device descriptor information set by the acquired uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB main controller driver through the socket fd handle.
Further, the client analyzes the URB packet, enumerates a standard Camera device according to the USB device descriptor information obtained by the analysis, and specifically includes:
setting the socket fd handle as a virtual USB host controller driver, and receiving the URB packet by the virtual USB host controller driver through the created RX kernel thread;
analyzing the received URB packet, triggering a USB Core layer according to the descriptor information of the USB device obtained through analysis to obtain the USB video function of the Camera device end, and driving and enumerating standard Camera devices through uvc video.
Further, the communication software on the client performs remote control on the Camera device end through the standard Camera device, specifically,
and the communication software on the client controls the standard Camera device through a V4L2 interface so as to realize remote control of the Camera device.
In order to solve the above technical problem, an embodiment of the present invention further provides a network-based video communication system, where the system includes:
the connection module is used for enabling the client to acquire IP information of a Camera device end with UVC service on a network through mDNS service, and establishing connection with the Camera device end through TCP to request the Camera device end to perform remote enumeration;
the encapsulation module is used for enabling the Camera equipment end to encapsulate USB equipment descriptor information driven by the uvc gadget into a URB packet and send the URB packet to the client through a socket fd handle;
the analysis module is used for enabling the client to analyze the URB packet and enumerating standard Camera equipment according to the descriptor information of the USB equipment obtained through analysis;
and the control module is used for enabling the communication software on the client to remotely control the Camera device end through the standard Camera device.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the steps of:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
An embodiment of the present invention further provides a UVC device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the following steps when executing the computer program:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
Compared with the prior art, the embodiment of the invention provides a network-based video communication method, a network-based video communication system, a computer-readable storage medium and a UVC device, wherein a client acquires IP information of a Camera device end with UVC service on a network through an mDNS service, and establishes connection with the Camera device end through a TCP (transmission control protocol) to request the Camera device end to perform remote enumeration; the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle; the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis; and the communication software on the client remotely controls the Camera device end through the standard Camera device. Compared with the prior art that the host is connected with a standard UVC Camera device through a USB port or is externally connected with an IP Camera device through a network port, the video conference host can meet the requirement that the video conference host expands multiple cameras through the network port and can be identified and utilized by standard communication software, so that the video communication experience of a user is improved.
Drawings
Fig. 1 is an application environment diagram of a network-based video communication method according to the present invention;
fig. 2 is a flowchart of a network-based video communication method according to the present invention;
fig. 3 is a block diagram showing a configuration of a network-based video communication system according to a second embodiment of the present invention;
fig. 4 is a block diagram of a UVC apparatus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
It should be noted that, the step numbers in the text are only for convenience of explanation of the specific embodiments, and do not serve to limit the execution sequence of the steps. The method provided by the embodiment can be executed by the relevant server, and the server is taken as an example for explanation below.
The network-based video communication method provided by the application can be applied to the application environment shown in fig. 1. The external network port of the VCS video conference host in the client is responsible for communicating with the outside, the internal network port is connected with a plurality of Camera equipment ends such as UVC cameras through a switch, when the Camera equipment ends are connected with the VCS video conference host through the switch, the VCS video conference host allocates IP addresses for the Camera equipment ends, the VCS video conference host requests the Camera equipment ends to perform remote enumeration through the Camera IP addresses, and a standard V4L2 interface is used for acquiring a plurality of Camera video streams.
As shown in fig. 2, an embodiment of the present invention provides a method for network-based video communication, where the method includes steps S11 to S14:
step S11, the client acquires IP information of a Camera device end having UVC service on the network through the mDNS service, and creates a connection with the Camera device end through TCP to request the Camera device end to perform remote enumeration.
As described above, the client obtains IP information, such as IP addresses, of all Camera device terminals having UVC services on a target network through the mDNS service, and establishes a connection with the Camera device terminals through a Transmission Control Protocol (TCP). It can be understood that the Camera device end with the UVC service on the network is obtained through the m DNS service to realize the remote communication between the client and the plurality of Camera device ends, and the problem that the VCS video conference host of the existing client can only be connected to one Camera device end through an interface is solved.
Further, before a client acquires IP information of a Camera device end with UVC service on a network through an mDNS service, the client loads a virtual USB host controller driver and a UVC video driver to realize enumeration processing of the Camera device end UVC video device; the Camera equipment end loads a virtual USB equipment controller driver and a uvc gadget driver; the uvc gadget driver comprises USB descriptor information of the Camera device end, so that the client can obtain and identify the function type of the USB device. Wherein the USB descriptor information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor.
It can be understood that, the USB controller driver in this embodiment is not a controller driver that transmits and receives data through a real USB interface, but a virtual USB controller driver that transmits and receives data through a network packet, and the virtual USB controller driver internally creates an RX kernel thread reception urb (USB Request block) packet and transmits and receives the packet through the network.
Further, before the client creates a connection with the Camera device end through TCP, the method further includes: the Camera device side registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client side.
Step S12, the Camera device side encapsulates the USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through the socket fd handle.
Specifically, the socket fd handle is set as a virtual USB device controller driver; and the virtual USB device controller driver encapsulates the USB device descriptor information set by the acquired uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB main controller driver through the socket fd handle.
It can be understood that, USB device descriptor information driven by uvc gadget is encapsulated into a URB packet and sent to the client through a socket fd handle, so as to implement URB communication between the Camera device side and the client.
Step S13, the client parses the URB packet, and enumerates standard Camera devices according to the parsed USB device descriptor information.
Specifically, the socket fd handle is set as a virtual USB host controller driver, and the virtual USB host controller driver receives the URB packet through a created RX kernel thread; analyzing the received URB packet, triggering a USB Core layer according to the descriptor information of the USB device obtained through analysis to obtain the USB video function of the Camera device end, and driving and enumerating standard Camera devices through uvc video.
It can be understood that, after a VCS video conference host in the client requests remote enumeration by connecting with a Camera device end through a TCP Transmission Control Protocol (TCP), the VCS video conference host and the Camera device end set a Socket fd handle for establishing TCP connection to a virtual USB host controller driver and a virtual USB device controller driver, the virtual USB host controller driver and the device controller driver respectively create an Rx kernel thread for processing a URB packet, and perform URB communication between the VCS video conference host, i.e., the client, and the Camera device end through the Socket fd handle; the virtual USB device controller driver acquires USB device descriptors set by the uvc gadget driver and packages the USB device descriptors into URB packets to be sent to the VCS video conference host, the virtual USB host controller driver receives the URB packets and analyzes USB device descriptor information, the USB Core layer driver is triggered to perform an enumeration process of USB functions, namely, the USB video function of the Camera device end is acquired, and standard Camera devices are enumerated through the uvc video driver.
Step S14, the communication software on the client performs remote control on the Camera device end through the standard Camera device.
Specifically, the communication software on the client controls the standard Camera device through a V4L2 interface, so as to realize remote control on the Camera device, such as setting a Camera resolution, acquiring a code stream, and the like.
The video communication method based on the network provided by the embodiment of the invention comprises the steps that firstly, a client acquires IP information of a Camera device end with UVC service on the network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration; the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle; the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis; and the communication software on the client remotely controls the Camera device end through the standard Camera device. Compared with the prior art that the host is connected with a standard UVC Camera device through a USB port or is externally connected with an IP Camera device through a network port in the video conference, the invention can meet the requirement that the video conference host expands multiple cameras through the network port and can be used by communication software such as Teams/SFB and the like, thereby improving the experience of video communication of users.
As shown in fig. 3, it is a block diagram of a network-based video communication system provided in the present invention, and the system includes:
the connection module 21 is configured to enable the client to obtain IP information of a Camera device end having a UVC service on a network through an mDNS service, and create a connection with the Camera device end through a TCP, so as to request the Camera device end to perform remote enumeration.
Before the client acquires the IP information of the Camera device end having the UVC service on the network through the mDNS service, the connection module 21 is further configured to:
the client loads a virtual USB main controller driver and a uvc video driver to realize enumeration processing of the uvc video device at the Camera device end;
the Camera equipment end loads a virtual USB equipment controller driver and a uvc gadget driver; the uvc gadget driver comprises USB descriptor information of the Camera device end, so that the client can obtain and identify the function type of the USB device.
Wherein the USB descriptor information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor.
Further, before the client establishes a connection with the Camera device terminal through TCP, the Camera device terminal registers the UVC service through the mDNS service, initializes the UVC function, and creates a TCP Socket to monitor connection information with the client.
An encapsulating module 22, configured to enable the Camera device end to encapsulate USB device descriptor information driven by the uvc gadget into a URB packet, and send the URB packet to the client through a socket fd handle.
The method specifically comprises the following steps:
setting the socket fd handle as a virtual USB device controller drive;
and the virtual USB device controller driver encapsulates the USB device descriptor information set by the acquired uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB main controller driver through the socket fd handle.
An analyzing module 23, configured to enable the client to analyze the URB packet, and enumerate standard Camera devices according to the USB device descriptor information obtained through analysis.
The method specifically comprises the following steps:
setting the socket fd handle as a virtual USB host controller driver, and receiving the URB packet by the virtual USB host controller driver through the created RX kernel thread;
analyzing the received URB packet, triggering a USB Core layer according to the descriptor information of the USB device obtained through analysis to obtain the USB video function of the Camera device end, and driving and enumerating standard Camera devices through uvc video.
And a control module 24, configured to enable the communication software on the client to remotely control the Camera device end through the standard Camera device.
Specifically, the communication software on the client controls the standard Camera device through a V4L2 interface, so as to implement remote control on the Camera device.
In the network-based video communication system provided by the embodiment of the invention, firstly, a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to perform remote enumeration; the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle; the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis; and the communication software on the client remotely controls the Camera device end through the standard Camera device. Compared with the prior art that the host is connected with a standard UVC Camera device through a USB port or is externally connected with an IP Camera device through a network port in the video conference, the invention can meet the requirement that the video conference host expands multiple cameras through the network port and can be used by communication software such as Teams/SFB and the like, thereby improving the experience of video communication of users.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the steps of:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
An embodiment of the present invention further provides a UVC device, which is shown in fig. 4 and is a block diagram of a preferred embodiment of the UVC device provided by the present invention, where the UVC device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and the processor 10 implements the following steps when executing the computer program:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
Preferably, the computer program can be divided into one or more modules/units (e.g. computer program 1, computer program 2,) which are stored in the memory 20 and executed by the processor 10 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program in the UVC device.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor 10 may be any conventional Processor, the Processor 10 is a control center of the UVC device, and various interfaces and lines are used to connect various parts of the UVC device.
The memory 20 mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory 20 may be a high speed random access memory, may also be a non-volatile memory, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), and the like, or the memory 20 may also be other volatile solid state memory devices.
It should be noted that the UVC device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the block diagram of fig. 4 is only an example of the UVC device, and does not constitute a limitation of the UVC device, and may include more or less components than those shown in the drawing, or combine some components, or different components.
To sum up, according to the video communication method, the video communication system, the computer-readable storage medium and the UVC device provided by the embodiments of the present invention, a client obtains IP information of a Camera device end having a UVC service on a network through an mDNS service, and establishes a connection with the Camera device end through a TCP, so as to request the Camera device end to perform remote enumeration; the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle; the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis; and the communication software on the client remotely controls the Camera device end through the standard Camera device. Compared with the prior art that the host is connected with a standard UVC Camera device through a USB port or is externally connected with an IP Camera device through a network port, the video conference host can meet the requirement that the video conference host expands multiple cameras through the network port and can be identified and utilized by standard communication software, so that the video communication experience of a user is improved.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method for network-based video communication, the method comprising:
the method comprises the steps that a client acquires IP information of a Camera device end with UVC service on a network through mDNS service, and establishes connection with the Camera device end through TCP to request the Camera device end to carry out remote enumeration;
the Camera device side encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client side through a socket fd handle;
the client analyzes the URB packet, and enumerates standard Camera devices according to the descriptor information of the USB devices obtained through analysis;
and the communication software on the client remotely controls the Camera device end through the standard Camera device.
2. The network-based video communication method according to claim 1, wherein before the client acquires the IP information of the Camera device side having the UVC service on the network through the mDNS service, the method further comprises:
the client loads a virtual USB main controller driver and a uvc video driver to realize enumeration processing of the uvc video device at the Camera device end;
the Camera equipment end loads a virtual USB equipment controller driver and a uvc gadget driver; the uvc gadget driver comprises USB descriptor information of the Camera device end, so that the client can obtain and identify the function type of the USB device.
3. The network-based video communication method of claim 2, wherein the USB descriptor information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor.
4. The network-based video communication method of claim 1, wherein before the client creates a connection with the Camera device over TCP, the method further comprises:
the Camera device side registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client side.
5. The network-based video communication method according to claim 2, wherein the Camera device encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client through a socket fd handle, specifically:
setting the socket fd handle as a virtual USB device controller drive;
and the virtual USB device controller driver encapsulates the USB device descriptor information set by the acquired uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB main controller driver through the socket fd handle.
6. The network-based video communication method according to claim 5, wherein the client parses the URB packet, enumerates standard Camera devices according to the parsed USB device descriptor information, and specifically includes:
setting the socket fd handle as a virtual USB host controller driver, and receiving the URB packet by the virtual USB host controller driver through the created RX kernel thread;
analyzing the received URB packet, triggering a USB Core layer according to the descriptor information of the USB device obtained through analysis to obtain the USB video function of the Camera device end, and driving and enumerating standard Camera devices through uvc video.
7. The network-based video communication method according to claim 1, wherein the communication software on the client remotely controls the Camera device end through the standard Camera device, specifically,
and the communication software on the client controls the standard Camera device through a V4L2 interface so as to realize remote control of the Camera device.
8. A network-based video communication system, the system comprising:
the connection module is used for enabling the client to acquire IP information of a Camera device end with UVC service on a network through mDNS service, and establishing connection with the Camera device end through TCP to request the Camera device end to perform remote enumeration;
the encapsulation module is used for enabling the Camera equipment end to encapsulate USB equipment descriptor information driven by the uvc gadget into a URB packet and send the URB packet to the client through a socket fd handle;
the analysis module is used for enabling the client to analyze the URB packet and enumerating standard Camera equipment according to the descriptor information of the USB equipment obtained through analysis;
and the control module is used for enabling the communication software on the client to remotely control the Camera device end through the standard Camera device.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the network-based video communication method of any one of claims 1 to 7.
10. A UVC device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the network-based video communication method of any of claims 1 to 7 when executing the computer program.
CN202011513792.4A 2020-12-18 2020-12-18 Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment Active CN112672091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011513792.4A CN112672091B (en) 2020-12-18 2020-12-18 Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011513792.4A CN112672091B (en) 2020-12-18 2020-12-18 Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment

Publications (2)

Publication Number Publication Date
CN112672091A true CN112672091A (en) 2021-04-16
CN112672091B CN112672091B (en) 2023-05-09

Family

ID=75406467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011513792.4A Active CN112672091B (en) 2020-12-18 2020-12-18 Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment

Country Status (1)

Country Link
CN (1) CN112672091B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442083A (en) * 2022-08-08 2022-12-06 黄建邦 Equipment access method, data exchange method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882116A (en) * 2010-06-13 2010-11-10 中兴通讯股份有限公司 Method for realizing audio transmission and mobile terminal
CN102789432A (en) * 2011-05-19 2012-11-21 中国电信股份有限公司 USB (universal serial bus) equipment drive method and system
CN102882871A (en) * 2012-09-28 2013-01-16 深圳市赛蓝科技有限公司 Mobile terminal USB (universal serial bus) virtualized mapping method
CN103312781A (en) * 2013-05-15 2013-09-18 山东超越数控电子有限公司 Implementation method of virtual USB (Universal Serial Bus)
US20130254263A1 (en) * 2012-03-22 2013-09-26 Electronics And Telecommunications Research Institute Method of transmitting data of usb device to server, and client terminal performing the method
US20140047143A1 (en) * 2012-08-10 2014-02-13 Logitech Europe S.A. Wireless video camera and connection methods including a usb emulation
CN105488000A (en) * 2015-12-23 2016-04-13 广东数字证书认证中心有限公司 Method and system for achieving rapid accessing of USB devices
CN106341777A (en) * 2016-08-11 2017-01-18 深圳创维-Rgb电子有限公司 USB virtual device creation method, device and system
CN107168909A (en) * 2017-06-23 2017-09-15 苏睿 Interconnecting device, telecommunication system, data transmission method and device
CN110069288A (en) * 2019-03-13 2019-07-30 北京淳中科技股份有限公司 USB device sharing method, apparatus and system
US20190303321A1 (en) * 2019-06-18 2019-10-03 Intel Corporation Persistent universal serial bus (usb) device enumeration
CN111741251A (en) * 2019-03-25 2020-10-02 杭州海康威视数字技术股份有限公司 Monitoring system, local host and camera remote preview control method
CN112004047A (en) * 2020-07-07 2020-11-27 成都天堂云科技有限公司 System and method for realizing video conference based on H264 UVC camera

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101882116A (en) * 2010-06-13 2010-11-10 中兴通讯股份有限公司 Method for realizing audio transmission and mobile terminal
CN102789432A (en) * 2011-05-19 2012-11-21 中国电信股份有限公司 USB (universal serial bus) equipment drive method and system
US20130254263A1 (en) * 2012-03-22 2013-09-26 Electronics And Telecommunications Research Institute Method of transmitting data of usb device to server, and client terminal performing the method
US20140047143A1 (en) * 2012-08-10 2014-02-13 Logitech Europe S.A. Wireless video camera and connection methods including a usb emulation
CN102882871A (en) * 2012-09-28 2013-01-16 深圳市赛蓝科技有限公司 Mobile terminal USB (universal serial bus) virtualized mapping method
CN103312781A (en) * 2013-05-15 2013-09-18 山东超越数控电子有限公司 Implementation method of virtual USB (Universal Serial Bus)
CN105488000A (en) * 2015-12-23 2016-04-13 广东数字证书认证中心有限公司 Method and system for achieving rapid accessing of USB devices
CN106341777A (en) * 2016-08-11 2017-01-18 深圳创维-Rgb电子有限公司 USB virtual device creation method, device and system
CN107168909A (en) * 2017-06-23 2017-09-15 苏睿 Interconnecting device, telecommunication system, data transmission method and device
CN110069288A (en) * 2019-03-13 2019-07-30 北京淳中科技股份有限公司 USB device sharing method, apparatus and system
CN111741251A (en) * 2019-03-25 2020-10-02 杭州海康威视数字技术股份有限公司 Monitoring system, local host and camera remote preview control method
US20190303321A1 (en) * 2019-06-18 2019-10-03 Intel Corporation Persistent universal serial bus (usb) device enumeration
CN112004047A (en) * 2020-07-07 2020-11-27 成都天堂云科技有限公司 System and method for realizing video conference based on H264 UVC camera

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李江波等: "基于UVC协议的USB3.0视频采集系统设计", 《单片机与嵌入式系统应用》 *
白会东等: "一种基于UVC协议的图像采集系统设计", 《无线互联科技》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442083A (en) * 2022-08-08 2022-12-06 黄建邦 Equipment access method, data exchange method, device, equipment and storage medium
CN115442083B (en) * 2022-08-08 2023-08-25 黄建邦 Device access method, data exchange method, device and storage medium

Also Published As

Publication number Publication date
CN112672091B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
CN100486200C (en) USB mapping method
US9015822B2 (en) Automatic invocation of DTN bundle protocol
CN107846466B (en) Mapping method of cloud terminal external equipment, server, cloud terminal and system
US8819125B2 (en) Method of transmitting data of USB device to server, and client terminal performing the method
CN110769009B (en) User identity authentication method and system
CN112019900A (en) DLNA (digital Living network alliance) -based screen projection method, system, equipment and storage medium
CN112672091B (en) Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment
JP5091121B2 (en) High speed data processing / communication method and apparatus for embedded system
CN110247926B (en) Interaction method and system
US20160094603A1 (en) Audio and video sharing method and system
CN104639501B (en) A kind of method of data stream transmitting, equipment and system
CN110650147A (en) Data acquisition method and system
CN108989850B (en) Video playing control method and control system
CN111263113B (en) Data packet sending method and device and data packet processing method and device
CN110225293B (en) Conference cascading method and electronic equipment
CN116261021B (en) Video stream playing method and device, electronic equipment and storage medium
CN110659080B (en) Page display method and device, electronic equipment and storage medium
CN113038192A (en) Video processing method and device, electronic equipment and storage medium
CN110049009B (en) Identity information acquisition system and method
CN115022424B (en) Hydropower LCU controller network card virtual control method, system, equipment and medium thereof
CN111464422A (en) Interaction method, interaction device, electronic equipment and storage medium
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN104714760A (en) Method and device for read and write storage device
CN105939317B (en) The analysis method and device of SSL handshake message

Legal Events

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