CN112672091B - Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment - Google Patents

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

Info

Publication number
CN112672091B
CN112672091B CN202011513792.4A CN202011513792A CN112672091B CN 112672091 B CN112672091 B CN 112672091B CN 202011513792 A CN202011513792 A CN 202011513792A CN 112672091 B CN112672091 B CN 112672091B
Authority
CN
China
Prior art keywords
uvc
usb
client
camera
equipment
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.)
Active
Application number
CN202011513792.4A
Other languages
Chinese (zh)
Other versions
CN112672091A (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 network-based video communication method, a system, a storage medium and UVC equipment, which comprises the following steps: the 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; the Camera device terminal encapsulates USB device descriptor information driven by the uvc gadget into a URB packet and sends the URB packet to the client terminal through a socket fd handle; the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis; and the communication software on the client remotely controls the Camera equipment through standard Camera equipment. 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 users is improved.

Description

Network-based video communication method, system, storage medium and UVC (ultraviolet light control) equipment
Technical Field
The present invention relates to the field of video conferencing technologies, and in particular, to a network-based video communication method, system, computer-readable storage medium, and UVC device.
Background
The video conference system is a remote conference system for realizing instant and interactive communication by mutually transmitting sound, image and file data through transmission lines and multimedia equipment by two or more individuals or groups in different places.
As the most advanced communication technology at present, the video conference can realize high-efficiency high-definition teleconference and office only by means of the internet, has the 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 trip, 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 also can be externally connected with IP Camera equipment through a network port so as to meet the conference requirement of a conference room. However, the external interfaces required when the ultra-large conference room is faced are too many, and the IP Camera equipment connected externally through the network interface can only be used on conference software developed by manufacturers, and cannot be identified 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 embodiment of the invention is to provide a network-based video communication method, a network-based video communication system, a computer-readable storage medium and a UVC (ultraviolet light control) device, which can meet the requirement that a video conference host expands multiple cameras through a network port and can be identified and utilized by standard communication software.
In order to solve the above technical problems, an embodiment of the present invention provides a network-based video communication method, including:
the 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 to request the Camera device end to perform remote enumeration;
the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle;
the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis;
and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment.
Further, before the client obtains the IP information of the Camera device end having 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 device end loads a virtual USB device controller driver and a uvc gadget driver; the uvc gadget driver includes USB descriptor information of the Camera device end, so that the client end can acquire 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 equipment terminal registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client terminal.
Further, the Camera device packages the USB device descriptor information of the uvc gadget driver into a URB packet, and sends the URB packet to the client through a socket fd handle, specifically:
setting a socket fd handle as a virtual USB device controller driver;
and the virtual USB device controller driver encapsulates the obtained USB device descriptor information set by the uvc gadget driver into a URB packet and sends the URB packet to the virtual USB master controller driver through a socket fd handle.
Further, the client analyzes the URB packet, enumerates standard Camera devices according to the USB device descriptor information obtained by analysis, and specifically comprises the following steps:
setting a socket fd handle as a virtual USB host controller driver, wherein 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 analyzed USB device descriptor information to acquire the USB video fuction function of the Camera device end, and enumerating standard Camera devices through a uvc video driver.
Further, the communication software on the client performs remote control on the Camera device through the standard Camera device, specifically,
and the communication software on the client controls the standard Camera equipment through a V4L2 interface so as to realize remote control on the Camera equipment.
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 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 analysis module is used for enabling the client to analyze the URB packet and enumerating standard Camera equipment according to USB equipment descriptor information obtained through analysis;
and the control module is used for enabling the communication software on the client to remotely control the Camera equipment through the standard Camera equipment.
The embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program, when run, controls a device on which the computer readable storage medium resides to perform the steps of:
the 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 to request the Camera device end to perform remote enumeration;
the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle;
the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis;
and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment.
The embodiment of the invention also provides a UVC device, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the following steps when executing the computer program:
the 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 to request the Camera device end to perform remote enumeration;
the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle;
the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis;
and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment.
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 UVC equipment, wherein a client acquires IP information of a Camera equipment end with UVC service on a network through mDNS service, and establishes connection with the Camera equipment end through TCP to request the Camera equipment end to remotely enumerate; the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle; the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis; and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment. Compared with the prior art, in the video conference, the host is connected with a standard UVC Camera device through the USB port or is externally connected with an IP Camera device through the network port, and the video conference system can be identified and utilized by standard communication software while meeting the requirement that the video conference host expands multiple cameras through the network port, so that the video communication experience of users is improved.
Drawings
FIG. 1 is an application environment diagram of a network-based video communication method provided by the invention;
FIG. 2 is a flow chart of a network-based video communication method provided by the invention;
fig. 3 is a block diagram of a network-based video communication system in accordance with a second embodiment of the present invention;
fig. 4 is a block diagram of a UVC device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, are intended to fall within the scope of the present invention.
It should be noted that, the step numbers herein are only for convenience of explanation of the specific embodiments, and are not used as limiting the order of execution of the steps. The method provided in this embodiment may be executed by a relevant server, and the following description will take the server as an execution body as an example.
The network-based video communication method provided by the application can be applied to an application environment shown in fig. 1. The external network port of the VCS video conference host in the client is responsible for communication 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 distributes IP addresses for the Camera equipment ends, the VCS video conference host requests the Camera equipment ends to remotely enumerate through the Camera IP addresses, and multi-Camera video streams are acquired through a standard V4L2 interface.
As shown in fig. 2, the method for network-based video communication according to the embodiment of the present invention includes steps S11 to S14:
step S11, 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 to request the Camera device end to perform remote enumeration.
As described above, the client obtains IP information, such as IP addresses, of all the Camera devices having UVC services on a target network through mDNS service, and establishes connection with the Camera devices through transmission control protocol (TCP, transmission Control Protocol). It can be understood that the Camera equipment end with the UVC service on the network is obtained through the m DNS service so as to realize the remote communication between the client and a plurality of Camera equipment ends, and the problem that the VCS video conference host of the existing client can only be connected with one Camera equipment end through an interface is solved.
Further, before the client acquires the IP information of the Camera device end with the UVC service on the network through the mDNS service, the client loads a virtual USB main controller driver and a UVC video driver to realize enumeration processing of the UVC video device of the Camera device end; the Camera device end loads a virtual USB device controller driver and a uvc gadget driver; the uvc gadget driver includes USB descriptor information of the Camera device end, so that the client end can acquire and identify the function type of the USB device. Wherein the USB descriptor information comprises 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 real controller driver for transmitting and receiving data based on the USB interface, but is a virtual USB controller driver for transmitting and receiving data based on the network packet, and the virtual USB controller driver creates an RX kernel thread internally to receive URB (USB Request Block) packets and transmits and receives data through the network.
Further, before the client creates a connection with the Camera device end through TCP, the method further includes: the Camera equipment terminal registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client terminal.
Step S12, the Camera device packages USB device descriptor information of the uvc gadget driver into URB packets, and sends the URB packets to the client through a socket fd handle.
Specifically, setting a socket fd handle as a virtual USB device controller driver; and the virtual USB device controller driver encapsulates the obtained USB device descriptor information set by the uvc gadget driver into a URB packet and sends the URB packet to the virtual USB master controller driver through a socket fd handle.
It can be understood that the USB device descriptor information of the uvc gadget driver is encapsulated into a URB packet, and sent to the client through the socket fd handle, so as to implement URB communication between the Camera device and the client.
And S13, the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis.
Specifically, setting a socket fd handle as a virtual USB host controller driver, wherein 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 analyzed USB device descriptor information to acquire the USB video fuction function of the Camera device end, and enumerating standard Camera devices through a uvc video driver.
It can be understood that, after the VCS video conference host in the client connects with the Camera device end through a TCP transmission control protocol (TCP, transmission Control Protocol) to request remote enumeration, the VCS video conference host and the Camera device end respectively set Socket fd handles for establishing TCP connection to the virtual USB host controller driver and the virtual USB device controller driver, and the virtual USB host controller driver and the device controller driver respectively create Rx kernel threads to process URB packets, and perform URB communication between the VCS video conference host, that is, the client and the Camera device end through the Socket fd handles; the virtual USB device controller driver acquires a USB device descriptor set by the uvc gadget driver, encapsulates the USB device descriptor into a URB packet, sends the URB packet to the VCS video conference host, receives the URB packet, analyzes the USB device descriptor information, triggers a USB Core layer driver to perform an enumeration flow of USB functions, namely acquires USB video fuction functions of the Camera device end, and enumerates standard Camera devices through the uvc video driver.
And S14, remotely controlling the Camera equipment end by the communication software on the client through the standard Camera equipment.
Specifically, the communication software on the client controls the standard Camera device through the V4L2 interface, so as to realize remote control on the Camera device, such as setting Camera resolution, acquiring code stream, and the like.
According to the video communication method based on the network, 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 remotely enumerate; the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle; the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis; and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment. Compared with the prior art, in the video conference, a 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, and the video conference host can be used by communication software such as Teams/SFB and the like while meeting the requirement that the video conference host expands multiple cameras through the network port, so that the experience of video communication of users is improved.
As shown in fig. 3, the present invention provides a structural block diagram of a network-based video communication system, which includes:
the connection module 21 is configured to enable a client to obtain IP information of a Camera device end having UVC service on a network through mDNS service, and create connection with the Camera device end through TCP, so as to request the Camera device end to perform remote enumeration.
Before the client obtains 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 device end loads a virtual USB device controller driver and a uvc gadget driver; the uvc gadget driver includes USB descriptor information of the Camera device end, so that the client end can acquire and identify the function type of the USB device.
Wherein the USB descriptor information comprises a device descriptor, a configuration descriptor, an interface descriptor and an endpoint descriptor.
Further, before the client establishes connection with the Camera device end through TCP, the Camera device end registers UVC service through mDNS service, initializes UVC function, and establishes TCP Socket to monitor connection information with the client.
And the encapsulation module 22 is configured to encapsulate the USB device descriptor information of the uvc gadget driver into a URB packet by the Camera device end, and send the URB packet to the client through a socket fd handle.
The method comprises the following steps:
setting a socket fd handle as a virtual USB device controller driver;
and the virtual USB device controller driver encapsulates the obtained USB device descriptor information set by the uvc gadget driver into a URB packet and sends the URB packet to the virtual USB master controller driver through a socket fd handle.
And the parsing module 23 is configured to parse the URB packet by the client, and enumerate standard Camera devices according to the USB device descriptor information obtained by parsing.
The method comprises the following steps:
setting a socket fd handle as a virtual USB host controller driver, wherein 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 analyzed USB device descriptor information to acquire the USB video fuction function of the Camera device end, and enumerating standard Camera devices through a uvc video driver.
And the control module 24 is used for enabling the communication software on the client to remotely control the Camera equipment through the standard Camera equipment.
Specifically, the communication software on the client controls the standard Camera equipment through the V4L2 interface so as to realize remote control on the Camera equipment.
According to the video communication system based on the network, 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 remotely enumerate; the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle; the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis; and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment. Compared with the prior art, in the video conference, a 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, and the video conference host can be used by communication software such as Teams/SFB and the like while meeting the requirement that the video conference host expands multiple cameras through the network port, so that the experience of video communication of users is improved.
The embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program, when run, controls a device on which the computer readable storage medium resides to perform the steps of:
the 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 to request the Camera device end to perform remote enumeration;
the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle;
the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis;
and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment.
An embodiment of the present invention further provides a UVC device, referring to fig. 4, which is a block diagram of a preferred embodiment of the UVC device, the UVC device including a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, the processor 10 implementing the following steps when executing the computer program:
the 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 to request the Camera device end to perform remote enumeration;
the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle;
the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis;
and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment.
Preferably, the computer program may be partitioned into one or more modules/units (e.g., computer program 1, computer program 2, & gtthe & lt- & gt, & lt- & gt) that are stored in the memory 20 and executed by the processor 10 to complete the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program in the UVC device.
The processor 10 may be a central processing unit (Central Processing Unit, CPU), it may be a microprocessor, it may be other general purpose processor, it may be a digital signal processor (Digital Signal Processor, DSP), it may be an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), it may be an off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc., or it may be any conventional processor, the processor 10 may be a control center of the UVC device, and it may be connected to various parts of the UVC device using various interfaces and lines.
The memory 20 mainly includes a program storage area, which may store an operating system, application programs required for at least one function, and the like, and a data storage area, which may store related data and the like. In addition, the memory 20 may be a high-speed random access memory, a nonvolatile memory such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), etc., or the memory 20 may be other volatile solid-state memory devices.
It should be noted that the UVC device may include, but is not limited to, a processor, a memory, and those skilled in the art will appreciate that the block diagram of fig. 4 is merely an example of a UVC device, and is not limited to the UVC device, and may include more or less components than illustrated, or may combine some components, or may be different components.
In summary, according to the video communication method, the system, the computer readable storage medium and the UVC device based on the network provided by the embodiment of the invention, a client obtains 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 remotely enumerate; the Camera device terminal packages USB device descriptor information of the uvc gadget driver into a URB packet and sends the URB packet to the client terminal through a socket fd handle; the client analyzes the URB packet and enumerates standard Camera equipment according to the USB equipment descriptor information obtained by analysis; and the communication software on the client remotely controls the Camera equipment through the standard Camera equipment. Compared with the prior art, in the video conference, the host is connected with a standard UVC Camera device through the USB port or is externally connected with an IP Camera device through the network port, and the video conference system can be identified and utilized by standard communication software while meeting the requirement that the video conference host expands multiple cameras through the network port, so that the video communication experience of users is improved.
The foregoing is merely a preferred embodiment of the present invention, and it should be noted that modifications and variations could be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and variations should also be regarded as being within the scope of the invention.

