WO2017045441A1 - Smart television-based audio playback method and apparatus - Google Patents

Smart television-based audio playback method and apparatus Download PDF

Info

Publication number
WO2017045441A1
WO2017045441A1 PCT/CN2016/084486 CN2016084486W WO2017045441A1 WO 2017045441 A1 WO2017045441 A1 WO 2017045441A1 CN 2016084486 W CN2016084486 W CN 2016084486W WO 2017045441 A1 WO2017045441 A1 WO 2017045441A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio data
playing
audio
format information
played
Prior art date
Application number
PCT/CN2016/084486
Other languages
French (fr)
Chinese (zh)
Inventor
王云华
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017045441A1 publication Critical patent/WO2017045441A1/en

Links

Classifications

    • 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/41Structure of client; Structure of client peripherals
    • 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/439Processing of audio elementary streams
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Definitions

  • the present invention relates to the field of smart television technologies, and in particular, to a method and apparatus for playing audio based on a smart television.
  • the user can establish a wireless connection between the mobile terminal such as his mobile phone and the smart TV via Bluetooth, and send the words he wants to say to the TV through the mobile phone in the form of audio.
  • the television After receiving the audio information, the television directly plays the audio, so that multiple terminals simultaneously send audio to the television, or when multiple terminals send audio to the television end at similar times, multiple audio coverage occurs, and the user sends the audio.
  • the audio will also be overwritten with the sound in the TV program, causing the audio output on the TV side to be confusing and the audio to be played normally.
  • the invention provides a method and a device for playing audio based on a smart TV.
  • the main purpose of the invention is to solve the technical problem that a smart TV generates sound coverage when playing a plurality of audios simultaneously received, and the audio output of the television end is disordered.
  • the present invention provides a smart television-based audio playing method, and the smart television-based audio playing method includes:
  • the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
  • the audio data to be played When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
  • the format information does not include the playing duration corresponding to the audio data, sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large;
  • the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
  • the audio playing method of the smart television further includes the steps of:
  • the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  • the present invention provides a smart television-based audio playing method, and the smart television-based audio playing method includes:
  • the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
  • the plurality of audio data are sequentially played according to the format information in an order of the audio data from small to large.
  • the smart TV-based audio playing method further includes: before the step of sequentially playing the plurality of audio data according to the format information, in the order that the audio data is in a small to large order, the method further includes:
  • the smart TV-based audio playing method further includes:
  • the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
  • the smart TV based audio playing method further comprises the steps of:
  • the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
  • the smart TV-based audio playing method further comprises the steps of:
  • the audio data to be played When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
  • the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
  • the step of adjusting the television program to the silent mode comprises:
  • the volume ratio of the television program is attenuated to silence.
  • the audio playing method of the smart television further includes the steps of:
  • the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  • the present invention further provides a smart television-based audio playback device, the smart TV-based audio playback device comprising:
  • a data storage module configured to: when receiving a voice file sent by a plurality of terminals, in the process of playing a television program, extracting audio data and format information corresponding to the audio data from the received voice file, and storage;
  • a mute adjustment module configured to adjust the television program to a silent mode
  • an audio playing module configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order of small to large.
  • the smart TV-based audio playback device further includes:
  • a duration detecting module configured to detect whether the format information includes a playing duration corresponding to the audio data
  • the audio playing module is further configured to: when detecting that the format information does not include a playing duration corresponding to the audio data, the playing according to the format information is sequentially performed according to the audio data in an order of small to large The plurality of audio data;
  • the audio playing module is further configured to: when detecting that the format information includes the playing duration corresponding to the audio data, according to the format information, the playing time of the audio data is in a short to long order.
  • the plurality of audio data are played in sequence.
  • the smart TV-based audio playback device further includes:
  • An audio detection module configured to detect whether the audio data sent by the terminal is currently playing
  • the audio playing module is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played;
  • the audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data is played.
  • the smart TV-based audio playback device further includes:
  • An audio detection module configured to detect whether the audio data sent by the terminal is currently playing
  • the audio playing module is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played;
  • the audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data is played.
  • the mute adjustment module is further configured to attenuate the volume ratio of the television program to be mute within a preset adjustment duration.
  • the mute adjustment module is further configured to restore the volume of the television program from mute to an original play volume within the adjustment duration after detecting that the plurality of audio data is played.
  • the intelligent television-based audio playing method and device extracts audio data and corresponding format information and stores it when receiving a plurality of audio data transmitted from a plurality of terminals simultaneously in the process of playing a television program. Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in order from small to large.
  • the present invention silences the television program when sequentially playing a plurality of audios simultaneously received, thereby solving the intelligence. Sound coverage occurs when multiple audios are simultaneously received on the TV, causing confusion in the audio output of the TV terminal.
  • FIG. 1 is a flow chart of a first embodiment of a method for playing audio based on a smart television according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of an audio playing method based on a smart television according to the present invention
  • FIG. 3 is a schematic diagram of functional modules of a first embodiment of an audio playback device based on a smart television according to the present invention
  • FIG. 4 is a schematic diagram of functional modules of a second embodiment of an audio playback device based on a smart television according to the present invention.
  • the invention provides an audio playing method based on a smart TV.
  • FIG. 1 it is a flowchart of a first embodiment of a method for playing audio based on a smart television according to the present invention.
  • the smart TV based audio playing method comprises:
  • step S10 in the process of playing the television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored.
  • the user can establish a near-field wireless connection with a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi.
  • a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi.
  • the user can record what he wants to say and then send it to the TV terminal. Play, when there are many people watching the program on the same TV, there will be a situation where multiple audios are sent to the TV at the same time or in a short time interval.
  • receiving a plurality of voice files received by the television terminal at the same time point or within a short time interval is considered to be received simultaneously, preferably, receiving multiple times in a time interval of 0-3 seconds.
  • a voice file is spoken, it is considered to be received at the same time.
  • a control for triggering the sending of the voice command is provided, and the control has a corresponding state switch memory.
  • the state switch memory transmits the The corresponding identifier of the terminal is sent to the television end.
  • the television end may determine, according to the valid identifier, that the received voice file is from a mobile terminal that establishes a near field wireless connection, and determines to receive according to the valid identifier.
  • the voice file is a voice file that is sent by the user to trigger the corresponding control for playing on the TV side.
  • the valid identification can be used to distinguish other voice files sent to the terminal.
  • the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored.
  • step S20 the television program is adjusted to a silent mode.
  • the television program since the television program itself has a sound output, when the audio data is played, the television program is first adjusted to the silent mode.
  • the television terminal can directly adjust the current program to after the audio data is acquired.
  • the volume of the current program can be gradually attenuated to zero within a certain time interval.
  • Step S30 sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large.
  • the audio data is played in order from small to large, so as to avoid that the user who sent the smaller data waits for the voice to play for too long.
  • the playing time may be performed in the order of receiving time. It may be understood that when playing the audio data, according to the corresponding The format information such as the channel mode is played.
  • the smart TV-based audio playing method further includes:
  • the smart TV-based audio playing method further includes:
  • the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
  • the audio data After extracting the audio data from the received plurality of voice files, detecting whether the corresponding playing time information is included, and the format of the audio data recorded by different mobile terminals is different, so that the playing duration and the data size are not corresponding, and Depending on the terminal, the format information of some voice files may not include the playback duration. When it is detected that the playback duration corresponding to the audio data is included, the audio data is played in ascending order.
  • the intelligent television-based audio playing method in the embodiment in the process of playing a television program, when simultaneously receiving a plurality of audio data sent from a plurality of terminals, extracting the audio data and corresponding format information and storing the same, Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in the order of small to large.
  • the present invention silences the television program when sequentially playing a plurality of audios received simultaneously, and solves the smart television. The sound coverage occurs when multiple audios are received, which causes the audio output of the TV terminal to be confusing.
  • a second embodiment of the smart television-based audio playing method of the present invention is proposed based on the first embodiment of the invention based on a smart television-based audio playing method.
  • the smart TV-based audio playing method further includes:
  • Step S40 detecting whether the audio data currently sent by the terminal is currently playing
  • Step S50 When it is detected that the audio data currently sent by the terminal is currently playing, continue to play the audio data;
  • the user may send the voice file to the TV terminal multiple times during the process of watching the television program, before playing the voice file received this time, it may first detect whether one or more audio data received last time has been Playback is complete, if you are playing, you can continue to play the audio file.
  • step S30 is performed.
  • the smart TV-based audio playing method further includes:
  • the audio data to be played When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
  • the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
  • step S30 when the stored audio data to be played is detected, in the step of playing the stored audio data to be played, if the stored audio data to be played is detected as the audio data included in the plurality of simultaneously received voice files The method of playing the stored audio data to be played back is performed in accordance with step S30.
  • the to-be-played audio data is sequentially played in the stored time sequence, and after detecting that the to-be-played audio data stored at the last time point is played, Playing the audio data to be played stored at the next time point, wherein the plurality of voice data received at the same time are used as an entire audio data group, and in the audio data group, the audio data is played in the order of the size of the audio data. After all the audio data sets have been played, the audio data to be played stored at the next time point is played.
  • the plurality of voice files can be regarded as an overall audio data group, in which the plurality of extracted audio data are in the order of the audio data from the smallest to the largest or the playback time of the audio data. Play in as short as long. In this way, during the process of the user watching the television program, whenever the voice file is sent to the television terminal, the audio coverage does not occur and the sound output is disordered.
  • step S20 includes:
  • the adjustment time is adjusted. It can be set by the user according to his own needs, or set a default adjustment time before the TV is shipped, for example 2-5 seconds.
  • the volume of the current program is adjusted to be muted in a proportional attenuation manner.
  • the equalization coefficient is calculated according to the adjustment duration and the current volume, and the volume is adjusted to be muted according to the calculated equal ratio coefficient.
  • the volume can be adjusted to zero during the adjustment period in accordance with other attenuation methods.
  • the smart TV-based audio playing method further includes the steps of:
  • the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  • the audio having the longest playing duration or the shortest playing duration of the plurality of voice files is used.
  • the playing duration of the data is used as the adjustment duration of the mute adjustment of the television program; during the adjustment duration, the volume ratio of the television program is attenuated to be muted.
  • a certain adjustment duration is set to avoid direct adjustment to the mute, and the user is provided with a good viewing experience.
  • the invention also proposes an audio playback device based on a smart TV.
  • FIG. 3 it is a schematic diagram of functional modules of a first embodiment of a smart television-based audio playback device according to the present invention.
  • the smart TV based audio playback device comprises:
  • the data storage module 10 is configured to extract audio data and format information corresponding to the audio data from the received voice file, if a voice file sent by multiple terminals is received at the same time in the process of playing a television program. And store it.
  • the user can establish a near-field wireless connection with a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi.
  • a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi.
  • the user can record what he wants to say and then send it to the TV terminal. Play, when there are many people watching the program on the same TV, there will be a situation where multiple audios are sent to the TV at the same time or in a short time interval.
  • receiving a plurality of voice files received by the television terminal at the same time point or within a short time interval is considered to be received simultaneously, preferably, receiving multiple times in a time interval of 0-3 seconds.
  • a voice file is spoken, it is considered to be received at the same time.
  • a control for triggering the sending of the voice command is provided, and the control has a corresponding state switch memory.
  • the state switch memory transmits the The corresponding identifier of the terminal is sent to the television end.
  • the television end may determine, according to the valid identifier, that the received voice file is from a mobile terminal that establishes a near field wireless connection, and determines to receive according to the valid identifier.
  • the voice file is a voice file that is sent by the user to trigger the corresponding control for playing on the TV side.
  • the valid identification can be used to distinguish other voice files sent to the terminal.
  • the data storage module 10 extracts the audio data and the format information corresponding to the audio data from the received voice file and stores them.
  • the mute adjustment module 20 is configured to adjust the television program to a silent mode.
  • the mute adjustment module 20 first adjusts the television program to the silent mode when playing the audio data.
  • the television terminal can adjust the mute after acquiring the audio data.
  • the module 20 directly adjusts the current program to the silent mode.
  • the mute adjustment module 20 can also gradually attenuate the volume of the current program to zero within a certain time interval.
  • the audio playing module 30 is configured to, when detecting that the format information does not include the playing duration corresponding to the audio data, sequentially playing the plurality of audio data according to the format information in an order of small to largest. Audio data.
  • the audio playback module 30 plays the audio data in order from the smallest to the largest in accordance with the size of the audio data extracted from each voice file, so as to avoid the user who has sent the smaller data waiting for the voice to play for too long.
  • the playing time may be performed in the order of receiving time. It may be understood that when playing the audio data, according to the corresponding The format information such as the channel mode is played.
  • the smart TV-based audio playback device further includes:
  • a duration detecting module configured to detect whether the format information includes a playing duration corresponding to the audio data
  • the audio playing module 30 is further configured to: when detecting that the format information does not include the playing duration corresponding to the audio data, sequentially playing the audio data according to the format information according to the format information Describe a plurality of audio data;
  • the audio playing module 30 is further configured to: when detecting that the format information includes the playing duration corresponding to the audio data, according to the format information, the playing time of the audio data is in a short to long order Playing the plurality of audio data.
  • the duration detecting module detects whether the corresponding playing duration information is included, and the format of the audio data recorded by different mobile terminals is different, so that the playing duration and the data size do not correspond to each other. Relationship, and depending on the terminal, the format information of some voice files may not include the playing duration.
  • the audio playing module 30 follows the audio data from small to large. play in order.
  • the intelligent television-based audio playback device of the present embodiment extracts audio data and corresponding format information and stores the same when receiving a plurality of audio data transmitted from a plurality of terminals simultaneously in the process of playing a television program. Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in the order of small to large.
  • the present invention silences the television program when sequentially playing a plurality of audios received simultaneously, and solves the smart television. The sound coverage occurs when multiple audios are received, which causes the audio output of the TV terminal to be confusing.
  • a second embodiment of a smart television based audio playback device of the present invention is presented based on a first embodiment of the inventive smart television based audio playback device.
  • the smart TV-based audio playback device further includes:
  • the audio detection module 40 is configured to detect whether the audio data sent by the terminal is currently playing.
  • the audio playing module 30 is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played.
  • the user Since the user sends the voice file to the television terminal multiple times during the process of watching the television program, before playing the voice file received this time, it may first detect whether one or more audio data received last time has been played. Finish, if you are playing, you can continue to play the audio file.
  • the audio playing module 30 is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data to be played is played.
  • the smart TV-based audio playback device further includes:
  • a file detecting module configured to detect, after the audio data is played, whether to store the audio data to be played before the time point of receiving the voice file sent by the multiple terminals at the same time;
  • the audio playing module 30 is further configured to: when the audio data to be played is stored, play the audio data to be played stored before the time point when the voice file sent by the multiple terminals is received;
  • the audio playing module 30 is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data to be played is played.
  • the file detection module detects that the audio data to be played is stored, if it is detected that the stored audio data to be played is the audio data included in the plurality of voice files received at the same time, the audio data is played in a small to large order.
  • the audio data to be played If the to-be-played audio data is received in a plurality of different time points, the to-be-played audio data is sequentially played in the stored time sequence, and after detecting that the to-be-played audio data stored at the last time point is played,
  • the audio playing module 30 plays the audio data to be played stored at the next time point, wherein the plurality of voice data received at the same time is used as an overall audio data group, and in the audio data group, the audio data is sequentially sequenced. Play, after the audio data set is completely played, the audio data to be played stored at the next time point is played.
  • the device of the embodiment when only one voice file sent by one terminal is received at a time, according to the received time, the next audio data is played after the audio data is completed in time sequence, and multiple voices are simultaneously received for one time.
  • the plurality of voice files can be regarded as an overall audio data group, in which the plurality of extracted audio data are in the order of the audio data from the smallest to the largest or the playback time of the audio data. Play in as short as long. In this way, during the process of the user watching the television program, whenever the voice file is sent to the television terminal, the audio coverage does not occur and the sound output is disordered.
  • a third embodiment of the smart television based audio playback device of the present invention is presented based on the first embodiment of the invention based on a smart television based audio playback device.
  • the mute adjustment module 20 is further configured to obtain an adjustment duration of the mute adjustment; and within the adjustment duration, attenuate the volume ratio of the television program to mute.
  • the adjustment time is adjusted. It can be set by the user according to his own needs, or set a default adjustment time before the TV is shipped, for example 2-5 seconds.
  • the volume of the current program is adjusted to be muted in a proportional attenuation manner.
  • the equalization coefficient is calculated according to the adjustment duration and the current volume, and the volume is adjusted to be muted according to the calculated equal ratio coefficient.
  • the mute adjustment module 20 can also adjust the volume to zero within the adjustment time period according to other attenuation methods.
  • the mute adjustment module 20 is further configured to restore the volume of the television program from mute to the original play volume within the adjustment duration after detecting that the plurality of audio data is played.
  • the mute adjustment module 20 is further configured to: when the format information of the plurality of voice files is detected to include the play duration corresponding to the audio data, the play duration of the multiple voice files is The playing duration of the audio data having the longest or the shortest playing duration is used as the adjustment duration of the mute adjustment of the television program; during the adjustment duration, the volume ratio of the television program is attenuated to be muted.
  • a certain adjustment duration is set to avoid direct adjustment to the mute, and the user is provided with a good viewing experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Receiver Circuits (AREA)

