CN106411969B - Sing single generation method and device - Google Patents
Sing single generation method and device Download PDFInfo
- Publication number
- CN106411969B CN106411969B CN201510451330.7A CN201510451330A CN106411969B CN 106411969 B CN106411969 B CN 106411969B CN 201510451330 A CN201510451330 A CN 201510451330A CN 106411969 B CN106411969 B CN 106411969B
- Authority
- CN
- China
- Prior art keywords
- song
- player
- server
- files
- module
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Abstract
The invention discloses a kind of single generation method of song and devices, belong to field of computer technology.It is pressed from both sides the described method includes: reading the first song files corresponding with the second player using the first player, the first song files folder is for storing the song in the second player song list;From server corresponding with first player, the song in the first song files folder is downloaded;The song of downloading is stored into the second song files corresponding with first player folder;According to the half-cooked song list at first player of corresponding second song files of first player.The present invention solves different player network song lists of the existing technology and can not transplant, and leads to the problem that the step of singing single recovery is cumbersome;The song for having reached different players singly can be transplanted mutually, and the effect for singing single recovery operation is simplified.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of song list generation method and device.
Background technique
User creation can sing list in player during using player audition music at present, and oneself is liked
The song of love is stored in song list.
When the first player of user installation, and want all to move the song list having had in the second single player of song
When planting into the first player, the common practice is: user is according to the song list of the second player, successively manually in the first player
It is scanned in interior search box, to download corresponding song from the server of the first player, and according to the song of downloading
Form the song list of the first player.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems: different at two
When carrying out singing single transplanting between player, user is needed successively to search for manually, and song list is formed according to search result, since song is single
Cumbersome, the inefficiency of the step of quantity of interior song is usually very much, therefore this song is singly transplanted.
Summary of the invention
It can not be transplanted to solve different player network song lists of the existing technology, cause the step of singing single recovery numerous
Trivial problem, the embodiment of the invention provides a kind of single generation method of song and devices.The technical solution is as follows:
In a first aspect, providing a kind of single generation method of song, which comprises
It reads the first song files corresponding with the second player using the first player to press from both sides, the first song files folder
For storing the song in the second player song list;
From server corresponding with first player, the song in the first song files folder is downloaded;
The song of downloading is stored into the second song files corresponding with first player folder;
According to the half-cooked song list at first player of corresponding second song files of first player.
Optionally, described from server corresponding with first player, it downloads in the first song files folder
Song, comprising:
For each song of first song files folder, the fingerprint characteristic of the song is obtained;
The fingerprint characteristic of the song is sent in server corresponding with first player, by the server
Stored in the server and fingerprint minutiae matching song is found out, is fed back described with the fingerprint minutiae matching
Song;
It receives the server feedback with the fingerprint minutiae matching song.
Optionally, the fingerprint characteristic for obtaining the song, comprising:
The format of the song is converted into pulse code modulation PCM format;
The frequency spectrum with the song of the PCM format is extracted, filters peak value in the frequency spectrum using Fourier transformation
It is less than the peak point of preset frequency between point;
From the filtered frequency spectrum, at least two sections of discontinuous frequency spectrums with scheduled duration are intercepted;
It is the fingerprint characteristic of the song by each section of spectral combination of interception.
Optionally, described half-cooked at first player according to corresponding second song files of first player
Song is single, comprising:
The single root of the song that the name that second song files press from both sides is referred to as first player, by described second
The name of each song is referred to as the subdirectory in the song list of first player in song files, generates first player
Song list.
Optionally, the method also includes:
The upgrade notification that server corresponding with first player is sent is received, the upgrade notification is the service
Device when the fingerprint characteristic according to song determines in the server that storage is higher than the version of the quality of the song, feedback
Notice for prompting user that one of version is selected to be upgraded;
Show the upgrade notification;
The selection instruction selected according to the upgrade notification is received, the version mark of user's selection is carried in the selection instruction
Know;
The selection instruction is sent to the server, the selection instruction is found for triggering the server feedback
Song in the song with the version identifier carried in the selection instruction.
Second aspect, provides a kind of song single generating device, and described device includes:
Read module is pressed from both sides for reading the first song files corresponding with the second player using the first player, described
First song files folder is for storing the song in the second player song list;
Download module, for from server corresponding with first player, downloading the read module reading
Song in the first song files folder;
Memory module, the song for downloading the download module store to first player corresponding second
In song files folder;
Generation module, the corresponding second song files folder of first player for being stored according to the memory module
Generate the song list of first player.
Optionally, the download module, comprising:
Acquiring unit, each song for pressing from both sides for first song files, the fingerprint for obtaining the song are special
Sign;
Transmission unit, the fingerprint characteristic of the song for obtaining the acquiring unit is sent to be broadcast with described first
It puts in the corresponding server of device, stored in the server and fingerprint minutiae matching song is found out by the server
Song, the song of feedback and the fingerprint minutiae matching;
Receiving unit, the song with the fingerprint minutiae matching for receiving the server feedback.
Optionally, the acquiring unit, comprising:
Conversion subunit, for the format of the song to be converted into pulse code modulation PCM format;
Subelement is filtered, for extracting the song of the PCM format that there is the conversion subunit to be converted into
Frequency spectrum filters the peak point for being less than preset frequency in the frequency spectrum between peak point using Fourier transformation;
Subelement is intercepted, it is discontinuous for from the filtered frequency spectrum of filtering subelement, intercepting at least two sections
The frequency spectrum with scheduled duration;
Subelement is combined, for being the fingerprint spy of the song by each section of spectral combination of the interception subelement interception
Sign.
Optionally, the generation module is also used to: the name that second song files press from both sides being referred to as described first and is played
The single root of the song of device, the name of each song in second song files is referred to as in the song list of first player
Subdirectory, generate the song list of first player.
Optionally, described device further include:
First receiving module, the upgrade notification sent for receiving server corresponding with first player are described
Upgrade notification is that the server is determined to store in the server higher than the song in the fingerprint characteristic according to song
When the version of quality, the notice for prompting user that one of version is selected to be upgraded of feedback;
Display module, the upgrade notification received for showing first receiving module;
Second receiving module, the selection for receiving the upgrade notification shown according to the display module selection refer to
It enables, the version identifier of user's selection is carried in the selection instruction;
Sending module, for sending the selection instruction that second receiving module receives, institute to the server
Selection instruction is stated for triggering in the song that the server feedback is found with the version mark carried in the selection instruction
The song of knowledge.
Technical solution provided in an embodiment of the present invention has the benefit that
By reading the first song files folder that the second player is stored in terminal using the first player, and broadcast first
The song downloaded in first song files folder in the corresponding download server of device is put, and is stored to the first player corresponding the
In two song files folder, further according to the half-cooked song list at the first player of the second song files;Since the first player can root
It is pressed from both sides according to the song files of the second player, it is single to automatically generate song corresponding with song each in song files folder, therefore solve
Different player networks songs of the existing technology are single to be transplanted, and lead to sing cumbersome problem of single the step of restoring;Reach
The song of different players singly can be transplanted mutually, and the effect for singing single recovery operation is simplified.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method flow diagram of the single generation method of song provided in one embodiment of the invention;
Fig. 2A is the method flow diagram of the single generation method of song provided in another embodiment of the present invention;
Fig. 2 B is the schematic diagram of the first player interface provided in one embodiment of the invention;
Fig. 2 C is the schematic diagram that the first player provided in one embodiment of the invention imports the single interface of local song;
Fig. 2 D is the method flow diagram according to the fingerprint characteristic of the acquisition song shown in one embodiment;
Fig. 2 E is the schematic diagram of the filtering song frequency peak provided in one embodiment of the invention;
Fig. 2 F be the terminal provided in one embodiment of the invention display the prompt box prompt the user whether downloading song it is higher
The schematic diagram of sound quality version;
Fig. 2 G is that the terminal provided in one embodiment of the invention shows upgrade notification to notify user to select song quality
The schematic diagram of version;
Fig. 2 H is that the terminal provided in one embodiment of the invention shows that user gradation upgrade tip frame prompts the user whether
Promote the schematic diagram of user gradation;
Fig. 3 is the structural block diagram of the song single generating device provided in one embodiment of the invention;
Fig. 4 is the structural block diagram of the song single generating device provided in another embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the method flow diagram of the single generation method of song provided in one embodiment of the invention, sings single generation method and answers
For being equipped in the terminal of the first player and the second player, terminal can be smart phone, multimedia player, plate
Computer etc..As shown in Figure 1, the song list generation method includes the following steps.
In a step 101, it reads the first song files corresponding with the second player using the first player to press from both sides, the first song
Bent file is used to store the song in the second player song list.
In a step 102, the song from server corresponding with the first player, in downloading the first song files folder.
In step 103, the song of downloading is stored into the second song files corresponding with the first player folder.
At step 104, according to the half-cooked song list at the first player of corresponding second song files of the first player.
In conclusion the song list generation method provided in the embodiment of the present invention, by reading second using the first player
Player is stored in the first song files folder of terminal, and first song is downloaded in the corresponding download server of the first player
Song in bent file, and store into the corresponding second song files folder of the first player, further according to the second song files
The half-cooked song list at the first player;Since the first player can be pressed from both sides according to the song files of the second player, automatically generate
Song corresponding with song each in song files folder is single, therefore it is single to solve different player network songs of the existing technology
It can not transplant, lead to the problem that the step of singing single recovery is cumbersome;The song for having reached different players singly can be transplanted mutually, simplify
Sing the effect of single recovery operation.
Fig. 2A is the method flow diagram of the single generation method of song provided in another embodiment of the present invention, the song list generation side
Method be applied to be equipped in the terminal of the first player and the second player, terminal can for smart phone, multimedia player,
Tablet computer etc..As shown in Figure 2 A, which includes the following steps.
In step 201, it reads the first song files corresponding with the second player using the first player to press from both sides, the first song
Bent file is used to store the song in the second player song list.
After the song in the song list in the second player is downloaded to terminal by user, after the second player default will be downloaded
Song be stored in song files folder, a song single pair answers song files folder, song files press from both sides in be stored with this document
All songs on the corresponding song list of folder.The subsequent song files folder for the ease of distinguishing the first player, the present invention are each
Embodiment is denoted as the first song files folder for the folder of song files corresponding to list is sung in the second player.
If user is newly mounted with the first player at the terminal, want the song created in the second player being singly transplanted to first
In player, then user can sing selection importing in single function in the creation of the first player, locally song is single, due in song list
Song be that terminal is stored in the form of file, i.e. the first song files folder in all songs be exactly in the second player
The corresponding single song for being included of song, then when selecting song list corresponding to the first song files folder in the second player catalogue,
Terminal reads user to the operational order of the first player, the second player song for selecting terminal to be stored in the first player
First song files corresponding to list press from both sides path, and the first player orientation is made to read file corresponding to the second player song list
Interior song.
Fig. 2 B is referred to, is the schematic diagram of the first player interface provided in one embodiment of the invention, such as Fig. 2 B
Shown, user clicks addition song single function 11, the option 12 of selection " it is single to import local song ", touching in the first player interface 10
Hair imports interface, refers to Fig. 2 C, is that the first player provided in one embodiment of the invention imports the single boundary of local song
The schematic diagram in face, as shown in Figure 2 C, user select subdirectory " the first song in the second player file in importing interface 13
Bent file " 14, then in available second player of the first player the first song files folder in all song informations.
After first player reads the second player corresponding first song files folder, by from corresponding with the first player
Server in, downloading the first song files folder in song, can by the first song files press from both sides in song download to first
In the corresponding second song files folder of player.Terminal is by downloading first from server corresponding with the first player
Song files folder in song when, can be realized with 202a as follows to step 202c.
In one possible implementation, referring also to Fig. 2A, which be may include steps of:
In step 202a, for each song of the first song files folder, the fingerprint characteristic of song is obtained.
Fingerprint characteristic mentioned here is used to unique identification song namely fingerprint characteristic is used for the song of unique identification song
Tune, singer, the lyrics, when at least one of tune, singer and lyrics are different in two first songs, corresponding fingerprint characteristic
Also can be different, therefore the effective information for identifying the song can be obtained in the fingerprint characteristic for obtaining song.
In one possible implementation, Fig. 2 D is referred to, is according to the acquisition song shown in one embodiment
The method flow diagram of fingerprint characteristic, as shown in Figure 2 D, the method for the fingerprint characteristic of the acquisition song is to include the following steps:
In step 202a1, the format of song is converted into pulse code modulation PCM format.
The former format of song is converted to the process of PCM format are as follows: at predetermined time intervals by analog signals such as speech, images
It is sampled, makes its discretization, the obtained sample value of sampling is quantified by layered units round, while will sampling
Value is indicated the amplitude of sampling pulse by one group of binary code.
Song currently with player downloads is mostly MP3 format, in order to obtain the spectrum information of song usually require by
MP3 format is converted to PCM format.
In step 202a2, the frequency spectrum with the song of PCM format is extracted, peak in Fourier transformation filtered spectrum is utilized
It is less than the peak point of preset frequency between value point.
After the former format of song is converted into PCM format, the frequency spectrum of the song is generated.
Currently, some songs in player library pass through later period artificial bass boost or high pitch moditied processing,
The phenomenon that song frequency spectrum generated will appear variation, i.e., peak point will appear peak point overlapping, be close in the song frequency spectrum.
In order to keep the peak point chosen more uniform along the distribution of time and frequency axis, to guarantee that the song fingerprints are special in subsequent step
Matched accuracy is levied, can use the mode of gaussian filtering to filter song audio, to effectively eliminate the noise in audio.
One of implementation of gaussian filtering is that can be become using Fourier in Fourier transformation namely the present embodiment
Bring the noise eliminated in song frequency spectrum.Fig. 2 E is referred to, is the filtering song frequency provided in one embodiment of the invention
The schematic diagram of peak value, as shown in Figure 2 E, the frequency peak point of snatch of song before filtration distribution exist overlapping, be close to show
As, the snatch of song is filtered using Fourier's variation, is filtered out after being less than the peak point of preset frequency between peak point,
Peak point is more uniform along the distribution of time and frequency axis, wherein and the value of preset frequency can be 10kHz, 20kHz etc., this
Place to the size of preset frequency without limitation.
In step 202a3, from filtered frequency spectrum, at least two sections of discontinuous frequencies with scheduled duration are intercepted
Spectrum.
It is the fingerprint characteristic of song by each section of spectral combination of interception in step 202a4.
By taking same first song as an example, for the audio formats such as MP3, OGG of the song, the pcm audio lattice of the song
The memory space that formula occupies is larger, if whole frequency spectrums of the song PCM format are sent to server by terminal, required time compared with
It is long;If terminal is in data network state, transmission process, which may cause to send due to the unstable of network data, to fail.Cause
This, terminal can intercept filtered frequency spectrum at the frequency spectrum with scheduled duration, using the frequency spectrum of interception as the fingerprint of song
Feature.
In order to avoid the song intercepted is to cause there are skewered song only with a Duan Pin in skewered song or server
Spectral slice section carries out matched matching result inaccuracy, in a kind of preferred mode, can intercept extremely from filtered frequency spectrum
Few two sections of discontinuous frequency spectrums with scheduled duration, and be the fingerprint characteristic of song by each section of spectral combination of interception.
It is analyzed through many experiments, when scheduled duration here is 10 seconds, memory space needed for the frequency spectrum of PCM format is more closed
It is suitable, and matching result when server was matched according to 10 seconds frequency spectrums in subsequent step is more accurate.Here to pre- timing
Long specific value is without limitation.
In step 202b, the fingerprint characteristic of song is sent in server corresponding with the first player, by servicing
Device finds out storing in server with fingerprint minutiae matching song, the song of feedback and fingerprint minutiae matching.
After the corresponding server of the first player receives the fingerprint characteristic of song, it will be deposited in fingerprint characteristic and server
The song of storage is matched, when the matching degree of a certain song song corresponding with fingerprint characteristic in library reaches predetermined
Matching degree, that is, can determine this two be same song.
Since the number of songs that server is stored is larger, song is matched one by one according to traditional search pattern,
It will increase many operands of server, can also consume more match time, therefore server can be using hash data structure come excellent
Change matching efficiency, hash data structure be an entire data block is handled to be divided into n sub-block, then to n sub-block into
Row parallel processing, to realize the processing to an entire data block.
For example, if predetermined matching degree is 80%, if the fingerprint characteristic of the first song is divided into 10 sons by server
Fingerprint characteristic, then when the first song has, at least eight sub fingerprint feature is identical as the fingerprint characteristic of B song in library, i.e., really
The sub fingerprint feature and B song fingerprints feature for determining A song reach predetermined matching degree, it is determined that B song and A song are same
Song, and by B song feed to terminal.
That is, the fingerprint characteristic of the first song is divided into n (n is greater than 0 natural number) a sub- fingerprint characteristic by server,
The fingerprint characteristic of the song stored in n sub- fingerprint characteristics and server is matched respectively, when the sub fingerprint of the first song
The fingerprint characteristic of the second song in feature and server reaches predetermined matching degree, it is determined that the first song is same with the second song
One song.
In step 202c, receive server feedback with fingerprint minutiae matching song.
In step 203, the song of downloading is stored into the second song files corresponding with the first player folder.
Song list after downloading is retained separately by the first player default in the form of file, i.e., each song single pair answers one
A file, all songs being stored in file on the corresponding song list of this document folder.
In step 204, according to the half-cooked song list at the first player of corresponding second song files of the first player.
For example, after the completion of the song downloading in the first song files folder of the terminal by the second player read,
According to the song in first the first song files of player downloads folder, so that the second song files folder generated, reads first and broadcasts
The second song files in device are put to press from both sides interior all songs and generate a Zhang Gedan.
Preferably, the first player of terminal utilizes the user account of login by the corresponding with the second song files folder of generation
Song be singly sent to server, bind server the song list with the user account, so that the user account is at other
When the first player in terminal is logged in, the song with user account binding can be still pulled by the first player
It is single, namely can singly be roamed into other terminals by server with the new song of user account binding.
In one possible implementation, step 204 further include: the name that the second song files press from both sides is referred to as first and is broadcast
The single root of the song of device is put, the name of song each in the second song files is referred to as the specific item in the song list of the first player
Record generates the song list of the first player.
Under normal conditions, the first player reads the corresponding song list generated after the second song files folder, the song list of the song list
Title is identical as the second song files folder title, and the song in the song list is the song stored in the second song files folder.
In a kind of possible situation, song single-character given name claims to automatically generate, can also be by user's self-setting and modification.Cause
This, after step 204, detailed process further include: the setting instruction that single root of singing in antiphonal style is configured is received, by the single root of song
The title of catalogue is set as the set title of setting instruction.
Optionally, it after the single root title of song generates or is arranged successfully, can also modify to root title,
Detailed process may include: to receive the modification instruction for single root of singing in antiphonal style;Name modifications by the single root of song are modification
The indicated title of instruction.
In conclusion the song list generation method provided in the embodiment of the present invention, by reading second using the first player
Player is stored in the first song files folder of terminal, and first song is downloaded in the corresponding download server of the first player
Song in bent file, and store into the corresponding second song files folder of the first player, further according to the second song files
The half-cooked song list at the first player;Since the first player can be pressed from both sides according to the song files of the second player, automatically generate
Song corresponding with song each in song files folder is single, therefore it is single to solve different player network songs of the existing technology
It can not transplant, lead to the problem that the step of singing single recovery is cumbersome;The song for having reached different players singly can be transplanted mutually, simplify
Sing the effect of single recovery operation.
In addition, song is converted into after PCM format to carry out Gauss noise reduction to song frequency spectrum again, song fingerprints will can be improved
The accuracy of characteristic matching.
In a kind of possible situation, when the corresponding server of the first player receives the fingerprint of the song of terminal transmission
After feature, when detecting the version that there is the quality for being higher than the song in server, user can be prompted to the quality of the music
Upgraded, at this point, terminal can choose whether to upgrade according to the upgrade notification of server prompts, can specifically include following four
A step:
Step 1 receives the upgrade notification that server corresponding with the first player is sent, and upgrade notification is that server exists
When determining the version for the quality that storage is higher than song in server according to the fingerprint characteristic of song, feedback is used to prompt user
The notice for selecting one of version to be upgraded.
The version of the song quality provided in player at present has standard, HQ (English: High Quality, Chinese: Gao Pin
Matter), SQ (English: Super Quality, Chinese: super quality), when server detects the fingerprint characteristic of the uploaded song of terminal
When corresponding song is stored with higher-quality version in the server, one is fed back to terminal and is used for upgrade notification, the liter
Grade notice requires extra high user's need to sound quality for prompting user that one of version is selected to upgrade, to meet
It asks.
Step 2 shows the upgrade notification.
Fig. 2 F is referred to, is that the terminal provided in one embodiment of the invention displays the prompt box and prompts the user whether to download
The schematic diagram of song more high tone quality version, as shown in Figure 2 F, after terminal 18 receives server feedback upgrade notification, in terminal 18
Display screen on display server feedback upgrade notification, which can be shown by way of upgrade notification frame 19
Show, to prompt the sound quality of customer upgrade song.
Step 3 receives the selection instruction selected according to upgrade notification, the version mark of user's selection is carried in selection instruction
Know.
The version identifier of song is used to identify the version of song quality, refers to Fig. 2 G, is one embodiment of the invention
The terminal of middle offer shows that upgrade notification works as user as shown in Figure 2 G come the schematic diagram for notifying user to select song quality version
When the version of upgrading song quality is wanted in selection, terminal 18 can show display upgrade notification 20 in display screen to notify user to institute
The music version to be downloaded is selected, and the version identifier of user's selection is carried in selection instruction.
Step 4, to server send selection instruction, selection instruction for trigger the server feedback search to song in
Song with the version identifier carried in selection instruction.
Referring also to Fig. 2 G, when user selects " the super quality of SQ " 21 in the upgrade notification 20 displayed in the screen of terminal 18
Afterwards, terminal can send the choosing for carrying " the super quality of SQ " version identifier that user selects to server corresponding to the first player
Instruction is selected, after which receives the selection instruction, fingerprint characteristic phase can be sent with terminal to server to terminal feedback
The song matched, the song quality version are the song quality version being easily selected by a user.
Preferably, in order to the service to sound quality demanding user offer high tone quality, the offer of the first player
The chamber of commerce is user's divided rank, for example, server corresponding to the first player provides the song of standard quality for ordinary user
Version, and higher-quality song version is provided for high ranked user.
Fig. 2 H is referred to, is that the terminal provided in one embodiment of the invention shows the prompt of user gradation upgrade tip frame
Whether user promotes the schematic diagram of user gradation, as illustrated in figure 2h, when ordinary user wants the song of downloading quality version,
Terminal 18 can show that user gradation upgrade tip frame 22 prompts user to carry out grade promotion in display screen.
It should be noted that terminal shown in Fig. 2 F, 2G, 2H can be mobile phone, computer can also be, plate, number is extensively
Broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
It is following that the details of description not detailed in Installation practice can be referred to above-mentioned for apparatus of the present invention embodiment
One-to-one embodiment of the method.
Fig. 3 is the structural block diagram of the song single generating device provided in one embodiment of the invention, the song single generating device
Applied to being equipped in the terminal of the first player and the second player, terminal can be smart phone, multimedia player, put down
Plate computer etc..As shown in figure 3, the song single generating device includes: read module 301, download module 302, memory module 303, life
At module 304.
Read module 301 is pressed from both sides for reading the first song files corresponding with the second player using the first player, the
One song files folder is for storing the song in the second player song list;
Download module 302, read 301 for from server corresponding with the first player, downloading the module first
Song in song files folder;
Memory module 303, the song for downloading the download module 302 are stored to corresponding with the first player second
In song files folder;
Generation module 304, the corresponding second song files folder of the first player for being stored according to the memory module 303
Generate the song list of the first player.
In one possible implementation, shown in Figure 4, it is the song provided in another embodiment of the present invention
The structural block diagram of single generating device, the download module 302, comprising: acquiring unit 302a, transmission unit 302b and receiving unit
302c。
Acquiring unit 302a, each song for pressing from both sides for the first song files, obtains the fingerprint characteristic of song;
Transmission unit 302b, the fingerprint characteristic of the song for obtaining acquiring unit 302a is sent to be played with first
In the corresponding server of device, storing in server with fingerprint minutiae matching song, feedback and fingerprint are found out by server
The song of characteristic matching;
Receiving unit 302c, the song with fingerprint minutiae matching for receiving server feedback.
In one possible implementation, referring also to shown in Fig. 4, acquiring unit 302a, comprising: conversion subunit
302a1, filtering subelement 302a2, interception subelement 302a3, combination subelement 302a4.
Conversion subunit 302a1, for the format of song to be converted into pulse code modulation PCM format;
Subelement 302a2 is filtered, for extracting the song with the conversion subunit 302a1 PCM format being converted into
Frequency spectrum utilizes the peak point for being less than preset frequency between peak point in Fourier transformation filtered spectrum;
Subelement 302a3 is intercepted, for from the filtered frequency spectrum of filtering subelement 302a2, at least two sections of interception to be not
The continuous frequency spectrum with scheduled duration;
Subelement 302a4 is combined, each section of spectral combination for intercepting the interception subelement 302a3 is the fingerprint of song
Feature.
In one possible implementation, referring also to shown in Fig. 4, which is also used to: by the second song text
The name of part folder is referred to as the root of the song list of the first player, and the name of song each in the second song files is referred to as first
Subdirectory in the song list of player, generates the song list of the first player.
In one possible implementation, referring also to shown in Fig. 4, which includes: the first receiving module
305, display module 306, the second receiving module 307, sending module 308.
First receiving module 305, the upgrade notification sent for receiving server corresponding with the first player, upgrading are logical
Know server when the fingerprint characteristic according to song determines in server that storage is higher than the version of the quality of song, feedback
Notice for prompting user that one of version is selected to be upgraded;
Display module 306, the upgrade notification received for showing first receiving module 305;
Second receiving module 307 refers to for receiving according to the selection of the upgrade notification selection of the display module 306 display
It enables, the version identifier of user's selection is carried in selection instruction;
Sending module 308, for sending the selection instruction that second receiving module 307 receives to server, selection refers to
Enable for trigger the server feedback search to song in the song with the version identifier carried in selection instruction.
In conclusion the song single generating device provided in the embodiment of the present invention, by reading second using the first player
Player is stored in the first song files folder of terminal, and first song is downloaded in the corresponding download server of the first player
Song in bent file, and store into the corresponding second song files folder of the first player, further according to the second song files
The half-cooked song list at the first player;Since the first player can be pressed from both sides according to the song files of the second player, automatically generate
Song corresponding with song each in song files folder is single, therefore it is single to solve different player network songs of the existing technology
It can not transplant, lead to the problem that the step of singing single recovery is cumbersome;The song for having reached different players singly can be transplanted mutually, simplify
Sing the effect of single recovery operation.
In addition, song is converted into after PCM format to carry out Gauss noise reduction to song frequency spectrum again, song fingerprints will can be improved
The accuracy of characteristic matching.
It should be understood that the song single generating device provided in above-described embodiment generate song it is single when, only with above-mentioned each function
Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions
Module is completed, i.e., the internal structure of terminal is divided into different functional modules, described above all or part of to complete
Function.In addition, song single generating device provided by the above embodiment and the single generation method embodiment of song belong to same design, it is specific
Realization process is detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
It stores in equipment, storage equipment mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (6)
1. a kind of single generation method of song, which is characterized in that the described method includes:
It reads the first song files corresponding with the second player using the first player to press from both sides, the first song files folder is used for
Store the song in the second player song list;
For each song of first song files folder, the format of the song is converted into pulse code modulation PCM
Format;
Extract the frequency spectrum with the song of the PCM format, using Fourier transformation filter in the frequency spectrum peak point it
Between be less than preset frequency peak point;
From the filtered frequency spectrum, at least two sections of discontinuous frequency spectrums with scheduled duration are intercepted;
It is the fingerprint characteristic of the song by each section of spectral combination of interception;
The fingerprint characteristic of the song is sent in server corresponding with first player, is searched by the server
Song stored in the server with the fingerprint minutiae matching out, the song of feedback and the fingerprint minutiae matching
It is bent;
It receives the server feedback with the fingerprint minutiae matching song;
The song of the server feedback is stored into the second song files corresponding with first player folder;
According to the half-cooked song list at first player of corresponding second song files of first player.
2. the method according to claim 1, wherein described according to corresponding second song of first player
File generates the song list of first player, comprising:
The single root of the song that the name that second song files press from both sides is referred to as first player, by second song
The name of each song is referred to as the subdirectory in the song list of first player in file, generates the song of first player
It is single.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
The upgrade notification that server corresponding with first player is sent is received, the upgrade notification is that the server exists
When determining the version for the quality that storage is higher than the song in the server according to the fingerprint characteristic of song, feedback is used for
The notice that prompt user selects one of version to be upgraded;
Show the upgrade notification;
The selection instruction selected according to the upgrade notification is received, the version identifier of user's selection is carried in the selection instruction;
The selection instruction is sent to the server, the selection instruction is for triggering the song that the server feedback is found
Song with the version identifier carried in the selection instruction in song.
4. a kind of song single generating device, which is characterized in that described device includes:
Read module presss from both sides, described first for reading the first song files corresponding with the second player using the first player
Song files folder is for storing the song in the second player song list;
Download module, for from server corresponding with first player, downloading the described of the read module reading
Song in first song files folder;
Memory module, the song for downloading the download module are stored to the second song corresponding with first player
In file;
Generation module, corresponding second song files of first player for being stored according to the memory module it is half-cooked at
The song list of first player;
Wherein, the download module, comprising:
Acquiring unit, each song for pressing from both sides for first song files, obtains the fingerprint characteristic of the song;
Transmission unit, the fingerprint characteristic of the song for obtaining the acquiring unit are sent to and first player
In corresponding server, stored in the server and fingerprint minutiae matching song is found out by the server,
The song of feedback and the fingerprint minutiae matching;
Receiving unit, the song with the fingerprint minutiae matching for receiving the server feedback;
Wherein, the acquiring unit, comprising:
Conversion subunit, for the format of the song to be converted into pulse code modulation PCM format;
Subelement is filtered, the frequency spectrum of the song for extracting the PCM format being converted into the conversion subunit,
The peak point for being less than preset frequency in the frequency spectrum between peak point is filtered using Fourier transformation;
Subelement is intercepted, for intercepting at least two sections of discontinuous tools from the filtered frequency spectrum of filtering subelement
There is the frequency spectrum of scheduled duration;
Subelement is combined, for being the fingerprint characteristic of the song by each section of spectral combination of the interception subelement interception.
5. device according to claim 4, which is characterized in that the generation module is also used to:
The single root of the song that the name that second song files press from both sides is referred to as first player, by second song
The name of each song is referred to as the subdirectory in the song list of first player in file, generates the song of first player
It is single.
6. device according to claim 4 or 5, which is characterized in that described device further include:
First receiving module, the upgrade notification sent for receiving server corresponding with first player, the upgrading
Notice is that the server is determined to store the quality for being higher than the song in the server in the fingerprint characteristic according to song
Version when, the notice for prompting user that one of version is selected to be upgraded of feedback;
Display module, the upgrade notification received for showing first receiving module;
Second receiving module, for receiving the selection instruction of the upgrade notification selection shown according to the display module, institute
State the version identifier that user's selection is carried in selection instruction;
Sending module, for sending the selection instruction that second receiving module receives, the choosing to the server
Instruction is selected for triggering in the song that the server feedback is found with the version identifier carried in the selection instruction
Song.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451330.7A CN106411969B (en) | 2015-07-28 | 2015-07-28 | Sing single generation method and device |
PCT/CN2016/089428 WO2017016382A1 (en) | 2015-07-28 | 2016-07-08 | Method and apparatus for generating song menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510451330.7A CN106411969B (en) | 2015-07-28 | 2015-07-28 | Sing single generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106411969A CN106411969A (en) | 2017-02-15 |
CN106411969B true CN106411969B (en) | 2019-10-08 |
Family
ID=57884086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510451330.7A Active CN106411969B (en) | 2015-07-28 | 2015-07-28 | Sing single generation method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106411969B (en) |
WO (1) | WO2017016382A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203624A (en) * | 2017-05-26 | 2017-09-26 | 维沃移动通信有限公司 | The single generation method of one kind song and mobile terminal |
CN107978323B (en) * | 2017-12-01 | 2022-09-27 | 腾讯科技(深圳)有限公司 | Audio recognition method, device and storage medium |
CN109101158A (en) * | 2018-08-30 | 2018-12-28 | 广州酷狗计算机科技有限公司 | Import the method, apparatus and storage medium of list of songs |
CN109325143B (en) * | 2018-10-10 | 2021-09-14 | 杭州网易云音乐科技有限公司 | Method and device for making song list, storage medium and processor |
CN110012344A (en) * | 2019-02-25 | 2019-07-12 | 努比亚技术有限公司 | A kind of method for downloading video, terminal and computer readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7043479B2 (en) * | 2001-11-16 | 2006-05-09 | Sigmatel, Inc. | Remote-directed management of media content |
CN101448009B (en) * | 2007-11-27 | 2013-02-20 | 鸿富锦精密工业(深圳)有限公司 | Music synchronous playing system and method therefor and music player |
KR20100121574A (en) * | 2008-02-15 | 2010-11-18 | 파나소닉 주식회사 | Playback device, recording device, playback method, and recording method |
US20120284802A1 (en) * | 2011-05-02 | 2012-11-08 | Authentec, Inc. | Method for playing digital contents protected with a drm (digital right management) scheme and corresponding system |
CN103188321A (en) * | 2011-12-30 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Information synchronizing method and system based on cloud server |
US8813246B2 (en) * | 2012-04-23 | 2014-08-19 | Inside Secure | Method for playing digital contents protected with a DRM (digital right management) scheme and corresponding system |
US20150063761A1 (en) * | 2013-08-29 | 2015-03-05 | Corning Cable Systems Llc | Test system for checking a splice connection between a fiber optic connector and one or more optical fibers |
CN103475731A (en) * | 2013-09-23 | 2013-12-25 | 网易(杭州)网络有限公司 | Media information matching and processing method and device |
WO2015061222A1 (en) * | 2013-10-21 | 2015-04-30 | Amazon Technologies, Inc. | Managing media content |
CN104486671B (en) * | 2014-12-11 | 2019-02-15 | 北京国承万通信息科技有限公司 | Data processing method, equipment and system and audio sampling device |
-
2015
- 2015-07-28 CN CN201510451330.7A patent/CN106411969B/en active Active
-
2016
- 2016-07-08 WO PCT/CN2016/089428 patent/WO2017016382A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017016382A1 (en) | 2017-02-02 |
CN106411969A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106411969B (en) | Sing single generation method and device | |
JP6576557B2 (en) | Song determination method and apparatus, and storage medium | |
CN107393569B (en) | Audio-video clipping method and device | |
CN105006234B (en) | A kind of K sings processing method and processing device | |
Schindler et al. | Facilitating Comprehensive Benchmarking Experiments on the Million Song Dataset. | |
CN110047515B (en) | Audio identification method, device, equipment and storage medium | |
US8892565B2 (en) | Method and apparatus for accessing an audio file from a collection of audio files using tonal matching | |
EP1855216A2 (en) | System, device, method, and program for segmenting radio broadcast audio data | |
CN103475731A (en) | Media information matching and processing method and device | |
CN103970779B (en) | Method, device and equipment for classifying documents | |
CN100380367C (en) | Electronic appliance having music database and method of forming such music database | |
KR20050088132A (en) | Ordering audio signals | |
CN1729507A (en) | Ordering audio signals | |
CN108174133A (en) | A kind of trial video methods of exhibiting, device, electronic equipment and storage medium | |
CN104750839A (en) | Data recommendation method, terminal and server | |
CN108764114A (en) | A kind of signal recognition method and its equipment, storage medium, terminal | |
US9324377B2 (en) | Systems and methods for facilitating rendering visualizations related to audio data | |
CN106775567B (en) | Sound effect matching method and system | |
CN104978974B (en) | A kind of audio-frequency processing method and device | |
CN110427344A (en) | A kind of media file quality upgrade method and equipment | |
EP3644306B1 (en) | Methods for analyzing musical compositions, computer-based system and machine readable storage medium | |
CN106294547A (en) | A kind of method and system intercepting audio file | |
CN103383854A (en) | Vehicle-mounted end | |
CN110096612A (en) | The acquisition methods and system of the online audio analysis data of voice log | |
US11308199B2 (en) | User authentication method using ultrasonic waves |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |