Collected data interaction method and device
By creating a virtual collection device and establishing a data channel on the terminal, the problem of poor audio and video data interaction in online meetings is solved, and the audio and video data on the conference screen can be effectively interacted between the local terminal and the remote terminal, improving Improve the audio and video interaction effect of online meetings.
Patent Information
- Application Number
- CN202410822606.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
AI Technical Summary
In online meetings, the audio and video data interaction between the terminal and the conference screen is not effective, resulting in a degraded audio and video interaction experience between the local terminal and the remote terminal.
By creating a virtual collection device on the terminal, establishing a data channel with the audio and video collection device on the conference screen, and transmitting the audio and video data collected by the conference screen through the cloud server, audio and video data interaction between the local terminal and the remote terminal is realized. .
The audio and video interaction effect of online meetings is improved, so that the audio and video data on the conference screen can be effectively interacted between the local terminal and the remote terminal, improving the experience of remote meetings.
Smart Images

Figure CN118764565A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more particularly to a data collection and interaction method and device. Background Art
[0002] With the development of the Internet and communication technologies, online meetings are becoming more and more popular. In this trend, screen sharing and audio and video transmission technologies have become important technologies to support remote collaboration and reproduce meetings.
[0003] In the online meeting scenario of the conference room, the conference screen in the conference room is connected through the terminals on both sides to display the meeting content on the conference screen, and the terminal is connected to the remote terminal through the cloud platform for screen sharing and audio and video transmission.
[0004] The conference screen is equipped with audio and video acquisition devices with better acquisition effects, such as cameras for capturing the conference room situation and microphones for collecting voices in the conference room. However, when the conference screen is connected through a terminal, the audio and video collected by the audio and video acquisition device on the conference screen can only be displayed on the conference screen, and the audio and video data transmitted between the local terminal and the remote terminal can only be the audio and video data collected by the audio and video acquisition device on the terminal, resulting in the inability of the terminals on both sides to have a better interactive experience, reducing the audio and video interaction effect of the online meeting. Summary of the invention
[0005] In order to overcome the problems existing in the related art, this specification provides a data collection interaction method and device.
[0006] According to a first aspect of an embodiment of this specification, a data acquisition interaction method is provided, which is applied to a terminal, wherein the terminal establishes a connection with a remote terminal through a cloud server, a local area network connection is established between the terminal and a conference screen, and an audio and video acquisition device is provided on the conference screen;
[0007] The method comprises:
[0008] Creating a virtual acquisition device, wherein the virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device;
[0009] Establishing a data channel between the virtual acquisition device and the audio and video acquisition device set on the conference screen;
[0010] The audio and video data sent by the conference screen is obtained through the created virtual acquisition device, and the acquired audio and video data is transmitted to the remote terminal through the cloud server, wherein the audio and video data is collected by the conference screen through the audio and video acquisition device.
[0011] Optionally, the audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device;
[0012] The step of creating a virtual acquisition device comprises:
[0013] Creating a COM component of the virtual video acquisition device based on the acquired creation file;
[0014] Creating a video stream filter in the COM component;
[0015] Generate a pin interface for the video stream filter, wherein the video stream filter obtains the video data in the shared memory by calling a read function;
[0016] The step of acquiring the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the acquired audio and video data to the remote terminal through the cloud server, includes:
[0017] Receiving video data sent by the conference screen through the data channel;
[0018] Writing the received video data into the shared memory;
[0019] The written video data is obtained from the shared memory through the video stream filter, and the obtained video data is transmitted to the remote terminal via the cloud server through the pin interface of the video stream filter.
[0020] Optionally, after creating the video stream filter in the COM component, the method further includes:
[0021] Creating a configuration interface for the video stream filter;
[0022] The configuration interface includes at least one of the following:
[0023] A first configuration interface, used for receiving video format configuration information for the video stream filter, wherein the video format configuration information is used for configuring a format of video data supported by the video stream filter;
[0024] The second configuration interface is used to receive video effect configuration information for the video stream filter, where the video effect configuration information is used to configure the display effect of the acquired video data.
[0025] Optionally, the created file includes a dynamic link library file or an executable file.
[0026] Optionally, the audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device;
[0027] The step of creating a virtual acquisition device comprises:
[0028] Creating a virtual audio device based on the acquired driver file, wherein the virtual audio device is created with input and output control functions;
[0029] The step of acquiring the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the acquired audio and video data to the remote terminal through the cloud server, includes:
[0030] Receiving audio data sent by the conference screen through the data channel;
[0031] Calling the device input and output control interface to send the received audio data to the created virtual audio device;
[0032] The received audio data is transmitted to the remote terminal via the cloud server through the created virtual audio device.
[0033] According to a second aspect of the embodiments of this specification, a data acquisition interaction device is provided, which is applied to a terminal, wherein the terminal is connected to a remote terminal via a cloud server, a local area network connection is established between the terminal and a conference screen, and an audio and video acquisition device is provided on the conference screen.
[0034] The device comprises:
[0035] A creating unit, used for creating a virtual acquisition device, wherein the virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device;
[0036] An establishing unit, used for establishing a data channel between the virtual acquisition device and the audio and video acquisition device set on the conference screen;
[0037] The transmission unit is used to obtain the audio and video data sent by the conference screen through the created virtual acquisition device, and transmit the obtained audio and video data to the remote terminal through the cloud server.
[0038] Optionally, the audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device;
[0039] The creation unit comprises:
[0040] An object creation module, used for creating a component object model (COM) component of the virtual video acquisition device based on the acquired creation file;
[0041] A filter creation module, used for creating a video stream filter in the COM component;
[0042] A generating module, used for generating a pin interface for the video stream filter, wherein the video stream filter obtains the video data in the shared memory by calling a read function;
[0043] The transmission unit comprises:
[0044] A first receiving module, used for receiving the video data sent by the conference screen through the data channel;
[0045] A writing module, used for writing the received video data into the shared memory;
[0046] A reading module, used for obtaining the written video data from the shared memory through a video stream filter;
[0047] The first sending module is used to transmit the acquired video data to the remote terminal via the cloud server through the pin interface of the video stream filter.
[0048] Optionally, the creation unit further includes:
[0049] An interface creation module, used for creating a configuration interface for the video stream filter after creating the video stream filter in the COM component;
[0050] The configuration interface includes at least one of the following:
[0051] A first configuration interface, used for receiving video format configuration information for the video stream filter, wherein the video format configuration information is used for configuring a format of video data supported by the video stream filter;
[0052] The second configuration interface is used to receive video effect configuration information for the video stream filter, where the video effect configuration information is used to configure the display effect of the acquired video data.
[0053] Optionally, the created file includes a dynamic link library file or an executable file.
[0054] Optionally, the audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device;
[0055] The creation unit comprises:
[0056] A device creation module, used to create a virtual audio device based on the acquired driver file, wherein the virtual audio device is created with input and output control functions;
[0057] The transmission unit comprises:
[0058] A second receiving module is used to receive the audio data sent by the conference screen through the data channel;
[0059] An acquisition module is used to call a device input and output control function to send the received audio data to the created virtual audio device;
[0060] The second sending module is used to transmit the received audio data to the remote terminal via the cloud server through the created virtual audio device.
[0061] According to a third aspect of an embodiment of this specification, an electronic device is provided, including a transceiver, a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement any of the method steps described above.
[0062] According to a fourth aspect of the embodiments of this specification, a machine-readable storage medium is provided, storing machine-executable instructions. When called and executed by a processor, the machine-executable instructions prompt the processor to implement any of the method steps described above.
[0063] The technical solutions provided by the embodiments of this specification may have the following beneficial effects:
[0064] In the embodiments of the present specification, a virtual acquisition device is created on the local terminal, and a local area network connection is established between the local terminal and the conference screen used locally. After the audio and video acquisition device on the conference screen obtains the audio and video data, the audio and video data can be transmitted through the data channel between the conference screen and the terminal. Afterwards, the terminal can obtain the audio and video data received by the terminal through the virtual acquisition device, and realize data transmission between the local terminal and the remote terminal through the cloud server. In this way, in the scenario of online meetings, the audio and video data interaction between the local terminal and the remote terminal, and even between the local conference screen and the remote conference screen, can be realized through the audio and video data with better effect collected on the conference screen, thereby improving the audio and video interaction effect of the online meeting.
[0065] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and, together with the description, serve to explain the principles of the specification.
[0067] Figure 1 This is a network diagram applicable to a data collection interaction method involved in this specification.
[0068] Figure 2 It is a flow chart of a data collection interaction method involved in this specification.
[0069] Figure 3 It is a schematic diagram of video data interaction of a data acquisition interaction method involved in the implementation mode of this specification.
[0070] Figure 4 It is a structural diagram of a data collection and interaction device involved in this specification.
[0071] Figure 5 It is a structural schematic diagram of an electronic device involved in this specification. DETAILED DESCRIPTION
[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this specification. Instead, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0073] The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit this specification. The singular forms "a", "the" and "the" used in this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0074] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0075] This application provides a data collection interaction method, such as Figure 1As shown, it is applied to a terminal, the terminal establishes a connection with a remote terminal through a cloud server, a local area network connection is established between the terminal and the conference screen, and an audio and video acquisition device is provided on the conference screen. The terminal on one side is called a local terminal, and the terminal that conducts a remote conference with the local terminal is called a remote terminal. Conference applications for online conferences are running on the local terminal and the remote terminal. A communication connection for the conference application is established between the local terminal and the remote terminal through the cloud server. Through the established communication connection, the local terminal and the remote terminal can exchange the acquired audio data and / or video data. Among them, the audio and video acquisition device provided on the conference screen can be an audio acquisition device and / or a video acquisition device, specifically, it can be a camera and / or a microphone, etc.
[0076] The method, such as Figure 2 As shown, including:
[0077] S200: Create a virtual acquisition device.
[0078] The virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device. Specifically, the virtual audio acquisition device may be a virtual microphone, corresponding to the audio acquisition device (specifically, microphone) provided on the conference screen, and the virtual video acquisition device may be a virtual camera, corresponding to the video acquisition device (specifically, camera) provided on the conference screen. In the following description, the audio acquisition device is described by taking a microphone as an example, and the video acquisition device is described by taking a camera as an example. Correspondingly, the virtual audio acquisition device is described by taking a virtual microphone as an example, and the virtual video acquisition device is described by taking a virtual camera as an example.
[0079] S201. Establish a data channel between the virtual acquisition device and the audio and video acquisition device provided on the conference screen.
[0080] The local terminal and the local conference screen as well as the remote terminal and its corresponding conference screen each form a local area network. A data channel is established between the local terminal and the local conference screen, and a data channel is also established between the remote terminal and its corresponding conference screen. The data channel can be a channel based on the websocket protocol, etc., which can be set according to actual needs and there is no restriction on this.
[0081] After the conference screen collects audio data through the microphone and video data through the camera, the collected audio and video data, that is, audio data and / or video data, are sent to the terminal through the established data channel.
[0082] S202: Acquire the audio and video data sent by the conference screen through the created virtual acquisition device, and transmit the acquired audio and video data to the remote terminal through the cloud server.
[0083] The audio and video data are collected by the conference screen through an audio and video collection device.
[0084] After the terminal receives the audio and video data, it obtains the audio and video data through the created virtual acquisition device, and processes the audio and video data through the virtual acquisition device, such as encoding, decoding and parameter adjustment of the audio and video.
[0085] After that, the acquired audio and video data is transmitted to the remote terminal via the cloud server through the call between the virtual acquisition device and the terminal's transceiver. After the remote terminal receives the audio and video data, it is displayed on the remote terminal's conference application through processes such as decoding, encoding, and parameter adjustment, and can be sent to the conference screen for display through the LAN connection between the terminal and its corresponding conference screen. In this way, in the scenario of online meetings, the audio and video acquisition device with better effects set on the conference screen can collect audio and video data and remotely interact with audio and video data, thereby improving the effect of audio and video interaction.
[0086] Optionally, the audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device;
[0087] The step S200, creating a virtual acquisition device, includes:
[0088] S200A: Create a COM component of the virtual video acquisition device based on the acquired creation file.
[0089] S200B. Create a video stream filter in the COM component.
[0090] S200C. Generate a pin interface for the video stream filter.
[0091] Optionally, the created file includes a DLL (Dynamic Link Library) file or an executable file.
[0092] The terminal registers the DLL in the registry based on the acquired DLL file, or registers the DLL in the registry through the execution file, thereby forming a COM (Component Object Model) component in the terminal. After the COM component is created, a video stream filter (filter) as a virtual video acquisition device is created as a COM object in the COM component. The video stream filter at least includes a source filter (source filter), which can be used to acquire video data. Data interaction between video stream filters and between video stream filters and the outside can be achieved by generating a pin interface through the WeChat video stream filter.
[0093] In addition, a read function may be compiled in the video stream filter, in which a storage space of a shared memory is preset, and the storage space is used to write the video data received from the conference screen. When the read function detects that video data is written in the shared memory, the read function is called to read the video data written in the shared memory from the shared memory.
[0094] The step S202, obtaining the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the obtained audio and video data to the remote terminal through the cloud server, includes:
[0095] S202A. Receive video data sent by the conference screen through the data channel.
[0096] S202B, writing the received video data into the shared memory.
[0097] S202C, obtaining the written video data from the shared memory through the video stream filter, and transmitting the obtained video data to the remote terminal via the cloud server through the pin interface of the video stream filter.
[0098] The video stream filter obtains the video data in the shared memory by calling a read function.
[0099] like Figure 3 As shown, when the conference screen sends the acquired video data to the terminal in the same local area network through the data channel, the terminal receives the video data and writes the video data into a preset range of the memory, which can be called a shared memory.
[0100] When the video data is written to the shared memory, the video stream filter can detect in real time whether there is newly written video data in the shared memory. If there is, the written video data is read; if not, no processing is performed and the video data is waited for to be written.
[0101] After the video stream filter reads the video data, the obtained video data is output to the outside through the pin interface (output pin), for example, it can be sent to a cloud server with a preset IP (Internet Protocol) address via a network interface, and the video data is sent to a remote terminal through forwarding by the cloud server.
[0102] After the remote terminal receives the video data sent by the cloud server, it can display the video data on the remote terminal through decoding, encoding and effect processing, and can also send the video data to the corresponding conference screen to realize the video data display on the remote conference screen.
[0103] In addition to the above-mentioned transmission method through shared memory, the video stream filter can also read the video data transmitted by the conference screen through the TCP (Transmission Control Protocol) protocol.
[0104] Optionally, after step S200C, creating a video stream filter in the COM component, the method further includes:
[0105] S200D. Create a configuration interface for the video stream filter.
[0106] In the video stream filter, a configuration interface can also be created, and each configuration interface can correspond to different configuration options.
[0107] The configuration interface includes at least one of the following:
[0108] The first configuration interface is used to receive video format configuration information for the video stream filter, where the video format configuration information is used to configure the format of the video data supported by the video stream filter. Specifically, the first configuration interface may be an IAMStreamConfig interface.
[0109] The second configuration interface is used to receive video effect configuration information for the video stream filter, and the video effect configuration information is used to configure the display effect of the acquired video data. Specifically, the second configuration interface can be an IAM Video Proc Amp interface to control the image processing effect, and the display effects that can be adjusted include but are not limited to brightness, contrast, etc.
[0110] Optionally, the audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device. Specifically, the virtual audio device can be configured as a virtual microphone;
[0111] The step S200, creating a virtual acquisition device, includes:
[0112] S200E. Create a virtual audio device based on the acquired driver file.
[0113] In order to create a virtual audio device, a driver of a virtual audio device may be stored in the terminal. The driver file of the driver may be implemented in the form of a .sys file (driver core execution file) or a .inf file (information file).
[0114] When creating a virtual audio device, the device is added through the DeviceAdd function. The DeviceAdd function is a callback function that is called when a new device is requested to be added to the driver. In the DeviceAdd function, the Windows driver framework device addition WDFDeviceCreate function is called to create a device object. When creating a virtual audio device, the characteristics of the virtual audio device to be added are defined through the Windows driver framework device initialization WDFDEVICE_INIT function, such as the type of device (audio device), the function of the device, the supported features, etc.
[0115] In order to realize the transmission of audio data, the virtual audio device is created with an input-output control function (IOCTL), which is used to realize the transmission of audio data. In the conference application running on the terminal, the audio data can be sent to the virtual audio device by calling the device input-output control DeviceIoControl interface. When the conference application calls the defined input-output control audio data transmission IOCTL_TRANSFER_AUDIO_DATA request through the DeviceIoControl interface, the driver as the virtual audio device will receive the corresponding audio data request. After the virtual audio device receives the IOCTL_TRANSFER_AUDIO_DATA request, it obtains and processes the audio data accordingly.
[0116] The step S201, obtaining the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the obtained audio and video data to the remote terminal through the cloud server, includes:
[0117] S201D. Receive audio data sent by the conference screen through the data channel.
[0118] S201E, calling the device input and output control interface to send the received audio data to the created virtual audio device.
[0119] S201F, transmitting the received audio data to the remote terminal via the cloud server through the created virtual audio device.
[0120] When the conference screen sends the acquired audio data to the terminal in the same local area network through the data channel, the terminal receives the audio data and forms an IOCTL_TRANSFER_AUDIO_DATA request to notify the virtual audio device.
[0121] If the virtual audio device receives the request, it obtains the audio data. If it does not receive the request, it does not process and waits for the audio data to be obtained.
[0122] After the virtual audio device obtains the audio data, it outputs the obtained audio data to the outside, for example, it can send it to a cloud server with a preset IP (Internet Protocol) address via a network interface, and then send the audio data to a remote terminal through forwarding by the cloud server.
[0123] After the remote terminal receives the audio data sent by the cloud server, it can play the audio data on the remote terminal through decoding, encoding and effect processing, and can also send the audio data to the corresponding conference screen to achieve playback on the remote conference screen.
[0124] In addition, it should be noted that in the scenario of online meetings, audio data and video data can be transmitted between the terminal and the conference screen, and between the local terminal and the remote terminal respectively. Correspondingly, the conference screen needs to be configured with audio acquisition devices and video acquisition devices respectively, and the virtual audio device (i.e., virtual microphone) and virtual video device (i.e., virtual camera) are implemented on the terminal accordingly.
[0125] Correspondingly, the present application also provides a data collection interactive device, such as Figure 4 As shown, it is applied to a terminal, the terminal establishes a connection with a remote terminal through a cloud server, a local area network connection is established between the terminal and the conference screen, and an audio and video acquisition device is provided on the conference screen.
[0126] The device comprises:
[0127] A creating unit, used for creating a virtual acquisition device, wherein the virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device;
[0128] An establishing unit, used for establishing a data channel between the virtual acquisition device and the audio and video acquisition device set on the conference screen;
[0129] The transmission unit is used to obtain the audio and video data sent by the conference screen through the created virtual acquisition device, and transmit the acquired audio and video data to the remote terminal through the cloud server, wherein the audio and video data is collected by the conference screen through the audio and video acquisition device.
[0130] Optionally, the audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device;
[0131] The creation unit comprises:
[0132] An object creation module, used for creating a component object model (COM) component of the virtual video acquisition device based on the acquired creation file;
[0133] A filter creation module, used for creating a video stream filter in the COM component;
[0134] A generating module, used for generating a pin interface for the video stream filter, wherein the video stream filter obtains the video data in the shared memory by calling a read function;
[0135] The transmission unit comprises:
[0136] A first receiving module, used for receiving the video data sent by the conference screen through the data channel;
[0137] A writing module, used for writing the received video data into the shared memory;
[0138] A reading module, used for obtaining the written video data from the shared memory through a video stream filter;
[0139] The first sending module is used to transmit the acquired video data to the remote terminal via the cloud server through the pin interface of the video stream filter.
[0140] Optionally, the creation unit further includes:
[0141] An interface creation module, used for creating a configuration interface for the video stream filter after creating the video stream filter in the COM component;
[0142] The configuration interface includes at least one of the following:
[0143] A first configuration interface, used for receiving video format configuration information for the video stream filter, wherein the video format configuration information is used for configuring a format of video data supported by the video stream filter;
[0144] The second configuration interface is used to receive video effect configuration information for the video stream filter, where the video effect configuration information is used to configure the display effect of the acquired video data.
[0145] Optionally, the created file includes a dynamic link library file or an executable file.
[0146] Optionally, the audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device;
[0147] The creation unit comprises:
[0148] A device creation module, used to create a virtual audio device based on the acquired driver file, wherein the virtual audio device is created with input and output control functions;
[0149] The transmission unit comprises:
[0150] A second receiving module is used to receive the audio data sent by the conference screen through the data channel;
[0151] An acquisition module is used to call a device input and output control function to send the received audio data to the created virtual audio device;
[0152] The second sending module is used to transmit the received audio data to the remote terminal via the cloud server through the created virtual audio device.
[0153] Correspondingly, the present application also provides an electronic device, such as Figure 5 As shown, it includes a transceiver, a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement any of the method steps described above.
[0154] Correspondingly, a machine-readable storage medium stores machine-executable instructions. When called and executed by a processor, the machine-executable instructions prompt the processor to implement any of the method steps described above.
[0155] The technical solutions provided by the embodiments of this specification may have the following beneficial effects:
[0156] In the embodiments of the present specification, a virtual acquisition device is created on the local terminal, and a local area network connection is established between the local terminal and the conference screen used locally. After the audio and video acquisition device on the conference screen obtains the audio and video data, the audio and video data can be transmitted through the data channel between the conference screen and the terminal. Afterwards, the terminal can obtain the audio and video data received by the terminal through the virtual acquisition device, and realize data transmission between the local terminal and the remote terminal through the cloud server. In this way, in the scenario of online meetings, the audio and video data interaction between the local terminal and the remote terminal, and even between the local conference screen and the remote conference screen, can be realized through the audio and video data with better effect collected on the conference screen, thereby improving the audio and video interaction effect of the online meeting.
[0157] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, which will not be repeated here.
[0158] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying creative labor.
[0159] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0160] Those skilled in the art will readily appreciate other embodiments of the specification after considering the specification and practicing the invention claimed herein. The specification is intended to cover any variations, uses or adaptations of the specification that follow the general principles of the specification and include common knowledge or customary techniques in the art that are not claimed in the specification. The specification and examples are to be considered exemplary only, and the true scope and spirit of the specification are indicated by the following claims.
[0161] It should be understood that the present description is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
[0162] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.
Claims
1. A data collection interaction method, characterized in that: Applied to a terminal, the terminal establishes a connection with a remote terminal through a cloud server, a local area network connection is established between the terminal and a conference screen, and an audio and video acquisition device is provided on the conference screen; The method comprises: Creating a virtual acquisition device, wherein the virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device; Establishing a data channel between the virtual acquisition device and the audio and video acquisition device set on the conference screen; The audio and video data sent by the conference screen is obtained through the created virtual acquisition device, and the acquired audio and video data is transmitted to the remote terminal through the cloud server, wherein the audio and video data is collected by the conference screen through the audio and video acquisition device.
2. The method according to claim 1, characterized in that The audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device; The step of creating a virtual acquisition device includes: Creating a component object model COM component of the virtual video acquisition device based on the acquired creation file; Creating a video stream filter in the COM component; Generate a pin interface for the video stream filter, wherein the video stream filter obtains the video data in the shared memory by calling a read function; The step of acquiring the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the acquired audio and video data to the remote terminal through the cloud server, includes: Receiving video data sent by the conference screen through the data channel; Writing the received video data into the shared memory; The written video data is obtained from the shared memory through the video stream filter, and the obtained video data is transmitted to the remote terminal via the cloud server through the pin interface of the video stream filter.
3. The method according to claim 2, characterized in that After creating the video stream filter in the COM component, it also includes: Creating a configuration interface for the video stream filter; The configuration interface includes at least one of the following: A first configuration interface, used for receiving video format configuration information for the video stream filter, wherein the video format configuration information is used for configuring the format of video data supported by the video stream filter; The second configuration interface is used to receive video effect configuration information for the video stream filter, where the video effect configuration information is used to configure the display effect of the acquired video data.
4. The method according to claim 2, characterized in that: The created file includes a dynamic link library file or an execution file.
5. The method according to claim 1, characterized in that: The audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device; The step of creating a virtual acquisition device includes: Creating a virtual audio device based on the acquired driver file, wherein the virtual audio device is created with input and output control functions; The step of acquiring the audio and video data sent by the conference screen through the created virtual acquisition device, and transmitting the acquired audio and video data to the remote terminal through the cloud server, includes: Receiving audio data sent by the conference screen through the data channel; Calling the device input and output control interface to send the received audio data to the created virtual audio device; The received audio data is transmitted to the remote terminal via the cloud server through the created virtual audio device.
6. A data collection interactive device, characterized in that: Applied to a terminal, the terminal establishes a connection with a remote terminal through a cloud server, a local area network connection is established between the terminal and a conference screen, and an audio and video acquisition device is provided on the conference screen. The device comprises: A creating unit, used for creating a virtual acquisition device, wherein the virtual acquisition device includes a virtual audio acquisition device and / or a virtual video acquisition device; An establishing unit, used for establishing a data channel between the virtual acquisition device and the audio and video acquisition device set on the conference screen; The transmission unit is used to obtain the audio and video data sent by the conference screen through the created virtual acquisition device, and transmit the obtained audio and video data to the remote terminal through the cloud server.
7. The device according to claim 6, characterized in that The audio and video acquisition device is a video acquisition device, and the virtual acquisition device is a virtual video acquisition device; The creation unit comprises: An object creation module, used for creating a component object model (COM) component of the virtual video acquisition device based on the acquired creation file; A filter creation module, used for creating a video stream filter in the COM component; A generating module, used for generating a pin interface for the video stream filter, wherein the video stream filter obtains the video data in the shared memory by calling a read function; The transmission unit comprises: A first receiving module, used for receiving the video data sent by the conference screen through the data channel; A writing module, used for writing the received video data into the shared memory; A reading module, used for obtaining the written video data from the shared memory through a video stream filter; The first sending module is used to transmit the acquired video data to the remote terminal via the cloud server through the pin interface of the video stream filter.
8. The device according to claim 7, characterized in that The creation unit further includes: An interface creation module, used for creating a configuration interface for the video stream filter after creating the video stream filter in the COM component; The configuration interface includes at least one of the following: A first configuration interface, used for receiving video format configuration information for the video stream filter, wherein the video format configuration information is used for configuring the format of video data supported by the video stream filter; The second configuration interface is used to receive video effect configuration information for the video stream filter, where the video effect configuration information is used to configure the display effect of the acquired video data.
9. The device according to claim 7, characterized in that The created file includes a dynamic link library file or an execution file.
10. The device according to claim 6, characterized in that The audio and video acquisition device is an audio acquisition device, and the virtual acquisition device is a virtual audio device; The creation unit comprises: A device creation module, used to create a virtual audio device based on the acquired driver file, wherein the virtual audio device is created with input and output control functions; The transmission unit comprises: A second receiving module is used to receive the audio data sent by the conference screen through the data channel; An acquisition module is used to call a device input and output control function to send the received audio data to the created virtual audio device; The second sending module is used to transmit the received audio data to the remote terminal via the cloud server through the created virtual audio device.
11. An electronic device, characterized in that: The invention comprises a transceiver, a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps described in any one of claims 1 to 5.
12. A machine-readable storage medium, characterized in that: Machine executable instructions are stored, and when called and executed by a processor, the machine executable instructions prompt the processor to: implement the method steps described in any one of claims 1-5.
