CN112004146A - Audio playing method and system, television and storage medium - Google Patents

Audio playing method and system, television and storage medium Download PDF

Info

Publication number
CN112004146A
CN112004146A CN202010840017.3A CN202010840017A CN112004146A CN 112004146 A CN112004146 A CN 112004146A CN 202010840017 A CN202010840017 A CN 202010840017A CN 112004146 A CN112004146 A CN 112004146A
Authority
CN
China
Prior art keywords
audio
television
mobile terminal
playing
data packet
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.)
Pending
Application number
CN202010840017.3A
Other languages
Chinese (zh)
Inventor
张欢颜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202010840017.3A priority Critical patent/CN112004146A/en
Publication of CN112004146A publication Critical patent/CN112004146A/en
Pending legal-status Critical Current

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/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/4222Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
    • 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/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4367Establishing a secure communication between the client and a peripheral device or smart card
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application

Landscapes

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

Abstract

The application discloses a method and a system for playing audio, a television and a storage medium, wherein the method for playing the audio comprises the following steps: the television receives a request for transmitting audio sent by the mobile terminal; the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network; and the television plays the audio data packet based on the local area network. The technical problem that a mobile terminal is not used as a radio device in the prior art, and the audio acquired by the radio device is transmitted to a television in real time for playing is solved, and the technical effect of transmitting and playing the audio between the mobile terminal and the television in real time through a local area network is achieved.

Description

