CN108184164B - Audio playing method, smart television and computer readable storage medium - Google Patents

Audio playing method, smart television and computer readable storage medium Download PDF

Info

Publication number
CN108184164B
CN108184164B CN201711456864.4A CN201711456864A CN108184164B CN 108184164 B CN108184164 B CN 108184164B CN 201711456864 A CN201711456864 A CN 201711456864A CN 108184164 B CN108184164 B CN 108184164B
Authority
CN
China
Prior art keywords
audio data
audio
received
intelligent
intelligent terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711456864.4A
Other languages
Chinese (zh)
Other versions
CN108184164A (en
Inventor
曾庆忠
潘志兴
严力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201711456864.4A priority Critical patent/CN108184164B/en
Publication of CN108184164A publication Critical patent/CN108184164A/en
Priority to PCT/CN2018/093747 priority patent/WO2019128174A1/en
Application granted granted Critical
Publication of CN108184164B publication Critical patent/CN108184164B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (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

The invention discloses an audio playing method. The audio playing method comprises the following steps: after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received; when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored; and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track. The invention also discloses the intelligent television and a computer readable storage medium. The invention can improve the transmission efficiency of the audio file and reduce the sound delay time.

Description

Audio playing method, smart television and computer readable storage medium
Technical Field
The invention relates to the technical field of smart televisions, in particular to an audio playing method, a smart television and a computer readable storage medium.
Background
With the gradual maturity of smart televisions and bluetooth technologies, the bluetooth separate listening function based on smart televisions is more and more liked by users. The bluetooth separate listening function means that a user establishes connection with the smart television through the bluetooth function of the smart terminal (such as a smart phone, a tablet computer, and the like), so that the smart television plays an audio file played in the smart terminal like a sound box.
At present, the realization process of the bluetooth separate listening function is as follows: after the intelligent television is connected with the intelligent terminal through the Bluetooth function, the intelligent terminal transmits audio data to the Bluetooth protocol stack through Bluetooth, and then transmits the audio data to an audio system of the intelligent television through an IPC (Inter-Process Communication) mode, and then the audio system intercepts the audio data in the Bluetooth protocol stack through a virtual microphone mode, and then transmits the audio data to an audio track, and then the audio data is played through a loudspeaker of the intelligent television. Because the virtual microphone needs to be added in the realization process of the existing Bluetooth independent listening function, the transmission efficiency of audio data can be influenced, and the sound delay time is longer.
Disclosure of Invention
The invention mainly aims to provide an audio playing method, a smart television and a computer readable storage medium, aiming at improving the transmission efficiency of audio files and reducing the sound delay time.
In order to achieve the above object, the present invention provides an audio playing method, including the following steps:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track.
Optionally, after the step of monitoring whether the audio data transmission instruction sent by the intelligent terminal is received after the intelligent television establishes the bluetooth communication connection with the intelligent terminal, the method further includes:
when an audio data transmission instruction sent by the intelligent terminal is received, detecting the state of a display switch of an independent listening interface;
when the state of the display switch of the independent listening interface is in an on state, starting the corresponding independent listening display interface, and switching the current information source of the intelligent television to the multimedia information source, so that the audio file of the current playing program of the intelligent television can not be output to a loudspeaker of the intelligent television;
and when the state of the display switch of the separate listening interface is a closed state, generating corresponding prompt information to prompt a user that the intelligent television simultaneously plays the audio file and the audio file of the currently played program.
Optionally, after the step of monitoring whether the corresponding audio data is received, the method further includes:
when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not;
and when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data is received.
Optionally, after the smart television establishes a bluetooth communication connection with the smart terminal, before the step of monitoring whether the audio data transmission instruction sent by the smart terminal is received, the method includes:
when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and when receiving a Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
Optionally, before the step of establishing a bluetooth communication connection with the intelligent terminal in response to the bluetooth connection request, the method includes:
detecting whether the intelligent television is in Bluetooth communication connection with other intelligent terminals or not;
if the intelligent television is in Bluetooth communication connection with other intelligent terminals, disconnecting the Bluetooth communication connection between the intelligent television and the other intelligent terminals;
if the intelligent television does not establish Bluetooth communication connection with other intelligent terminals, executing the following steps: and responding to the Bluetooth connection request, and establishing Bluetooth communication connection with the intelligent terminal.
In addition, to achieve the above object, the present invention further provides a smart tv, including: a memory, a processor, and an audio playback program stored on the memory and executable on the processor, the audio playback program when executed by the processor implementing the steps of:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track.
Optionally, the audio playing program further realizes the following steps when executed by the processor:
when an audio data transmission instruction sent by the intelligent terminal is received, detecting the state of a display switch of an independent listening interface;
when the state of the display switch of the independent listening interface is in an on state, starting the corresponding independent listening display interface, and switching the current information source of the intelligent television to the multimedia information source, so that the audio file of the current playing program of the intelligent television can not be output to a loudspeaker of the intelligent television;
and when the state of the display switch of the separate listening interface is a closed state, generating corresponding prompt information to prompt a user that the intelligent television simultaneously plays the audio file and the audio file of the currently played program.
Optionally, the audio playing program further realizes the following steps when executed by the processor:
when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not;
and when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data is received.
Optionally, the audio playing program further realizes the following steps when executed by the processor:
when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and when receiving a Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having an audio playback program stored thereon, the audio playback program, when executed by a processor, implementing the steps of:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track.
The invention provides an audio playing method, an intelligent television and a computer readable storage medium, wherein after the intelligent television is in Bluetooth communication connection with an intelligent terminal, whether an audio data transmission instruction sent by the intelligent terminal is received or not is monitored; when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored; and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track. By the method, after the intelligent television is in Bluetooth communication connection with the intelligent terminal, whether an audio data transmission instruction sent by the intelligent terminal is received or not is monitored; compared with the prior art, the method and the device have the advantages that the received audio file is not required to be intercepted by adding a virtual microphone firstly, then transmitted to the audio track and then output to the loudspeaker of the intelligent television for playing, the transmission link of the audio data in an audio system of the intelligent television is reduced, the transmission efficiency of the audio file can be improved, the sound delay time is shortened, and the user experience is improved. In addition, the invention does not need to add a virtual microphone, and can solve the problem that the single listening function and other microphone applications can not coexist.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an audio playing method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating an audio playing method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating an audio playing method according to a third embodiment of the present invention;
FIG. 5 is a flowchart illustrating an audio playing method according to a fourth embodiment of the present invention;
fig. 6 is a schematic detailed flow chart illustrating a bluetooth communication connection established with the intelligent terminal in response to the bluetooth connection request when the bluetooth connection request sent by the intelligent terminal is received in the embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the prior art, the implementation process of the bluetooth separate listening function is as follows: after the intelligent television is connected with the intelligent terminal through the Bluetooth function, the intelligent terminal transmits audio data to the Bluetooth protocol stack through Bluetooth, and then transmits the audio data to an audio system of the intelligent television through an IPC (Inter-Process Communication) mode, and then the audio system intercepts the audio data in the Bluetooth protocol stack through a virtual microphone mode, and then transmits the audio data to an audio track, and then the audio data is played through a loudspeaker of the intelligent television. Because the virtual microphone needs to be added in the realization process of the existing Bluetooth independent listening function, the transmission efficiency of audio data can be influenced, and the sound delay time is longer.
In order to solve the technical problem, the invention provides an audio playing method, an intelligent television and a computer readable storage medium, wherein after the intelligent television is in Bluetooth communication connection with an intelligent terminal, whether an audio data transmission instruction sent by the intelligent terminal is received or not is monitored; when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored; and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track. By the method, after the intelligent television is in Bluetooth communication connection with the intelligent terminal, whether an audio data transmission instruction sent by the intelligent terminal is received or not is monitored; compared with the prior art, the method and the device have the advantages that the received audio file is not required to be intercepted by adding a virtual microphone firstly, then transmitted to the audio track and then output to the loudspeaker of the intelligent television for playing, the transmission link of the audio data in an audio system of the intelligent television is reduced, the transmission efficiency of the audio file can be improved, the sound delay time is shortened, and the user experience is improved. In addition, the invention does not need to add a virtual microphone, and can solve the problem that the single listening function and other microphone applications can not coexist.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal provided by the embodiment of the invention is an intelligent television with a separate listening function.
As shown in fig. 1, 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. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an audio playback program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; and the processor 1001 may be configured to call the audio playing program stored in the memory 1005 and perform the following operations:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track.
Further, the processor 1001 may call the audio playing program stored in the memory 1005, and further perform the following operations:
when an audio data transmission instruction sent by the intelligent terminal is received, detecting the state of a display switch of an individual listening interface according to the audio data transmission instruction;
when the state of the display switch of the independent listening interface is in an on state, starting the corresponding independent listening display interface and switching to a multimedia information source, so that an audio file of a currently played program of the intelligent television cannot be output to a loudspeaker of the intelligent television;
and when the state of the display switch of the separate listening interface is a closed state, generating corresponding prompt information to prompt a user that the intelligent television simultaneously plays the audio file and the audio file of the currently played program.
Further, the processor 1001 may call the audio playing program stored in the memory 1005, and further perform the following operations:
when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not;
and when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data is received.
Further, the processor 1001 may call the audio playing program stored in the memory 1005, and further perform the following operations:
when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and when receiving a Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
Further, the processor 1001 may call the audio playing program stored in the memory 1005, and further perform the following operations:
detecting whether the intelligent television is in Bluetooth communication connection with other intelligent terminals or not;
if the intelligent television is in Bluetooth communication connection with other intelligent terminals, disconnecting the Bluetooth communication connection between the intelligent television and the other intelligent terminals;
if the intelligent television does not establish Bluetooth communication connection with other intelligent terminals, executing the following steps: and responding to the Bluetooth connection request, and establishing Bluetooth communication connection with the intelligent terminal.
Based on the hardware structure, the embodiment of the audio playing method is provided.
The invention provides an audio playing method.
Referring to fig. 2, fig. 2 is a flowchart illustrating an audio playing method according to a first embodiment of the present invention.
In an embodiment of the present invention, the audio playing method includes:
step S10, after the intelligent television and the intelligent terminal establish Bluetooth communication connection, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
in the embodiment of the invention, the method is used for improving the transmission efficiency of the audio file in the independent listening function of the existing intelligent television, reducing the sound delay time and improving the user experience. The terminal provided by the embodiment of the invention is an intelligent television with a separate listening function.
In the embodiment of the invention, after the intelligent television and the intelligent terminal establish the Bluetooth communication connection, the thread is started to monitor whether the audio data transmission instruction sent by the intelligent terminal is received, namely, whether the intelligent mobile phone starts to transmit the audio data is monitored. Wherein, intelligent terminal can be for terminal equipment that has bluetooth function such as smart mobile phone, panel computer, portable computer, and the mode that the bluetooth communication was established with intelligent terminal to the smart television can be: the user looks for "listen alone (or bluetooth listen alone)" function option in TV application list, click and open, thereby trigger and listen alone function and open the instruction, then when the intelligent television receives this listen alone function and open the instruction, start and listen alone the function, and open bluetooth function, make the user can detect this intelligent TV in the bluetooth function of intelligent terminal (like smart mobile phone), thereby click this intelligent TV equipment option and carry out the pairing connection, send bluetooth connection request to this intelligent TV promptly, when the intelligent TV receives this bluetooth connection request, respond to this bluetooth connection request, can with this intelligent terminal between establish bluetooth communication connection. Certainly, the mode of establishing bluetooth communication connection between the smart television and the smart terminal may also be: the intelligent television starts the independent listening function according to the independent listening function starting instruction, can display a Bluetooth device searching interface after starting the Bluetooth function, sends a Bluetooth connection request to the Bluetooth connection device (namely, the intelligent terminal) after receiving a Bluetooth connection device selection instruction triggered by a user (namely, the user selects a certain Bluetooth connection device), and can establish Bluetooth communication connection with the intelligent terminal when receiving a connection approval instruction fed back by the intelligent terminal.
Step S20, when receiving an audio data transmission instruction sent by the intelligent terminal, creating a corresponding audio track and monitoring whether corresponding audio data is received;
and step S30, when corresponding audio data are received, outputting the audio data to a loudspeaker of the smart television for playing through the audio track.
When an audio data transmission instruction sent by the intelligent terminal is received, the intelligent terminal is indicated to start to transmit corresponding audio data through the Bluetooth function, and at the moment, the intelligent television processes the audio data transmission part as follows: and creating a corresponding audio track, monitoring whether corresponding audio data are received, and outputting the audio data to a loudspeaker of the intelligent television for playing through the newly-built audio track when the corresponding audio data are received. Specifically, when the smart television receives an audio data transmission instruction sent by the smart terminal, an audio track is created first, that is, an audio system of the smart television is modified, then a thread is started according to a bluetooth protocol service of the smart television, and whether audio data sent by the smart terminal is received is monitored in a loop manner, when the corresponding audio data is received, the audio data can be written into an Alsa (Advanced Linux Sound Architecture) output Sound card node through the created audio track and then output to a loudspeaker of the smart television for playing, wherein a specific playing principle of the audio data can refer to the prior art, and is not described herein. Compared with the prior art, the method and the device have the advantages that the received audio file is intercepted in a virtual microphone adding mode, then the received audio file is transmitted to the audio track, and then the audio file is output to the loudspeaker of the intelligent television for playing, so that the transmission link of the audio data in the audio system of the intelligent television is reduced, the transmission efficiency of the audio file can be improved, the sound delay time is shortened, and the user experience is improved. In addition, the invention does not need to add a virtual microphone, and can also solve the problem that the independent listening function and other microphone applications (such as a voice remote controller) cannot coexist, so the invention improves the audio playing method, makes the function more intelligent and can improve the user experience.
In addition, it should be noted that when the audio data transmission instruction sent by the intelligent terminal is not received, the monitoring is continued. Of course, in a specific embodiment, a preset time may be set, for example, if the corresponding audio data transmission instruction is not received after the preset time is exceeded, the detection may be stopped, and corresponding prompt information may be generated to prompt the user to start transmitting data.
The embodiment of the invention provides an audio playing method, which comprises the steps of monitoring whether an audio data transmission instruction sent by an intelligent terminal is received or not after a Bluetooth communication connection is established between an intelligent television and the intelligent terminal; when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored; and when the corresponding audio data is received, outputting the audio data to a loudspeaker of the intelligent television for playing through the audio track. By the method, after the intelligent television is in Bluetooth communication connection with the intelligent terminal, whether an audio data transmission instruction sent by the intelligent terminal is received or not is monitored; compared with the prior art, the method and the device have the advantages that the received audio file is not required to be intercepted by adding a virtual microphone firstly, then transmitted to the audio track and then output to the loudspeaker of the intelligent television for playing, the transmission link of the audio data in an audio system of the intelligent television is reduced, the transmission efficiency of the audio file can be improved, the sound delay time is shortened, and the user experience is improved. In addition, the invention does not need to add a virtual microphone, and can solve the problem that the single listening function and other microphone applications can not coexist.
Further, please refer to fig. 3, wherein fig. 3 is a flowchart illustrating an audio playing method according to a second embodiment of the present invention.
Based on the first embodiment shown in fig. 2, after step S10, the audio playing method further includes:
step S40, when receiving an audio data transmission instruction sent by the intelligent terminal, detecting the state of a display switch of an independent listening interface;
step S51, when the state of the display switch of the single listening interface is the on state, the corresponding single listening display interface is started, and the current information source of the intelligent television is switched to the multimedia information source, so that the audio file of the current playing program of the intelligent television can not be output to the loudspeaker of the intelligent television;
step S52, when the state of the display switch of the separate listening interface is an off state, generating corresponding prompt information to prompt the user that the smart tv will play the audio file and the audio file of the currently playing program at the same time.
In the embodiment of the invention, when the intelligent television receives the audio data transmission instruction sent by the intelligent terminal, the intelligent television can perform corresponding operation according to the setting state of the display switch of the independent listening interface and the current use condition of the television for processing the display interface part, so that the use experience of a user is improved. Specifically, when the smart television receives an audio data transmission instruction sent by the smart terminal, it indicates that the smart terminal has started to transmit corresponding audio data through a bluetooth function, at this time, the state of the separate listening interface display switch is detected, when the state of the separate listening interface display switch is in an on state, it indicates that a user only wants to listen to audio from the smart terminal, at this time, separate listening interface broadcasting can be started, so that after the system service receives the broadcasting, a corresponding separate listening display interface is started, and the current information source of the smart television is switched to a multimedia information source, so that an audio file of a currently played program of the smart television cannot be output to a loudspeaker of the smart television, and only the received audio file is played. It should be noted that the separate listening display interface can be shared with the local walkman interface of the smart television, thereby saving the design cost. When the state of the display switch of the separate listening interface is in an off state, it indicates that the user not only wants to listen to the audio from the intelligent terminal, but also wants to continue watching the currently played program or executing other functions of the television, such as playing games or shopping, and at this time, corresponding prompt information, such as voice information or text information, can be generated, so as to prompt the user that the intelligent television can play the audio file and the audio file of the currently played program at the same time, and further improve the user experience. At this time, the smart tv will start playing the audio file, and mix the audio file with the sound of the currently playing program of the tv or the sound generated by the current tv operation.
It should be noted that steps S40-S52 and steps S20-S30 may be executed without any order.
Further, please refer to fig. 4, fig. 4 is a flowchart illustrating an audio playing method according to a third embodiment of the present invention.
Based on the first embodiment shown in fig. 2, after step S20, the audio playing method further includes:
step S60, when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected;
and step S70, when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data are received.
In the embodiment of the invention, when the intelligent television does not receive the corresponding audio data, whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not is detected, and when the connection between the intelligent television and the intelligent terminal is disconnected, the newly-built audio track is deleted to save the memory and stop detecting whether the intelligent television receives the corresponding audio data or not. At this moment, the smart television can directly quit the display interface of the independent listening, so that the display interface of the smart television returns to the display interface before the independent listening function is started, the user continues to watch the original program, and the user experience can be improved. Certainly, in a specific embodiment, after deleting the newly created audio track and stopping detecting whether the smart television receives the corresponding audio data, corresponding prompt information, such as voice information or text information, may be generated to remind the user that the bluetooth communication connection between the smart television and the smart terminal is disconnected. In addition, when the connection between the intelligent television and the intelligent terminal is not disconnected, whether corresponding audio data are received or not is continuously and circularly detected.
Further, please refer to fig. 5, fig. 5 is a flowchart illustrating an audio playing method according to a fourth embodiment of the present invention.
Based on the first embodiment shown in fig. 2, before step S10, the audio playing method further includes:
step S80, when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and step S90, when receiving the Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
In the embodiment of the invention, when the smart television receives the single listening function starting instruction triggered by the user, the Bluetooth function of the smart television is started according to the instruction, so that the smart terminal can receive the smart television through the Bluetooth function and further send the Bluetooth connection request, and when the Bluetooth connection request sent by the smart terminal is received, the Bluetooth connection request is responded, and the Bluetooth communication connection is established with the smart terminal. Specifically, the user can search a 'listen alone (or bluetooth listen alone)' function option in a television application list, click to open, thereby triggering a listen alone function open instruction, then the smart television starts the listen alone function, and opens the bluetooth function, so that the user can detect the smart television in the bluetooth function of the intelligent terminal (such as a smart phone), thereby clicking the smart television equipment option to pair, namely, sending a bluetooth connection request to the smart television, and when the smart television receives the bluetooth connection request, responding to the bluetooth connection request, namely, establishing bluetooth communication connection with the intelligent terminal.
Specifically, please refer to fig. 6, where fig. 6 is a schematic detailed flow chart illustrating a bluetooth communication connection established between the smart terminal and the smart terminal in response to the bluetooth connection request when the bluetooth connection request sent by the smart terminal is received in the embodiment of the present invention. Step S90 includes:
step S91, when receiving a Bluetooth connection request sent by the intelligent terminal, detecting whether the intelligent television has established Bluetooth communication connection with other intelligent terminals;
step S92, if the intelligent television has established Bluetooth communication connection with other intelligent terminals, the Bluetooth communication connection between the intelligent television and other intelligent terminals is disconnected;
and step S93, responding to the Bluetooth connection request, and establishing Bluetooth communication connection with the intelligent terminal.
If the smart television does not establish bluetooth communication connection with other smart terminals, executing step S93: and responding to the Bluetooth connection request, and establishing Bluetooth communication connection with the intelligent terminal.
In the embodiment of the invention, before the smart television responds to the bluetooth connection request, the smart television firstly detects whether the smart television has established bluetooth communication connection with other smart terminals when receiving the bluetooth connection request sent by the smart terminal, if so, the smart television disconnects the bluetooth communication connection with other smart terminals, and then responds to the bluetooth connection request to establish bluetooth communication connection with the smart terminal. And if the intelligent television does not establish Bluetooth communication connection with other intelligent terminals, directly responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminals.
It should be noted that, in a specific embodiment, the manner of establishing the bluetooth communication connection between the smart television and the smart terminal may also be: the intelligent television starts the independent listening function according to the independent listening function starting instruction, can display a Bluetooth device searching interface after starting the Bluetooth function, sends a Bluetooth connection request to the Bluetooth connection device (namely, the intelligent terminal) after receiving a Bluetooth connection device selection instruction triggered by a user (namely, the user selects a certain Bluetooth connection device), and can establish Bluetooth communication connection with the intelligent terminal when receiving a connection approval instruction fed back by the intelligent terminal.
The invention further provides a smart television, which includes a memory, a processor and an audio playing program stored on the memory and capable of running on the processor, wherein the audio playing program, when executed by the processor, implements the steps of the audio playing method according to any one of the above embodiments.
The specific embodiment of the smart television of the present invention is basically the same as the embodiments of the audio playing method described above, and will not be described herein again.
The present invention also provides a computer readable storage medium having stored thereon an audio playback program, which when executed by a processor implements the steps of the audio playback method as described in any of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the audio playing method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. An audio playing method, characterized in that the audio playing method comprises the following steps:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
if the audio data transmission instruction sent by the intelligent terminal is not received within the preset time, generating corresponding prompt information to carry out transmission prompt;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
when corresponding audio data are received, the audio data are output to an Alsa output sound card node through the audio track, so that the audio data are output to a loudspeaker of the intelligent television to be played.
2. The audio playing method according to claim 1, wherein after the step of monitoring whether the audio data transmission command sent by the intelligent terminal is received after the intelligent television establishes the bluetooth communication connection with the intelligent terminal, the audio playing method further comprises:
when an audio data transmission instruction sent by the intelligent terminal is received, detecting the state of a display switch of an independent listening interface;
when the state of the display switch of the independent listening interface is in an on state, starting the corresponding independent listening display interface, and switching the current information source of the intelligent television to the multimedia information source, so that the audio file of the current playing program of the intelligent television can not be output to a loudspeaker of the intelligent television;
and when the state of the display switch of the separate listening interface is a closed state, generating corresponding prompt information to prompt a user that the intelligent television simultaneously plays the audio file and the audio file of the currently played program.
3. The audio playing method of claim 1, wherein the step of monitoring whether the corresponding audio data is received further comprises:
when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not;
and when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data is received.
4. The audio playing method according to claim 1, wherein before the step of monitoring whether the audio data transmission command sent by the intelligent terminal is received after the intelligent television and the intelligent terminal establish the bluetooth communication connection, the audio playing method comprises:
when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and when receiving a Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
5. The audio playing method according to claim 4, wherein the step of establishing the bluetooth communication connection with the intelligent terminal in response to the bluetooth connection request is preceded by the steps of:
detecting whether the intelligent television is in Bluetooth communication connection with other intelligent terminals or not;
if the intelligent television is in Bluetooth communication connection with other intelligent terminals, disconnecting the Bluetooth communication connection between the intelligent television and the other intelligent terminals;
if the intelligent television does not establish Bluetooth communication connection with other intelligent terminals, executing the following steps: and responding to the Bluetooth connection request, and establishing Bluetooth communication connection with the intelligent terminal.
6. An intelligent television, characterized in that the intelligent television comprises: a memory, a processor, and an audio playback program stored on the memory and executable on the processor, the audio playback program when executed by the processor implementing the steps of:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
if the audio data transmission instruction sent by the intelligent terminal is not received within the preset time, generating corresponding prompt information to carry out transmission prompt;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
when corresponding audio data are received, the audio data are output to an Alsa output sound card node through the audio track, so that the audio data are output to a loudspeaker of the intelligent television to be played.
7. The smart tv of claim 6, wherein the audio playback program when executed by the processor further performs the steps of:
when an audio data transmission instruction sent by the intelligent terminal is received, detecting the state of a display switch of an independent listening interface;
when the state of the display switch of the independent listening interface is in an on state, starting the corresponding independent listening display interface, and switching the current information source of the intelligent television to the multimedia information source, so that the audio file of the current playing program of the intelligent television can not be output to a loudspeaker of the intelligent television;
and when the state of the display switch of the separate listening interface is a closed state, generating corresponding prompt information to prompt a user that the intelligent television simultaneously plays the audio file and the audio file of the currently played program.
8. The smart tv of claim 6, wherein the audio playback program when executed by the processor further performs the steps of:
when the corresponding audio data is not received, detecting whether the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected or not;
and when the Bluetooth communication connection between the intelligent television and the intelligent terminal is disconnected, deleting the audio track and stopping monitoring whether corresponding audio data is received.
9. The smart tv of claim 6, wherein the audio playback program when executed by the processor further performs the steps of:
when an independent listening function starting instruction triggered by a user is received, starting the Bluetooth function of the intelligent television according to the independent listening function starting instruction;
and when receiving a Bluetooth connection request sent by the intelligent terminal, responding to the Bluetooth connection request and establishing Bluetooth communication connection with the intelligent terminal.
10. A computer-readable storage medium having stored thereon an audio playback program that when executed by a processor performs the steps of:
after the intelligent television is in Bluetooth communication connection with the intelligent terminal, monitoring whether an audio data transmission instruction sent by the intelligent terminal is received;
if the audio data transmission instruction sent by the intelligent terminal is not received within the preset time, generating corresponding prompt information to carry out transmission prompt;
when an audio data transmission instruction sent by the intelligent terminal is received, a corresponding audio track is created, and whether corresponding audio data are received or not is monitored;
when corresponding audio data are received, the audio data are output to an Alsa output sound card node through the audio track, so that the audio data are output to a loudspeaker of the intelligent television to be played.
CN201711456864.4A 2017-12-28 2017-12-28 Audio playing method, smart television and computer readable storage medium Active CN108184164B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711456864.4A CN108184164B (en) 2017-12-28 2017-12-28 Audio playing method, smart television and computer readable storage medium
PCT/CN2018/093747 WO2019128174A1 (en) 2017-12-28 2018-06-29 Method for playing audio, smart television and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711456864.4A CN108184164B (en) 2017-12-28 2017-12-28 Audio playing method, smart television and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108184164A CN108184164A (en) 2018-06-19
CN108184164B true CN108184164B (en) 2021-06-11

Family

ID=62548404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711456864.4A Active CN108184164B (en) 2017-12-28 2017-12-28 Audio playing method, smart television and computer readable storage medium

Country Status (2)

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

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108184164B (en) * 2017-12-28 2021-06-11 深圳Tcl新技术有限公司 Audio playing method, smart television and computer readable storage medium
US11190836B2 (en) 2018-12-20 2021-11-30 Hisense Visual Technology Co., Ltd. Audio playing and transmitting methods and apparatuses
CN111355996A (en) * 2018-12-20 2020-06-30 海信视像科技股份有限公司 Audio playing method and computing device
CN110062265A (en) * 2019-06-05 2019-07-26 甘肃省冬果新能源科技有限公司 A kind of Bluetooth music reception broadcasting television set
CN111510754A (en) * 2020-04-27 2020-08-07 四川长虹电器股份有限公司 Method for reducing sound delay of external Bluetooth sound box of smart television
CN112004146A (en) * 2020-08-18 2020-11-27 深圳创维-Rgb电子有限公司 Audio playing method and system, television and storage medium
CN112333533B (en) * 2020-09-07 2023-12-05 深圳Tcl新技术有限公司 Method, device, equipment and computer readable storage medium for selecting playing equipment
CN112637647A (en) * 2020-12-10 2021-04-09 深圳市鼎盛光电有限公司 Audio playing method and device, smart television and computer readable storage medium
CN112866791A (en) * 2021-01-13 2021-05-28 深圳创维-Rgb电子有限公司 Smart television control method and device, smart television and readable storage medium
CN113672757B (en) * 2021-08-23 2024-01-16 北京字跳网络技术有限公司 Audio playing method and device
CN113891149B (en) * 2021-09-10 2024-03-12 深圳创维-Rgb电子有限公司 Display device, method, system and storage medium for realizing external sound function
CN114360232B (en) * 2021-12-10 2022-11-11 南昌航天广信科技有限责任公司 Collector opening control method, system, computer and readable storage medium
CN114791156A (en) * 2022-03-09 2022-07-26 海信空调有限公司 Air conditioner and data transmission method thereof
CN114630286A (en) * 2022-03-22 2022-06-14 南昌航天广信科技有限责任公司 Broadcast broadcasting method, system, computer and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102610267A (en) * 2012-03-16 2012-07-25 广东步步高电子工业有限公司 Method for improving audio playing quality of playing system
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN105451070A (en) * 2015-11-16 2016-03-30 深圳Tcl数字技术有限公司 Television control method and device
CN106161724A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 Audio output control method and device
CN106454506A (en) * 2016-11-15 2017-02-22 四川长虹电器股份有限公司 Audio route control method in multi-window environment of intelligent television
CN106792141A (en) * 2016-12-12 2017-05-31 深圳Tcl数字技术有限公司 The control method for playing back and device of tv audio

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101081532B1 (en) * 2004-12-27 2011-11-08 엘지전자 주식회사 An apparatus of playing moving picture at TV using mobile terminal
CN105635798B (en) * 2015-12-29 2019-05-31 福州瑞芯微电子股份有限公司 A kind of stereo realization method and system based on isomery wireless audio
CN105763936B (en) * 2016-04-19 2019-05-31 深圳市酷开网络科技有限公司 Play the method and device of audio
CN107509092A (en) * 2017-09-07 2017-12-22 深圳创维数字技术有限公司 Set top box plays method, set top box, terminal and the storage medium of audio in real time
CN108184164B (en) * 2017-12-28 2021-06-11 深圳Tcl新技术有限公司 Audio playing method, smart television and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102610267A (en) * 2012-03-16 2012-07-25 广东步步高电子工业有限公司 Method for improving audio playing quality of playing system
CN102768846A (en) * 2012-07-20 2012-11-07 Tcl集团股份有限公司 Audio playing method, device and terminal
CN106161724A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 Audio output control method and device
CN105451070A (en) * 2015-11-16 2016-03-30 深圳Tcl数字技术有限公司 Television control method and device
CN106454506A (en) * 2016-11-15 2017-02-22 四川长虹电器股份有限公司 Audio route control method in multi-window environment of intelligent television
CN106792141A (en) * 2016-12-12 2017-05-31 深圳Tcl数字技术有限公司 The control method for playing back and device of tv audio

Also Published As

Publication number Publication date
CN108184164A (en) 2018-06-19
WO2019128174A1 (en) 2019-07-04

Similar Documents

Publication Publication Date Title
CN108184164B (en) Audio playing method, smart television and computer readable storage medium
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
US8588849B2 (en) System and method for resuming media
CN112350981B (en) Method, device and system for switching communication protocol
WO2018184266A1 (en) Communication method, device and system in live broadcasting channel
CN107332976B (en) Karaoke method, device, equipment and system
US10992978B2 (en) Method and system for controlling smart television
US20200120739A1 (en) Method of switching connection to network, intelligent terminal, and apparatus having storage function
US20150045092A1 (en) Systems and methods for handling incoming calls on a media device
CN108024128B (en) Control method and device for Bluetooth music playing, terminal equipment and storage medium
KR102121358B1 (en) Data transmission method and device
US9258672B2 (en) Short-range wireless communication device
KR101066383B1 (en) Mathod for managing data between control point and at least one device in digital living network alliance system and the system
US20130300547A1 (en) Control apparatus, control target apparatus, and alarm-setting method using the apparatuses
CN109451339B (en) Audio transmission method, device, equipment and readable storage medium
CN103581725A (en) Method for controlling smart TV terminal through mobile terminal and relevant terminals
CN112689172A (en) Program playing method and device, set top box and storage medium
US20200213844A1 (en) Communication method, communication apparatus and electronic device
CN111552453A (en) Control method, terminal and storage medium of sound effect scene
US9756436B2 (en) Terminal to control audio output path and method for controlling audio output path between terminals
CN118140482A (en) Electronic device and operation method thereof
JP6311028B2 (en) Telephone interaction method, user terminal, telephone agent system, telephone interaction system, program, and recording medium
US10725809B2 (en) Application interaction method and apparatus, and terminal
CN113765753B (en) Instant messaging method for household appliance, household appliance and storage medium
CN114173315B (en) Bluetooth reconnection method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant