CN112437339A - Audio output control method and device, smart television and storage medium - Google Patents

Audio output control method and device, smart television and storage medium Download PDF

Info

Publication number
CN112437339A
CN112437339A CN202011251496.1A CN202011251496A CN112437339A CN 112437339 A CN112437339 A CN 112437339A CN 202011251496 A CN202011251496 A CN 202011251496A CN 112437339 A CN112437339 A CN 112437339A
Authority
CN
China
Prior art keywords
audio output
data packet
preset
code modulation
pulse code
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
CN202011251496.1A
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 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 CN202011251496.1A priority Critical patent/CN112437339A/en
Publication of CN112437339A publication Critical patent/CN112437339A/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
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals
    • 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/42203Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS] sound input device, e.g. microphone
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Receiver Circuits (AREA)

Abstract

The invention relates to the technical field of audio, and discloses an audio output control method and device, an intelligent television and a computer readable storage medium. The method comprises the steps that a multimedia application switching instruction is received through an intelligent television, a voice pulse code modulation data packet in a preset time period is obtained according to the multimedia application switching instruction, whether the voice pulse code modulation data packet and the preset data packet meet a preset size relation condition or not is further judged, the size of the preset data packet is determined according to the size of audio in the preset time period, and if the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition, the audio output state of an audio power amplifier is adjusted to be in a mute state; the problem of audio output accuracy rate low when the multimedia application on the intelligent television switches in the related art is solved.

Description