Audio playing method and system, television and storage medium
Technical Field
The present application relates to the field of voice communication technologies, and in particular, to a method, a system, a television, and a storage medium for playing an audio.
Background
With the popularization of smart televisions, more and more users prefer to install karaoke software on televisions, but most users do not have microphones in home, and for the situation, the users generally choose to purchase external equipment or abandon the use of the karaoke software. Therefore, the prior art does not use other mobile terminals to replace the microphone, so as to realize the real-time transmission of the acquired audio to the television for playing.
Disclosure of Invention
The embodiment of the application provides an audio playing method, an audio playing system, a television and a storage medium, and aims to solve the problem that in the prior art, a mobile terminal is not used as a radio device, and audio obtained by the radio device is transmitted to the television in real time to be played.
In order to achieve the above object, an aspect of the present application provides an audio playing method, where the audio playing method includes the following steps:
the television receives a request for transmitting audio sent by the mobile terminal;
the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network;
and the television plays the audio data packet based on the local area network.
Optionally, the step of playing, by the television, the audio data packet based on the local area network includes:
the television executes the decoding operation of the audio data packet to obtain decoded data;
and the television plays the audio data corresponding to the decoding data based on the local area network.
Optionally, after the step of playing the audio data packet based on the local area network by the television, the method includes:
the television receives an audio transmission ending instruction sent by the mobile terminal, wherein the audio transmission ending instruction is triggered after a user clicks a screen of the mobile terminal;
and the television finishes the operation of transmitting the audio with the mobile terminal according to the instruction.
Optionally, after the step of playing the audio data packet based on the local area network, the television further includes:
the television acquires voice playing equipment in the same local area network and sends audio sharing signals to the voice playing equipment;
and the television controls the voice playing equipment to play the audio data corresponding to the audio data packet according to the sharing signal.
Optionally, before the step of receiving, by the television, a request for transmitting audio sent by the mobile terminal, the method includes:
the television receives a connection request sent by the mobile terminal after executing code scanning operation;
and the television establishes communication connection with the mobile terminal according to the connection request.
Optionally, after the step of receiving, by the television, a request for transmitting audio sent by the mobile terminal, the method further includes:
when the television receives a plurality of requests for transmitting audio sent by the mobile terminals, the television outputs connection selection information according to the current connection information with the mobile terminals;
when the response information based on the selection information is determined to be a first connection mode, connecting one of the mobile terminals and disconnecting the other mobile terminals;
and when the response information based on the selection information is determined to be the second connection mode, simultaneously connecting a plurality of mobile terminals.
Optionally, after the step of simultaneously connecting a plurality of the mobile terminals, the method includes:
the television acquires the time sequence of the multiple requests for transmitting the audio sent by the mobile terminal, and determines the priority sequence connected with the mobile terminal according to the time sequence;
and the television controls a plurality of mobile terminals to execute connection operation according to the priority.
In addition, to achieve the above object, another aspect of the present application further provides an audio playing system, including:
the receiving module is used for receiving a request for transmitting audio sent by the mobile terminal;
a response module, configured to receive, in response to the request for transmitting audio, an audio data packet transmitted by the mobile terminal, where the audio data packet is transmitted by the mobile terminal through a local area network;
and the playing module is used for playing the audio data packet based on the local area network.
In addition, in order to achieve the above object, another aspect of the present application further provides a television, which includes a memory, a processor, and a playing program of audio stored in the memory and running on the processor, where the processor implements the steps of the playing method of audio as described above when executing the playing program of audio.
In addition, to achieve the above object, another aspect of the present application further provides a computer storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the audio playing method as described above.
In the embodiment of the application, a request for transmitting audio sent by a mobile terminal is received through a television; the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network; and the television plays the audio data packet based on the local area network. By using the mobile terminal as the radio equipment, the effect of real-time transmission and playing of audio between the mobile terminal and the television through the local area network is realized.
Drawings
Fig. 1 is a schematic diagram of a television structure of a hardware operating environment according to an embodiment of the present application;
FIG. 2 is a schematic flowchart illustrating a first embodiment of an audio playing method according to the present application;
FIG. 3 is a flowchart illustrating a second embodiment of an audio playing method according to the present application;
FIG. 4 is a flowchart illustrating a third exemplary embodiment of an audio playing method according to the present application;
FIG. 5 is a flowchart illustrating a fourth exemplary embodiment of an audio playing method according to the present application;
fig. 6 is a schematic flowchart of a step before the step of receiving, by the television, a request for transmitting audio sent by a mobile terminal in the audio playing method of the present application;
fig. 7 is a schematic flowchart illustrating a process of playing the audio data packet by the television based on the local area network in the audio playing method of the present application;
fig. 8 is a schematic flowchart illustrating a process after the step of simultaneously connecting a plurality of mobile terminals in the audio playing method of the present application.
The implementation, functional features and advantages of the objectives of the present application 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 present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: the television receives a request for transmitting audio sent by the mobile terminal; the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network; and the television plays the audio data packet based on the local area network.
When singing using a television at home, since most users do not have a microphone at home, users generally choose to purchase an external device or forgo using the television to sing the song for such a situation. Therefore, the prior art does not use other mobile terminals to replace the microphone, so as to realize real-time transmission of the acquired audio to the terminal for playing. The method comprises the steps that a request for transmitting audio sent by a mobile terminal is received through a television; the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network; and the television plays the audio data packet based on the local area network. By using the mobile terminal as the radio equipment, the effect of real-time transmission and playing of audio between the mobile terminal and the television through the local area network is realized.
As shown in fig. 1, fig. 1 is a schematic diagram of a television structure of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the television may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. 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., 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.
Optionally, the television may also include a camera, RF (Radio Frequency) circuitry, sensors, remote controls, audio circuitry, WiFi modules, detectors, and the like. Of course, the television may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, and a temperature sensor, which are not described herein again.
Those skilled in the art will appreciate that the television architecture shown in fig. 1 does not constitute a limitation of television apparatus and may include more or fewer components than 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-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a playback program of audio.
In the television shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a playback program for the audio stored in the memory 1005, and perform the following operations:
the television receives a request for transmitting audio sent by the mobile terminal;
the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network;
and the television plays the audio data packet based on the local area network.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a first embodiment of an audio playing method according to the present application, where the audio playing method includes:
step S10, the TV receives the audio transmission request sent by the mobile terminal;
in this embodiment, the mobile terminal includes a mobile phone, a notebook computer, a tablet computer, a POS, and the like, and the interaction between the mobile terminal and the television may be implemented by various wireless transmission protocols, for example: infrared, bluetooth, WIFI, ZIGBEE, etc.
In one embodiment, the television and the mobile terminal are in the same wireless local area network, and the router is connected with the internet and can be used as an information transmission medium between the television and the mobile terminal, so that the communication connection between the mobile terminal and the television is established. The television has a networking function and can be connected with a network; the Wireless Local Area Network (WLAN) is a very convenient data transmission system, and performs communication connection in the air using electromagnetic waves by using a Radio Frequency (RF) technology. When a user has a need to transmit audio, for example: when a user wants to sing with a television, the user needs to send a request for transmitting audio to the television through a mobile terminal (such as a mobile phone); or the house has a large area, and has a plurality of rooms or multi-storey villas, and is provided with a plurality of televisions, for example, each room is provided with at least one television, the televisions are connected through a local area network, when a mother makes meals in a kitchen and needs to be informed to people to eat, but children and children tightly close doors of the rooms to watch the televisions, at this time, a request for transmitting audio is sent to the televisions through a mobile terminal (such as a mobile phone), and an effect of sending messages is achieved. The request for transmitting the audio is used for controlling the television end to open a playing path of the audio data, namely, the mobile terminal sends a control command, so that the television end responds to an instruction of the mobile terminal, and the path from the receiving port to the loudspeaker for playing the audio data of the television end is opened.
Since the mobile terminal and the television need to perform a binding operation before the mobile terminal and the television perform communication to implement a communication connection therebetween, referring to fig. 6, before the step of the television receiving the request for transmitting audio sent by the mobile terminal, the method includes:
step S14, the television receives a connection request sent by the mobile terminal after executing code scanning operation;
and step S15, the television establishes communication connection with the mobile terminal according to the connection request.
In this embodiment, the mobile terminal is configured to obtain an identifier of the television terminal by scanning a code, for example, the mobile terminal obtains the identifier of the television terminal by scanning a two-dimensional code, a barcode, or a character string; the two-dimensional code, the bar code or the character string is attached to the surface of the television terminal in a paper label form for scanning by the mobile terminal; or the two-dimensional code, the bar code or the character string is displayed on a display screen of the television terminal in an electronic tag form for scanning by the mobile terminal. In addition, the mobile terminal obtains the identification of the television terminal by analyzing the information carried by the two-dimensional code, the bar code or the character string, wherein the carried information at least comprises the unique account number of the television terminal.
The mobile terminal binds the self identification with the acquired identification of the television terminal, and before the binding operation is executed, the mobile terminal sends a connection request to the television terminal; and the television terminal executes communication connection operation with the mobile terminal based on the connection request, and finishes the identification binding operation between the mobile terminal and the television terminal after communication connection is established. The mobile terminal and the television are bound through a simple code scanning mode, so that the television and the mobile terminal are bound conveniently and quickly, user operation is facilitated, and the experience of transmitting audio in real time by a user is improved.
Step S20, the television receives an audio data packet transmitted by the mobile terminal in response to the request for transmitting audio, where the audio data packet is transmitted by the mobile terminal through a local area network;
in this embodiment, the local area network, abbreviated as WLAN, is a computer network formed by connecting computers in a company building group or a business place within a range of several kilometers, and one wireless local area network can support several to several thousand computers. Nowadays, wireless local area networks are increasingly used, such as campuses, shopping malls, companies and high-speed rails.
When a television receives a request for transmitting audio sent by a mobile terminal, if the request is responded, an audio data packet transmitted by the mobile terminal through the local area network is received, wherein the audio data packet is obtained by the mobile terminal through signal acquisition of a sound signal input by a user, and the signal acquisition refers to audio source data obtained by sampling, quantizing and encoding an analog signal corresponding to the sound signal; the audio data packet is further obtained by encoding the audio source data. In one embodiment, the mobile terminal is currently connected to a wireless local area network to start recording, a user can input voice to a microphone, the microphone converts the collected voice of the user into an analog signal, the analog signal is amplified by an amplifier and then sent to an analog/digital conversion circuit to be converted into a binary digital signal. The method includes the steps of recording voice data through a microphone, processing the recorded voice data, for example, slicing the voice data, determining a transmission protocol for transmitting the voice data, limiting the format and the action of the voice data, and the like, wherein the limited format of the voice data is the format of voice audio data, and then processing the voice data through the processes of packaging, coding, compressing and the like of the transmission protocol to obtain an audio data packet. By carrying out processing operations such as coding and compression on the acquired voice information, the data volume of the audio data during transmission is reduced, and meanwhile, the safety of the audio data is ensured. And if the television does not respond to the request, disconnecting the audio transmission connection operation with the mobile terminal.
Step S30, the television plays the audio data packet based on the local area network.
In this embodiment, a communication connection is established between a television and the mobile terminal through a wireless local area network, after the television acquires an audio data packet transmitted by the mobile terminal through the local area network, the television performs processing operations such as decoding and decompression on the audio data packet to generate corresponding audio data, where the audio data includes audio information actually transmitted by the mobile terminal, and further the audio data outputs sound through a built-in speaker or a base speaker of the television. Optionally, based on different application scenarios, the effect of playing the content is different, for example: the current scene is that a user sings by taking a mobile terminal (such as a mobile phone) as a microphone, and a television plays a song which is currently singed by the user, so that an effect of optimizing entertainment is achieved; or the current scene is that in a small-sized store such as a supermarket, a superior leader can transmit the notice to the area covered by the television in real time through a mobile terminal (such as a mobile phone), so that the staff at each post can receive the notice in time.
Since the actual playing of the television is the audio corresponding to the audio data packet, the decoding operation needs to be performed on the audio data packet, and referring to fig. 7, the step of playing the audio data packet by the television based on the local area network includes:
step S35, the television performs decoding operation of the audio data packet to obtain decoded data;
step S36, the television plays the audio data corresponding to the decoded data based on the local area network.
In this embodiment, since the audio data packet is obtained by the mobile terminal after performing an encoding operation on the obtained audio data, when the television receives the audio data packet, the television cannot directly obtain the audio data in the audio data packet, and the television needs to perform a decoding operation to obtain the audio data actually transmitted by the mobile terminal. In an embodiment, when a television receives an audio data packet sent by a mobile terminal through a local area network, a coding rule corresponding to the mobile terminal is obtained, a corresponding decoding rule is obtained based on the coding rule, the television further performs a decoding operation on the audio data packet according to the decoding rule to obtain decoded data, and the audio data corresponding to the decoded data is played based on the local area network.
In the embodiment, a request for transmitting audio sent by a mobile terminal is received through a television; the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network; and the television plays the audio data packet based on the local area network. By using the mobile terminal as the radio equipment and transmitting the acquired audio of the radio equipment to the television through the local area network, the real-time transmission and playing of the audio are performed between the mobile terminal and the television through the local area network, the user experience is improved, and meanwhile, the mobile terminal replaces a microphone to transmit the audio, so that the cost is saved, the operation is simple and rapid, and the requirements of the user are met.
In an embodiment, referring to fig. 3, after the step of playing the audio data packet by the television based on the local area network, the method includes:
step S31, the television receives an audio transmission ending instruction sent by the mobile terminal, and the audio transmission ending instruction is triggered after a user clicks a screen of the mobile terminal;
and step S32, the television finishes the operation of transmitting the audio with the mobile terminal according to the instruction.
In this embodiment, when the audio transmission operation between the mobile terminal and the television needs to be ended, the "end sound" virtual button needs to be clicked on the screen of the mobile terminal to trigger an instruction for ending the audio transmission, and the instruction is sent to the television; and the television finishes the operation of transmitting the audio with the mobile terminal according to the instruction. In an embodiment, when a user sings a song with a television at home, the mobile phone is used as a microphone to transmit audio with the television, when the audio transmission connection with the television needs to be disconnected after the singing is finished, the user opens an operation interface on the mobile phone and touches the content of the operation interface displayed by the mobile phone with fingers to send out a touch operation instruction, and the user operation instruction can be various operation instructions such as stop, switch, select, forward, end and the like. When a user clicks a 'voice transmission termination' virtual button on an operation interface, an operation instruction for finishing transmitting the audio is triggered, and the instruction is sent to the television through WIFI (Wireless Fidelity, Wireless broadband), Bluetooth and the like, so that the television finishes the current audio transmission connection with the mobile phone based on the instruction. Alternatively, the audio-transmitting connection with the handset can also be terminated directly at the television end, for example: and the connection between the television background and the mobile phone is automatically cut off by clicking a virtual button for terminating the sound on the television operation interface.
In this embodiment, when audio does not need to be transmitted, an instruction for ending transmitting audio can be directly triggered at the mobile terminal or the television end, so that audio transmission between the mobile terminal and the television end can be ended in time, a power supply is saved, and user experience is improved.
In an embodiment, referring to fig. 4, after the step of playing the audio data packet based on the local area network by the television, the method further includes:
step S33, the television acquires voice playing equipment in the same local area network and sends audio sharing signals to the voice playing equipment;
and step S34, the television controls the voice playing equipment to play the audio data corresponding to the audio data packet according to the sharing signal.
With the rapid development of network technologies, the functions of various electronic devices are becoming more and more abundant, and people are paying more attention to applications for sharing content among different electronic devices, such as sharing and displaying of text content, pictures, music or video screens.
When a user needs to share audio of a television end to a voice playing device in the same local area network, the television needs to detect in advance whether the voice playing device currently in the same local area network is started, and the voice playing device includes: a power amplifier, a sound box, a multimedia console, a digital sound console, a medium-high frequency sound box, a sound card in a PC, an earphone and the like; the voice playing device has the functions of a loudspeaker and a microphone, the loudspeaker is used for carrying out power amplification on audio, and the microphone is used for receiving a shared signal or realizing a communication function. Further acquiring currently started voice playing equipment, and sending audio sharing signals to the started voice playing equipment, wherein the sharing control signals comprise audio signals for playing music and control signals for controlling audio playing; when a user performs audio switching control in the television, the television generates a corresponding control signal and shares the control signal to the voice playing equipment through the local area network for audio switching and shared playing, so that the audio control functions of performing previous and next audio control, stopping playing, starting playing and the like on the audio shared and played by the voice playing equipment are realized. And when the voice playing equipment receives the sharing signal, playing the audio data corresponding to the audio data packet. In an embodiment, the television cuts the shared audio stream into small audio stream segments, generates a play queue, and sends the play queue to other voice playing devices through UDP, so that the audio signal is shared and played by the voice playing devices in the local area network. In addition, before all the voice playing devices in the local area network play, the delay time between the voice playing devices is calculated, the playing time of the voice playing devices is delayed, and the problem of asynchronous playing between the voice playing devices can be avoided.
Optionally, any one of the voice playing devices in the local area network may establish an audio transmission channel with the television through a point-to-point TCP protocol, that is, a user may select all or part of the voice playing devices to share at the television according to the sharing requirement of the user, and may select the number of the shared voice playing devices according to the sharing requirement, thereby implementing shared playing in all the voice playing devices or designated voice playing devices in the local area network.
In this embodiment, audio sharing control is performed on a plurality of voice playing devices simultaneously, so that the plurality of voice playing devices can play audio shared by the television, diversity of control operation is increased, and convenience of users is improved.
In an embodiment, referring to fig. 5, after the step of receiving, by the television, the request for transmitting audio sent by the mobile terminal, the method further includes:
step S11, when the TV receives the audio transmission request sent by a plurality of mobile terminals, the selection information of connection is output according to the current connection information with the mobile terminals;
step S12, when the response information based on the selection information is determined as the first connection mode, connecting one of the mobile terminals and disconnecting the other mobile terminals;
and step S13, connecting a plurality of mobile terminals simultaneously when the response information based on the selection information is determined as the second connection mode.
In this embodiment, the first connection mode refers to connecting only one mobile terminal; the second connection mode refers to the simultaneous connection of a plurality of mobile terminals.
When the television receives a request for transmitting audio sent by a plurality of mobile terminals, outputting connection selection information according to the current connection information with the mobile terminals; and determining the connection mode of the mobile terminal based on the response information of the selection information, and executing corresponding connection operation according to the connection mode. In an embodiment, when the user a has sent a request for transmitting audio to the television and has established an audio transmission connection with the television, if the user B sends a request for transmitting audio to the television again, a prompt message appears on the screen of the television to let the user select whether to disconnect the user a, reject the user B, or connect the user a and the user B at the same time. When the user determines that the mobile terminal is the first connection mode, only connecting the user A or the user B, and disconnecting other mobile terminals; and when the user is determined to be the second connection mode, connecting the user A and the user B at the same time. Alternatively, user a may now have established a connection to the television to deliver audio, and user B and user C may again send a request to the television to deliver audio, at which point the user may choose to connect user a and user B simultaneously, denying user C's connection. When the television receives the audio transmission requests sent by the mobile terminals at the same time, different connection modes can be selected according to the current connection condition with the mobile terminals, the problem of single connection is solved, and the connection modes with the mobile terminals are enriched.
Since the connection operation is not performed simultaneously when the tv receives the audio transmission requests sent by the plurality of mobile terminals at the same time, and the connection operation needs to be performed according to the corresponding priority order, referring to fig. 8, the step of connecting the plurality of mobile terminals at the same time includes:
step S130, the television acquires the time sequence of the plurality of requests for transmitting the audio sent by the mobile terminal, and determines the priority sequence connected with the mobile terminal according to the time sequence;
and S131, the television controls a plurality of mobile terminals to execute connection operation according to the priority sequence.
In this embodiment, when receiving a plurality of requests for transmitting audio sent by the mobile terminals, the television automatically records time information of the received requests, performs a sorting operation on the plurality of requested time information to obtain a corresponding time sequence, and determines a priority order of connection of the mobile terminals based on the time sequence; and further the television controls a plurality of mobile terminals to execute connection operation according to the priority order. The specific implementation is as follows: if the requests for transmitting the audio, sent by the user A, the user B and the user C, are currently received, the sending time of the requests is automatically recorded, and if the time for sending the requests by the user A is 14: 00, the time of sending the request by the user B is 14: 20. the time for user C to send the request is 14: and 30, the television firstly carries out audio transmission connection with the user A and then carries out audio transmission connection with the user B and the user C in sequence.
In this embodiment, when the television receives a plurality of requests for transmitting audio sent by the mobile terminal, the priority of the connection operation is determined according to the time sequence of the requests, so as to ensure the accuracy and reasonableness of the audio transmission connection operation.
In addition, this application still provides a playback system of audio frequency, the system includes:
the receiving module is used for receiving a request for transmitting audio sent by the mobile terminal;
a response module, configured to receive, in response to the request for transmitting audio, an audio data packet transmitted by the mobile terminal, where the audio data packet is transmitted by the mobile terminal through a local area network;
and the playing module is used for playing the audio data packet based on the local area network.
Further, the playing module comprises a decoding unit and a playing unit;
the decoding unit is used for executing the decoding operation of the audio data packet to obtain decoded data;
and the playing unit is used for playing the audio data corresponding to the decoding data based on the local area network.
Further, the playing module further comprises a receiving unit and an ending unit;
the receiving unit is used for receiving an audio transmission ending instruction sent by the mobile terminal, wherein the audio transmission ending instruction is triggered after a user clicks a screen of the mobile terminal;
and the ending unit is used for ending the operation of transmitting the audio with the mobile terminal according to the instruction.
Further, the playing module further comprises an acquisition unit;
the acquisition unit is used for acquiring voice playing equipment in the same local area network and sending audio sharing signals to the voice playing equipment;
and the playing unit is further used for controlling the voice playing device to play the audio data corresponding to the audio data packet according to the sharing signal.
Further, the receiving module comprises a receiving unit and a connecting unit;
the receiving unit is used for receiving a connection request sent by the mobile terminal after executing code scanning operation;
and the connection unit is used for establishing communication connection with the mobile terminal according to the connection request.
Further, the receiving unit is further configured to, when receiving a request for transmitting audio sent by a plurality of mobile terminals, output connection selection information according to current connection information with the mobile terminals;
the connection unit is further configured to connect one of the mobile terminals and disconnect the other mobile terminals when the response information based on the selection information is determined to be the first connection mode;
the connection unit is further configured to connect a plurality of the mobile terminals simultaneously when the response information based on the selection information is determined to be the second connection mode.
Further, the receiving module further comprises an obtaining unit and a control unit;
the acquiring unit is used for acquiring the time sequence of the plurality of requests for transmitting the audio sent by the mobile terminal and determining the priority sequence connected with the mobile terminal according to the time sequence;
and the control unit is used for controlling the mobile terminals to execute connection operation according to the priority sequence.
The implementation of the functions of each module of the audio playing system is similar to the process in the above method embodiment, and is not repeated here.
In addition, the application also provides a television, which comprises a memory, a processor and a program which is stored in the memory and runs on the processor and is used for instructing and supervising the writing work of students, wherein the television receives a connection request sent by a mobile terminal after scanning a two-dimensional code, and establishes communication connection with the mobile terminal based on the connection request; further acquiring an audio transmission instruction triggered after a user clicks an 'immediate sound transmission' virtual key in a screen of the mobile terminal, and receiving an audio data packet transmitted by the mobile terminal through a local area network if the television responds to the audio transmission instruction, wherein the audio data packet is obtained after the mobile terminal collects audio input by the user and performs coding operation on the audio; and the television plays the audio data corresponding to the audio data packet based on the local area network. By using the mobile terminal as the radio equipment, the television and the mobile terminal can transmit and play audio in real time through the local area network.
Furthermore, the present application also provides a computer storage medium having a computer program stored thereon, which, when being executed by a processor, implements the steps of the method for playing back audio as described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for playing audio, comprising:
the television receives a request for transmitting audio sent by the mobile terminal;
the television responds to the request for transmitting the audio, and receives an audio data packet transmitted by the mobile terminal, wherein the audio data packet is transmitted by the mobile terminal through a local area network;
and the television plays the audio data packet based on the local area network.
2. The audio playing method according to claim 1, wherein the step of playing the audio data packet by the tv based on the local area network comprises:
the television executes the decoding operation of the audio data packet to obtain decoded data;
and the television plays the audio data corresponding to the decoding data based on the local area network.
3. The audio playing method according to claim 1, wherein the step of playing the audio data packet by the tv based on the local area network is followed by:
the television receives an audio transmission ending instruction sent by the mobile terminal, wherein the audio transmission ending instruction is triggered after a user clicks a screen of the mobile terminal;
and the television finishes the operation of transmitting the audio with the mobile terminal according to the instruction.
4. The audio playing method according to any one of claims 1 to 3, wherein after the step of playing the audio data packet based on the local area network by the television, the method further comprises:
the television acquires voice playing equipment in the same local area network and sends audio sharing signals to the voice playing equipment;
and the television controls the voice playing equipment to play the audio data corresponding to the audio data packet according to the sharing signal.
5. The audio playing method according to any one of claims 1 to 3, wherein the step of receiving the request for transmitting audio by the mobile terminal via the television is preceded by:
the television receives a connection request sent by the mobile terminal after executing code scanning operation;
and the television establishes communication connection with the mobile terminal according to the connection request.
6. The audio playing method according to any one of claims 1 to 3, wherein after the step of receiving the request for transmitting audio from the mobile terminal by the television, the method further comprises:
when the television receives a plurality of requests for transmitting audio sent by the mobile terminals, the television outputs connection selection information according to the current connection information with the mobile terminals;
when the response information based on the selection information is determined to be a first connection mode, connecting one of the mobile terminals and disconnecting the other mobile terminals;
and when the response information based on the selection information is determined to be the second connection mode, simultaneously connecting a plurality of mobile terminals.
7. The audio playing method according to claim 6, wherein the step of connecting a plurality of the mobile terminals simultaneously is followed by:
the television acquires the time sequence of the multiple requests for transmitting the audio sent by the mobile terminal, and determines the priority sequence connected with the mobile terminal according to the time sequence;
and the television controls a plurality of mobile terminals to execute connection operation according to the priority.
8. A system for playing audio, the system comprising:
the receiving module is used for receiving a request for transmitting audio sent by the mobile terminal;
a response module, configured to receive, in response to the request for transmitting audio, an audio data packet transmitted by the mobile terminal, where the audio data packet is transmitted by the mobile terminal through a local area network;
and the playing module is used for playing the audio data packet based on the local area network.
9. A television comprising a memory, a processor, and a program for playing back audio stored in the memory and running on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the program for playing back audio.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010840017.3A 2020-08-18 2020-08-18 Audio playing method and system, television and storage medium Pending CN112004146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010840017.3A CN112004146A (en) 2020-08-18 2020-08-18 Audio playing method and system, television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010840017.3A CN112004146A (en) 2020-08-18 2020-08-18 Audio playing method and system, television and storage medium

