WO2024055427A1 - 数据传输方法、系统、装置、电子设备及存储介质 - Google Patents

数据传输方法、系统、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024055427A1
WO2024055427A1 PCT/CN2022/133904 CN2022133904W WO2024055427A1 WO 2024055427 A1 WO2024055427 A1 WO 2024055427A1 CN 2022133904 W CN2022133904 W CN 2022133904W WO 2024055427 A1 WO2024055427 A1 WO 2024055427A1
Authority
WO
WIPO (PCT)
Prior art keywords
data transmission
application
transmission application
data
virtual camera
Prior art date
Application number
PCT/CN2022/133904
Other languages
English (en)
French (fr)
Inventor
梁道朝
何江山
Original Assignee
广州视源电子科技股份有限公司
广州视源创新科技有限公司
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 广州视源电子科技股份有限公司, 广州视源创新科技有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2024055427A1 publication Critical patent/WO2024055427A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Definitions

  • This application relates to the field of data transmission technology. More specifically, this application provides data transmission methods, systems, devices, electronic equipment and storage media.
  • the conference tablet is a display device with intelligent interactive functions.
  • the display function of the conference tablet is often used extensively during traditional video conferences. For example, the screen of a smartphone or laptop is projected onto the conference tablet for the convenience of users. Since the performance of the camera of the conference tablet is better than that of the terminal device carried by the user, calling the camera of the conference tablet through the terminal device is also a function frequently used by users. In the related art, calling the camera of the conference tablet through the terminal device requires the help of a data transmission application, and the data transmission application can be used to establish a connection between the terminal device and the conference tablet.
  • the user In the conventional solution, the user must first open the data transmission application, and then after establishing a connection between the terminal device and the conference tablet through the data transmission application, the user is required to open the conference application and set the video source to the option corresponding to the camera of the conference tablet.
  • the data transmission application is often not running or the connection between the terminal device and the conferencing tablet is not established. , causing the screen of the conference application to be black, causing great trouble to users.
  • this application provides a data transmission method, system, Devices, electronic equipment and storage media can achieve technical purposes such as automatically opening data transmission applications, establishing connections between terminal equipment and conference tablets, and providing images of conference applications.
  • this application provides a data transmission method, including:
  • the virtual camera driver In response to the selection operation of the virtual camera option of the conference application, the virtual camera driver sends a data request instruction to the service module;
  • the service module controls the startup of the first data transmission application; the conference application, the first data transmission application, the virtual camera driver and the service module run on the terminal device;
  • the first data transmission application sends a media data acquisition instruction to the second data transmission application; the second data transmission application obtains the first media collected by the camera of the target device based on the received media data acquisition instruction. data, and send the first media data to the first data transmission application;
  • the first media data is sent to the virtual camera driver through the first data transmission application, so as to display a picture corresponding to the first media data on the conference application.
  • the present application may also provide a data transmission method, including:
  • the first data transmission application sends a media data acquisition instruction to the second data transmission application; the second data transmission application obtains the first media collected by the camera of the target device based on the received media data acquisition instruction. data, and send the first media data to the first data transmission application;
  • the first media data is transmitted to the conference application through the first data transmission application, so that a screen corresponding to the first media data is displayed on the conference application.
  • this application can also provide a data transmission system, which includes a terminal device and a target device;
  • the terminal device runs a conference application, a first data transmission application, a virtual camera driver and a service module;
  • a second data transmission application is running on the target device
  • the virtual camera driver is used to respond to the selection operation of the virtual camera option of the conference application and send a data request instruction to the service module;
  • the service module is used to respond to the data request instruction and control the startup of the first data transmission application
  • the first data transmission application is configured to establish a communication connection between the terminal device and the target device by connecting with the second data transmission application;
  • the first data transmission application is also used to send media data acquisition instructions to the second data transmission application;
  • the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the received media data acquisition instruction, and is used to send the first media data to the first data transmission application;
  • the first data transmission application is also used to send the first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • this application can also provide a data transmission method, which is applied to the first data transmission application; the data transmission method includes:
  • the first data transmission application establishes a connection with the second data transmission application to establish a communication connection between the terminal device and the target device; wherein the first data transmission application is started after being controlled by a service module for responding to data request instructions.
  • the data request instruction is sent to the service module by the virtual camera driver used in response to the selection operation of the virtual camera option of the conference application, the conference application, the first data transmission application, the virtual camera driver and The service module runs on the terminal device, and the second data transmission application runs on the target device;
  • the first data transmission application sends a media data acquisition instruction to the second data transmission application; the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and The first media data is sent to the first data transmission application;
  • the first data transmission application sends the received first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • this application can also provide a data transmission method, including:
  • the first data transmission application establishes a connection with the second data transmission application to establish a communication connection between the terminal device and the target device; wherein the first data transmission application is started based on the selection operation of the virtual camera option of the conference application , the conference application and the first data transmission application run on the terminal device, and the second data transmission application runs on the target device;
  • the first data transmission application sends a media data acquisition instruction to the second data transmission application;
  • the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and send the first media data to the first data transmission application;
  • the first data transmission application transmits the received first media data to the conference application to display a screen corresponding to the first media data on the conference application.
  • this application can also provide a data transmission system, which includes a terminal device and a target device.
  • the terminal device runs a conference application and a first data transmission application
  • a second data transmission application is running on the target device
  • the first data transmission application is used to start according to the selection operation of the virtual camera option of the conference application
  • the first data transmission application is also configured to establish a communication connection between the terminal device and the target device by connecting with the second data transmission application;
  • the first data transmission application is also used to send media data acquisition instructions to the second data transmission application;
  • the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the received media data acquisition instruction, and is used to send the first media data to the first Data transmission applications;
  • the first data transmission application is also used to transmit the first media data to the conference application, so as to display a screen corresponding to the first media data on the conference application.
  • this application can also provide a data transmission device, including a conference application and a first data transmission application;
  • the first data transmission application is used to start according to the selection operation of the virtual camera option of the conference application
  • the first data transmission application is also used to establish a communication connection between the terminal device and the target device by connecting with the second data transmission application; the second data transmission application runs on the target device ;
  • the first data transmission application is also used to send a media data acquisition instruction to the second data transmission application; the second data transmission application is used to obtain the target based on the received media data acquisition instruction.
  • the first media data collected by the device's camera and used to send the first media data to the first data transmission application;
  • the first data transmission application is also used to transmit the first media data to the conference application, so as to display a screen corresponding to the first media data on the conference application.
  • this application can also provide a data transmission device, which is used in the first data transmission application; the data transmission device includes:
  • a connection establishment unit configured to establish a connection with a second data transmission application to establish a communication connection between the terminal device and the target device; wherein the first data transmission application is controlled by a service module for responding to data request instructions.
  • the data request instruction is sent to the service module by the virtual camera driver used to respond to the selection operation of the virtual camera option of the conference application, the conference application, the first data transmission application, the virtual camera driver And the service module runs on the terminal device, and the second data transmission application runs on the target device;
  • an instruction sending unit configured to send a media data acquisition instruction to the second data transmission application;
  • the second data transmission application is configured to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and sending the first media data to the first data transmission application;
  • a data receiving unit configured to receive the first data transmission application
  • a data sending unit configured to send the received first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • the present application can also provide an electronic device, including a memory and a processor.
  • the memory stores computer readable instructions.
  • the computer readable instructions When executed by the processor, the computer readable instructions cause the The processor executes the steps of the data transmission method described in any embodiment of this application.
  • the present application can also provide a storage medium storing computer-readable instructions.
  • the computer-readable instructions When the computer-readable instructions are executed by one or more processors, they cause the one or more processors to execute The steps of the data transmission method described in any embodiment of this application.
  • this application provides Convenient data transmission method. After the user opens the conference application and selects the virtual camera option, this application can automatically establish a communication connection between the terminal device and the target device, and automatically provide the conference application with the first step to form a video picture.
  • Media data avoids the problem that users often encounter in conventional solutions that the screen is black after opening the conferencing application. It can be seen that the technical solution provided by this application realizes the automatic calling of cameras across devices in video conferencing scenarios, simplifying user operations and significantly improving Users’ video conferencing experience has high user satisfaction.
  • this application can also make full use of the hardware performance advantages of the target device's camera, provide better video effects for users participating in video conferences, and significantly improve the utilization rate of the target device's camera.
  • Figure 1 shows a schematic flowchart of a data transmission method in one or more embodiments of the present application.
  • Figure 2 shows a schematic diagram of a data transmission system in one or more embodiments of the present application.
  • Figure 3 shows a schematic diagram of a conference application displayed on the screen of a terminal device in one or more embodiments of the present application.
  • Figure 4 shows a schematic flowchart of another data transmission method in one or more embodiments of the present application.
  • Figure 5 shows a schematic diagram of a data transmission device in one or more embodiments of the present application.
  • Figure 6 shows a schematic diagram of the internal structure of an electronic device in one or more embodiments of the present application.
  • the terminal device includes but is not limited to at least one of a laptop computer, a smart phone, a tablet computer, and a desktop computer.
  • the conference application is, for example, a conference software installed on the terminal device.
  • the first data transmission application It is also installed on the terminal device and has the device synchronization function or the shared peripheral function. Through this function, the data collected by the camera of the target device can be obtained.
  • Target devices include but are not limited to smart interactive tablets (for example: conference tablets in conference rooms) or other electronic devices with cameras, and may have built-in or external wide-angle, high-performance cameras; second data transmission application installation On the target device, it also has corresponding device synchronization function or shared peripheral function.
  • the terminal device and the target device can transmit and/or share data through the first data transmission application and the second data transmission application.
  • the terminal device conducts video conferencing through the conference application in the conference room
  • the terminal device due to factors such as the wide angle and/or image capture quality of the terminal device's own camera, it is sometimes necessary to call external devices through the screen sharing application installed on the terminal device.
  • the picture of the camera such as the picture collected by the camera of the conference tablet in the conference room.
  • the camera of the conference tablet has a wide angle and can capture the meeting scene of the entire conference room (for example: the expressions, actions, etc. of all participants, which need to be displayed during the meeting. items, etc.), and in most cases the camera of the conference tablet is often better than the camera of the user terminal device itself.
  • the screen sharing application establishes a connection with the screen sharing application corresponding to the conference tablet, and then obtains the camera picture of the conference tablet, and cannot pour the picture into the cache corresponding to the virtual camera.
  • the conference application cannot read from the cache corresponding to the virtual camera. corresponding data. It can be seen that in the above usage scenario, the existing operations do not conform to the user's usage habits, resulting in the black screen that often appears in the terminal conference application, which will cause trouble to the user and make the user's conference experience poor.
  • At least one embodiment of the present application provides a data transmission method to realize convenient transmission of media data.
  • the data transmission method includes but is not limited to the following steps: responding to the selection operation of the virtual camera option of the conference application, controlling the startup of the first data transmission application; running the conference application and the first data transmission application on the terminal device; through the first data transmission
  • the application connects with the second data transmission application to establish a communication connection between the terminal device and the target device; the second data transmission application runs on the target device; and sends media data acquisition instructions to the second data transmission application through the first data transmission application; Based on the received media data acquisition instruction, the second data transmission application obtains the first media data collected by the camera of the target device, and sends the first media data to the first data transmission application; through the first data transmission application, the first media
  • the data is transmitted to the conference application to display a picture corresponding to the first media data on the conference application.
  • the embodiment of the present application realizes that after the user opens the conference application and selects the virtual camera option, the first data transmission application is automatically controlled to start, and the communication between the terminal device and the target device is established through the first data transmission application and the second data transmission application. Communication connection, and provides the first media data used to form the video picture (that is, the data of the target device camera) for the conferencing application, avoiding the problem that users often encounter in conventional solutions when opening the conferencing application and selecting the virtual camera option and then the display screen is black The problem. It can be seen that the technical solution provided by the embodiments of this application realizes the automatic calling of cameras across devices in a video conferencing scenario, simplifies user operations, and significantly improves the user's video conferencing experience and user satisfaction. The embodiments of this application make full use of the hardware performance advantages of the camera of the target device to provide better video effects and conference effects for users participating in video conferences.
  • one or more embodiments of the present application can provide a data transmission method, which includes but is not limited to step S100 to step S500.
  • Step S100 In response to the selection operation of the virtual camera option of the conference application, the virtual camera driver sends a data request instruction to the service module.
  • the virtual camera driver in response to the selection operation of the virtual camera option of the conference application, sends a data request instruction to the service module, which may include: in response to the selection operation of the virtual camera option, the conference application sends a data request instruction to the virtual camera driver, and then The virtual camera driver forwards the data request instructions to the service module.
  • the service module in this embodiment refers to a system service installed on the terminal device with the installation of the first data transmission application.
  • the terminal device includes but is not limited to laptop computers, smart phones, tablet computers and desktop computers.
  • At least one of the conference applications is, for example, a conference software installed on the terminal device.
  • the virtual camera driver is also installed on the terminal device with the installation of the first data transmission application, such as a Virtual Camera driver, etc., which is not limited here.
  • the virtual camera driver and service module automatically run in the background, and the service module automatically establishes a connection with the virtual camera driver.
  • the virtual camera driver in the embodiment of the present application is located in the driver layer of the terminal device, and both the service module and the first data transmission application can connect to the virtual camera driver through the local port and local address (for example, 127.0.0.1) of the driver layer.
  • Step S200 in response to the data request instruction, the service module controls the start of the first data transmission application; the conference application, the first data transmission application, the virtual camera driver and the service module run on the terminal device.
  • the way in which the service module responds to the data request instruction in the embodiment of the present application may include: using ShellExecute (an application program interface function used to control the opening of external programs) to automatically open the first data transmission application, but is of course not limited to this.
  • ShellExecute an application program interface function used to control the opening of external programs
  • Step S300 establish a communication connection between the terminal device and the target device through the connection between the first data transmission application and the second data transmission application; the second data transmission application runs on the target device.
  • the communication connection between the terminal device and the target device can be established in the following manner: manually input the connection code in the interface of the first data transmission application, or You can select from the connectable devices displayed and searched on this interface. If there is only one connectable device, it can be connected automatically. If the device displayed on the interface has been connected in the history, the history can also be displayed at the same time. connection time; of course, there are other ways, but not limited to this.
  • the first data transmission application can obtain the address (IP, Internet Protocol, Internet Protocol) information and port (Port) information from the second data transmission application, so as to use the transmission control protocol based on the address information and port information.
  • the first data transmission application in the optional embodiment of the present application may be a data transmission application client (Client), and the second data transmission application may be a data transmission application server (Server).
  • the data transmission application may be a An application with device synchronization function or peripheral sharing function, including but not limited to screen sharing application.
  • Step S400 Send a media data acquisition instruction to a second data transmission application through the first data transmission application; based on the received media data acquisition instruction, the second data transmission application obtains the first media data collected by the camera of the target device, and transfers the first media data to the second data transmission application. A media data is sent to the first data transmission application.
  • sending media data acquisition instructions to the second data transmission application through the first data transmission application includes: after step S300, the first data transmission should automatically enable the device synchronization function or the function of sharing peripherals, and send the media data acquisition instruction to the second data transmission application.
  • the transport application sends media data acquisition instructions.
  • the second data transmission application can pop up a dialog window on the screen of the target device. Participants can choose to agree or reject the terminal device call through the consent option and/or the disagree option in the dialog window.
  • the target device's camera includes: after step S300, the first data transmission should automatically enable the device synchronization function or the function of sharing peripherals, and send the media data acquisition instruction to the second data transmission application.
  • the transport application sends media data acquisition instructions.
  • the second data transmission application can pop up a dialog window on the screen of the target device. Participants can choose to agree or reject the terminal device call through the consent option and/or the disagree option in the dialog window.
  • the target device's camera includes: after step S300, the first data transmission should automatically enable the device
  • the second data transmission application may send an instruction to collect the first media data to the camera of the target device based on the media data acquisition instruction, and the camera of the target device responds to the instruction by sending the first media data to
  • the second data transmission application performs compression and encoding and then sends the first media data to the first data transmission application.
  • the video data collected by the camera of the target device can be in RGB format, which is encoded by the second data transmission application and then compressed to obtain video data in H264 format.
  • the second data transmission application no longer performs the corresponding operation.
  • a default consent option is set in the second data transmission application configuration to allow the terminal device to call the camera of the target device by default.
  • Step S500 Send the first media data to the virtual camera driver through the first data transmission application to display a screen corresponding to the first media data on the conference application.
  • the first media data may be, for example, a data stream in the H264 (highly compressed digital video codec standard) format obtained after being encoded and compressed by the second data transmission application, and may be passed through FFmpeg (a video format conversion Functional multimedia video processing tool) method is used to decode the first media data to decode the H264 format data stream into a YUV (a format that can be used to record color images) format data stream.
  • FFmpeg a video format conversion Functional multimedia video processing tool
  • the decoding process may also include using libyuv ( A video format conversion tool) converts the YUV format data stream into the RGB24 (24-bit RGB) format data stream to obtain the decoded second media data.
  • the data can be converted according to the format requirements of video length, video width, and video size included in the data request instruction to obtain the second media data.
  • the second media data is stored in the storage space (Buffer, ie, the cache of the virtual camera driver) allocated in advance for the virtual camera module in the driver layer.
  • the conference application obtains the second media data from the Buffer, and uses the obtained The second media data forms a picture.
  • the first data transmission application and its device synchronization function or shared external interface can be automatically opened. function, and then establishes a communication connection with the second data transmission application of the target device to obtain the media data collected by the camera of the target device, so that the conference application can automatically call and display the media data collected by the camera of the external target device, avoiding the existing
  • the operation of the technology is complex and does not conform to user habits, and often causes the screen to be black after the user opens the meeting application and selects Sharing Camera, causing trouble and inconvenience to the user.
  • This application automatically controls the startup of the first data transmission application and its functions by responding to the Sharing Camera selection operation of the conference application, simplifying the user's manual operation.
  • the entire process is more in line with the user's usage habits and improves the user's video conferencing experience and satisfaction; in addition , and also significantly improves the utilization of the target device's camera.
  • the data transmission method further includes: the service module controls the first data transmission application to start, or before the first data transmission application receives the first media data, the service module sends Default picture to the virtual camera driver to display the screen corresponding to the default picture on the meeting application.
  • the virtual camera driver and the service module automatically run in the background, and the service module automatically establishes a connection with the virtual camera driver.
  • the virtual camera driver is located in the driver layer of the terminal device, and the service module can connect to the virtual camera driver through the local port and local address (for example, 127.0.0.1) of the driver layer.
  • the service module sends a verification data packet to the virtual camera driver; the verification data packet is verified through the virtual camera driver; if the verification passes, the virtual camera driver sends a first response instruction (an instruction indicating successful verification) to the service module; the first response The instruction indicates that the service module has the authority to write data to the virtual camera driver; if the verification fails, a second response instruction (instruction indicating that the verification failed) is sent to the service module through the virtual camera driver; the second response instruction indicates that the service module does not The permission for the virtual camera driver to write data.
  • the preset image is saved in the service module.
  • the service module writes the data of the preset image into the storage space (Buffer, that is, the cache of the virtual camera driver) allocated by the virtual camera module.
  • the conference application selects Sharing Camera.
  • the data of the preset picture can be obtained from the Buffer, and the obtained data of the preset picture can be used to form a picture.
  • the preset picture encoding may be, for example, a data stream in RGB24 (24-bit RGB) format, thereby forming a picture on the interface of the conference application.
  • the preset picture has text information used to guide the user's operation and/or graphical information used to guide the user's operation.
  • the text information may be a text introduction that guides the user to download and/or use the screen sharing application
  • the graphical information may be an operation schematic diagram that guides the user to download and/or use the screen sharing application.
  • the embodiment of the present application can guide the user to perform corresponding operations through preset pictures when the first media data is not successfully obtained.
  • the user can be informed to manually establish a terminal by inputting a PIN code (a connection code).
  • the connection between the device and the target device, and/or, the device synchronization function or the function of sharing peripherals of the first data transfer application (ie, the data transfer application client (Client)) interface, the device synchronization function or the function of sharing peripherals can be manually started.
  • the functions of the device include but are not limited to: the data transmission application client obtains the video data collected by the camera of the data transmission application server based on the above connection.
  • This embodiment improves the reliability of accessing the virtual camera driver based on the above method and ensures that the data written to the virtual camera driver is the media data to be used in the embodiment of this application.
  • the terminal device displays a black screen after selecting the Sharing Camera option on the conference application interface before obtaining the data collected by the target device's camera through the first data transmission application, thereby improving the user's conference experience and satisfaction. Spend.
  • the data transmission method further includes: when the first data transmission application receives the first media data, the first data transmission application sends a disconnection instruction to the service module; After the opening command, the service module responds to the disconnect command, specifically disconnecting the connection with the virtual camera driver to stop sending the preset pictures to the virtual camera driver, and then the first data transmission application sends the processed first media data to The virtual camera driver meets the needs of terminal device conferencing applications to use the camera of the target device.
  • the first data transmission application before sending the first media data to the virtual camera driver through the first data transmission application, it also includes: the first data transmission application establishes with the virtual camera driver through the local port and local address of the driver layer. Connect; then, send a verification data packet to the virtual camera driver through the first data transmission application; verify the verification data packet through the virtual camera driver; if the verification is passed, send a first response instruction to the first data transmission application through the virtual camera driver (Instruction indicating successful verification); the first response instruction indicates that the first data transmission application has the authority to write data to the virtual camera driver; if the verification fails, a second response instruction is issued to the first data transmission application through the virtual camera driver (Instruction indicating verification failure); the second response instruction indicates that the first data transmission application does not have the authority to write data to the virtual camera driver.
  • This embodiment can improve the reliability of accessing the virtual camera driver through the above method, prevent applications that fail verification from writing data to the virtual camera driver, and ensure that the data written to the virtual camera driver is the media to be used in
  • verifying the verification data packet through the virtual camera driver includes: parsing the verification data package through the virtual camera driver to parse out the process identification number (ID, Identity Document); verifying Whether the process identification number is the process identification number of the application layer on the terminal device, specifically determine whether the process identification number exists in the process list of the terminal device; if so, it is determined that the verification is passed, indicating that the first data transmission application is running on the terminal device application on the application layer; if not, it is determined that the verification has not passed, indicating that the first data transmission application is not an application running on the application layer of the terminal device.
  • the embodiments of the present application can also prevent non-application layer programs or applications from accessing the driver layer, thereby improving the security of the embodiments of the present application.
  • establishing a communication connection between the terminal device and the target device through the first data transmission application and the second data transmission application includes: if the number of target devices is one, through the first data transmission
  • the application connects with the second data transmission application on the current target device to establish a communication connection between the terminal device and the current target device; if there are multiple target devices, determine the connection to be made based on the user's selection operation or device connection history information.
  • the target device connects the first data transmission application with the second data transmission application on the target device to be connected, thereby establishing a communication connection between the terminal device and the target device to be connected. This embodiment determines the target device to be connected based on the device selection operation.
  • a list of all searched target devices is displayed, and in response to the user's device selection operation based on click or touch, the target device is determined.
  • the device selects the target device corresponding to the operation as the target device to be connected.
  • the method of searching for target devices in this embodiment includes searching for target devices in the current local area network based on the Simple Service Discovery Protocol (SSDP, Simple Service Discovery Protocol), and adding the searched target devices to the list.
  • SSDP Simple Service Discovery Protocol
  • Simple Service Discovery Protocol Simple Service Discovery Protocol
  • the embodiments of the present application can meet the user's need to quickly connect to the target device based on the above solution, meet the user's need to call the camera of the required target device, and improve user satisfaction.
  • the embodiment of the present application not only significantly improves the user's operating efficiency, but also provides the user with multiple target devices to choose from.
  • the user only needs to log in to the account of the conference application on the terminal device, without the need to log in to the conference application on the target device.
  • the camera of the target device can be used with an account, which improves the account security of the conferencing application and improves the user experience.
  • the conference application can have a device setting option (the Select settings, combined with the video settings of the embodiment of the present application, you can select the corresponding virtual camera in the camera options (including virtual camera options). After clicking this option, the first data transmission application and device synchronization function will be automatically opened. Successfully After obtaining the data of the target device camera, it is written into the storage space (Buffer, that is, the cache of the virtual camera driver) allocated by the virtual camera module. At this time, the video picture displayed by the conference application is the picture corresponding to the virtual camera module; this example is a certain The interface diagram of the conference application is of course not limited to this.
  • one or more embodiments of the present application can also provide a data transmission system, which includes a terminal device and a target device.
  • the terminal device runs a conference application, a first data transmission application, a virtual camera driver and a service module.
  • a second data transmission application is running.
  • the virtual camera driver is used to respond to the selection operation of the virtual camera option of the conference application and send data request instructions to the service module.
  • the service module is used to respond to the data request instruction and control the startup of the first data transmission application.
  • the first data transmission application is used to establish a communication connection between the terminal device and the target device by connecting with the second data transmission application.
  • the first data transmission application is also used to send media data acquisition instructions to the second data transmission application.
  • the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the received media data acquisition instruction, and is used to send the first media data to the first data transmission application.
  • the first data transmission application is also used to send the first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • the service module is also used to send a preset picture to the virtual camera driver through the service module before the first data transmission application is started or before the first data transmission application receives the first media data, so as to display it on the conference application.
  • the screen corresponding to the default picture.
  • the first data transmission application is used to send a disconnection instruction to the service module when the first data transmission application receives the first media data; the service module is used to respond to the disconnection instruction, specifically for disconnection.
  • the connection with the virtual camera driver is to stop sending the preset picture to the virtual camera driver, and then the first data transmission application sends the first media data to the virtual camera driver.
  • the first data transmission application may process the first media data to obtain the second media data, and send the second media data to the virtual camera driver.
  • the first media data in the embodiment of the present application is, for example, a data stream in H264 (highly compressed digital video codec standard) format.
  • the first data transmission application can use FFmpeg (a multimedia program with video format conversion function).
  • the first media data is decoded using a video processing tool) to decode the H264 format data stream into a YUV (a format that can be used to record color images) format data stream.
  • the decoding process may also include using libyuv (a video processing tool).
  • Format conversion tool converts the YUV format data stream into an RGB24 (24-bit RGB) format data stream to obtain the decoded second media data.
  • the video data collected by the camera of the target device may be in RGB format, and the video data in H264 format, that is, the first media data, is obtained after format conversion of the target device.
  • the first data transmission application decodes the first media data
  • the data may be converted according to the format requirements of video length, video width, and video size included in the data request instruction to obtain the second media data.
  • the preset picture has text information used to guide the user's operation and/or graphical information used to guide the user's operation.
  • the first data transmission application is used to send the verification data packet to the virtual camera driver; the virtual camera driver is used to verify the verification data packet; the virtual camera driver is used to send the verification data packet to the first data transmission application according to the verification pass.
  • the first response instruction; the first response instruction indicates that the first data transmission application has the authority to write data to the virtual camera driver; the virtual camera driver is used to issue a second response instruction to the first data transmission application based on the verification failure; the second The response instruction indicates that the first data transmission application does not have the authority to write data to the virtual camera driver.
  • the virtual camera driver is used to parse the verification data packet to parse out the process identification number; the virtual camera driver is used to verify whether the process identification number is the process identification number of the application layer on the terminal device. If so, Then it is determined that the verification is passed; if not, it is determined that the verification is not passed.
  • the first data transmission application is used to connect with the second data transmission application on the current target device based on the number of target devices being one, and establish a communication connection between the terminal device and the current target device; the first data The transmission application is used to determine the target device to be connected based on the number of target devices, based on the device selection operation or device connection history information, and to connect with the second data transmission application on the target device to be connected through the first data transmission application, Establish a communication connection between the terminal device and the target device to be connected.
  • the terminal device includes at least one of a notebook computer, a smart phone, a tablet computer, and a desktop computer; the target device includes an intelligent interactive tablet or an electronic device with a camera.
  • one or more embodiments of the present application can also provide a data transmission method, which is applied to the first data transmission application.
  • the data transmission method includes but is not limited to step S110 to step S310.
  • Step S110 the first data transmission application establishes a connection with the second data transmission application to establish a communication connection between the terminal device and the target device; wherein, the first data transmission application is controlled by the service module used to respond to the data request instruction.
  • the data request instruction is sent to the service module by the virtual camera driver used to respond to the selection operation of the virtual camera option of the conference application, the conference application, the first data transmission application, the virtual camera driver and the service module run on the terminal device, the first The second data transfer application runs on the target device.
  • Step S210 the first data transmission application sends a media data acquisition instruction to the second data transmission application; the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and send the first media data to the first data transmission application.
  • Step S310 The first data transmission application sends the received first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • the service module controls the first data transmission application to send the preset picture to the virtual camera driver through the service module for display on the conference application before the first data transmission application receives the first media data.
  • the data transmission method also includes: when the first data transmission application receives the first media data, the first data transmission application sends a disconnection instruction to the service module; the service module responds to the disconnection instruction and disconnects from the virtual camera The connection of the driver is to stop sending the preset picture to the virtual camera driver, and then the first data transmission application sends the first media data to the virtual camera driver.
  • the first data transmission application may process the first media data to obtain the second media data, and send the second media data to the virtual camera driver.
  • the first media data in the embodiment of the present application is, for example, a data stream in H264 (highly compressed digital video codec standard) format.
  • the first data transmission application can use FFmpeg (a multimedia program with video format conversion function).
  • the first media data is decoded using a video processing tool) to decode the H264 format data stream into a YUV (a format that can be used to record color images) format data stream.
  • the decoding process may also include using libyuv (a video processing tool).
  • Format conversion tool converts the YUV format data stream into an RGB24 (24-bit RGB) format data stream to obtain the decoded second media data.
  • the video data collected by the camera of the target device may be in RGB format, and after format conversion of the target device, video data in H264 format, that is, first media data, is obtained.
  • the first data transmission application decodes the first media data
  • the data may be converted according to the format requirements of video length, video width, and video size included in the data request instruction to obtain the second media data.
  • the preset picture has text information used to guide the user's operation and/or graphical information used to guide the user's operation.
  • the method before sending the first media data to the virtual camera driver through the first data transmission application, the method further includes: sending a verification data packet to the virtual camera driver through the first data transmission application; and verifying the verification data packet through the virtual camera driver; If the verification is passed, the first response instruction is sent to the first data transmission application through the virtual camera driver; the first response instruction indicates that the first data transmission application has the permission to write data to the virtual camera driver; if the verification is not passed, the first response instruction is issued through the virtual camera driver.
  • the camera driver sends a second response instruction to the first data transmission application; the second response instruction indicates that the first data transmission application does not have the authority to write data to the virtual camera driver.
  • verify the verification data packet through the virtual camera driver including: parsing the verification data packet through the virtual camera driver to parse out the process identification number; verifying whether the process identification number is an application layer process on the terminal device Identification number, if yes, it is determined that the verification has passed; if not, it is determined that the verification has not passed.
  • establishing a communication connection between the terminal device and the target device through the first data transmission application and the second data transmission application including: if the number of target devices is one, through the first data transmission application and the current target device
  • the second data transmission application connection on the device establishes a communication connection between the terminal device and the current target device; if there are multiple target devices, the target device to be connected is determined based on the device selection operation or device connection history information, and the target device to be connected is determined through the first
  • the data transmission application connects with the second data transmission application on the target device to be connected, and establishes a communication connection between the terminal device and the target device to be connected.
  • At least one embodiment of the present application can also provide a data transmission method, and the execution subject of the data transmission method may be a terminal device.
  • the data transmission method includes: a first data transmission application establishing a connection with a second data transmission application to establish a communication connection between the terminal device and the target device; wherein the first data transmission application is based on the selection of the virtual camera option of the conference application Started by operation, the conference application and the first data transmission application run on the terminal device, and the second data transmission application runs on the target device; the first data transmission application sends a media data acquisition instruction to the second data transmission application; the second data transmission application The application is used to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and send the first media data to the first data transmission application; the first data transmission application transmits the received first media data to A conference application is used to display a screen corresponding to the first media data on the conference application.
  • the embodiment of the present application can also provide a data transmission system.
  • the data transmission system includes a terminal device and a target device.
  • a conference application and a first data transmission application are run.
  • a second data transmission application is running.
  • the first data transmission application is used to start according to the selection operation of the virtual camera option of the conference application.
  • a virtual camera driver and a service module are run on the terminal device.
  • the virtual camera driver in this embodiment is used to respond to the selection operation of the virtual camera option of the conference application and send a data request instruction to the service module; the service module Used to respond to the data request instruction and control the startup of the first data transmission application.
  • the first data transmission application is also used to establish a communication connection between the terminal device and the target device by connecting with the second data transmission application.
  • the first data transmission application is also used to send media data acquisition instructions to the second data transmission application.
  • the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the received media data acquisition instruction, and is used to send the first media data to the first data transmission application.
  • the first data transmission application is also used to transmit the first media data to the conference application, so as to display the screen corresponding to the first media data on the conference application.
  • the first data transmission application is also used to send the first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • the data transmission device includes a conference application and a first data transmission application; the first data transmission application is used to start according to the selection operation of the virtual camera option of the conference application; the first data transmission application is also used to communicate with the second data transmission Application connection establishes a communication connection between the terminal device and the target device; the second data transmission application runs on the target device; the first data transmission application is also used to send media data acquisition instructions to the second data transmission application; the second data The transmission application is used to obtain the first media data collected by the camera of the target device based on the received media data acquisition instruction, and is used to send the first media data to the first data transmission application; the first data transmission application is also used to The first media data is transmitted to the conference application to display a screen corresponding to the first media data on the conference application.
  • one or more embodiments of the present application can also provide a data transmission device.
  • the data transmission device is used in a first data transmission application.
  • the data transmission device includes but is not limited to a connection establishment unit, an instruction sending unit, a data receiving unit and a data sending unit.
  • connection establishment unit for establishing a connection with a second data transmission application to establish a communication connection between the terminal device and the target device; wherein the first data transmission application is started after being controlled by a service module for responding to data request instructions, The data request instruction is sent to the service module by the virtual camera driver in response to the selection operation of the virtual camera option of the conference application.
  • the conference application, the first data transmission application, the virtual camera driver and the service module run on the terminal device, and the second data The transfer application runs on the target device.
  • the instruction sending unit is used to send a media data acquisition instruction to the second data transmission application; the second data transmission application is used to obtain the first media data collected by the camera of the target device based on the media data acquisition instruction, and send the first media data to the first data transfer application.
  • a data receiving unit is used to receive the first data transmission application.
  • a data sending unit is configured to send the received first media data to the virtual camera driver to display a picture corresponding to the first media data on the conference application.
  • the service module is also used to send a preset picture to the virtual camera driver through the service module before the first data transmission application is started or before the first data transmission application receives the first media data, so as to display it on the conference application.
  • the screen corresponding to the default picture.
  • the first data transmission application is used to send a disconnection instruction to the service module when the first data transmission application receives the first media data; the service module is used to respond to the disconnection instruction, specifically for disconnection. Connection to the virtual camera driver to stop sending preset pictures to the virtual camera driver.
  • the preset picture has text information used to guide the user's operation and/or graphical information used to guide the user's operation.
  • the first data transmission application is used to send the verification data packet to the virtual camera driver; the virtual camera driver is used to verify the verification data packet; the virtual camera driver is used to send the verification data packet to the first data transmission application according to the verification pass.
  • the first response instruction; the first response instruction indicates that the first data transmission application has the authority to write data to the virtual camera driver; the virtual camera driver is used to issue a second response instruction to the first data transmission application based on the verification failure; the second The response instruction indicates that the first data transmission application does not have the authority to write data to the virtual camera driver.
  • the virtual camera driver is used to parse the verification data packet to parse out the process identification number; the virtual camera driver is used to verify whether the process identification number is the process identification number of the application layer on the terminal device. If so, Then it is determined that the verification is passed; if not, it is determined that the verification is not passed.
  • the first data transmission application is used to connect with the second data transmission application on the current target device based on the number of target devices being one, and establish a communication connection between the terminal device and the current target device; the first data The transmission application is used to determine the target device to be connected based on the number of target devices, based on the device selection operation or device connection history information, and to connect with the second data transmission application on the target device to be connected through the first data transmission application, Establish a communication connection between the terminal device and the target device to be connected.
  • the terminal device includes at least one of a notebook computer, a smart phone, a tablet computer, and a desktop computer; the target device includes an intelligent interactive tablet or an electronic device with a camera.
  • the embodiment of the present application can automatically establish a communication connection between the terminal device and the target device, and automatically provide the conference application with the first media for forming a video picture.
  • the data avoids the problem that users often encounter in conventional solutions that the screen is black after opening the conferencing application.
  • the technical solution provided by the embodiment of the present application realizes the automatic calling of cameras across devices in video conferencing scenarios, improving the user's video conferencing experience. , user satisfaction is higher.
  • the embodiments of the present application can also make full use of the hardware performance advantages of the camera on the target device, provide better video effects for users participating in the video conference, and significantly improve the utilization rate of the camera on the target device.
  • one or more embodiments of the present application can also provide an electronic device.
  • the electronic device includes a memory and a processor.
  • Computer-readable instructions are stored, and when executed by the processor, the computer-readable instructions cause the processor to perform the steps of the data transmission method in any embodiment of the present application.
  • the detailed implementation process of the data transmission method involved in the embodiments of the present application has been described in detail in this specification and will not be described again here.
  • one or more embodiments of the present application can also provide a storage medium storing computer-readable instructions, which is computer-readable. When executed by one or more processors, the instructions cause the one or more processors to execute the steps of the data transmission method in any embodiment of the present application.
  • the detailed implementation process of the data transmission method involved in the embodiment of the present application has been recorded in detail in this specification and will not be described again here.
  • a "computer-readable storage medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Non-exhaustive list of computer-readable storage media include the following: electrical connections with one or more wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM, Random Access Memory), read-only memory (ROM, Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory, or flash memory), fiber optic devices, and portable optical disk read-only memory (CDROM, Compact Disc Read-Only Memory).
  • the computer-readable storage medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise used as necessary. Processing is performed in a suitable manner to obtain the program electronically and then to store it in computer memory.
  • various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal.
  • Discrete logic circuits application-specific integrated circuits with appropriate combinational logic gates, programmable gate arrays (PGA, Programmable Gate Array), field programmable gate arrays (FPGA, Field Programmable Gate Array), etc.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features.
  • “plurality” means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请提供了数据传输方法、系统、装置、电子设备及存储介质。该方法包括:响应虚拟摄像头选项的选择操作,虚拟摄像头驱动发送请求指令至服务模块;服务模块启动第一数据传输应用,建立终端设备与目标设备之间的通信连接;通过第一数据传输应用向第二数据传输应用发送获取指令;第二数据传输应用基于获取指令获取目标设备的摄像头采集的第一媒体数据,并发送至第一数据传输应用;第一数据传输应用发送第一媒体数据至虚拟摄像头驱动。该方法实现了跨设备调用摄像头。