Abstract

Disclosed is a smart television-based audio playback method. The procedure of the method comprises: if voice files sent by multiple terminals are received simultaneously in the process of playing a television program, extracting audio data and format information corresponding to the audio data from the received voice files, and storing the audio data and the format information; adjusting the television program to a silent mode; and playing the multiple pieces of audio data in sequence according to the format information in ascending order of the audio data. The present invention also provides a smart television-based audio playback apparatus. The present invention resolves the technical problem of audio output chaos at the television end due to voice coverage during playback of multiple audios that are received simultaneously.

Description

基于智能电视的音频播放方法及装置  Intelligent television based audio playing method and device
技术领域Technical field
本发明涉及智能电视技术领域,尤其涉及一种基于智能电视的音频播放方法及装置。The present invention relates to the field of smart television technologies, and in particular, to a method and apparatus for playing audio based on a smart television.
背景技术Background technique
现有的智能电视机,用户在观看节目的同时,可以将自己的手机等移动终端与智能电视通过蓝牙等建立无线连接,将自己想要说的话通过手机以音频的形式发送至电视端,智能电视在接收到音频信息后直接进行播放,导致有多个终端同时向电视发送音频,或者多个终端向电视端发送音频的时间相近时,出现多个音频发生覆盖的情况,而且在播放用户发送的音频时还会与电视节目中的声音发生覆盖,导致电视端音频输出混乱,无法正常播放音频。In the existing smart TV, while watching the program, the user can establish a wireless connection between the mobile terminal such as his mobile phone and the smart TV via Bluetooth, and send the words he wants to say to the TV through the mobile phone in the form of audio. After receiving the audio information, the television directly plays the audio, so that multiple terminals simultaneously send audio to the television, or when multiple terminals send audio to the television end at similar times, multiple audio coverage occurs, and the user sends the audio. The audio will also be overwritten with the sound in the TV program, causing the audio output on the TV side to be confusing and the audio to be played normally.
发明内容Summary of the invention
本发明提供一种基于智能电视的音频播放方法及装置,其主要目的在于解决智能电视在播放同时接收到的多个音频时发生声音覆盖,导致电视端音频输出混乱的技术问题。The invention provides a method and a device for playing audio based on a smart TV. The main purpose of the invention is to solve the technical problem that a smart TV generates sound coverage when playing a plurality of audios simultaneously received, and the audio output of the television end is disordered.
为实现上述目的,本发明提供一种基于智能电视的音频播放方法,该基于智能电视的音频播放方法包括:To achieve the above object, the present invention provides a smart television-based audio playing method, and the smart television-based audio playing method includes:
当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;In the process of playing a television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
将所述电视节目调整为静音模式;Adjusting the television program to a silent mode;
检测当前是否有所述终端发送的所述音频数据正在播放;Detecting whether the audio data currently sent by the terminal is currently playing;
在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;After detecting that the audio data currently sent by the terminal is being played, continuing to play the audio data;
当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;After the audio data is played, detecting whether the audio data to be played is stored before the time point when the voice files sent by the plurality of terminals are simultaneously received;
当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
在所述待播放音频数据播放完成之后,检测所述格式信息中是否均包含有所述音频数据对应的播放时长;After the playing of the audio data to be played is completed, detecting whether the format information includes the playing duration corresponding to the audio data;
当检测到有所述格式信息未包含所述音频数据对应的播放时长时,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据;When it is detected that the format information does not include the playing duration corresponding to the audio data, sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large;
当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。When it is detected that the format information includes the play duration corresponding to the audio data, the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
优选地,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之后,所述智能电视的音频播放方法还包括步骤:Preferably, after the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, the audio playing method of the smart television further includes the steps of:
当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
为实现上述目的,本发明提供一种基于智能电视的音频播放方法,该基于智能电视的音频播放方法包括: To achieve the above object, the present invention provides a smart television-based audio playing method, and the smart television-based audio playing method includes:
当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;In the process of playing a television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
将所述电视节目调整为静音模式;Adjusting the television program to a silent mode;
按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The plurality of audio data are sequentially played according to the format information in an order of the audio data from small to large.
优选地,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之前,所述基于智能电视的音频播放方法还包括:Preferably, the smart TV-based audio playing method further includes: before the step of sequentially playing the plurality of audio data according to the format information, in the order that the audio data is in a small to large order, the method further includes:
检测所述格式信息中是否均包含有所述音频数据对应的播放时长;Detecting whether the format information includes a play duration corresponding to the audio data;
当检测到有所述格式信息未包含所述音频数据对应的播放时长时,执行所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤;When detecting that the format information does not include the playing duration corresponding to the audio data, performing the step of sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large ;
所述检测所述格式信息中是否都包含有所述音频数据对应的播放时长的步骤之后,所述基于智能电视的音频播放方法还包括:After the step of detecting whether the format information includes the playing duration corresponding to the audio data, the smart TV-based audio playing method further includes:
当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。When it is detected that the format information includes the play duration corresponding to the audio data, the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
优选地,所述当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储的步骤之后,所述基于智能电视的音频播放方法还包括步骤:Preferably, in the process of playing the television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored. After the step, the smart TV based audio playing method further comprises the steps of:
检测当前是否有所述终端发送的所述音频数据正在播放;Detecting whether the audio data currently sent by the terminal is currently playing;
在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;After detecting that the audio data currently sent by the terminal is being played, continuing to play the audio data;
当所述音频数据播放完成之后,执行按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤。After the audio data is played back, the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
优选地,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之前,所述基于智能电视的音频播放方法还包括步骤:Preferably, before the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data being small to large, the smart TV-based audio playing method further comprises the steps of:
当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;After the audio data is played, detecting whether the audio data to be played is stored before the time point when the voice files sent by the plurality of terminals are simultaneously received;
当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
在所述待播放音频数据播放完成之后,执行按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤。After the playing of the audio data to be played is completed, the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
优选地,所述将电视节目调整为静音模式的步骤包括:Preferably, the step of adjusting the television program to the silent mode comprises:
获取静音调整的调整时长;Get the adjustment time of the mute adjustment;
在所述调整时长内,将所述电视节目的音量等比衰减至静音。Within the adjustment duration, the volume ratio of the television program is attenuated to silence.
优选地,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之后,所述智能电视的音频播放方法还包括步骤:Preferably, after the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, the audio playing method of the smart television further includes the steps of:
当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
此外,为实现上述目的,本发明还提供一种基于智能电视的音频播放装置,该基于智能电视的音频播放装置包括:In addition, in order to achieve the above object, the present invention further provides a smart television-based audio playback device, the smart TV-based audio playback device comprising:
数据存储模块,用于当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;a data storage module, configured to: when receiving a voice file sent by a plurality of terminals, in the process of playing a television program, extracting audio data and format information corresponding to the audio data from the received voice file, and storage;
静音调整模块,用于将所述电视节目调整为静音模式;a mute adjustment module, configured to adjust the television program to a silent mode;
音频播放模块,用于按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。And an audio playing module, configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order of small to large.
优选地,所述基于智能电视的音频播放装置还包括:Preferably, the smart TV-based audio playback device further includes:
时长检测模块,用于检测所述格式信息中是否均包含有所述音频数据对应的播放时长;a duration detecting module, configured to detect whether the format information includes a playing duration corresponding to the audio data;
所述音频播放模块,还用于当检测到有所述格式信息未包含所述音频数据对应的播放时长时,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据;The audio playing module is further configured to: when detecting that the format information does not include a playing duration corresponding to the audio data, the playing according to the format information is sequentially performed according to the audio data in an order of small to large The plurality of audio data;
所述音频播放模块,还用于当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to: when detecting that the format information includes the playing duration corresponding to the audio data, according to the format information, the playing time of the audio data is in a short to long order. The plurality of audio data are played in sequence.
优选地,所述基于智能电视的音频播放装置还包括:Preferably, the smart TV-based audio playback device further includes:
音频检测模块,用于检测当前是否有所述终端发送的所述音频数据正在播放;An audio detection module, configured to detect whether the audio data sent by the terminal is currently playing;
所述音频播放模块,还用于在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;The audio playing module is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played;
所述音频播放模块,还用于当所述音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data is played.
优选地,所述基于智能电视的音频播放装置还包括:Preferably, the smart TV-based audio playback device further includes:
音频检测模块,用于检测当前是否有所述终端发送的所述音频数据正在播放;An audio detection module, configured to detect whether the audio data sent by the terminal is currently playing;
所述音频播放模块,还用于在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;The audio playing module is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played;
所述音频播放模块,还用于当所述音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data is played.
优选地,所述静音调整模块还用于在预设的调整时长内,将所述电视节目的音量等比衰减至静音。Preferably, the mute adjustment module is further configured to attenuate the volume ratio of the television program to be mute within a preset adjustment duration.
优选地,所述静音调整模块,还用于当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。Preferably, the mute adjustment module is further configured to restore the volume of the television program from mute to an original play volume within the adjustment duration after detecting that the plurality of audio data is played.
本发明提出的基于智能电视的音频播放方法及装置,在播放电视节目的过程中,当同时接收来自多个终端发送的多个音频数据时,提取出音频数据及其对应的格式信息并进行存储,然后,将当前的电视节目调整为静音,将上述多个音频数据按照由小至大的顺序依次播放,本发明在依次播放同时接收到的多个音频时,将电视节目静音,解决了智能电视上同时接收到的多个音频播放时发生声音覆盖,导致电视端音频输出混乱的问题。The intelligent television-based audio playing method and device provided by the present invention extracts audio data and corresponding format information and stores it when receiving a plurality of audio data transmitted from a plurality of terminals simultaneously in the process of playing a television program. Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in order from small to large. The present invention silences the television program when sequentially playing a plurality of audios simultaneously received, thereby solving the intelligence. Sound coverage occurs when multiple audios are simultaneously received on the TV, causing confusion in the audio output of the TV terminal.
附图说明DRAWINGS
图1为本发明基于智能电视的音频播放方法第一实施例的流程图;1 is a flow chart of a first embodiment of a method for playing audio based on a smart television according to the present invention;
图2为本发明基于智能电视的音频播放方法第二实施例的流程图;2 is a flowchart of a second embodiment of an audio playing method based on a smart television according to the present invention;
图3为本发明基于智能电视的音频播放装置第一实施例的功能模块示意图;3 is a schematic diagram of functional modules of a first embodiment of an audio playback device based on a smart television according to the present invention;
图4为本发明基于智能电视的音频播放装置第二实施例的功能模块示意图。4 is a schematic diagram of functional modules of a second embodiment of an audio playback device based on a smart television according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种基于智能电视的音频播放方法。The invention provides an audio playing method based on a smart TV.
参照图1所示,为本发明基于智能电视的音频播放方法第一实施例的流程图。Referring to FIG. 1 , it is a flowchart of a first embodiment of a method for playing audio based on a smart television according to the present invention.
在第一实施例中,该基于智能电视的音频播放方法包括:In a first embodiment, the smart TV based audio playing method comprises:
步骤S10,当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储。In step S10, in the process of playing the television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored.
用户可以将手机或者平板电脑等移动终端通过蓝牙或者Wi-Fi与智能电视建立近场无线连接,在观看电视节目的过程中,可以将自己想要说的话通过手机录下来后,发送至电视端进行播放,当有多人在使用同一台电视端观看节目时,会出现在同一时间点或者在很短的时间间隔内将多个音频发送至电视端进行播放的情况。在本实施例中,将电视端同一时间点接收到或者在很短的时间间隔内接收到多个语音文件都认为是同时接收到,优选地,在0-3秒的时间间隔内接收到多个语音文件时,认为是同时接收到。The user can establish a near-field wireless connection with a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi. During the process of watching the TV program, the user can record what he wants to say and then send it to the TV terminal. Play, when there are many people watching the program on the same TV, there will be a situation where multiple audios are sent to the TV at the same time or in a short time interval. In this embodiment, receiving a plurality of voice files received by the television terminal at the same time point or within a short time interval is considered to be received simultaneously, preferably, receiving multiple times in a time interval of 0-3 seconds. When a voice file is spoken, it is considered to be received at the same time.
对于移动终端来说,设置有用于触发发送语音命令的控件,该控件有对应的状态开关存储器,当用户基于该控件触发发送语音命令,以向电视端发送语音文件时,状态开关存储器发送与该终端相对应的有效标识至电视端,电视端在接收到该有效标识后,可以根据该有效标识确定接收到的语音文件来自于建立近场无线连接的移动终端,并根据该有效标识确定接收到的语音文件是由于用户触发相应的控件发送的,用于在电视端进行播放的语音文件。该有效标识可以用于将其他发送至终端的语音文件进行区分。For the mobile terminal, a control for triggering the sending of the voice command is provided, and the control has a corresponding state switch memory. When the user triggers the sending of the voice command based on the control to send the voice file to the television terminal, the state switch memory transmits the The corresponding identifier of the terminal is sent to the television end. After receiving the valid identifier, the television end may determine, according to the valid identifier, that the received voice file is from a mobile terminal that establishes a near field wireless connection, and determines to receive according to the valid identifier. The voice file is a voice file that is sent by the user to trigger the corresponding control for playing on the TV side. The valid identification can be used to distinguish other voice files sent to the terminal.
在播放电视节目的过程中,同时接收到多个终端发送的语音文件时,从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储。用户在移动终端进行录音,并发送至电视端的语音文件中包含有具体的PCM(Pulse Code Modulation,脉冲编码调制)数字音频数据,以及声道模式、采样率等格式信息,当接收到语音文件后,从上述数据中提取音频数据。由于用户使用的移动终端不同,因此录制的音频文件的格式信息可能不同,例如单声道、双声道等。When a plurality of voice files transmitted by the terminal are simultaneously received during the process of playing the television program, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored. The user records on the mobile terminal, and the voice file sent to the TV terminal contains the specific PCM (Pulse) Code Modulation, pulse code modulation) digital audio data, and format information such as channel mode, sampling rate, etc., after receiving a voice file, extract audio data from the above data. Since the mobile terminal used by the user is different, the format information of the recorded audio file may be different, such as mono, dual channel, and the like.
步骤S20,将所述电视节目调整为静音模式。In step S20, the television program is adjusted to a silent mode.
由于用户在观看的电视节目本身就有声音输出,因此在播放音频数据时,先将电视节目调整为静音模式,本实施例中,电视端可以在获取到音频数据之后,直接将当前节目调整为静音模式,在其他实施例中,可以在一定的时间间隔内将当前节目的音量逐渐衰减为零。Since the television program itself has a sound output, when the audio data is played, the television program is first adjusted to the silent mode. In this embodiment, the television terminal can directly adjust the current program to after the audio data is acquired. In the silent mode, in other embodiments, the volume of the current program can be gradually attenuated to zero within a certain time interval.
步骤S30,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。Step S30: sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large.
按照从各个语音文件中,提取出的音频数据的大小,由小至大依次将音频数据进行播放,以避免发送了较小数据的用户等待语音播放的时间过长。在其他实施例中,也可以当在预设时间间隔内接收到的多个语音文件的接收时间不同时,可以按照接收时间顺序进行播放,可以理解的是,在播放音频数据时,按照其对应的声道模式等格式信息进行播放。According to the size of the audio data extracted from each voice file, the audio data is played in order from small to large, so as to avoid that the user who sent the smaller data waits for the voice to play for too long. In other embodiments, when the receiving time of the plurality of voice files received in the preset time interval is different, the playing time may be performed in the order of receiving time. It may be understood that when playing the audio data, according to the corresponding The format information such as the channel mode is played.
进一步地,在步骤S30之前,该基于智能电视的音频播放方法还包括:Further, before the step S30, the smart TV-based audio playing method further includes:
检测所述格式信息中是否均包含有所述音频数据对应的播放时长;Detecting whether the format information includes a play duration corresponding to the audio data;
当检测到有所述格式信息未包含所述音频数据对应的播放时长时,执行所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤;When detecting that the format information does not include the playing duration corresponding to the audio data, performing the step of sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large ;
步骤S30之后,该基于智能电视的音频播放方法还包括:After step S30, the smart TV-based audio playing method further includes:
当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。When it is detected that the format information includes the play duration corresponding to the audio data, the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
从接收到的多个语音文件中提取出音频数据后,检测是否包含有对应的播放时长信息,不同移动终端录制的音频数据的格式不同,导致其播放时长与数据的大小并不是对应关系,而且根据终端的不同,有的语音文件的格式信息中可能没有包含播放时长,当检测到均包含有所述音频数据对应的播放时长时,按照音频数据由小至大的顺序播放。After extracting the audio data from the received plurality of voice files, detecting whether the corresponding playing time information is included, and the format of the audio data recorded by different mobile terminals is different, so that the playing duration and the data size are not corresponding, and Depending on the terminal, the format information of some voice files may not include the playback duration. When it is detected that the playback duration corresponding to the audio data is included, the audio data is played in ascending order.
本实施例提出的基于智能电视的音频播放方法,在播放电视节目的过程中,当同时接收来自多个终端发送的多个音频数据时,提取出音频数据及其对应的格式信息并进行存储,然后,将当前的电视节目调整为静音,将上述多个音频数据按照由小至大的顺序依次播放,本发明在依次播放同时接收到的多个音频时,将电视节目静音,解决了智能电视上接收到的多个音频播放时发生声音覆盖,导致电视端音频输出混乱的问题。The intelligent television-based audio playing method in the embodiment, in the process of playing a television program, when simultaneously receiving a plurality of audio data sent from a plurality of terminals, extracting the audio data and corresponding format information and storing the same, Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in the order of small to large. The present invention silences the television program when sequentially playing a plurality of audios received simultaneously, and solves the smart television. The sound coverage occurs when multiple audios are received, which causes the audio output of the TV terminal to be confusing.
参照图2所示,基于发明基于智能电视的音频播放方法的第一实施例提出本发明基于智能电视的音频播放方法的第二实施例。在本实施例中,在步骤S10之后,该基于智能电视的音频播放方法还包括:Referring to FIG. 2, a second embodiment of the smart television-based audio playing method of the present invention is proposed based on the first embodiment of the invention based on a smart television-based audio playing method. In this embodiment, after the step S10, the smart TV-based audio playing method further includes:
步骤S40,检测当前是否有所述终端发送的所述音频数据正在播放;Step S40, detecting whether the audio data currently sent by the terminal is currently playing;
步骤S50,在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;Step S50: When it is detected that the audio data currently sent by the terminal is currently playing, continue to play the audio data;
由于用户在观看电视节目的过程中,可能会多次向电视端发送语音文件,因此,在播放本次接收到的语音文件之前,可以先检测上次接收到的一个或者多个音频数据是否已经播放完成,如果正在播放,那么可以继续播放该音频文件。Since the user may send the voice file to the TV terminal multiple times during the process of watching the television program, before playing the voice file received this time, it may first detect whether one or more audio data received last time has been Playback is complete, if you are playing, you can continue to play the audio file.
当所述音频数据播放完成之后,执行步骤S30。After the audio data is played back, step S30 is performed.
进一步地,执行步骤S30之前,该基于智能电视的音频播放方法还包括:Further, before performing step S30, the smart TV-based audio playing method further includes:
当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;After the audio data is played, detecting whether the audio data to be played is stored before the time point when the voice files sent by the plurality of terminals are simultaneously received;
当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
在所述待播放音频数据播放完成之后,执行按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤。After the playing of the audio data to be played is completed, the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
其中,在上述当检测到存储有待播放音频数据时,播放存储的所述待播放音频数据的步骤中,如果检测到存储的待播放音频数据为同时接收到的多个语音文件中包含的音频数据时,播放存储的所述待播放音频数据的方法按照步骤S30执行。如果存储有多个不同时间点接收到的所述待播放音频数据时,按照存储的时间顺序依次播放所述待播放音频数据,在检测到上一时间点存储的待播放音频数据播放完成之后,播放下一个时间点存储的待播放音频数据,其中,将同时接收到的多个语音数据作为一个整体的音频数据组,在这个音频数据组的内部,按照音频数据的大小顺序进行播放,在该音频数据组全部播放完成之后,播放下一个时间点存储的待播放音频数据。In the above, when the stored audio data to be played is detected, in the step of playing the stored audio data to be played, if the stored audio data to be played is detected as the audio data included in the plurality of simultaneously received voice files The method of playing the stored audio data to be played back is performed in accordance with step S30. If the to-be-played audio data is received in a plurality of different time points, the to-be-played audio data is sequentially played in the stored time sequence, and after detecting that the to-be-played audio data stored at the last time point is played, Playing the audio data to be played stored at the next time point, wherein the plurality of voice data received at the same time are used as an entire audio data group, and in the audio data group, the audio data is played in the order of the size of the audio data. After all the audio data sets have been played, the audio data to be played stored at the next time point is played.
本实施例的方法,在一次只接受到一个终端发送的语音文件时,根据接收到的时间按照时间顺序,在播放完成一个音频数据之后再播放下一个音频数据,对于一次同时接收到多个语音文件的情况,可以将该多个语音文件视为一个整体的音频数据组,在该音频数据组内,将多个提取的音频数据按照音频数据由小至大的顺序或者音频数据的播放时长由短至长的顺序播放。这样,在用户观看电视节目的过程中,无论何时向电视端发送语音文件,都不会出现音频覆盖而导致声音输出出现混乱的现象。In the method of the embodiment, when only one voice file sent by one terminal is received at a time, according to the received time, the next audio data is played after the audio data is completed in time sequence, and multiple voices are simultaneously received for one time. In the case of a file, the plurality of voice files can be regarded as an overall audio data group, in which the plurality of extracted audio data are in the order of the audio data from the smallest to the largest or the playback time of the audio data. Play in as short as long. In this way, during the process of the user watching the television program, whenever the voice file is sent to the television terminal, the audio coverage does not occur and the sound output is disordered.
基于发明基于智能电视的音频播放方法的第一实施例提出本发明基于智能电视的音频播放方法的第三实施例。在本实施例中,步骤S20包括:A third embodiment of an audio playback method based on a smart television of the present invention is proposed based on the first embodiment of the invention based on a smart television-based audio playback method. In this embodiment, step S20 includes:
获取静音调整的调整时长;在所述调整时长内,将所述电视节目的音量等比衰减至静音。Obtaining an adjustment duration of the mute adjustment; and during the adjustment duration, attenuating the volume ratio of the television program to mute.
当用户正在观看电视节目时,如果突然将音量调至静音,会给观众造成不好的观看体验,因此,在进行音量调整时,可以缓慢地将音量调节至静音,本实施例中,调整时长可以由用户根据自己的需求提前设置,或者在电视机出厂之前设置一个默认的调整时长,例如2-5秒。在调节音量时,按照等比衰减的方式将当前节目的音量调节至静音。根据调整时长及当前音量计算等比系数,按照计算的到的等比系数将音量调节至静音。在其他实施例中,可以按照其他衰减方法,在调整时长内将音量调节至零。When the user is watching a TV program, if the volume is suddenly muted, the viewer will be given a bad viewing experience. Therefore, when the volume is adjusted, the volume can be slowly muted. In this embodiment, the adjustment time is adjusted. It can be set by the user according to his own needs, or set a default adjustment time before the TV is shipped, for example 2-5 seconds. When adjusting the volume, the volume of the current program is adjusted to be muted in a proportional attenuation manner. The equalization coefficient is calculated according to the adjustment duration and the current volume, and the volume is adjusted to be muted according to the calculated equal ratio coefficient. In other embodiments, the volume can be adjusted to zero during the adjustment period in accordance with other attenuation methods.
进一步地,在步骤S30之后,该基于智能电视的音频播放方法还包括步骤:Further, after step S30, the smart TV-based audio playing method further includes the steps of:
当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
在其他实施例中,当检测到所述多个语音文件的格式信息中均包含有所述音频数据对应的播放时长时,将所述多个语音文件中播放时长最长或者播放时长最短的音频数据的播放时长作为所述电视节目进行静音调整的调整时长;在所述调整时长内,将所述电视节目的音量等比衰减至静音。In other embodiments, when it is detected that the format information of the plurality of voice files includes the playing duration corresponding to the audio data, the audio having the longest playing duration or the shortest playing duration of the plurality of voice files is used. The playing duration of the data is used as the adjustment duration of the mute adjustment of the television program; during the adjustment duration, the volume ratio of the television program is attenuated to be muted.
本实施例的方法,在进行当前节目的音量调整时,设置一定的调整时长,避免直接调至静音,给用户带来良好的观看体验。In the method of the embodiment, when the volume adjustment of the current program is performed, a certain adjustment duration is set to avoid direct adjustment to the mute, and the user is provided with a good viewing experience.
本发明还提出一种基于智能电视的音频播放装置。The invention also proposes an audio playback device based on a smart TV.
参照图3所示,为本发明基于智能电视的音频播放装置第一实施例的功能模块示意图。Referring to FIG. 3, it is a schematic diagram of functional modules of a first embodiment of a smart television-based audio playback device according to the present invention.
在该实施例中,该基于智能电视的音频播放装置包括:In this embodiment, the smart TV based audio playback device comprises:
数据存储模块10,用于当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储。The data storage module 10 is configured to extract audio data and format information corresponding to the audio data from the received voice file, if a voice file sent by multiple terminals is received at the same time in the process of playing a television program. And store it.
用户可以将手机或者平板电脑等移动终端通过蓝牙或者Wi-Fi与智能电视建立近场无线连接,在观看电视节目的过程中,可以将自己想要说的话通过手机录下来后,发送至电视端进行播放,当有多人在使用同一台电视端观看节目时,会出现在同一时间点或者在很短的时间间隔内将多个音频发送至电视端进行播放的情况。在本实施例中,将电视端同一时间点接收到或者在很短的时间间隔内接收到多个语音文件都认为是同时接收到,优选地,在0-3秒的时间间隔内接收到多个语音文件时,认为是同时接收到。The user can establish a near-field wireless connection with a mobile terminal such as a mobile phone or a tablet computer via Bluetooth or Wi-Fi. During the process of watching the TV program, the user can record what he wants to say and then send it to the TV terminal. Play, when there are many people watching the program on the same TV, there will be a situation where multiple audios are sent to the TV at the same time or in a short time interval. In this embodiment, receiving a plurality of voice files received by the television terminal at the same time point or within a short time interval is considered to be received simultaneously, preferably, receiving multiple times in a time interval of 0-3 seconds. When a voice file is spoken, it is considered to be received at the same time.
对于移动终端来说,设置有用于触发发送语音命令的控件,该控件有对应的状态开关存储器,当用户基于该控件触发发送语音命令,以向电视端发送语音文件时,状态开关存储器发送与该终端相对应的有效标识至电视端,电视端在接收到该有效标识后,可以根据该有效标识确定接收到的语音文件来自于建立近场无线连接的移动终端,并根据该有效标识确定接收到的语音文件是由于用户触发相应的控件发送的,用于在电视端进行播放的语音文件。该有效标识可以用于将其他发送至终端的语音文件进行区分。For the mobile terminal, a control for triggering the sending of the voice command is provided, and the control has a corresponding state switch memory. When the user triggers the sending of the voice command based on the control to send the voice file to the television terminal, the state switch memory transmits the The corresponding identifier of the terminal is sent to the television end. After receiving the valid identifier, the television end may determine, according to the valid identifier, that the received voice file is from a mobile terminal that establishes a near field wireless connection, and determines to receive according to the valid identifier. The voice file is a voice file that is sent by the user to trigger the corresponding control for playing on the TV side. The valid identification can be used to distinguish other voice files sent to the terminal.
在播放电视节目的过程中,同时接收到多个终端发送的语音文件时,数据存储模块10从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储。用户在移动终端进行录音,并发送至电视端的语音文件中包含有具体的PCM(Pulse Code Modulation,脉冲编码调制)数字音频数据,以及声道模式、采样率等格式信息,当接收到语音文件后,从上述数据中提取音频数据。由于用户使用的移动终端不同,因此录制的音频文件的格式信息可能不同,例如单声道、双声道等。During the process of playing the television program, when the voice file sent by the plurality of terminals is received at the same time, the data storage module 10 extracts the audio data and the format information corresponding to the audio data from the received voice file and stores them. The user records on the mobile terminal, and the voice file sent to the TV terminal contains the specific PCM (Pulse) Code Modulation, pulse code modulation) digital audio data, and format information such as channel mode, sampling rate, etc., after receiving a voice file, extract audio data from the above data. Since the mobile terminal used by the user is different, the format information of the recorded audio file may be different, such as mono, dual channel, and the like.
静音调整模块20,用于将所述电视节目调整为静音模式。The mute adjustment module 20 is configured to adjust the television program to a silent mode.
由于用户在观看的电视节目本身就有声音输出,因此在播放音频数据时,静音调整模块20先将电视节目调整为静音模式,本实施例中,电视端可以在获取到音频数据之后,静音调整模块20直接将当前节目调整为静音模式,在其他实施例中,静音调整模块20也可以在一定的时间间隔内将当前节目的音量逐渐衰减为零。The mute adjustment module 20 first adjusts the television program to the silent mode when playing the audio data. In this embodiment, the television terminal can adjust the mute after acquiring the audio data. The module 20 directly adjusts the current program to the silent mode. In other embodiments, the mute adjustment module 20 can also gradually attenuate the volume of the current program to zero within a certain time interval.
音频播放模块30,用于当检测到有所述格式信息没有包含所述音频数据对应的播放时长时,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module 30 is configured to, when detecting that the format information does not include the playing duration corresponding to the audio data, sequentially playing the plurality of audio data according to the format information in an order of small to largest. Audio data.
音频播放模块30按照从各个语音文件中,提取出的音频数据的大小,由小至大依次将音频数据进行播放,以避免发送了较小数据的用户等待语音播放的时间过长。在其他实施例中,也可以当在预设时间间隔内接收到的多个语音文件的接收时间不同时,可以按照接收时间顺序进行播放,可以理解的是,在播放音频数据时,按照其对应的声道模式等格式信息进行播放。The audio playback module 30 plays the audio data in order from the smallest to the largest in accordance with the size of the audio data extracted from each voice file, so as to avoid the user who has sent the smaller data waiting for the voice to play for too long. In other embodiments, when the receiving time of the plurality of voice files received in the preset time interval is different, the playing time may be performed in the order of receiving time. It may be understood that when playing the audio data, according to the corresponding The format information such as the channel mode is played.
进一步地,该基于智能电视的音频播放装置还包括:Further, the smart TV-based audio playback device further includes:
时长检测模块,用于检测所述格式信息中是否均包含有所述音频数据对应的播放时长;a duration detecting module, configured to detect whether the format information includes a playing duration corresponding to the audio data;
音频播放模块30,还用于当检测到有所述格式信息未包含所述音频数据对应的播放时长时,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据;The audio playing module 30 is further configured to: when detecting that the format information does not include the playing duration corresponding to the audio data, sequentially playing the audio data according to the format information according to the format information Describe a plurality of audio data;
音频播放模块30,还用于当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module 30 is further configured to: when detecting that the format information includes the playing duration corresponding to the audio data, according to the format information, the playing time of the audio data is in a short to long order Playing the plurality of audio data.
从接收到的多个语音文件中提取出音频数据后,时长检测模块检测是否包含有对应的播放时长信息,不同移动终端录制的音频数据的格式不同,导致其播放时长与数据的大小并不是对应关系,而且根据终端的不同,有的语音文件的格式信息中可能没有包含播放时长,当检测到均包含有所述音频数据对应的播放时长时,音频播放模块30按照音频数据由小至大的顺序播放。After the audio data is extracted from the received multiple voice files, the duration detecting module detects whether the corresponding playing duration information is included, and the format of the audio data recorded by different mobile terminals is different, so that the playing duration and the data size do not correspond to each other. Relationship, and depending on the terminal, the format information of some voice files may not include the playing duration. When it is detected that the playing duration corresponding to the audio data is included, the audio playing module 30 follows the audio data from small to large. play in order.
本实施例提出的基于智能电视的音频播放装置,在播放电视节目的过程中,当同时接收来自多个终端发送的多个音频数据时,提取出音频数据及其对应的格式信息并进行存储,然后,将当前的电视节目调整为静音,将上述多个音频数据按照由小至大的顺序依次播放,本发明在依次播放同时接收到的多个音频时,将电视节目静音,解决了智能电视上接收到的多个音频播放时发生声音覆盖,导致电视端音频输出混乱的问题。The intelligent television-based audio playback device of the present embodiment extracts audio data and corresponding format information and stores the same when receiving a plurality of audio data transmitted from a plurality of terminals simultaneously in the process of playing a television program. Then, the current television program is adjusted to be mute, and the plurality of audio data are sequentially played in the order of small to large. The present invention silences the television program when sequentially playing a plurality of audios received simultaneously, and solves the smart television. The sound coverage occurs when multiple audios are received, which causes the audio output of the TV terminal to be confusing.
参照图4所示,基于发明基于智能电视的音频播放装置的第一实施例提出本发明基于智能电视的音频播放装置的第二实施例。在本实施例中,该基于智能电视的音频播放装置还包括:Referring to Figure 4, a second embodiment of a smart television based audio playback device of the present invention is presented based on a first embodiment of the inventive smart television based audio playback device. In this embodiment, the smart TV-based audio playback device further includes:
音频检测模块40,用于检测当前是否有所述终端发送的所述音频数据正在播放。The audio detection module 40 is configured to detect whether the audio data sent by the terminal is currently playing.
音频播放模块30,还用于在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据。The audio playing module 30 is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played.
由于用户在观看电视节目的过程中,会多次向电视端发送语音文件,因此,在播放本次接收到的语音文件之前,可以先检测上次接收到的一个或者多个音频数据是否已经播放完成,如果正在播放,那么可以继续播放该音频文件。Since the user sends the voice file to the television terminal multiple times during the process of watching the television program, before playing the voice file received this time, it may first detect whether one or more audio data received last time has been played. Finish, if you are playing, you can continue to play the audio file.
音频播放模块30,还用于在所述待播放音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module 30 is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data to be played is played.
进一步地,该基于智能电视的音频播放装置还包括:Further, the smart TV-based audio playback device further includes:
文件检测模块,用于当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;a file detecting module, configured to detect, after the audio data is played, whether to store the audio data to be played before the time point of receiving the voice file sent by the multiple terminals at the same time;
音频播放模块30,还用于当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;The audio playing module 30 is further configured to: when the audio data to be played is stored, play the audio data to be played stored before the time point when the voice file sent by the multiple terminals is received;
音频播放模块30,还用于在所述待播放音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module 30 is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data to be played is played.
其中,在文件检测模块检测到存储有待播放音频数据时,如果检测到存储的待播放音频数据为同时接收到的多个语音文件中包含的音频数据时,按照音频数据由小至大的顺序播放所述待播放音频数据。如果存储有多个不同时间点接收到的所述待播放音频数据时,按照存储的时间顺序依次播放所述待播放音频数据,在检测到上一时间点存储的待播放音频数据播放完成之后,音频播放模块30播放下一个时间点存储的待播放音频数据,其中,将同时接收到的多个语音数据作为一个整体的音频数据组,在这个音频数据组的内部,按照音频数据的大小顺序进行播放,在该音频数据组全部播放完成之后,播放下一个时间点存储的待播放音频数据。When the file detection module detects that the audio data to be played is stored, if it is detected that the stored audio data to be played is the audio data included in the plurality of voice files received at the same time, the audio data is played in a small to large order. The audio data to be played. If the to-be-played audio data is received in a plurality of different time points, the to-be-played audio data is sequentially played in the stored time sequence, and after detecting that the to-be-played audio data stored at the last time point is played, The audio playing module 30 plays the audio data to be played stored at the next time point, wherein the plurality of voice data received at the same time is used as an overall audio data group, and in the audio data group, the audio data is sequentially sequenced. Play, after the audio data set is completely played, the audio data to be played stored at the next time point is played.
本实施例的装置,在一次只接受到一个终端发送的语音文件时,根据接收到的时间按照时间顺序,在播放完成一个音频数据之后再播放下一个音频数据,对于一次同时接收到多个语音文件的情况,可以将该多个语音文件视为一个整体的音频数据组,在该音频数据组内,将多个提取的音频数据按照音频数据由小至大的顺序或者音频数据的播放时长由短至长的顺序播放。这样,在用户观看电视节目的过程中,无论何时向电视端发送语音文件,都不会出现音频覆盖而导致声音输出出现混乱的现象。In the device of the embodiment, when only one voice file sent by one terminal is received at a time, according to the received time, the next audio data is played after the audio data is completed in time sequence, and multiple voices are simultaneously received for one time. In the case of a file, the plurality of voice files can be regarded as an overall audio data group, in which the plurality of extracted audio data are in the order of the audio data from the smallest to the largest or the playback time of the audio data. Play in as short as long. In this way, during the process of the user watching the television program, whenever the voice file is sent to the television terminal, the audio coverage does not occur and the sound output is disordered.
基于发明基于智能电视的音频播放装置的第一实施例提出本发明基于智能电视的音频播放装置的第三实施例。在本实施例中,静音调整模块20,还用于获取静音调整的调整时长;在所述调整时长内,将所述电视节目的音量等比衰减至静音。A third embodiment of the smart television based audio playback device of the present invention is presented based on the first embodiment of the invention based on a smart television based audio playback device. In this embodiment, the mute adjustment module 20 is further configured to obtain an adjustment duration of the mute adjustment; and within the adjustment duration, attenuate the volume ratio of the television program to mute.
当用户正在观看电视节目时,如果突然将音量调至静音,会给观众造成不好的观看体验,因此,在进行音量调整时,可以缓慢地将音量调节至静音,本实施例中,调整时长可以由用户根据自己的需求提前设置,或者在电视机出厂之前设置一个默认的调整时长,例如2-5秒。在调节音量时,按照等比衰减的方式将当前节目的音量调节至静音。根据调整时长及当前音量计算等比系数,按照计算的到的等比系数将音量调节至静音。在其他实施例中,静音调整模块20也可以按照其他衰减方法,在调整时长内将音量调节至零。When the user is watching a TV program, if the volume is suddenly muted, the viewer will be given a bad viewing experience. Therefore, when the volume is adjusted, the volume can be slowly muted. In this embodiment, the adjustment time is adjusted. It can be set by the user according to his own needs, or set a default adjustment time before the TV is shipped, for example 2-5 seconds. When adjusting the volume, the volume of the current program is adjusted to be muted in a proportional attenuation manner. The equalization coefficient is calculated according to the adjustment duration and the current volume, and the volume is adjusted to be muted according to the calculated equal ratio coefficient. In other embodiments, the mute adjustment module 20 can also adjust the volume to zero within the adjustment time period according to other attenuation methods.
进一步地,静音调整模块20,还用于当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。Further, the mute adjustment module 20 is further configured to restore the volume of the television program from mute to the original play volume within the adjustment duration after detecting that the plurality of audio data is played.
在其他实施例中,静音调整模块20,还用于当检测到所述多个语音文件的格式信息中均包含有所述音频数据对应的播放时长时,将所述多个语音文件中播放时长最长或者播放时长最短的音频数据的播放时长作为所述电视节目进行静音调整的调整时长;在所述调整时长内,将所述电视节目的音量等比衰减至静音。In other embodiments, the mute adjustment module 20 is further configured to: when the format information of the plurality of voice files is detected to include the play duration corresponding to the audio data, the play duration of the multiple voice files is The playing duration of the audio data having the longest or the shortest playing duration is used as the adjustment duration of the mute adjustment of the television program; during the adjustment duration, the volume ratio of the television program is attenuated to be muted.
本实施例的装置,在进行当前节目的音量调整时,设置一定的调整时长,避免直接调至静音,给用户带来良好的观看体验。In the device of this embodiment, when the volume adjustment of the current program is performed, a certain adjustment duration is set to avoid direct adjustment to the mute, and the user is provided with a good viewing experience.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (18)

  1. 一种基于智能电视的音频播放方法,其特征在于,所述基于智能电视的音频播放方法包括:A smart television-based audio playing method, wherein the smart television-based audio playing method comprises:
    当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;In the process of playing a television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
    将所述电视节目调整为静音模式;Adjusting the television program to a silent mode;
    检测当前是否有所述终端发送的所述音频数据正在播放;Detecting whether the audio data currently sent by the terminal is currently playing;
    在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;After detecting that the audio data currently sent by the terminal is being played, continuing to play the audio data;
    当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;After the audio data is played, detecting whether the audio data to be played is stored before the time point when the voice files sent by the plurality of terminals are simultaneously received;
    当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
    在所述待播放音频数据播放完成之后,检测所述格式信息中是否均包含有所述音频数据对应的播放时长;After the playing of the audio data to be played is completed, detecting whether the format information includes the playing duration corresponding to the audio data;
    当检测到有所述格式信息未包含所述音频数据对应的播放时长时,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据;When it is detected that the format information does not include the playing duration corresponding to the audio data, sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large;
    当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。When it is detected that the format information includes the play duration corresponding to the audio data, the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
  2. 根据权利要求1所述的基于智能电视的音频播放方法,其特征在于,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之后,所述智能电视的音频播放方法还包括步骤:The smart TV-based audio playing method according to claim 1, wherein the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, The audio playing method of the smart TV further includes the steps of:
    当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  3. 一种基于智能电视的音频播放方法,其特征在于,所述基于智能电视的音频播放方法包括:A smart television-based audio playing method, wherein the smart television-based audio playing method comprises:
    当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;In the process of playing a television program, if the voice file sent by the plurality of terminals is received at the same time, the audio data and the format information corresponding to the audio data are extracted from the received voice file and stored;
    将所述电视节目调整为静音模式;Adjusting the television program to a silent mode;
    按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The plurality of audio data are sequentially played according to the format information in an order of the audio data from small to large.
  4. 根据权利要求3所述的基于智能电视的音频播放方法,其特征在于,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之前,所述基于智能电视的音频播放方法还包括:The smart TV-based audio playing method according to claim 3, wherein the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, The smart TV based audio playing method further includes:
    检测所述格式信息中是否均包含有所述音频数据对应的播放时长;Detecting whether the format information includes a play duration corresponding to the audio data;
    当检测到有所述格式信息未包含所述音频数据对应的播放时长时,执行所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤;When detecting that the format information does not include the playing duration corresponding to the audio data, performing the step of sequentially playing the plurality of audio data according to the format information according to the audio data in an order of small to large ;
    所述检测所述格式信息中是否都包含有所述音频数据对应的播放时长的步骤之后,所述基于智能电视的音频播放方法还包括:After the step of detecting whether the format information includes the playing duration corresponding to the audio data, the smart TV-based audio playing method further includes:
    当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。When it is detected that the format information includes the play duration corresponding to the audio data, the plurality of audio data are sequentially played according to the format information according to the play duration of the audio data from short to long.
  5. 根据权利要求3所述的基于智能电视的音频播放方法,其特征在于,所述当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储的步骤之后,所述基于智能电视的音频播放方法还包括步骤:The smart TV-based audio playing method according to claim 3, wherein when the plurality of voice files transmitted by the terminal are simultaneously received during the process of playing the television program, the received voice is received After the step of extracting the audio data and the format information corresponding to the audio data and storing the file, the smart TV-based audio playing method further includes the steps of:
    检测当前是否有所述终端发送的所述音频数据正在播放;Detecting whether the audio data currently sent by the terminal is currently playing;
    在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;After detecting that the audio data currently sent by the terminal is being played, continuing to play the audio data;
    当所述音频数据播放完成之后,执行按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤。After the audio data is played back, the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
  6. 根据权利要求5所述的基于智能电视的音频播放方法,其特征在于,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之前,所述基于智能电视的音频播放方法还包括步骤:The smart TV-based audio playing method according to claim 5, wherein the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, The smart TV based audio playing method further includes the steps of:
    当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;After the audio data is played, detecting whether the audio data to be played is stored before the time point when the voice files sent by the plurality of terminals are simultaneously received;
    当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;When the audio data to be played is stored, the audio data to be played stored before the time point when the voice file sent by the plurality of terminals is received is played;
    在所述待播放音频数据播放完成之后,执行按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤。After the playing of the audio data to be played is completed, the step of sequentially playing the plurality of audio data according to the format information in an order of the audio data from small to large is performed.
  7. 根据权利要求3所述的基于智能电视的音频播放方法,其特征在于,所述将电视节目调整为静音模式的步骤包括:The smart TV-based audio playing method according to claim 3, wherein the step of adjusting the television program to the silent mode comprises:
    获取静音调整的调整时长;Get the adjustment time of the mute adjustment;
    在所述调整时长内,将所述电视节目的音量等比衰减至静音。Within the adjustment duration, the volume ratio of the television program is attenuated to silence.
  8. 根据权利要求4所述的基于智能电视的音频播放方法,其特征在于,所述将电视节目调整为静音模式的步骤包括:The smart TV-based audio playing method according to claim 4, wherein the step of adjusting the television program to the silent mode comprises:
    获取静音调整的调整时长;Get the adjustment time of the mute adjustment;
    在所述调整时长内,将所述电视节目的音量等比衰减至静音。Within the adjustment duration, the volume ratio of the television program is attenuated to silence.
  9. 根据权利要求3所述的基于智能电视的音频播放方法,其特征在于,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之后,所述智能电视的音频播放方法还包括步骤:The smart TV-based audio playing method according to claim 3, wherein the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, The audio playing method of the smart TV further includes the steps of:
    当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  10. 根据权利要求7所述的基于智能电视的音频播放方法,其特征在于,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据的步骤之后,所述智能电视的音频播放方法还包括步骤:The smart television-based audio playing method according to claim 7, wherein the step of sequentially playing the plurality of audio data according to the format information in the order of the audio data from small to large, The audio playing method of the smart TV further includes the steps of:
    当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。After detecting the end of the playing of the plurality of audio data, the volume of the television program is restored from the mute to the original playing volume within the adjustment time period.
  11. 一种基于智能电视的音频播放装置,其特征在于,所述基于智能电视的音频播放装置包括:A smart television-based audio playback device, characterized in that the smart television-based audio playback device comprises:
    数据存储模块,用于当在播放电视节目的过程中,若同时接收到多个终端发送的语音文件,则从接收到的所述语音文件中提取音频数据及所述音频数据对应的格式信息并存储;a data storage module, configured to: when receiving a voice file sent by a plurality of terminals, in the process of playing a television program, extracting audio data and format information corresponding to the audio data from the received voice file, and storage;
    静音调整模块,用于将所述电视节目调整为静音模式;a mute adjustment module, configured to adjust the television program to a silent mode;
    音频播放模块,用于按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。And an audio playing module, configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order of small to large.
  12. 根据权利要求11所述的基于智能电视的音频播放装置,其特征在于,所述基于智能电视的音频播放装置还包括:The smart TV-based audio playback device of claim 11, wherein the smart TV-based audio playback device further comprises:
    时长检测模块,用于检测所述格式信息中是否均包含有所述音频数据对应的播放时长;a duration detecting module, configured to detect whether the format information includes a playing duration corresponding to the audio data;
    所述音频播放模块,还用于当检测到有所述格式信息未包含所述音频数据对应的播放时长时,所述按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据;The audio playing module is further configured to: when detecting that the format information does not include a playing duration corresponding to the audio data, the playing according to the format information is sequentially performed according to the audio data in an order of small to large The plurality of audio data;
    所述音频播放模块,还用于当检测到所述格式信息中均包含有所述音频数据对应的播放时长时,按照所述音频数据的播放时长由短至长的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to: when detecting that the format information includes the playing duration corresponding to the audio data, according to the format information, the playing time of the audio data is in a short to long order. The plurality of audio data are played in sequence.
  13. 根据权利要求11所述的基于智能电视的音频播放装置,其特征在于,所述基于智能电视的音频播放装置还包括:The smart TV-based audio playback device of claim 11, wherein the smart TV-based audio playback device further comprises:
    音频检测模块,用于检测当前是否有所述终端发送的所述音频数据正在播放;An audio detection module, configured to detect whether the audio data sent by the terminal is currently playing;
    所述音频播放模块,还用于在检测到当前有所述终端发送的所述音频数据正在播放时,继续播放所述音频数据;The audio playing module is further configured to continue playing the audio data when detecting that the audio data currently sent by the terminal is being played;
    所述音频播放模块,还用于当所述音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data is played.
  14. 根据权利要求13所述的基于智能电视的音频播放装置,其特征在于,所述基于智能电视的音频播放装置还包括:The smart TV-based audio playback device of claim 13, wherein the smart TV-based audio playback device further comprises:
    文件检测模块,用于当所述音频数据播放完成之后,检测在同时接收到多个终端发送的语音文件的时间点之前是否存储有待播放音频数据;a file detecting module, configured to detect, after the audio data is played, whether to store the audio data to be played before the time point of receiving the voice file sent by the multiple terminals at the same time;
    所述音频播放模块,还用于当检测到存储有所述待播放音频数据时,播放接收到多个终端发送的语音文件的时间点之前存储的所述待播放音频数据;The audio playing module is further configured to: when the audio data to be played is stored, play the audio data to be played stored before a time point when a voice file sent by multiple terminals is received;
    所述音频播放模块,还用于在所述待播放音频数据播放完成之后,按照所述音频数据由小至大的顺序,根据所述格式信息依次播放所述多个音频数据。The audio playing module is further configured to sequentially play the plurality of audio data according to the format information according to the audio data in an order that is small to large after the audio data to be played is played.
  15. 根据权利要求13所述的基于智能电视的音频播放装置,其特征在于,所述静音调整模块还用于在预设的调整时长内,将所述电视节目的音量等比衰减至静音。The smart TV-based audio playback device of claim 13, wherein the mute adjustment module is further configured to attenuate the volume ratio of the television program to mute within a preset adjustment time period.
  16. 根据权利要求14所述的基于智能电视的音频播放装置,其特征在于,所述静音调整模块还用于在预设的调整时长内,将所述电视节目的音量等比衰减至静音。The smart TV-based audio playback device of claim 14, wherein the mute adjustment module is further configured to attenuate the volume ratio of the television program to mute within a preset adjustment time period.
  17. 根据权利要求11所述的基于智能电视的音频播放装置,其特征在于,所述静音调整模块,还用于当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。The smart TV-based audio playback device according to claim 11, wherein the mute adjustment module is further configured to: after detecting that the playing of the plurality of audio data ends, within the adjustment time period, The volume of the TV program is restored from mute to the original playback volume.
  18. 根据权利要求15所述的基于智能电视的音频播放装置,其特征在于,所述静音调整模块,还用于当检测到所述多个音频数据播放结束之后,在所述调整时长内,将所述电视节目的音量从静音恢复至原始播放音量。The smart TV-based audio playback device according to claim 15, wherein the mute adjustment module is further configured to: after detecting that the playing of the plurality of audio data ends, within the adjustment duration, The volume of the TV program is restored from mute to the original playback volume.