Publications (1)

Publication Number Publication Date
CN112004146A true CN112004146A (en) 2020-11-27

Family

ID=73472727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010840017.3A Pending CN112004146A (en) 2020-08-18 2020-08-18 Audio playing method and system, television and storage medium

Country Status (1)

Country Link
CN (1) CN112004146A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518314A (en) * 2021-09-15 2021-10-19 北京勇芯科技有限公司 Quick connection method for low-power-consumption Bluetooth and low-power-consumption Bluetooth communication system
CN114650383A (en) * 2022-03-16 2022-06-21 广东长虹电子有限公司 Method and device for extending television audio interface
CN115883895A (en) * 2022-11-24 2023-03-31 四川长虹电器股份有限公司 Method and system for transmitting audio of smart television in low delay
CN116455496A (en) * 2023-02-17 2023-07-18 广州市迪士普音响科技有限公司 Multifunctional volume controller, network broadcasting system and volume control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024496A (en) * 2012-12-07 2013-04-03 康佳集团股份有限公司 Implementing method and system for set top box and mobile terminal to share microphone
CN103517123A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Smart television playing device, terminal, method for achieving microphone function and system
CN104091423A (en) * 2014-03-12 2014-10-08 腾讯科技(深圳)有限公司 Signal transmission method and family song request system
CN105163177A (en) * 2015-09-02 2015-12-16 深圳Tcl数字技术有限公司 Audio data playing method and system based on smart television and smart television
CN106941646A (en) * 2017-03-27 2017-07-11 广东欧珀移动通信有限公司 Play method, device, mobile terminal and the audio-frequence player device of voice
CN107332976A (en) * 2017-05-31 2017-11-07 腾讯音乐娱乐(深圳)有限公司 Karaoke method, device, equipment and system
CN108184164A (en) * 2017-12-28 2018-06-19 深圳Tcl新技术有限公司 Audio frequency playing method, smart television and computer readable storage medium
CN109451339A (en) * 2018-12-28 2019-03-08 深圳Tcl新技术有限公司 Audio frequency transmission method, device, equipment and readable storage medium storing program for executing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517123A (en) * 2012-06-29 2014-01-15 深圳市快播科技有限公司 Smart television playing device, terminal, method for achieving microphone function and system
CN103024496A (en) * 2012-12-07 2013-04-03 康佳集团股份有限公司 Implementing method and system for set top box and mobile terminal to share microphone
CN104091423A (en) * 2014-03-12 2014-10-08 腾讯科技(深圳)有限公司 Signal transmission method and family song request system
CN105163177A (en) * 2015-09-02 2015-12-16 深圳Tcl数字技术有限公司 Audio data playing method and system based on smart television and smart television
CN106941646A (en) * 2017-03-27 2017-07-11 广东欧珀移动通信有限公司 Play method, device, mobile terminal and the audio-frequence player device of voice
CN107332976A (en) * 2017-05-31 2017-11-07 腾讯音乐娱乐(深圳)有限公司 Karaoke method, device, equipment and system
CN108184164A (en) * 2017-12-28 2018-06-19 深圳Tcl新技术有限公司 Audio frequency playing method, smart television and computer readable storage medium
CN109451339A (en) * 2018-12-28 2019-03-08 深圳Tcl新技术有限公司 Audio frequency transmission method, device, equipment and readable storage medium storing program for executing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518314A (en) * 2021-09-15 2021-10-19 北京勇芯科技有限公司 Quick connection method for low-power-consumption Bluetooth and low-power-consumption Bluetooth communication system
CN113518314B (en) * 2021-09-15 2021-12-17 北京勇芯科技有限公司 Quick connection method for low-power-consumption Bluetooth and low-power-consumption Bluetooth communication system
CN114650383A (en) * 2022-03-16 2022-06-21 广东长虹电子有限公司 Method and device for extending television audio interface
CN114650383B (en) * 2022-03-16 2024-03-26 广东长虹电子有限公司 Method and device for expanding television audio interface
CN115883895A (en) * 2022-11-24 2023-03-31 四川长虹电器股份有限公司 Method and system for transmitting audio of smart television in low delay
CN116455496A (en) * 2023-02-17 2023-07-18 广州市迪士普音响科技有限公司 Multifunctional volume controller, network broadcasting system and volume control method

