WO2019128174A1 - 音频播放方法、智能电视及计算机可读存储介质 - Google Patents

音频播放方法、智能电视及计算机可读存储介质 Download PDF

Info

Publication number
WO2019128174A1
WO2019128174A1 PCT/CN2018/093747 CN2018093747W WO2019128174A1 WO 2019128174 A1 WO2019128174 A1 WO 2019128174A1 CN 2018093747 W CN2018093747 W CN 2018093747W WO 2019128174 A1 WO2019128174 A1 WO 2019128174A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart
audio
audio data
communication connection
bluetooth communication
Prior art date
Application number
PCT/CN2018/093747
Other languages
English (en)
French (fr)
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 WO2019128174A1 publication Critical patent/WO2019128174A1/zh

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/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]
    • 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/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44231Monitoring of peripheral device or external card, e.g. to detect processing problems in a handheld device or the failure of an external recording device

Definitions

  • the present application relates to the field of smart television technologies, and in particular, to an audio playing method, a smart television, and a computer readable storage medium.
  • the Bluetooth single listening function means that the user establishes a connection with the smart TV through the Bluetooth function of the smart terminal (such as a smart phone, a tablet computer, etc.), so that the smart TV plays the audio file played in the smart terminal like a speaker.
  • the smart terminal such as a smart phone, a tablet computer, etc.
  • the implementation process of the Bluetooth separate listening function is: when the smart TV and the intelligent terminal establish a connection through the Bluetooth function, the intelligent terminal transmits the audio data to the Bluetooth protocol stack through Bluetooth, and then passes the IPC (Inter-Process). Communication, inter-process communication) is transmitted to the audio system of the smart TV, and then the audio system intercepts the audio data in the Bluetooth protocol stack by means of a virtual microphone, and then transmits the audio data to the audio track, thereby playing through the speaker of the smart TV. come out. Due to the need to add a virtual microphone during the implementation of the existing Bluetooth single listening function, the audio data transmission efficiency is affected, resulting in a long sound delay time.
  • IPC Inter-Process
  • the main purpose of the present application is to provide an audio playing method, a smart television and a computer readable storage medium, which aim to improve the transmission efficiency of an audio file and reduce the sound delay time.
  • the present application provides an audio playing method, where the audio playing method includes the following steps:
  • the audio data is output to the speaker of the smart TV through the audio track for playback.
  • the method further includes:
  • the state of the separate listening interface display switch is the on state
  • the corresponding separate listening display interface is activated, and the current source of the smart TV is switched to the multimedia source, so that the audio of the smart TV currently plays the program.
  • the file will not be output to the speaker of the smart TV;
  • the method further includes:
  • the audio track is deleted, and monitoring whether the corresponding audio data is received is stopped.
  • the method includes:
  • the method before the step of establishing a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request, the method includes:
  • the present application further provides a smart television, including: a memory, a processor, and an audio playing program stored on the memory and operable on the processor, the audio
  • a smart television including: a memory, a processor, and an audio playing program stored on the memory and operable on the processor, the audio
  • the audio data is output to the speaker of the smart TV through the audio track for playback.
  • the state of the separate listening interface display switch is the on state
  • the corresponding separate listening display interface is activated, and the current source of the smart TV is switched to the multimedia source, so that the audio of the smart TV currently plays the program.
  • the file will not be output to the speaker of the smart TV;
  • the audio track is deleted, and monitoring whether the corresponding audio data is received is stopped.
  • the present application further provides a computer readable storage medium on which an audio playing program is stored, and when the audio playing program is executed by a processor, the following steps are implemented:
  • the audio data is output to the speaker of the smart TV through the audio track for playback.
  • the present application provides an audio playing method, a smart television, and a computer readable storage medium.
  • a smart TV establishes a Bluetooth communication connection with an intelligent terminal, it monitors whether an audio data transmission instruction sent by the intelligent terminal is received;
  • the audio data transmission instruction sent by the intelligent terminal is described, a corresponding audio track is created, and monitoring whether the corresponding audio data is received; when the corresponding audio data is received, the audio data is output to the The speaker of the smart TV is played.
  • the smart TV monitors whether to receive the audio data transmission instruction sent by the smart terminal; and receives the audio data transmission instruction sent by the smart terminal to create a corresponding
  • the audio track when monitoring the received audio data sent by the smart terminal, directly outputs the audio data to the speaker of the smart TV through the newly created audio track, compared to the prior art, the application does not need to add a virtual microphone first.
  • the method intercepts the received audio file, transmits it to the audio track, and then outputs it to the speaker of the smart TV for playing, thereby reducing the transmission link of the audio data in the smart television audio system, thereby improving the transmission efficiency of the audio file. Reduce sound delay time and improve user experience.
  • this application does not need to add a virtual microphone, and can also solve the problem that the separate listening function cannot coexist with other microphone applications.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of an audio playing method according to the present application.
  • FIG. 3 is a schematic flowchart of a second embodiment of an audio playing method according to the present application.
  • FIG. 4 is a schematic flowchart of a third embodiment of an audio playing method according to the present application.
  • FIG. 5 is a schematic flowchart of a fourth embodiment of an audio playing method according to the present application.
  • FIG. 6 is a schematic diagram of a refinement process of establishing a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request when receiving a Bluetooth connection request sent by the smart terminal according to an embodiment of the present application.
  • the implementation process of the Bluetooth individual listening function is: after the smart TV and the intelligent terminal establish a connection through the Bluetooth function, the intelligent terminal transmits the audio data to the Bluetooth protocol stack through the Bluetooth, and then passes the IPC (Inter-Process). Communication, inter-process communication) is transmitted to the audio system of the smart TV, and then the audio system intercepts the audio data in the Bluetooth protocol stack by means of a virtual microphone, and then transmits the audio data to the audio track, thereby playing through the speaker of the smart TV. come out. Due to the need to add a virtual microphone during the implementation of the existing Bluetooth single listening function, the audio data transmission efficiency is affected, resulting in a long sound delay time.
  • IPC Inter-Process
  • the present application provides an audio playing method, a smart television, and a computer readable storage medium.
  • a smart TV and a smart terminal establish a Bluetooth communication connection, it is monitored whether the audio data transmission sent by the smart terminal is received.
  • the smart TV monitors whether to receive the audio data transmission instruction sent by the smart terminal; and receives the audio data transmission instruction sent by the smart terminal to create a corresponding
  • the audio track when monitoring the received audio data sent by the smart terminal, directly outputs the audio data to the speaker of the smart TV through the newly created audio track, compared to the prior art, the application does not need to add a virtual microphone first.
  • the method intercepts the received audio file, transmits it to the audio track, and then outputs it to the speaker of the smart TV for playing, thereby reducing the transmission link of the audio data in the smart television audio system, thereby improving the transmission efficiency of the audio file. Reduce sound delay time and improve user experience.
  • this application does not need to add a virtual microphone, and can also solve the problem that the separate listening function cannot coexist with other microphone applications.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present application.
  • the terminal in the embodiment of the present application is a smart TV with a separate listening function.
  • the terminal may include a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display, an input unit such as a keyboard, and the optional user interface 1003 can also include a standard wired interface, a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a Wi-Fi interface).
  • the memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1005 can also optionally be a storage device independent of the aforementioned processor 1001.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • an operating system may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the background server for data communication with the background server;
  • the user interface 1003 is mainly used for connecting the client and performing data communication with the client; and
  • the processor 1001 can be used for
  • the audio player stored in the memory 1005 is called and the following operations are performed:
  • the audio data is output to the speaker of the smart TV through the audio track for playback.
  • processor 1001 can call the audio player stored in the memory 1005 and also perform the following operations:
  • processor 1001 can call the audio player stored in the memory 1005 and also perform the following operations:
  • the audio track is deleted, and monitoring whether the corresponding audio data is received is stopped.
  • processor 1001 can call the audio player stored in the memory 1005 and also perform the following operations:
  • processor 1001 can call the audio player stored in the memory 1005 and also perform the following operations:
  • the application provides an audio playing method.
  • FIG. 2 is a schematic flowchart diagram of a first embodiment of an audio playing method according to the present application.
  • the audio playing method includes:
  • Step S10 after the smart TV establishes a Bluetooth communication connection with the smart terminal, monitoring whether the audio data transmission instruction sent by the smart terminal is received;
  • the method is used to improve the transmission efficiency of the audio file in the separate listening function of the existing smart TV, reduce the sound delay time, and improve the user experience.
  • the terminal in the embodiment of the present application is a smart TV having a separate listening function.
  • the startup thread monitors whether the audio data transmission instruction sent by the smart terminal is received, that is, whether the smart phone starts to transmit audio data.
  • the smart terminal can be a Bluetooth-enabled terminal device such as a smart phone, a tablet computer, a portable computer, etc.
  • the way in which the smart TV and the smart terminal establish a Bluetooth communication connection can be: the user searches for a separate listener (or Bluetooth alone in the TV application list).
  • Listen "Function option, click to enable, trigger the separate listening function to open the command, then the smart TV starts the separate listening function when the single listening function is turned on, and turns on the Bluetooth function, so that the user can be in the smart terminal (such as smart).
  • the smart TV is detected in the Bluetooth function of the mobile phone, so that the smart TV device option is clicked to perform a pairing connection, that is, a Bluetooth connection request is sent to the smart TV, and when the smart TV receives the Bluetooth connection request, responding to the Bluetooth connection request, A Bluetooth communication connection can be established with the smart terminal.
  • the way in which the smart TV and the smart terminal establish a Bluetooth communication connection may also be: the smart TV activates the separate listening function according to the separate listening function, and after the Bluetooth function is enabled, the Bluetooth device search interface can be displayed, and the user-triggered Bluetooth is received. After the device selection instruction is connected (that is, the user selects a Bluetooth connection device), the Bluetooth connection request is sent to the Bluetooth connection device (ie, the smart terminal), and when the consent connection instruction fed back by the smart terminal is received, the smart terminal can be Establish a Bluetooth communication connection between them.
  • Step S20 when receiving the audio data transmission instruction sent by the smart terminal, creating a corresponding audio track, and monitoring whether corresponding audio data is received;
  • Step S30 when the corresponding audio data is received, the audio data is output to the speaker of the smart TV through the audio track for playing.
  • the processing of the transmission part of the audio data by the smart TV is as follows: creating a corresponding audio track and monitoring Whether the corresponding audio data is received, when the corresponding audio data is received, the audio data is output to the speaker of the smart TV through the newly created audio track for playing.
  • the smart television first creates an audio track, that is, modifies the audio system of the smart television, and then starts to start the thread according to the Bluetooth protocol service of the smart television, and cyclically monitors whether the smart is received.
  • the audio data sent by the terminal can be written to the Alsa (Advanced) through the created audio track when the corresponding audio data is received.
  • Linux Sound Architecture Advanced Linux sound architecture
  • the specific playback principle of the audio data can refer to the prior art, and will not be described here.
  • the present application by adding a new audio track, the audio data is output to the speaker of the smart TV for playing. Compared with the prior art, the present application does not need to first intercept the received audio file by adding a virtual microphone, and then transmit to the audio. The track is then output to the speaker of the smart TV for playback.
  • the application reduces the transmission of audio data in the smart television audio system, thereby improving the transmission efficiency of the audio file, reducing the sound delay time, and improving the user experience.
  • the present application does not need to add a virtual microphone, and can solve the problem that the separate listening function cannot coexist with other microphone applications (such as a voice remote controller), so the present application improves the audio playing method, making the function more intelligent and improving the user experience. .
  • a preset time may be set. If the corresponding audio data transmission instruction is not received after the preset time is exceeded, the continuous detection may be stopped, and corresponding prompt information is generated to prompt the user to start transmitting data. .
  • the embodiment of the present invention provides an audio playing method, by monitoring whether an audio data transmission instruction sent by the smart terminal is received after the smart TV establishes a Bluetooth communication connection with the smart terminal; and receiving the audio data sent by the smart terminal; When the instruction is transmitted, a corresponding audio track is created, and monitoring whether the corresponding audio data is received; when the corresponding audio data is received, the audio data is output to the speaker of the smart TV through the audio track for playing.
  • the smart TV monitors whether to receive the audio data transmission instruction sent by the smart terminal; and receives the audio data transmission instruction sent by the smart terminal to create a corresponding
  • the audio track when monitoring the received audio data sent by the smart terminal, directly outputs the audio data to the speaker of the smart TV through the newly created audio track, compared to the prior art, the application does not need to add a virtual microphone first.
  • the method intercepts the received audio file, transmits it to the audio track, and then outputs it to the speaker of the smart TV for playing, thereby reducing the transmission link of the audio data in the smart television audio system, thereby improving the transmission efficiency of the audio file. Reduce sound delay time and improve user experience.
  • this application does not need to add a virtual microphone, and can also solve the problem that the separate listening function cannot coexist with other microphone applications.
  • FIG. 3 is a schematic flowchart diagram of a second embodiment of an audio playing method according to the present application.
  • the audio playing method further includes:
  • Step S40 When receiving the audio data transmission instruction sent by the smart terminal, detecting a state of the display interface of the separate listening interface;
  • Step S51 when the state of the separate listening interface display switch is the on state, the corresponding separate listening display interface is activated, and the current source of the smart TV is switched to the multimedia source, so that the smart television is currently playing.
  • the audio file of the program is not output to the speaker of the smart TV;
  • Step S52 When the state of the single listening interface display switch is off state, corresponding prompt information is generated to prompt the user that the smart television will simultaneously play the audio file and the audio file of the currently played program.
  • the smart TV when the smart TV receives the audio data transmission instruction sent by the smart terminal, the smart TV can display the state of the display switch and the current use of the television according to the user's operation on the display interface. Perform corresponding operations to enhance the user experience.
  • the smart television when receiving the audio data transmission instruction sent by the intelligent terminal, the smart television indicates that the intelligent terminal has started transmitting the corresponding audio data through the Bluetooth function, and at this time, detecting the state of the display interface of the separate listening interface, when the display interface of the separate listening interface is displayed When the state is on, it indicates that the user only wants to listen to the audio from the smart terminal.
  • the separate listening interface broadcast can be started, so that after the system service receives the broadcast, the corresponding separate listening display interface is started, and the smart television is activated.
  • the current source is switched to the multimedia source, so that the audio file of the currently broadcasted program of the smart TV is not output to the speaker of the smart TV, so that only the received audio file is played.
  • the single listening display interface can be shared with the local walkman interface of the smart TV, thereby saving design cost.
  • the status of the individual listening interface display switch is off, it indicates that the user not only wants to listen to the audio from the smart terminal, but also wants to continue watching the currently playing program or performing other functions of the television, such as playing games or shopping, etc.
  • the prompt information such as voice information or text information, promptly and intelligently prompts the user that the smart TV will simultaneously play the audio file and the audio file of the currently played program, thereby improving the user experience.
  • the smart TV will start playing the audio file, mixing with the sound of the currently playing program of the TV or the sound produced by the current TV operation.
  • steps S40-S52 and steps S20-S30 may be performed in no particular order.
  • FIG. 4 is a schematic flowchart diagram of a third embodiment of an audio playing method according to the present application.
  • the audio playing method further includes:
  • Step S60 when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the smart TV and the smart terminal has been disconnected;
  • Step S70 When the Bluetooth communication connection between the smart TV and the smart terminal has been disconnected, the audio track is deleted, and monitoring whether the corresponding audio data is received is stopped.
  • the smart TV when the smart TV does not receive the corresponding audio data, it is detected whether the Bluetooth communication connection between the smart TV and the smart terminal has been disconnected, when the connection between the smart TV and the smart terminal has been disconnected. , delete the newly created audio track to save memory and stop detecting whether the smart TV receives the corresponding audio data.
  • the smart TV can directly exit the separate listening display interface, so that the display interface of the smart TV returns to the display interface before the individual listening function is turned on, so that the user continues to watch the original program, which can enhance the user experience.
  • corresponding prompt information such as voice information or text information
  • corresponding prompt information may be generated to remind the user of the smart TV.
  • the Bluetooth communication connection with the smart terminal has been disconnected.
  • the connection between the smart TV and the smart terminal is not disconnected, it continues to loop to detect whether the corresponding audio data is received.
  • FIG. 5 is a schematic flowchart diagram of a fourth embodiment of an audio playing method according to the present application.
  • the audio playing method further includes:
  • Step S80 when receiving the individual listening function opening instruction triggered by the user, turning on the Bluetooth function of the smart TV according to the single listening function opening instruction;
  • Step S90 When receiving the Bluetooth connection request sent by the smart terminal, establish a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request.
  • the Bluetooth function of the smart TV when the smart TV receives the individual listening function opening instruction triggered by the user, the Bluetooth function of the smart TV is turned on according to the instruction, so that the smart terminal can receive the smart TV through the Bluetooth function, and then send the Bluetooth connection request. And receiving a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request when receiving the Bluetooth connection request sent by the smart terminal.
  • the user can find the "single listen (or Bluetooth alone)" function option in the TV application list, click on to trigger the separate listening function to open the command, and then the smart TV activates the separate listening function, and turns on the Bluetooth function, so that the user
  • the smart TV can be detected in the Bluetooth function of the smart terminal (such as a smart phone), thereby clicking the smart TV device option to perform a pairing connection, that is, sending a Bluetooth connection request to the smart TV, when the smart TV receives the Bluetooth connection request
  • a Bluetooth communication connection can be established with the smart terminal.
  • FIG. 6 is a refinement process for establishing a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request when receiving a Bluetooth connection request sent by the smart terminal according to an embodiment of the present application.
  • schematic diagram. Step S90 includes:
  • Step S91 when receiving the Bluetooth connection request sent by the smart terminal, detecting whether the smart TV has established a Bluetooth communication connection with other smart terminals;
  • Step S92 if the smart TV has established a Bluetooth communication connection with other intelligent terminals, disconnect the Bluetooth communication connection between the smart TV and other intelligent terminals;
  • Step S93 in response to the Bluetooth connection request, establish a Bluetooth communication connection with the smart terminal.
  • step S93 is executed to establish a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request.
  • the smart TV before the smart TV responds to the Bluetooth connection request, the smart TV detects whether the smart TV has established a Bluetooth communication connection with other intelligent terminals when receiving the Bluetooth connection request sent by the smart terminal.
  • the smart TV has established a Bluetooth communication connection with other intelligent terminals, disconnects the Bluetooth communication connection with other intelligent terminals, and then establishes a Bluetooth communication connection with the smart terminal in response to the Bluetooth connection request. If the smart TV does not establish a Bluetooth communication connection with other smart terminals, directly respond to the Bluetooth connection request and establish a Bluetooth communication connection with the smart terminal.
  • the manner in which the Bluetooth communication connection is established between the smart TV and the smart terminal may also be: the smart TV can display the separate listening function according to the separate listening function opening command, and after the Bluetooth function is enabled, the smart television can display
  • the Bluetooth device search interface sends a Bluetooth connection request to the Bluetooth connection device (ie, the smart terminal) after receiving the Bluetooth connection device selection command triggered by the user (ie, the user selects a Bluetooth connection device), and receives the feedback from the smart terminal.
  • a Bluetooth communication connection can be established with the smart terminal.
  • the present application also provides a smart television including a memory, a processor, and an audio playing program stored on the memory and operable on the processor, when the audio playing program is executed by the processor.
  • a smart television including a memory, a processor, and an audio playing program stored on the memory and operable on the processor, when the audio playing program is executed by the processor.
  • the present application further provides a computer readable storage medium having an audio playback program stored thereon, the audio playback program being executed by a processor to implement the audio playback method according to any of the above embodiments. step.
  • the technical solution of the present application which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the various embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请公开了一种音频播放方法。该音频播放方法包括:当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。本申请还公开了一种智能电视及计算机可读存储介质。本申请可提高音频文件的传输效率,缩减声音延迟时间。