Claims (7)

1. A method of network-based video communication, the method comprising:
the client loads a virtual USB main controller driver and a uvc video driver to realize enumeration processing of the camera equipment uvc video equipment;
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 equipment end, so that the client end can acquire and identify the function type of the USB equipment;
the client acquires IP information of a camera equipment end with UVC service on a network through mDNS service, and establishes connection with the camera equipment end through TCP to request the camera equipment end to remotely enumerate;
the camera device terminal encapsulates USB device descriptor information driven by the uvc gadget into a URB packet, and sends the URB packet to the client terminal through a socket fd handle, specifically:
setting a socket fd handle as a virtual USB device controller driver;
the virtual USB device controller driver encapsulates the USB device descriptor information set by the obtained uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB master controller driver through a socket fd handle;
the client analyzes the URB packet, enumerates standard camera equipment according to the analyzed USB equipment descriptor information, and specifically comprises the following steps:
setting a socket fd handle as a virtual USB host controller driver, wherein 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 analyzed USB device descriptor information to obtain a USB video function of the camera device end, and enumerating standard camera devices through uvc video drive;
and the communication software on the client remotely controls the camera equipment through the standard camera equipment.
2. The network-based video communication method of claim 1, wherein the USB descriptor information includes a device descriptor, a configuration descriptor, an interface descriptor, and an endpoint descriptor.
3. The network-based video communication method of claim 1, wherein before the client creates a connection with the camera device side via TCP, the method further comprises:
the camera equipment terminal registers UVC service through mDNS service, initializes UVC function, and creates TCP Socket to monitor connection information with the client terminal.
4. The network-based video communication method of claim 1, wherein the communication software on the client remotely manipulates the camera device side via the standard camera device, in particular,
and the communication software on the client controls the standard camera equipment through a V4L2 interface so as to realize remote control on the camera equipment.
5. 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 equipment end with UVC service on a network through mDNS service, and establishing connection with the camera equipment end through TCP to request the camera equipment end to remotely enumerate;
before the client obtains the IP information of the camera device end having the UVC service on the network through the mDNS service, the connection module is further configured to:
the client loads a virtual USB main controller driver and a uvc video driver to realize enumeration processing of the camera equipment uvc video equipment;
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 equipment end, so that the client end can acquire and identify the function type of the USB equipment;
the packaging module is used for enabling the camera equipment end to package USB equipment descriptor information driven by the uvc gadget into a URB package and send the URB package to the client through a socket fd handle; the method comprises the following steps:
setting a socket fd handle as a virtual USB device controller driver;
the virtual USB device controller driver encapsulates the USB device descriptor information set by the obtained uvc gadget driver into a URB packet, and sends the URB packet to the virtual USB master controller driver through a socket fd handle;
the analysis module is used for enabling the client to analyze the URB package and enumerating standard camera equipment according to USB equipment descriptor information obtained through analysis; the method comprises the following steps:
setting a socket fd handle as a virtual USB host controller driver, wherein 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 analyzed USB device descriptor information to obtain a USB video function of the camera device end, and enumerating standard camera devices through uvc video drive;
and the control module is used for enabling the communication software on the client to remotely control the camera equipment through the standard camera equipment.
6. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the network-based video communication method of any one of claims 1 to 4.
7. UVC device characterized by comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, which processor, when executing the computer program, implements the network-based video communication method according to any of claims 1 to 4.
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 CN112672091A (en) 2021-04-16
CN112672091B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117544334A (en) * 2022-08-08 2024-02-09 黄建邦 Device access method, data exchange method, device and storage medium

Citations (10)

* 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)
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
CN112004047A (en) * 2020-07-07 2020-11-27 成都天堂云科技有限公司 System and method for realizing video conference based on H264 UVC camera

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130107618A (en) * 2012-03-22 2013-10-02 한국전자통신연구원 Method and apparatus for data transfer of remote usb device between server and client
US9888214B2 (en) * 2012-08-10 2018-02-06 Logitech Europe S.A. Wireless video camera and connection methods including multiple video streams
US10963406B2 (en) * 2019-06-18 2021-03-30 Intel Corporation Persistent universal serial bus (USB) device enumeration

Patent Citations (10)

* 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)
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
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协议的图像采集系统设计;白会东等;《无线互联科技》;20180808(第15期);第64-65页 *
基于UVC协议的USB3.0视频采集系统设计;李江波等;《单片机与嵌入式系统应用》;20161001(第10期);第31-35页 *

Also Published As

Publication number Publication date
CN112672091A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
US10412130B2 (en) Method and apparatus for playing media stream on web browser
US10536732B2 (en) Video coding method, system and server
CN107846466B (en) Mapping method of cloud terminal external equipment, server, cloud terminal and system
EP2031824A3 (en) Proxy video server for video surveillance
CN107749893B (en) Method for realizing rapid data receiving and storing in shared file system
CN108810124B (en) Remote access control system for large number of multimedia terminals in public network environment
JP6743192B2 (en) Video service quality evaluation method and apparatus
CN109922351B (en) Method and device for releasing live broadcast service
WO2017016568A1 (en) Method and telecommunications network for streaming and for reproducing applications
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
Kampmann et al. A portable implementation of the real-time publish-subscribe protocol for microcontrollers in distributed robotic applications
CN114363643B (en) Intelligent high-speed large-screen real-time video stream playing method and device
CN104639501B (en) A kind of method of data stream transmitting, equipment and system
CN108989850B (en) Video playing control method and control system
CN116261021B (en) Video stream playing method and device, electronic equipment and storage medium
US10701118B2 (en) Method for the processing of a multimedia stream, corresponding device and computer program
CN105872480B (en) Control system and method for playing on LED screen based on real-time camera shooting of mobile phone
CN111263113A (en) Data packet sending method and device and data packet processing method and device
KR101591061B1 (en) Library Apparatus for Real-time Processing and Transmitting/Receiving Method thereof
CN110448892B (en) Game realization method and system based on augmented reality
CN110098993B (en) Method and device for processing signaling message
CN113347386A (en) Method for pushing media stream, method and equipment for pulling media stream
CN110830425B (en) Business object processing method and system
CN110049281B (en) Video processing method and device

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