Audio output control method and device, smart television and storage medium
Technical Field
The invention relates to the technical field of audio, in particular to an audio output control method and device, an intelligent television and a computer readable storage medium.
Background
With the development of computer technology and the continuous improvement of living standard of people, various intelligent household devices such as intelligent televisions are more and more popular in use, and become an indispensable part of the life of people.
At present, a plurality of multimedia applications are installed on the smart television, such as cool dog music, QQ music, Internet music, Tencent video, love art, mango TV and the like; in which the audio output is occasionally abnormal during the switching process of the multimedia application, such as harsh noise, etc., thereby causing user's trouble.
Therefore, how to improve the accuracy of audio output when multimedia applications are switched on the smart television is a problem to be solved.
Disclosure of Invention
The invention mainly aims to provide an audio output control method and device, an intelligent television and a computer readable storage medium, and aims to improve the accuracy of audio output during switching of multimedia applications on the intelligent television.
In order to achieve the above object, the present invention provides an audio output control method, which is applied to an intelligent television, and the audio output control method includes:
receiving a multimedia application switching instruction;
acquiring a voice pulse code modulation data packet in a preset time period according to the multimedia application switching instruction;
judging whether the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition or not; the size of the preset data packet is determined according to the size of the audio frequency in the preset time period;
if yes, adjusting the audio output state of the audio power amplifier to be a mute state.
Optionally, the step of obtaining the speech pulse code modulation data packet within the preset time period includes:
acquiring a voice pulse coding data stream in a preset time period;
analyzing the voice pulse coding data stream according to bits;
and accumulating the analyzed voice pulse coding data stream to obtain a voice pulse coding modulation data packet.
Optionally, the preset size relationship condition is that the size of the voice pulse modulation data packet is smaller than the size of the preset data packet of n times; wherein n is greater than 0 and less than or equal to 1.
Optionally, the step of adjusting the audio output state of the audio power amplifier to a mute state includes:
and decreasing the audio output gain of the audio power amplifier until the audio output gain is decreased to zero.
Optionally, after the step of adjusting the audio output state of the audio power amplifier to a mute state, the audio output control method further includes:
starting timing when the audio output state of the audio power amplifier is adjusted to be a mute state;
and after the timing duration exceeds the preset duration, restoring the audio output state of the audio power amplifier.
Optionally, the step of restoring the audio output state of the audio power amplifier includes:
and increasing the audio output gain of the audio power amplifier until the audio output gain is increased to the audio output gain before adjustment.
Optionally, after the step of obtaining the speech pulse code modulation data packet within the preset time period, the audio output control method further includes:
judging whether the number of times of acquiring the voice pulse code modulation data packet in the preset time period reaches a preset number threshold value or not;
if not, returning to the step of acquiring the voice pulse code modulation data packet in the preset time period;
the step of judging whether the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition comprises the following steps:
and judging whether at least one voice pulse code modulation data packet in the voice pulse code modulation data packets and a preset data packet meet a preset size relation condition.
Optionally, after the step of obtaining the speech pulse code modulation data packet within the preset time period, the audio output control method further includes:
judging whether the number of times of acquiring the voice pulse code modulation data packet in the preset time period reaches a preset number threshold value or not;
if not, returning to the step of acquiring the voice pulse code modulation data packet in the preset time period;
the step of judging whether the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition comprises the following steps:
and judging whether all the voice pulse code modulation data packets in the plurality of voice pulse code modulation data packets and a preset data packet meet a preset size relation condition.
In addition, in order to achieve the above object, the present invention further provides an audio output control device, which is applied to a smart tv, the audio output control device including:
the receiving module is used for receiving a multimedia application switching instruction;
the acquisition module is used for acquiring a voice pulse code modulation data packet in a preset time period according to the multimedia application switching instruction;
the judging module is used for judging whether the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition or not; the size of the preset data packet is determined according to the size of the audio frequency in the preset time period;
and the adjusting module is used for adjusting the audio output state of the audio power amplifier to be in a mute state when the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition.
In addition, to achieve the above object, the present invention further provides an intelligent tv, including: a memory, a processor and an audio output control program stored on the memory and running on the processor, the audio output control program when executed by the processor implementing the steps of the audio output control method as described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon an audio output control program which, when executed by a processor, implements the steps of the audio output control method as described above.
According to the technical scheme provided by the invention, a multimedia application switching instruction is received through an intelligent television, a voice pulse code modulation data packet in a preset time period is obtained according to the multimedia application switching instruction, whether the voice pulse code modulation data packet and the preset data packet meet a preset size relation condition or not is further judged, wherein the size of the preset data packet is determined according to the size of audio in the preset time period, and if the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition, the audio output state of an audio power amplifier is adjusted to be in a mute state; the problem of audio output accuracy rate low when the multimedia application on the intelligent television switches in the related art is solved.
That is, according to the technical scheme provided by the present invention, whether the audio output abnormality occurs at present is determined by judging, by the smart television, whether the size relationship between the currently acquired voice pulse code modulation data packet and the preset data packet satisfies the preset size relationship, and if the size relationship between the currently acquired voice pulse code modulation data packet and the preset data packet satisfies the preset size relationship, the audio output abnormality at present is determined, so that the audio output state of the audio power amplifier is adjusted to a mute state; the user is prevented from being puzzled by abnormal audio output such as harsh noise, the accuracy of audio output during switching of multimedia applications on the intelligent television is improved, and the user experience satisfaction is higher.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an intelligent television in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first exemplary embodiment of an audio output control method according to the present invention;
FIG. 3 is a block diagram of an audio output control device according to a first 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an intelligent television in a hardware operating environment according to an embodiment of the present invention.
The intelligent TV set includes: at least one processor 101, a memory 102, and an audio output control program stored on the memory and executable on the processor, the audio output control program configured to implement the steps of the audio output control method of any of the following embodiments.
Processor 101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 101 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 101 may further include an AI (Artificial Intelligence) processor for processing operations related to the audio output control method so that the audio output control method model can be trained and learned autonomously, improving efficiency and accuracy.
Memory 102 may include one or more computer-readable storage media, which may be non-transitory. Memory 102 may also include high speed random access memory, as well as non-volatile memory, such as one or more of a disk storage smart tv, a flash storage smart tv. In some embodiments, a non-transitory computer readable storage medium in memory 102 is used to store at least one instruction for execution by processor 101 to implement the audio output control method provided by the method embodiments herein.
In some embodiments, the smart tv may further include: a communication interface 103 and at least one peripheral device. The processor 101, memory 102 and communication interface 103 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 104, display screen 105, and power supply 106.
The communication interface 103 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 101 and the memory 102. In some embodiments, the processor 101, memory 102, and communication interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102 and the communication interface 103 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 104 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 104 communicates with a communication network and other communication smart televisions through electromagnetic signals. The rf circuit 104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 104 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to capture touch signals on or over the surface of the display screen 105. The touch signal may be input to the processor 101 as a control signal for processing. At this point, the display screen 105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 105 may be one, the front panel of a smart tv; in other embodiments, the number of the display screens 105 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the smart television or are in a folding design; in some embodiments, the display screen 105 may be a flexible display screen, disposed on a curved surface or a folded surface of the smart tv. Even further, the display screen 105 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 105 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 106 is used for supplying power to each component in the smart television. The power source 106 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 106 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the smart tv set, and may include more or less components than those shown, or combine certain components, or a different arrangement of components.
Based on the above hardware structure, embodiments of the present invention are proposed.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of an audio output control method according to the present invention, applied to an intelligent television, the audio output control method including the following steps:
step S20: and receiving a multimedia application switching instruction.
It should be noted that the audio output control method of the present invention is applied to the smart tv, that is, the execution subject of each step is the smart tv.
It should be clear that the multimedia application switching instruction in this embodiment represents that the user wants to switch the multimedia application and issue the multimedia application, for example, if the current multimedia application is music of a hot dog, and the user wants to switch to the multimedia application Tencent video for watching a television drama, the user may issue the multimedia application switching instruction to the smart television at this time.
In some examples, the received multimedia application switching instruction may be voice information issued by a user, that is, the voice information carries the multimedia application switching instruction. It can be understood that, in some scenarios, a user may not conveniently input text information to issue a multimedia application switching instruction, so that the user may directly issue voice information, and the voice information is received by a voice module of the smart television, so as to obtain the multimedia application switching instruction from the received voice information.
In some examples, the received multimedia application switching instruction may be text information issued by a user, that is, the text information carries the multimedia application switching instruction, where the input of the text information may be issued by inputting on a remote controller or a display screen of the smart television.
In some examples, the received multimedia application switching instruction may be received by directly issuing by a user, for example, in the above two manners, the user issues voice information or text information to the smart television; or the multimedia application switching instruction may be sent and received by other terminal devices, for example, the user issues the multimedia application switching instruction to the smart phone, and then the smart phone sends the multimedia application switching instruction to the smart television.
Step S21: and acquiring a voice pulse code modulation data packet in a preset time period according to the multimedia application switching instruction.
It should be clear that, after receiving the multimedia application switching instruction in this embodiment, the speech pulse code modulation data packet in the preset time period may be obtained according to the multimedia application switching instruction; the preset time period can be flexibly set, for example, the preset time period is set to be 100ms, 200ms, and the like.
In this embodiment, the step of obtaining the pcm data packet within the preset time period includes:
firstly, acquiring a voice pulse coding data stream in a preset time period;
then, analyzing the voice pulse coding data stream according to bits;
and secondly, accumulating the analyzed voice pulse coding data stream to obtain a voice pulse coding modulation data packet.
That is, in this embodiment, the voice pulse coded data stream in the preset time period is first obtained, then the voice pulse coded data stream is analyzed according to bits, and then the analyzed voice pulse coded data stream is accumulated, so as to obtain the voice pulse code modulation data packet.
Step S22: judging whether the voice pulse code modulation data packet and a preset data packet meet a preset size relation or not; the size of the preset data packet is determined according to the size of the audio frequency in a preset time period;
if so, go to step S23, otherwise, end the process.
It should be clear that, in this embodiment, after obtaining the voice pulse code modulation data packet within the preset time period according to the multimedia application switching instruction, the size relationship between the voice pulse code modulation data packet and the preset data packet may be determined, and then it is determined whether the determined size relationship satisfies the preset size relationship condition, if the size relationship between the voice pulse code modulation data packet and the preset data packet satisfies the preset size relationship condition, it is determined that the audio output is abnormal at this time, and if the size relationship between the voice pulse code modulation data packet and the preset data packet does not satisfy the preset size relationship condition, it is determined that the audio output is normal at this time.
It should be noted that the preset data packet in this embodiment is determined according to the audio size in a preset time period, and specifically, the preset data packet may be determined according to the audio sizes of different types of sound quality in the preset time period; for example, see table one, which is an example table for determining preset data packets according to the audio sizes of different types of sound quality within a preset time period.
Watch 1
Sound quality Preset time period Preset data packet
Smooth tone quality T A1
High quality sound quality T A2
Superior tone quality T A3
Lossless sound quality T A4
As shown in table one, for the same preset time period, different sound qualities and different corresponding preset data packets, wherein a4> A3> a2> a 1; it should be clear that, in this embodiment, the preset time period corresponding to the preset data packet is the same as the preset time period corresponding to the obtained voice pulse code modulation data packet according to the multimedia application switching instruction, for example, the preset data packet is an audio within 100ms, and accordingly, the voice pulse code modulation data packet within 100ms is obtained according to the multimedia application switching instruction; therefore, the size relation between the voice pulse code modulation data and the preset data packet can be better determined whether the size relation meets the preset size relation or not by taking the same time period as a reference.
Generally speaking, if it belongs to noise, the corresponding voice pulse code modulation data packet is far smaller than the voice pulse code modulation data packet corresponding to normal audio output; therefore, in this embodiment, the preset size relationship condition is that the voice pulse modulation packet size is smaller than a preset packet size of n times, where n is greater than 0 and less than or equal to 1, that is, P1 represents the voice pulse modulation packet size, and P2 represents the preset packet size, then P1 is not greater than nP2, and n takes the value of (0, 1 ].
For a better understanding, a specific example is described herein; for example, if the obtained speech pcm packet P1 is 0.12M within 100ms, the preset packet P2 is 1M within 100ms, and n is 0.4, then n P2 is 0.4M, obviously, P1 is not greater than nP2, and therefore, the speech pcm packet and the preset packet at this time satisfy the preset size relationship condition; or if n is 0.1, and other settings are the same, n P2 is 0.1M, obviously P1> nP2, so that the pcm packet and the predetermined packet do not satisfy the predetermined size relationship condition.
Step S23: and adjusting the audio output state of the audio power amplifier to be in a mute state.
It should be clear that, in this embodiment, when it is determined that the size relationship between the voice pcm packet and the predetermined packet satisfies the predetermined size relationship condition, the audio output state of the audio power amplifier may be adjusted to be in a mute state, so as to avoid the occurrence of harsh noise.
In this embodiment, the step of adjusting the audio output state of the audio power amplifier to a mute state includes: decrementing the audio output gain of the audio power amplifier until the decrement is zero; for example, the audio output gain of the audio power amplifier is set as V5, and the audio output gain may be decreased once every 10ms, that is, the audio output gain is decreased as V4, V3, V3, V2, and V1 … … 0.
In this embodiment, whether audio output abnormality occurs at present is determined by judging, by the smart television, whether a size relationship between a currently acquired voice pulse code modulation data packet and a preset data packet satisfies a preset size relationship, and if the size relationship between the currently acquired voice pulse code modulation data packet and the preset data packet satisfies the preset size relationship, it is determined that audio output abnormality occurs at present, so that an audio output state of the audio power amplifier is adjusted to a mute state; the trouble that the audio output is unusual such as harsh noise brings for the user is avoided, the accuracy of audio output when the multimedia application switches on the smart television is promoted, and the user experience satisfaction is promoted.
Based on the first embodiment, a second embodiment of the audio output control method of the present invention is proposed.
In this embodiment, after the step of adjusting the audio output state of the audio power amplifier to the mute state, the audio output control method may further include the steps of:
firstly, timing is started when the audio output state of the audio power amplifier is adjusted to be a mute state;
and then, after the timing duration exceeds the preset duration, restoring the audio output state of the audio power amplifier.
It should be clear that, in this embodiment, after the audio output state of the audio power amplifier is adjusted to the mute state, timing may be started when the audio output state of the audio power amplifier is adjusted to the mute state, and then after the timing duration exceeds the preset duration, the audio output state of the audio power amplifier is restored; therefore, after the audio output state of the audio power amplifier is adjusted to be in a mute state for more than the preset time, the audio output state of the audio power amplifier is recovered, and the normal work of the audio power amplifier is ensured.
It can be understood that, in this embodiment, the preset duration is usually an application switching duration, for example, if the duration required for switching from the application a to the application B is 3s, the preset duration may be 3s, and then the audio output state of the audio power amplifier is restored after the audio output state of the audio power amplifier is adjusted to the mute state for 3 s; it should be noted that, in practical applications, the preset duration can be flexibly adjusted according to specific application scenarios.
In this embodiment, the step of restoring the audio output state of the audio power amplifier includes: increasing the audio output gain of the audio power amplifier until the audio output gain is increased to the audio output gain before adjustment; for example, assuming that the audio output gain of the audio power amplifier before adjustment is V5, the audio output gain may be increased once every 10ms, i.e., the audio output gain is increased to 0 … … V1, V2, V3, V4, and V5.
In this embodiment, the audio output state of the audio power amplifier is restored after the audio output state of the audio power amplifier is adjusted to the mute state for longer than the preset time by the smart television, so that the normal operation of the audio power amplifier is ensured, that is, the normal operation of the audio power amplifier after application switching.
Based on the above embodiments, a third embodiment of the audio output control method of the present invention is proposed.
In this embodiment, after the step of obtaining the pcm data packet within the preset time period, the audio output control method may further include the steps of:
judging whether the number of times of acquiring the voice pulse code modulation data packet in the preset time period reaches a preset number threshold value or not;
if not, returning to the step of acquiring the voice pulse code modulation data packet in the preset time period.
That is, in this embodiment, the voice pulse code modulation data packets in a plurality of preset time periods may be obtained, for example, if the preset time threshold is set to 3 times, the voice pulse code modulation data in 3 preset time periods are continuously obtained; it should be noted that, in practical applications, the preset duration can be flexibly adjusted according to specific application scenarios.
Correspondingly, the step of determining whether the pcm data packet and the predetermined data packet satisfy the predetermined size relationship condition in this embodiment includes:
the first method is as follows: and judging whether at least one voice pulse code modulation data packet in the plurality of voice pulse code modulation data packets and a preset data packet meet a preset size relation condition.
It should be clear that, in this embodiment, after obtaining the voice pulse code modulation data packets within a plurality of preset time periods, it may be determined whether at least one voice pulse code modulation data packet and a preset data packet in the plurality of voice pulse code modulation data packets satisfy a preset size relationship condition; that is, as long as one of the multiple acquired voice pulse code modulation data packets and the preset data packet satisfy the condition of the preset size relationship, the audio output state of the audio power amplifier is adjusted to be in a mute state.
For a better understanding, a specific example is described herein; for example, it is assumed that 5 voice pulse code modulation packets within 100ms are acquired and respectively represented by P10, P11, P12, P13, and P14, and a preset packet is represented by P2, where if one of P10, P11, P12, P13, and P14 and P2 satisfy a preset size relationship condition, it represents that the current audio output is abnormal, and the audio output state of the audio power amplifier can be adjusted to a mute state; otherwise, if none of the P10, P11, P12, P13 and P14 and the P2 meet the preset size relation condition, the current audio output is represented to be normal, and the process is ended.
The second method comprises the following steps: and judging whether all the voice pulse code modulation data packets in the plurality of voice pulse code modulation data packets and the preset data packet meet a preset size relation condition.
It should be clear that, in this embodiment, after obtaining the voice pulse code modulation data packets within a plurality of preset time periods, it may be determined whether all the voice pulse code modulation data packets in the plurality of voice pulse code modulation data packets and the preset data packet satisfy a preset size relationship condition; that is, each of the obtained plurality of voice pcm data packets and the preset data packet need to satisfy a preset size relationship condition, and the audio output state of the audio power amplifier can be adjusted to a mute state.
For a better understanding, a specific example is described herein; for example, it is assumed that 5 voice pulse code modulation packets within 100ms are acquired and respectively represented by P10, P11, P12, P13, and P14, and a preset packet is represented by P2, where only if the 5 voice pulse code modulation packets P10, P11, P12, P13, and P14 respectively satisfy a preset size relationship condition with P2, then the current audio output abnormality is represented, and the audio output state of the audio power amplifier can be adjusted to a mute state; otherwise, if one of the P10, the P11, the P12, the P13 and the P14 and the P2 do not meet the preset size relation condition, the current audio output is represented to be normal, and the process is ended.
In this embodiment, by obtaining the voice pulse code modulation data packets in the plurality of preset time periods and judging whether the voice pulse code modulation data packets and the preset data packets in the plurality of preset time periods satisfy the preset size relationship condition, the accuracy rate of determining whether the current audio is abnormal in output can be improved, and thus the accuracy rate of audio output during switching of multimedia applications on the smart television is further improved.
In addition, referring to fig. 3, an embodiment of the present invention further provides an audio output control device based on the audio output control method, where the audio output control device is applied to a smart television, and the audio output control device includes:
a receiving module 30, configured to receive a multimedia application switching instruction;
the obtaining module 31 is configured to obtain a voice pulse code modulation data packet within a preset time period according to the multimedia application switching instruction;
a judging module 32, configured to judge whether the speech pcm data packet and the preset data packet satisfy a preset size relationship condition; the size of the preset data packet is determined according to the size of the audio frequency in a preset time period;
the adjusting module 33 is configured to adjust the audio output state of the audio power amplifier to a mute state when the voice pulse code modulation packet and the preset packet satisfy a preset size relationship condition.
It should be noted that, the audio output control apparatus applied to the smart television in this embodiment may further optionally include other corresponding modules to implement the steps of the audio output control method.
The audio output control device of the present invention adopts all the technical solutions of all the above embodiments, so that at least all the beneficial effects brought by the technical solutions of the above embodiments are achieved, and no further description is given here.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an audio output control program is stored on the computer-readable storage medium, and when the audio output control program is executed by a processor, the steps of the audio output control method are implemented.
The computer-readable storage media include volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage, or any other medium which can be used to store the desired information and which can be accessed by a computer.
It will be apparent to one skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the terminal devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
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 (11)