Description

数据传输方法、系统、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求在2022年09月13日提交中国专利局、申请号为202211110028.1、发明名称为“一种数据传输方法、系统、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及数据传输技术领域,更为具体地,本申请提供了数据传输方法、系统、装置、电子设备及存储介质。
背景技术
会议平板是一种具有智能交互功能的显示设备,传统的视频会议召开过程中经常大量使用会议平板的显示功能,例如将智能手机或笔记本电脑的画面投屏至会议平板上,以便于用户观看。由于会议平板的摄像头性能上要优于用户携带的终端设备,所以通过终端设备对会议平板的摄像头的调用也是用户经常使用的功能。相关技术中通过终端设备调用会议平板的摄像头需要借助于数据传输应用,数据传输应用能够用于建立终端设备与会议平板之间的连接。常规方案中要求用户必须先打开数据传输应用,再通过数据传输应用建立终端设备与会议平板的连接后,要求用户打开会议应用以及将视频源设置为与会议平板的摄像头对应的选项。但是,在实施上述方案的过程中发现:按照绝大多数用户的会议应用使用习惯,用户会直接打开会议应用,然而此时数据传输应用往往没有运行或没有建立终端设备与会议平板之间的连接,导致会议应用的画面是黑色的,给用户带来极大的困扰。
发明内容
为解决现有技术存在的由于数据传输应用往往没有运行或没有建立终端设备与会议平板之间的连接导致的打开后的会议应用的画面是黑色的问题,本申请提供了数据传输方法、系统、装置、电子设备及存储介质,达到自动打开数据传输应用、建立终端设备与会议平板之间的连接以及提供会议应用的画面等技术目的。
为实现上述的技术目的,本申请提供了一种数据传输方法,包括:
响应对会议应用的虚拟摄像头选项的选择操作,虚拟摄像头驱动发送数据请求指令至服务模块;
响应所述数据请求指令,所述服务模块控制第一数据传输应用启动;所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上;
通过所述第一数据传输应用与第二数据传输应用连接,建立所述终端设备与目标设备之间的通信连接;所述第二数据传输应用运行于所述目标设备上;
通过所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
通过所述第一数据传输应用发送所述第一媒体数据至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还可提供一种数据传输方法,包括:
响应对会议应用的虚拟摄像头选项的选择操作,控制第一数据传输应用启动;所述会议应用和所述第一数据传输应用运行于终端设备上;
通过所述第一数据传输应用与第二数据传输应用连接,建立所述终端设备与目标设备之间的通信连接;所述第二数据传输应用运行于所述目标设备上;
通过所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
通过所述第一数据传输应用将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输系统,所述数据传输系统包括终端设备和目标设备;
所述终端设备上,运行有会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块;
所述目标设备上,运行有第二数据传输应用;
所述虚拟摄像头驱动,用于响应对所述会议应用的虚拟摄像头选项的选择操作,发送数据请求指令至所述服务模块;
所述服务模块,用于响应所述数据请求指令,控制所述第一数据传输应用启动;
所述第一数据传输应用,用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;
所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;
所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
所述第一数据传输应用,还用于发送所述第一媒体数据至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输方法,所述数据传输方法应用于第一数据传输应用;所述数据传输方法包括:
第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用由用于响应数据请求指令的服务模块控制后启动,所述数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至所述服务模块,所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
第一数据传输应用将接收到的所述第一媒体数据发送至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输方法,包括:
第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用基于对会议应用的虚拟摄像头选项的选择操作而启动,所述会议应用和所述第一数据传输应用运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
所述第一数据传输应用将接收到的所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输系统,所述数据传输系统包括终 端设备和目标设备。
所述终端设备上,运行有会议应用和第一数据传输应用;
所述目标设备上,运行有第二数据传输应用;
所述第一数据传输应用,用于根据对所述会议应用的虚拟摄像头选项的选择操作而启动;
所述第一数据传输应用,还用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;
所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;
所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取所述目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
所述第一数据传输应用,还用于将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输装置,包括会议应用和第一数据传输应用;
所述第一数据传输应用,用于根据对所述会议应用的虚拟摄像头选项的选择操作而启动;
所述第一数据传输应用,还用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;所述第二数据传输应用运行于目标设备上;
所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取所述目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
所述第一数据传输应用,还用于将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种数据传输装置,所述数据传输装置应用于第一数据传输应用;所述数据传输装置包括:
连接建立单元,用于建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用由用于响应数据请求指令的服务模块控制后启动,所述数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至所述服务模块,所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
指令发送单元,用于向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
数据接收单元,用于接收所述第一数据传输应用;
数据发送单元,用于将接收到的所述第一媒体数据发送至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
为实现上述的技术目的,本申请还能够提供一种电子设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行本申请任一实施例中所述数据传输方法的步骤。
为实现上述的技术目的,本申请还能够提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行本申请任一实施例中所述数据传输方法的步骤。
本申请的有益效果包括:相比于常规摄像头调用方案中要求用户必须先打开数据传输应用、手动建立终端设备与平板之间的连接之后才可以使会议应用有视频画面的问题,本申请提供了便捷的数据传输方法,在用户打开会议应用和选择虚拟摄像头选项后,本申请能够自动地建立终端设备与目标设备之间的通信连接,并自动地为会议应用提供用于形成视频画面的第一媒体 数据,避免了常规方案中用户经常遇到打开会议应用之后画面是黑色的问题,可见本申请提供的技术方案实现了在视频会议场景中自动跨设备自动调用摄像头,简化了用户操作,明显提升用户的视频会议体验,用户满意度较高。另外,本申请还能够充分利用目标设备的摄像头在硬件性能上的优势,为参加视频会议的用户提供更好的视频效果,明显提高了目标设备的摄像头的利用率。
附图说明
图1示出了本申请一个或多个实施例中的一种数据传输方法的流程示意图。
图2示出了本申请一个或多个实施例中的一种数据传输系统组成的示意图。
图3示出了本申请一个或多个实施例中的终端设备屏幕显示的会议应用的示意图。
图4示出了本申请一个或多个实施例中另一种数据传输方法的流程示意图。
图5示出了本申请一个或多个实施例中的一种数据传输装置组成的示意图。
图6示出了本申请一个或多个实施例中的电子设备内部结构组成的示意图。
具体实施方式
下面结合说明书附图对本申请实施例所提供的数据传输方法、系统、装置、电子设备及存储介质进行详细的解释和说明。
在本申请实施例中,终端设备包括但不限于笔记本电脑、智能手机、平板电脑以及台式电脑中的至少一种,会议应用例如为一种安装于终端设备上的会议软件,第一数据传输应用也安装于终端设备上,具有设备同步功能或共享外设功能,通过该功能可以获取目标设备的摄像头采集的数据。目标设备包括但不限于智能交互平板(例如:会议室中的会议平板)或者其他具有摄像头的电子设备,并可具有内设或外设的大广角、高性能的摄像头;第二数据传输应用安装于目标设备上,也具有相应的设备同步功能或共享外设功能。终端设备和目标设备,可通过第一数据传输应用和第二数据传输应用进行数据的传输和/或共享。
在会议室中终端设备通过会议应用进行视频会议的场景下,由于受终端设备自身摄像头的广角和/或采集画质等因素的影响,有时需要通过终端设备上安装的传屏应用来调用外部设备摄像头的画面,例如会议室中会议平板的摄像头采集的画面,一般会议平板的摄像头广角大,可以采集整个会议室的会议场景(例如:所有参会人员的表情、动作等,会议过程中需要展示的物品等),而且大部分情况下会议平板的摄像头往往比用户终端设备自身摄像头的性能更加优越。
现有技术中,在上述会议场景下,终端设备的用户出于习惯,往往首先想到的是打开会议应用,而非打开传屏应用。故,此时即使用户在会议应用的界面,对照相机功能进行设置选择:虚拟摄像头(也可为:Sharing Camera,即传屏应用的虚拟摄像头,此处可参见图3),由于虚拟摄像头对应的缓存中没有被灌入数据,此时会议应用显示的是黑色画面。这正是由于用户习惯在开会前先去打开会议应用进行选择,而非先手动打开终端设备上的传屏应用并启动其上的设备同步功能或共享外设功能,这就导致无法通过终端设备的传屏应用与会议平板端对应的传屏应用建立连接,进而获取会议平板端的摄像头画面,也无法将该画面灌入虚拟摄像头对应的缓存中,会议应用无法从虚拟摄像头对应的缓存中读取相应的数据。可见,在上述使用场景下,现有的操作并不符合用户的使用习惯,导致终端会议应用常常出现的黑色画面会给用户带来困扰,使得用户会议的体验感差。
基于现有技术中存在的技术问题,提出本申请实施例的方案。
本申请至少一个实施例提供了一种数据传输方法,实现媒体数据的便捷传输。数据传输方法包括但不限于如下的步骤:响应对会议应用的虚拟摄像头选项的选择操作,控制第一数据传输应用启动;会议应用和第一数据传输应用运行于终端设备上;通过第一数据传输应用与第二 数据传输应用连接,建立终端设备与目标设备之间的通信连接;第二数据传输应用运行于目标设备上;通过第一数据传输应用向第二数据传输应用发送媒体数据获取指令;第二数据传输应用基于接收到的媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将第一媒体数据发送至第一数据传输应用;通过第一数据传输应用将第一媒体数据传输至会议应用,以在会议应用上显示与第一媒体数据对应的画面。可见本申请实施例实现了在用户打开会议应用和选择虚拟摄像头选项后,自动控制第一数据传输应用启动,通过第一数据传输应用与第二数据传输应用,建立终端设备与目标设备之间的通信连接,并为会议应用提供用于形成视频画面的第一媒体数据(即目标设备摄像头的数据),避免了常规方案中用户经常遇到的打开会议应用并选择虚拟摄像头选项之后显示画面是黑色的问题。可见本申请实施例提供的技术方案实现了在视频会议场景中自动跨设备调用摄像头,简化了用户操作,明显提升用户的视频会议体验和用户满意度。本申请实施例充分利用了目标设备的摄像头在硬件性能上的优势,为参加视频会议的用户提供更好的视频效果和会议效果等。
如图1所示,本申请一个或多个实施例能够提供一种数据传输方法,该数据传输方法包括但不限于步骤S100至步骤S500。
步骤S100,响应对会议应用的虚拟摄像头选项的选择操作,虚拟摄像头驱动发送数据请求指令至服务模块。
具体地,响应对会议应用的虚拟摄像头选项的选择操作,虚拟摄像头驱动发送数据请求指令至服务模块,可包括:会议应用响应虚拟摄像头选项的选择操作,则向虚拟摄像头驱动发送数据请求指令,然后虚拟摄像头驱动转发数据请求指令至服务模块。其中,本实施例中的服务模块是指一种随着第一数据传输应用的安装而安装于终端设备上的系统服务,终端设备包括但不限于笔记本电脑、智能手机、平板电脑以及台式电脑中的至少一种,会议应用例如为一种安装于终端设备上的会议软件。其中,虚拟摄像头驱动也是随着第一数据传输应用的安装而安装于终端设备上的,例如为Virtual Camera驱动程序等,具体在此不做限定。随着终端设备启动运行,虚拟摄像头驱动和服务模块均在后台自动运行,且服务模块自动与虚拟摄像头驱动建立连接。本申请实施例中的虚拟摄像头驱动位于终端设备的驱动层,则服务模块和第一数据传输应用均可通过驱动层的本地端口和本地地址(例如127.0.0.1)与虚拟摄像头驱动连接。
步骤S200,响应数据请求指令,服务模块控制第一数据传输应用启动;会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块运行于终端设备上。
具体地,本申请实施例服务模块响应数据请求指令的方式可包括:利用ShellExecute(一种用于控制外部程序打开的应用程序接口函数)自动打开第一数据传输应用,当然并不限于此。
步骤S300,通过第一数据传输应用与第二数据传输应用的连接,建立终端设备与目标设备之间的通信连接;第二数据传输应用运行于目标设备上。
具体地,通过第一数据传输应用与第二数据传输应用的连接,建立终端设备与目标设备之间的通信连接,可以采用以下方式:在第一数据传输应用的界面中手动输入连接码,也可从该界面所显示并搜索到的可连接的设备中进行选择,若只有一个可连接设备,也可自动进行连接;若界面显示的设备在历史记录中连接过,则还可同时显示历史上的连接时间;当然还可有其他方式,并不限于此。通过上述方式,第一数据传输应用可向第二数据传输应用获取地址(IP,Internet Protocol,网际互连协议)信息和端口(Port)信息,以基于该地址信息和端口信息,通过传输控制协议(TCP,Transmission Control Protocol)方式建立终端设备与目标设备之间的通信连接。其中,本申请可选实施例中的第一数据传输应用可以是数据传输应用客户端(Client),第二数据传输应用可以是数据传输应用服务端(Server),该数据传输应用:可以是一种具有设备同步功能或共享外设功能的应用,包括但不限于传屏应用。
步骤S400,通过第一数据传输应用向第二数据传输应用发送媒体数据获取指令;第二数据传输应用基于接收到的媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将 第一媒体数据发送至第一数据传输应用。
具体地,通过第一数据传输应用向第二数据传输应用发送媒体数据获取指令,包括:在步骤S300后,第一数据传输应自动开启设备同步功能或共享外设的功能,并向第二数据传输应用发送媒体数据获取指令。第二数据传输应用响应于接收到的媒体数据获取指令,可以在目标设备的屏幕上弹出对话窗,与会者可通过对话窗中的同意选项和/或不同意选项,选择同意或拒绝终端设备调用目标设备的摄像头。其中,响应用户对同意选项的操作,第二数据传输应用基于媒体数据获取指令,可向目标设备的摄像头发送采集第一媒体数据的指令,目标设备的摄像头响应该指令将第一媒体数据发送给第二数据传输应用,第二数据传输应用进行压缩及编码后将第一媒体数据发送至第一数据传输应用。可选的,目标设备的摄像头采集的视频数据可以为RGB格式,经过第二数据传输应用进行编码后压缩得到H264格式的视频数据。反之,响应用户对不同意选项的操作,第二数据传输应用不再执行相应的操作。此外,本申请可选的实施例中在第二数据传输应用配置中设置默认同意选项,以默认允许终端设备调用目标设备的摄像头。
步骤S500,通过第一数据传输应用发送第一媒体数据至虚拟摄像头驱动,以在会议应用上显示与第一媒体数据对应的画面。
具体地,第一媒体数据,例如可为经第二数据传输应用进行编码后压缩得到的H264(高度压缩数字视频编解码器标准)格式的数据流,并可以通过FFmpeg(一种具有视频格式转换功能的多媒体视频处理工具)方式对第一媒体数据进行解码,以将H264格式的数据流解码为YUV(一种可用于记录彩色图像的格式)格式的数据流,解码过程还可包括通过libyuv(一种视频格式转换工具)将YUV格式的数据流转换为RGB24(24位RGB)格式的数据流,以得到解码后的第二媒体数据。其中,本实施例第一数据传输应用对第一媒体数据进行解码过程中,可按照数据请求指令中包含的视频长度、视频宽度、视频大小的格式要求进行数据转换,以得到第二媒体数据。本申请实施例将第二媒体数据存储于驱动层中预先为虚拟摄像头模块分配的存储空间(Buffer,即虚拟摄像头驱动的缓存),会议应用从Buffer中获取第二媒体数据,以及利用获取到的第二媒体数据形成画面。
综上,本申请的实施例,在用户在终端设备打开会议应用并选择虚拟摄像头选项后,在摄像头驱动和服务模块的支持下,能够自动开启第一数据传输应用及其设备同步功能或共享外设功能,进而与目标设备的第二数据传输应用建立通信连接,以获取目标设备的摄像头采集的媒体数据,使得会议应用能够自动调用并显示外部目标设备的摄像头采集的媒体数据,避免了现有技术中操作复杂,不符合用户习惯,且往往导致用户打开会议应用并选择Sharing Camera之后画面是黑色,给用户带来困扰和不便的问题。本申请通过响应会议应用的Sharing Camera选择操作,自动控制第一数据传输应用及其功能的启动,简化了用户手动操作,整个流程更加符合用户使用习惯,提升了用户视频会议体验和满意度;此外,还明显提高了目标设备的摄像头的利用率。
在本申请一个或多个实施例中,该数据传输方法还包括:服务模块控制第一数据传输应用启动之前,或者,在第一数据传输应用接收到第一媒体数据之前,则通过服务模块发送预设图片至虚拟摄像头驱动,以在会议应用上显示与预设图片对应的画面。
具体地,随着终端设备启动运行,虚拟摄像头驱动和服务模块均在后台自动运行,且服务模块自动与虚拟摄像头驱动建立连接。其中,虚拟摄像头驱动位于终端设备的驱动层,则服务模块可通过驱动层的本地端口和本地地址(例如127.0.0.1)与虚拟摄像头驱动连接。然后,服务模块向虚拟摄像头驱动发送验证数据包;通过虚拟摄像头驱动对验证数据包进行验证;如果验证通过,虚拟摄像头驱动向服务模块发出第一应答指令(表明验证成功的指令);第一应答指令表示服务模块具有向虚拟摄像头驱动写入数据的权限;如果验证未通过,则通过虚拟摄像头驱动向服务模块发出第二应答指令(表明验证失败的指令);第二应答指令表示服务模块没有向虚拟摄像头驱动写入数据的权限。同时,服务模块中保存有预设图片,如果验证通过,则 服务模块将预设图片的数据写入虚拟摄像头模块分配的存储空间(Buffer,即虚拟摄像头驱动的缓存)中,会议应用选择Sharing Camera时,可以从Buffer中获取预设图片的数据,以及利用获取到的预设图片的数据形成画面。其中,预设图片编码例如可为RGB24(24位RGB)格式的数据流,从而在会议应用的界面上形成画面。在本申请一个或多个实施例中,预设图片具有用于引导用户操作的文字信息和/或用于引导用户操作的图示信息。例如,文字信息例如可以是引导用户下载和/或使用传屏应用的文字介绍,图示信息例如可以是引导用户下载和/或使用传屏应用应用的操作示意图等。本申请实施例可基于上述的方案在未成功获取第一媒体数据的情况下通过预设图片引导用户进行相应的操作,例如可告知用户按照输入PIN码(一种连接码)的方式手动建立终端设备与目标设备之间的连接,和/或,可以手动启动第一数据传输应用(即数据传输应用客户端(Client))界面的设备同步功能或共享外设的功能,设备同步功能或共享外设的功能包括但不限于:数据传输应用客户端基于上述连接获取到数据传输应用服务端的摄像头采集的视频数据。本实施例基于上述方式提高访问虚拟摄像头驱动的可靠性,保证向虚拟摄像头驱动中写入的数据为本申请实施例待使用的媒体数据。同时,解决了在通过第一数据传输应用获得目标设备的摄像头采集的数据之前,终端设备在会议应用界面选择Sharing Camera选项后,显示黑色画面对用户造成的困扰,提升了用户会议的体验和满意度。
在本申请一个或多个实施例中,该数据传输方法还包括:当第一数据传输应用接收到第一媒体数据,第一数据传输应用向服务模块发送断开指令;服务模块在接收到断开指令后,服务模块对断开指令进行响应,具体断开与虚拟摄像头驱动的连接,以停止向虚拟摄像头驱动发送预设图片,之后第一数据传输应用将经过处理的第一媒体数据发送至虚拟摄像头驱动,即满足终端设备会议应用使用目标设备的摄像头的需求。
在本申请一个或多个实施例中,通过第一数据传输应用发送第一媒体数据至虚拟摄像头驱动之前,还包括:第一数据传输应用通过驱动层的本地端口和本地地址与虚拟摄像头驱动建立连接;然后,通过第一数据传输应用向虚拟摄像头驱动发送验证数据包;通过虚拟摄像头驱动对验证数据包进行验证;如果验证通过,则通过虚拟摄像头驱动向第一数据传输应用发出第一应答指令(表明验证成功的指令);第一应答指令表示第一数据传输应用具有向虚拟摄像头驱动写入数据的权限;如果验证未通过,则通过虚拟摄像头驱动向第一数据传输应用发出第二应答指令(表明验证失败的指令);第二应答指令表示第一数据传输应用没有向虚拟摄像头驱动写入数据的权限。本实施例能够通过上述的方式提高访问虚拟摄像头驱动的可靠性,避免验证不通过的应用向虚拟摄像头驱动写入数据,保证向虚拟摄像头驱动中写入的数据为本申请实施例待使用的媒体数据。
在本申请一个或多个实施例中,通过虚拟摄像头驱动对验证数据包进行验证,包括:通过虚拟摄像头驱动对验证数据包进行解析,以解析出进程标识号(ID,Identity Document);校验进程标识号是否为终端设备上的应用层的进程标识号,具体判断进程标识号是否存在于终端设备的进程列表中;若是,则确定验证通过,说明第一数据传输应用为运行于终端设备的应用层上的应用;若否,则确定验证未通过,说明第一数据传输应用不是运行于终端设备的应用层上的应用。基于上述改进之后的技术方案,本申请实施例还能够避免非应用层的程序或者应用对驱动层的访问,提升了本申请实施例的安全性。
在本申请可选的实施例中,通过第一数据传输应用与第二数据传输应用连接,建立终端设备与目标设备之间的通信连接,包括:如果目标设备数量为一个,通过第一数据传输应用与当前的目标设备上的第二数据传输应用连接,建立终端设备与当前的目标设备之间的通信连接;如果目标设备数量为多个,根据用户的选择操作或者设备连接历史信息确定待连接的目标设备,通过第一数据传输应用与待连接的目标设备上的第二数据传输应用连接,建立终端设备与待连接的目标设备之间的通信连接。本实施例根据设备选择操作确定待连接的目标设备,具体为:在第一数据传输应用界面上,显示搜索到的所有目标设备的列表,响应用户基于点击或触控的 设备选择操作,确定与该设备选择操作对应的目标设备作为待连接的目标设备。本实施例搜索目标设备的方式包括基于简单服务发现协议(SSDP,Simple Service Discovery Protocol)方式搜索在当前局域网内的目标设备,将搜索到的目标设备添加到列表中。根据设备连接历史信息确定待连接的目标设备,具体为:历史信息中包含上次连接的目标设备的信息,本次连接可自动连接上次连接的设备。本申请实施例能够基于上述的方案满足用户快速连接目标设备的需求,满足用户调用所需的目标设备的摄像头的需求,提升了用户满意度。本申请实施例不仅明显提升了用户的操作效率,而且可为用户提供可选择的多个目标设备,用户仅在终端设备上登录会议应用的账号即可,而无需在目标设备上登录会议应用的账号情况下即可使用目标设备的摄像头,提高了会议应用的账号安全性,提升了用户体验。
如图3所示,会议应用中可具有设备设置选项(右侧的×用于关闭该选项),在设备设置选项下可进行音频设置和视频设置,音频设置例如可包括音频设备、扬声器、麦克风的选择设置,结合本申请实施例的视频设置可在照相机选项(包括虚拟摄像头选项)中选择对应的虚拟摄像头,在点击该选项之后,第一数据传输应用及设备同步功能会被自动打开,成功获得目标设备摄像头的数据后写入虚拟摄像头模块分配的存储空间(Buffer,即虚拟摄像头驱动的缓存)中,此时会议应用显示的视频画面为对应于该虚拟摄像头模块的画面;该示例为某会议应用的界面示意,当然并不限于此。
如图2所示,与数据传输方法基于同一发明技术构思,本申请一个或多个实施例还能够提供一种数据传输系统,该数据传输系统包括终端设备和目标设备。
终端设备上,运行有会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块。
目标设备上,运行有第二数据传输应用。
虚拟摄像头驱动,用于响应对会议应用的虚拟摄像头选项的选择操作,发送数据请求指令至服务模块。
服务模块,用于响应数据请求指令,控制第一数据传输应用启动。
第一数据传输应用,用于通过与第二数据传输应用连接,建立终端设备与目标设备之间的通信连接。
第一数据传输应用,还用于向第二数据传输应用发送媒体数据获取指令。
第二数据传输应用,用于基于接收到的媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并用于将第一媒体数据发送至第一数据传输应用。
第一数据传输应用,还用于发送第一媒体数据至虚拟摄像头驱动,以在会议应用上显示与第一媒体数据对应的画面。
可选地,服务模块,还用于第一数据传输应用启动之前或者第一数据传输应用接收到第一媒体数据之前,通过服务模块发送预设图片至虚拟摄像头驱动,以在会议应用上显示与预设图片对应的画面。
可选地,第一数据传输应用,用于当第一数据传输应用接收到第一媒体数据,向服务模块发送断开指令;服务模块,用于对断开指令进行响应,具体用于断开与虚拟摄像头驱动的连接,以停止向虚拟摄像头驱动发送预设图片,之后由第一数据传输应用将第一媒体数据发送至虚拟摄像头驱动。
可选地,第一数据传输应用可对第一媒体数据进行处理获得第二媒体数据,将第二媒体数据发送至虚拟摄像头驱动。具体可如下:本申请实施例中的第一媒体数据例如为H264(高度压缩数字视频编解码器标准)格式的数据流,第一数据传输应用可以通过FFmpeg(一种具有视频格式转换功能的多媒体视频处理工具)方式对第一媒体数据进行解码,以将H264格式的数据流解码为YUV(一种可用于记录彩色图像的格式)格式的数据流,解码过程还可包括通过libyuv(一种视频格式转换工具)将YUV格式的数据流转换为RGB24(24位RGB)格式的数据流,以得到解码后的第二媒体数据。具体实施时,目标设备的摄像头采集的视频数据可以为RGB格 式,经过目标设备的格式转换后得到H264格式的视频数据,即,第一媒体数据。此外,第一数据传输应用对第一媒体数据进行解码过程中,可按照数据请求指令中包含的视频长度、视频宽度、视频大小的格式要求进行数据转换,以得到第二媒体数据。
可选地,预设图片具有用于引导用户操作的文字信息和/或用于引导用户操作的图示信息。
可选地,第一数据传输应用,用于向虚拟摄像头驱动发送验证数据包;虚拟摄像头驱动,用于对验证数据包进行验证;虚拟摄像头驱动,用于根据验证通过向第一数据传输应用发出第一应答指令;第一应答指令表示第一数据传输应用具有向虚拟摄像头驱动写入数据的权限;虚拟摄像头驱动,用于根据验证未通过向第一数据传输应用发出第二应答指令;第二应答指令表示第一数据传输应用没有向虚拟摄像头驱动写入数据的权限。
可选地,虚拟摄像头驱动,用于对验证数据包进行解析,以解析出进程标识号;虚拟摄像头驱动,用于校验进程标识号是否为终端设备上的应用层的进程标识号,若是,则确定验证通过;若否,则确定验证未通过。
可选地,第一数据传输应用,用于基于目标设备数量为一个,与当前的目标设备上的第二数据传输应用连接,建立终端设备与当前的目标设备之间的通信连接;第一数据传输应用,用于基于目标设备数量为多个,根据设备选择操作或者设备连接历史信息确定待连接的目标设备,通过第一数据传输应用与待连接的目标设备上的第二数据传输应用连接,建立终端设备与待连接的目标设备之间的通信连接。
可选地,终端设备包括笔记本电脑、智能手机、平板电脑以及台式电脑中的至少一种;目标设备包括智能交互平板或具有摄像头的电子设备。
如图4所示,与上述的数据传输方法基于同一发明技术构思,本申请的一个或多个实施例还能够提供一种数据传输方法,该数据传输方法应用于第一数据传输应用。
其中,数据传输方法包括但不限于步骤S110至步骤S310。
步骤S110,第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,第一数据传输应用由用于响应数据请求指令的服务模块控制后启动,数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至服务模块,会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块运行于终端设备上,第二数据传输应用运行于目标设备上。
步骤S210,第一数据传输应用向第二数据传输应用发送媒体数据获取指令;第二数据传输应用用于基于媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将第一媒体数据发送至第一数据传输应用。
步骤S310,第一数据传输应用将接收到的第一媒体数据发送至虚拟摄像头驱动,以在会议应用上显示与第一媒体数据对应的画面。
可选地,服务模块控制第一数据传输应用启动之前,或者,如果第一数据传输应用接收到第一媒体数据之前,则通过服务模块发送预设图片至虚拟摄像头驱动,以在会议应用上显示与预设图片对应的画面。
可选地,数据传输方法还包括:当第一数据传输应用接收到第一媒体数据,第一数据传输应用向服务模块发送断开指令;服务模块对断开指令进行响应,断开与虚拟摄像头驱动的连接,以停止向虚拟摄像头驱动发送预设图片,之后由第一数据传输应用将第一媒体数据发送至虚拟摄像头驱动。
可选地,第一数据传输应用可对第一媒体数据进行处理获得第二媒体数据,将第二媒体数据发送至虚拟摄像头驱动。具体可如下:本申请实施例中的第一媒体数据例如为H264(高度压缩数字视频编解码器标准)格式的数据流,第一数据传输应用可以通过FFmpeg(一种具有视频格式转换功能的多媒体视频处理工具)方式对第一媒体数据进行解码,以将H264格式的数据流解码为YUV(一种可用于记录彩色图像的格式)格式的数据流,解码过程还可包括通过libyuv (一种视频格式转换工具)将YUV格式的数据流转换为RGB24(24位RGB)格式的数据流,以得到解码后的第二媒体数据。具体实施时,目标设备的摄像头采集的视频数据可以为RGB格式,经过目标设备的格式转换后得到H264格式的视频数据,即,第一媒体数据。此外,第一数据传输应用对第一媒体数据进行解码过程中,可按照数据请求指令中包含的视频长度、视频宽度、视频大小的格式要求进行数据转换,以得到第二媒体数据。
可选地,预设图片具有用于引导用户操作的文字信息和/或用于引导用户操作的图示信息。
可选地,通过第一数据传输应用发送第一媒体数据至虚拟摄像头驱动之前,还包括:通过第一数据传输应用向虚拟摄像头驱动发送验证数据包;通过虚拟摄像头驱动对验证数据包进行验证;如果验证通过,则通过虚拟摄像头驱动向第一数据传输应用发出第一应答指令;第一应答指令表示第一数据传输应用具有向虚拟摄像头驱动写入数据的权限;如果验证未通过,则通过虚拟摄像头驱动向第一数据传输应用发出第二应答指令;第二应答指令表示第一数据传输应用没有向虚拟摄像头驱动写入数据的权限。
可选地,通过虚拟摄像头驱动对验证数据包进行验证,包括:通过虚拟摄像头驱动对验证数据包进行解析,以解析出进程标识号;校验进程标识号是否为终端设备上的应用层的进程标识号,若是,则确定验证通过;若否,则确定验证未通过。
可选地,通过第一数据传输应用与第二数据传输应用连接,建立终端设备与目标设备之间的通信连接,包括:如果目标设备数量为一个,通过第一数据传输应用与当前的目标设备上的第二数据传输应用连接,建立终端设备与当前的目标设备之间的通信连接;如果目标设备数量为多个,根据设备选择操作或者设备连接历史信息确定待连接的目标设备,通过第一数据传输应用与待连接的目标设备上的第二数据传输应用连接,建立终端设备与待连接的目标设备之间的通信连接。
与上述的数据传输方法基于同一发明技术构思,本申请至少一个实施例还能够提供一种数据传输方法,该数据传输方法的执行主体可以是终端设备。数据传输方法包括:第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,第一数据传输应用基于对会议应用的虚拟摄像头选项的选择操作而启动,会议应用和第一数据传输应用运行于终端设备上,第二数据传输应用运行于目标设备上;第一数据传输应用向第二数据传输应用发送媒体数据获取指令;第二数据传输应用用于基于媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将第一媒体数据发送至第一数据传输应用;第一数据传输应用将接收到的第一媒体数据传输至会议应用,以在会议应用上显示与所述第一媒体数据对应的画面。
如图2所示,与本申请至少一个实施例提供的数据传输方法基于同一发明技术构思,本申请实施例还能够提供一种数据传输系统,数据传输系统包括终端设备和目标设备。
终端设备上,运行有会议应用和第一数据传输应用。
目标设备上,运行有第二数据传输应用。
第一数据传输应用,用于根据对会议应用的虚拟摄像头选项的选择操作而启动。作为较佳的实施例,终端设备上运行有虚拟摄像头驱动和服务模块,本实施例的虚拟摄像头驱动用于响应对会议应用的虚拟摄像头选项的选择操作,发送数据请求指令至服务模块;服务模块用于响应数据请求指令,控制第一数据传输应用启动。
第一数据传输应用,还用于通过与第二数据传输应用连接,建立终端设备与目标设备之间的通信连接。
第一数据传输应用,还用于向第二数据传输应用发送媒体数据获取指令。
第二数据传输应用,用于基于接收到的媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并用于将第一媒体数据发送至第一数据传输应用。
第一数据传输应用,还用于将第一媒体数据传输至会议应用,以在会议应用上显示与第一 媒体数据对应的画面。作为较佳的实施例,第一数据传输应用还用于发送第一媒体数据至虚拟摄像头驱动,以在会议应用上显示与第一媒体数据对应的画面。
与上述的数据传输方法基于同一发明技术构思,本申请至少一个实施例还能够提供一种数据传输装置。数据传输装置包括会议应用和第一数据传输应用;第一数据传输应用,用于根据对会议应用的虚拟摄像头选项的选择操作而启动;第一数据传输应用,还用于通过与第二数据传输应用连接,建立终端设备与目标设备之间的通信连接;第二数据传输应用运行于目标设备上;第一数据传输应用,还用于向第二数据传输应用发送媒体数据获取指令;第二数据传输应用,用于基于接收到的媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并用于将第一媒体数据发送至第一数据传输应用;第一数据传输应用,还用于将第一媒体数据传输至会议应用,以在会议应用上显示与第一媒体数据对应的画面。
如图5所示,与数据传输方法基于同一发明技术构思,本申请一个或多个实施例还能够提供一种数据传输装置。其中,该数据传输装置应用于第一数据传输应用。
该数据传输装置包括但不限于连接建立单元、指令发送单元、数据接收单元以及数据发送单元。
连接建立单元,用于建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,第一数据传输应用由用于响应数据请求指令的服务模块控制后启动,数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至服务模块,会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块运行于终端设备上,第二数据传输应用运行于目标设备上。
指令发送单元,用于向第二数据传输应用发送媒体数据获取指令;第二数据传输应用用于基于媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将第一媒体数据发送至第一数据传输应用。
数据接收单元,用于接收第一数据传输应用。
数据发送单元,用于将接收到的第一媒体数据发送至虚拟摄像头驱动,以在会议应用上显示与第一媒体数据对应的画面。
可选地,服务模块,还用于第一数据传输应用启动之前或者第一数据传输应用接收到第一媒体数据之前,通过服务模块发送预设图片至虚拟摄像头驱动,以在会议应用上显示与预设图片对应的画面。
可选地,第一数据传输应用,用于当第一数据传输应用接收到第一媒体数据,向服务模块发送断开指令;服务模块,用于对断开指令进行响应,具体用于断开与虚拟摄像头驱动的连接,以停止向虚拟摄像头驱动发送预设图片。
可选地,预设图片具有用于引导用户操作的文字信息和/或用于引导用户操作的图示信息。
可选地,第一数据传输应用,用于向虚拟摄像头驱动发送验证数据包;虚拟摄像头驱动,用于对验证数据包进行验证;虚拟摄像头驱动,用于根据验证通过向第一数据传输应用发出第一应答指令;第一应答指令表示第一数据传输应用具有向虚拟摄像头驱动写入数据的权限;虚拟摄像头驱动,用于根据验证未通过向第一数据传输应用发出第二应答指令;第二应答指令表示第一数据传输应用没有向虚拟摄像头驱动写入数据的权限。
可选地,虚拟摄像头驱动,用于对验证数据包进行解析,以解析出进程标识号;虚拟摄像头驱动,用于校验进程标识号是否为终端设备上的应用层的进程标识号,若是,则确定验证通过;若否,则确定验证未通过。
可选地,第一数据传输应用,用于基于目标设备数量为一个,与当前的目标设备上的第二数据传输应用连接,建立终端设备与当前的目标设备之间的通信连接;第一数据传输应用,用于基于目标设备数量为多个,根据设备选择操作或者设备连接历史信息确定待连接的目标设备,通过第一数据传输应用与待连接的目标设备上的第二数据传输应用连接,建立终端设备与待连 接的目标设备之间的通信连接。
可选地,终端设备包括笔记本电脑、智能手机、平板电脑以及台式电脑中的至少一种;目标设备包括智能交互平板或具有摄像头的电子设备。
综上,在用户打开会议应用以及选择虚拟摄像头选项后,本申请实施例能够自动地建立终端设备与目标设备之间的通信连接,以及自动地为会议应用提供用于形成视频画面的第一媒体数据,避免了常规方案中用户经常遇到打开会议应用之后画面是黑色的问题,可见本申请实施例提供的技术方案实现了在视频会议场景中跨设备自动调用摄像头,提升了用户的视频会议体验,用户满意度较高。而且本申请实施例还能够充分利用目标设备上的摄像头在硬件性能上的优势,为参加视频会议的用户提供更好的视频效果,明显提高了目标设备上的摄像头的利用率。
如图6所示,与本申请至少一个实施例提供的数据传输方法基于同一发明技术构思,本申请一个或多个实施例还能够提供一种电子设备,电子设备包括存储器和处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行本申请任一实施例中数据传输方法的步骤。其中,本申请实施例涉及的数据传输方法的详细实现过程已在本说明书中有详细的记载,此处不再进行赘述。
如图6所示,与本申请至少一个实施例提供的数据传输方法基于同一发明技术构思,本申请一个或多个实施例还能够提供一种存储有计算机可读指令的存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行本申请任一实施例中数据传输方法的步骤。其中,本申请实施例涉及的数据传输方法的详细实现过程已在本说明书中有详细的记载,此处不再进行赘述。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读存储介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读存储介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读存储介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM,Random Access Memory),只读存储器(ROM,Read-Only Memory),可擦除可编辑只读存储器(EPROM,Erasable Programmable Read-Only Memory,或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM,Compact Disc Read-Only Memory)。另外,计算机可读存储介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA,Programmable Gate Array),现场可编程门阵列(FPGA,Field Programmable Gate Array)等。
在本说明书的描述中,参考术语“本实施例”、“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领 域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
以上所述的本申请实施例均为示例性的,并不用以限制本申请,凡在本申请实质内容上所作的任何修改、等同替换和简单改进等,均应包含在本申请的保护范围之内。

