CN105208439A - Audio file playing method and device - Google Patents

Audio file playing method and device Download PDF

Info

Publication number
CN105208439A
CN105208439A CN201510580330.7A CN201510580330A CN105208439A CN 105208439 A CN105208439 A CN 105208439A CN 201510580330 A CN201510580330 A CN 201510580330A CN 105208439 A CN105208439 A CN 105208439A
Authority
CN
China
Prior art keywords
picture
audio
file
audio frequency
audio file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510580330.7A
Other languages
Chinese (zh)
Other versions
CN105208439B (en
Inventor
胡佳文
王云华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201510580330.7A priority Critical patent/CN105208439B/en
Publication of CN105208439A publication Critical patent/CN105208439A/en
Priority to PCT/CN2016/084422 priority patent/WO2017041543A1/en
Application granted granted Critical
Publication of CN105208439B publication Critical patent/CN105208439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses an audio file playing method. The audio file playing method comprises the steps that when a playing instruction is received, an audio file corresponding to the instruction is acquired; according to the audio file, unit time displayed on each audio image is determined, and the audio images corresponding to the audio file are acquired from an image library; the audio file is played, and the corresponding audio images are displayed one by one according to the unit time. The invention further discloses an audio file playing device. By the adoption of the audio file playing method and device, the audio images can be acquired automatically in the audio playing process and can be displayed in a real-time switchover mode according to playing of the audio file, so that music playing is no longer tedious, and user experience is improved.

Description

Audio file play method and device
Technical field
The present invention relates to intelligent television field, particularly relate to a kind of audio file play method and device.
Background technology
At present, along with the fast development of intelligent television and terminal technology, mobile terminal and the mutual of intelligent television also get more and more.Especially, mobile phone terminal is play music and is pushed to television broadcasting, and television can see larger music captions, the placard of larger song head, more interesting to listen to music.But, playing a song in the bent time, the image of intelligent television display without any change, allow user feel very boring, not only Consumer's Experience is bad, and sensation is play music process and seemed dull, does not have new meaning.
Such as: Xiao Liu is delithted with and listens to the music in television, he picks up mobile phone and music is pushed to television, like the song of Wang Feng, also the placard of Wang Feng is liked, within 5 minutes of played songs, television image is without any change, and dull display one pictures, on TV screen, allows user feel very dull.
Therefore, carry out in audio frequency playing process at existing intelligent television, cannot carry out the problem that shows by picture corresponding to automatic acquisition, problems demand inventor in this respect solves.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Main purpose of the present invention is to solve carries out in audio frequency playing process at existing intelligent television, cannot the automatic acquisition picture of being correlated with carrying out to automatically switch the problem of display.
For achieving the above object, the invention provides a kind of audio file play method, described audio file play method comprises the following steps:
When receiving play instruction, obtain the audio file that described instruction is corresponding;
Determine the unit interval of often opening the display of audio frequency picture according to described audio file, and from picture library, obtain audio frequency picture corresponding to described audio file;
Play described audio file, and show described audio frequency picture one by one according to the described unit interval.
Preferably, the described unit interval determining often to open the display of audio frequency picture according to described audio file, and the step obtaining audio frequency picture corresponding to described audio file from picture library comprises:
Obtain the file type of described audio file, and determine the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Obtain total reproduction time of described audio file, and described total reproduction time is calculated the number n of described audio frequency picture divided by the described unit interval;
Obtain the file name of described audio file, from described picture library, search picture corresponding to described file name, and filter out n pictures as described audio frequency picture.
Preferably, the file type of the described audio file of described acquisition, and determine that the step of unit interval of often opening the display of audio frequency picture corresponding to described file type comprises:
Obtain the file type of described audio file;
The sample number of corresponding audio sampling frequency and every frame audio frequency is determined according to described file type;
By the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency;
The unit interval of often opening the display of audio frequency picture is determined according to the reproduction time of described every frame audio frequency.
Preferably, the file name of the described audio file of described acquisition, searches picture corresponding to described file name from described picture library, and filters out n pictures and comprise as the step of described audio frequency picture:
Obtain the file name of described audio file, from described picture library, search picture corresponding to described file name;
Found picture is sorted by resolution;
Obtain the resolution of audio frequency picture viewing area, from the picture being less than or equal to described viewing area resolution, filter out front n pictures as described audio frequency picture.
Preferably, described when receiving play instruction, before obtaining the step of audio file corresponding to described instruction, also comprise:
The picture library of server configuration containing audio frequency picture beyond the clouds.
In addition, for achieving the above object, the present invention also provides a kind of audio file playing device, and described audio file playing device comprises:
Receiver module, for when receiving play instruction, obtains the audio file that described instruction is corresponding;
Processing module, for determining the unit interval of often opening the display of audio frequency picture according to described audio file, and obtains audio frequency picture corresponding to described audio file from picture library;
Playing module, for playing described audio file, and shows described audio frequency picture one by one according to the described unit interval
Preferably, described processing module comprises audio treatment unit and picture processing unit;
Described audio treatment unit, for obtaining the file type of described audio file, and determines the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Described audio treatment unit, also for obtaining total reproduction time of described audio file, and calculates the number n of described audio frequency picture by described total reproduction time divided by the described unit interval;
Described picture processing unit, for obtaining the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
Preferably, described audio treatment unit comprises acquisition subelement, determines subelement and computation subunit;
Described acquisition subelement, for obtaining the file type of described audio file;
Describedly determine subelement, for determining the sample number of corresponding audio sampling frequency and every frame audio frequency according to described file type;
Described computation subunit, for by the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency;
Describedly determine subelement, for determining the unit interval of often opening the display of audio frequency picture according to the reproduction time of described every frame audio frequency.
Preferably, described picture processing unit comprise search subelement, sequence subelement and screening subelement;
Describedly searching subelement, for obtaining the file name of described audio file, from described picture library, searching picture corresponding to described file name;
Described sequence subelement, for sorting found picture by resolution;
Described screening subelement, for obtaining the resolution of audio frequency picture viewing area, filters out front n pictures as described audio frequency picture from the picture being less than or equal to described viewing area resolution.
Preferably, described audio file playing device also comprises configuration module;
Described configuration module, for the picture library of the configuration of server beyond the clouds containing audio frequency picture.
The present invention is when displaying audio file, automatically from picture library, corresponding audio frequency picture is obtained, and calculate the unit interval of often opening the display of audio frequency picture, audio frequency picture is shown one by one according to the described unit interval in displaying audio file process, achieve automatic acquisition audio frequency picture in audio frequency playing process, and to automatically switch in real time display according to the broadcasting of audio file, make music no longer dull, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the first embodiment of audio file play method of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of audio file play method of the present invention;
Fig. 3 is the schematic flow sheet of the 3rd embodiment of audio file play method of the present invention;
Fig. 4 is the schematic flow sheet of the 4th embodiment of audio file play method of the present invention;
Fig. 5 is the high-level schematic functional block diagram of the first embodiment of audio file playing device of the present invention;
Fig. 6 is the high-level schematic functional block diagram of the second embodiment of audio file playing device of the present invention;
Fig. 7 is the high-level schematic functional block diagram of the 3rd embodiment of audio file playing device of the present invention;
Fig. 8 is the high-level schematic functional block diagram of the 4th embodiment of audio file playing device of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The primary solutions of the embodiment of the present invention is: when receiving play instruction, obtains the audio file that described instruction is corresponding; Determine the unit interval of often opening the display of audio frequency picture according to described audio file, and from picture library, obtain audio frequency picture corresponding to described audio file; Play described audio file, and show described audio frequency picture one by one according to the described unit interval.
Carry out in audio frequency playing process at existing intelligent television, cannot the automatic acquisition picture of being correlated with carrying out to automatically switch the problem of display.
Based on the problems referred to above, the invention provides a kind of audio file play method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are the first embodiment of audio file play method of the present invention.
In the present embodiment, described audio file play method comprises:
Step S10, when receiving play instruction, obtains the audio file that described instruction is corresponding;
When intelligent television receives audio frequency play instruction, obtain the audio file that described instruction is corresponding, automatically to obtain corresponding audio frequency picture from picture library according to described audio file, and calculate the unit interval of often opening the display of audio frequency picture, in displaying audio file process, show audio frequency picture one by one according to the described unit interval.
Preferably, in intelligent television system, the communication connection of intelligent television and mobile terminal can be set up, and by described mobile terminal trigger audio play instruction, when intelligent television receives the audio frequency play instruction from described mobile terminal, by described communication connection from audio file corresponding to instruction described in described acquisition for mobile terminal, and described audio file is kept in the buffer memory of described intelligent television.Described mobile terminal can be the terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc.
Step S20, determines the unit interval of often opening the display of audio frequency picture according to described audio file, and from picture library, obtains audio frequency picture corresponding to described audio file;
Described intelligent television determines the unit interval of often opening the display of audio frequency picture according to obtained audio file.The described unit interval of often opening the display of audio frequency picture, for when playing described audio file, show described audio frequency picture one by one according to the described unit interval.The described unit interval of often opening the display of audio frequency picture can be the time parameter pre-set, such as: can be set to often to open audio frequency picture and show 2 seconds, obtain 10 seconds broadcasting total times of described audio file, then determine that the number of audio frequency picture shown is 5, obtain 5 corresponding audio frequency pictures from picture library, and show described 5 audio frequency pictures one by one according to the speed of often opening audio frequency picture and show 2 seconds.
Or, also can obtain the file type of described audio file, and determine the unit interval of often opening the display of audio frequency picture that described file type is corresponding.Such as: the unit interval of the audio frequency picture display of the audio file of MP3 format is set to 2.6 seconds, namely often opens after audio frequency picture shows 2.6 seconds and switches to next audio frequency picture; The unit interval of the audio frequency picture display of the audio file of AAC form is set to 2.2 seconds, namely often opens after audio frequency picture shows 2.2 seconds and switches to next audio frequency picture.
Described intelligent television obtains audio frequency picture corresponding to described audio file from picture library.The audio frequency picture that described audio file is corresponding is the picture that described audio file content is relevant, such as: described audio frequency picture can be the placard that described audio file is corresponding, or the picture of singer corresponding to described audio file etc.
Described picture library can be pre-configured in described intelligent television containing the picture library of audio frequency picture, or described picture library also can be pre-configured in the picture library containing audio frequency picture in the server that communicates to connect with described intelligent television.
Further, can also before described step S10, the picture library of server configuration containing audio frequency picture beyond the clouds.To obtain AV corresponding to described audio file from described picture library.
Step S30, plays described audio file, and shows described audio frequency picture one by one according to the described unit interval.
Described intelligent television is when playing described audio file, show described audio frequency picture according to the described unit interval of often opening the display of audio frequency picture in viewing area simultaneously, often opening the audio frequency picture unit of display time then switches to next audio frequency picture, terminates until described audio file is play.
The present embodiment is when displaying audio file, automatically from picture library, corresponding audio frequency picture is obtained, and calculate the unit interval of often opening the display of audio frequency picture, audio frequency picture is shown one by one according to the described unit interval in displaying audio file process, achieve automatic acquisition audio frequency picture in audio frequency playing process, and to automatically switch in real time display according to the broadcasting of audio file, make music no longer dull, improve Consumer's Experience.
With reference to the schematic flow sheet that Fig. 2, Fig. 2 are the second embodiment of audio file play method of the present invention.Based on the first embodiment of above-mentioned audio file play method, described step S20 comprises:
Step S21, obtains the file type of described audio file, and determines the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Described intelligent television by obtaining the file type of described audio file, can determine the corresponding unit interval of often opening the display of audio frequency picture according to described file type.To calculate the number of described audio frequency picture according to the described unit interval of often opening the display of audio frequency picture, and show audio frequency picture one by one according to the described unit interval of often opening the display of audio frequency picture.
Step S22, obtains total reproduction time of described audio file, and described total reproduction time is calculated the number n of described audio frequency picture divided by the described unit interval;
Described intelligent television can obtain total reproduction time of described audio file, and described total reproduction time is calculated the number n of described audio frequency picture divided by the described unit interval, to obtain the audio frequency picture of corresponding number according to the number of described audio frequency picture.
Step S23, obtains the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
Described intelligent television obtains the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
The present embodiment, when displaying audio file, determines the unit interval of often opening the display of audio frequency picture according to the file type of described audio file, to carry out the display of audio frequency picture according to the described unit interval.And calculate the number of audio frequency picture according to total reproduction time of described audio file, to obtain the audio frequency picture of corresponding number.And obtain audio frequency picture according to the file name of described audio file from picture library, achieve automatic acquisition audio frequency picture in audio frequency playing process, and to automatically switch in real time display according to the broadcasting of audio file, make music no longer dull, improve Consumer's Experience.
With reference to the schematic flow sheet that Fig. 3, Fig. 3 are the 3rd embodiment of audio file play method of the present invention.Based on the first embodiment of above-mentioned audio file play method, described step S21 comprises:
Step S210, obtains the file type of described audio file;
Step S211, determines the sample number of corresponding audio sampling frequency and every frame audio frequency according to described file type;
Step S212, by the sample number of described every frame audio frequency divided by described sample frequency, calculates the reproduction time of every frame audio frequency;
Step S213, determines the unit interval of often opening the display of audio frequency picture according to the reproduction time of described every frame audio frequency.
Described intelligent television obtains the file type of described audio file; The sample frequency of corresponding audio decoder and the sample number of every frame audio frequency is determined according to described file type; By the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency; The unit interval of often opening the display of audio frequency picture is determined according to the reproduction time of described every frame audio frequency.Described sample frequency, during for simulated sound waveform is carried out digitlization, extracts the number of times of wave amplitude sample each second, and the reproduction time of the sample number/sample frequency of every frame audio frequency=every frame audio frequency.
Such as: if the file type of described audio file is MP3 format, the sample frequency then determining corresponding audio decoder is 44.1kHz (sample number namely per second is 44100), the sample number determining corresponding every frame audio frequency is 1152, according to: the reproduction time of sample number/sample frequency=every frame audio frequency of every frame audio frequency, the reproduction time calculating every frame audio frequency is 0.026 second, using 100 times of the reproduction time of every frame audio frequency as the unit interval of often opening the display of audio frequency picture, namely often open audio frequency picture and show 2.6 seconds.
Or, if the file type of described audio file is AAC form, the sample frequency then determining corresponding audio decoder is 44.1kHz (sample number namely per second is 44100), the sample number determining corresponding every frame audio frequency is 1024, according to: the reproduction time of sample number/sample frequency=every frame audio frequency of every frame audio frequency, the reproduction time calculating every frame audio frequency is 0.022 second, using 100 times of the reproduction time of every frame audio frequency as the unit interval of often opening the display of audio frequency picture, namely often open audio frequency picture and show 2.2 seconds.
The present embodiment is when displaying audio file, the sample number of corresponding audio sampling frequency and every frame audio frequency is determined according to the file type of audio file, and calculate the reproduction time of every frame audio frequency, determine the unit interval of often opening the display of audio frequency picture according to the reproduction time of every frame audio frequency.Audio frequency picture according to the broadcasting speed automatic switchover audio frequency picture of audio file, can be made music no longer dull, improves Consumer's Experience in playing process.
With reference to the schematic flow sheet that Fig. 4, Fig. 4 are the 4th embodiment of audio file play method of the present invention.Based on the first embodiment of above-mentioned audio file play method, described step S23 comprises:
Step S230, obtains the file name of described audio file, searches picture corresponding to described file name from described picture library;
Step S231, sorts found picture by resolution;
Step S232, obtains the resolution of audio frequency picture viewing area, filters out front n pictures as described audio frequency picture from the picture being less than or equal to described viewing area resolution.
Described intelligent television obtains the file name of described audio file, searches picture corresponding to described file name from described picture library; Found picture is sorted by resolution; Obtain the resolution of audio frequency picture viewing area, from found picture, obtain the picture being less than or equal to described viewing area resolution, and filter out the maximum front n pictures of resolution as described audio frequency picture.Preferably, the picture found can be sorted from big to small according to resolution.
The present embodiment is when displaying audio file, from picture library, corresponding picture is searched according to the file name of audio file, and according to the resolution of audio frequency picture viewing area, the picture found is screened, filter out the audio frequency picture that optimum current display area is play, what audio frequency picture was shown is more clear, improves Consumer's Experience.
The executive agent of the audio file play method of above-mentioned first to fourth embodiment can be all intelligent television or the audio-frequence player device be arranged in intelligent television.Further, described audio file play method can by being arranged on intelligent television or being arranged on the audio file playing program realization on the audio-frequence player device in intelligent television.
The present invention further provides a kind of audio file playing device.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are the first embodiment of audio file playing device of the present invention.
In the present embodiment, described audio file playing device comprises: receiver module 10, processing module 20 and playing module 30.
Receiver module 10, for when receiving play instruction, obtains the audio file that described instruction is corresponding;
When intelligent television receives audio frequency play instruction, obtain the audio file that described instruction is corresponding, automatically to obtain corresponding audio frequency picture from picture library according to described audio file, and calculate the unit interval of often opening the display of audio frequency picture, in displaying audio file process, show audio frequency picture one by one according to the described unit interval.
Preferably, in intelligent television system, the communication connection of intelligent television and mobile terminal can be set up, and by described mobile terminal trigger audio play instruction, when intelligent television receives the audio frequency play instruction from described mobile terminal, by described communication connection from audio file corresponding to instruction described in described acquisition for mobile terminal, and described audio file is kept in the buffer memory of described intelligent television.Described mobile terminal can be the terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc.
Processing module 20, for determining the unit interval of often opening the display of audio frequency picture according to described audio file, and obtains audio frequency picture corresponding to described audio file from picture library;
Described intelligent television determines the unit interval of often opening the display of audio frequency picture according to obtained audio file.The described unit interval of often opening the display of audio frequency picture, for when playing described audio file, show described audio frequency picture one by one according to the described unit interval.The described unit interval of often opening the display of audio frequency picture can be the time parameter pre-set, such as: can be set to often to open audio frequency picture and show 2 seconds, obtain 10 seconds broadcasting total times of described audio file, then determine that the number of audio frequency picture shown is 5, obtain 5 corresponding audio frequency pictures from picture library, and show described 5 audio frequency pictures one by one according to the speed of often opening audio frequency picture and show 2 seconds.
Or, also can obtain the file type of described audio file, and determine the unit interval of often opening the display of audio frequency picture that described file type is corresponding.Such as: the unit interval of the audio frequency picture display of the audio file of MP3 format is set to 2.6 seconds, namely often opens after audio frequency picture shows 2.6 seconds and switches to next audio frequency picture; The unit interval of the audio frequency picture display of the audio file of AAC form is set to 2.2 seconds, namely often opens after audio frequency picture shows 2.2 seconds and switches to next audio frequency picture.
Described intelligent television obtains audio frequency picture corresponding to described audio file from picture library.The audio frequency picture that described audio file is corresponding is the picture that described audio file content is relevant, such as: described audio frequency picture can be the placard that described audio file is corresponding, or the picture of singer corresponding to described audio file etc.
Described picture library can be pre-configured in described intelligent television containing the picture library of audio frequency picture, or described picture library also can be pre-configured in the picture library containing audio frequency picture in the server that communicates to connect with described intelligent television.
Further, described audio file playing device also comprises configuration module; Described configuration module, for the picture library of the configuration of server beyond the clouds containing audio frequency picture.To obtain AV corresponding to described audio file from described picture library.
Playing module 30, for playing described audio file, and shows described audio frequency picture one by one according to the described unit interval
Described intelligent television is when playing described audio file, show described audio frequency picture according to the described unit interval of often opening the display of audio frequency picture in viewing area simultaneously, often opening the audio frequency picture unit of display time then switches to next audio frequency picture, terminates until described audio file is play.
The present embodiment is when displaying audio file, automatically from picture library, corresponding audio frequency picture is obtained, and calculate the unit interval of often opening the display of audio frequency picture, audio frequency picture is shown one by one according to the described unit interval in displaying audio file process, achieve automatic acquisition audio frequency picture in audio frequency playing process, and to automatically switch in real time display according to the broadcasting of audio file, make music no longer dull, improve Consumer's Experience.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are second embodiment of apparatus of the present invention.Based on the first embodiment of above-mentioned audio file playing device, described processing module 20 comprises audio treatment unit 21 and picture processing unit 22;
Described audio treatment unit 21, for obtaining the file type of described audio file, and determines the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Described intelligent television by obtaining the file type of described audio file, can determine the corresponding unit interval of often opening the display of audio frequency picture according to described file type.To calculate the number of described audio frequency picture according to the described unit interval of often opening the display of audio frequency picture, and show audio frequency picture one by one according to the described unit interval of often opening the display of audio frequency picture.
Described audio treatment unit 21, also for obtaining total reproduction time of described audio file, and calculates the number n of described audio frequency picture by described total reproduction time divided by the described unit interval;
Described intelligent television can obtain total reproduction time of described audio file, and described total reproduction time is calculated the number n of described audio frequency picture divided by the described unit interval, to obtain the audio frequency picture of corresponding number according to the number of described audio frequency picture.
Described picture processing unit 22, for obtaining the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
Described intelligent television obtains the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
The present embodiment, when displaying audio file, determines the unit interval of often opening the display of audio frequency picture according to the file type of described audio file, to carry out the display of audio frequency picture according to the described unit interval.And calculate the number of audio frequency picture according to total reproduction time of described audio file, to obtain the audio frequency picture of corresponding number.And obtain audio frequency picture according to the file name of described audio file from picture library, achieve automatic acquisition audio frequency picture in audio frequency playing process, and to automatically switch in real time display according to the broadcasting of audio file, make music no longer dull, improve Consumer's Experience.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are the 3rd embodiment of apparatus of the present invention.Based on the first embodiment of above-mentioned audio file playing device, described audio treatment unit 21 comprises acquisition subelement 210, determines subelement 211 and computation subunit 212;
Described acquisition subelement 210, for obtaining the file type of described audio file;
Describedly determine subelement 211, for determining the sample number of corresponding audio sampling frequency and every frame audio frequency according to described file type;
Described computation subunit 212, for by the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency;
Describedly determine subelement 211, for determining the unit interval of often opening the display of audio frequency picture according to the reproduction time of described every frame audio frequency.
Described intelligent television obtains the file type of described audio file; The sample frequency of corresponding audio decoder and the sample number of every frame audio frequency is determined according to described file type; By the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency; The unit interval of often opening the display of audio frequency picture is determined according to the reproduction time of described every frame audio frequency.Described sample frequency, during for simulated sound waveform is carried out digitlization, extracts the number of times of wave amplitude sample each second, and the reproduction time of the sample number/sample frequency of every frame audio frequency=every frame audio frequency.
Such as: if the file type of described audio file is MP3 format, the sample frequency then determining corresponding audio decoder is 44.1kHz (sample number namely per second is 44100), the sample number determining corresponding every frame audio frequency is 1152, according to: the reproduction time of sample number/sample frequency=every frame audio frequency of every frame audio frequency, the reproduction time calculating every frame audio frequency is 0.026 second, using 100 times of the reproduction time of every frame audio frequency as the unit interval of often opening the display of audio frequency picture, namely often open audio frequency picture and show 2.6 seconds.
Or, if the file type of described audio file is AAC form, the sample frequency then determining corresponding audio decoder is 44.1kHz (sample number namely per second is 44100), the sample number determining corresponding every frame audio frequency is 1024, according to: the reproduction time of sample number/sample frequency=every frame audio frequency of every frame audio frequency, the reproduction time calculating every frame audio frequency is 0.022 second, using 100 times of the reproduction time of every frame audio frequency as the unit interval of often opening the display of audio frequency picture, namely often open audio frequency picture and show 2.2 seconds.
The present embodiment is when displaying audio file, the sample number of corresponding audio sampling frequency and every frame audio frequency is determined according to the file type of audio file, and calculate the reproduction time of every frame audio frequency, determine the unit interval of often opening the display of audio frequency picture according to the reproduction time of every frame audio frequency.Audio frequency picture according to the broadcasting speed automatic switchover audio frequency picture of audio file, can be made music no longer dull, improves Consumer's Experience in playing process.
With reference to the high-level schematic functional block diagram that Fig. 8, Fig. 8 are the 4th embodiment of apparatus of the present invention.Based on the first embodiment of above-mentioned audio file playing device, described picture processing unit 22 comprises searches subelement 220, sequence subelement 221 and screening subelement 222;
Describedly searching subelement 220, for obtaining the file name of described audio file, from described picture library, searching picture corresponding to described file name;
Described sequence subelement 221, for sorting found picture by resolution;
Described screening subelement 222, for obtaining the resolution of audio frequency picture viewing area, filters out front n pictures as described audio frequency picture from the picture being less than or equal to described viewing area resolution.
Described intelligent television obtains the file name of described audio file, searches picture corresponding to described file name from described picture library; Found picture is sorted by resolution; Obtain the resolution of audio frequency picture viewing area, from found picture, obtain the picture being less than or equal to described viewing area resolution, and filter out the maximum front n pictures of resolution as described audio frequency picture.Preferably, the picture found can be sorted from big to small according to resolution.
The present embodiment is when displaying audio file, from picture library, corresponding picture is searched according to the file name of audio file, and according to the resolution of audio frequency picture viewing area, the picture found is screened, filter out the audio frequency picture that optimum current display area is play, what audio frequency picture was shown is more clear, improves Consumer's Experience.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an audio file play method, is characterized in that, described audio file play method comprises the following steps:
When receiving play instruction, obtain the audio file that described instruction is corresponding;
Determine the unit interval of often opening the display of audio frequency picture according to described audio file, and from picture library, obtain audio frequency picture corresponding to described audio file;
Play described audio file, and show described audio frequency picture one by one according to the described unit interval.
2. audio file play method as claimed in claim 1, is characterized in that, describedly determines the unit interval of often opening the display of audio frequency picture according to described audio file, and the step obtaining audio frequency picture corresponding to described audio file from picture library comprises:
Obtain the file type of described audio file, and determine the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Obtain total reproduction time of described audio file, and described total reproduction time is calculated the number n of described audio frequency picture divided by the described unit interval;
Obtain the file name of described audio file, from described picture library, search picture corresponding to described file name, and filter out n pictures as described audio frequency picture.
3. audio file play method as claimed in claim 2, is characterized in that, the file type of the described audio file of described acquisition, and determines that the step of often opening the unit interval of audio frequency picture display corresponding to described file type comprises:
Obtain the file type of described audio file;
The sample number of corresponding audio sampling frequency and every frame audio frequency is determined according to described file type;
By the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency;
The unit interval of often opening the display of audio frequency picture is determined according to the reproduction time of described every frame audio frequency.
4. audio file play method as claimed in claim 2, it is characterized in that, the file name of the described audio file of described acquisition, searches picture corresponding to described file name from described picture library, and filters out n pictures and comprise as the step of described audio frequency picture:
Obtain the file name of described audio file, from described picture library, search picture corresponding to described file name;
Found picture is sorted by resolution;
Obtain the resolution of audio frequency picture viewing area, from the picture being less than or equal to described viewing area resolution, filter out front n pictures as described audio frequency picture.
5. the audio file play method as described in any one of Claims 1-4, is characterized in that, described when receiving play instruction, before obtaining the step of audio file corresponding to described instruction, also comprises:
The picture library of server configuration containing audio frequency picture beyond the clouds.
6. an audio file playing device, is characterized in that, described audio file playing device comprises:
Receiver module, for when receiving play instruction, obtains the audio file that described instruction is corresponding;
Processing module, for determining the unit interval of often opening the display of audio frequency picture according to described audio file, and obtains audio frequency picture corresponding to described audio file from picture library;
Playing module, for playing described audio file, and shows described audio frequency picture one by one according to the described unit interval.
7. audio file playing device as claimed in claim 6, it is characterized in that, described processing module comprises audio treatment unit and picture processing unit;
Described audio treatment unit, for obtaining the file type of described audio file, and determines the unit interval of often opening the display of audio frequency picture that described file type is corresponding;
Described audio treatment unit, also for obtaining total reproduction time of described audio file, and calculates the number n of described audio frequency picture by described total reproduction time divided by the described unit interval;
Described picture processing unit, for obtaining the file name of described audio file, searches picture corresponding to described file name from described picture library, and filters out n pictures as described audio frequency picture.
8. audio file playing device as claimed in claim 7, is characterized in that, described audio treatment unit comprises acquisition subelement, determines subelement and computation subunit;
Described acquisition subelement, for obtaining the file type of described audio file;
Describedly determine subelement, for determining the sample number of corresponding audio sampling frequency and every frame audio frequency according to described file type;
Described computation subunit, for by the sample number of described every frame audio frequency divided by described sample frequency, calculate the reproduction time of every frame audio frequency;
Describedly determine subelement, for determining the unit interval of often opening the display of audio frequency picture according to the reproduction time of described every frame audio frequency.
9. audio file playing device as claimed in claim 7, is characterized in that, described picture processing unit comprises searches subelement, sequence subelement and screening subelement;
Describedly searching subelement, for obtaining the file name of described audio file, from described picture library, searching picture corresponding to described file name;
Described sequence subelement, for sorting found picture by resolution;
Described screening subelement, for obtaining the resolution of audio frequency picture viewing area, filters out front n pictures as described audio frequency picture from the picture being less than or equal to described viewing area resolution.
10. the audio file playing device as described in any one of claim 6 to 9, is characterized in that, described audio file playing device also comprises configuration module;
Described configuration module, for the picture library of the configuration of server beyond the clouds containing audio frequency picture.
CN201510580330.7A 2015-09-11 2015-09-11 Audio file play method and device Active CN105208439B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510580330.7A CN105208439B (en) 2015-09-11 2015-09-11 Audio file play method and device
PCT/CN2016/084422 WO2017041543A1 (en) 2015-09-11 2016-06-02 Audio file playing method and apparatus

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN105208439A true CN105208439A (en) 2015-12-30
CN105208439B CN105208439B (en) 2018-09-04

Family

ID=54955818

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

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

Citations (5)

* 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
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN102831912A (en) * 2012-08-10 2012-12-19 上海量明科技发展有限公司 Method, client and system for displaying playing progress of audio information
CN104021152A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Picture display method and device based on audio file playing
US20150039646A1 (en) * 2013-08-02 2015-02-05 Google Inc. Associating audio tracks with video content

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8438034B2 (en) * 2007-12-21 2013-05-07 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
US8909531B2 (en) * 2009-10-02 2014-12-09 Mediatek Inc. Methods and devices for displaying multimedia data emulating emotions based on image shuttering speed
CN105208439B (en) * 2015-09-11 2018-09-04 深圳Tcl数字技术有限公司 Audio file play method and device

Patent Citations (5)

* 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
CN102055845A (en) * 2010-11-30 2011-05-11 深圳市五巨科技有限公司 Mobile communication terminal and picture switching method of music player thereof
CN102831912A (en) * 2012-08-10 2012-12-19 上海量明科技发展有限公司 Method, client and system for displaying playing progress of audio information
US20150039646A1 (en) * 2013-08-02 2015-02-05 Google Inc. Associating audio tracks with video content
CN104021152A (en) * 2014-05-19 2014-09-03 广州酷狗计算机科技有限公司 Picture display method and device based on audio file playing

Cited By (2)

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

Also Published As

Publication number Publication date
WO2017041543A1 (en) 2017-03-16
CN105208439B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN110278388B (en) Display video generation method, device, equipment and storage medium
CN103888837B (en) A kind of video information method for pushing and device
CN109348274B (en) Live broadcast interaction method and device and storage medium
CN105847939A (en) Bullet screen play method, bullet screen play device and bullet screen play system
CN107820138A (en) Video broadcasting method, device, terminal and storage medium
CN108462895A (en) Sound effect treatment method, device and machine readable media
CN106998486A (en) Video broadcasting method and device
CN108322817A (en) A kind of audio mode switching method, device and electronic equipment
CN104636448B (en) A kind of music recommends method and device
CN102364905B (en) Data reproducing method, device and mobile terminal
CN107450874B (en) Multimedia data double-screen playing method and system
CN105912650A (en) Method and apparatus of recommending songs
CN104980677A (en) Method and device for adding label into video
CN106775568A (en) A kind of effect adjusting method, device and mobile terminal
CN103796072A (en) Control end, equipment end, server and system for digital television channel classification display
CN111416995A (en) Content pushing method and system based on scene recognition and intelligent terminal
CN105208439A (en) Audio file playing method and device
CN103247318B (en) A kind of obtain the method for video, device and play the method for video, device
CN104575545B (en) A kind of generation method of list to be played
CN103023923A (en) Information transmission method and information transmission device
CN104866477B (en) Information processing method and electronic equipment
CN103050140A (en) Method and equipment for displaying audio files
CN104967911A (en) Multimedia file insertion position determining method and apparatus
CN109003633B (en) Audio processing method and device and electronic equipment
CN104185085B (en) A kind of VOD method and device

Legal Events

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