PCT/CN2016/084486 2015-09-14 2016-06-02 Smart television-based audio playback method and apparatus WO2017045441A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510582780.X 2015-09-14
CN201510582780.XA CN105227979B (en) 2015-09-14 2015-09-14 Audio frequency playing method and device based on smart television

Publications (1)

Publication Number Publication Date
WO2017045441A1 true WO2017045441A1 (en) 2017-03-23

Family

ID=54996614

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084486 WO2017045441A1 (en) 2015-09-14 2016-06-02 Smart television-based audio playback method and apparatus

Country Status (2)

Country Link
CN (1) CN105227979B (en)
WO (1) WO2017045441A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157920A (en) * 2021-12-10 2022-03-08 深圳Tcl新技术有限公司 Playing method and device for displaying sign language, smart television and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227979B (en) * 2015-09-14 2019-03-29 深圳Tcl数字技术有限公司 Audio frequency playing method and device based on smart television
CN110139144B (en) * 2018-03-30 2020-10-23 电子科技大学 Television sharing method based on intelligent home
CN109275025A (en) * 2018-09-25 2019-01-25 四川长虹电器股份有限公司 The method for weakening background sound when realizing voice broadcast in smart television
CN111949818A (en) * 2020-08-14 2020-11-17 天津中新智冠信息技术有限公司 Data processing method and device, data processing equipment and storage medium
CN114501085A (en) * 2020-10-27 2022-05-13 深圳Tcl新技术有限公司 Multi-audio playing control method, intelligent terminal and storage medium
CN114461169B (en) * 2022-01-07 2024-03-29 未来穿戴技术股份有限公司 Voice playing regulation and control method and system and wearable massage equipment
CN114650383B (en) * 2022-03-16 2024-03-26 广东长虹电子有限公司 Method and device for expanding television audio interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045280A1 (en) * 2004-08-24 2006-03-02 International Business Machines Corporation System and method for hierarchical audio conflict control
CN101479800A (en) * 2006-06-06 2009-07-08 索尼爱立信移动通讯有限公司 Communication terminals and methods for prioritizing the playback of distributed multimedia files
CN103686338A (en) * 2013-08-15 2014-03-26 深圳Tcl新技术有限公司 A method for processing audio data, an apparatus thereof and a television set
CN105227979A (en) * 2015-09-14 2016-01-06 深圳Tcl数字技术有限公司 Based on audio frequency playing method and the device of intelligent television

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031049A (en) * 2006-03-03 2007-09-05 上海乐金广电电子有限公司 Method and apparatus for playing audio-fequency data and other content simultaneouslly
CN102568513B (en) * 2011-12-28 2015-05-20 北京三星通信技术研究有限公司 Audio data processing method and interacting method
CN102867525B (en) * 2012-09-07 2016-01-13 Tcl集团股份有限公司 A kind of multichannel voice frequency disposal route, audio-frequency playing terminal and apparatus for receiving audio

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045280A1 (en) * 2004-08-24 2006-03-02 International Business Machines Corporation System and method for hierarchical audio conflict control
CN101479800A (en) * 2006-06-06 2009-07-08 索尼爱立信移动通讯有限公司 Communication terminals and methods for prioritizing the playback of distributed multimedia files
CN103686338A (en) * 2013-08-15 2014-03-26 深圳Tcl新技术有限公司 A method for processing audio data, an apparatus thereof and a television set
CN105227979A (en) * 2015-09-14 2016-01-06 深圳Tcl数字技术有限公司 Based on audio frequency playing method and the device of intelligent television

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114157920A (en) * 2021-12-10 2022-03-08 深圳Tcl新技术有限公司 Playing method and device for displaying sign language, smart television and storage medium
CN114157920B (en) * 2021-12-10 2023-07-25 深圳Tcl新技术有限公司 Method and device for playing sign language, intelligent television and storage medium