Claims (17)

  1. 一种数据传输方法,其特征在于,包括:
    响应对会议应用的虚拟摄像头选项的选择操作,虚拟摄像头驱动发送数据请求指令至服务模块;
    响应所述数据请求指令,所述服务模块控制第一数据传输应用启动;所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上;
    通过所述第一数据传输应用与第二数据传输应用连接,建立所述终端设备与目标设备之间的通信连接;所述第二数据传输应用运行于所述目标设备上;
    通过所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
    通过所述第一数据传输应用发送所述第一媒体数据至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  2. 根据权利要求1所述的数据传输方法,其特征在于,还包括:
    所述服务模块控制第一数据传输应用启动之前,或者,在所述第一数据传输应用接收到所述第一媒体数据之前,则通过所述服务模块发送预设图片至所述虚拟摄像头驱动,以在所述会议应用上显示与所述预设图片对应的画面。
  3. 根据权利要求2所述的数据传输方法,其特征在于,还包括:
    当所述第一数据传输应用接收到所述第一媒体数据,所述第一数据传输应用向所述服务模块发送断开指令;
    所述服务模块对所述断开指令进行响应,断开与所述虚拟摄像头驱动的连接,以停止向所述虚拟摄像头驱动发送预设图片。
  4. 根据权利要求2所述的数据传输方法,其特征在于,
    所述预设图片具有用于引导用户操作的文字信息和/或用于引导用户操作的图示信息。
  5. 根据权利要求1至4中任一权利要求所述的数据传输方法,其特征在于,所述通过所述第一数据传输应用发送所述第一媒体数据至所述虚拟摄像头驱动之前,还包括:
    通过所述第一数据传输应用向所述虚拟摄像头驱动发送验证数据包;
    通过所述虚拟摄像头驱动对所述验证数据包进行验证;
    如果验证通过,则通过所述虚拟摄像头驱动向所述第一数据传输应用发出第一应答指令;所述第一应答指令表示所述第一数据传输应用具有向所述虚拟摄像头驱动写入数据的权限;
    如果验证未通过,则通过所述虚拟摄像头驱动向所述第一数据传输应用发出第二应答指令;所述第二应答指令表示所述第一数据传输应用没有向所述虚拟摄像头驱动写入数据的权限。
  6. 根据权利要求5所述的数据传输方法,其特征在于,所述通过所述虚拟摄像头驱动对所述验证数据包进行验证,包括:
    通过所述虚拟摄像头驱动对所述验证数据包进行解析,以解析出进程标识号;
    校验所述进程标识号是否为所述终端设备上的应用层的进程标识号,若是,则确定验证通过;若否,则确定验证未通过。
  7. 根据权利要求1至4中任一权利要求所述的数据传输方法,其特征在于,所述通过所述第一数据传输应用与第二数据传输应用连接,建立所述终端设备与目标设备之间的通信连接,包括:
    如果所述目标设备数量为一个,通过所述第一数据传输应用与当前的目标设备上的第二数据传输应用连接,建立所述终端设备与所述当前的目标设备之间的通信连接;
    如果所述目标设备数量为多个,根据设备选择操作或者设备连接历史信息确定待连接的目标设备,通过所述第一数据传输应用与所述待连接的目标设备上的第二数据传输应用连接,建立所述终端设备与所述待连接的目标设备之间的通信连接。
  8. 根据权利要求1所述的数据传输方法,其特征在于,
    所述终端设备包括笔记本电脑、智能手机、平板电脑以及台式电脑中的至少一种;
    所述目标设备包括智能交互平板或具有摄像头的电子设备。
  9. 一种数据传输方法,其特征在于,包括:
    响应对会议应用的虚拟摄像头选项的选择操作,控制第一数据传输应用启动;所述会议应用和所述第一数据传输应用运行于终端设备上;
    通过所述第一数据传输应用与第二数据传输应用连接,建立所述终端设备与目标设备之间的通信连接;所述第二数据传输应用运行于所述目标设备上;
    通过所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
    通过所述第一数据传输应用将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  10. 一种数据传输系统,其特征在于,所述数据传输系统包括终端设备和目标设备;
    所述终端设备上,运行有会议应用、第一数据传输应用、虚拟摄像头驱动及服务模块;
    所述目标设备上,运行有第二数据传输应用;
    所述虚拟摄像头驱动,用于响应对所述会议应用的虚拟摄像头选项的选择操作,发送数据请求指令至所述服务模块;
    所述服务模块,用于响应所述数据请求指令,控制所述第一数据传输应用启动;
    所述第一数据传输应用,用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;
    所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;
    所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
    所述第一数据传输应用,还用于发送所述第一媒体数据至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  11. 一种数据传输方法,其特征在于,所述方法包括:
    第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用由用于响应数据请求指令的服务模块控制启动,所述数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至所述服务模块,所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
    第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
    第一数据传输应用将接收到的所述第一媒体数据发送至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  12. 一种数据传输方法,其特征在于,包括:
    第一数据传输应用建立与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用基于对会议应用的虚拟摄像头选项的选择操作而启动,所述会议应用和所述第一数据传输应用运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
    所述第一数据传输应用向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第 一媒体数据发送至所述第一数据传输应用;
    所述第一数据传输应用将接收到的所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  13. 一种数据传输系统,其特征在于,所述数据传输系统包括终端设备和目标设备;
    所述终端设备上,运行有会议应用和第一数据传输应用;
    所述目标设备上,运行有第二数据传输应用;
    所述第一数据传输应用,用于根据对所述会议应用的虚拟摄像头选项的选择操作而启动;
    所述第一数据传输应用,还用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;
    所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;
    所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取所述目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
    所述第一数据传输应用,还用于将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  14. 一种数据传输装置,其特征在于,包括会议应用和第一数据传输应用;
    所述第一数据传输应用,用于根据对所述会议应用的虚拟摄像头选项的选择操作而启动;
    所述第一数据传输应用,还用于通过与所述第二数据传输应用连接,建立所述终端设备与所述目标设备之间的通信连接;所述第二数据传输应用运行于目标设备上;
    所述第一数据传输应用,还用于向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用,用于基于接收到的所述媒体数据获取指令,获取所述目标设备的摄像头采集的第一媒体数据,并用于将所述第一媒体数据发送至所述第一数据传输应用;
    所述第一数据传输应用,还用于将所述第一媒体数据传输至所述会议应用,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  15. 一种数据传输装置,其特征在于,包括:
    连接建立单元,用于建立第一数据传输应用与第二数据传输应用的连接,以建立终端设备与目标设备之间的通信连接;其中,所述第一数据传输应用由用于响应数据请求指令的服务模块控制启动,所述数据请求指令由用于响应对会议应用的虚拟摄像头选项的选择操作的虚拟摄像头驱动发送至所述服务模块,所述会议应用、所述第一数据传输应用、所述虚拟摄像头驱动及所述服务模块运行于终端设备上,所述第二数据传输应用运行于所述目标设备上;
    指令发送单元,用于向所述第二数据传输应用发送媒体数据获取指令;所述第二数据传输应用用于基于所述媒体数据获取指令,获取目标设备的摄像头采集的第一媒体数据,并将所述第一媒体数据发送至所述第一数据传输应用;
    数据接收单元,用于接收所述第一媒体数据;
    数据发送单元,用于将接收到的所述第一媒体数据发送至所述虚拟摄像头驱动,以在所述会议应用上显示与所述第一媒体数据对应的画面。
  16. 一种电子设备,其特征在于,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如权利要求1至8或9或11或12中任一项权利要求所述数据传输方法的步骤。
  17. 一种存储有计算机可读指令的存储介质,其特征在于,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1至8或9或11或12中任一项权利要求所述数据传输方法的步骤。
PCT/CN2022/133904 2022-09-13 2022-11-24 数据传输方法、系统、装置、电子设备及存储介质 WO2024055427A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211110028 2022-09-13
CN202211110028.1 2022-09-13

Publications (1)

Publication Number Publication Date
WO2024055427A1 true WO2024055427A1 (zh) 2024-03-21

Family

ID=90274154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/133904 WO2024055427A1 (zh) 2022-09-13 2022-11-24 数据传输方法、系统、装置、电子设备及存储介质

Country Status (1)

Country Link
WO (1) WO2024055427A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156412A (zh) * 2017-12-19 2018-06-12 威创集团股份有限公司 数据传输方法、装置、用户终端及存储介质
CN110493513A (zh) * 2019-08-05 2019-11-22 视联动力信息技术股份有限公司 一种摄像头控制方法及一种视联网系统
CN112584049A (zh) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 远程交互方法及装置、电子设备、存储介质
WO2022116516A1 (zh) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 一种为视频会议系统提供视频源的方法与装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108156412A (zh) * 2017-12-19 2018-06-12 威创集团股份有限公司 数据传输方法、装置、用户终端及存储介质
CN110493513A (zh) * 2019-08-05 2019-11-22 视联动力信息技术股份有限公司 一种摄像头控制方法及一种视联网系统
WO2022116516A1 (zh) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 一种为视频会议系统提供视频源的方法与装置
CN112584049A (zh) * 2020-12-22 2021-03-30 Oppo广东移动通信有限公司 远程交互方法及装置、电子设备、存储介质

