CN110704340A - Data transmission device, system and method - Google Patents

Data transmission device, system and method Download PDF

Info

Publication number
CN110704340A
CN110704340A CN201910920259.0A CN201910920259A CN110704340A CN 110704340 A CN110704340 A CN 110704340A CN 201910920259 A CN201910920259 A CN 201910920259A CN 110704340 A CN110704340 A CN 110704340A
Authority
CN
China
Prior art keywords
data
audio
video data
processing program
video
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
CN201910920259.0A
Other languages
Chinese (zh)
Other versions
CN110704340B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN201910920259.0A priority Critical patent/CN110704340B/en
Publication of CN110704340A publication Critical patent/CN110704340A/en
Application granted granted Critical
Publication of CN110704340B publication Critical patent/CN110704340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

One or more embodiments of the present specification provide a data transmission apparatus, system, and method. In one embodiment, the data transmission apparatus includes: the interface module is electrically connected with a USB interface of the computing equipment; wherein, the interface module includes: the system comprises a USB human body interface device HID unit and a communication node; the storage module is connected with the through node, a data processing program is stored in the storage module, and the data processing program acquires audio and video data played by the computing equipment under the condition that the data processing program is acquired and operated by the computing equipment through the through node; and the HID unit is used for transmitting audio and video data between the computing equipment and the data transmission equipment.

Description

Data transmission device, system and method
Technical Field
One or more embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a data transmission device, system, and method.
Background
A Universal Serial Bus (USB) is a common data communication interface, and the USB interface supports plug and play of devices, and can be connected to various types of USB interface devices such as printers, scanners, cameras, microphones (microphones), and the like.
Currently, a Universal Serial Bus (USB) camera with a microphone is used, and USB video (video) equipment matched with the camera with a microphone only supports video data in uvc (USB video class or USB video class) format by default, so that the USB video (video) equipment with a microphone only supports video data in uvc (USB video class or USB video class) format; the video data in uvc format can only be transmitted to usb video (video) equipment, and the data in other formats cannot be transmitted; therefore, there is an urgent need for a device capable of transmitting a plurality of data formats.
Disclosure of Invention
One or more embodiments of the present specification provide a data transmission device, system, and method capable of supporting a device that transmits a plurality of data formats.
The technical scheme provided according to one or more embodiments of the specification is as follows:
in a first aspect, a data transmission device is provided, which may include:
the interface module is electrically connected with a Universal Serial Bus (USB) interface of the computing equipment; wherein, the interface module includes: a USB Human Interface Device (HID) unit and a communication node;
the storage module is connected with the through node, a data processing program is stored in the storage module, and the data processing program acquires audio and video data played by the computing equipment under the condition that the data processing program is acquired and operated by the computing equipment through the through node;
and the HID unit is used for transmitting audio and video data between the computing equipment and the data transmission equipment.
According to a second aspect of embodiments of the present invention, there is provided a data transmission system, which may include: the system comprises a computing device, a remote device and a data transmission device; the data transmission equipment comprises a storage module and an interface module;
the interface module is electrically connected with a USB interface of the computing equipment; wherein, interface module includes USB human interface equipment HID unit and communication node:
the computing equipment is used for acquiring the data processing program in the storage module through the communication node and operating the data processing program;
the computing equipment is used for acquiring audio and video data played by the computing equipment by using the data processing program;
and the computing equipment is used for transmitting the audio and video data to the HID unit.
According to a third aspect of the embodiments of the present invention, there is provided a data transmission method, which is applied to a data transmission device, where the data transmission device includes a storage module and an interface module, and the interface module includes a USB human interface device HID unit and a communication node; the method can comprise the following steps:
under the condition that a data processing program in the storage module is acquired and operated by the computing equipment, the data processing program acquires audio and video data played by the computing equipment;
audio-video data transmitted by the computing device is received by the HID unit.
According to a fourth aspect of the embodiments of the present invention, there is provided a data transmission method, which is applied to a computing device, the method including:
identifying accessed data transmission equipment, wherein the data transmission equipment is preset as an interface module and a storage module; the interface module comprises a USB human body interface device HID unit and a communication node;
acquiring a data processing program in a storage module through a communication node, and operating the data processing program;
acquiring audio and video data played by the computing equipment by using a data processing program;
and transmitting the audio and video data to the HID unit.
According to one or more embodiments of the present disclosure, a data processing program stored in a storage module is acquired from the storage module and executed by a computing device, after the data processing program is executed, audio and video data played by the computing device is acquired by the data processing program, and the acquired audio and video data is transmitted to a data transmission device through an HID unit. The HID unit does not limit the transmission format of the audio and video, so that the transmission of audio and video data in various formats can be realized.
Drawings
In order to more clearly illustrate the technical solutions of one or more embodiments of the present disclosure, the drawings needed to be used in one or more embodiments of the present disclosure will be briefly described below, and those skilled in the art may also obtain other drawings according to the drawings without any creative effort.
FIG. 1 is a diagram of an application scenario provided by one embodiment of the present description;
fig. 2 is a schematic structural diagram of a data transmission device provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of a data transmission device according to another embodiment of the present specification;
fig. 4 is a flowchart of a data transmission method provided in an embodiment of the present specification;
fig. 5 is a flowchart of a data transmission method according to another embodiment of the present disclosure;
FIG. 6 is a schematic block diagram of a computing device provided in one embodiment of the present description.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments provided in the present specification will be described in detail below with reference to the accompanying drawings.
Fig. 1 is an application scenario of a data transmission system according to an embodiment of the present disclosure. As shown in fig. 1, an application scenario of the data transfer system may be a computing device 10, a data transfer device (not shown in fig. 1), and a remote device 20. Specifically, after the remote device 20 transmits the data acquisition request message to the data transmission device, the computing device 10 transmits the audio and video data played by the computing device 10 side to the remote device via the data transmission device.
In one embodiment of the present description, the computing device 10 may be a tablet computer, a personal computer, or the like. The remote device 20 may be a player, or a player with a display screen, etc.
Fig. 2 is a schematic structural diagram of a data transmission device according to an embodiment of the present disclosure. As shown in fig. 2, the data transmission apparatus includes:
the interface module is electrically connected with a USB interface of the computing device, and the interface module comprises: a USB Human Interface Device (HID) unit 2022 and a communication node;
the storage module 204 is connected with the communication node, a data processing program is stored in the storage module 204, and the data processing program acquires audio and video data played by the computing device under the condition that the data processing program is acquired and operated by the computing device through the communication node;
HID 2022 for transmitting audio video data between the computing device and the data transmission device.
According to one or more embodiments of the present disclosure, the data processing program stored in the storage module is obtained and executed by the computing device, so that the obtained and executed data processing program obtains audio and video data played by the computing device, and transmits the obtained audio and video data to the data transmission device through the unit HId. The HId unit has no limitation on the transmission format of the audio and video, so that the audio and video data transmission of various formats can be realized.
In this specification, a data processing program is acquired from data transmission data and executed immediately after a computing device detects that a data transmission device is inserted into the computing device; or a daemon program in the computing device acquires and runs the data processing program after detecting the insertion of the data transmission device.
In this specification, the number of the storage module 204 may be one or more, and the storage module 204 may be a removable hard disk.
In one embodiment of the present description, the data transfer module is identified by the computing device as the interface module and the storage module 204 after the data transfer device is connected to the computing device.
After the data transmission equipment is connected with the USB interface of the computing equipment, the computing equipment sends an inquiry signal to the data transmission equipment, the data transmission equipment reports equipment configuration information to the computing equipment after receiving the inquiry signal, and the computing equipment identifies the data transmission equipment as an interface module and a storage module based on the equipment configuration information.
In one embodiment of the present specification, the interface module is configured to include an End Point (EP) that transmits audio data in the audiovisual data and an end point that transmits video data in the audiovisual data. The audio data format is not limited by the endpoint transmitting the audio data in the audio and video data; the end point transmitting the video data in the audio and video data is not limited to uvc (USB video class or USB video class) in the format of the video data, and may transmit video data in any other format; in addition, the time delay of audio and video data transmission through the end points is small.
In one embodiment of the present specification, the device configuration information includes: the transmission mode of an endpoint transmitting audio data in audio-video data and an endpoint transmitting video data in audio-video data is configured as an interrupt transmission (interrupt transmission) mode.
In this specification, the transmission mode of the endpoint transmitting the audio data in the audio and video data and the transmission mode of the endpoint transmitting the video data in the audio and video data are configured to be the interrupt transmission mode, so that the transmission delay is short, and the transmission rate can be increased.
In one embodiment of the present specification, the interrupt query time for the interrupt transmission mode is set to 125us, and/or the packet size for the interrupt transmission mode is set to 1024 bytes.
In the specification, the interruption query time of the interruption transmission mode is set to 125us from 10ms, and/or the size of a single data packet of the interruption transmission mode is increased from 64 bytes to 1024 bytes, so that the quality of transmitted audio and video data can be ensured while the delay is further improved.
In one embodiment of the present description, HID 2022 is also used to buffer audio-video data.
In an embodiment of the present specification, the data transmission device further includes: a communication module and a processor;
the communication module is used for receiving a data acquisition request message sent by the remote equipment and sending the data acquisition request message to the processor;
and the processor is used for controlling the data processing program to acquire the audio and video data played by the computing equipment according to the data acquisition request message and transmitting the audio and video data cached in the HID 2022 to the remote equipment through the communication module.
In one embodiment of the present description, the processor is further configured to:
and controlling the data processing program to acquire audio and video data played by the computing device according to the data acquisition request in the data acquisition request message, adjusting the playing parameter of the acquired audio and video data according to the playing parameter adjustment request in the data acquisition request message, and transmitting the audio and video data with the adjusted playing parameter cached in the HID 2022 to the remote device through the communication module.
In this specification, the computing device is an audio/video data source, and when the remote device initiates a request message for obtaining audio/video data to the computing device, the data processing program obtains the audio/video data played by the computing device, and caches the audio/video data in the cache of the HID 2022 in a queue form, and reads the audio/video data cached in the queue by the processor, and transmits the audio/video data to the remote device by the communication module.
When the remote device requests the computing device to transmit the audio and video data, the setting request of the remote device side for the playing parameter of the audio and video data can be transmitted to the data processing program, and the data processing program adjusts the obtained playing parameter of the audio and video data; or the processor adjusts the acquired audio and video data according to the setting request of the far-end equipment side for the playing parameter of the audio and video data, and then transmits the adjusted audio and video data to the far-end equipment side through the communication module; or, for a common remote device, only when audio/video data is requested for the first time, a setting request of the remote device side for the playing parameter of the audio/video data needs to be transmitted.
In one embodiment of the present specification, the playback parameter includes at least one of: playback clarity, playback bandwidth, and data format for playback.
In an embodiment of The present specification, The communication module may perform communication by using a communication method such as The 3rd generation telecommunications (3G), 4G, 5G, and Wireless Fidelity (WIFI).
In this specification, after the data processing program finishes processing the audio and video data, the processed audio and video data is transmitted to the remote device through the communication module without depending on the computing device.
In one embodiment of the present specification, the data processing program is further configured to: and coding the video data in the acquired audio and video data according to the H.265 or H.264 format, and/or processing the audio data in the acquired audio and video data according to the WAV format.
In this specification, the data processing program may be an Application program (APP); the APP can acquire audio and video data played by the computing device and can also perform coding processing on the acquired audio and video data, so that the transmission bandwidth of the audio and video data can be reduced while the quality of the audio and video is ensured. If the video is calculated according to the definition of 1080P30, the bandwidth of the transmission video is about 2M-4Mbps at the moment; if the bandwidth for transmitting audio is calculated according to the bit width of 48K double-channel 32bit, the bandwidth for transmitting audio is predicted to be about 384Kbps, and compared with the prior art, the transmission bandwidth for audio and video data is reduced. In addition, the APP is adopted to acquire and encode the audio and video data, and parameters such as a data encoding format, a definition rate, a frame rate and the like can be adjusted according to the user requirements of the far-end equipment side.
In an embodiment of the present specification, the data transmission device further includes:
and the audio transmission module is used for transmitting audio data in the audio and video data between the computing equipment and the data transmission equipment.
In one embodiment of the present description, the computing device may be a Personal Computer (PC) or the like; the remote device can be a display screen, a display and other devices capable of displaying and playing audio and video data.
Fig. 3 is a schematic structural diagram of a data transmission device according to another embodiment of the present disclosure. As shown in fig. 3, the data transmission apparatus may include: an interface module, a storage module 304, a processor 306, and a communication module 308; wherein, the interface module includes: a USB human interface device HID unit 3022 and a communication node.
When the interface module is electrically connected with the USB interface of the computing device, the computing device acquires the data processing program stored in the storage module 304 through the communication node, and runs the data processing program after the acquisition; when the communication module 308 receives a data acquisition request message sent by a remote device, the data acquisition request message is sent to the processor 306; the processor 306 controls the data processing program to acquire the audio and video data played by the computing device according to the data acquisition request message, and stores the audio and video data into the HID unit 3022, and then the processor 306 transmits the stored audio and video data to the remote device via the communication module 308.
In one embodiment of the present description, upon electrical connection with a USB interface of a computing device, in response to receiving a query signal from the computing device, device configuration information of the data transmission device is transmitted to the computing device, causing the computing device to identify the data transmission device as the storage module 304 and the interface module according to the device configuration information.
The HID unit 3022 is configured as at least four endpoints (i.e., four nodes), where the at least four endpoints include a control endpoint (control ep), an end point (ep), and a communication node (trace ep); only four endpoints are illustrated in fig. 3.
Wherein, the control end point is an end point 0(control ep), and transmits the device configuration information to the computing device; two ep _ out endpoints (data flow, computing device- > data transfer device), one ep _ in endpoint (data flow, data transfer device- > computing device); the computing device acquires the data processing program in the storage module 304 through the stroge ep (i.e., the communication node), and runs the data processing program after the acquisition.
The ep _ out1 is used for video transmission in the audio-video data played by the computing device, and the ep _ out2 is used for audio transmission in the audio-video data played by the computing device.
According to one or more embodiments of the present description above, an endpoint through an HID can transmit both audio data and video data; in addition, the audio and video data transmission through the end points has small time delay and no requirement on the format of the audio and video data.
In one embodiment of the present specification, the device configuration information includes: the transmission mode is configured as an Interrupt transmission mode (Interrupt transmission).
According to one or more embodiments of the present specification, the problem of large delay can be solved by transmitting audio/video data through an interrupt transmission mode (interrupt transmission).
In one embodiment of the present specification, the interrupt query time for the interrupt transmission mode is set to 125us, and/or the packet size for the interrupt transmission mode is set to 1024 bytes.
According to one or more embodiments of the present specification, the delay of the transmission of the audio-video data is reduced and the efficiency of the transmission of the audio-video data is improved by setting the interrupt query time to 125 us.
In an embodiment of the present specification, when a user needs to adjust a playing parameter of audio/video data played by a remote device, or the remote device itself needs to meet a requirement on the playing parameter of the audio/video data, the remote device initiates a request to make the audio/video data transmitted to the remote device meet a requirement on a remote device side.
When the interface module is electrically connected with the USB interface of the computing device, the computing device obtains the data processing program in the storage module 304, runs the data processing program, and sends the data obtaining request message to the processor 306 when the communication module 308 receives the data obtaining request message sent by the remote device; the processor 306 is configured to control the data processing program to acquire the audio and video data played by the computing device according to the data acquisition request in the data acquisition request message, adjust the playing parameter of the acquired audio and video data according to the playing parameter adjustment request in the data acquisition request message, and transmit the audio and video data with the adjusted playing parameter, which is cached in the HID unit 3022, to the remote device via the communication module 308.
In one embodiment of the present specification, the playback parameter includes at least one of: playback clarity, playback bandwidth, and data format for playback.
In one embodiment of the present specification, the data processing program is further configured to:
and coding the video data in the acquired audio and video data according to the H.265 or H.264 format, and/or processing the audio data in the acquired audio and video data according to the WAV format.
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present disclosure. As shown in fig. 4, the data transmission method is applied to a data transmission device, the data transmission device includes a storage module and an interface module, the interface module includes a USB human interface device HID unit and a communication node, and the data transmission method may include:
s410: under the condition that a data processing program in the storage module is acquired and operated by the computing equipment, the data processing program acquires audio and video data played by the computing equipment;
s420: audio-video data transmitted by the computing device is received by the HID unit.
According to one or more embodiments of the present disclosure, in a case that the data processing program in the storage module is acquired and run by the computing device, the data processing program acquires audio and video data played by the computing device, and the HID unit transmits the acquired audio and video data to the data transmission device. The HID unit does not limit the transmission format of the audio and video, so that the audio and video data transmission of various formats can be realized.
Fig. 5 is a flowchart of a data transmission method according to another embodiment of the present disclosure. As shown in fig. 5, the data transmission method is applied to a computing device, and the data transmission method includes:
s510: identifying accessed data transmission equipment, wherein the data transmission equipment is preset as an interface module and a storage module; the interface module comprises a USB human body interface device HID unit and a communication node;
s520: acquiring a data processing program in a storage module through a communication node, and operating the data processing program;
s530: acquiring audio and video data played by the computing equipment by using a data processing program;
s540: and transmitting the audio and video data to the HID unit.
According to one or more embodiments of the present disclosure, in a case that the computing device obtains and runs the data processing program in the storage module, the data processing program obtains the audio and video data played by the computing device, and transmits the obtained audio and video data to the HID unit to the data transmission device. The HID unit does not limit the transmission format of the audio and video, so that the audio and video data transmission of various formats can be realized.
Fig. 6 is a schematic block diagram of a computing device provided in an embodiment of the present specification, and a block diagram of an exemplary hardware architecture of a computing device capable of implementing the data transmission method and apparatus provided in the examples of the present invention.
Computing device 600 includes an input device 601, an input interface 602, a central processor 603, a memory 604, an output interface 605, and an output device 606. The input interface 602, the central processing unit 603, the memory 604, and the output interface 605 are connected to each other via a bus 610, and the input device 601 and the output device 606 are connected to the bus 610 via the input interface 602 and the output interface 605, respectively, and further connected to other components of the computing device 600.
Specifically, the input device 601 receives input information from the outside, and transmits the input information to the central processor 603 through the input interface 602; the central processor 603 processes input information based on computer-executable instructions stored in the memory 604 to generate output information, stores the output information temporarily or permanently in the memory 604, and then transmits the output information to the output device 606 through the output interface 605; output device 606 outputs output information to the exterior of computing device 600 for use by a user.
The computing device shown in FIG. 6 may also be implemented to include: a memory storing computer-executable instructions; and a processor which, when executing the computer executable instructions, may implement the data transmission method described in connection with fig. 5.
According to an embodiment of the invention, the process described above with reference to the flow chart may be implemented as a computer software program. For example, an example of the invention includes a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network, and/or installed from a removable storage medium.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions which, when run on a computer, cause the computer to perform the methods described in the various embodiments above. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage module comprising one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), among others.
The above-described examples of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the example scheme. One of ordinary skill in the art can understand and implement it without inventive effort.
It is to be understood that the invention is not limited to the particular arrangements and instrumentality described in the above embodiments and shown in the drawings. For convenience and brevity of description, detailed description of a known method is omitted here, and for the specific working processes of the system, the module and the unit described above, reference may be made to corresponding processes in the foregoing method embodiments, which are not described herein again.
It should also be noted that the above describes certain embodiments of the specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in the order of execution in different embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
It will be apparent to those skilled in the art that the method procedures of the present invention are not limited to the specific steps described and illustrated, and that various changes, modifications and additions, or equivalent substitutions and changes in the sequence of steps within the technical scope of the present invention are possible within the technical scope of the present invention as those skilled in the art can appreciate the spirit of the present invention.

Claims (13)

1. A data transmission apparatus, the apparatus comprising:
the interface module is electrically connected with a USB interface of the computing equipment; wherein the interface module comprises: the system comprises a USB human body interface device HID unit and a communication node;
the storage module is connected with the through node, a data processing program is stored in the storage module, and the data processing program acquires audio and video data played by the computing equipment under the condition that the data processing program is acquired and operated by the computing equipment through the through node;
the HID unit is used for transmitting the audio and video data between the computing equipment and the data transmission equipment.
2. The device of claim 1, wherein the HID unit includes a node that transmits video in the audio-visual data and a node that transmits audio in the audio-visual data.
3. The apparatus of claim 2, wherein the transmission mode of the node of video and the node of audio is an interrupt transmission mode.
4. The apparatus of claim 3, wherein the interrupt transmission mode has an interrupt polling time of 125us and/or a packet size of 1024 bytes.
5. The device of claim 1, wherein the HID unit is further configured to:
and caching the audio and video data.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the communication module is used for receiving a data acquisition request message sent by a remote device and sending the data acquisition request message to the processor;
and the processing module is used for controlling the data processing program to acquire the audio and video data played by the computing equipment according to the data acquisition request message and transmitting the audio and video data cached in the HID unit to the remote equipment through the communication module.
7. The device of claim 6, wherein the processing module is further configured to:
and controlling the data processing program to acquire the audio and video data played by the computing device according to the data acquisition request in the data acquisition request message, controlling the data processing program to adjust the playing parameters of the acquired audio and video data according to the playing parameter adjustment request in the data acquisition request message, and transmitting the audio and video data with the adjusted playing parameters cached in the HID unit to the remote device through the communication module.
8. The apparatus of claim 7, wherein the playback parameters comprise at least one of: playback clarity, playback bandwidth, and data format for playback.
9. The device of claim 1, wherein the data handler is further configured to:
and coding the video data in the acquired audio and video data according to the H.265 or H.264 format, and/or processing the audio data in the acquired audio and video data according to the WAV format.
10. The apparatus of claim 1, wherein the apparatus further comprises:
and the audio transmission module is used for transmitting audio data in the audio and video data between the computing equipment and the data transmission equipment.
11. A data transmission system comprising a computing device, a remote device and a data transmission device according to any one of claims 1 to 10; the data transmission equipment comprises a storage module and an interface module;
the interface module is electrically connected with a USB interface of the computing equipment; wherein, the interface module comprises a USB human body interface device HID unit and a communication node:
the computing device is used for acquiring the data processing program in the storage module through the communication node and running the data processing program;
the computing equipment is used for acquiring audio and video data played by the computing equipment by using the data processing program;
and the computing equipment is used for transmitting the audio and video data to the HID unit.
12. A data transmission method is applied to data transmission equipment, and the data transmission equipment comprises the following steps: the method comprises the following steps that a storage module and an interface module are adopted, the interface module comprises a USB human body interface device HID unit and a communication node, and the method comprises the following steps:
under the condition that a data processing program in the storage module is acquired and operated by computing equipment, the data processing program acquires audio and video data played by the computing equipment;
receiving, by the HID unit, the audio-visual data transmitted by the computing device.
13. A data transmission method is applied to computing equipment, and the method comprises the following steps:
identifying accessed data transmission equipment, wherein the data transmission equipment is preset as an interface module and a storage module; the interface module comprises a USB human body interface device HID unit and a communication node;
acquiring a data processing program in the storage module through the communication node, and operating the data processing program;
acquiring audio and video data played by the computing equipment by using the data processing program;
and transmitting the audio and video data to the HID unit.
CN201910920259.0A 2019-09-26 2019-09-26 Data transmission device, system and method Active CN110704340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920259.0A CN110704340B (en) 2019-09-26 2019-09-26 Data transmission device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920259.0A CN110704340B (en) 2019-09-26 2019-09-26 Data transmission device, system and method

