[go: up one dir, main page]

CN107302703A - Audio and video playing method and device - Google Patents

Audio and video playing method and device Download PDF

Info

Publication number
CN107302703A
CN107302703A CN201610235642.9A CN201610235642A CN107302703A CN 107302703 A CN107302703 A CN 107302703A CN 201610235642 A CN201610235642 A CN 201610235642A CN 107302703 A CN107302703 A CN 107302703A
Authority
CN
China
Prior art keywords
video
audio
external device
decoded
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610235642.9A
Other languages
Chinese (zh)
Inventor
刘建松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610235642.9A priority Critical patent/CN107302703A/en
Priority to PCT/CN2017/077581 priority patent/WO2017177802A1/en
Publication of CN107302703A publication Critical patent/CN107302703A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Acoustics & Sound (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种音视频播放方法,视频终端通过预设接口与外置设备连接,在接收到其它视频终端发送的待解码音视频文件时,所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。本发明还公开了一种音视频播放装置。本发明降低了视频终端播放音视频的成本。

The invention discloses an audio and video playback method. A video terminal is connected to an external device through a preset interface. When receiving an audio and video file to be decoded sent by another video terminal, the video terminal sends the The audio and video file to be decoded is sent to the external device, so that the external device decodes the audio and video file to be decoded and feeds back the decoded audio and video data through the preset interface, wherein the The decoding capability of the external device is higher than that of the hardware device installed in the video terminal; when the decoded audio and video data fed back by the external device is received, the audio and video is played according to the decoded audio and video data The audio and video corresponding to the data. The invention also discloses an audio and video playing device. The invention reduces the cost of playing audio and video by the video terminal.

Description

音视频播放方法及装置Audio and video playback method and device

技术领域technical field

本发明涉及多媒体技术领域,尤其涉及一种音视频播放方法及装置。The present invention relates to the field of multimedia technologies, in particular to an audio and video playing method and device.

背景技术Background technique

随着多媒体技术的发展,视频终端的应用越来越广泛,如视频会议终端,现在的视频会议终端包括手机、平板、PC等常用的终端设备,由于终端设备的硬件设备是固定不变的,相应的视频会议终端对音视频的解码能力也是固定不变的,其中,解码能力表示能否从视频文件中重现视频原貌的能力。若用户在使用视频会议终端进行音视频播放时,觉得音视频的失真较大,说明该视频会议终端的解码能力较差,若想要升级该视频会议终端的解码能力,就需要将该视频会议终端的硬件设备替换成解码能力更强的硬件设备,显然,这种音视频播放方式,所消耗的成本较大。With the development of multimedia technology, video terminals are more and more widely used, such as video conferencing terminals. The current video conferencing terminals include common terminal devices such as mobile phones, tablets, and PCs. Since the hardware devices of terminal devices are fixed, The audio and video decoding capabilities of the corresponding video conferencing terminals are also constant, wherein the decoding capability indicates whether the original appearance of the video can be reproduced from the video file. If the user feels that the audio and video are distorted when using a video conferencing terminal to play audio and video, it means that the decoding capability of the video conferencing terminal is poor. If you want to upgrade the decoding capability of the video conferencing terminal, you need to use the The hardware device of the terminal is replaced with a hardware device with stronger decoding capability. Obviously, this audio and video playback method consumes a lot of cost.

发明内容Contents of the invention

本发明的主要目的在于提出一种音视频播放方法及装置,旨在解决现在的视频会议终端对音视频的解码,所消耗的成本较大的技术问题。The main purpose of the present invention is to provide a method and device for playing audio and video, aiming at solving the technical problem that the decoding of audio and video by the current video conferencing terminal consumes a lot of cost.

为实现上述目的,本发明提供的一种音视频播放方法,视频终端通过预设接口与外置设备连接,所述音视频播放方法包括:In order to achieve the above object, the present invention provides an audio and video playback method, in which a video terminal is connected to an external device through a preset interface, and the audio and video playback method includes:

在接收到其它视频终端发送的待解码音视频文件时,所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;When receiving the audio and video files to be decoded sent by other video terminals, the video terminal sends the audio and video files to be decoded to the external device through the preset interface, so that the external device can Decoding the audio and video file to be decoded and feeding back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal;

在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。When receiving the decoded audio and video data fed back by the external device, play the audio and video corresponding to the audio and video data according to the decoded audio and video data.

优选地,所述视频终端通过USB接口或网卡接口与所述外置设备进行连接。Preferably, the video terminal is connected to the external device through a USB interface or a network card interface.

优选地,所述音视频播放方法还包括:Preferably, the audio and video playback method also includes:

在所述视频终端与所述外置设备的连接过程中,所述视频终端将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;During the connection process between the video terminal and the external device, the video terminal compares the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal;

在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,执行所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备的步骤;When the decoding capability of the external device is higher than that of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the video terminal will execute the decoding of the audio and video files to be decoded through the preset interface. The step of sending audio and video files to the external device;

在所述外置设备的解码能力低于安装的硬件设备的解码能力时,所述视频终端断开与所述外置设备的连接,并输出告警信息。When the decoding capability of the external device is lower than that of the installed hardware device, the video terminal disconnects from the external device and outputs an alarm message.

优选地,在待解码音视频文件包括多个音视频文件时,所述在接收到其它视频终端发送的待解码音视频文件时,所述音视频播放方法还包括;Preferably, when the audio and video files to be decoded include a plurality of audio and video files, when receiving the audio and video files to be decoded sent by other video terminals, the audio and video playing method further includes;

所述视频终端将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The video terminal sends each video file to be decoded to the external device and the installed hardware device, so that the external device and the hardware device can decode the audio and video file to be decoded and Feedback the decoded audio and video data.

优选地,所述音视频播放方法还包括;Preferably, the audio and video playback method also includes;

所述视频终端在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息。The video terminal displays the prompt information of the external device connected to it in the preset display area, wherein the prompt information includes the identification information of the external device and the decoding capability corresponding to the external device. Parameter information.

此外,为实现上述目的,本发明还提出一种音视频播放装置,所述音视频播放装置通过预设接口与外置设备连接,所述音视频播放装置包括:In addition, in order to achieve the above purpose, the present invention also proposes an audio and video playback device, the audio and video playback device is connected to an external device through a preset interface, and the audio and video playback device includes:

发送模块,用于在接收到其它视频终端发送的待解码音视频文件时,通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;The sending module is configured to send the audio and video files to be decoded to the external device through the preset interface when receiving the audio and video files to be decoded sent by other video terminals, so that the external device can Decoding the audio and video file to be decoded and feeding back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal;

播放模块,用于在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。The playing module is configured to play the audio and video corresponding to the audio and video data according to the decoded audio and video data when receiving the decoded audio and video data fed back by the external device.

优选地,所述音视频播放装置通过USB接口或网卡接口与所述外置设备进行连接。Preferably, the audio and video playback device is connected to the external device through a USB interface or a network card interface.

优选地,所述音视频播放装置还包括:Preferably, the audio and video playback device also includes:

比对模块,用于在所述音视频播放装置与所述外置设备的连接过程中,将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;A comparison module, configured to compare the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal during the connection process between the audio and video playback device and the external device;

所述发送模块,还用于在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,通过所述预设接口将所述待解码音视频文件发送至所述外置设备;The sending module is further configured to, when the decoding capability of the external device is higher than that of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the Send the audio and video files to be decoded to the external device;

处理模块,用于在所述外置设备的解码能力低于安装的硬件设备的解码能力时,断开与所述外置设备的连接,并输出告警信息。A processing module, configured to disconnect the external device and output a warning message when the decoding capability of the external device is lower than that of the installed hardware device.

优选地,所述发送模块,还用于在待解码音视频文件包括多个音视频文件时,将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。Preferably, the sending module is further configured to send each video file to be decoded to the external device and the installed hardware device when the audio/video file to be decoded includes multiple audio/video files for The external device and the hardware device decode the audio and video file to be decoded and feed back the decoded audio and video data.

优选地,所述音视频播放装置还包括;Preferably, the audio and video playback device also includes;

显示模块,用于在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息。A display module, configured to display prompt information of the external device connected to it in a preset display area, wherein the prompt information includes the identification information of the external device, and the corresponding decoding capability of the external device parameter information.

本发明提出的音视频播放方法及装置,在视频终端与外置设备连接的情况下,通过预设接口将待解码音视频文件发送至所述外置设备,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频,实现了视频终端的解码能力较低时,通过解码能力高于视频终端的解码能力的外置设备进行音视频文件的解码,而不用替换硬件设备,从而降低了视频终端进行音视频播放的成本。The audio and video playback method and device proposed by the present invention send audio and video files to be decoded to the external device through a preset interface when the video terminal is connected to the external device, wherein the decoding of the external device The capability is higher than the decoding capability of the hardware device installed in the video terminal, so that the external device can decode the audio and video file to be decoded and feed back the decoded audio and video data through the preset interface. When the decoded audio and video data is fed back by the external device, the audio and video corresponding to the audio and video data are played according to the decoded audio and video data, so that when the decoding ability of the video terminal is low, the decoding ability is higher than that of the video terminal. The external device with decoding capability of the terminal decodes the audio and video files without replacing the hardware device, thereby reducing the cost of audio and video playback by the video terminal.

附图说明Description of drawings

图1为本发明音视频播放方法第一实施例的流程示意图;Fig. 1 is a schematic flow chart of the first embodiment of the audio and video playback method of the present invention;

图2为本发明中外置设备的结构示意图;Fig. 2 is the structural representation of external equipment among the present invention;

图3为本发明中视频终端与外置设备进行交互的结构示意图;FIG. 3 is a schematic structural diagram of interaction between a video terminal and an external device in the present invention;

图4为本发明音视频播放装置第一实施例的功能模块示意图。Fig. 4 is a schematic diagram of functional modules of the first embodiment of the audio and video playback device of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式detailed description

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明提供一种音视频播放方法。The invention provides an audio and video playing method.

参照图1,图1为本发明音视频播放方法第一实施例的流程示意图。Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a first embodiment of an audio and video playback method according to the present invention.

本实施例提出一种音视频播放方法,视频终端通过预设接口与外置设备连接,所述音视频播放方法包括:This embodiment proposes an audio and video playback method, in which a video terminal is connected to an external device through a preset interface, and the audio and video playback method includes:

步骤S10,在接收到其它视频终端发送的待解码音视频文件时,所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;Step S10, when receiving the audio and video files to be decoded sent by other video terminals, the video terminal sends the audio and video files to be decoded to the external device through the preset interface for the external device The device decodes the audio and video file to be decoded and feeds back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal;

在本实施例中,视频终端通过预设接口先与外置设备连接,而所述视频终端通过预设接口与所述外置设备连接的方式包括:In this embodiment, the video terminal is first connected to the external device through the preset interface, and the way the video terminal is connected to the external device through the preset interface includes:

所述视频终端通过USB接口与所述外置设备进行连接;即所述视频终端可通过通用的USB(Universal Serial Bus,通用串行总线)接口与所述外置设备进行连接,可以理解的是,视频终端通过所述USB接口与外置设备进行连接,不需要额外的连接接口或者线缆,使用方便,可以做到即插即用,用户不需要进行任何额外的复杂操作,便捷性高。The video terminal is connected to the external device through a USB interface; that is, the video terminal can be connected to the external device through a universal USB (Universal Serial Bus, Universal Serial Bus) interface, it can be understood that , The video terminal is connected to the external device through the USB interface, no additional connection interface or cable is required, it is easy to use, and can be plug-and-play, and the user does not need to perform any additional complicated operations, and the convenience is high.

或者,所述视频终端通过网卡接口与所述外置设备通信连接,而所述视频终端通过网卡接口与所述外置设备进行通信连接时,包括有线通信或无线通信(如WIFI)两种方式,提高了通信连接的灵活性。Or, the video terminal communicates with the external device through the network card interface, and when the video terminal communicates with the external device through the network card interface, it includes wired communication or wireless communication (such as WIFI) , improving the flexibility of the communication connection.

在本实施例中,所述外置设备是多媒体编解码能力增强设备,参照图2,所述外置设备具体表现为一个硬件盒子,盒子内部硬件包括:主处理器芯片,负责外置设备上的控制逻辑,以及控制其它芯片和视频终端的交互;音频处理芯片,负责外置设备上的音频处理,主要负责对音频数据的编码和解码,并通过主处理器芯片和视频终端交互;视频处理芯片,负责外置设备上的视频处理,主要负责对视频数据的编码和解码,并通过主处理器芯片和视频终端交互;程序存储芯片,包括Flash(Flash EEPROM Memory,一种存储芯片,也称为闪存)和ddr(内存)两部分,是所述外置设备的程序数据存储和运行的芯片;USB接口芯片,提供所述外置设备的USB接口能力;另外还可以加上网卡芯片,对所述外置设备进行外部接口的扩展,以支持通过无线或者有线网络和视频终端进行通信连接。可以理解的是,本实施例中的外置设备采用一体化硬件设计,将专业的多媒体处理芯片和USB通用接口或网卡接口集成设计成一个便携式的硬件盒子的方式进行提供,具有携带方便,即插即用,使用简单等特点。In this embodiment, the external device is a multimedia encoding and decoding capability enhancement device. Referring to FIG. 2, the external device is embodied as a hardware box, and the internal hardware of the box includes: a main processor chip, responsible for control logic, and control the interaction between other chips and video terminals; audio processing chip, responsible for audio processing on external devices, mainly responsible for encoding and decoding audio data, and interacting with video terminals through the main processor chip; video processing Chip, responsible for video processing on external devices, mainly responsible for encoding and decoding video data, and interacting with video terminals through the main processor chip; program storage chips, including Flash (Flash EEPROM Memory, a memory chip, also known as Flash memory) and ddr (memory) are two parts, which are the chip for storing and running the program data of the external device; the USB interface chip provides the USB interface capability of the external device; in addition, a network card chip can be added to The external device expands the external interface to support the communication connection with the video terminal through a wireless or wired network. It can be understood that the external device in this embodiment adopts an integrated hardware design, which integrates a professional multimedia processing chip and a USB universal interface or a network card interface into a portable hardware box, which is easy to carry, that is, Plug and play, easy to use and so on.

在本实施例中,所述视频终端是将某一会议点的实时图像、语音和相关的数据信息进行采集,压缩编码,多路复用(即一个信道同时传输多路信号)后通过传输信道发送给其它视频终端,并可接收其它视频终端发送的图像、语音和数据信息进行分解、解码,还原成对方会场的图像、语音和数据的终端,即本实施例中的所述视频终端表示视频会议终端。所述会议视频终端包括软件视频会议终端和硬件视频会议终端两种,其中,软件视频会议终端是一种可以运行在通用终端设备上的软件视频会议系统,可以提供视频会议终端的全部功能;而硬件视频会议终端是一种专门用于视频会议的硬件设备,采用专业的多媒体处理芯片进行硬件设计,可以提供视频会议功能的一种设备。而所述视频终端与所述外置设备的结构连接图可参照图3,从图3中可以看出是,本实施例中的所述视频终端优选包括视频采集模块、音频采集模块、音频编解码模块、视频编解码模块和显示模块,也就是说,所述视频终端不仅仅可以将待解码音视频文件发送至外置设备进行解码,还可将采集音视频数据,并将采集的音视频数据传输至所述外置设备,以供所述外置设备进行编码,具体的操作方式在第四实施例中详述。In this embodiment, the video terminal collects the real-time image, voice and related data information of a certain meeting point, compresses and encodes them, and multiplexes (that is, one channel transmits multiple signals at the same time) through the transmission channel Send to other video terminals, and can receive the image, voice and data information sent by other video terminals, decompose, decode, restore the image, voice and data of the other party's site, that is, the video terminal in this embodiment represents video conference terminal. The conference video terminal includes two types of software video conference terminal and hardware video conference terminal, wherein the software video conference terminal is a software video conference system that can run on a general-purpose terminal device, and can provide all functions of the video conference terminal; and The hardware video conferencing terminal is a hardware device specially used for video conferencing. It adopts a professional multimedia processing chip for hardware design and can provide a device for video conferencing functions. The structural connection diagram between the video terminal and the external device can refer to FIG. 3 . It can be seen from FIG. 3 that the video terminal in this embodiment preferably includes a video acquisition module, an audio acquisition module, an audio encoder A decoding module, a video codec module and a display module, that is to say, the video terminal can not only send audio and video files to be decoded to an external device for decoding, but also collect audio and video data, and collect audio and video The data is transmitted to the external device for encoding by the external device, and the specific operation mode is described in detail in the fourth embodiment.

在本实施例中,在外置设备所在一端中,所述外置设备与所述视频终端连接之后,先将内置的软件系统启动,然后检测USB接口或网卡接口的连接状态,如果当前已经连接则和视频终端建立软件连接,并在连接成功之后与所述视频终端进行交互协议的传输,以将其解码能力的参数信息通过交互协议传输至视频终端,并在交互成功时,进入就绪状态,等待接收音视频数据进行解码。In this embodiment, at the end where the external device is located, after the external device is connected to the video terminal, the built-in software system is first started, and then the connection status of the USB interface or the network card interface is detected. If it is currently connected, then Establish a software connection with the video terminal, and transmit the interactive protocol with the video terminal after the connection is successful, so as to transmit the parameter information of its decoding capability to the video terminal through the interactive protocol, and when the interaction is successful, enter the ready state and wait Receive audio and video data for decoding.

在本实施例中,在接收到其它视频终端发送的待解码音视频文件时,所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,具体地,所述外置设备通过预置的视频处理芯片和音频处理芯片对所述音视频文件进行解码,并将解码后的音视频数据通过所述预设接口反馈至所述视频终端。In this embodiment, when receiving the audio and video files to be decoded sent by other video terminals, the video terminal sends the audio and video files to be decoded to the external device through the preset interface for the The external device decodes the audio and video file to be decoded and feeds back the decoded audio and video data through the preset interface. Specifically, the external device uses the preset video processing chip and audio processing chip to The audio and video files are decoded, and the decoded audio and video data is fed back to the video terminal through the preset interface.

步骤S20,在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。Step S20, when the decoded audio and video data fed back by the external device is received, play the audio and video corresponding to the audio and video data according to the decoded audio and video data.

在本实施例中,在接收到所述外置设备反馈的解码后的音视频数据时,即可根据解码后的音视频数据播放所述音视频数据对应的音视频。可以理解的是,在视频通信完成后可以将外置设备拔下,此时,所述视频终端与所述外置设备的视频通信过程结束。In this embodiment, when the decoded audio and video data fed back by the external device is received, the audio and video corresponding to the audio and video data can be played according to the decoded audio and video data. It can be understood that the external device can be unplugged after the video communication is completed, and at this time, the video communication process between the video terminal and the external device ends.

本实施例提出的音视频播放方法,在视频终端与外置设备连接的情况下,通过预设接口将待解码音视频文件发送至所述外置设备,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频,实现了视频终端的解码能力较低时,通过解码能力高于视频终端的解码能力的外置设备进行音视频文件的解码,而不用替换硬件设备,从而降低了视频终端进行音视频播放的成本。In the audio and video playback method proposed in this embodiment, when the video terminal is connected to an external device, the audio and video file to be decoded is sent to the external device through a preset interface, wherein the decoding capability of the external device It is higher than the decoding capability of the hardware device installed in the video terminal, so that the external device can decode the audio and video file to be decoded and feed back the decoded audio and video data through the preset interface. When the decoded audio and video data fed back by the external device is described, the audio and video corresponding to the audio and video data are played according to the decoded audio and video data, so that when the decoding ability of the video terminal is low, the decoding ability of the video terminal is higher than that of the video terminal The audio and video files can be decoded by an external device with a strong decoding capability without replacing the hardware device, thereby reducing the cost of audio and video playback on the video terminal.

进一步地,为了提高音视频播放的智能性,基于第一实施例提出本发明音视频播放方法的第二实施例,在本实施例,所述音视频播放方法包括:Further, in order to improve the intelligence of audio and video playback, a second embodiment of the audio and video playback method of the present invention is proposed based on the first embodiment. In this embodiment, the audio and video playback method includes:

在所述视频终端与所述外置设备的连接过程中,所述视频终端将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;During the connection process between the video terminal and the external device, the video terminal compares the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal;

在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,执行所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备的步骤;When the decoding capability of the external device is higher than that of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the video terminal will execute the decoding of the audio and video files to be decoded through the preset interface. The step of sending audio and video files to the external device;

在所述外置设备的解码能力低于安装的硬件设备的解码能力时,所述视频终端断开与所述外置设备的连接,并输出告警信息。When the decoding capability of the external device is lower than that of the installed hardware device, the video terminal disconnects from the external device and outputs an alarm message.

在本实施例中,在所述视频终端与所述外置设备的连接过程中,所述视频终端先识别所述外置设备的解码能力,可以理解的是,解码能力表示能否从视频文件中重现视频原貌的能力,而解码能力与码率等参数信息有关,码率越高,则解码能力越强,因此,在所述视频终端与所述外置设备的连接过程中,所述视频终端先识别所述外置设备中的码率,具体可通过交互协议中输出的参数信息进行识别,即所述视频终端通过交互协议与所述外置设备进行协议的参数信息的传输,以从传输的协议中确定所述外置设备的解码能力。在确定所述外置设备的解码能力之后,将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对,具体的比对方式是将所述外置设备的码率与安装的硬件设备的码率进行比对,以确定所述外置设备与安装的所述硬件设备的解码能力的大小关系。在所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,所述视频终端将所述待解码音视频文件通过所述预设接口发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据。而在所述外置设备的解码能力低于安装的硬件设备的解码能力时,说明所述外置设备不符合音视频文件的解码要求,此时,所述视频终端断开与所述外置设备的连接关系,并输出告警信息,如输出:“未连接外置设备”或“连接已经断开”等文字信息,或者是输出预设时长如5S的鸣笛声,或者是通过闪烁所述视频终端预设的LED灯。In this embodiment, during the connection process between the video terminal and the external device, the video terminal first identifies the decoding capability of the external device. It can be understood that the decoding capability indicates whether the video file can The ability to reproduce the original appearance of the video, and the decoding ability is related to parameter information such as bit rate. The higher the bit rate, the stronger the decoding ability. Therefore, during the connection process between the video terminal and the external device, the The video terminal first identifies the code rate in the external device, specifically through the parameter information output in the interactive protocol, that is, the video terminal transmits the parameter information of the agreement with the external device through the interactive protocol, so as to Determining the decoding capability of the external device from the transmitted protocol. After determining the decoding capability of the external device, compare the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal, the specific comparison method is to compare the decoding capability of the external device The code rate is compared with the code rate of the installed hardware device to determine the relationship between the decoding capability of the external device and the installed hardware device. When the decoding capability of the external device is higher than that of the hardware device installed in the video terminal, if the audio and video files to be decoded sent by other video terminals are received, the video terminal sends the audio and video files to be decoded Send to the external device through the preset interface, so that the external device decodes the audio and video file to be decoded and feeds back the decoded audio and video data through the preset interface. When the decoding capability of the external device is lower than that of the installed hardware device, it means that the external device does not meet the decoding requirements of audio and video files. At this time, the video terminal is disconnected from the external device. The connection relationship of the device, and output alarm information, such as output: "external device is not connected" or "connection has been disconnected" and other text information, or output a whistle with a preset duration of 5S, or through flashing The preset LED light of the video terminal.

在本实施例中,通过检测外置设备的解码能力与硬件设备的解码能力,并在所述外置设备的解码能力低于安装的硬件设备的解码能力时,断开与所述外置设备的连接关系,并输出告警信息,防止了连接的外置设备的解码能力与视频终端的解码还低时,仍然进行解码操作,从而提高了视频解码的智能性。In this embodiment, by detecting the decoding capability of the external device and the decoding capability of the hardware device, and when the decoding capability of the external device is lower than the decoding capability of the installed hardware device, the connection with the external device is disconnected. connection relationship, and output alarm information, preventing the decoding operation of the connected external device and video terminal when the decoding ability is still low, thereby improving the intelligence of video decoding.

当然,在所述外置设备的解码能力低于或等于安装的所述硬件设备的解码能力时,不断开所述视频终端与所述外置设备的连接关系,所述视频终端通过安装的所述硬件设备对所述待解码音视频文件进行解码,以得到解码后的音视频数据,并根据解码后的音视频数据播放所述音视频数据对应的音视频。Of course, when the decoding capability of the external device is lower than or equal to the decoding capability of the installed hardware device, the connection between the video terminal and the external device is not disconnected, and the video terminal uses the installed The hardware device decodes the audio and video file to be decoded to obtain decoded audio and video data, and plays the audio and video corresponding to the audio and video data according to the decoded audio and video data.

也就是说,在所述外置设备的解码能力低于所述视频终端的解码能力时,此时,优先采用解码能力强的视频终端进行解码,从而提高了音视频解码的灵活性,当然,此时先不断开所述视频终端与所述外置设备的连接关系,后续在待解码音视频文件包括多个音视频文件时,可以由所述外置设备分担解码操作,降低了视频终端的处理压力。That is to say, when the decoding capability of the external device is lower than that of the video terminal, at this time, the video terminal with strong decoding capability is preferentially used for decoding, thereby improving the flexibility of audio and video decoding. Of course, At this time, the connection relationship between the video terminal and the external device is not disconnected first, and when the audio-video file to be decoded includes multiple audio-video files, the decoding operation can be shared by the external device, which reduces the burden on the video terminal. Deal with stress.

进一步地,为了提高音视频播放的灵活性,基于第一实施例提出本发明音视频播放方法的第三实施例,在本实施例,在待解码音视频文件包括多个音视频文件时,所述音视频播放方法还包括:Further, in order to improve the flexibility of audio and video playback, the third embodiment of the audio and video playback method of the present invention is proposed based on the first embodiment. In this embodiment, when the audio and video files to be decoded include multiple audio and video files, the Said audio and video playing method also includes:

所述视频终端将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The video terminal sends each video file to be decoded to the external device and the installed hardware device, so that the external device and the hardware device can decode the audio and video file to be decoded and Feedback the decoded audio and video data.

在本实施例中,在待解码音视频文件包括多个音视频文件时,即此时接收到多个视频终端发送的待解码音视频文件,或者是接收到同一个视频终端依次发送的多个视频文件,此时,所述视频终端将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,具体的发送方式可以是:In this embodiment, when the audio and video files to be decoded include multiple audio and video files, that is, the audio and video files to be decoded sent by multiple video terminals are received at this time, or multiple audio and video files sent sequentially by the same video terminal are received. video file, at this time, the video terminal sends each video file to be decoded to the external device and the installed hardware device respectively, and the specific sending method can be:

将待解码音视频文件的数量分成两部分,将分别将两部分的待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The number of audio and video files to be decoded is divided into two parts, and the two parts of video files to be decoded are respectively sent to the external device and the installed hardware device for the external device and the hardware The device decodes the audio and video file to be decoded and feeds back the decoded audio and video data.

或者,一次性轮询将各个待解码视频文件发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。Or, one-time polling sends each video file to be decoded to the external device and the installed hardware device, so that the external device and the hardware device can decode the audio and video file to be decoded And feedback the decoded audio and video data.

或者,将各个待解码视频文件存储到发送队列中,依次从发送队列中提取待解码音视频文件发送至当前空闲的设备中,并在另一个设备空闲时再从发送队列中提取待解码音视频文件发送至当前空闲的设备中,例如,当前外置设备正在对前一个待解码音视频文件进行解码,而所述视频终端的硬件设备处于空闲状态,此时,若再接收到待解码音视频文件,则将再接收到的待解码音视频文件发送至所述视频终端的硬件设备中进行解码。Or, store each video file to be decoded in the sending queue, sequentially extract the audio and video files to be decoded from the sending queue and send them to the currently idle device, and extract the audio and video to be decoded from the sending queue when another device is idle The file is sent to the currently idle device. For example, the current external device is decoding the previous audio and video file to be decoded, and the hardware device of the video terminal is in an idle state. At this time, if the audio and video file to be decoded is received again file, then the received audio-video file to be decoded is sent to the hardware device of the video terminal for decoding.

进一步地,还可获取预设的分配策略,所述分配策略根据具体情况进行设置,包括上文所述的三种发送方式,还包括:a、确定设备的等待队列中包含的待解码音视频文件的个数,并将再次接收到的待解码音视频发送至两个等待队列中个数少的队列中;b、确定设备的等待队列中的优先级,并将再次接收到的待解码音视频文件发送至两个等待队列中优先级高的队列中,其中,设备中处理器的占用率越大,优先级相应降低,也就是说,将接收到的待解码音视频文件发送到处理器的占用率较低的设备中。而所述视频终端在获取预设的分配策略之后,按照获取的所述分配策略,即可将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据,最终所述视频终端根据解码后的音视频数据播放所述音视频数据对应的音视频。Furthermore, a preset allocation strategy can also be obtained, which is set according to specific circumstances, including the three transmission methods described above, and also includes: a. Determining the audio and video to be decoded contained in the waiting queue of the device number of files, and send the audio and video to be decoded received again to the queue with the fewest number in the two waiting queues; b, determine the priority in the waiting queue of the device, and send the audio and video to be decoded received again Video files are sent to the queue with the highest priority among the two waiting queues. The higher the processor usage in the device, the lower the priority accordingly. That is to say, the received audio and video files to be decoded are sent to the processor devices with low occupancy. After the video terminal obtains the preset distribution strategy, according to the obtained distribution strategy, each video file to be decoded can be sent to the external device and the installed hardware device respectively, for all The external device and the hardware device decode the audio and video file to be decoded and feed back the decoded audio and video data, and finally the video terminal plays the audio and video corresponding to the audio and video data according to the decoded audio and video data .

在本实施例中,在待解码音视频文件包括多个音视频文件时,将各个待解码视频文件发送至所述外置设备以及安装的所述硬件设备中,而不是将待解码音视频文件全部发送至外置设备或视频终端的硬件设备中进行解码,而是动态的调节解码的方式,降低了所述外置设备或者所述硬件设备的处理器的处理压力,还提高了音视频文件的解码智能性。In this embodiment, when the audio-video file to be decoded includes a plurality of audio-video files, each video file to be decoded is sent to the external device and the installed hardware device, instead of the audio-video file to be decoded All are sent to the external device or the hardware device of the video terminal for decoding, but the way of decoding is dynamically adjusted, which reduces the processing pressure on the processor of the external device or the hardware device, and also improves the audio and video files. decoding intelligence.

进一步地,所述音视频播放方法还包括;Further, the audio and video playback method also includes;

所述视频终端在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息,所述参数信息即所述解码能力对应码率,如在预设的显示区域显示码率对应的数值。进一步地,所述参数信息还可包括分辨率,同理,在预设的显示区域显示分辨率对应的数值。值得注意的是,所述视频终端在预设的显示区域显示与其连接的所述外置设备的提示信息,可以在所述视频终端与所述外置设备的连接过程中进行显示,也可以是在连接成功之后,即将待解码音视频文件发送给所述外置设备,并接收所述外置设备反馈的解码后的音视频数据的过程中进行显示。The video terminal displays the prompt information of the external device connected to it in the preset display area, wherein the prompt information includes the identification information of the external device and the decoding capability corresponding to the external device. Parameter information, the parameter information is the code rate corresponding to the decoding capability, for example, a value corresponding to the code rate is displayed in a preset display area. Further, the parameter information may also include resolution, and similarly, a numerical value corresponding to the resolution is displayed in a preset display area. It is worth noting that the video terminal displays the prompt information of the external device connected to it in the preset display area, which may be displayed during the connection process between the video terminal and the external device, or may be After the connection is successful, the audio and video files to be decoded are sent to the external device and displayed during the process of receiving the decoded audio and video data fed back by the external device.

从上文的描述过程可以看出,本发明提出了一种新颖的视频终端的使用场景,即在受限于终端硬件能力有限的情况下,不需要替换硬件设备的情况下,快速提升视频会议终端硬件的多媒体编解码能力的一种方式,具有使用方便、简单易用、节省成本等优点From the above description process, it can be seen that the present invention proposes a novel video terminal usage scenario, that is, in the case of limited terminal hardware capabilities and without the need to replace hardware devices, the video conference can be quickly improved. A method of multimedia encoding and decoding capabilities of terminal hardware, which has the advantages of easy to use, easy to use, and cost saving

进一步地,为了提高音视频播放的灵活性,基于第一、第二、第三实施例提出本发明音视频播放方法的第四实施例,在本实施例,所述视频终端的通信方法还包括;Further, in order to improve the flexibility of audio and video playback, a fourth embodiment of the audio and video playback method of the present invention is proposed based on the first, second, and third embodiments. In this embodiment, the communication method of the video terminal further includes ;

所述视频终端采集待编码音视频数据,并通过所述预设接口将待编码音视频数据发送至所述外置设备,以供所述外置设备对所述待编码音视频数据进行编码并通过所述预设接口反馈编码后的音视频文件,其中,所述外置设备的编码能力高于所述视频终端安装的硬件设备的编码能力;The video terminal collects audio and video data to be encoded, and sends the audio and video data to be encoded to the external device through the preset interface, so that the external device can encode the audio and video data to be encoded and Feedback the encoded audio and video files through the preset interface, wherein the encoding capability of the external device is higher than the encoding capability of the hardware device installed in the video terminal;

在接收到所述外置设备反馈的编码后的音视频文件时,将编码后的音视频文件发送至其它视频终端。When receiving the encoded audio and video files fed back by the external device, the encoded audio and video files are sent to other video terminals.

进一步地,在所述外置设备的编码能力低于或等于安装的所述硬件设备的编码能力时,所述视频会议终端通过所述硬件设备对所述待编码音视频数据进行编码,以得到编码后的音视频文件,并将编码后的音视频文件发送至其它视频终端。Further, when the encoding capability of the external device is lower than or equal to the encoding capability of the installed hardware device, the video conferencing terminal uses the hardware device to encode the audio and video data to be encoded to obtain Encoded audio and video files, and send the encoded audio and video files to other video terminals.

进一步地,在待编码音视频数据包括多个音视频数据时,所述视频终端将各个待编码音视频数据分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述音视频数据进行编码并反馈编码后的音视频数据。Further, when the audio and video data to be encoded includes a plurality of audio and video data, the video terminal sends each audio and video data to be encoded to the external device and the installed hardware device, for the external The configuration device and the hardware device encode the audio and video data and feed back the encoded audio and video data.

进一步地,在本实施例中,所述外置设备中所述的几种硬件芯片,还可通过软件进行实现,外置设备装甚至还可以直接包括音视频的采集芯片等等,即不仅实现视频终端发送的音视频数据进行编码操作,还可以由采集芯片采集音视频数据,以直接对音视频数据进行编码。Further, in this embodiment, the several hardware chips mentioned in the external device can also be implemented by software, and the external device can even directly include audio and video acquisition chips, etc., that is, not only realize The audio and video data sent by the video terminal is encoded, and the audio and video data can also be collected by the acquisition chip to directly encode the audio and video data.

本发明提供了一种直接对视频终端的解码能力进行能力升级的方法,可以方便的对用户的现有视频终端进行硬件能力的升级,为用户节省更换新装备的成本,而且本发明提供的外置设备采用通用的USB接口和视频会议终端进行连接,使用方便快捷,特别是对于使用通用的终端设备例如手机、平板、PC等安装软件视频会议的使用场景,由于通用终端设备的硬件多媒体能力相对于专业视频会议终端较弱,因此,通过本发明,可以快速的提升用户软件视频会议的多媒体编解码能力。The present invention provides a method for directly upgrading the decoding capability of a video terminal, which can conveniently upgrade the hardware capability of the user's existing video terminal and save the cost of replacing new equipment for the user. The device is connected to the video conferencing terminal with a general USB interface, which is convenient and quick to use, especially for the use of general terminal devices such as mobile phones, tablets, PCs, etc. to install software for video conferencing. Since professional video conferencing terminals are relatively weak, the present invention can quickly improve the multimedia encoding and decoding capabilities of user software video conferencing.

本发明进一步提供一种音视频播放装置。The present invention further provides an audio and video playing device.

参照图4,图4是本发明音视频播放装置第一实施例的功能模块示意图。Referring to FIG. 4 , FIG. 4 is a schematic diagram of functional modules of the first embodiment of the audio and video playback device of the present invention.

需要强调的是,对本领域的技术人员来说,图4所示功能模块图仅仅是一个较佳实施例的示例图,本领域的技术人员围绕图4所示的音视频播放装置的功能模块,可轻易进行新的功能模块的补充;各功能模块的名称是自定义名称,仅用于辅助理解该音视频播放装置的各个程序功能块,不用于限定本发明的技术方案,本发明技术方案的核心是,各自定义名称的功能模块所要达成的功能。It should be emphasized that, for those skilled in the art, the functional block diagram shown in FIG. 4 is only an example diagram of a preferred embodiment. Those skilled in the art revolve around the functional modules of the audio and video playback device shown in FIG. 4 , Can easily carry out the supplement of new function module; The name of each function module is self-defined name, only for assisting each program function block of understanding this audio-video playing device, is not used for limiting the technical scheme of the present invention, the technical scheme of the present invention The core is the function to be achieved by each function module with a custom name.

本实施例提出一种音视频播放装置,所述音视频播放装置通过预设接口与外置设备连接,所述音视频播放装置包括:This embodiment proposes an audio and video playback device, the audio and video playback device is connected to an external device through a preset interface, and the audio and video playback device includes:

发送模块10,用于在接收到其它视频终端发送的待解码音视频文件时,通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;The sending module 10 is configured to send the audio and video files to be decoded to the external device through the preset interface when receiving the audio and video files to be decoded sent by other video terminals, for the external device Decoding the audio and video file to be decoded and feeding back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal;

在本实施例中,所述音视频播放装置通过预设接口先与外置设备连接,而所述音视频播放装置通过预设接口与所述外置设备连接的方式包括:In this embodiment, the audio and video playback device is first connected to the external device through a preset interface, and the ways in which the audio and video playback device is connected to the external device through a preset interface include:

所述音视频播放装置通过USB接口与所述外置设备进行连接;即所述音视频播放装置可通过通用的USB(Universal Serial Bus,通用串行总线)接口与所述外置设备进行连接,可以理解的是,所述音视频播放装置通过所述USB接口与外置设备进行连接,不需要额外的连接接口或者线缆,使用方便,可以做到即插即用,用户不需要进行任何额外的复杂操作,便捷性高。The audio-video player is connected with the external device through a USB interface; that is, the audio-video player can be connected with the external device through a general USB (Universal Serial Bus, Universal Serial Bus) interface, It can be understood that the audio and video playback device is connected to the external device through the USB interface, no additional connection interface or cable is required, it is easy to use, and can be plug-and-play, and the user does not need to perform any additional operations. Complex operation, high convenience.

或者,所述音视频播放装置通过网卡接口与所述外置设备通信连接,而所述音视频播放装置通过网卡接口与所述外置设备进行通信连接时,包括有线通信或无线通信(如WIFI)两种方式,提高了通信连接的灵活性。Or, the audio-video playback device communicates with the external device through the network card interface, and when the audio-video playback device communicates with the external device through the network card interface, it includes wired communication or wireless communication (such as WIFI ) two ways to improve the flexibility of the communication connection.

在本实施例中,所述外置设备是多媒体编解码能力增强设备,参照图2,所述外置设备具体表现为一个硬件盒子,盒子内部硬件包括:主处理器芯片,负责外置设备上的控制逻辑,以及控制其它芯片和视频终端的交互;音频处理芯片,负责外置设备上的音频处理,主要负责对音频数据的编码和解码,并通过主处理器芯片和视频终端交互;视频处理芯片,负责外置设备上的视频处理,主要负责对视频数据的编码和解码,并通过主处理器芯片和视频终端交互;程序存储芯片,包括Flash(Flash EEPROM Memory,一种存储芯片,也称为闪存)和ddr(内存)两部分,是所述外置设备的程序数据存储和运行的芯片;USB接口芯片,提供所述外置设备的USB接口能力;另外还可以加上网卡芯片,对所述外置设备进行外部接口的扩展,以支持通过无线或者有线网络和视频终端进行通信连接。可以理解的是,本实施例中的外置设备采用一体化硬件设计,将专业的多媒体处理芯片和USB通用接口或网卡接口集成设计成一个便携式的硬件盒子的方式进行提供,具有携带方便,即插即用,使用简单等特点。In this embodiment, the external device is a multimedia encoding and decoding capability enhancement device. Referring to FIG. 2, the external device is embodied as a hardware box, and the internal hardware of the box includes: a main processor chip, responsible for control logic, and control the interaction between other chips and video terminals; audio processing chip, responsible for audio processing on external devices, mainly responsible for encoding and decoding audio data, and interacting with video terminals through the main processor chip; video processing Chip, responsible for video processing on external devices, mainly responsible for encoding and decoding video data, and interacting with video terminals through the main processor chip; program storage chips, including Flash (Flash EEPROM Memory, a memory chip, also known as Flash memory) and ddr (memory) are two parts, which are the chip for storing and running the program data of the external device; the USB interface chip provides the USB interface capability of the external device; in addition, a network card chip can be added to The external device expands the external interface to support the communication connection with the video terminal through a wireless or wired network. It can be understood that the external device in this embodiment adopts an integrated hardware design, which integrates a professional multimedia processing chip and a USB universal interface or a network card interface into a portable hardware box, which is easy to carry, that is, Plug and play, easy to use and so on.

在本实施例中,所述音视频播放装置即所述视频终端,所述视频终端是将某一会议点的实时图像、语音和相关的数据信息进行采集,压缩编码,多路复用(即一个信道同时传输多路信号)后通过传输信道发送给其它视频终端,并可接收其它视频终端发送的图像、语音和数据信息进行分解、解码,还原成对方会场的图像、语音和数据的终端,即本实施例中的所述视频终端表示视频会议终端。所述视频会议终端包括软件视频会议终端和硬件视频会议终端两种,其中,软件视频会议终端是一种可以运行在通用终端设备上的软件视频会议系统,可以提供视频会议终端的全部功能;而硬件视频会议终端是一种专门用于视频会议的硬件设备,采用专业的多媒体处理芯片进行硬件设计,可以提供视频会议功能的一种设备。而所述视频终端与所述外置设备的结构连接图可参照图3,从图3中可以看出是,本实施例中的所述视频终端优选包括视频采集模块、音频采集模块、音频编解码模块、视频编解码模块和显示模块,也就是说,所述视频终端不仅仅可以将待解码音视频文件发送至外置设备进行解码,还可将采集音视频数据,并将采集的音视频数据传输至所述外置设备,以供所述外置设备进行编码,具体的操作方式在第四实施例中详述。In this embodiment, the audio and video playback device is the video terminal, and the video terminal collects real-time images, voices and related data information of a certain meeting point, compresses and encodes them, and multiplexes them (i.e. A channel transmits multiple signals at the same time) and sends them to other video terminals through the transmission channel, and can receive the image, voice and data information sent by other video terminals, decompose and decode them, and restore them to the image, voice and data of the other party's venue. That is, the video terminal in this embodiment represents a video conference terminal. The video conferencing terminal includes two types: a software video conferencing terminal and a hardware video conferencing terminal, wherein the software video conferencing terminal is a software video conferencing system that can run on a general-purpose terminal device and can provide all functions of the video conferencing terminal; and The hardware video conferencing terminal is a hardware device specially used for video conferencing. It adopts a professional multimedia processing chip for hardware design and can provide a device for video conferencing functions. The structural connection diagram between the video terminal and the external device can refer to FIG. 3 . It can be seen from FIG. 3 that the video terminal in this embodiment preferably includes a video acquisition module, an audio acquisition module, an audio encoder A decoding module, a video codec module and a display module, that is to say, the video terminal can not only send audio and video files to be decoded to an external device for decoding, but also collect audio and video data, and collect audio and video The data is transmitted to the external device for encoding by the external device, and the specific operation mode is described in detail in the fourth embodiment.

在本实施例中,在外置设备所在一端中,所述外置设备与所述视频终端连接之后,先将内置的软件系统启动,然后检测USB接口或网卡接口的连接状态,如果当前已经连接则和视频终端建立软件连接,并在连接成功之后与所述视频终端进行交互协议的传输,以将其解码能力的参数信息通过交互协议传输至视频终端,并在交互成功时,进入就绪状态,等待接收音视频数据进行解码。In this embodiment, at the end where the external device is located, after the external device is connected to the video terminal, the built-in software system is first started, and then the connection status of the USB interface or the network card interface is detected. If it is currently connected, then Establish a software connection with the video terminal, and transmit the interactive protocol with the video terminal after the connection is successful, so as to transmit the parameter information of its decoding capability to the video terminal through the interactive protocol, and when the interaction is successful, enter the ready state and wait Receive audio and video data for decoding.

在本实施例中,所述发送模块10在接收到其它视频终端发送的待解码音视频文件时,通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,具体地,所述外置设备通过预置的视频处理芯片和音频处理芯片对所述音视频文件进行解码,并将解码后的音视频数据通过所述预设接口反馈至所述视频终端。In this embodiment, when the sending module 10 receives the audio and video files to be decoded sent by other video terminals, it sends the audio and video files to be decoded to the external device through the preset interface for The external device decodes the audio and video file to be decoded and feeds back the decoded audio and video data through the preset interface. Specifically, the external device uses a preset video processing chip and an audio processing chip to The audio and video files are decoded, and the decoded audio and video data is fed back to the video terminal through the preset interface.

播放模块20,用于在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。The playing module 20 is configured to play the audio and video corresponding to the audio and video data according to the decoded audio and video data when receiving the decoded audio and video data fed back by the external device.

在本实施例中,在接收到所述外置设备反馈的解码后的音视频数据时,所述播放模块20即可根据解码后的音视频数据播放所述音视频数据对应的音视频。可以理解的是,在视频通信完成后可以将外置设备拔下,此时,所述视频终端与所述外置设备的视频通信过程结束。In this embodiment, upon receiving the decoded audio and video data fed back by the external device, the playing module 20 can play the audio and video corresponding to the audio and video data according to the decoded audio and video data. It can be understood that the external device can be unplugged after the video communication is completed, and at this time, the video communication process between the video terminal and the external device ends.

本实施例提出的音视频播放装置,在视频终端与外置设备连接的情况下,通过预设接口将待解码音视频文件发送至所述外置设备,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频,实现了视频终端的解码能力较低时,通过解码能力高于视频终端的解码能力的外置设备进行音视频文件的解码,而不用替换硬件设备,从而降低了视频终端进行音视频播放的成本。The audio and video playback device proposed in this embodiment sends the audio and video files to be decoded to the external device through a preset interface when the video terminal is connected to the external device, wherein the decoding capability of the external device It is higher than the decoding capability of the hardware device installed in the video terminal, so that the external device can decode the audio and video file to be decoded and feed back the decoded audio and video data through the preset interface. When the decoded audio and video data fed back by the external device is described, the audio and video corresponding to the audio and video data are played according to the decoded audio and video data, so that when the decoding ability of the video terminal is low, the decoding ability of the video terminal is higher than that of the video terminal The audio and video files can be decoded by an external device with a strong decoding capability without replacing the hardware device, thereby reducing the cost of audio and video playback on the video terminal.

进一步地,为了提高音视频播放的智能性,基于第一实施例提出本发明音视频播放装置的第二实施例,在本实施例,所述音视频播放装置包括:Further, in order to improve the intelligence of audio and video playback, a second embodiment of the audio and video playback device of the present invention is proposed based on the first embodiment. In this embodiment, the audio and video playback device includes:

比对模块,用于在所述音视频播放装置与所述外置设备的连接过程中,将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;A comparison module, configured to compare the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal during the connection process between the audio and video playback device and the external device;

所述发送模块10,还用于在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,通过所述预设接口将所述待解码音视频文件发送至所述外置设备;The sending module 10 is further configured to, when the decoding capability of the external device is higher than that of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the The audio and video files to be decoded are sent to the external device;

处理模块,用于在所述外置设备的解码能力低于安装的硬件设备的解码能力时,断开与所述外置设备的连接,并输出告警信息。A processing module, configured to disconnect the external device and output a warning message when the decoding capability of the external device is lower than that of the installed hardware device.

在本实施例中,在所述视频终端与所述外置设备的连接过程中,先识别所述外置设备的解码能力,可以理解的是,解码能力表示能否从视频文件中重现视频原貌的能力,而解码能力与码率等参数信息有关,码率越高,则解码能力越强,因此,在所述视频终端与所述外置设备的连接过程中,先识别所述外置设备中的码率,具体可通过交互协议中输出的参数信息进行识别,即所述视频终端通过交互协议与所述外置设备进行协议的参数信息的传输,以从传输的协议中确定所述外置设备的解码能力。在确定所述外置设备的解码能力之后,所述比对模块将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对,具体的比对方式是将所述外置设备的码率与安装的硬件设备的码率进行比对,以确定所述外置设备与安装的所述硬件设备的解码能力的大小关系。在所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,所述发送模块10将所述待解码音视频文件通过所述预设接口发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,而在所述外置设备的解码能力低于安装的硬件设备的解码能力时,说明所述外置设备不符合音视频文件的解码要求,此时,所述处理模块断开与所述外置设备的连接关系,并输出告警信息,如输出:“未连接外置设备”或“连接已经断开”等文字信息,或者是输出预设时长如5S的鸣笛声,或者是通过闪烁所述视频终端预设的LED灯。In this embodiment, during the connection process between the video terminal and the external device, the decoding capability of the external device is first identified. It can be understood that the decoding capability indicates whether the video can be reproduced from the video file. The original appearance, and the decoding ability is related to parameter information such as code rate, the higher the code rate, the stronger the decoding ability, therefore, in the connection process between the video terminal and the external device, first identify the external device The code rate in the device can be specifically identified through the parameter information output in the interactive protocol, that is, the video terminal transmits the parameter information of the protocol with the external device through the interactive protocol, so as to determine the Decoding capabilities of external devices. After determining the decoding capability of the external device, the comparison module compares the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal. The specific comparison method is to compare the The code rate of the external device is compared with the code rate of the installed hardware device to determine the relationship between the decoding capabilities of the external device and the installed hardware device. When the decoding capability of the external device is higher than the decoding capability of the hardware device installed in the video terminal, if the audio and video files to be decoded sent by other video terminals are received, the sending module 10 sends the audio and video files to be decoded The file is sent to the external device through the preset interface, so that the external device can decode the audio and video file to be decoded and feed back the decoded audio and video data through the preset interface. When the decoding capability of the external device is lower than that of the installed hardware device, it means that the external device does not meet the decoding requirements of audio and video files. At this time, the processing module disconnects the connection with the external device relationship, and output alarm information, such as output: "external device is not connected" or "connection has been disconnected" and other text information, or output a whistle with a preset duration such as 5S, or flash the video terminal by flashing Set LED lights.

在本实施例中,通过检测外置设备的解码能力与硬件设备的解码能力,并在所述外置设备的解码能力低于安装的硬件设备的解码能力时,断开与所述外置设备的连接关系,并输出告警信息,防止了连接的外置设备的解码能力与视频终端的解码还低时,仍然进行解码操作,从而提高了视频解码的智能性。In this embodiment, by detecting the decoding capability of the external device and the decoding capability of the hardware device, and when the decoding capability of the external device is lower than the decoding capability of the installed hardware device, the connection with the external device is disconnected. connection relationship, and output alarm information, preventing the decoding operation of the connected external device and video terminal when the decoding ability is still low, thereby improving the intelligence of video decoding.

当然,所述视频播放装置还包括解码模块,用于在所述外置设备的解码能力低于或等于安装的所述硬件设备的解码能力时,不断开所述视频终端与所述外置设备的连接关系,所述解码模块通过安装的所述硬件设备对所述待解码音视频文件进行解码,以得到解码后的音视频数据,并且所述播放模块20根据解码后的音视频数据播放所述音视频数据对应的音视频。Of course, the video playback device also includes a decoding module, configured to not disconnect the video terminal from the external device when the decoding capability of the external device is lower than or equal to the decoding capability of the installed hardware device. connection relationship, the decoding module decodes the audio and video file to be decoded through the installed hardware device to obtain decoded audio and video data, and the playback module 20 plays the audio and video file according to the decoded audio and video data The audio and video corresponding to the audio and video data.

也就是说,在所述外置设备的解码能力低于所述视频终端的解码能力时,此时,优先采用解码能力强的视频终端进行解码,从而提高了音视频解码的灵活性,当然,此时,先不断开所述视频终端与所述外置设备的连接关系,后续在待解码音视频文件包括多个音视频文件时,可以由所述外置设备分担解码操作,降低了视频终端的处理压力。That is to say, when the decoding capability of the external device is lower than that of the video terminal, at this time, the video terminal with strong decoding capability is preferentially used for decoding, thereby improving the flexibility of audio and video decoding. Of course, At this time, the connection relationship between the video terminal and the external device is not disconnected first, and when the audio-video file to be decoded includes multiple audio-video files, the decoding operation can be shared by the external device, reducing the number of video terminals. handling pressure.

进一步地,为了提高音视频播放的灵活性,基于第一实施例提出本发明音视频播放装置的第三实施例,在本实施例,在待解码音视频文件包括多个音视频文件时,所述音视频播放装置包括:Further, in order to improve the flexibility of audio and video playback, the third embodiment of the audio and video playback device of the present invention is proposed based on the first embodiment. In this embodiment, when the audio and video files to be decoded include multiple audio and video files, the The audio and video playback device includes:

所述发送模块10,还用于在待解码音视频文件包括多个音视频文件时,将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The sending module 10 is further configured to send each video file to be decoded to the external device and the installed hardware device when the audio/video file to be decoded includes a plurality of audio/video files, for the The external device and the hardware device decode the audio and video file to be decoded and feed back the decoded audio and video data.

在本实施例中,在待解码音视频文件包括多个音视频文件时,即此时接收到多个视频终端发送的待解码音视频文件,或者是接收到同一个视频终端依次发送的多个视频文件,此时,所述发送模块10将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,具体的发送方式可以是:In this embodiment, when the audio and video files to be decoded include multiple audio and video files, that is, the audio and video files to be decoded sent by multiple video terminals are received at this time, or multiple audio and video files sent sequentially by the same video terminal are received. video file, at this time, the sending module 10 sends each video file to be decoded to the external device and the installed hardware device respectively, and the specific sending method can be:

将待解码音视频文件的数量分成两部分,将分别将两部分的待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The number of audio and video files to be decoded is divided into two parts, and the two parts of video files to be decoded are respectively sent to the external device and the installed hardware device for the external device and the hardware The device decodes the audio and video file to be decoded and feeds back the decoded audio and video data.

或者,一次性轮询将各个待解码视频文件发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。Or, one-time polling sends each video file to be decoded to the external device and the installed hardware device, so that the external device and the hardware device can decode the audio and video file to be decoded And feedback the decoded audio and video data.

或者,将各个待解码视频文件存储到发送队列中,依次从发送队列中提取待解码音视频文件发送至当前空闲的设备中,并在另一个设备空闲时再从发送队列中提取待解码音视频文件发送至当前空闲的设备中,例如,当前外置设备正在对前一个待解码音视频文件进行解码,而所述视频终端的硬件设备处于空闲状态,此时,若再接收到待解码音视频文件,则将再接收到的待解码音视频文件发送至所述视频终端的硬件设备中进行解码。Or, store each video file to be decoded in the sending queue, sequentially extract the audio and video files to be decoded from the sending queue and send them to the currently idle device, and extract the audio and video to be decoded from the sending queue when another device is idle The file is sent to the currently idle device. For example, the current external device is decoding the previous audio and video file to be decoded, and the hardware device of the video terminal is in an idle state. At this time, if the audio and video file to be decoded is received again file, then the received audio-video file to be decoded is sent to the hardware device of the video terminal for decoding.

进一步地,所述音视频播放装置还可包括获取模块,用于获取预设的分配策略,所述分配策略根据具体情况进行设置,包括上文所述的三种发送方式,还包括:a、确定设备的等待队列中包含的待解码音视频文件的个数,并将再次接收到的待解码音视频发送至两个等待队列中个数少的队列中;b、确定设备的等待队列中的优先级,并将再次接收到的待解码音视频文件发送至两个等待队列中优先级高的队列中,其中,设备中处理器的占用率越大,优先级相应降低,也就是说,将接收到的待解码音视频文件发送到处理器的占用率较低的设备中,所述发送模块10,还用于按照获取的所述分配策略,即可将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据,最终所述视频终端根据解码后的音视频数据播放所述音视频数据对应的音视频。Further, the audio and video playback device may also include an acquisition module, configured to acquire a preset distribution strategy, which is set according to specific circumstances, including the three transmission methods described above, and also includes: a. Determine the number of audio and video files to be decoded contained in the waiting queue of the device, and send the audio and video to be decoded to be received again to the queue with the fewest numbers in the two waiting queues; b, determine the number of audio and video files in the waiting queue of the device priority, and send the audio and video files to be decoded again to the queue with higher priority among the two waiting queues, wherein the higher the processor usage in the device, the lower the priority accordingly, that is to say, the The received audio and video files to be decoded are sent to devices with a low processor occupancy rate, and the sending module 10 is also used to send each video file to be decoded to the device according to the obtained distribution strategy. In the external device and the installed hardware device, the external device and the hardware device decode the audio and video file to be decoded and feed back the decoded audio and video data, and finally the video terminal according to The decoded audio and video data plays the audio and video corresponding to the audio and video data.

在本实施例中,在待解码音视频文件包括多个音视频文件时,将各个待解码视频文件发送至所述外置设备以及安装的所述硬件设备中,而不是将待解码音视频文件全部发送至外置设备或视频终端的硬件设备中进行解码,而是动态的调节解码的方式,降低了所述外置设备或者所述硬件设备的处理器的处理压力,还提高了音视频文件的解码智能性。In this embodiment, when the audio-video file to be decoded includes a plurality of audio-video files, each video file to be decoded is sent to the external device and the installed hardware device, instead of the audio-video file to be decoded All are sent to the external device or the hardware device of the video terminal for decoding, but the way of decoding is dynamically adjusted, which reduces the processing pressure on the processor of the external device or the hardware device, and also improves the audio and video files. decoding intelligence.

进一步地,所述音视频播放装置还包括;Further, the audio and video playback device also includes;

显示模块,用于在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息,所述参数信息即所述解码能力对应码率,如在预设的显示区域显示码率对应的数值。进一步地,所述参数信息还可包括分辨率,同理,在预设的显示区域显示分辨率对应的数值。值得注意的是,所述显示模块在预设的显示区域显示与其连接的所述外置设备的提示信息,可以在所述视频终端与所述外置设备的连接过程中进行显示,也可以是在连接成功之后,即将待解码音视频文件发送给所述外置设备,并接收所述外置设备反馈的解码后的音视频数据的过程中进行显示。A display module, configured to display prompt information of the external device connected to it in a preset display area, wherein the prompt information includes the identification information of the external device, and the corresponding decoding capability of the external device Parameter information, the parameter information is the code rate corresponding to the decoding capability, for example, the value corresponding to the code rate is displayed in the preset display area. Further, the parameter information may also include resolution, and similarly, a numerical value corresponding to the resolution is displayed in a preset display area. It is worth noting that the display module displays the prompt information of the external device connected to it in the preset display area, which can be displayed during the connection process between the video terminal and the external device, or can be After the connection is successful, the audio and video files to be decoded are sent to the external device and displayed during the process of receiving the decoded audio and video data fed back by the external device.

从上文的描述过程可以看出,本发明提出了一种新颖的视频终端的使用场景,即在受限于终端硬件能力有限的情况下,不需要替换硬件设备的情况下,快速提升视频会议终端硬件的多媒体编解码能力的一种方式,具有使用方便、简单易用、节省成本等优点From the above description process, it can be seen that the present invention proposes a novel video terminal usage scenario, that is, in the case of limited terminal hardware capabilities and without the need to replace hardware devices, the video conference can be quickly improved. A method of multimedia encoding and decoding capabilities of terminal hardware, which has the advantages of easy to use, easy to use, and cost saving

进一步地,为了提高音视频播放的灵活性,基于第一、第二、第三实施例提出本发明音视频播放装置的第四实施例,在本实施例,所述视频终端的通信装置还包括;Further, in order to improve the flexibility of audio and video playback, a fourth embodiment of the audio and video playback device of the present invention is proposed based on the first, second and third embodiments. In this embodiment, the communication device of the video terminal further includes ;

所述发送模块10,还用于采集待编码音视频数据,并通过所述预设接口将待编码音视频数据发送至所述外置设备,以供所述外置设备对所述待编码音视频数据进行编码并通过所述预设接口反馈编码后的音视频文件,其中,所述外置设备的编码能力高于所述视频终端安装的硬件设备的编码能力;The sending module 10 is also used to collect audio and video data to be encoded, and send the audio and video data to be encoded to the external device through the preset interface, so that the external device can process the audio and video data to be encoded. Encoding the video data and feeding back the encoded audio and video files through the preset interface, wherein the encoding capability of the external device is higher than the encoding capability of the hardware device installed in the video terminal;

所述发送模块10,还用于在接收到所述外置设备反馈的编码后的音视频文件时,将编码后的音视频文件发送至其它视频终端。The sending module 10 is further configured to send the encoded audio and video files to other video terminals when receiving the encoded audio and video files fed back by the external device.

进一步地,所述处理模块,还用于在所述外置设备的编码能力低于或等于安装的所述硬件设备的编码能力时,通过所述硬件设备对所述待编码音视频数据进行编码,以得到编码后的音视频文件,并将编码后的音视频文件发送至其它视频终端。Further, the processing module is further configured to encode the audio and video data to be encoded through the hardware device when the encoding capability of the external device is lower than or equal to the encoding capability of the installed hardware device , to obtain encoded audio and video files, and send the encoded audio and video files to other video terminals.

进一步地,所述发送模块10,还用于在待编码音视频数据包括多个音视频数据时,将各个待编码音视频数据分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述音视频数据进行编码并反馈编码后的音视频数据。Further, the sending module 10 is also configured to send each audio and video data to be encoded to the external device and the installed hardware device respectively when the audio and video data to be encoded includes a plurality of audio and video data, The external device and the hardware device encode the audio and video data and feed back the encoded audio and video data.

进一步地,在本实施例中,所述外置设备中所述的几种硬件芯片,还可通过软件进行实现,外置设备装甚至还可以直接包括音视频的采集芯片等等,即不仅实现视频终端发送的音视频数据进行编码操作,还可以由采集芯片采集音视频数据,以直接对音视频数据进行编码。Further, in this embodiment, the several hardware chips mentioned in the external device can also be implemented by software, and the external device can even directly include audio and video acquisition chips, etc., that is, not only realize The audio and video data sent by the video terminal is encoded, and the audio and video data can also be collected by the acquisition chip to directly encode the audio and video data.

本发明提供了一种直接对视频终端的解码能力进行能力升级的装置,可以方便的对用户的现有视频终端进行硬件能力的升级,为用户节省更换新装备的成本,而且本发明提供的外置设备采用通用的USB接口和视频会议终端进行连接,使用方便快捷,特别是对于使用通用的终端设备例如手机、平板、PC等安装软件视频会议的使用场景,由于通用终端设备的硬件多媒体能力相对于专业视频会议终端较弱,因此,通过本发明,可以快速的提升用户软件视频会议的多媒体编解码能力。The present invention provides a device for directly upgrading the decoding capability of a video terminal, which can conveniently upgrade the hardware capability of the user's existing video terminal, saving the cost of replacing new equipment for the user, and the external device provided by the present invention The device is connected to the video conferencing terminal with a general USB interface, which is convenient and quick to use, especially for the use of general terminal devices such as mobile phones, tablets, PCs, etc. to install software for video conferencing. Since professional video conferencing terminals are relatively weak, the present invention can quickly improve the multimedia encoding and decoding capabilities of user software video conferencing.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其它变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其它要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or system comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or system. Without further limitations, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or system comprising that element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.

Claims (10)

1.一种音视频播放方法,其特征在于,视频终端通过预设接口与外置设备连接,所述音视频播放方法包括以下步骤:1. A method for playing audio and video, characterized in that the video terminal is connected with an external device through a preset interface, and the method for playing audio and video may further comprise the steps: 在接收到其它视频终端发送的待解码音视频文件时,所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;When receiving the audio and video files to be decoded sent by other video terminals, the video terminal sends the audio and video files to be decoded to the external device through the preset interface, so that the external device can Decoding the audio and video file to be decoded and feeding back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal; 在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。When receiving the decoded audio and video data fed back by the external device, play the audio and video corresponding to the audio and video data according to the decoded audio and video data. 2.如权利要求1所述的音视频播放方法,其特征在于,所述视频终端通过USB接口或网卡接口与所述外置设备进行连接。2. The audio and video playback method according to claim 1, wherein the video terminal is connected to the external device through a USB interface or a network card interface. 3.如权利要求1所述的音视频播放方法,其特征在于,所述音视频播放方法还包括:3. audio and video playing method as claimed in claim 1, is characterized in that, described audio and video playing method also comprises: 在所述视频终端与所述外置设备的连接过程中,所述视频终端将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;During the connection process between the video terminal and the external device, the video terminal compares the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal; 在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,执行所述视频终端通过所述预设接口将所述待解码音视频文件发送至所述外置设备的步骤;When the decoding capability of the external device is higher than the decoding capability of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the video terminal will execute the decoding of the audio and video files to be decoded through the preset interface. The step of sending audio and video files to the external device; 在所述外置设备的解码能力低于安装的硬件设备的解码能力时,所述视频终端断开与所述外置设备的连接,并输出告警信息。When the decoding capability of the external device is lower than that of the installed hardware device, the video terminal disconnects from the external device and outputs an alarm message. 4.如权利要求1所述的音视频播放方法,其特征在于,在待解码音视频文件包括多个音视频文件时,所述在接收到其它视频终端发送的待解码音视频文件时,所述音视频播放方法还包括;4. The audio and video playing method as claimed in claim 1, wherein when the audio and video file to be decoded comprises a plurality of audio and video files, when receiving the audio and video file to be decoded sent by other video terminals, the The audio and video playback method also includes; 所述视频终端将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。The video terminal sends each video file to be decoded to the external device and the installed hardware device, so that the external device and the hardware device can decode the audio and video file to be decoded and Feedback the decoded audio and video data. 5.如权利要求1-4任一项所述的音视频播放方法,其特征在于,所述音视频播放方法还包括;5. The audio and video playback method according to any one of claims 1-4, wherein the audio and video playback method further comprises; 所述视频终端在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息。The video terminal displays the prompt information of the external device connected to it in the preset display area, wherein the prompt information includes the identification information of the external device and the decoding capability corresponding to the external device. Parameter information. 6.一种音视频播放装置,其特征在于,所述音视频播放装置通过预设接口与外置设备连接,所述音视频播放装置包括:6. An audio and video playback device, characterized in that, the audio and video playback device is connected to an external device through a preset interface, and the audio and video playback device includes: 发送模块,用于在接收到其它视频终端发送的待解码音视频文件时,通过所述预设接口将所述待解码音视频文件发送至所述外置设备,以供所述外置设备对所述待解码音视频文件进行解码并通过所述预设接口反馈解码后的音视频数据,其中,所述外置设备的解码能力高于所述视频终端安装的硬件设备的解码能力;The sending module is configured to send the audio and video files to be decoded to the external device through the preset interface when receiving the audio and video files to be decoded sent by other video terminals, so that the external device can Decoding the audio and video file to be decoded and feeding back the decoded audio and video data through the preset interface, wherein the decoding capability of the external device is higher than that of the hardware device installed in the video terminal; 播放模块,用于在接收到所述外置设备反馈的解码后的音视频数据时,根据解码后的音视频数据播放所述音视频数据对应的音视频。The playing module is configured to play the audio and video corresponding to the audio and video data according to the decoded audio and video data when receiving the decoded audio and video data fed back by the external device. 7.如权利要求6所述的音视频播放装置,其特征在于,所述音视频播放装置通过USB接口或网卡接口与所述外置设备进行连接。7. The audio and video playback device according to claim 6, wherein the audio and video playback device is connected to the external device through a USB interface or a network card interface. 8.如权利要求6所述的音视频播放装置,其特征在于,所述音视频播放装置还包括:8. The audio and video playback device as claimed in claim 6, wherein the audio and video playback device further comprises: 比对模块,用于在所述音视频播放装置与所述外置设备的连接过程中,将所述外置设备的解码能力与所述视频终端安装的硬件设备的解码能力进行比对;A comparison module, configured to compare the decoding capability of the external device with the decoding capability of the hardware device installed in the video terminal during the connection process between the audio and video playback device and the external device; 所述发送模块,还用于在所述外置设备的解码能力高于安装的硬件设备的解码能力时,若接收到其它视频终端发送的待解码音视频文件,通过所述预设接口将所述待解码音视频文件发送至所述外置设备;The sending module is further configured to, when the decoding capability of the external device is higher than that of the installed hardware device, if the audio and video files to be decoded sent by other video terminals are received, the Send the audio and video files to be decoded to the external device; 处理模块,用于在所述外置设备的解码能力低于安装的硬件设备的解码能力时,断开与所述外置设备的连接,并输出告警信息。A processing module, configured to disconnect the external device and output a warning message when the decoding capability of the external device is lower than that of the installed hardware device. 9.如权利要求6所述的音视频播放装置,其特征在于,所述发送模块,还用于在待解码音视频文件包括多个音视频文件时,将各个待解码视频文件分别发送至所述外置设备以及安装的所述硬件设备中,以供所述外置设备以及所述硬件设备对所述待解码音视频文件进行解码并反馈解码后的音视频数据。9. The audio and video playback device according to claim 6, wherein the sending module is also used to send each video file to be decoded to the The external device and the installed hardware device are used for the external device and the hardware device to decode the audio and video file to be decoded and feed back the decoded audio and video data. 10.如权利要求6-9任一项所述的音视频播放装置,其特征在于,所述音视频播放装置还包括;10. The audio and video playback device according to any one of claims 6-9, wherein the audio and video playback device further comprises; 显示模块,用于在预设的显示区域显示与其连接的所述外置设备的提示信息,其中,所述提示信息包括所述外置设备的标识信息,以及所述外置设备的解码能力对应的参数信息。A display module, configured to display prompt information of the external device connected to it in a preset display area, wherein the prompt information includes the identification information of the external device, and the corresponding decoding capability of the external device parameter information.
CN201610235642.9A 2016-04-15 2016-04-15 Audio and video playing method and device Withdrawn CN107302703A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610235642.9A CN107302703A (en) 2016-04-15 2016-04-15 Audio and video playing method and device
PCT/CN2017/077581 WO2017177802A1 (en) 2016-04-15 2017-03-21 Audio/video playback method and apparatus, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610235642.9A CN107302703A (en) 2016-04-15 2016-04-15 Audio and video playing method and device

Publications (1)

Publication Number Publication Date
CN107302703A true CN107302703A (en) 2017-10-27

Family

ID=60042351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610235642.9A Withdrawn CN107302703A (en) 2016-04-15 2016-04-15 Audio and video playing method and device

Country Status (2)

Country Link
CN (1) CN107302703A (en)
WO (1) WO2017177802A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120939A (en) * 2018-07-16 2019-01-01 北京奇艺世纪科技有限公司 A kind of video App coding/decoding method and device
CN115002087A (en) * 2022-05-31 2022-09-02 济南浪潮数据技术有限公司 Audio and video data transmission method, system, device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243135B (en) * 2019-07-16 2023-04-11 腾讯科技(北京)有限公司 Multimedia playing method and device
CN116136751B (en) * 2023-04-04 2023-07-25 北京智象信息技术有限公司 Mirror image method for cross-operating system of primary screen and secondary screen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112465A1 (en) * 2004-05-03 2005-11-24 Thomson Research Funding Corporation Method and apparatus enabling fast channel change for dsl system
CN101729875A (en) * 2008-10-24 2010-06-09 鸿富锦精密工业(深圳)有限公司 Multimedia file playing method and media playing device
CN101783921A (en) * 2010-02-24 2010-07-21 中兴通讯股份有限公司 Method and device for expanding video conference function to external equipment
CN101990124A (en) * 2009-08-05 2011-03-23 深圳市致芯微电子股份有限公司 Handheld television receiving device, system and method thereof
CN102137255A (en) * 2010-01-21 2011-07-27 联想(北京)有限公司 Portable decoder as well as display method and display system thereof
CN102460363A (en) * 2009-06-09 2012-05-16 三星电子株式会社 Method of providing graphic user interface showing connection relationship and arrangement between devices and device applying the same
CN102547291A (en) * 2012-02-08 2012-07-04 中国电影科学技术研究所 Field programmable gate array (FPGA)-based joint photographic experts group (JPEG) 2000 image decoding device and method
CN102999251A (en) * 2012-10-31 2013-03-27 东莞宇龙通信科技有限公司 Terminal and equipment connection management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10100919B4 (en) * 2001-01-11 2004-04-08 Daimlerchrysler Ag Multimedia player and vehicle with such a
CN1801913A (en) * 2005-12-06 2006-07-12 浙江大学 Universal video player
CN101582281A (en) * 2009-04-17 2009-11-18 深圳市美赛达科技有限公司 Visual on-vehicle apparatus based on embedded microprocessor

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005112465A1 (en) * 2004-05-03 2005-11-24 Thomson Research Funding Corporation Method and apparatus enabling fast channel change for dsl system
CN101729875A (en) * 2008-10-24 2010-06-09 鸿富锦精密工业(深圳)有限公司 Multimedia file playing method and media playing device
CN102460363A (en) * 2009-06-09 2012-05-16 三星电子株式会社 Method of providing graphic user interface showing connection relationship and arrangement between devices and device applying the same
CN101990124A (en) * 2009-08-05 2011-03-23 深圳市致芯微电子股份有限公司 Handheld television receiving device, system and method thereof
CN102137255A (en) * 2010-01-21 2011-07-27 联想(北京)有限公司 Portable decoder as well as display method and display system thereof
CN101783921A (en) * 2010-02-24 2010-07-21 中兴通讯股份有限公司 Method and device for expanding video conference function to external equipment
CN102547291A (en) * 2012-02-08 2012-07-04 中国电影科学技术研究所 Field programmable gate array (FPGA)-based joint photographic experts group (JPEG) 2000 image decoding device and method
CN102999251A (en) * 2012-10-31 2013-03-27 东莞宇龙通信科技有限公司 Terminal and equipment connection management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120939A (en) * 2018-07-16 2019-01-01 北京奇艺世纪科技有限公司 A kind of video App coding/decoding method and device
CN109120939B (en) * 2018-07-16 2021-04-06 北京奇艺世纪科技有限公司 Video App decoding method and device
CN115002087A (en) * 2022-05-31 2022-09-02 济南浪潮数据技术有限公司 Audio and video data transmission method, system, device and storage medium

Also Published As

Publication number Publication date
WO2017177802A1 (en) 2017-10-19

Similar Documents

Publication Publication Date Title
US20250165209A1 (en) Enhanced video call method and system, and electronic device
US20200339139A1 (en) Automobile diagnostic method, apparatus, device and system, and diagnostic connection device
US20190327106A1 (en) Method, apparatus, device, system and storage medium for controlling smart home
WO2020078300A1 (en) Method for controlling screen projection of terminal and terminal
WO2021168649A1 (en) Multifunctional receiving device and conference system
CN111431734A (en) Network distribution method of intelligent equipment and related device
CN107329717A (en) A kind of processing method of displaying information on screen, display methods and display system
CN107302703A (en) Audio and video playing method and device
CN105610777A (en) remote live broadcast method and system
CN110996019A (en) Screen projection method and system based on wireless transmission and storage medium
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
CN104333911A (en) Network connection setting method of multimedia player and related computer system
CN105654973B (en) A kind of audio file processing method and system
US10291758B2 (en) Intelligent voice reminder system, server and the method thereof
CN103324459A (en) Method and system for implementing USB (universal serial bus) headset devices
CN108091338A (en) The data processing method and device of voice telecontrol system and its host side
CN102915290B (en) Realize method, adapter and system that mobile terminal is connected with human interface device
CN201750479U (en) An audio and video playback system, its mobile terminal, and audio and video playback equipment
CN104519403A (en) Audio control device and method
US20120163609A1 (en) Apparatus for processing a multi-channel audio signal and method thereof
CN106792125A (en) A kind of video broadcasting method and its terminal, system
CN204465769U (en) An audio transmission control system and a head-mounted display device
CN111263100A (en) Video call method, device, equipment and storage medium
CN216527162U (en) Screen transmission device
CN106411534A (en) Embedded device and system with functions of interface recognition and wireless sharing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20171027

WW01 Invention patent application withdrawn after publication