Similar Documents

Publication Publication Date Title
CN112004146A (en) Audio playing method and system, television and storage medium
US20190304448A1 (en) Audio playback device and voice control method thereof
CN100525438C (en) Phone interactive with television system
KR101650804B1 (en) Method for sharing media content, terminal device, and content sharing system
KR101359263B1 (en) Programmable multimedia controller with programmable services
CN101529867B (en) Sharing multimedia content in a peer-to-peer configuration
EP3723356B1 (en) Content display apparatus
JP4938895B2 (en) Method, mobile electronic device, system and computer program for automatically creating a social networking service (SNS)
EP3089466A1 (en) Method and device for same-screen interaction
CN109982148B (en) Live broadcast method and device, computer equipment and storage medium
US20100023869A1 (en) Remote audio
CN105144143A (en) Pre-caching of audio content
CN104967889A (en) Method used for controlling intelligent television to carry out video information processing and device
CN106385621A (en) Intelligent device control method and device
US10425758B2 (en) Apparatus and method for reproducing multi-sound channel contents using DLNA in mobile terminal
US20090202222A1 (en) Slide show display system with bgm, slide show display method with bgm, information processing device, playback device, and programs
CN107146608B (en) Playing control method and device and intelligent equipment
CN102065340B (en) System and method for implementing multimedia synchronous interaction
CN114189729A (en) Data relay playing method and intelligent device
CN109039872A (en) Exchange method, device, electronic equipment and the storage medium of Instant audio messages
US10666588B2 (en) Method for sharing media content, terminal device, and content sharing system
JP2019503091A (en) Multimedia information reproducing method and system, standardized server and live streaming terminal
CN105553829A (en) Instant messaging method and apparatus
US11632581B2 (en) Playlist switching method, apparatus and system, terminal and storage medium
CN104754261A (en) Projection equipment and projection method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201127