WO2017041543A1 - Audio file playing method and apparatus - Google Patents

Audio file playing method and apparatus Download PDF

Info

Publication number
WO2017041543A1
WO2017041543A1 PCT/CN2016/084422 CN2016084422W WO2017041543A1 WO 2017041543 A1 WO2017041543 A1 WO 2017041543A1 CN 2016084422 W CN2016084422 W CN 2016084422W WO 2017041543 A1 WO2017041543 A1 WO 2017041543A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
picture
file
audio file
playing
Prior art date
Application number
PCT/CN2016/084422
Other languages
French (fr)
Chinese (zh)
Inventor
胡佳文
王云华
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017041543A1 publication Critical patent/WO2017041543A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format

Definitions

  • the present invention relates to the field of smart televisions, and in particular, to an audio file playing method and apparatus.
  • the mobile phone plays music to the TV, and the TV can see larger music subtitles, larger posters, and more beautiful music.
  • the image displayed by the smart TV does not change, which makes the user feel very boring, not only the user experience is not good, but also feels that the process of playing music is monotonous and has no new ideas.
  • Xiao Liu likes to listen to music on the TV side. He picks up the mobile phone and pushes the music to the TV. He likes Wang Feng’s songs and also likes Wang Feng’s poster. Within 5 minutes of playing the song, there is no change in the TV screen. Monotonous The display of a picture on the TV screen makes the user feel very monotonous.
  • the main object of the present invention is to solve the problem that the related pictures cannot be automatically acquired and automatically switched and displayed during the audio playback process of the existing smart TV.
  • the present invention provides an audio file playing method, and the audio file playing method includes the following steps:
  • the step of acquiring the file type of the audio file and determining the unit time displayed by each audio picture corresponding to the file type comprises:
  • the unit time displayed by each audio picture is determined according to the play time of each frame of audio.
  • the sampling frequency is the number of times the sound wave amplitude sample is extracted per second when the analog sound waveform is digitized.
  • the step of acquiring a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture includes:
  • the method before the step of acquiring the audio file corresponding to the instruction when the play instruction is received, the method further includes:
  • the present invention provides an audio file playing method, and the audio file playing method includes the following steps:
  • the step of determining, according to the audio file, the unit time displayed by each audio picture, and acquiring the audio picture corresponding to the audio file from the picture library comprises:
  • the step of acquiring the file type of the audio file and determining the unit time displayed by each audio picture corresponding to the file type includes:
  • the unit time displayed by each audio picture is determined according to the play time of each frame of audio.
  • the sampling frequency is a number of times the sound wave amplitude sample is extracted every second when the analog sound waveform is digitized.
  • the step of acquiring a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture includes:
  • the method before the step of acquiring the audio file corresponding to the instruction when the play instruction is received, the method further includes:
  • the step of acquiring the audio file corresponding to the instruction when the play instruction is received includes:
  • the audio file corresponding to the play instruction is acquired from the mobile terminal, and the audio file is saved in a cache, and the play instruction is triggered by the mobile terminal.
  • the present invention further provides an audio file playing device, where the audio file playing device includes:
  • a receiving module configured to acquire an audio file corresponding to the instruction when receiving a play instruction
  • a processing module configured to determine, according to the audio file, a unit time displayed by each audio picture, and obtain an audio picture corresponding to the audio file from a picture library;
  • a playing module configured to play the audio file, and display the audio picture one by one according to the unit time
  • the processing module includes an audio processing unit and a picture processing unit;
  • the audio processing unit is configured to acquire a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
  • the audio processing unit is further configured to acquire a total playing time of the audio file, and divide the total playing time by the unit time to calculate a number n of the audio picture;
  • the picture processing unit is configured to obtain a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
  • the audio processing unit includes an acquisition subunit, a determination subunit, and a calculation subunit;
  • the obtaining subunit is configured to acquire a file type of the audio file
  • the determining subunit is configured to determine, according to the file type, a corresponding audio sampling frequency and a sampling sample number of each frame of audio;
  • the calculating subunit is configured to divide the sampling sample number of each frame of audio by the sampling frequency, and calculate a playing time of each frame of audio;
  • the determining subunit is configured to determine a unit time displayed by each audio picture according to the playing time of the audio of each frame.
  • the sampling frequency is a number of times the sound wave amplitude sample is extracted every second when the analog sound waveform is digitized.
  • the picture processing unit includes a lookup subunit, a sorting subunit, and a screening subunit;
  • the search subunit is configured to acquire a file name of the audio file, and search for a picture corresponding to the file name from the picture library;
  • the sorting subunit is configured to sort the found pictures by resolution
  • the screening subunit is configured to obtain a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
  • the audio file playing device further includes a configuration module
  • the configuration module is configured to configure a photo library containing an audio picture in the cloud server.
  • the acquiring module is further configured to: when receiving a play instruction, acquire an audio file corresponding to the play instruction from a mobile terminal, and save the audio file in a cache, where the play instruction is moved by the mobile terminal Terminal triggering.
  • the invention When playing an audio file, the invention automatically obtains a corresponding audio picture from the picture library, and calculates a unit time of each audio picture display, and displays the audio picture one by one according to the unit time during the process of playing the audio file, thereby realizing the audio.
  • the audio picture is automatically obtained during playback, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
  • FIG. 1 is a schematic flow chart of a first embodiment of an audio file playing method according to the present invention.
  • FIG. 2 is a schematic flow chart of a second embodiment of an audio file playing method according to the present invention.
  • FIG. 3 is a schematic flowchart of a third embodiment of an audio file playing method according to the present invention.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of an audio file playing method according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of an audio file playing device according to the present invention.
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of an audio file playback apparatus according to the present invention.
  • FIG. 7 is a schematic diagram of functional modules of a third embodiment of an audio file playing device according to the present invention.
  • FIG. 8 is a schematic diagram of functional modules of a fourth embodiment of an audio file playback apparatus according to the present invention.
  • the main solution of the embodiment of the present invention is: acquiring an audio file corresponding to the instruction when receiving the play instruction; determining a unit time of each audio picture display according to the audio file, and acquiring the audio from the picture library An audio picture corresponding to the file; playing the audio file, and displaying the audio picture one by one according to the unit time.
  • the present invention provides an audio file playing method.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of an audio file playing method according to the present invention.
  • the audio file playing method includes:
  • Step S10 when receiving a play instruction, acquiring an audio file corresponding to the instruction
  • the audio file corresponding to the instruction is acquired, so that the corresponding audio picture is automatically obtained from the picture library according to the audio file, and the unit time of each audio picture is calculated, and the audio is played.
  • the audio picture is displayed one by one according to the unit time in the file process.
  • a communication connection between the smart TV and the mobile terminal can be established, and an audio play instruction is triggered by the mobile terminal, and when the smart television receives an audio play instruction from the mobile terminal,
  • the communication connection acquires an audio file corresponding to the instruction from the mobile terminal, and saves the audio file in a cache of the smart TV.
  • the mobile terminal may be, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA Terminals (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like.
  • Step S20 determining a unit time displayed by each audio picture according to the audio file, and acquiring an audio picture corresponding to the audio file from the picture library;
  • the smart television determines a unit time for each audio picture display based on the acquired audio file.
  • the unit time displayed by each of the audio pictures is used to display the audio picture one by one according to the unit time when the audio file is played.
  • the unit time displayed by each of the audio pictures may be a preset time parameter, for example, it may be set to display 2 seconds for each audio picture, and the total playing time of the audio file is obtained for 10 seconds, and then the displayed audio picture is determined.
  • the number of sheets is five, and five corresponding audio pictures are obtained from the picture library, and the five audio pictures are displayed one by one according to the speed of each audio picture display for 2 seconds.
  • the file type of the audio file may also be acquired, and the unit time displayed by each audio picture corresponding to the file type may be determined.
  • the audio picture of the MP3 format audio file display unit time is set to 2.6 seconds, that is, each audio picture is displayed after 2.6 seconds and then switched to the next audio picture;
  • the audio time of the AAC format audio file is set to the unit time set to 2.2 seconds, that is, each audio picture is displayed 2.2 seconds after switching to the next audio picture.
  • the smart TV acquires an audio picture corresponding to the audio file from a picture library.
  • the audio picture corresponding to the audio file is a picture related to the audio file content, for example, the audio picture may be a poster corresponding to the audio file, or a picture of a singer corresponding to the audio file, and the like.
  • the picture library may be a picture library containing an audio picture pre-configured in the smart TV, or the picture library may also be a picture containing an audio picture pre-configured in a server communicatively connected to the smart television. Library.
  • the image library containing the audio picture may be configured in the cloud server. Acquiring an audio image corresponding to the audio file from the picture library.
  • Step S30 playing the audio file, and displaying the audio picture one by one according to the unit time.
  • the audio picture is displayed in the display area according to the unit time displayed by each audio picture, and each audio picture display unit time is switched to the next audio picture until The audio file playback ends.
  • the corresponding audio picture is automatically obtained from the picture library, and the unit time of each audio picture is calculated, and the audio picture is displayed one by one according to the unit time during the process of playing the audio file, thereby realizing
  • the audio picture is automatically obtained during the audio playback process, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
  • FIG. 2 is a schematic flowchart diagram of a second embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S20 includes:
  • Step S21 Obtain a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
  • the smart TV may determine a unit time of each corresponding audio picture display according to the file type by acquiring a file type of the audio file. Calculating the number of sheets of the audio picture according to the unit time displayed according to the each audio picture, and displaying the audio picture one by one according to the unit time displayed by each of the audio pictures.
  • Step S22 acquiring the total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio picture;
  • the smart TV may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures.
  • the number of audio pictures may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures. The number of audio pictures.
  • Step S23 Obtain a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
  • the smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, and filters out n pictures as the audio picture.
  • the unit time displayed by each audio picture is determined according to the file type of the audio file, so that the audio picture is displayed according to the unit time. And calculating the number of sheets of the audio picture according to the total playing time of the audio file, to obtain an audio picture corresponding to the number of sheets. And obtaining an audio picture from the picture library according to the file name of the audio file, realizing automatic acquisition of the audio picture during the audio playing process, and automatically switching the display according to the playing of the audio file in real time, so that the music playing is no longer monotonous, thereby improving the user experience.
  • FIG. 3 is a schematic flowchart diagram of a third embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S21 includes:
  • Step S210 Obtain a file type of the audio file.
  • Step S211 determining a corresponding audio sampling frequency and a sample number of samples of each frame of audio according to the file type
  • Step S212 dividing the number of sampled samples of each frame of audio by the sampling frequency, and calculating a play time of each frame of audio
  • Step S213 determining a unit time displayed by each audio picture according to the playing time of each frame of audio.
  • the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1152.
  • the number of sampled samples per frame of audio/sampling frequency the playing time of each frame of audio, each frame is calculated.
  • the audio playback time is 0.026 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.6 seconds.
  • the file type of the audio file is AAC format
  • determine that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1024.
  • the number of sampled samples per frame of audio/sampling frequency the playing time of each frame of audio, each frame is calculated.
  • the audio playback time is 0.022 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.2 seconds.
  • the corresponding audio sampling frequency and the sampled sample number of each frame of audio are determined according to the file type of the audio file, and the playing time of each frame of audio is calculated, and each piece is determined according to the playing time of each frame of audio.
  • the unit time of the audio picture display.
  • the audio picture can automatically switch the audio picture according to the playing speed of the audio file during the playing process, so that the music playing is no longer monotonous, which improves the user experience.
  • FIG. 4 is a schematic flowchart diagram of a fourth embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S23 includes:
  • Step S230 acquiring a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
  • Step S231 sorting the found pictures by resolution
  • Step S232 Acquire a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
  • the smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, sorts the searched picture by resolution, and obtains a resolution of the audio picture display area, A picture smaller than or equal to the resolution of the display area is obtained in the found picture, and the first n pictures with the largest resolution are selected as the audio picture.
  • the found pictures can be sorted according to the resolution from large to small.
  • the corresponding picture is searched from the picture library according to the file name of the audio file, and the searched picture is filtered according to the resolution of the audio picture display area, and the most suitable current display area is selected.
  • the audio picture makes the audio picture display clearer and improves the user experience.
  • the execution bodies of the audio file playing methods of the first to fourth embodiments described above may each be a smart television or an audio playback device disposed in the smart television. Still further, the audio file playing method may be implemented by an audio file playing program installed on a smart TV or an audio playing device disposed in the smart television.
  • the invention further provides an audio file playback device.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of an audio file playback apparatus according to the present invention.
  • the audio file playing device includes: a receiving module 10, a processing module 20, and a playing module 30.
  • the receiving module 10 is configured to acquire an audio file corresponding to the instruction when receiving the play instruction;
  • the audio file corresponding to the instruction is acquired, so that the corresponding audio picture is automatically obtained from the picture library according to the audio file, and the unit time of each audio picture is calculated, and the audio is played.
  • the audio picture is displayed one by one according to the unit time in the file process.
  • a communication connection between the smart TV and the mobile terminal can be established, and an audio play instruction is triggered by the mobile terminal, and when the smart television receives an audio play instruction from the mobile terminal,
  • the communication connection acquires an audio file corresponding to the instruction from the mobile terminal, and saves the audio file in a cache of the smart TV.
  • the mobile terminal may be, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA Terminals (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like.
  • the processing module 20 is configured to determine, according to the audio file, a unit time displayed by each audio picture, and obtain an audio picture corresponding to the audio file from a picture library;
  • the smart television determines a unit time for each audio picture display based on the acquired audio file.
  • the unit time displayed by each of the audio pictures is used to display the audio picture one by one according to the unit time when the audio file is played.
  • the unit time displayed by each of the audio pictures may be a preset time parameter, for example, it may be set to display 2 seconds for each audio picture, and the total playing time of the audio file is obtained for 10 seconds, and then the displayed audio picture is determined.
  • the number of sheets is five, and five corresponding audio pictures are obtained from the picture library, and the five audio pictures are displayed one by one according to the speed of each audio picture display for 2 seconds.
  • the file type of the audio file may also be acquired, and the unit time displayed by each audio picture corresponding to the file type may be determined.
  • the audio picture of the MP3 format audio file display unit time is set to 2.6 seconds, that is, each audio picture is displayed after 2.6 seconds and then switched to the next audio picture;
  • the audio time of the AAC format audio file is set to the unit time set to 2.2 seconds, that is, each audio picture is displayed 2.2 seconds after switching to the next audio picture.
  • the smart TV acquires an audio picture corresponding to the audio file from a picture library.
  • the audio picture corresponding to the audio file is a picture related to the audio file content, for example, the audio picture may be a poster corresponding to the audio file, or a picture of a singer corresponding to the audio file, and the like.
  • the picture library may be a picture library containing an audio picture pre-configured in the smart TV, or the picture library may also be a picture containing an audio picture pre-configured in a server communicatively connected to the smart television. Library.
  • the audio file playing device further includes a configuration module, and the configuration module is configured to configure a photo library containing the audio picture in the cloud server. Acquiring an audio image corresponding to the audio file from the picture library.
  • a playing module 30 configured to play the audio file, and display the audio picture one by one according to the unit time
  • the audio picture is displayed in the display area according to the unit time displayed by each audio picture, and each audio picture display unit time is switched to the next audio picture until The audio file playback ends.
  • the corresponding audio picture is automatically obtained from the picture library, and the unit time of each audio picture is calculated, and the audio picture is displayed one by one according to the unit time during the process of playing the audio file, thereby realizing
  • the audio picture is automatically obtained during the audio playback process, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
  • FIG. 6 is a schematic diagram of functional modules of a second embodiment of the apparatus of the present invention.
  • the processing module 20 includes an audio processing unit 21 and a picture processing unit 22;
  • the audio processing unit 21 is configured to acquire a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
  • the smart TV may determine a unit time of each corresponding audio picture display according to the file type by acquiring a file type of the audio file. Calculating the number of sheets of the audio picture according to the unit time displayed according to the each audio picture, and displaying the audio picture one by one according to the unit time displayed by each of the audio pictures.
  • the audio processing unit 21 is further configured to acquire a total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures;
  • the smart TV may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures.
  • the number of audio pictures may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures. The number of audio pictures.
  • the image processing unit 22 is configured to acquire a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
  • the smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, and filters out n pictures as the audio picture.
  • the unit time displayed by each audio picture is determined according to the file type of the audio file, so that the audio picture is displayed according to the unit time. And calculating the number of sheets of the audio picture according to the total playing time of the audio file, to obtain an audio picture corresponding to the number of sheets. And obtaining an audio picture from the picture library according to the file name of the audio file, realizing automatic acquisition of the audio picture during the audio playing process, and automatically switching the display according to the playing of the audio file in real time, so that the music playing is no longer monotonous, thereby improving the user experience.
  • FIG. 7 is a schematic diagram of functional modules of a third embodiment of the apparatus of the present invention.
  • the audio processing unit 21 includes an acquisition subunit 210, a determination subunit 211, and a calculation subunit 212, based on the first embodiment of the audio file playback apparatus described above;
  • the obtaining subunit 210 is configured to acquire a file type of the audio file.
  • the determining subunit 211 is configured to determine, according to the file type, a corresponding audio sampling frequency and a sample number of samples of each frame of audio;
  • the calculating subunit 212 is configured to divide the number of sampled samples of each frame of audio by the sampling frequency, and calculate a playing time of each frame of audio;
  • the determining subunit 211 is configured to determine a unit time displayed by each audio picture according to the playing time of the audio of each frame.
  • the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1152.
  • the number of sampled samples per frame of audio/sampling frequency the playing time of each frame of audio, each frame is calculated.
  • the audio playback time is 0.026 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.6 seconds.
  • the file type of the audio file is AAC format
  • determine that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1024.
  • the number of sampled samples per frame of audio/sampling frequency the playing time of each frame of audio, each frame is calculated.
  • the audio playback time is 0.022 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.2 seconds.
  • the corresponding audio sampling frequency and the sampled sample number of each frame of audio are determined according to the file type of the audio file, and the playing time of each frame of audio is calculated, and each piece is determined according to the playing time of each frame of audio.
  • the unit time of the audio picture display.
  • the audio picture can automatically switch the audio picture according to the playing speed of the audio file during the playing process, so that the music playing is no longer monotonous, which improves the user experience.
  • FIG. 8 is a schematic diagram of functional modules of a fourth embodiment of the apparatus of the present invention.
  • the image processing unit 22 includes a lookup subunit 220, a sorting subunit 221, and a screening subunit 222, based on the first embodiment of the audio file playing apparatus.
  • the searching sub-unit 220 is configured to acquire a file name of the audio file, and search for a picture corresponding to the file name from the picture library;
  • the sorting sub-unit 221 is configured to sort the found pictures by resolution
  • the filtering sub-unit 222 is configured to obtain a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
  • the smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, sorts the searched picture by resolution, and obtains a resolution of the audio picture display area, A picture smaller than or equal to the resolution of the display area is obtained in the found picture, and the first n pictures with the largest resolution are selected as the audio picture.
  • the found pictures can be sorted according to the resolution from large to small.
  • the corresponding picture is searched from the picture library according to the file name of the audio file, and the searched picture is filtered according to the resolution of the audio picture display area, and the most suitable current display area is selected.
  • the audio picture makes the audio picture display clearer and improves the user experience.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

Disclosed is an audio file playing method. The audio file playing method comprises the following steps: when a playing instruction is received, acquiring an audio file corresponding to the instruction; determining, according to the audio file, unit time for displaying each audio picture, and acquiring the audio picture corresponding to the audio file from a picture library; and playing the audio file, and displaying the audio pictures according to the unit time one by one. Also disclosed is an audio file playing apparatus. The present invention achieves automatic acquisition of an audio picture in an audio playing process and real-time automatic switching display according to playing of an audio file, such that music playing is no longer monotonous, and the user experience is improved.

Description

音频文件播放方法及装置  Audio file playing method and device
技术领域Technical field
本发明涉及智能电视领域,尤其涉及一种音频文件播放方法及装置。The present invention relates to the field of smart televisions, and in particular, to an audio file playing method and apparatus.
背景技术Background technique
目前,随着智能电视及终端技术的快速发展,移动终端与智能电视的交互也越来越多。尤其,手机端播放音乐推送到电视端播放,电视端可以看到更大的音乐字幕,更大的歌首的海报,更动听的音乐。然而,在播放一首歌曲的时间内,智能电视显示的图像没有任何的变化,让用户感觉很无聊,不仅用户体验不好,而且,感觉播放音乐过程显得单调,没有新意。At present, with the rapid development of smart TV and terminal technology, the interaction between mobile terminals and smart TVs is increasing. In particular, the mobile phone plays music to the TV, and the TV can see larger music subtitles, larger posters, and more beautiful music. However, during the time when a song is played, the image displayed by the smart TV does not change, which makes the user feel very boring, not only the user experience is not good, but also feels that the process of playing music is monotonous and has no new ideas.
例如:小刘很喜欢在电视端听音乐,他拿起手机将音乐推动到电视端,喜欢汪峰的歌曲,也喜欢汪峰的海报,在播放歌曲的5分钟之内,电视画面没有任何变化,单调的显示一张图片在电视荧幕上面,让用户感觉很单调。For example: Xiao Liu likes to listen to music on the TV side. He picks up the mobile phone and pushes the music to the TV. He likes Wang Feng’s songs and also likes Wang Feng’s poster. Within 5 minutes of playing the song, there is no change in the TV screen. Monotonous The display of a picture on the TV screen makes the user feel very monotonous.
因此,在现有的智能电视进行音频播放过程中,无法自动获取对应的图片进行显示的问题,此方面的问题亟待发明人解决。Therefore, in the process of audio playback of the existing smart TV, the corresponding picture cannot be automatically obtained for display, and the problem in this aspect needs to be solved by the inventor.
上述内容仅用于辅助理解本发明的技术方案,并不代表承认上述内容是现有技术。The above content is only used to assist in understanding the technical solutions of the present invention, and does not constitute an admission that the above is prior art.
发明内容Summary of the invention
本发明的主要目的在于解决在现有的智能电视进行音频播放过程中,无法自动获取相关的图片并进行自动切换显示的问题。The main object of the present invention is to solve the problem that the related pictures cannot be automatically acquired and automatically switched and displayed during the audio playback process of the existing smart TV.
为实现上述目的,本发明提供一种音频文件播放方法,所述的音频文件播放方法包括以下步骤:To achieve the above objective, the present invention provides an audio file playing method, and the audio file playing method includes the following steps:
在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发;Obtaining, by the mobile terminal, an audio file corresponding to the play instruction, and saving the audio file in a buffer, where the play instruction is triggered by the mobile terminal;
获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;Obtaining a file type of the audio file, and determining a unit time displayed by each audio picture corresponding to the file type;
获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;Obtaining a total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio pictures;
获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片;Obtaining a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture;
播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。Playing the audio file and displaying the audio picture one by one according to the unit time.
优选地,所述获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间的步骤包括:Preferably, the step of acquiring the file type of the audio file and determining the unit time displayed by each audio picture corresponding to the file type comprises:
获取所述音频文件的文件类型;Obtaining a file type of the audio file;
根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;Determining a corresponding audio sampling frequency and a sample number of samples per frame of audio according to the file type;
将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;Dividing the number of sampled samples of each frame of audio by the sampling frequency to calculate a play time of each frame of audio;
根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The unit time displayed by each audio picture is determined according to the play time of each frame of audio.
优选地,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。Preferably, the sampling frequency is the number of times the sound wave amplitude sample is extracted per second when the analog sound waveform is digitized.
优选地,所述获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片的步骤包括:Preferably, the step of acquiring a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture includes:
获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;Obtaining a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
将所查找到的图片按分辨率进行排序;Sort the found images by resolution;
获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。Acquiring the resolution of the audio picture display area, and extracting the first n pictures as the audio picture from the picture less than or equal to the resolution of the display area.
优选地,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤之前,还包括:Preferably, before the step of acquiring the audio file corresponding to the instruction when the play instruction is received, the method further includes:
在云端服务器配置含有音频图片的图片库。Configure a photo gallery with audio images in the cloud server.
此外,为实现上述目的,本发明提供一种音频文件播放方法,所述的音频文件播放方法包括以下步骤:In addition, in order to achieve the above object, the present invention provides an audio file playing method, and the audio file playing method includes the following steps:
在接收到播放指令时,获取所述指令对应的音频文件;Acquiring an audio file corresponding to the instruction when receiving the play instruction;
根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;Determining, according to the audio file, a unit time displayed by each audio picture, and acquiring an audio picture corresponding to the audio file from a picture library;
播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。Playing the audio file and displaying the audio picture one by one according to the unit time.
优选的,所述根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片的步骤包括:Preferably, the step of determining, according to the audio file, the unit time displayed by each audio picture, and acquiring the audio picture corresponding to the audio file from the picture library comprises:
获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;Obtaining a file type of the audio file, and determining a unit time displayed by each audio picture corresponding to the file type;
获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;Obtaining a total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio pictures;
获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。Obtaining a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture.
优选的,所述获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间的步骤包括:Preferably, the step of acquiring the file type of the audio file and determining the unit time displayed by each audio picture corresponding to the file type includes:
获取所述音频文件的文件类型;Obtaining a file type of the audio file;
根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;Determining a corresponding audio sampling frequency and a sample number of samples per frame of audio according to the file type;
将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;Dividing the number of sampled samples of each frame of audio by the sampling frequency to calculate a play time of each frame of audio;
根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The unit time displayed by each audio picture is determined according to the play time of each frame of audio.
优选的,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。Preferably, the sampling frequency is a number of times the sound wave amplitude sample is extracted every second when the analog sound waveform is digitized.
优选的,所述获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片的步骤包括:Preferably, the step of acquiring a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture includes:
获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;Obtaining a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
将所查找到的图片按分辨率进行排序;Sort the found images by resolution;
获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。Acquiring the resolution of the audio picture display area, and extracting the first n pictures as the audio picture from the picture less than or equal to the resolution of the display area.
优选的,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤之前,还包括:Preferably, before the step of acquiring the audio file corresponding to the instruction when the play instruction is received, the method further includes:
在云端服务器配置含有音频图片的图片库。Configure a photo gallery with audio images in the cloud server.
优选的,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤包括:Preferably, the step of acquiring the audio file corresponding to the instruction when the play instruction is received includes:
在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发。When receiving the play instruction, the audio file corresponding to the play instruction is acquired from the mobile terminal, and the audio file is saved in a cache, and the play instruction is triggered by the mobile terminal.
此外,为实现上述目的,本发明还提供一种音频文件播放装置,所述的音频文件播放装置包括:In addition, in order to achieve the above object, the present invention further provides an audio file playing device, where the audio file playing device includes:
接收模块,用于在接收到播放指令时,获取所述指令对应的音频文件;a receiving module, configured to acquire an audio file corresponding to the instruction when receiving a play instruction;
处理模块,用于根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;a processing module, configured to determine, according to the audio file, a unit time displayed by each audio picture, and obtain an audio picture corresponding to the audio file from a picture library;
播放模块,用于播放所述音频文件,并按照所述单位时间逐张显示所述音频图片a playing module, configured to play the audio file, and display the audio picture one by one according to the unit time
优选的,所述处理模块包括音频处理单元及图片处理单元;Preferably, the processing module includes an audio processing unit and a picture processing unit;
所述音频处理单元,用于获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;The audio processing unit is configured to acquire a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
所述音频处理单元,还用于获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;The audio processing unit is further configured to acquire a total playing time of the audio file, and divide the total playing time by the unit time to calculate a number n of the audio picture;
所述图片处理单元,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。The picture processing unit is configured to obtain a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
优选的,所述音频处理单元包括获取子单元、确定子单元及计算子单元;Preferably, the audio processing unit includes an acquisition subunit, a determination subunit, and a calculation subunit;
所述获取子单元,用于获取所述音频文件的文件类型;The obtaining subunit is configured to acquire a file type of the audio file;
所述确定子单元,用于根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;The determining subunit is configured to determine, according to the file type, a corresponding audio sampling frequency and a sampling sample number of each frame of audio;
所述计算子单元,用于将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;The calculating subunit is configured to divide the sampling sample number of each frame of audio by the sampling frequency, and calculate a playing time of each frame of audio;
所述确定子单元,用于根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The determining subunit is configured to determine a unit time displayed by each audio picture according to the playing time of the audio of each frame.
优选的,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。Preferably, the sampling frequency is a number of times the sound wave amplitude sample is extracted every second when the analog sound waveform is digitized.
优选的,所述图片处理单元包括查找子单元、排序子单元及筛选子单元;Preferably, the picture processing unit includes a lookup subunit, a sorting subunit, and a screening subunit;
所述查找子单元,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;The search subunit is configured to acquire a file name of the audio file, and search for a picture corresponding to the file name from the picture library;
所述排序子单元,用于将所查找到的图片按分辨率进行排序;The sorting subunit is configured to sort the found pictures by resolution;
所述筛选子单元,用于获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。The screening subunit is configured to obtain a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
优选的,所述音频文件播放装置还包括配置模块;Preferably, the audio file playing device further includes a configuration module;
所述配置模块,用于在云端服务器配置含有音频图片的图片库。The configuration module is configured to configure a photo library containing an audio picture in the cloud server.
优选的,所述获取模块,还用于在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发。Preferably, the acquiring module is further configured to: when receiving a play instruction, acquire an audio file corresponding to the play instruction from a mobile terminal, and save the audio file in a cache, where the play instruction is moved by the mobile terminal Terminal triggering.
本发明在播放音频文件时,自动从图片库中获取对应的音频图片,并计算每张音频图片显示的单位时间,在播放音频文件过程中按照所述单位时间逐张显示音频图片,实现了音频播放过程中自动获取音频图片,并根据音频文件的播放实时自动切换显示,使得音乐播放不再单调,提高了用户体验。When playing an audio file, the invention automatically obtains a corresponding audio picture from the picture library, and calculates a unit time of each audio picture display, and displays the audio picture one by one according to the unit time during the process of playing the audio file, thereby realizing the audio. The audio picture is automatically obtained during playback, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
附图说明DRAWINGS
图1为本发明音频文件播放方法的第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of an audio file playing method according to the present invention;
图2为本发明音频文件播放方法的第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of an audio file playing method according to the present invention;
图3为本发明音频文件播放方法的第三实施例的流程示意图;3 is a schematic flowchart of a third embodiment of an audio file playing method according to the present invention;
图4为本发明音频文件播放方法的第四实施例的流程示意图;4 is a schematic flowchart diagram of a fourth embodiment of an audio file playing method according to the present invention;
图5为本发明音频文件播放装置的第一实施例的功能模块示意图;FIG. 5 is a schematic diagram of functional modules of a first embodiment of an audio file playing device according to the present invention; FIG.
图6为本发明音频文件播放装置的第二实施例的功能模块示意图;6 is a schematic diagram of functional modules of a second embodiment of an audio file playback apparatus according to the present invention;
图7为本发明音频文件播放装置的第三实施例的功能模块示意图;FIG. 7 is a schematic diagram of functional modules of a third embodiment of an audio file playing device according to the present invention; FIG.
图8为本发明音频文件播放装置的第四实施例的功能模块示意图。FIG. 8 is a schematic diagram of functional modules of a fourth embodiment of an audio file playback apparatus according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:在接收到播放指令时,获取所述指令对应的音频文件;根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。The main solution of the embodiment of the present invention is: acquiring an audio file corresponding to the instruction when receiving the play instruction; determining a unit time of each audio picture display according to the audio file, and acquiring the audio from the picture library An audio picture corresponding to the file; playing the audio file, and displaying the audio picture one by one according to the unit time.
在现有的智能电视进行音频播放过程中,无法自动获取相关的图片并进行自动切换显示的问题。In the process of audio playback of the existing smart TV, it is impossible to automatically acquire related pictures and perform automatic switching display.
基于上述问题,本发明提供一种音频文件播放方法。Based on the above problems, the present invention provides an audio file playing method.
参照图1,图1为本发明音频文件播放方法的第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of an audio file playing method according to the present invention.
在本实施例中,所述音频文件播放方法包括:In this embodiment, the audio file playing method includes:
步骤S10,在接收到播放指令时,获取所述指令对应的音频文件;Step S10, when receiving a play instruction, acquiring an audio file corresponding to the instruction;
在智能电视接收到音频播放指令时,获取所述指令对应的音频文件,以根据所述音频文件自动从图片库中获取对应的音频图片,并计算每张音频图片显示的单位时间,在播放音频文件过程中按照所述单位时间逐张显示音频图片。When the smart TV receives the audio play instruction, the audio file corresponding to the instruction is acquired, so that the corresponding audio picture is automatically obtained from the picture library according to the audio file, and the unit time of each audio picture is calculated, and the audio is played. The audio picture is displayed one by one according to the unit time in the file process.
优选的,在智能电视系统中,可以建立智能电视与移动终端的通信连接,并通过所述移动终端触发音频播放指令,在智能电视接收到来自所述移动终端的音频播放指令时,通过所述通信连接从所述移动终端获取所述指令对应的音频文件,并将所述音频文件保存在所述智能电视的缓存中。所述移动终端可以是诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA (个人数字助理)、PAD(平板电脑)、PMP (便携式多媒体播放器)、导航装置等等的终端。Preferably, in the smart television system, a communication connection between the smart TV and the mobile terminal can be established, and an audio play instruction is triggered by the mobile terminal, and when the smart television receives an audio play instruction from the mobile terminal, The communication connection acquires an audio file corresponding to the instruction from the mobile terminal, and saves the audio file in a cache of the smart TV. The mobile terminal may be, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA Terminals (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like.
步骤S20,根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;Step S20, determining a unit time displayed by each audio picture according to the audio file, and acquiring an audio picture corresponding to the audio file from the picture library;
所述智能电视根据所获取的音频文件确定每张音频图片显示的单位时间。所述每张音频图片显示的单位时间,用于在播放所述音频文件时,按照所述单位时间逐张显示所述音频图片。所述每张音频图片显示的单位时间可以是预先设置的时间参数,例如:可以设置为每张音频图片显示2秒,获取所述音频文件的播放总时间10秒,则确定显示的音频图片的张数为5张,从图片库获取5张对应的音频图片,并按照每张音频图片显示2秒的速度逐张显示所述5张音频图片。The smart television determines a unit time for each audio picture display based on the acquired audio file. The unit time displayed by each of the audio pictures is used to display the audio picture one by one according to the unit time when the audio file is played. The unit time displayed by each of the audio pictures may be a preset time parameter, for example, it may be set to display 2 seconds for each audio picture, and the total playing time of the audio file is obtained for 10 seconds, and then the displayed audio picture is determined. The number of sheets is five, and five corresponding audio pictures are obtained from the picture library, and the five audio pictures are displayed one by one according to the speed of each audio picture display for 2 seconds.
或者,也可以获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间。例如:MP3格式的音频文件的音频图片显示的单位时间设置为2.6秒,即每张音频图片显示2.6秒后切换至下一张音频图片;AAC格式的音频文件的音频图片显示的单位时间设置为2.2秒,即每张音频图片显示2.2秒后切换至下一张音频图片。Alternatively, the file type of the audio file may also be acquired, and the unit time displayed by each audio picture corresponding to the file type may be determined. For example, the audio picture of the MP3 format audio file display unit time is set to 2.6 seconds, that is, each audio picture is displayed after 2.6 seconds and then switched to the next audio picture; the audio time of the AAC format audio file is set to the unit time set to 2.2 seconds, that is, each audio picture is displayed 2.2 seconds after switching to the next audio picture.
所述智能电视从图片库中获取所述音频文件对应的音频图片。所述音频文件对应的音频图片,为所述音频文件内容相关的图片,例如:所述音频图片可以是所述音频文件对应的海报,或者所述音频文件对应的歌手的图片等等。The smart TV acquires an audio picture corresponding to the audio file from a picture library. The audio picture corresponding to the audio file is a picture related to the audio file content, for example, the audio picture may be a poster corresponding to the audio file, or a picture of a singer corresponding to the audio file, and the like.
所述图片库可以是预先配置在所述智能电视内的含有音频图片的图片库,或者,所述图片库也可以是预先配置在与所述智能电视通信连接的服务器内的含有音频图片的图片库。The picture library may be a picture library containing an audio picture pre-configured in the smart TV, or the picture library may also be a picture containing an audio picture pre-configured in a server communicatively connected to the smart television. Library.
进一步的,还可以在所述步骤S10之前,在云端服务器配置含有音频图片的图片库。以从所述图片库中获取所述音频文件对应的音频图像。Further, before the step S10, the image library containing the audio picture may be configured in the cloud server. Acquiring an audio image corresponding to the audio file from the picture library.
步骤S30,播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。Step S30, playing the audio file, and displaying the audio picture one by one according to the unit time.
所述智能电视在播放所述音频文件时,同时按照所述每张音频图片显示的单位时间在显示区域显示所述音频图片,每张音频图片显示单位时间则切换至下一张音频图片,直至所述音频文件播放结束。When the smart TV plays the audio file, the audio picture is displayed in the display area according to the unit time displayed by each audio picture, and each audio picture display unit time is switched to the next audio picture until The audio file playback ends.
本实施例在播放音频文件时,自动从图片库中获取对应的音频图片,并计算每张音频图片显示的单位时间,在播放音频文件过程中按照所述单位时间逐张显示音频图片,实现了音频播放过程中自动获取音频图片,并根据音频文件的播放实时自动切换显示,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the corresponding audio picture is automatically obtained from the picture library, and the unit time of each audio picture is calculated, and the audio picture is displayed one by one according to the unit time during the process of playing the audio file, thereby realizing The audio picture is automatically obtained during the audio playback process, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
参照图2,图2为本发明音频文件播放方法的第二实施例的流程示意图。基于上述音频文件播放方法的第一实施例,所述步骤S20包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of a second embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S20 includes:
步骤S21,获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;Step S21: Obtain a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
所述智能电视可以通过获取所述音频文件的文件类型,根据所述文件类型确定对应的每张音频图片显示的单位时间。以根据所述每张音频图片显示的单位时间计算所述音频图片的张数,以及根据所述每张音频图片显示的单位时间逐张显示音频图片。The smart TV may determine a unit time of each corresponding audio picture display according to the file type by acquiring a file type of the audio file. Calculating the number of sheets of the audio picture according to the unit time displayed according to the each audio picture, and displaying the audio picture one by one according to the unit time displayed by each of the audio pictures.
步骤S22,获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;Step S22, acquiring the total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio picture;
所述智能电视可以获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n,以根据所述音频图片的张数获取对应张数的音频图片。The smart TV may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures. The number of audio pictures.
步骤S23,获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。Step S23: Obtain a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
所述智能电视获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。The smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, and filters out n pictures as the audio picture.
本实施例在播放音频文件时,根据所述音频文件的文件类型确定每张音频图片显示的单位时间,以根据所述单位时间进行音频图片的显示。并根据所述音频文件的总播放时间计算出音频图片的张数,以获取对应张数的音频图片。并根据所述音频文件的文件名称从图片库获取音频图片,实现了音频播放过程中自动获取音频图片,并根据音频文件的播放实时自动切换显示,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the unit time displayed by each audio picture is determined according to the file type of the audio file, so that the audio picture is displayed according to the unit time. And calculating the number of sheets of the audio picture according to the total playing time of the audio file, to obtain an audio picture corresponding to the number of sheets. And obtaining an audio picture from the picture library according to the file name of the audio file, realizing automatic acquisition of the audio picture during the audio playing process, and automatically switching the display according to the playing of the audio file in real time, so that the music playing is no longer monotonous, thereby improving the user experience.
参照图3,图3为本发明音频文件播放方法的第三实施例的流程示意图。基于上述音频文件播放方法的第一实施例,所述步骤S21包括:Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of a third embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S21 includes:
步骤S210,获取所述音频文件的文件类型;Step S210: Obtain a file type of the audio file.
步骤S211,根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;Step S211, determining a corresponding audio sampling frequency and a sample number of samples of each frame of audio according to the file type;
步骤S212,将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;Step S212, dividing the number of sampled samples of each frame of audio by the sampling frequency, and calculating a play time of each frame of audio;
步骤S213,根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。Step S213, determining a unit time displayed by each audio picture according to the playing time of each frame of audio.
所述智能电视获取所述音频文件的文件类型;根据所述文件类型确定对应的音频解码的采样频率及每帧音频的采样样本数;将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。所述采样频率,为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数,且每帧音频的采样样本数/采样频率=每帧音频的播放时间。And acquiring, by the smart TV, a file type of the audio file; determining, according to the file type, a sampling frequency of the corresponding audio decoding and a sampling sample number of each frame of audio; dividing the sampling sample number of each frame of audio by the sampling Frequency, calculate the playing time of each frame of audio; determine the unit time displayed by each audio picture according to the playing time of each frame of audio. The sampling frequency is a number of times of sampling the sound wave amplitude per second when digitizing the analog sound waveform, and the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio.
例如:若所述音频文件的文件类型为MP3格式,则确定对应的音频解码的采样频率为44.1 kHz(即每秒的采样样本数为44100),确定对应的每帧音频的采样样本数为1152,根据:每帧音频的采样样本数/采样频率=每帧音频的播放时间,计算出每帧音频的播放时间为0.026秒,将每帧音频的播放时间的100倍作为每张音频图片显示的单位时间,即每张音频图片显示2.6秒。For example, if the file type of the audio file is MP3 format, it is determined that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1152. According to: the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio, each frame is calculated. The audio playback time is 0.026 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.6 seconds.
或者,若所述音频文件的文件类型为AAC格式,则确定对应的音频解码的采样频率为44.1 kHz(即每秒的采样样本数为44100),确定对应的每帧音频的采样样本数为1024,根据:每帧音频的采样样本数/采样频率=每帧音频的播放时间,计算出每帧音频的播放时间为0.022秒,将每帧音频的播放时间的100倍作为每张音频图片显示的单位时间,即每张音频图片显示2.2秒。Or, if the file type of the audio file is AAC format, determine that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1024. According to: the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio, each frame is calculated. The audio playback time is 0.022 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.2 seconds.
本实施例在播放音频文件时,根据音频文件的文件类型确定对应的音频采样频率及每帧音频的采样样本数,并计算出每帧音频的播放时间,根据每帧音频的播放时间确定每张音频图片显示的单位时间。使得音频图片在播放过程中能够根据音频文件的播放速度自动切换音频图片,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the corresponding audio sampling frequency and the sampled sample number of each frame of audio are determined according to the file type of the audio file, and the playing time of each frame of audio is calculated, and each piece is determined according to the playing time of each frame of audio. The unit time of the audio picture display. The audio picture can automatically switch the audio picture according to the playing speed of the audio file during the playing process, so that the music playing is no longer monotonous, which improves the user experience.
参照图4,图4为本发明音频文件播放方法的第四实施例的流程示意图。基于上述音频文件播放方法的第一实施例,所述步骤S23包括:Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of a fourth embodiment of an audio file playing method according to the present invention. Based on the first embodiment of the audio file playing method, the step S23 includes:
步骤S230,获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;Step S230, acquiring a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
步骤S231,将所查找到的图片按分辨率进行排序;Step S231, sorting the found pictures by resolution;
步骤S232,获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。Step S232: Acquire a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
所述智能电视获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;将所查找到的图片按分辨率进行排序;获取音频图片显示区域的分辨率,从所查找到的图片中获取小于或等于所述显示区域分辨率的图片,并筛选出分辨率最大的前n张图片作为所述音频图片。优选的,可以将查找到的图片按照分辨率从大到小进行排序。The smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, sorts the searched picture by resolution, and obtains a resolution of the audio picture display area, A picture smaller than or equal to the resolution of the display area is obtained in the found picture, and the first n pictures with the largest resolution are selected as the audio picture. Preferably, the found pictures can be sorted according to the resolution from large to small.
本实施例在播放音频文件时,根据音频文件的文件名称从图片库中查找对应的图片,并根据音频图片显示区域的分辨率对查找到的图片进行筛选,筛选出最适宜当前显示区域播放的音频图片,使得音频图片显示的更加清晰,提高了用户体验。In this embodiment, when playing an audio file, the corresponding picture is searched from the picture library according to the file name of the audio file, and the searched picture is filtered according to the resolution of the audio picture display area, and the most suitable current display area is selected. The audio picture makes the audio picture display clearer and improves the user experience.
上述第一至第四实施例的音频文件播放方法的执行主体均可以为智能电视或设置在智能电视内的音频播放设备。更进一步地,所述音频文件播放方法可以由安装在智能电视或设置在智能电视内的音频播放设备上的音频文件播放程序实现。The execution bodies of the audio file playing methods of the first to fourth embodiments described above may each be a smart television or an audio playback device disposed in the smart television. Still further, the audio file playing method may be implemented by an audio file playing program installed on a smart TV or an audio playing device disposed in the smart television.
本发明进一步提供一种音频文件播放装置。The invention further provides an audio file playback device.
参照图5,图5为本发明音频文件播放装置的第一实施例的功能模块示意图。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of a first embodiment of an audio file playback apparatus according to the present invention.
在本实施例中,所述音频文件播放装置包括:接收模块10、处理模块20及播放模块30。In this embodiment, the audio file playing device includes: a receiving module 10, a processing module 20, and a playing module 30.
接收模块10,用于在接收到播放指令时,获取所述指令对应的音频文件;The receiving module 10 is configured to acquire an audio file corresponding to the instruction when receiving the play instruction;
在智能电视接收到音频播放指令时,获取所述指令对应的音频文件,以根据所述音频文件自动从图片库中获取对应的音频图片,并计算每张音频图片显示的单位时间,在播放音频文件过程中按照所述单位时间逐张显示音频图片。When the smart TV receives the audio play instruction, the audio file corresponding to the instruction is acquired, so that the corresponding audio picture is automatically obtained from the picture library according to the audio file, and the unit time of each audio picture is calculated, and the audio is played. The audio picture is displayed one by one according to the unit time in the file process.
优选的,在智能电视系统中,可以建立智能电视与移动终端的通信连接,并通过所述移动终端触发音频播放指令,在智能电视接收到来自所述移动终端的音频播放指令时,通过所述通信连接从所述移动终端获取所述指令对应的音频文件,并将所述音频文件保存在所述智能电视的缓存中。所述移动终端可以是诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA (个人数字助理)、PAD(平板电脑)、PMP (便携式多媒体播放器)、导航装置等等的终端。Preferably, in the smart television system, a communication connection between the smart TV and the mobile terminal can be established, and an audio play instruction is triggered by the mobile terminal, and when the smart television receives an audio play instruction from the mobile terminal, The communication connection acquires an audio file corresponding to the instruction from the mobile terminal, and saves the audio file in a cache of the smart TV. The mobile terminal may be, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA Terminals (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), navigation devices, and the like.
处理模块20,用于根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;The processing module 20 is configured to determine, according to the audio file, a unit time displayed by each audio picture, and obtain an audio picture corresponding to the audio file from a picture library;
所述智能电视根据所获取的音频文件确定每张音频图片显示的单位时间。所述每张音频图片显示的单位时间,用于在播放所述音频文件时,按照所述单位时间逐张显示所述音频图片。所述每张音频图片显示的单位时间可以是预先设置的时间参数,例如:可以设置为每张音频图片显示2秒,获取所述音频文件的播放总时间10秒,则确定显示的音频图片的张数为5张,从图片库获取5张对应的音频图片,并按照每张音频图片显示2秒的速度逐张显示所述5张音频图片。The smart television determines a unit time for each audio picture display based on the acquired audio file. The unit time displayed by each of the audio pictures is used to display the audio picture one by one according to the unit time when the audio file is played. The unit time displayed by each of the audio pictures may be a preset time parameter, for example, it may be set to display 2 seconds for each audio picture, and the total playing time of the audio file is obtained for 10 seconds, and then the displayed audio picture is determined. The number of sheets is five, and five corresponding audio pictures are obtained from the picture library, and the five audio pictures are displayed one by one according to the speed of each audio picture display for 2 seconds.
或者,也可以获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间。例如:MP3格式的音频文件的音频图片显示的单位时间设置为2.6秒,即每张音频图片显示2.6秒后切换至下一张音频图片;AAC格式的音频文件的音频图片显示的单位时间设置为2.2秒,即每张音频图片显示2.2秒后切换至下一张音频图片。Alternatively, the file type of the audio file may also be acquired, and the unit time displayed by each audio picture corresponding to the file type may be determined. For example, the audio picture of the MP3 format audio file display unit time is set to 2.6 seconds, that is, each audio picture is displayed after 2.6 seconds and then switched to the next audio picture; the audio time of the AAC format audio file is set to the unit time set to 2.2 seconds, that is, each audio picture is displayed 2.2 seconds after switching to the next audio picture.
所述智能电视从图片库中获取所述音频文件对应的音频图片。所述音频文件对应的音频图片,为所述音频文件内容相关的图片,例如:所述音频图片可以是所述音频文件对应的海报,或者所述音频文件对应的歌手的图片等等。The smart TV acquires an audio picture corresponding to the audio file from a picture library. The audio picture corresponding to the audio file is a picture related to the audio file content, for example, the audio picture may be a poster corresponding to the audio file, or a picture of a singer corresponding to the audio file, and the like.
所述图片库可以是预先配置在所述智能电视内的含有音频图片的图片库,或者,所述图片库也可以是预先配置在与所述智能电视通信连接的服务器内的含有音频图片的图片库。The picture library may be a picture library containing an audio picture pre-configured in the smart TV, or the picture library may also be a picture containing an audio picture pre-configured in a server communicatively connected to the smart television. Library.
进一步的,所述音频文件播放装置还包括配置模块;所述配置模块,用于在云端服务器配置含有音频图片的图片库。以从所述图片库中获取所述音频文件对应的音频图像。Further, the audio file playing device further includes a configuration module, and the configuration module is configured to configure a photo library containing the audio picture in the cloud server. Acquiring an audio image corresponding to the audio file from the picture library.
播放模块30,用于播放所述音频文件,并按照所述单位时间逐张显示所述音频图片a playing module 30, configured to play the audio file, and display the audio picture one by one according to the unit time
所述智能电视在播放所述音频文件时,同时按照所述每张音频图片显示的单位时间在显示区域显示所述音频图片,每张音频图片显示单位时间则切换至下一张音频图片,直至所述音频文件播放结束。When the smart TV plays the audio file, the audio picture is displayed in the display area according to the unit time displayed by each audio picture, and each audio picture display unit time is switched to the next audio picture until The audio file playback ends.
本实施例在播放音频文件时,自动从图片库中获取对应的音频图片,并计算每张音频图片显示的单位时间,在播放音频文件过程中按照所述单位时间逐张显示音频图片,实现了音频播放过程中自动获取音频图片,并根据音频文件的播放实时自动切换显示,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the corresponding audio picture is automatically obtained from the picture library, and the unit time of each audio picture is calculated, and the audio picture is displayed one by one according to the unit time during the process of playing the audio file, thereby realizing The audio picture is automatically obtained during the audio playback process, and the display is automatically switched in real time according to the playing of the audio file, so that the music playing is no longer monotonous, which improves the user experience.
参照图6,图6为本发明装置的第二实施例的功能模块示意图。基于上述音频文件播放装置的第一实施例,所述处理模块20包括音频处理单元21及图片处理单元22;Referring to FIG. 6, FIG. 6 is a schematic diagram of functional modules of a second embodiment of the apparatus of the present invention. Based on the first embodiment of the audio file playing device, the processing module 20 includes an audio processing unit 21 and a picture processing unit 22;
所述音频处理单元21,用于获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;The audio processing unit 21 is configured to acquire a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
所述智能电视可以通过获取所述音频文件的文件类型,根据所述文件类型确定对应的每张音频图片显示的单位时间。以根据所述每张音频图片显示的单位时间计算所述音频图片的张数,以及根据所述每张音频图片显示的单位时间逐张显示音频图片。The smart TV may determine a unit time of each corresponding audio picture display according to the file type by acquiring a file type of the audio file. Calculating the number of sheets of the audio picture according to the unit time displayed according to the each audio picture, and displaying the audio picture one by one according to the unit time displayed by each of the audio pictures.
所述音频处理单元21,还用于获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;The audio processing unit 21 is further configured to acquire a total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures;
所述智能电视可以获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n,以根据所述音频图片的张数获取对应张数的音频图片。The smart TV may acquire the total playing time of the audio file, and divide the total playing time by the unit time to calculate the number n of the audio pictures to obtain a corresponding number according to the number of the audio pictures. The number of audio pictures.
所述图片处理单元22,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。The image processing unit 22 is configured to acquire a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
所述智能电视获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。The smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, and filters out n pictures as the audio picture.
本实施例在播放音频文件时,根据所述音频文件的文件类型确定每张音频图片显示的单位时间,以根据所述单位时间进行音频图片的显示。并根据所述音频文件的总播放时间计算出音频图片的张数,以获取对应张数的音频图片。并根据所述音频文件的文件名称从图片库获取音频图片,实现了音频播放过程中自动获取音频图片,并根据音频文件的播放实时自动切换显示,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the unit time displayed by each audio picture is determined according to the file type of the audio file, so that the audio picture is displayed according to the unit time. And calculating the number of sheets of the audio picture according to the total playing time of the audio file, to obtain an audio picture corresponding to the number of sheets. And obtaining an audio picture from the picture library according to the file name of the audio file, realizing automatic acquisition of the audio picture during the audio playing process, and automatically switching the display according to the playing of the audio file in real time, so that the music playing is no longer monotonous, thereby improving the user experience.
参照图7,图7为本发明装置的第三实施例的功能模块示意图。基于上述音频文件播放装置的第一实施例,所述音频处理单元21包括获取子单元210、确定子单元211及计算子单元212;Referring to FIG. 7, FIG. 7 is a schematic diagram of functional modules of a third embodiment of the apparatus of the present invention. The audio processing unit 21 includes an acquisition subunit 210, a determination subunit 211, and a calculation subunit 212, based on the first embodiment of the audio file playback apparatus described above;
所述获取子单元210,用于获取所述音频文件的文件类型;The obtaining subunit 210 is configured to acquire a file type of the audio file.
所述确定子单元211,用于根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;The determining subunit 211 is configured to determine, according to the file type, a corresponding audio sampling frequency and a sample number of samples of each frame of audio;
所述计算子单元212,用于将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;The calculating subunit 212 is configured to divide the number of sampled samples of each frame of audio by the sampling frequency, and calculate a playing time of each frame of audio;
所述确定子单元211,用于根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The determining subunit 211 is configured to determine a unit time displayed by each audio picture according to the playing time of the audio of each frame.
所述智能电视获取所述音频文件的文件类型;根据所述文件类型确定对应的音频解码的采样频率及每帧音频的采样样本数;将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。所述采样频率,为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数,且每帧音频的采样样本数/采样频率=每帧音频的播放时间。And acquiring, by the smart TV, a file type of the audio file; determining, according to the file type, a sampling frequency of the corresponding audio decoding and a sampling sample number of each frame of audio; dividing the sampling sample number of each frame of audio by the sampling Frequency, calculate the playing time of each frame of audio; determine the unit time displayed by each audio picture according to the playing time of each frame of audio. The sampling frequency is a number of times of sampling the sound wave amplitude per second when digitizing the analog sound waveform, and the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio.
例如:若所述音频文件的文件类型为MP3格式,则确定对应的音频解码的采样频率为44.1 kHz(即每秒的采样样本数为44100),确定对应的每帧音频的采样样本数为1152,根据:每帧音频的采样样本数/采样频率=每帧音频的播放时间,计算出每帧音频的播放时间为0.026秒,将每帧音频的播放时间的100倍作为每张音频图片显示的单位时间,即每张音频图片显示2.6秒。For example, if the file type of the audio file is MP3 format, it is determined that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1152. According to: the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio, each frame is calculated. The audio playback time is 0.026 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.6 seconds.
或者,若所述音频文件的文件类型为AAC格式,则确定对应的音频解码的采样频率为44.1 kHz(即每秒的采样样本数为44100),确定对应的每帧音频的采样样本数为1024,根据:每帧音频的采样样本数/采样频率=每帧音频的播放时间,计算出每帧音频的播放时间为0.022秒,将每帧音频的播放时间的100倍作为每张音频图片显示的单位时间,即每张音频图片显示2.2秒。Or, if the file type of the audio file is AAC format, determine that the sampling frequency of the corresponding audio decoding is 44.1. kHz (that is, the number of sampled samples per second is 44100), and the number of sampled samples corresponding to each frame of audio is determined to be 1024. According to: the number of sampled samples per frame of audio/sampling frequency = the playing time of each frame of audio, each frame is calculated. The audio playback time is 0.022 seconds, and 100 times of the playback time of each frame of audio is used as the unit time for each audio picture display, that is, each audio picture is displayed for 2.2 seconds.
本实施例在播放音频文件时,根据音频文件的文件类型确定对应的音频采样频率及每帧音频的采样样本数,并计算出每帧音频的播放时间,根据每帧音频的播放时间确定每张音频图片显示的单位时间。使得音频图片在播放过程中能够根据音频文件的播放速度自动切换音频图片,使得音乐播放不再单调,提高了用户体验。In the embodiment, when the audio file is played, the corresponding audio sampling frequency and the sampled sample number of each frame of audio are determined according to the file type of the audio file, and the playing time of each frame of audio is calculated, and each piece is determined according to the playing time of each frame of audio. The unit time of the audio picture display. The audio picture can automatically switch the audio picture according to the playing speed of the audio file during the playing process, so that the music playing is no longer monotonous, which improves the user experience.
参照图8,图8为本发明装置的第四实施例的功能模块示意图。基于上述音频文件播放装置的第一实施例,所述图片处理单元22包括查找子单元220、排序子单元221及筛选子单元222;Referring to FIG. 8, FIG. 8 is a schematic diagram of functional modules of a fourth embodiment of the apparatus of the present invention. The image processing unit 22 includes a lookup subunit 220, a sorting subunit 221, and a screening subunit 222, based on the first embodiment of the audio file playing apparatus.
所述查找子单元220,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;The searching sub-unit 220 is configured to acquire a file name of the audio file, and search for a picture corresponding to the file name from the picture library;
所述排序子单元221,用于将所查找到的图片按分辨率进行排序;The sorting sub-unit 221 is configured to sort the found pictures by resolution;
所述筛选子单元222,用于获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。The filtering sub-unit 222 is configured to obtain a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
所述智能电视获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;将所查找到的图片按分辨率进行排序;获取音频图片显示区域的分辨率,从所查找到的图片中获取小于或等于所述显示区域分辨率的图片,并筛选出分辨率最大的前n张图片作为所述音频图片。优选的,可以将查找到的图片按照分辨率从大到小进行排序。The smart TV acquires a file name of the audio file, searches for a picture corresponding to the file name from the picture library, sorts the searched picture by resolution, and obtains a resolution of the audio picture display area, A picture smaller than or equal to the resolution of the display area is obtained in the found picture, and the first n pictures with the largest resolution are selected as the audio picture. Preferably, the found pictures can be sorted according to the resolution from large to small.
本实施例在播放音频文件时,根据音频文件的文件名称从图片库中查找对应的图片,并根据音频图片显示区域的分辨率对查找到的图片进行筛选,筛选出最适宜当前显示区域播放的音频图片,使得音频图片显示的更加清晰,提高了用户体验。In this embodiment, when playing an audio file, the corresponding picture is searched from the picture library according to the file name of the audio file, and the searched picture is filtered according to the resolution of the audio picture display area, and the most suitable current display area is selected. The audio picture makes the audio picture display clearer and improves the user experience.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种音频文件播放方法,其特征在于,所述的音频文件播放方法包括以下步骤:An audio file playing method, characterized in that the audio file playing method comprises the following steps:
    在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发;Obtaining, by the mobile terminal, an audio file corresponding to the play instruction, and saving the audio file in a buffer, where the play instruction is triggered by the mobile terminal;
    获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;Obtaining a file type of the audio file, and determining a unit time displayed by each audio picture corresponding to the file type;
    获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;Obtaining a total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio pictures;
    获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片;Obtaining a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture;
    播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。Playing the audio file and displaying the audio picture one by one according to the unit time.
  2. 如权利要求1所述的音频文件播放方法,其特征在于,所述获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间的步骤包括:The audio file playing method according to claim 1, wherein the step of acquiring a file type of the audio file and determining a unit time displayed by each audio picture corresponding to the file type comprises:
    获取所述音频文件的文件类型;Obtaining a file type of the audio file;
    根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;Determining a corresponding audio sampling frequency and a sample number of samples per frame of audio according to the file type;
    将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;Dividing the number of sampled samples of each frame of audio by the sampling frequency to calculate a play time of each frame of audio;
    根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The unit time displayed by each audio picture is determined according to the play time of each frame of audio.
  3. 如权利要求2所述的音频文件播放方法,其特征在于,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。The audio file playing method according to claim 2, wherein the sampling frequency is a number of times of sampling the sound wave amplitude per second when digitizing the analog sound waveform.
  4. 如权利要求1所述的音频文件播放方法,其特征在于,所述获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片的步骤包括:The audio file playing method according to claim 1, wherein the acquiring a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as a The steps of the audio picture include:
    获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;Obtaining a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
    将所查找到的图片按分辨率进行排序;Sort the found images by resolution;
    获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。Acquiring the resolution of the audio picture display area, and extracting the first n pictures as the audio picture from the picture less than or equal to the resolution of the display area.
  5. 如权利要求1所述的音频文件播放方法,其特征在于,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤之前,还包括:The method for playing an audio file according to claim 1, wherein the step of acquiring the audio file corresponding to the instruction when the playback instruction is received further includes:
    在云端服务器配置含有音频图片的图片库。Configure a photo gallery with audio images in the cloud server.
  6. 一种音频文件播放方法,其特征在于,所述的音频文件播放方法包括以下步骤:An audio file playing method, characterized in that the audio file playing method comprises the following steps:
    在接收到播放指令时,获取所述指令对应的音频文件;Acquiring an audio file corresponding to the instruction when receiving the play instruction;
    根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;Determining, according to the audio file, a unit time displayed by each audio picture, and acquiring an audio picture corresponding to the audio file from a picture library;
    播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。Playing the audio file and displaying the audio picture one by one according to the unit time.
  7. 如权利要求6所述的音频文件播放方法,其特征在于,所述根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片的步骤包括:The audio file playing method according to claim 6, wherein the step of determining the unit time of each audio picture display according to the audio file, and acquiring the audio picture corresponding to the audio file from the picture library comprises: :
    获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;Obtaining a file type of the audio file, and determining a unit time displayed by each audio picture corresponding to the file type;
    获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;Obtaining a total playing time of the audio file, and dividing the total playing time by the unit time to calculate the number n of the audio pictures;
    获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。Obtaining a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as the audio picture.
  8. 如权利要求7所述的音频文件播放方法,其特征在于,所述获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间的步骤包括:The audio file playing method according to claim 7, wherein the step of acquiring the file type of the audio file and determining the unit time displayed by each audio picture corresponding to the file type comprises:
    获取所述音频文件的文件类型;Obtaining a file type of the audio file;
    根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;Determining a corresponding audio sampling frequency and a sample number of samples per frame of audio according to the file type;
    将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;Dividing the number of sampled samples of each frame of audio by the sampling frequency to calculate a play time of each frame of audio;
    根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The unit time displayed by each audio picture is determined according to the play time of each frame of audio.
  9. 如权利要求8所述的音频文件播放方法,其特征在于,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。The audio file playing method according to claim 8, wherein the sampling frequency is a number of times of sampling the sound wave amplitude per second when digitizing the analog sound waveform.
  10. 如权利要求7所述的音频文件播放方法,其特征在于,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤之前,还包括:The method for playing an audio file according to claim 7, wherein the step of acquiring the audio file corresponding to the instruction when the playback instruction is received further includes:
    在云端服务器配置含有音频图片的图片库。Configure a photo gallery with audio images in the cloud server.
  11. 如权利要求7所述的音频文件播放方法,其特征在于,所述获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片的步骤包括:The audio file playing method according to claim 7, wherein the obtaining a file name of the audio file, searching for a picture corresponding to the file name from the picture library, and filtering out n pictures as a The steps of the audio picture include:
    获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;Obtaining a file name of the audio file, and searching for a picture corresponding to the file name from the picture library;
    将所查找到的图片按分辨率进行排序;Sort the found images by resolution;
    获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。Acquiring the resolution of the audio picture display area, and extracting the first n pictures as the audio picture from the picture less than or equal to the resolution of the display area.
  12. 如权利要求6所述的音频文件播放方法,其特征在于,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤之前,还包括:The method for playing an audio file according to claim 6, wherein the step of acquiring the audio file corresponding to the instruction when the playback instruction is received further includes:
    在云端服务器配置含有音频图片的图片库。Configure a photo gallery with audio images in the cloud server.
  13. 如权利要求6所述的音频文件播放方法,其特征在于,所述在接收到播放指令时,获取所述指令对应的音频文件的步骤包括:The audio file playing method according to claim 6, wherein the step of acquiring the audio file corresponding to the instruction when the play instruction is received comprises:
    在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发。When receiving the play instruction, the audio file corresponding to the play instruction is acquired from the mobile terminal, and the audio file is saved in a cache, and the play instruction is triggered by the mobile terminal.
  14. 一种音频文件播放装置,其特征在于,所述的音频文件播放装置包括:An audio file playing device, wherein the audio file playing device comprises:
    接收模块,用于在接收到播放指令时,获取所述指令对应的音频文件;a receiving module, configured to acquire an audio file corresponding to the instruction when receiving a play instruction;
    处理模块,用于根据所述音频文件确定每张音频图片显示的单位时间,并从图片库中获取所述音频文件对应的音频图片;a processing module, configured to determine, according to the audio file, a unit time displayed by each audio picture, and obtain an audio picture corresponding to the audio file from a picture library;
    播放模块,用于播放所述音频文件,并按照所述单位时间逐张显示所述音频图片。And a playing module, configured to play the audio file, and display the audio picture one by one according to the unit time.
  15. 如权利要求14所述的音频文件播放装置,其特征在于,所述处理模块包括音频处理单元及图片处理单元;The audio file playing device according to claim 14, wherein the processing module comprises an audio processing unit and a picture processing unit;
    所述音频处理单元,用于获取所述音频文件的文件类型,并确定所述文件类型对应的每张音频图片显示的单位时间;The audio processing unit is configured to acquire a file type of the audio file, and determine a unit time displayed by each audio picture corresponding to the file type;
    所述音频处理单元,还用于获取所述音频文件的总播放时间,并将所述总播放时间除以所述单位时间计算出所述音频图片的张数n;The audio processing unit is further configured to acquire a total playing time of the audio file, and divide the total playing time by the unit time to calculate a number n of the audio picture;
    所述图片处理单元,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片,并筛选出n张图片作为所述音频图片。The picture processing unit is configured to obtain a file name of the audio file, search for a picture corresponding to the file name from the picture library, and filter out n pictures as the audio picture.
  16. 如权利要求15所述的音频文件播放装置,其特征在于,所述音频处理单元包括获取子单元、确定子单元及计算子单元;The audio file playback device according to claim 15, wherein the audio processing unit comprises an acquisition subunit, a determination subunit, and a calculation subunit;
    所述获取子单元,用于获取所述音频文件的文件类型;The obtaining subunit is configured to acquire a file type of the audio file;
    所述确定子单元,用于根据所述文件类型确定对应的音频采样频率及每帧音频的采样样本数;The determining subunit is configured to determine, according to the file type, a corresponding audio sampling frequency and a sampling sample number of each frame of audio;
    所述计算子单元,用于将所述每帧音频的采样样本数除以所述采样频率,计算出每帧音频的播放时间;The calculating subunit is configured to divide the sampling sample number of each frame of audio by the sampling frequency, and calculate a playing time of each frame of audio;
    所述确定子单元,用于根据所述每帧音频的播放时间确定每张音频图片显示的单位时间。The determining subunit is configured to determine a unit time displayed by each audio picture according to the playing time of the audio of each frame.
  17. 如权利要求16所述的音频文件播放装置,其特征在于,所述采样频率为将模拟声音波形进行数字化时,每秒钟抽取声波幅度样本的次数。The audio file playback apparatus according to claim 16, wherein the sampling frequency is a number of times of sampling the sound wave amplitude per second when digitizing the analog sound waveform.
  18. 如权利要求15所述的音频文件播放装置,其特征在于,所述图片处理单元包括查找子单元、排序子单元及筛选子单元;The audio file playing device according to claim 15, wherein the picture processing unit comprises a lookup subunit, a sorting subunit, and a screening subunit;
    所述查找子单元,用于获取所述音频文件的文件名称,从所述图片库中查找所述文件名称对应的图片;The search subunit is configured to acquire a file name of the audio file, and search for a picture corresponding to the file name from the picture library;
    所述排序子单元,用于将所查找到的图片按分辨率进行排序;The sorting subunit is configured to sort the found pictures by resolution;
    所述筛选子单元,用于获取音频图片显示区域的分辨率,从小于或等于所述显示区域分辨率的图片中筛选出前n张图片作为所述音频图片。The screening subunit is configured to obtain a resolution of an audio picture display area, and filter out the first n pictures as the audio picture from a picture that is less than or equal to the resolution of the display area.
  19. 如权利要求14所述的音频文件播放装置,其特征在于,所述音频文件播放装置还包括配置模块;The audio file playing device according to claim 14, wherein the audio file playing device further comprises a configuration module;
    所述配置模块,用于在云端服务器配置含有音频图片的图片库。The configuration module is configured to configure a photo library containing an audio picture in the cloud server.
  20. 如权利要求14所述的音频文件播放装置,其特征在于,所述获取模块,还用于在接收到播放指令时,从移动终端获取所述播放指令对应的音频文件,并将所述音频文件保存在缓存中,所述播放指令由所述移动终端触发。The audio file playing device according to claim 14, wherein the obtaining module is further configured to: when receiving the play instruction, acquire an audio file corresponding to the play instruction from the mobile terminal, and the audio file Stored in the cache, the play command is triggered by the mobile terminal.
PCT/CN2016/084422 2015-09-11 2016-06-02 Audio file playing method and apparatus WO2017041543A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510580330.7 2015-09-11
CN201510580330.7A CN105208439B (en) 2015-09-11 2015-09-11 Audio file play method and device

Publications (1)

Publication Number Publication Date
WO2017041543A1 true WO2017041543A1 (en) 2017-03-16

Family

ID=54955818

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084422 WO2017041543A1 (en) 2015-09-11 2016-06-02 Audio file playing method and apparatus

Country Status (2)

Country Link
CN (1) CN105208439B (en)
WO (1) WO2017041543A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208439B (en) * 2015-09-11 2018-09-04 深圳Tcl数字技术有限公司 Audio file play method and device
CN109166165A (en) * 2018-06-25 2019-01-08 网宿科技股份有限公司 A kind of playback method of dynamic picture, terminal and can storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322396A (en) * 2005-12-05 2008-12-10 微软公司 Playback of digital images
WO2009083845A2 (en) * 2007-12-21 2009-07-09 Koninklijke Philips Electronics N.V. Method and apparatus for playing pictures
CN101930446A (en) * 2009-06-26 2010-12-29 鸿富锦精密工业(深圳)有限公司 Electronic device and method for playing music in embedded electronic device
CN102034406A (en) * 2009-10-02 2011-04-27 联发科技股份有限公司 Methods and devices for displaying multimedia data
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN105208439A (en) * 2015-09-11 2015-12-30 深圳Tcl数字技术有限公司 Audio file playing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831912B (en) * 2012-08-10 2016-01-06 上海量明科技发展有限公司 Show the method for audio message playing progress rate, client and system
US9542488B2 (en) * 2013-08-02 2017-01-10 Google Inc. Associating audio tracks with video content
CN104021152B (en) * 2014-05-19 2017-09-05 广州酷狗计算机科技有限公司 The image display method and device played based on audio file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322396A (en) * 2005-12-05 2008-12-10 微软公司 Playback of digital images
WO2009083845A2 (en) * 2007-12-21 2009-07-09 Koninklijke Philips Electronics N.V. Method and apparatus for playing pictures
CN101930446A (en) * 2009-06-26 2010-12-29 鸿富锦精密工业(深圳)有限公司 Electronic device and method for playing music in embedded electronic device
CN102034406A (en) * 2009-10-02 2011-04-27 联发科技股份有限公司 Methods and devices for displaying multimedia data
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN105208439A (en) * 2015-09-11 2015-12-30 深圳Tcl数字技术有限公司 Audio file playing method and device

Also Published As

Publication number Publication date
CN105208439B (en) 2018-09-04
CN105208439A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2019114269A1 (en) Method for resuming playing program, television device, and computer readable storage medium
WO2017201899A1 (en) Method and apparatus for connecting to bluetooth device
WO2019051899A1 (en) Terminal control method and device, and storage medium
WO2015127859A1 (en) Sensitive text detecting method and apparatus
WO2017107388A1 (en) Hdmi version switching method and display device
WO2018032680A1 (en) Method and system for playing audio and video
WO2017084302A1 (en) Method for playing boot video of a display terminal and display terminal
WO2018166224A1 (en) Target tracking display method and apparatus for panoramic video, and storage medium
WO2018032688A1 (en) Method and apparatus for controlling boot video playing of terminal device
WO2019051890A1 (en) Terminal control method and device, and computer-readable storage medium
WO2018223607A1 (en) Television terminal, method for converting hdr image into sdr image, and computer readable storage medium
WO2018227887A1 (en) Video advertisement delivery method, video advertisement generation method, device, server and readable storage medium
WO2017113614A1 (en) Method and device for intercut playing of advertisement during video playing
WO2018233221A1 (en) Multi-window sound output method, television, and computer-readable storage medium
WO2018166236A1 (en) Claim settlement bill recognition method, apparatus and device, and computer-readable storage medium
WO2016101702A1 (en) Program recording method and device
WO2019165723A1 (en) Method and system for processing audio/video, and device and storage medium
WO2013166796A1 (en) Method and device for automatically identifying 3d video play mode
WO2018000856A1 (en) Method implementing sdn overlay network message forwarding, terminal, apparatus, and computer readable storage medium
WO2017113596A1 (en) Method and system for listen-only control, mobile terminal, and smart television
WO2018032679A1 (en) Setting method and device for timed startup and shutoff of television
WO2018090461A1 (en) Method and system for synchronizing data between multichannel wireless speakers
WO2017185480A1 (en) Multi-screen interaction connection method, device and system
WO2019056566A1 (en) Air conditioning parameter determination method, air conditioning apparatus, and readable storage medium
WO2017185481A1 (en) Smart tv-based video production method and smart tv

Legal Events

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

Ref document number: 16843481

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 16843481

Country of ref document: EP

Kind code of ref document: A1