Also Published As

Publication number Publication date
CN105227979A (en) 2016-01-06
CN105227979B (en) 2019-03-29

Similar Documents

Publication Publication Date Title
WO2017045441A1 (en) Smart television-based audio playback method and apparatus
WO2017143692A1 (en) Smart television and voice control method therefor
WO2018032680A1 (en) Method and system for playing audio and video
WO2017054488A1 (en) Television play control method, server and television play control system
WO2019114269A1 (en) Method for resuming playing program, television device, and computer readable storage medium
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2017020649A1 (en) Audio/video playback control method and device thereof
WO2016091011A1 (en) Subtitle switching method and device
WO2017177524A1 (en) Audio and video playing synchronization method and device
WO2017088427A1 (en) Audio output control method and device
WO2017107378A1 (en) Accelerated video data downloading method and device based on hls stream media
WO2016032021A1 (en) Apparatus and method for recognizing voice commands
WO2018028124A1 (en) Television set and signal source switching method thereof
WO2014187158A1 (en) Method, server, and terminal for controlling cloud sharing of terminal data
WO2017045435A1 (en) Method and device for controlling television playing
WO2017143690A1 (en) Echo cancellation method and device for use in voice communication
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2019114127A1 (en) Voice output method and device for air conditioner
WO2017121066A1 (en) Application program display method and system
WO2019085543A1 (en) Television system and television control method
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television
WO2017024876A1 (en) Television program broadcast method and device
WO2017080195A1 (en) Audio recognition method and device
WO2019091128A1 (en) Signal preview method for new access source and television set

Legal Events

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

Ref document number: 16845555

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 18/07/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16845555

Country of ref document: EP

Kind code of ref document: A1