Publications (2)

Publication Number Publication Date
CN110704340A true CN110704340A (en) 2020-01-17
CN110704340B CN110704340B (en) 2022-02-11

Family

ID=69197582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920259.0A Active CN110704340B (en) 2019-09-26 2019-09-26 Data transmission device, system and method

Country Status (1)

Country Link
CN (1) CN110704340B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291404A (en) * 2011-08-12 2011-12-21 苏州阔地网络科技有限公司 Method, system and server for transmitting audio and video data
US20130246565A1 (en) * 2011-09-19 2013-09-19 Qualcomn Incorporated Sending human input device commands over internet protocol
US8898349B1 (en) * 2013-10-10 2014-11-25 American Megatrends, Inc. IPMI over USB data transfer between host computer and baseboard management controller (BMC)
CN104602118A (en) * 2013-10-30 2015-05-06 中国移动通信集团公司 Multimedia data output method and equipment
CN105898656A (en) * 2016-04-28 2016-08-24 青岛歌尔声学科技有限公司 Audio processing unit, headset, virtual reality equipment, and audio processing method
US20170025089A1 (en) * 2015-07-22 2017-01-26 Qualcomm Incorporated Devices and methods for facilitating transmission of video streams in remote display applications
CN106412683A (en) * 2016-11-16 2017-02-15 深圳市宝疆科技有限公司 System and method for realizing audio and video transmission and interactive signaling through USB interface
CN107948566A (en) * 2016-10-12 2018-04-20 广州视源电子科技股份有限公司 Method and device for realizing plug-and-play screen transmission
CN109819303A (en) * 2019-03-06 2019-05-28 Oppo广东移动通信有限公司 Data output method and relevant device
CN110086978A (en) * 2018-01-25 2019-08-02 浙江宇视科技有限公司 MCVF multichannel voice frequency transmission method, device and terminal device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291404A (en) * 2011-08-12 2011-12-21 苏州阔地网络科技有限公司 Method, system and server for transmitting audio and video data
US20130246565A1 (en) * 2011-09-19 2013-09-19 Qualcomn Incorporated Sending human input device commands over internet protocol
US8898349B1 (en) * 2013-10-10 2014-11-25 American Megatrends, Inc. IPMI over USB data transfer between host computer and baseboard management controller (BMC)
CN104602118A (en) * 2013-10-30 2015-05-06 中国移动通信集团公司 Multimedia data output method and equipment
US20170025089A1 (en) * 2015-07-22 2017-01-26 Qualcomm Incorporated Devices and methods for facilitating transmission of video streams in remote display applications
CN105898656A (en) * 2016-04-28 2016-08-24 青岛歌尔声学科技有限公司 Audio processing unit, headset, virtual reality equipment, and audio processing method
CN107948566A (en) * 2016-10-12 2018-04-20 广州视源电子科技股份有限公司 Method and device for realizing plug-and-play screen transmission
CN106412683A (en) * 2016-11-16 2017-02-15 深圳市宝疆科技有限公司 System and method for realizing audio and video transmission and interactive signaling through USB interface
CN110086978A (en) * 2018-01-25 2019-08-02 浙江宇视科技有限公司 MCVF multichannel voice frequency transmission method, device and terminal device
CN109819303A (en) * 2019-03-06 2019-05-28 Oppo广东移动通信有限公司 Data output method and relevant device

Also Published As

Publication number Publication date
CN110704340B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
WO2021121289A1 (en) Data receiving method and apparatus for bluetooth headset, device, and storage medium
JP6582100B2 (en) Method and apparatus for providing voice service
CN101883097A (en) Method and device for realizing that server equipment shares screen of client equipment
EP3697088A1 (en) Video sending and receiving method, device, and terminal
WO2022111027A1 (en) Video acquisition method, electronic device, and storage medium
WO2014069905A1 (en) Method and apparatus for transmitting and receiving media segments using adaptive streaming
WO2016000528A1 (en) Audio output method and device
US10404606B2 (en) Method and apparatus for acquiring video bitstream
JP2012147356A (en) Telecommunication device
US9445142B2 (en) Information processing apparatus and control method thereof
CN107438990B (en) Method and apparatus for delivering timing information
JP6116240B2 (en) Transmission device, transmission method, and program
CN104363509A (en) Terminal, video conversion method and device and video playing system
JPWO2014207899A1 (en) Communication apparatus and communication method
CN113301388B (en) Video stream processing system, equipment and method
KR20160102683A (en) Proxy server for cloud streaming service, cloud streaming system and method using the same
CN110704340B (en) Data transmission device, system and method
US11553224B1 (en) Method and device for adjusting bit rate during live streaming
CN109361915B (en) Wired network camera installation test method
WO2017160404A1 (en) User input based adaptive streaming
KR20140103377A (en) Content server and content providing method of the same
CN107357547B (en) Audio control method, audio control device and audio equipment
CN106936808B (en) HTTP streaming media transmission method and device
JP6094276B2 (en) Information processing apparatus, method, and program
KR101836220B1 (en) Apparatus and method for media sharing

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