1. An audio output control method is applied to a smart television, and comprises the following steps:
receiving a multimedia application switching instruction;
acquiring a voice pulse code modulation data packet in a preset time period according to the multimedia application switching instruction;
judging whether the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition or not; the size of the preset data packet is determined according to the size of the audio frequency in the preset time period;
if yes, adjusting the audio output state of the audio power amplifier to be a mute state.
2. The audio output control method of claim 1, wherein the step of obtaining the voice pulse code modulation data packet within the preset time period comprises:
acquiring a voice pulse coding data stream in a preset time period;
analyzing the voice pulse coding data stream according to bits;
and accumulating the analyzed voice pulse coding data stream to obtain a voice pulse coding modulation data packet.
3. The audio output control method according to claim 1, wherein the predetermined size relationship condition is that the voice pulse modulation packet size is smaller than the predetermined packet size of n times; wherein n is greater than 0 and less than or equal to 1.
4. The audio output control method of claim 1, wherein the step of adjusting the audio output state of the audio power amplifier to a mute state comprises:
and decreasing the audio output gain of the audio power amplifier until the audio output gain is decreased to zero.
5. The audio output control method according to any one of claims 1 to 4, wherein after the step of adjusting the audio output state of the audio power amplifier to a mute state, the audio output control method further comprises:
starting timing when the audio output state of the audio power amplifier is adjusted to be a mute state;
and after the timing duration exceeds the preset duration, restoring the audio output state of the audio power amplifier.
6. The audio output control method of claim 5, wherein the restoring the audio output state of the audio power amplifier comprises:
and increasing the audio output gain of the audio power amplifier until the audio output gain is increased to the audio output gain before adjustment.
7. The audio output control method according to any one of claims 1 to 4, wherein after the step of obtaining the voice pulse code modulation data packet within a preset time period, the audio output control method further comprises:
judging whether the number of times of acquiring the voice pulse code modulation data packet in the preset time period reaches a preset number threshold value or not;
if not, returning to the step of acquiring the voice pulse code modulation data packet in the preset time period;
the step of judging whether the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition comprises the following steps:
and judging whether at least one voice pulse code modulation data packet in the voice pulse code modulation data packets and a preset data packet meet a preset size relation condition.
8. The audio output control method according to any one of claims 1 to 4, wherein after the step of obtaining the voice pulse code modulation data packet within a preset time period, the audio output control method further comprises:
judging whether the number of times of acquiring the voice pulse code modulation data packet in the preset time period reaches a preset number threshold value or not;
if not, returning to the step of acquiring the voice pulse code modulation data packet in the preset time period;
the step of judging whether the voice pulse code modulation data packet and the preset data packet meet the preset size relation condition comprises the following steps:
and judging whether all the voice pulse code modulation data packets in the plurality of voice pulse code modulation data packets and a preset data packet meet a preset size relation condition.
9. An audio output control apparatus, characterized in that the audio output control apparatus comprises:
the receiving module is used for receiving a multimedia application switching instruction;
the acquisition module is used for acquiring a voice pulse code modulation data packet in a preset time period according to the multimedia application switching instruction;
the judging module is used for judging whether the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition or not; the size of the preset data packet is determined according to the size of the audio frequency in the preset time period;
and the adjusting module is used for adjusting the audio output state of the audio power amplifier to be in a mute state when the voice pulse code modulation data packet and a preset data packet meet a preset size relation condition.
10. An intelligent television, characterized in that the intelligent television comprises: memory, a processor and an audio output control program stored on the memory and running on the processor, the audio output control program when executed by the processor implementing the steps of the audio output control method according to any one of claims 1 to 8.
11. A computer-readable storage medium, having stored thereon an audio output control program which, when executed by a processor, implements the steps of the audio output control method according to any one of claims 1-8.
CN202011251496.1A 2020-11-10 2020-11-10 Audio output control method and device, smart television and storage medium Pending CN112437339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011251496.1A CN112437339A (en) 2020-11-10 2020-11-10 Audio output control method and device, smart television and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011251496.1A CN112437339A (en) 2020-11-10 2020-11-10 Audio output control method and device, smart television and storage medium