Description

音频播放方法、智能电视及计算机可读存储介质
本申请要求于2017年12月28日提交中国专利局、申请号为201711456864.4、申请名称为“音频播放方法、智能电视及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及智能电视技术领域,尤其涉及一种音频播放方法、智能电视及计算机可读存储介质。
背景技术
随着智能电视和蓝牙技术的逐渐成熟,基于智能电视的蓝牙单独听功能越来越受用户的喜欢。蓝牙单独听功能是指用户通过智能终端(如智能手机、平板电脑等)的蓝牙功能与智能电视之间建立连接,使得智能电视如音箱一样播放智能终端中播放的音频文件。
目前,蓝牙单独听功能的实现过程为:当智能电视与智能终端通过蓝牙功能建立连接后,智能终端会将音频数据通过蓝牙传输到蓝牙协议栈,再通过IPC(Inter-Process Communication,进程间通信)方式传送到智能电视的音频系统,然后音频系统通过虚拟麦克风方式拦截到蓝牙协议栈中的音频数据,然后再将此音频数据传送给音频轨道,进而通过智能电视的喇叭播放出来。由于现有蓝牙单独听功能的实现过程中需要添加虚拟麦克风,会影响音频数据传输效率,导致声音延迟时间较长。
申请内容
本申请的主要目的在于提供一种音频播放方法、智能电视及计算机可读存储介质,旨在提高音频文件的传输效率,缩减声音延迟时间。
为实现上述目的,本申请提供一种音频播放方法,所述音频播放方法包括以下步骤:
当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
可选地,所述当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令的步骤之后,还包括:
当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
可选地,所述监测是否接收到对应的音频数据的步骤之后,还包括:
当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
可选地,所述当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令的步骤之前,包括:
当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
可选地,所述响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接的步骤之前,包括:
检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
此外,为实现上述目的,本申请还提供一种智能电视,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音频播放程序,所述音频播放程序被所述处理器执行时实现以下步骤:
当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
可选地,所述音频播放程序被所述处理器执行时还实现以下步骤:
当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
可选地,所述音频播放程序被所述处理器执行时还实现以下步骤:
当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
可选地,所述音频播放程序被所述处理器执行时还实现以下步骤:
当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有音频播放程序,所述音频播放程序被处理器执行时实现以下步骤:
当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
本申请提供一种音频播放方法、智能电视及计算机可读存储介质,通过当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。通过上述方式,本申请中当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;在接收到所述智能终端发送的音频数据传输指令创建对应的音频轨道,进而在监测接收到智能终端发送的音频数据时,直接通过该新建的音频轨道将音频数据输出到智能电视的喇叭进行播放,相比于现有技术,本申请无需先通过添加虚拟麦克风方式拦截到接收到的音频文件,再传送到音频轨道中,进而再输出到智能电视的喇叭进行播放,减少了音频数据在智能电视音频系统中的传输环节,从而可提高音频文件的传输效率,缩减声音延迟时间,改善用户体验。此外,本申请无需添加虚拟麦克风,还可以解决单独听功能与其他麦克风应用无法共存的问题。
附图说明
图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图;
图2为本申请音频播放方法第一实施例的流程示意图;
图3为本申请音频播放方法第二实施例的流程示意图;
图4为本申请音频播放方法第三实施例的流程示意图;
图5为本申请音频播放方法第四实施例的流程示意图;
图6为本申请实施例中当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接的细化流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
在现有技术中,蓝牙单独听功能的实现过程为:当智能电视与智能终端通过蓝牙功能建立连接后,智能终端会将音频数据通过蓝牙传输到蓝牙协议栈,再通过IPC(Inter-Process Communication,进程间通信)方式传送到智能电视的音频系统,然后音频系统通过虚拟麦克风方式拦截到蓝牙协议栈中的音频数据,然后再将此音频数据传送给音频轨道,进而通过智能电视的喇叭播放出来。由于现有蓝牙单独听功能的实现过程中需要添加虚拟麦克风,会影响音频数据传输效率,导致声音延迟时间较长。
为了解决上述技术问题,本申请提供一种音频播放方法、智能电视及计算机可读存储介质,通过当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。通过上述方式,本申请中当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;在接收到所述智能终端发送的音频数据传输指令创建对应的音频轨道,进而在监测接收到智能终端发送的音频数据时,直接通过该新建的音频轨道将音频数据输出到智能电视的喇叭进行播放,相比于现有技术,本申请无需先通过添加虚拟麦克风方式拦截到接收到的音频文件,再传送到音频轨道中,进而再输出到智能电视的喇叭进行播放,减少了音频数据在智能电视音频系统中的传输环节,从而可提高音频文件的传输效率,缩减声音延迟时间,改善用户体验。此外,本申请无需添加虚拟麦克风,还可以解决单独听功能与其他麦克风应用无法共存的问题。
请参阅图1,图1为本申请实施例方案涉及的硬件运行环境的终端结构示意图。
本申请实施例终端为具有单独听功能的智能电视。
如图1所示,该终端可以包括:处理器1001,例如CPU,通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如Wi-Fi接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及音频播放程序。
在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端,与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的音频播放程序,并执行以下操作:
当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
进一步地,处理器1001可以调用存储器1005中存储的音频播放程序,还执行以下操作:
当接收到所述智能终端发送的音频数据传输指令时,根据所述音频数据传输指令检测单独听界面显示开关的状态;
当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
进一步地,处理器1001可以调用存储器1005中存储的音频播放程序,还执行以下操作:
当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
进一步地,处理器1001可以调用存储器1005中存储的音频播放程序,还执行以下操作:
当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
进一步地,处理器1001可以调用存储器1005中存储的音频播放程序,还执行以下操作:
检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
基于上述硬件结构,提出本申请音频播放方法实施例。
本申请提供一种音频播放方法。
请参阅图2,图2为本申请音频播放方法第一实施例的流程示意图。
在本申请实施例中,该音频播放方法包括:
步骤S10,当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
在本申请实施例中,该方法用于提高现有智能电视的单独听功能中音频文件的传输效率,缩减声音延迟时间,提升用户体验。本申请实施例的终端为具有单独听功能的智能电视。
在本申请实施例中,当智能电视与智能终端建立蓝牙通讯连接后,启动线程监测是否接收到该智能终端发送的音频数据传输指令,即监测智能手机是否开始传输音频数据。其中,智能终端可以为智能手机、平板电脑、便携计算机等具有蓝牙功能的终端设备,智能电视与智能终端建立蓝牙通讯连接的方式可以为:用户在电视应用列表里查找“单独听(或蓝牙单独听)”功能选项,点击开启,从而触发单独听功能开启指令,然后智能电视在接收到该单独听功能开启指令时,启动单独听功能,并开启蓝牙功能,使得用户可以在智能终端(如智能手机)的蓝牙功能中检测到该智能电视,从而点击该智能电视设备选项进行配对连接,即向该智能电视发送蓝牙连接请求,当智能电视接收到该蓝牙连接请求时,响应该蓝牙连接请求,即可与该智能终端之间建立蓝牙通讯连接。当然,智能电视与智能终端建立蓝牙通讯连接的方式还可以为:智能电视在根据单独听功能开启指令启动单独听功能,并开启蓝牙功能之后,可以显示蓝牙设备搜索界面,在接收用户触发的蓝牙连接设备选择指令(即用户选择某一蓝牙连接设备)之后,向该蓝牙连接设备(即智能终端)发送蓝牙连接请求,当接收到该智能终端反馈的同意连接指令时,即可与该智能终端之间建立蓝牙通讯连接。
步骤S20,当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
步骤S30,当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
当接收到智能终端发送的音频数据传输指令时,表明智能终端已开始通过蓝牙功能传输对应的音频数据,此时,智能电视对于音频数据的传输部分的处理如下:创建对应的音频轨道,并监测是否有接收到对应的音频数据,当接收到对应的音频数据时,通过新建的音频轨道将音频数据输出到所述智能电视的喇叭进行播放。具体的,智能电视在接收到智能终端发送的音频数据传输指令时,首先创建音频轨道,即修改智能电视的音频系统,然后根据智能电视的蓝牙协议服务开始启动线程,循环监测是否有接收到智能终端发送的音频数据,当接收到对应的音频数据时,可以通过创建的音频轨道将音频数据写入到Alsa(Advanced Linux Sound Architecture,高级Linux声音架构)输出声卡节点,进而输出到智能电视的喇叭进行播放,其中,音频数据的具体播放原理可参照现有技术,此处不作赘述。在本申请中,通过新建音频轨道,将音频数据输出到智能电视的喇叭进行播放,相比于现有技术,本申请无需先通过添加虚拟麦克风方式拦截到接收到的音频文件,再传送到音频轨道中,进而再输出到智能电视的喇叭进行播放,因此,本申请减少了音频数据在智能电视音频系统中的传输环节,从而可提高音频文件的传输效率,缩减声音延迟时间,改善用户体验。此外,本申请无需添加虚拟麦克风,还可以解决单独听功能与其他麦克风应用(例如语音遥控器)无法共存的问题,因此本申请改进了音频播放方法,使该功能更智能化,可提升用户体验。
此外,需要说明的是,当未接收到所述智能终端发送的音频数据传输指令时,则继续进行监测。当然,在具体实施例中,可以设定一个预设时间,如超过预设时间仍未接收到对应的音频数据传输指令,可停止继续检测,并生成对应的提示信息,以提示用户开始传输数据。
本申请实施例提供一种音频播放方法,通过当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。通过上述方式,本申请中当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;在接收到所述智能终端发送的音频数据传输指令创建对应的音频轨道,进而在监测接收到智能终端发送的音频数据时,直接通过该新建的音频轨道将音频数据输出到智能电视的喇叭进行播放,相比于现有技术,本申请无需先通过添加虚拟麦克风方式拦截到接收到的音频文件,再传送到音频轨道中,进而再输出到智能电视的喇叭进行播放,减少了音频数据在智能电视音频系统中的传输环节,从而可提高音频文件的传输效率,缩减声音延迟时间,改善用户体验。此外,本申请无需添加虚拟麦克风,还可以解决单独听功能与其他麦克风应用无法共存的问题。
进一步的,请参阅图3,图3为本申请音频播放方法第二实施例的流程示意图。
基于图2所示的第一实施例,在步骤S10之后,该音频播放方法还包括:
步骤S40,当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
步骤S51,当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
步骤S52,当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
在本申请实施例中介绍了智能电视在接收到智能终端发送的音频数据传输指令时,对于显示界面部分的处理,智能电视可根据用户对于单独听界面显示开关的设置状态及电视当前使用情况,进行对应的操作,以提升用户的使用体验。具体的,智能电视在接收到智能终端发送的音频数据传输指令时,表明智能终端已开始通过蓝牙功能传输对应的音频数据,此时则检测单独听界面显示开关的状态,当单独听界面显示开关的状态为开启状态时,表明用户只想听来自智能终端的音频,此时可启动单独听界面广播,使得系统服务接收到该广播后,启动对应的单独听显示界面,并将该智能电视的当前信源切换至多媒体信源,使得智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭,从而只播放接收到的音频文件。需要说明的是,该单独听显示界面可与智能电视的本地随身听界面共用,从而节省设计成本。当单独听界面显示开关的状态为关闭状态时,表明用户不仅想听来自与智能终端的音频,还希望继续观赏当前播放节目或执行电视其他功能,例如玩游戏或购物等,此时可生成对应的提示信息,例如语音信息或文字信息,从而友善、智能地提示用户该智能电视将同时播放所述音频文件和当前播放节目的音频文件,进而改善用户的使用体验。此时,智能电视将会开始播放该音频文件,与电视当前播放节目的声音或当前电视操作产生的声音相混合。
需要说明的是,步骤S40-S52与步骤S20-S30可以不分先后顺序执行。
进一步的,请参阅图4,图4为本申请音频播放方法第三实施例的流程示意图。
基于图2所示的第一实施例,在步骤S20之后,该音频播放方法还包括:
步骤S60,当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
步骤S70,当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
在本申请实施例中,当智能电视未接收到对应的音频数据时,检测智能电视与智能终端之间的蓝牙通讯连接是否已经断开,当智能电视与智能终端之间的连接已经断开时,则删除新建的音频轨道,以节省内存,并停止检测是否智能电视是否接收到对应的音频数据。此时,智能电视可以直接退出单独听显示界面,使得智能电视的显示界面返回至开启单独听功能之前的显示界面,使得用户继续观看原来的节目,可提升用户体验。当然,在具体实施例中,在删除新建的音频轨道,并停止检测是否智能电视是否接收到对应的音频数据之后,还可以生成对应的提示信息,例如语音信息或者文字信息,以提醒用户智能电视与智能终端之间的蓝牙通讯连接已断开。此外,当智能电视与智能终端之间的连接未断开时,则继续循环检测是否接收到对应的音频数据。
进一步的,请参阅图5,图5为本申请音频播放方法第四实施例的流程示意图。
基于图2所示的第一实施例,在步骤S10之前,该音频播放方法还包括:
步骤S80,当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
步骤S90,当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
在本申请实施例中,当智能电视接收到用户触发的单独听功能开启指令时,根据该指令开启智能电视的蓝牙功能,使得智能终端能通过蓝牙功能收到该智能电视,进而发送蓝牙连接请求,当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。具体的,用户可以在电视应用列表里查找“单独听(或蓝牙单独听)”功能选项,点击开启,从而触发单独听功能开启指令,然后智能电视启动单独听功能,并开启蓝牙功能,使得用户可以在智能终端(如智能手机)的蓝牙功能中检测到该智能电视,从而点击该智能电视设备选项进行配对连接,即向该智能电视发送蓝牙连接请求,当智能电视接收到该蓝牙连接请求时,响应该蓝牙连接请求,即可与该智能终端之间建立蓝牙通讯连接。
具体的,请参阅图6,图6为本申请实施例中当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接的细化流程示意图。步骤S90包括:
步骤S91,当接收到所述智能终端发送的蓝牙连接请求时,检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
步骤S92,若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
步骤S93,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤S93:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
在本申请实施例中,在智能电视响应该蓝牙连接请求之前,智能电视会在接收到智能终端发送的蓝牙连接请求时,先检测该智能电视是否已与其他智能终端建立蓝牙通讯连接,若该智能电视已与其他智能终端建立了蓝牙通讯连接,则断开与其他智能终端之间的蓝牙通讯连接,然后响应该蓝牙连接请求,与该智能终端建立蓝牙通讯连接。若该智能电视未与其他智能终端建立蓝牙通讯连接,则直接响应该蓝牙连接请求,与该智能终端建立蓝牙通讯连接。
需要说明的是,在具体实施例中,智能电视与智能终端之间建立蓝牙通讯连接的方式还可以为:智能电视在根据单独听功能开启指令启动单独听功能,并开启蓝牙功能之后,可以显示蓝牙设备搜索界面,在接收用户触发的蓝牙连接设备选择指令(即用户选择某一蓝牙连接设备)之后,向该蓝牙连接设备(即智能终端)发送蓝牙连接请求,当接收到该智能终端反馈的同意连接指令时,即可与该智能终端之间建立蓝牙通讯连接。
本申请还提供一种智能电视,该智能电视包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音频播放程序,所述音频播放程序被所述处理器执行时实现如以上任一项实施例所述的音频播放方法的步骤。
本申请智能电视的具体实施例与上述音频播放方法各实施例基本相同,在此不作赘述。
本申请还提供一种计算机可读存储介质,该计算机可读存储介质上存储有音频播放程序,所述音频播放程序被处理器执行时实现如以上任一项实施例所述的音频播放方法的步骤。
本申请计算机可读存储介质的具体实施例与上述音频播放方法各实施例基本相同,在此不作赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (15)

  1. 一种音频播放方法,其中,所述音频播放方法包括以下步骤:
    当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
    当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
    当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
  2. 如权利要求1所述的音频播放方法,其中,所述当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令的步骤之后,还包括:
    当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
    当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
    当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
  3. 如权利要求1所述的音频播放方法,其中,所述监测是否接收到对应的音频数据的步骤之后,还包括:
    当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
    当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
  4. 如权利要求1所述的音频播放方法,其中,所述当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令的步骤之前,包括:
    当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
    当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
  5. 如权利要求4所述的音频播放方法,其中,所述响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接的步骤之前,包括:
    检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
    若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
    若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
  6. 一种智能电视,其中,所述智能电视包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的音频播放程序,所述音频播放程序被所述处理器执行时实现以下步骤:
    当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
    当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
    当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
  7. 如权利要求6所述的智能电视,其中,所述音频播放程序被所述处理器执行时还实现以下步骤:
    当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
    当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
    当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
  8. 如权利要求6所述的智能电视,其中,所述音频播放程序被所述处理器执行时还实现以下步骤:
    当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
    当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
  9. 如权利要求6所述的智能电视,其中,所述音频播放程序被所述处理器执行时还实现以下步骤:
    当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
    当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
  10. 如权利要求9所述的智能电视,其中,所述音频播放程序被所述处理器执行时还实现以下步骤:
    检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
    若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
    若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
  11. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有音频播放程序,所述音频播放程序被处理器执行时实现以下步骤:
    当智能电视与智能终端建立蓝牙通讯连接后,监测是否接收到所述智能终端发送的音频数据传输指令;
    当接收到所述智能终端发送的音频数据传输指令时,创建对应的音频轨道,并监测是否接收到对应的音频数据;
    当接收到对应的音频数据时,通过所述音频轨道将所述音频数据输出到所述智能电视的喇叭进行播放。
  12. 如权利要求11所述的计算机可读存储介质,其中,所述音频播放程序被处理器执行时还实现以下步骤:
    当接收到所述智能终端发送的音频数据传输指令时,检测单独听界面显示开关的状态;
    当所述单独听界面显示开关的状态为开启状态时,则启动对应的单独听显示界面,并将所述智能电视的当前信源切换至多媒体信源,使得所述智能电视当前播放节目的音频文件不会输出到所述智能电视的喇叭;
    当所述单独听界面显示开关的状态为关闭状态时,则生成对应的提示信息,以提示用户所述智能电视将同时播放所述音频文件和当前播放节目的音频文件。
  13. 如权利要求11所述的计算机可读存储介质,其中,所述音频播放程序被处理器执行时还实现以下步骤:
    当未接收到对应的音频数据时,则检测所述智能电视与智能终端之间的蓝牙通讯连接是否已断开;
    当所述智能电视与智能终端之间的蓝牙通讯连接已断开时,则删除所述音频轨道,并停止监测是否接收到对应的音频数据。
  14. 如权利要求11所述的计算机可读存储介质,其中,所述音频播放程序被处理器执行时还实现以下步骤:
    当接收到用户触发的单独听功能开启指令时,根据所述单独听功能开启指令开启所述智能电视的蓝牙功能;
    当接收到所述智能终端发送的蓝牙连接请求时,响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
  15. 如权利要求14所述的计算机可读存储介质,其中,所述音频播放程序被处理器执行时还实现以下步骤:
    检测所述智能电视是否已与其他智能终端建立蓝牙通讯连接;
    若所述智能电视已与其他智能终端建立蓝牙通讯连接,则断开所述智能电视与其他智能终端之间的蓝牙通讯连接;
    若所述智能电视未与其他智能终端建立蓝牙通讯连接,则执行步骤:响应所述蓝牙连接请求,与所述智能终端建立蓝牙通讯连接。
PCT/CN2018/093747 2017-12-28 2018-06-29 音频播放方法、智能电视及计算机可读存储介质 WO2019128174A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711456864.4A CN108184164B (zh) 2017-12-28 2017-12-28 音频播放方法、智能电视及计算机可读存储介质
CN201711456864.4 2017-12-28

Publications (1)

Publication Number Publication Date
WO2019128174A1 true WO2019128174A1 (zh) 2019-07-04

Family

ID=62548404

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093747 WO2019128174A1 (zh) 2017-12-28 2018-06-29 音频播放方法、智能电视及计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN108184164B (zh)
WO (1) WO2019128174A1 (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184164B (zh) * 2017-12-28 2021-06-11 深圳Tcl新技术有限公司 音频播放方法、智能电视及计算机可读存储介质
US11190836B2 (en) 2018-12-20 2021-11-30 Hisense Visual Technology Co., Ltd. Audio playing and transmitting methods and apparatuses
CN111355996A (zh) * 2018-12-20 2020-06-30 海信视像科技股份有限公司 一种音频播放方法及计算设备
CN110062265A (zh) * 2019-06-05 2019-07-26 甘肃省冬果新能源科技有限公司 一种蓝牙音乐接收播放电视机
CN111510754A (zh) * 2020-04-27 2020-08-07 四川长虹电器股份有限公司 一种降低智能电视外接蓝牙音箱声音延迟的方法
CN112004146A (zh) * 2020-08-18 2020-11-27 深圳创维-Rgb电子有限公司 音频的播放方法、系统、电视和存储介质
CN112333533B (zh) * 2020-09-07 2023-12-05 深圳Tcl新技术有限公司 播放设备的选择方法、装置、设备及计算机可读存储介质
CN112637647A (zh) * 2020-12-10 2021-04-09 深圳市鼎盛光电有限公司 音频播放方法、装置、智能电视及计算机可读存储介质
CN112866791A (zh) * 2021-01-13 2021-05-28 深圳创维-Rgb电子有限公司 智能电视控制方法、装置、智能电视和可读存储介质
CN113672757B (zh) * 2021-08-23 2024-01-16 北京字跳网络技术有限公司 一种音频播放方法及装置
CN113891149B (zh) * 2021-09-10 2024-03-12 深圳创维-Rgb电子有限公司 实现外接音响功能的显示设备、方法、系统以及存储介质
CN114360232B (zh) * 2021-12-10 2022-11-11 南昌航天广信科技有限责任公司 采集器开启控制方法、系统、计算机及可读存储介质
CN114791156A (zh) * 2022-03-09 2022-07-26 海信空调有限公司 空调器及其数据传输方法
CN114630286A (zh) * 2022-03-22 2022-06-14 南昌航天广信科技有限责任公司 广播播报方法、系统、计算机及可读存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060074369A (ko) * 2004-12-27 2006-07-03 엘지전자 주식회사 이동단말기를 이용한 티브에서의 동영상 재생 장치
CN105451070A (zh) * 2015-11-16 2016-03-30 深圳Tcl数字技术有限公司 电视机控制方法及装置
CN105635798A (zh) * 2015-12-29 2016-06-01 福州瑞芯微电子股份有限公司 一种基于异构无线音频的立体声实现方法及系统
CN105763936A (zh) * 2016-04-19 2016-07-13 深圳市酷开网络科技有限公司 播放音频的方法及装置
CN107509092A (zh) * 2017-09-07 2017-12-22 深圳创维数字技术有限公司 机顶盒实时播放音频的方法、机顶盒、终端以及存储介质
CN108184164A (zh) * 2017-12-28 2018-06-19 深圳Tcl新技术有限公司 音频播放方法、智能电视及计算机可读存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102610267B (zh) * 2012-03-16 2014-09-03 广东步步高电子工业有限公司 一种改善播放系统音频播放质量的方法
CN102768846B (zh) * 2012-07-20 2015-12-16 Tcl集团股份有限公司 一种音频播放方法、装置及终端
CN106161724A (zh) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 音频输出控制方法及装置
CN106454506B (zh) * 2016-11-15 2019-05-07 四川长虹电器股份有限公司 智能电视多窗口环境下实现音频路由控制的方法
CN106792141B (zh) * 2016-12-12 2019-12-03 深圳Tcl数字技术有限公司 电视机音频的播放控制方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060074369A (ko) * 2004-12-27 2006-07-03 엘지전자 주식회사 이동단말기를 이용한 티브에서의 동영상 재생 장치
CN105451070A (zh) * 2015-11-16 2016-03-30 深圳Tcl数字技术有限公司 电视机控制方法及装置
CN105635798A (zh) * 2015-12-29 2016-06-01 福州瑞芯微电子股份有限公司 一种基于异构无线音频的立体声实现方法及系统
CN105763936A (zh) * 2016-04-19 2016-07-13 深圳市酷开网络科技有限公司 播放音频的方法及装置
CN107509092A (zh) * 2017-09-07 2017-12-22 深圳创维数字技术有限公司 机顶盒实时播放音频的方法、机顶盒、终端以及存储介质
CN108184164A (zh) * 2017-12-28 2018-06-19 深圳Tcl新技术有限公司 音频播放方法、智能电视及计算机可读存储介质

Also Published As

Publication number Publication date
CN108184164B (zh) 2021-06-11
CN108184164A (zh) 2018-06-19

Similar Documents

Publication Publication Date Title
WO2019128174A1 (zh) 音频播放方法、智能电视及计算机可读存储介质
WO2016101698A1 (zh) 基于dlna技术实现屏幕推送的方法及系统
WO2016165556A1 (zh) 一种视频流的数据处理方法、装置和系统
WO2016029594A1 (zh) 终端连接显示设备的方法及系统
WO2014187158A1 (zh) 终端数据云分享的控制方法、服务器及终端
WO2019051902A1 (zh) 终端控制方法、空调器及计算机可读存储介质
WO2017177524A1 (zh) 音视频同步播放的方法及装置
WO2017206377A1 (zh) 同步播放节目的方法和装置
WO2018023926A1 (zh) 电视与移动终端的互动方法及系统
WO2017159941A1 (en) Display device and method of operating the same
WO2018006581A1 (zh) 智能电视的播放方法及装置
WO2017045441A1 (zh) 基于智能电视的音频播放方法及装置
WO2017121066A1 (zh) 应用程序显示方法和系统
WO2017190451A1 (zh) 图片推送方法和装置
WO2019210574A1 (zh) 消息处理方法、装置、设备及可读存储介质
WO2019051901A1 (zh) 终端控制方法、装置及计算机可读存储介质
WO2019091128A1 (zh) 新接入信源的信号预览方法及电视机
WO2013015471A1 (en) Electronic device
WO2019019249A1 (zh) 执行网络请求的方法、装置、设备及计算机可读存储介质
WO2022030857A1 (ko) 오디오 신호 처리 장치 및 그 동작 방법
WO2013015473A1 (en) Electronic device and method of operating the same
WO2015192801A1 (en) Electronic device control method and system, and related device
WO2017096764A1 (zh) 音频数据输出方法及装置
WO2017071223A1 (zh) 电视应用的控制方法及装置
WO2017084297A1 (zh) 多媒体文件的播放方法及系统

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: 18893408

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18893408

Country of ref document: EP

Kind code of ref document: A1