# US 2016/0259852 A1 · Audio file management method, device and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0259852 A1
- Document ID: US20160259852A1
- Status: Published application
- Kind: A1
- Application number: 15/153,183
- Filed: 2016-05-12
- Published: 2016-09-08
- Earliest claimed: 2013-11-15
- Assignees: GuangZhou KuGou Computer Technology Co.Ltd
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Weifeng ZHAO
- Web page: https://patentgrep.com/patent/US20160259852A1

## CPC

- G11B 27/322: {used signal is digitally coded}
- G06F 16/5838: {using colour}
- G06F 16/61: Indexing; Data structures therefor; Storage structures
- G06F 16/68: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F 18/24: Classification techniques
- G06T 7/90: Determination of colour characteristics
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## 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 (S101); colour analysis is performed on the album image to obtain a characteristic colour of the album image (S102); a colour label is set for the audio file according to the characteristic colour of the album image (S103); and the audio file is managed according to the colour label of the audio file (S104). According to the embodiments of the present disclosure, the audio file may be managed on the basis of colours, so that diversity and intelligence of the means of audio file management are improved.

## Claims

### Claim 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.

### Claim 2 (depends on 1)

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.

### Claim 3 (depends on 1)

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.

### Claim 4 (depends on 3)

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.

### Claim 5 (depends on 3)

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.

### Claim 6 (depends on 1)

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.

### Claim 7 (depends on 6)

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.

### Claim 8 (depends on 7)

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.

### Claim 9

A device for audio file management, comprising:
an image acquisition module, configured to acquire an album image corresponding to an audio file to be managed;
a colour analysis module, configured to perform colour analysis on the album image to obtain a characteristic colour of the album image;
a label setting module, configured to set a colour label for the audio file according to the characteristic colour of the album image; and
an audio management module, configured to manage the audio file according to the colour label of the audio file.

### Claim 10 (depends on 9)

The device according to claim 9, wherein the colour analysis module comprises:
a first colour acquisition unit, configured to acquire colours of specified pixels of the album image;
a first extraction unit, configured to extract a main colour from the colours of the specified pixels of the album image; and
a first determination unit, configured to determine the main colour as the characteristic colour of the album image.

### Claim 11 (depends on 9)

The device according to claim 9, wherein the colour analysis module comprises:
a second colour acquisition unit, configured to acquire colours of specified pixels of the album image;
a second extraction unit, configured to extract a main colour from the colours of the specified pixels of the album image;
a mapping processing unit, configured to perform mapping processing on the main colour to obtain a mapped colour of the main colour; and
a second determination unit, configured to determine the mapped colour of the main colour as the characteristic colour of the album image.

### Claim 12 (depends on 11)

The device according to claim 11, wherein the mapping processing unit comprises:
a first reading subunit, 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;
a first acquisition subunit, configured to acquire a colour value of the main colour; and
a first mapping subunit, configured to 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.

### Claim 13 (depends on 11)

The device according to claim 11, wherein the mapping processing unit comprises:
a second reading subunit, 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;
a second acquisition subunit, configured to acquire a colour value of the main colour;
a calculation subunit, configured to calculate a Euclidean distance between the main colour and the each mapped colour in the second preset colour mapping table; and
a second mapping subunit, configured to 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.

### Claim 14 (depends on 9)

The device according to claim 9, wherein the audio management module comprises:
an inclusion unit, configured to include the audio file in an audio library; and
a classification unit, configured to 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.

### Claim 15 (depends on 14)

The device according to claim 14, further comprising:
a recommendation prompting module, configured to output audio recommendation prompting information according to listening information of a user about the audio library.

### Claim 16 (depends on 15)

The device according to claim 15, wherein the recommendation prompting module comprises:
an acquisition unit, 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;
a category determination unit, configured to 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;
an information generation unit, configured to select at least one audio file from the audio category that the user follows to generate audio recommendation prompting information; and
a prompting unit, configured to output the audio recommendation prompting information.

### Claim 17

A 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.
