US9886504B2ActiveUtilityA1

Audio file management method, device and storage medium

44
Assignee: GUANGZHOU KUGOU COMPUTER TECH CO LTDPriority: Nov 15, 2013Filed: May 12, 2016Granted: Feb 6, 2018
Est. expiryNov 15, 2033(~7.4 yrs left)· nominal 20-yr term from priority
Inventors:Weifeng Zhao
G11B 27/322G06F 16/61G06F 18/24G06F 17/3025G06F 17/30778G06K 9/6267G06F 17/30749G06T 7/90G06F 16/68G06F 16/5838
44
PatentIndex Score
0
Cited by
16
References
20
Claims

Abstract

The embodiments of the disclosure provide a method and device for audio file management and a storage medium. The method may include that: an album image corresponding to an audio file to be managed is acquired (S 101 ); color analysis is performed on the album image to obtain a characteristic color of the album image (S 102 ); a color label is set for the audio file according to the characteristic color of the album image (S 103 ); and the audio file is managed according to the color label of the audio file (S 104 ). According to the embodiments of the present disclosure, the audio file may be managed on the basis of colors, so that diversity and intelligence of the means of audio file management are improved.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
       1. A method for audio file management, comprising:
 acquiring an album image corresponding to an audio file to be managed; 
 performing colour analysis on the album image to obtain a characteristic colour of the album image; 
 setting a colour label for the audio file according to the characteristic colour of the album image; and 
 managing the audio file according to the colour label of the audio file. 
 
     
     
       2. The method according to  claim 1 , wherein performing colour analysis on the album image to obtain the characteristic colour of the album image comprises:
 acquiring colours of specified pixels of the album image; 
 extracting a main colour from the colours of the specified pixels of the album image; and 
 determining the main colour as the characteristic colour of the album image. 
 
     
     
       3. The method according to  claim 1 , wherein performing colour analysis on the album image to obtain the characteristic colour of the album image comprises:
 acquiring colours of specified pixels of the album image; 
 extracting a main colour from the colours of the specified pixels of the album image; 
 performing mapping processing on the main colour to obtain a mapped colour of the main colour; and 
 determining the mapped colour of the main colour as the characteristic colour of the album image. 
 
     
     
       4. The method according to  claim 3 , wherein performing mapping processing on the main colour to obtain the mapped colour of the main colour comprises:
 reading a first preset colour mapping table, the first preset colour mapping table comprising at least one mapped colour and a colour value range of each mapped colour; 
 acquiring a colour value of the main colour; and 
 mapping the main colour into a mapped colour in the first preset colour mapping table according to the first preset colour mapping table and the colour value of the main colour. 
 
     
     
       5. The method according to  claim 3 , wherein performing mapping processing on the main colour to obtain the mapped colour of the main colour comprises:
 reading a second preset colour mapping table, the second preset colour mapping table comprising at least one mapped colour and a colour value of each mapped colour; 
 acquiring a colour value of the main colour; 
 calculating a Euclidean distance between the main colour and the each mapped colour in the second preset colour mapping table; and 
 determining a mapped colour at a shortest Euclidean distance away from the main colour in the second preset colour mapping table as the mapped colour of the main colour. 
 
     
     
       6. The method according to  claim 1 , wherein managing the audio file according to the colour label of the audio file comprises:
 including the audio file in an audio library; and 
 classifying the audio file into an audio category corresponding to the colour label of the audio file in the audio library according to a preset correspondence between a colour label and an audio category, 
 wherein the preset correspondence between a colour label and an audio category is that: one colour label corresponds to one audio category. 
 
     
     
       7. The method according to  claim 6 , after managing the audio file according to the colour label of the audio file, the method further comprising:
 outputting audio recommendation prompting information according to listening information of a user about the audio library. 
 
     
     
       8. The method according to  claim 7 , wherein outputting the audio recommendation prompting information according to the listening information of the user about the audio library comprises:
 acquiring listening information of the user about audio files in the audio library, the listening information containing colour labels of the audio files to which the user listens; 
 determining an audio category that the user follows according to the colour labels of the audio files to which the user listens in the listening information; 
 selecting at least one audio file from the audio category that the user follows to generate audio recommendation prompting information; and 
 outputting the audio recommendation prompting information. 
 
     
     
       9. A device for audio file management, comprising:
 a processor; and 
 a memory configured to store instructions executable by the processor, 
 wherein the processor is configured to: 
 acquire an album image corresponding to an audio file to be managed; 
 perform colour analysis on the album image to obtain a characteristic colour of the album image; 
 set a colour label for the audio file according to the characteristic colour of the album image; and 
 manage the audio file according to the colour label of the audio file. 
 
     
     
       10. The device according to  claim 9 , wherein the processor is further configured to:
 acquire colours of specified pixels of the album image; 
 extract a main colour from the colours of the specified pixels of the album image; and 
 determine the main colour as the characteristic colour of the album image. 
 
     
     
       11. The device according to  claim 9 , wherein the processor is further configured to:
 acquire colours of specified pixels of the album image; 
 extract a main colour from the colours of the specified pixels of the album image; 
 perform mapping processing on the main colour to obtain a mapped colour of the main colour; and 
 determine the mapped colour of the main colour as the characteristic colour of the album image. 
 
     
     
       12. The device according to  claim 11 , wherein the processor is further configured to:
 read a first preset colour mapping table, the first preset colour mapping table comprising at least one mapped colour and a colour value range of each mapped colour; 
 acquire a colour value of the main colour; and 
 map the main colour into a mapped colour in the first preset colour mapping table according to the first preset colour mapping table and the colour value of the main colour. 
 
     
     
       13. The device according to  claim 11 , wherein the processor is further configured to:
 read a second preset colour mapping table, the second preset colour mapping table comprising at least one mapped colour and a colour value of each mapped colour; 
 acquire a colour value of the main colour; 
 calculate a Euclidean distance between the main colour and the each mapped colour in the second preset colour mapping table; and 
 determine a mapped colour at a shortest Euclidean distance away from the main colour in the second preset colour mapping table as the mapped colour of the main colour. 
 
     
     
       14. The device according to  claim 9 , wherein the processor is further configured to:
 include the audio file in an audio library; and 
 classify the audio file into an audio category corresponding to the colour label of the audio file in the audio library according to a preset correspondence between a colour label and an audio category, 
 wherein the preset correspondence between a colour label and an audio category is that: one colour label corresponds to one audio category. 
 
     
     
       15. The device according to  claim 14 , wherein the processor is further configured to:
 output audio recommendation prompting information according to listening information of a user about the audio library. 
 
     
     
       16. The device according to  claim 15 , wherein the processor is further configured to:
 acquire listening information of the user about audio files in the audio library, the listening information containing colour labels of the audio files to which the user listens; 
 determine an audio category that the user follows according to the colour labels of the audio files to which the user listens in the listening information; 
 select at least one audio file from the audio category that the user follows to generate audio recommendation prompting information; and 
 output the audio recommendation prompting information. 
 
     
     
       17. A non-transitory computer-readable storage medium comprising a computer-executable instruction, the computer-executable instruction being executed by a computer processor to execute a method for audio file management, wherein the method comprises:
 acquiring an album image corresponding to an audio file to be managed; 
 performing colour analysis on the album image to obtain a characteristic colour of the album image; 
 setting a colour label for the audio file according to the characteristic colour of the album image; and 
 managing the audio file according to the colour label of the audio file. 
 
     
     
       18. The non-transitory computer-readable storage medium according to  claim 17 , wherein performing colour analysis on the album image to obtain the characteristic colour of the album image comprises:
 acquiring colours of specified pixels of the album image; 
 extracting a main colour from the colours of the specified pixels of the album image; and 
 determining the main colour as the characteristic colour of the album image. 
 
     
     
       19. The non-transitory computer-readable storage medium according to  claim 17 , wherein performing colour analysis on the album image to obtain the characteristic colour of the album image comprises:
 acquiring colours of specified pixels of the album image; 
 extracting a main colour from the colours of the specified pixels of the album image; 
 performing mapping processing on the main colour to obtain a mapped colour of the main colour; and 
 determining the mapped colour of the main colour as the characteristic colour of the album image. 
 
     
     
       20. The non-transitory computer-readable storage medium according to  claim 19 , wherein performing mapping processing on the main colour to obtain the mapped colour of the main colour comprises:
 reading a first preset colour mapping table, the first preset colour mapping table comprising at least one mapped colour and a colour value range of each mapped colour; 
 acquiring a colour value of the main colour; and 
 mapping the main colour into a mapped colour in the first preset colour mapping table according to the first preset colour mapping table and the colour value of the main colour.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.