Publications (1)

Publication Number Publication Date
CN112437339A true CN112437339A (en) 2021-03-02

Family

ID=74700805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011251496.1A Pending CN112437339A (en) 2020-11-10 2020-11-10 Audio output control method and device, smart television and storage medium

Country Status (1)

Country Link
CN (1) CN112437339A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225495A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Method and device for eliminating video playing noise
CN114005469A (en) * 2021-10-20 2022-02-01 广州市网星信息技术有限公司 Audio playing method and system capable of automatically skipping mute segment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06252865A (en) * 1993-02-23 1994-09-09 Nippon Telegr & Teleph Corp <Ntt> Digital audio signal processing unit
CN103209346A (en) * 2013-03-06 2013-07-17 北京赛科世纪数码科技有限公司 Noise control device
CN105847857A (en) * 2016-03-07 2016-08-10 乐视致新电子科技(天津)有限公司 Method and device for processing audios when video is played in double speed
WO2017088427A1 (en) * 2015-11-26 2017-06-01 深圳Tcl数字技术有限公司 Audio output control method and device
CN107566890A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Handle audio stream broadcasting abnormal method, apparatus, computer installation and computer-readable recording medium
US20190279655A1 (en) * 2018-03-12 2019-09-12 Amazon Technologies, Inc. Detection of tv state using sub-audible signal
CN110782891A (en) * 2019-10-10 2020-02-11 珠海格力电器股份有限公司 Audio processing method and device, computing equipment and storage medium
WO2020118496A1 (en) * 2018-12-10 2020-06-18 深圳市欢太科技有限公司 Audio path switching method and device, readable storage medium and electronic equipment
US20200204854A1 (en) * 2018-12-20 2020-06-25 Qingdao Hisense Electronics Co., Ltd Audio Playing And Transmitting Methods And Apparatuses
CN111343344A (en) * 2020-03-13 2020-06-26 Oppo(重庆)智能科技有限公司 Voice abnormity detection method and device, storage medium and electronic equipment
CN111402914A (en) * 2020-03-11 2020-07-10 广州虎牙科技有限公司 Noise elimination method, device, electronic equipment and storage medium
US20200319664A1 (en) * 2019-04-02 2020-10-08 Beijing Xiaomi Mobile Software Co., Ltd. Audio data transmission method and apparatus

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06252865A (en) * 1993-02-23 1994-09-09 Nippon Telegr & Teleph Corp <Ntt> Digital audio signal processing unit
CN103209346A (en) * 2013-03-06 2013-07-17 北京赛科世纪数码科技有限公司 Noise control device
WO2017088427A1 (en) * 2015-11-26 2017-06-01 深圳Tcl数字技术有限公司 Audio output control method and device
CN105847857A (en) * 2016-03-07 2016-08-10 乐视致新电子科技(天津)有限公司 Method and device for processing audios when video is played in double speed
CN107566890A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Handle audio stream broadcasting abnormal method, apparatus, computer installation and computer-readable recording medium
US20190279655A1 (en) * 2018-03-12 2019-09-12 Amazon Technologies, Inc. Detection of tv state using sub-audible signal
WO2020118496A1 (en) * 2018-12-10 2020-06-18 深圳市欢太科技有限公司 Audio path switching method and device, readable storage medium and electronic equipment
US20200204854A1 (en) * 2018-12-20 2020-06-25 Qingdao Hisense Electronics Co., Ltd Audio Playing And Transmitting Methods And Apparatuses
US20200319664A1 (en) * 2019-04-02 2020-10-08 Beijing Xiaomi Mobile Software Co., Ltd. Audio data transmission method and apparatus
CN110782891A (en) * 2019-10-10 2020-02-11 珠海格力电器股份有限公司 Audio processing method and device, computing equipment and storage medium
CN111402914A (en) * 2020-03-11 2020-07-10 广州虎牙科技有限公司 Noise elimination method, device, electronic equipment and storage medium
CN111343344A (en) * 2020-03-13 2020-06-26 Oppo(重庆)智能科技有限公司 Voice abnormity detection method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225495A (en) * 2021-04-23 2021-08-06 深圳创维-Rgb电子有限公司 Method and device for eliminating video playing noise
CN114005469A (en) * 2021-10-20 2022-02-01 广州市网星信息技术有限公司 Audio playing method and system capable of automatically skipping mute segment