Similar Documents

Publication Publication Date Title
US9621854B2 (en) Recording a videoconference using separate video
US9407867B2 (en) Distributed recording or streaming of a videoconference in multiple formats
US8780166B2 (en) Collaborative recording of a videoconference using a recording server
JP5231464B2 (ja) テレビ会議及びマルチメディア・プレンゼンテーションのためのシステム、方法およびコンピュータプログラム製品
US8659638B2 (en) Method applied to endpoint of video conference system and associated endpoint
WO2014201792A1 (zh) 多屏互动方法、装置及终端设备
TW202147834A (zh) 同步本地房間和遠端共享
WO2022242281A1 (zh) 文件保存方法、装置、电子设备以及存储介质
CN114173183B (zh) 投屏方法和电子设备
EP2637404B1 (en) Method and device for controlling multiple auxiliary streams, and network system
WO2024055427A1 (zh) 数据传输方法、系统、装置、电子设备及存储介质
US11463655B2 (en) Mediation method and computer readable recording medium
WO2022143087A1 (zh) 投屏方法及电子设备
US11228732B2 (en) System for connecting a computer with a video conference endsystem
US11343562B1 (en) Digital receiver integrated local channel insertion
WO2024139400A1 (zh) 一种启用白板绘制的方法及相关装置
WO2022068674A1 (zh) 视频通话的方法、电子设备及系统
WO2022161106A1 (zh) 电子设备及其与其他电子设备的数据传输方法和介质
CN118259820A (zh) 一种启用白板绘制的方法及相关装置
CN117311657A (zh) 一种投屏方法、装置及电子设备
CN113099552A (zh) 可插拔设备及传屏方法
CN117296040A (zh) 远程桌面会话中的多媒体内容访问
WO2016155541A1 (zh) 一种网络电话的通话方法、设备及系统
US20150156237A1 (en) Video Streaming System, Computer Device, and Video Streaming Method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22958614

Country of ref document: EP

Kind code of ref document: A1