Similar Documents

Publication Publication Date Title
CN107493597B (en) Method, device and system for reducing power consumption of mobile terminal
CN111093259B (en) Bluetooth power adjustment method and device, storage medium and terminal
CN112437339A (en) Audio output control method and device, smart television and storage medium
US20200008175A1 (en) Method for Adjusting Broadcast Receiver Queue, Storage Medium, and Electronic Device
CN112367203A (en) Network distribution method and device, smart television and computer readable storage medium
CN114143660A (en) Wireless earphone control method and device and electronic equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN112235856A (en) Method and device for adjusting transmission power of Bluetooth signal, storage medium and mobile terminal
CN105306729A (en) Method and system for adjusting call volume
CN111614329A (en) Power amplifier, electronic equipment, voltage control method and device
US20070218946A1 (en) Power control method of wireless terminal
CN112601207B (en) Communication method, device, terminal equipment and storage medium
CN112689172B (en) Program playing method and device, set top box and storage medium
JP2019537116A (en) Method of adjusting screen-on period of terminal and terminal
CN111916084A (en) Smart home voice control method and device, equipment and storage medium
CN111338905A (en) Application node data processing method and device
CN112612526A (en) Application program control method and device, terminal device and storage medium
CN113039518B (en) Playing control method and device, computer readable storage medium and electronic equipment
CN112350895B (en) Keep-alive method and device for application program, equipment and computer readable storage medium
CN113271385B (en) Call forwarding method
CN113220106A (en) Power saving control method and power saving control device
CN112261712A (en) Power regulation method and device
CN109739641B (en) Self-adaptive CPU frequency modulation acceleration method and device, mobile terminal and storage medium
CN112530428A (en) Voice interaction method and device, terminal equipment and computer readable storage medium
CN108811057B (en) Data transmission method and device and electronic 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