WO2017016382A1 - Method and apparatus for generating song menu - Google Patents

Method and apparatus for generating song menu Download PDF

Info

Publication number
WO2017016382A1
WO2017016382A1 PCT/CN2016/089428 CN2016089428W WO2017016382A1 WO 2017016382 A1 WO2017016382 A1 WO 2017016382A1 CN 2016089428 W CN2016089428 W CN 2016089428W WO 2017016382 A1 WO2017016382 A1 WO 2017016382A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio file
player
audio
server
fingerprint feature
Prior art date
Application number
PCT/CN2016/089428
Other languages
French (fr)
Chinese (zh)
Inventor
傅鸿城
Original Assignee
广州酷狗计算机科技有限公司
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 广州酷狗计算机科技有限公司 filed Critical 广州酷狗计算机科技有限公司
Publication of WO2017016382A1 publication Critical patent/WO2017016382A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • the embodiments of the present invention relate to the field of computer technologies, and in particular, to a method and an apparatus for generating a song list.
  • the usual practice is: the user according to the song of the second player Single, sequentially searching in the search box in the first player to download the corresponding audio file (also called song) from the server corresponding to the first player, and forming the first player according to the downloaded audio file. song list.
  • the embodiment of the invention provides a method and a device for generating a song list.
  • the technical solution is as follows:
  • a method for generating a song list comprising: reading, by a first player, a first audio folder corresponding to a second player, the first audio folder for storing the An audio file in the second player song list; acquiring fingerprint features of each audio file in the first audio folder, the fingerprint feature is used to uniquely identify the audio file; and the fingerprint feature of each obtained audio file is obtained from The server corresponding to the first player acquires audio file information of the audio file having the fingerprint feature; and generates a song list of the first player by using the obtained audio file information.
  • a song list generating apparatus comprising: a reading module for Reading, by the first player, a first audio folder corresponding to the second player, the first audio folder is configured to store an audio file in the second player song list; and the first acquiring module is configured to: Acquiring a fingerprint feature of each audio file in the first audio folder read by the reading module, the fingerprint feature is used to uniquely identify the audio file, and the second obtaining module is configured to acquire the first acquiring module Obtaining, by the server corresponding to the first player, audio file information of an audio file having the fingerprint feature, and a generating module, configured by using the second acquiring module, Each audio file information generates a song list of the first player.
  • a song list generating apparatus comprising: one or more processors; and a memory; the memory storing one or more programs, the one or more programs being Configuring to be executed by the one or more processors, the one or more programs comprising instructions for: reading, by the first player, a first audio folder corresponding to the second player, The first audio folder is configured to store the audio file in the second player song list; the fingerprint feature of each audio file in the first audio folder is acquired, and the fingerprint feature is used to uniquely identify the audio file; Acquiring the audio file information of the audio file having the fingerprint feature from the server corresponding to the first player; generating the first player by using the acquired audio file information Song list.
  • the audio file information of the audio file of the fingerprint feature is generated by using the audio file information to generate a song list of the first player; since the first player can automatically generate and match each of the audio folders according to the audio folder of the second player.
  • the song list corresponding to the audio file no longer requires the user to manually search for the audio file located in the first audio folder in the search box of the first player, thereby solving the problem of the song copying between different players in the related art.
  • the cumbersome steps are achieved; the steps of simplifying the transplantation of songs between different players are achieved to a large extent, and the effect of transplanting songs between different players is improved.
  • FIG. 1 is a flowchart of a method for generating a song list according to an embodiment of the present invention
  • 2A is a flowchart of a method for generating a song list according to another embodiment of the present invention.
  • FIG. 2B is a schematic diagram of a first player interface provided in an embodiment of the present invention.
  • 2C is a schematic diagram of an interface for importing a local song list by a first player provided in an embodiment of the present invention
  • 2D is a flow chart showing the acquisition of fingerprint features of an audio file, according to one embodiment
  • 2E is a schematic diagram of a frequency peak of a filtered audio file provided in an embodiment of the present invention.
  • 2F is a schematic diagram of a terminal display prompt box provided in an embodiment of the present invention to prompt a user to download a higher sound quality version of an audio file;
  • 2G is a schematic diagram of a terminal displaying an upgrade notification to notify a user to select an audio file quality version according to an embodiment of the present invention
  • 2H is a schematic diagram of a terminal display user level upgrade prompt box provided by a terminal according to an embodiment of the present invention to prompt a user to upgrade a user level;
  • FIG. 3 is a block diagram showing the structure of a song list generating apparatus provided in an embodiment of the present invention.
  • FIG. 4 is a block diagram showing the structure of a song list generating apparatus provided in another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • first and second as used herein are limited to distinguishing between different objects and are not intended to limit the order of the two objects.
  • the objects referred to herein are the players, servers, audio folders, and the like mentioned in the various embodiments described below.
  • the method for generating a song list is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart phone or a multimedia player. Tablets, etc.
  • the song list generation method includes the following steps.
  • step 101 the first audio folder corresponding to the second player is read by the first player, and the first audio folder is used to store the audio file in the second player song list.
  • the first player is an application installed in the terminal for playing an audio file
  • the second player Another application installed for the terminal to play audio files.
  • the first player and the second player correspond to different servers, the first player corresponds to one server, and the second player corresponds to another server.
  • the first player corresponds to the first server
  • the second player corresponds to the second server.
  • the database of audio files provided by the first server and the database of audio files provided by the second server may be the same or different.
  • the first player downloads an audio file from the first server
  • the second player downloads the audio file from the second server.
  • the player After the terminal installs the player, if the player downloads the audio file from the corresponding server, the player generates an audio folder for storing the audio file downloaded by the player at the terminal.
  • the audio folder When the audio folder is generated, it may be a folder created by the player by default in the player installation directory, or the user may specify the storage location of the folder.
  • a folder for storing an audio file downloaded by the first player is recorded as a second audio folder, and a second player is used for storing an audio file downloaded by the second player.
  • the folder is recorded as the first audio folder.
  • step 102 fingerprint features of respective audio files in the first audio folder are obtained, and the fingerprint features are used to uniquely identify the audio file.
  • step 103 for the fingerprint feature of each of the acquired audio files, the audio file information of the audio file having the fingerprint feature is acquired from the server corresponding to the first player.
  • step 104 a song list of the first player is generated using the acquired individual audio file information.
  • the method for generating a song list reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder. a fingerprint feature, so as to obtain audio file information of the audio file having the fingerprint feature from the download server corresponding to the first player, and use the audio file information to generate a song list of the first player; since the first player can be according to the second
  • the audio folder of the player automatically generates a song list corresponding to each audio file in the audio folder, and the user no longer needs to manually search for the audio file located in the first audio folder in the search box of the first player. Therefore, the problem of cumbersome steps in the process of transplanting songs between different players in the related art is solved; the steps of simplifying the transplantation of songs between different players are achieved, and the transplantation of songs between different players is improved. The effect of efficiency.
  • FIG. 2A is a flowchart of a method for generating a song list according to another embodiment of the present invention.
  • the method for generating a song list is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart hand.
  • the terminal may be a smart hand.
  • the song list generation method includes the following steps.
  • step 201 the first audio folder corresponding to the second player is read by the first player, and the first audio folder is used to store the audio file in the second player song list.
  • the second player After the second player downloads the audio file in the second player song list to the terminal, the second player saves the downloaded audio file in the audio folder corresponding to the second player by default.
  • the player can have multiple song lists, one song list generally corresponds to one audio folder, and the audio folder stores all the audio files on the song list corresponding to the audio folder.
  • the user can create a song in the first player.
  • the user can create a song in the first player.
  • FIG. 2B is a schematic diagram of a first player interface provided in an embodiment of the present invention.
  • the user clicks the add song list function 11 in the first player interface 10, and selects “Import Local Songs”.
  • the option of 12, triggering the import interface please refer to FIG. 2C, which is a schematic diagram of an interface for importing a local song list by the first player provided in an embodiment of the present invention.
  • the user is in the import interface 13. Selecting the subdirectory "first audio folder" 14 in the second player folder, the first player can acquire all the audio file information in the first audio folder in the second player.
  • the audio file information of the audio file in the first audio folder is obtained from the server corresponding to the first player, so as to utilize the audio file.
  • the information generates a song list of the first player. For details, refer to the implementation in steps 202 to 204.
  • step 202 fingerprint features of respective audio files in the first audio folder are obtained, and the fingerprint features are used to uniquely identify the audio file.
  • the fingerprint feature mentioned here is used to uniquely identify the audio file, that is, the fingerprint feature is used to uniquely identify the tune, singer, lyrics, voiceprint and other information of the audio file, when the two songs are tune, singer, lyrics, and sound.
  • the corresponding fingerprint features are also different, so obtaining the fingerprint feature of the audio file can obtain valid information identifying the audio file.
  • FIG. 2D is shown according to an embodiment.
  • a flowchart for taking a fingerprint feature of an audio file as shown in FIG. 2D, the method for obtaining a fingerprint feature of an audio file includes the following steps:
  • step 202a the format of the audio file is converted to a pulse code modulated PCM format for each audio file in the first audio folder.
  • the process of converting the original format of an audio file into a pulse code modulation (PCM) format is: sampling an analog signal such as a voice or an image every predetermined time period to discretize it, and obtaining the sampled sample.
  • the sampled values are rounded up by the rounding unit, and the sampled values are represented by a set of binary codes to represent the amplitude of the sampled pulses.
  • the audio files downloaded by the player are mostly compressed picture experts group audio layer 3 (MP3) format.
  • MP3 format is usually converted into the PCM format.
  • step 202b the spectrum of the audio file having the PCM format is extracted, and the peak point between the peak points in the spectrum smaller than the predetermined frequency is filtered by the Fourier transform.
  • the spectrum of the audio file is generated.
  • some audio files in the player's audio file library are processed by post-human bass enhancement or treble modification, and the spectrum generated by the audio file will change, that is, the peak points of the audio file spectrum will overlap and closely overlap.
  • the phenomenon In order to make the distribution of the selected peak points along the time and frequency axis relatively uniform, to ensure the accuracy of the fingerprint matching of the audio file in the subsequent steps, the audio file audio can be filtered by using Gaussian filtering to effectively eliminate the audio in the audio. noise.
  • FIG. 2E is a schematic diagram of the peak frequency of the filtered audio file provided in an embodiment of the present invention. As shown in FIG. 2E, the distribution of the frequency peak points of the audio file segment before filtering is overlapped and closely attached.
  • the Fourier transform filters the audio file segment, and after filtering out the peak point less than the predetermined frequency between the peak points, the distribution of the peak point along the time and frequency axis is relatively uniform, wherein the predetermined frequency may be 10 kHz, 20 kHz. Etc., the size of the predetermined frequency is not limited here.
  • step 202c at least two segments of discontinuous spectrum having a predetermined duration are intercepted from the filtered spectrum.
  • step 202d the intercepted segments of the spectrum are combined into a fingerprint feature of the audio file.
  • the PCM audio format of the audio file occupies a large storage space relative to an audio format such as an MP3 audio file, and if the terminal has the PCM format of the audio file.
  • the time required for the spectrum to be sent to the server is long; if the terminal is in the data networking state, the sending process may fail due to the instability of the network data. Therefore, the terminal can intercept the filtered spectrum into a spectrum having a predetermined duration, and use the intercepted spectrum as a fingerprint feature of the audio file.
  • the matching result of matching using only one piece of the spectrum segment is inaccurate.
  • it can be from the filtered spectrum. And intercepting at least two segments of the discontinuous spectrum having a predetermined duration, and combining the intercepted segments into a fingerprint feature of the audio file.
  • the predetermined duration can be set according to the actual situation or experimental analysis. After a large number of experimental analysis, when the predetermined duration is 10 seconds, the required storage space of the PCM format spectrum is suitable, and the server matches according to the 10 second spectrum in the subsequent steps. The matching result is more accurate.
  • the specific numerical value of the predetermined duration is not limited.
  • step 203 for the fingerprint feature of each of the acquired audio files, the audio file information of the audio file having the fingerprint feature is acquired from the server corresponding to the first player.
  • the terminal For obtaining the fingerprint feature of each audio file, the terminal sends the fingerprint feature of the audio file to the server corresponding to the first player, and the server searches for the audio file matched by the fingerprint feature stored in the server, and the feedback and fingerprint feature The matched audio file; correspondingly, the terminal receives the audio file matched by the server and matched with the fingerprint feature.
  • the server corresponding to the first player After receiving the fingerprint feature of the audio file, the server corresponding to the first player matches the fingerprint feature with the audio file stored in the server, and matches the audio file corresponding to the fingerprint feature in the audio file library. When the degree reaches the predetermined matching degree, it can be determined that the two titles are the same audio file.
  • the server Because the number of audio files stored by the server is large, if the traditional search mode is used to match the audio files one by one, the server will increase the amount of computation and consume more matching time, so the server can use the hash structure to optimize. Matching efficiency, the hash structure is to divide an entire data block into n sub-blocks, and then perform parallel processing on n sub-blocks to realize processing of an entire block.
  • the server divides the fingerprint feature of the first audio file into 10 sub-fingerprint features, when the first audio file has at least 8 sub-fingerprint features and B audio files in the audio file library.
  • the fingerprint features are the same, that is, it is determined that the sub-fingerprint feature of the A audio file and the B audio file fingerprint feature reach a predetermined matching degree, then it is determined that the B audio file and the A audio file are the same song, and the B audio file is fed back to the terminal.
  • the server divides the fingerprint feature of the first audio file into n (n is a natural number greater than 0) sub-fingerprint features, and respectively matches the n sub-fingerprint features with the fingerprint features of the audio file stored in the server, when the first audio
  • the sub-fingerprint feature of the file and the fingerprint feature of the second audio file in the server reach a predetermined matching degree, and then the first audio file and the second audio file are determined to be the same first audio file.
  • step 204 a song list of the first player is generated using the acquired individual audio file information.
  • the terminal can generate a song list for the first player according to each audio file information. For example, the terminal generates a root directory for the song list of the first player, and uses the name of the audio file in each obtained audio file information as A subdirectory of the root directory that generates a song list for the first player.
  • the first player of the terminal sends the generated song list to the server by using the logged-in user account, so that the server binds the song list with the user account, so that the user account is the first player on the other terminal.
  • the song list bound to the user account can still be pulled through the first player, that is, the new song list bound with the user account can be roamed to other terminals through the server.
  • the song list name can be generated automatically or set and modified by the user. Therefore, after step 204, the method may further include: receiving a setting instruction for setting a root directory of the song list, and setting a name of a root directory of the song list to a name set by the setting instruction.
  • the root directory name may also be modified.
  • the specific process may include: receiving a modification instruction for the root directory of the song list; and the name of the root directory of the song list Modified to modify the name indicated by the instruction.
  • the terminal may also use the audio file information to download the corresponding audio file from the server in advance.
  • the terminal may also use the audio file information to download the corresponding audio file from the server in advance. For details, refer to the following steps 205 and 206.
  • step 205 the audio file having the audio file information is downloaded from the server corresponding to the first player using the audio file information.
  • step 206 the downloaded search audio file is stored in a second audio folder corresponding to the first player, and the name of the second audio folder is named as a name corresponding to the root directory.
  • the audio file may be uniformly stored in the second audio folder corresponding to the first player, in order to play the second audio folder with the first audio folder.
  • the song list of the device corresponds, and the name of the second audio folder can be named as the name corresponding to the root directory of the song list of the first player.
  • the method for generating a song list reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder.
  • Fingerprint feature to facilitate obtaining fingerprint features from a download server corresponding to the first player Audio file information of the audio file, using the audio file information to generate a song list of the first player; since the first player can automatically generate an audio file corresponding to each audio file in the audio folder according to the audio folder of the second player
  • the song list no longer requires the user to manually search for the audio file located in the first audio folder in the search box of the first player, thereby solving the cumbersome steps in the related art in the process of transplanting the songs between different players.
  • the problem is that the steps of transplanting songs between different players can be simplified to a large extent, and the effect of transplanting songs between different players is improved.
  • the accuracy of the fingerprint matching of the audio file can be improved.
  • the server corresponding to the first player receives the fingerprint feature of the audio file sent by the terminal, and detects that there is a version higher than the quality of the audio file in the server, in order to be able to provide the required user.
  • a high-quality audio file is provided, and the user can be prompted to upgrade the quality of the audio file.
  • the terminal can select whether to upgrade according to the upgrade notification prompted by the server, which may include the following four steps:
  • Step 1 Receive an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is used by the server to prompt the user to select when the server stores a version higher than the quality of the audio file according to the fingerprint feature of the audio file.
  • the upgrade notification is used by the server to prompt the user to select when the server stores a version higher than the quality of the audio file according to the fingerprint feature of the audio file.
  • One of the versions is notified of the upgrade.
  • the audio file quality version provided in the player has standard, high quality (English: high quality, HQ), super quality (English: super quality, SQ), etc., when the server detects the fingerprint feature of the audio file uploaded by the terminal.
  • the server may feed back an upgrade notification to the terminal, and the upgrade notification is used to prompt the user to select one of the versions to be upgraded to meet the user with higher music quality requirements. Demand.
  • Step two the upgrade notification is displayed.
  • FIG. 2F it is a schematic diagram of the terminal display prompt box provided by the terminal in the embodiment of the present invention to prompt the user whether to download a higher sound quality version of the audio file.
  • the terminal 18 is at the terminal.
  • the upgrade notification of the server feedback is displayed on the display of 18, and the upgrade notification can be displayed in the form of the upgrade notification box 19 to prompt the user to upgrade the sound quality of the audio file.
  • Step 3 Receive a selection instruction selected according to the upgrade notification, and the selection instruction carries the version identifier selected by the user.
  • the version identifier of the audio file is used to identify the version of the audio file quality, see Figure 2G, which is A terminal provided by an embodiment of the present invention displays an upgrade notification to notify a user of a quality version of an audio file. As shown in FIG. 2G, when the user selects a version of the audio file quality to be upgraded, the terminal 18 displays on the display screen. The upgrade notification 20 notifies the user to select the version of the music to be downloaded, and the selection instruction carries the version identifier selected by the user.
  • Step 4 Send a selection instruction to the server, and the selection instruction is used to trigger the server to feed back the audio file in the found audio file with the version identifier carried in the selection instruction.
  • the terminal when the user selects “SQ Super Quality” 21 in the upgrade notification 20 displayed by the terminal 18 on the screen, the terminal sends the “SQ Super Quality” carrying the user selection to the server corresponding to the first player.
  • the selection instruction of the version identifier after receiving the selection instruction, the server feeds back to the terminal an audio file that matches the fingerprint feature sent by the terminal to the server, and the audio file quality version is the audio file quality version selected by the user.
  • the provider of the first player may divide the user into different levels and provide audio file versions of different sound quality levels for different levels of users.
  • the server corresponding to the first player divides the user into ordinary users and high-level users, and provides a standard quality audio file version for ordinary users and a higher quality audio file version for high-level users.
  • FIG. 2H is a schematic diagram of a terminal display user level upgrade prompt box provided by the terminal in the embodiment of the present invention to prompt the user to upgrade the user level, as shown in FIG. 2H, when an ordinary user wants to download a high-quality version of the audio file.
  • the terminal 18 displays a user level upgrade prompt box 22 on the display screen to prompt the user to perform the level promotion.
  • the terminal is not limited to the terminal shown in FIG. 2F, FIG. 2G, and FIG. 2H, and may also be a mobile phone, a computer, a tablet, a digital broadcast terminal, a messaging device, a game console, and a tablet.
  • the song list generating apparatus is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart phone or a multimedia player. , tablet, etc.
  • the song list generating device includes a reading module 301, a first obtaining module 302, a second acquiring module 303, and a generating module 304.
  • the reading module 301 is configured to read, by using the first player, the first audio text corresponding to the second player a folder, the first audio folder is used to store an audio file in the second player song list;
  • the first obtaining module 302 is configured to acquire a fingerprint feature of each audio file in the first audio folder read by the reading module 301, where the fingerprint feature is used to uniquely identify the audio file;
  • the second obtaining module 303 is configured to obtain, from the server corresponding to the first player, the audio file information of the audio file having the fingerprint feature, for the fingerprint feature of each audio file acquired by the first acquiring module 302;
  • the generating module 304 is configured to generate a song list of the first player by using the respective audio file information acquired by the second obtaining module 303.
  • FIG. 4 is a structural block diagram of a song list generating apparatus according to another embodiment of the present invention.
  • the second acquiring module 303 includes: a sending unit 303a and a receiving unit. 303b.
  • the sending unit 303a is configured to send the fingerprint feature of the audio file acquired by the first acquiring module 302 to a server corresponding to the first player, and the server searches for an audio file that is stored in the server and matches the fingerprint feature, and the feedback is An audio file whose fingerprint feature matches;
  • the receiving unit 303b is configured to receive an audio file that is fed back by the server and matched with the fingerprint feature.
  • the first obtaining module 302 includes: a converting unit 302a, a filtering unit 302b, an intercepting unit 302c, and a combining unit 302d.
  • the converting unit 302a is configured to convert the format of the audio file into a PCM format for each audio file in the first audio folder;
  • a filtering unit 302b configured to extract a spectrum of an audio file having a PCM format converted by the converting unit 302a, and use a Fourier transform to filter a peak point between peak points in the spectrum that is less than a predetermined frequency;
  • the intercepting unit 302c is configured to intercept, from the filtered spectrum of the filtering unit 302b, at least two pieces of discontinuous frequency spectrum having a predetermined duration;
  • the combining unit 302d is configured to combine the segments of the spectrum intercepted by the intercepting unit 302c into fingerprint features of the audio file.
  • the generating module 304 is further configured to: generate a root directory for the song list of the first player, and obtain the name of the audio file in each audio file information that is obtained. As a subdirectory of the root directory, a song list of the first player is generated.
  • the song list generating apparatus includes: a downloading module 305, a storage module 306, and a naming module 307.
  • the downloading module 305 is configured to use the audio file information acquired by the second obtaining module 303 to Downloading, by the server corresponding to the first player, an audio file having the audio file information;
  • the storage module 306 is configured to store the search audio file downloaded by the download module 305 into a second audio folder corresponding to the first player;
  • the naming module 307 is configured to name the name of the second audio folder as a name corresponding to the root directory.
  • the song list generating apparatus includes: a first receiving module 308, a display module 309, a second receiving module 310, and a sending module 311.
  • the first receiving module 308 is configured to receive an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is feedback when the server determines, according to the fingerprint feature of the audio file, that the server stores a version higher than the quality of the audio file. Notification to prompt the user to select one of the versions to upgrade:
  • a display module 309 configured to display an upgrade notification received by the first receiving module 308;
  • the second receiving module 310 is configured to receive a selection instruction selected according to the upgrade notification displayed by the display module 309, where the selection instruction carries a version identifier selected by the user;
  • the sending module 311 is configured to send, to the server, a selection instruction received by the second receiving module 310, where the selection instruction is used to trigger the server to feed back the audio file of the found audio file with the version identifier carried in the selection instruction.
  • the song list generating apparatus reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder. a fingerprint feature, so as to obtain audio file information of the audio file having the fingerprint feature from the download server corresponding to the first player, and use the audio file information to generate a song list of the first player; since the first player can be according to the second
  • the audio folder of the player automatically generates a song list corresponding to each audio file in the audio folder, and the user no longer needs to manually search for the audio file located in the first audio folder in the search box of the first player. Therefore, the problem of cumbersome steps in the process of transplanting songs between different players in the related art is solved; the steps of simplifying the transplantation of songs between different players are achieved, and the transplantation of songs between different players is improved. The effect of efficiency.
  • the accuracy of the fingerprint matching of the audio file can be improved.
  • the song list generating apparatus provided in the above embodiment is only illustrated by the division of the above functional modules when generating the song list. In actual applications, the above functions can be performed as needed. The allocation is done by different functional modules, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above.
  • the song list generating apparatus and the song bill generating method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 500 can be used to run a first player and a second player. Specifically:
  • the terminal 500 may include an RF (full name: radio frequency) circuit 510, a memory 520 including one or more computer readable storage media, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, and a short distance.
  • the wireless transmission module 570 includes a processor 580 having one or more processing cores, and a power supply 590 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 510 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving downlink information of the base station, and processing it by one or more processors 580; in addition, transmitting data related to the uplink to the base station.
  • RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier ( English: low noise amplifier, LNA), duplexer, etc.
  • SIM subscriber identity module
  • RF circuitry 510 can also communicate with the network and other devices via wireless communication.
  • Wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (English) (English: code division multiple access, CDMA), wideband code division multiple access (WCDMA), long term evolution (English): long term evolution (LTE), e-mail, short message service (English: short Messaging service, SMS), etc.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code division multiple access English
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • long term evolution English
  • LTE long term evolution
  • e-mail Short message service
  • SMS short message service
  • the processor 580 executes various functional applications and data processing by running software programs and modules stored in the memory 520.
  • the memory 520 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, and at least one function is required
  • the program (such as a video playing function, an image display function, a touch screen recognition function, etc.) or the like; the storage data area can store data created according to the use of the terminal 500, and the like.
  • memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 520 may also include a memory controller to provide access to memory 520 by processor 580 and input unit 530.
  • Input unit 530 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 530 can include touch-sensitive surface 531 as well as other input devices 532.
  • a touch-sensitive surface 531 also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., any suitable object or accessory on the touch-sensitive surface 531 or The operation near the touch-sensitive surface 531) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 531 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 580 is provided and can receive commands from the processor 580 and execute them.
  • the touch sensitive surface 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 530 can also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 540 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 500, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display unit 540 can include a display panel 541.
  • the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 531 can be overlaid on the display panel 541. When the touch-sensitive surface 531 detects a touch operation on or near it, it is transmitted to the processor 580 to determine the type of touch event, and then the processor 580 is The type of touch event provides a corresponding visual output on display panel 541.
  • touch-sensitive surface 531 and display panel 541 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 531 can be integrated with display panel 541 for input. And output function.
  • Terminal 500 can also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ring
  • the ambient light sensor can adjust the brightness of the display panel 541 according to the brightness of the ambient light
  • the proximity sensor can turn off the display panel 541 and/or the backlight when the terminal 500 moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 500 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the terminal 500.
  • the audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561.
  • the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, transmitted to another mobile terminal via the RF circuit 510, or outputted to the memory 520 for further processing.
  • the audio circuit 560 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 500.
  • the short-range wireless transmission module 570 can be a wireless fidelity (WiFi) module or a Bluetooth module.
  • the terminal 500 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the short-range wireless transmission module 570, which provides wireless broadband Internet access for users.
  • FIG. 5 shows the short-range wireless transmission module 570, it can be understood that it does not belong to the essential configuration of the terminal 500, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 580 is the control center of terminal 500, which connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in memory 520, and recalling data stored in memory 520.
  • the various functions and processing data of the terminal 500 are performed to perform overall monitoring of the mobile terminal.
  • the processor 580 may include one or more processing cores; optionally, the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
  • the terminal 500 also includes a power source 590 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 580 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 590 may also include one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or an inverter, and an electrical Any component such as a source status indicator.
  • the terminal 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • Terminal 500 also includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors.
  • One or more of the above programs include instructions for performing the following operations:
  • the one or more programs further include instructions for:
  • the one or more programs further include instructions for:
  • the one or more programs further include instructions for:
  • Generating a root directory for the song list of the first player generating a song list of the first player by using the obtained name of the audio file in each audio file information as a subdirectory of the root directory.
  • the one or more programs further include instructions for:
  • the audio file information downloading an audio file having the audio file information from a server corresponding to the first player; storing the downloaded search audio file to a second audio corresponding to the first player In the folder; the name of the second audio folder is named as the name corresponding to the root directory.
  • the one or more programs further include instructions for:
  • an upgrade notification sent by a server corresponding to the first player where the upgrade notification is that the server determines, when the server stores a version higher than a quality of the audio file according to a fingerprint feature of the audio file, a notification for prompting the user to select one of the versions for upgrading; displaying the upgrade notification; receiving a selection instruction selected according to the upgrade notification, the selection instruction carrying a version identifier selected by the user; and sending the version identifier to the server
  • the selection instruction is used to trigger the server to feed back the audio file of the found audio file with the version identifier carried in the selection instruction.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

Disclosed are a method and apparatus for generating a song menu, which fall within the technical field of computers. The method comprises: by means of using a first player to read a first audio folder which is stored in a terminal by a second player, acquiring fingerprint features of various audio files in the first audio folder so as to acquire audio file information about the audio files with the fingerprint features from a downloading server corresponding to the first player, and using these pieces of audio file information to generate a song menu of the first player. The present invention solves the problem in the relevant art that steps are tedious when a song menu is transplanted between different players, thereby achieving the effects of simplifying steps for transplanting the song menu between different players to a greater extent and improving the transplant efficiency of the song menu between different players.

Description

歌单生成方法及装置Song list generation method and device
本申请要求于2015年07月28日提交中国专利局、申请号为2015104513307、发明名称为“歌单生成方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 2015104513307, the entire disclosure of which is incorporated herein in
技术领域Technical field
本发明实施例涉及计算机技术领域,特别涉及一种歌单生成方法及装置。The embodiments of the present invention relate to the field of computer technologies, and in particular, to a method and an apparatus for generating a song list.
背景技术Background technique
目前用户在使用播放器试听音乐的过程中,会在播放器中创建歌单,并将自己喜爱的歌曲保存在歌单中。Currently, users use the player to listen to music, create a song list in the player, and save their favorite songs in the song list.
当用户安装了第一播放器,且想要将已经存有歌单的第二播放器中的歌单全部移植到第一播放器中时,通常的作法是:用户根据第二播放器的歌单,依次手动在第一播放器内的搜索框内进行搜索,以从第一播放器对应的服务器下载相应的音频文件(又称为歌曲),并根据下载的音频文件形成第一播放器的歌单。When the user installs the first player and wants to transplant the song list in the second player that already has the song list to the first player, the usual practice is: the user according to the song of the second player Single, sequentially searching in the search box in the first player to download the corresponding audio file (also called song) from the server corresponding to the first player, and forming the first player according to the downloaded audio file. song list.
在两个不同的播放器之间进行歌单移植时,需要用户手动依次搜索,并根据搜索结果形成歌单,由于歌单内的音频文件的数量通常很多,因此这种歌单移植的步骤繁琐,效率低下。When a song is transplanted between two different players, the user needs to manually search in order and form a song list according to the search result. Since the number of audio files in the song list is usually many, the step of transplanting the song list is cumbersome. ,low efficiency.
发明内容Summary of the invention
为了解决相关技术中不同播放器之间进行歌单移植时步骤繁琐的问题,本发明实施例提供了一种歌单生成方法及装置。所述技术方案如下:In order to solve the problem that the steps in the process of transplanting a song between different players in the related art are cumbersome, the embodiment of the invention provides a method and a device for generating a song list. The technical solution is as follows:
第一方面,提供了一种歌单生成方法,所述方法包括:利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;获取所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;对于获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;利用获取到的各个音频文件信息生成所述第一播放器的歌单。In a first aspect, a method for generating a song list is provided, the method comprising: reading, by a first player, a first audio folder corresponding to a second player, the first audio folder for storing the An audio file in the second player song list; acquiring fingerprint features of each audio file in the first audio folder, the fingerprint feature is used to uniquely identify the audio file; and the fingerprint feature of each obtained audio file is obtained from The server corresponding to the first player acquires audio file information of the audio file having the fingerprint feature; and generates a song list of the first player by using the obtained audio file information.
第二方面,提供了一种歌单生成装置,所述装置包括:读取模块,用于利 用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;第一获取模块,用于获取所述读取模块所读取的所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;第二获取模块,用于对于所述第一获取模块获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;生成模块,用于利用所述第二获取模块获取到的各个音频文件信息生成所述第一播放器的歌单。In a second aspect, a song list generating apparatus is provided, the apparatus comprising: a reading module for Reading, by the first player, a first audio folder corresponding to the second player, the first audio folder is configured to store an audio file in the second player song list; and the first acquiring module is configured to: Acquiring a fingerprint feature of each audio file in the first audio folder read by the reading module, the fingerprint feature is used to uniquely identify the audio file, and the second obtaining module is configured to acquire the first acquiring module Obtaining, by the server corresponding to the first player, audio file information of an audio file having the fingerprint feature, and a generating module, configured by using the second acquiring module, Each audio file information generates a song list of the first player.
第三方面,提供了一种歌单生成装置,所述歌单生成装置包括:一个或多个处理器;和存储器;所述存储器存储有一个或多个程序,所述一个或多个程序被配置成由所述一个或多个处理器执行,所述一个或多个程序包含用于进行以下操作的指令:利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;获取所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;对于获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;利用获取到的各个音频文件信息生成所述第一播放器的歌单。In a third aspect, a song list generating apparatus is provided, the song list generating apparatus comprising: one or more processors; and a memory; the memory storing one or more programs, the one or more programs being Configuring to be executed by the one or more processors, the one or more programs comprising instructions for: reading, by the first player, a first audio folder corresponding to the second player, The first audio folder is configured to store the audio file in the second player song list; the fingerprint feature of each audio file in the first audio folder is acquired, and the fingerprint feature is used to uniquely identify the audio file; Acquiring the audio file information of the audio file having the fingerprint feature from the server corresponding to the first player; generating the first player by using the acquired audio file information Song list.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are:
通过利用第一播放器读取第二播放器存储在终端的第一音频文件夹,获取第一音频文件夹中各个音频文件的指纹特征,以便于从第一播放器对应的下载服务器中获取具备指纹特征的音频文件的音频文件信息,利用这些音频文件信息生成生成第一播放器的歌单;由于第一播放器可以根据第二播放器的音频文件夹,自动生成与该音频文件夹中各个音频文件对应的歌单,不再需要用户手动依次在第一播放器的搜索框中搜索位于第一音频文件夹中的音频文件,因此解决了相关技术中不同播放器之间进行歌单移植时步骤繁琐的问题;达到了可以较大程度上简化不同播放器之间移植歌单的步骤,提高不同播放器之间歌单的移植效率的效果。Obtaining the fingerprint feature of each audio file in the first audio folder by using the first player to read the first audio folder stored in the terminal by the second player, so as to obtain the obtained from the download server corresponding to the first player. The audio file information of the audio file of the fingerprint feature is generated by using the audio file information to generate a song list of the first player; since the first player can automatically generate and match each of the audio folders according to the audio folder of the second player The song list corresponding to the audio file no longer requires the user to manually search for the audio file located in the first audio folder in the search box of the first player, thereby solving the problem of the song copying between different players in the related art. The cumbersome steps are achieved; the steps of simplifying the transplantation of songs between different players are achieved to a large extent, and the effect of transplanting songs between different players is improved.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, without creative labor, Other drawings can also be obtained from these figures.
图1是本发明一个实施例中提供的歌单生成方法的流程图;1 is a flowchart of a method for generating a song list according to an embodiment of the present invention;
图2A是本发明另一个实施例中提供的歌单生成方法的流程图;2A is a flowchart of a method for generating a song list according to another embodiment of the present invention;
图2B是本发明一个实施例中提供的第一播放器界面的示意图;2B is a schematic diagram of a first player interface provided in an embodiment of the present invention;
图2C是本发明一个实施例中提供的第一播放器导入本地歌单的界面的示意图;2C is a schematic diagram of an interface for importing a local song list by a first player provided in an embodiment of the present invention;
图2D是根据一个实施例示出的获取音频文件的指纹特征时的流程图;2D is a flow chart showing the acquisition of fingerprint features of an audio file, according to one embodiment;
图2E是本发明一个实施例中提供的过滤音频文件频率峰值的示意图;2E is a schematic diagram of a frequency peak of a filtered audio file provided in an embodiment of the present invention;
图2F是本发明一个实施例中提供的终端显示提示框提示用户是否下载音频文件更高音质版本的示意图;2F is a schematic diagram of a terminal display prompt box provided in an embodiment of the present invention to prompt a user to download a higher sound quality version of an audio file;
图2G是本发明一个实施例中提供的终端显示升级通知来通知用户选择音频文件质量版本的示意图;2G is a schematic diagram of a terminal displaying an upgrade notification to notify a user to select an audio file quality version according to an embodiment of the present invention;
图2H是本发明一个实施例中提供的终端显示用户等级升级提示框提示用户是否提升用户等级的示意图;2H is a schematic diagram of a terminal display user level upgrade prompt box provided by a terminal according to an embodiment of the present invention to prompt a user to upgrade a user level;
图3是本发明一个实施例中提供的歌单生成装置的结构方框图;3 is a block diagram showing the structure of a song list generating apparatus provided in an embodiment of the present invention;
图4是本发明另一个实施例中提供的歌单生成装置的结构方框图;4 is a block diagram showing the structure of a song list generating apparatus provided in another embodiment of the present invention;
图5是是本发明一个实施例提供的终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
文中所讲的“第一”、“第二”仅限于区分不同的对象,并不用于限定两个对象的顺序。这里所讲的对象为下述各个实施例中提及的播放器、服务器、音频文件夹等。The words "first" and "second" as used herein are limited to distinguishing between different objects and are not intended to limit the order of the two objects. The objects referred to herein are the players, servers, audio folders, and the like mentioned in the various embodiments described below.
图1是本发明一个实施例中提供的歌单生成方法的流程图,歌单生成方法应用于安装有第一播放器和第二播放器的终端中,终端可以为智能手机、多媒体播放器、平板电脑等。如图1所示,该歌单生成方法包括以下步骤。1 is a flowchart of a method for generating a song list according to an embodiment of the present invention. The method for generating a song list is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart phone or a multimedia player. Tablets, etc. As shown in FIG. 1, the song list generation method includes the following steps.
在步骤101中,利用第一播放器读取与第二播放器对应的第一音频文件夹,第一音频文件夹用于存储第二播放器歌单中的音频文件。In step 101, the first audio folder corresponding to the second player is read by the first player, and the first audio folder is used to store the audio file in the second player song list.
第一播放器为终端中安装的用于播放音频文件的一个应用程序,第二播放 器为终端安装的用于播放音频文件的另一个应用程序。The first player is an application installed in the terminal for playing an audio file, and the second player Another application installed for the terminal to play audio files.
一般来讲,第一播放器和第二播放器对应于不同的服务器,第一播放器对应于一个服务器,第二播放器对应于另一个服务器。Generally, the first player and the second player correspond to different servers, the first player corresponds to one server, and the second player corresponds to another server.
以第一播放器对应于第一服务器,第二播放器对应于第二服务器为例,第一服务器所提供的音频文件的数据库与第二服务器所提供的音频文件的数据库可以相同或不同。第一播放器从第一服务器下载音频文件,第二播放器从第二服务器下载音频文件。For example, the first player corresponds to the first server, and the second player corresponds to the second server. The database of audio files provided by the first server and the database of audio files provided by the second server may be the same or different. The first player downloads an audio file from the first server, and the second player downloads the audio file from the second server.
当终端安装播放器后,若该播放器从对应的服务器下载了音频文件,播放器则在终端生成一用于存储该播放器下载音频文件的音频文件夹。在生成音频文件夹时,可以是播放器默认生成的位于播放器安装目录下的一个文件夹,也可以由用户指定文件夹的存储位置。After the terminal installs the player, if the player downloads the audio file from the corresponding server, the player generates an audio folder for storing the audio file downloaded by the player at the terminal. When the audio folder is generated, it may be a folder created by the player by default in the player installation directory, or the user may specify the storage location of the folder.
在本发明各个实施例中,将第一播放器用于存储第一播放器下载的音频文件的文件夹记为第二音频文件夹,将第二播放器用于存储第二播放器下载的音频文件的文件夹记为第一音频文件夹。In various embodiments of the present invention, a folder for storing an audio file downloaded by the first player is recorded as a second audio folder, and a second player is used for storing an audio file downloaded by the second player. The folder is recorded as the first audio folder.
在步骤102中,获取第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件。In step 102, fingerprint features of respective audio files in the first audio folder are obtained, and the fingerprint features are used to uniquely identify the audio file.
在步骤103中,对于获取的每个音频文件的指纹特征,从与第一播放器对应的服务器中,获取具备指纹特征的音频文件的音频文件信息。In step 103, for the fingerprint feature of each of the acquired audio files, the audio file information of the audio file having the fingerprint feature is acquired from the server corresponding to the first player.
在步骤104中,利用获取到的各个音频文件信息生成第一播放器的歌单。In step 104, a song list of the first player is generated using the acquired individual audio file information.
综上所述,本发明实施例中提供的歌单生成方法,通过利用第一播放器读取第二播放器存储在终端的第一音频文件夹,获取第一音频文件夹中各个音频文件的指纹特征,以便于从第一播放器对应的下载服务器中获取具备指纹特征的音频文件的音频文件信息,利用这些音频文件信息生成第一播放器的歌单;由于第一播放器可以根据第二播放器的音频文件夹,自动生成与该音频文件夹中各个音频文件对应的歌单,不再需要用户手动依次在第一播放器的搜索框中搜索位于第一音频文件夹中的音频文件,因此解决了相关技术中不同播放器之间进行歌单移植时步骤繁琐的问题;达到了可以较大程度上简化不同播放器之间移植歌单的步骤,提高不同播放器之间歌单的移植效率的效果。In summary, the method for generating a song list provided by the embodiment of the present invention reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder. a fingerprint feature, so as to obtain audio file information of the audio file having the fingerprint feature from the download server corresponding to the first player, and use the audio file information to generate a song list of the first player; since the first player can be according to the second The audio folder of the player automatically generates a song list corresponding to each audio file in the audio folder, and the user no longer needs to manually search for the audio file located in the first audio folder in the search box of the first player. Therefore, the problem of cumbersome steps in the process of transplanting songs between different players in the related art is solved; the steps of simplifying the transplantation of songs between different players are achieved, and the transplantation of songs between different players is improved. The effect of efficiency.
图2A是本发明另一个实施例中提供的歌单生成方法的流程图,该歌单生成方法应用于安装有第一播放器和第二播放器的终端中,终端可以为智能手 机、多媒体播放器、平板电脑等。如图2A所示,该歌单生成方法包括以下步骤。2A is a flowchart of a method for generating a song list according to another embodiment of the present invention. The method for generating a song list is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart hand. Machines, multimedia players, tablets, etc. As shown in FIG. 2A, the song list generation method includes the following steps.
在步骤201中,利用第一播放器读取与第二播放器对应的第一音频文件夹,第一音频文件夹用于存储第二播放器歌单中的音频文件。In step 201, the first audio folder corresponding to the second player is read by the first player, and the first audio folder is used to store the audio file in the second player song list.
当第二播放器将第二播放器歌单中的音频文件下载到终端后,第二播放器默认将下载后的音频文件保存在第二播放器对应的音频文件夹中。After the second player downloads the audio file in the second player song list to the terminal, the second player saves the downloaded audio file in the audio folder corresponding to the second player by default.
播放器可以具备多张歌单,一张歌单一般对应一个音频文件夹,音频文件夹内存储有该音频文件夹所对应的歌单上的所有音频文件。The player can have multiple song lists, one song list generally corresponds to one audio folder, and the audio folder stores all the audio files on the song list corresponding to the audio folder.
若用户在终端上安装了与第二播放器不同的第一播放器,且想将第二播放器中创建的歌单移植到第一播放器中,那么用户可以在第一播放器的创建歌单功能里选择导入本地歌单。由于歌单中的音频文件是以文件夹的形式存储在终端本地的,因此当用户在第一播放器的操作接口中选择本地存储的第二播放器歌单所对应的第一音频文件夹时,第一播放器可以依据用户的选择读取到与第二播放器对应的第一音频文件夹。If the user installs a first player different from the second player on the terminal, and wants to transplant the song list created in the second player to the first player, the user can create a song in the first player. In the single function, choose to import the local song list. Since the audio file in the song list is stored locally in the form of a folder, when the user selects the first audio folder corresponding to the locally stored second player song list in the operation interface of the first player The first player can read the first audio folder corresponding to the second player according to the user's selection.
请参见图2B,其是本发明一个实施例中提供的第一播放器界面的示意图,如图2B所示,用户在第一播放器界面10中点击添加歌单功能11,选择“导入本地歌单”的选项12,触发导入界面,请参见图2C,其是本发明一个实施例中提供的第一播放器导入本地歌单的界面的示意图,如图2C所示,用户在导入界面13中选择第二播放器文件夹中的子目录“第一音频文件夹”14,则第一播放器可以获取第二播放器中第一音频文件夹中的所有音频文件信息。2B is a schematic diagram of a first player interface provided in an embodiment of the present invention. As shown in FIG. 2B, the user clicks the add song list function 11 in the first player interface 10, and selects “Import Local Songs”. The option of 12, triggering the import interface, please refer to FIG. 2C, which is a schematic diagram of an interface for importing a local song list by the first player provided in an embodiment of the present invention. As shown in FIG. 2C, the user is in the import interface 13. Selecting the subdirectory "first audio folder" 14 in the second player folder, the first player can acquire all the audio file information in the first audio folder in the second player.
第一播放器读取第二播放器对应的第一音频文件夹后,通过从与第一播放器对应的服务器中,获取第一音频文件夹中音频文件的音频文件信息,以便于利用音频文件信息生成第一播放器的歌单,具体参见如图步骤202至步骤204中的实现。After the first player reads the first audio folder corresponding to the second player, the audio file information of the audio file in the first audio folder is obtained from the server corresponding to the first player, so as to utilize the audio file. The information generates a song list of the first player. For details, refer to the implementation in steps 202 to 204.
在步骤202中,获取第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件。In step 202, fingerprint features of respective audio files in the first audio folder are obtained, and the fingerprint features are used to uniquely identify the audio file.
这里所说的指纹特征用来唯一标识音频文件,也即指纹特征用于唯一标识音频文件的曲调、演唱者、歌词、声纹等信息,当两首歌中曲调、演唱者、歌词和、声纹中的至少一种不同时,其对应的指纹特征也会不同,因此获取音频文件的指纹特征即可得到标识该音频文件的有效信息。The fingerprint feature mentioned here is used to uniquely identify the audio file, that is, the fingerprint feature is used to uniquely identify the tune, singer, lyrics, voiceprint and other information of the audio file, when the two songs are tune, singer, lyrics, and sound. When at least one of the patterns is different, the corresponding fingerprint features are also different, so obtaining the fingerprint feature of the audio file can obtain valid information identifying the audio file.
在一种可能的实现方式中,请参见图2D,其是根据一个实施例示出的获 取音频文件的指纹特征时的流程图,如图2D所示,该获取音频文件的指纹特征的方法以包括如下步骤:In a possible implementation, please refer to FIG. 2D, which is shown according to an embodiment. A flowchart for taking a fingerprint feature of an audio file, as shown in FIG. 2D, the method for obtaining a fingerprint feature of an audio file includes the following steps:
在步骤202a中,对于第一音频文件夹中的每个音频文件,将音频文件的格式转换成脉冲编码调制PCM格式。In step 202a, the format of the audio file is converted to a pulse code modulated PCM format for each audio file in the first audio folder.
将音频文件的原格式转换为脉冲编码调制(英文:pulse code modulation,PCM)格式的过程为:每隔预定时间段将话音、图像等模拟信号进行取样,使其离散化,将抽样的得到的抽样值按分层单位四舍五入取整量化,同时将抽样值按一组二进制码来表示抽样脉冲的幅值。The process of converting the original format of an audio file into a pulse code modulation (PCM) format is: sampling an analog signal such as a voice or an image every predetermined time period to discretize it, and obtaining the sampled sample. The sampled values are rounded up by the rounding unit, and the sampled values are represented by a set of binary codes to represent the amplitude of the sampled pulses.
目前利用播放器下载的音频文件多为动态影像专家压缩标准音频层面3(英文:moving picture experts group audio layer III,MP3)格式,为了获取音频文件的频谱信息通常需要将MP3格式转换为PCM格式。At present, the audio files downloaded by the player are mostly compressed picture experts group audio layer 3 (MP3) format. In order to obtain the spectrum information of the audio file, the MP3 format is usually converted into the PCM format.
在步骤202b中,提取具有PCM格式的音频文件的频谱,利用傅里叶变换过滤频谱中峰值点之间小于预定频率的峰值点。In step 202b, the spectrum of the audio file having the PCM format is extracted, and the peak point between the peak points in the spectrum smaller than the predetermined frequency is filtered by the Fourier transform.
将音频文件的原格式转换成PCM格式后,生成该音频文件的频谱。After converting the original format of the audio file to the PCM format, the spectrum of the audio file is generated.
目前,播放器音频文件库中的一些音频文件经过后期人为的低音增强或者高音修饰处理,该音频文件所生成的频谱会出现变化,即该音频文件频谱中峰值点会出现峰值点重叠、紧贴的现象。为了能使选取的峰值点沿时间和频率轴的分布较为均匀,以保证后续步骤中该音频文件指纹特征匹配的准确性,可以利用高斯滤波的方式来过滤音频文件音频,以有效消除音频中的噪声。At present, some audio files in the player's audio file library are processed by post-human bass enhancement or treble modification, and the spectrum generated by the audio file will change, that is, the peak points of the audio file spectrum will overlap and closely overlap. The phenomenon. In order to make the distribution of the selected peak points along the time and frequency axis relatively uniform, to ensure the accuracy of the fingerprint matching of the audio file in the subsequent steps, the audio file audio can be filtered by using Gaussian filtering to effectively eliminate the audio in the audio. noise.
高斯滤波的其中一种实现方式为傅里叶变换,也即本实施例中可以采用傅里叶变换来消除音频文件频谱中的噪声。请参见图2E,其是本发明一个实施例中提供的过滤音频文件频率峰值的示意图,如图2E所示,音频文件片段在过滤前的频率峰值点的分布存在重叠、紧贴的现象,利用傅里叶变化对该音频文件片段进行过滤,过滤掉峰值点之间小于预定频率的峰值点后,峰值点沿时间和频率轴的分布较为均匀,其中,预定频率的取值可以是10kHz、20kHz等,此处对预定频率的大小不做限定。One of the implementations of Gaussian filtering is the Fourier transform, that is, the Fourier transform can be used in this embodiment to eliminate noise in the audio file spectrum. 2E is a schematic diagram of the peak frequency of the filtered audio file provided in an embodiment of the present invention. As shown in FIG. 2E, the distribution of the frequency peak points of the audio file segment before filtering is overlapped and closely attached. The Fourier transform filters the audio file segment, and after filtering out the peak point less than the predetermined frequency between the peak points, the distribution of the peak point along the time and frequency axis is relatively uniform, wherein the predetermined frequency may be 10 kHz, 20 kHz. Etc., the size of the predetermined frequency is not limited here.
在步骤202c中,从过滤后的频谱中,截取至少两段不连续的具有预定时长的频谱。In step 202c, at least two segments of discontinuous spectrum having a predetermined duration are intercepted from the filtered spectrum.
在步骤202d中,将截取的各段频谱组合为音频文件的指纹特征。In step 202d, the intercepted segments of the spectrum are combined into a fingerprint feature of the audio file.
以同一首歌为例,相对于该音频文件的MP3等音频格式而言,该音频文件的PCM音频格式占用的存储空间较大,若终端将该音频文件PCM格式的全 部频谱发送给服务器,所需时间较长;若终端处于数据联网状态,则发送过程可能由于网络数据的不稳定而造成发送失败。因此,终端可以将过滤后的频谱截取成具有预定时长的频谱,将截取的频谱作为音频文件的指纹特征。Taking the same song as an example, the PCM audio format of the audio file occupies a large storage space relative to an audio format such as an MP3 audio file, and if the terminal has the PCM format of the audio file. The time required for the spectrum to be sent to the server is long; if the terminal is in the data networking state, the sending process may fail due to the instability of the network data. Therefore, the terminal can intercept the filtered spectrum into a spectrum having a predetermined duration, and use the intercepted spectrum as a fingerprint feature of the audio file.
为了避免所截取的音频文件为串烧音频文件或服务器中存在串烧音频文件,导致仅采用一段频谱片段进行匹配的匹配结果不准确,在一种优选的方式中,可以从过滤后的频谱中,截取至少两段不连续的具有预定时长的频谱,并将截取的各段频谱组合为音频文件的指纹特征。In order to prevent the intercepted audio file from being a stringed audio file or a stringed audio file in the server, the matching result of matching using only one piece of the spectrum segment is inaccurate. In a preferred manner, it can be from the filtered spectrum. And intercepting at least two segments of the discontinuous spectrum having a predetermined duration, and combining the intercepted segments into a fingerprint feature of the audio file.
预定时长可以根据实际情况或实验分析来设定,经大量实验分析,这里的预定时长为10秒时,PCM格式的频谱所需存储空间较为合适,且后续步骤中服务器根据10秒的频谱进行匹配时的匹配结果较为准确。这里对预定时长的具体数值不做限定。The predetermined duration can be set according to the actual situation or experimental analysis. After a large number of experimental analysis, when the predetermined duration is 10 seconds, the required storage space of the PCM format spectrum is suitable, and the server matches according to the 10 second spectrum in the subsequent steps. The matching result is more accurate. Here, the specific numerical value of the predetermined duration is not limited.
在步骤203中,对于获取的每个音频文件的指纹特征,从与第一播放器对应的服务器中,获取具备指纹特征的音频文件的音频文件信息。In step 203, for the fingerprint feature of each of the acquired audio files, the audio file information of the audio file having the fingerprint feature is acquired from the server corresponding to the first player.
对于获取的每个音频文件的指纹特征,终端将音频文件的指纹特征发送至与第一播放器对应的服务器中,由服务器查找出服务器中存储的与指纹特征匹配的音频文件,反馈与指纹特征匹配的音频文件;对应的,终端会接收到服务器反馈的与指纹特征匹配的音频文件。For obtaining the fingerprint feature of each audio file, the terminal sends the fingerprint feature of the audio file to the server corresponding to the first player, and the server searches for the audio file matched by the fingerprint feature stored in the server, and the feedback and fingerprint feature The matched audio file; correspondingly, the terminal receives the audio file matched by the server and matched with the fingerprint feature.
当第一播放器对应的服务器接收到音频文件的指纹特征后,将指纹特征与服务器中存储的音频文件进行匹配,当音频文件库中的某一首音频文件与指纹特征对应的音频文件的匹配程度达到预定匹配度,即可确定这两首为同一首音频文件。After receiving the fingerprint feature of the audio file, the server corresponding to the first player matches the fingerprint feature with the audio file stored in the server, and matches the audio file corresponding to the fingerprint feature in the audio file library. When the degree reaches the predetermined matching degree, it can be determined that the two titles are the same audio file.
由于服务器所存储的音频文件数量较大,若采用传统查找模式对音频文件进行一一匹配,会增加服务器不少运算量,也会消耗较多的匹配时间,因此服务器可以采用哈希结构来优化匹配效率,哈希结构是将要处理一整个数据块划分成n个子数据块,再对n个子数据块进行并行处理,以实现对一整个数据块的处理。Because the number of audio files stored by the server is large, if the traditional search mode is used to match the audio files one by one, the server will increase the amount of computation and consume more matching time, so the server can use the hash structure to optimize. Matching efficiency, the hash structure is to divide an entire data block into n sub-blocks, and then perform parallel processing on n sub-blocks to realize processing of an entire block.
举例来说,设预定匹配度为80%,若服务器将第一音频文件的指纹特征划分成10个子指纹特征,则当第一音频文件有至少8个子指纹特征与音频文件库中的B音频文件的指纹特征相同,即确定A音频文件的子指纹特征与B音频文件指纹特征达到预定匹配度,则确定B音频文件与A音频文件是同一首歌,并将B音频文件反馈给终端。 For example, if the predetermined matching degree is 80%, if the server divides the fingerprint feature of the first audio file into 10 sub-fingerprint features, when the first audio file has at least 8 sub-fingerprint features and B audio files in the audio file library. The fingerprint features are the same, that is, it is determined that the sub-fingerprint feature of the A audio file and the B audio file fingerprint feature reach a predetermined matching degree, then it is determined that the B audio file and the A audio file are the same song, and the B audio file is fed back to the terminal.
也即,服务器将第一音频文件的指纹特征划分成n(n为大于0的自然数)个子指纹特征,分别将n个子指纹特征与服务器中存储的音频文件的指纹特征进行匹配,当第一音频文件的子指纹特征与服务器中的第二音频文件的指纹特征达到预定匹配度,则确定第一音频文件与第二音频文件是同一首音频文件。That is, the server divides the fingerprint feature of the first audio file into n (n is a natural number greater than 0) sub-fingerprint features, and respectively matches the n sub-fingerprint features with the fingerprint features of the audio file stored in the server, when the first audio The sub-fingerprint feature of the file and the fingerprint feature of the second audio file in the server reach a predetermined matching degree, and then the first audio file and the second audio file are determined to be the same first audio file.
在步骤204中,利用获取到的各个音频文件信息生成第一播放器的歌单。In step 204, a song list of the first player is generated using the acquired individual audio file information.
在实际应用中,终端根据各个音频文件信息即可为第一播放器生成歌单,比如终端为第一播放器的歌单生成根目录,将获取到的各个音频文件信息中音频文件的名称作为该根目录的子目录,生成该第一播放器的歌单。In an actual application, the terminal can generate a song list for the first player according to each audio file information. For example, the terminal generates a root directory for the song list of the first player, and uses the name of the audio file in each obtained audio file information as A subdirectory of the root directory that generates a song list for the first player.
优选的,终端的第一播放器利用登录的用户账号将生成的歌单发送至服务器,使服务器将该歌单与该用户账号进行绑定,以便该用户账号在其他终端上的第一播放器进行登录时,仍旧可以通过第一播放器拉取与该用户账号绑定的歌单,也即与用户账号绑定的新歌单可以通过服务器漫游到其他终端上。Preferably, the first player of the terminal sends the generated song list to the server by using the logged-in user account, so that the server binds the song list with the user account, so that the user account is the first player on the other terminal. When logging in, the song list bound to the user account can still be pulled through the first player, that is, the new song list bound with the user account can be roamed to other terminals through the server.
在一种可能的情况下,歌单名称可以自动生成,也可以由用户自行设置和修改。因此,在步骤204后,还可以包括:接收对歌单的根目录进行设置的设置指令,将歌单的根目录的名称设置为该设置指令所设置的名称。In one possible case, the song list name can be generated automatically or set and modified by the user. Therefore, after step 204, the method may further include: receiving a setting instruction for setting a root directory of the song list, and setting a name of a root directory of the song list to a name set by the setting instruction.
可选的,在歌单的根目录名称生成或设置成功后,还可以对根目录名称进行修改,具体过程可以包括:接收对歌单的根目录的修改指令;将歌单的根目录的名称修改为修改指令所指示的名称。Optionally, after the root name of the song list is generated or set successfully, the root directory name may also be modified. The specific process may include: receiving a modification instruction for the root directory of the song list; and the name of the root directory of the song list Modified to modify the name indicated by the instruction.
在实际应用中,终端还可以利用音频文件信息预先从服务器下载对应的音频文件,具体可以参见如下步骤205和步骤206中的实现。In an actual application, the terminal may also use the audio file information to download the corresponding audio file from the server in advance. For details, refer to the following steps 205 and 206.
在步骤205中,利用音频文件信息,从与第一播放器对应的服务器中下载具备该音频文件信息的音频文件。In step 205, the audio file having the audio file information is downloaded from the server corresponding to the first player using the audio file information.
在步骤206中,将下载的搜索音频文件存储至与第一播放器对应的第二音频文件夹中,将第二音频文件夹的名称命名为与上述根目录对应的名称。In step 206, the downloaded search audio file is stored in a second audio folder corresponding to the first player, and the name of the second audio folder is named as a name corresponding to the root directory.
第一播放器在利用音频文件信息从服务器下载对应的音频文件之后,可以将音频文件统一存储至第一播放器对应的第二音频文件夹中,为了将该第二音频文件夹与第一播放器的歌单对应,可以将第二音频文件夹的名称命名为与第一播放器的歌单的根目录对应的名称。After the first player downloads the corresponding audio file from the server by using the audio file information, the audio file may be uniformly stored in the second audio folder corresponding to the first player, in order to play the second audio folder with the first audio folder. The song list of the device corresponds, and the name of the second audio folder can be named as the name corresponding to the root directory of the song list of the first player.
综上所述,本发明实施例中提供的歌单生成方法,通过利用第一播放器读取第二播放器存储在终端的第一音频文件夹,获取第一音频文件夹中各个音频文件的指纹特征,以便于从第一播放器对应的下载服务器中获取具备指纹特征 的音频文件的音频文件信息,利用这些音频文件信息生成第一播放器的歌单;由于第一播放器可以根据第二播放器的音频文件夹,自动生成与该音频文件夹中各个音频文件对应的歌单,不再需要用户手动依次在第一播放器的搜索框中搜索位于第一音频文件夹中的音频文件,因此解决了相关技术中不同播放器之间进行歌单移植时步骤繁琐的问题;达到了可以较大程度上简化不同播放器之间移植歌单的步骤,提高不同播放器之间歌单的移植效率的效果。In summary, the method for generating a song list provided by the embodiment of the present invention reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder. Fingerprint feature to facilitate obtaining fingerprint features from a download server corresponding to the first player Audio file information of the audio file, using the audio file information to generate a song list of the first player; since the first player can automatically generate an audio file corresponding to each audio file in the audio folder according to the audio folder of the second player The song list no longer requires the user to manually search for the audio file located in the first audio folder in the search box of the first player, thereby solving the cumbersome steps in the related art in the process of transplanting the songs between different players. The problem is that the steps of transplanting songs between different players can be simplified to a large extent, and the effect of transplanting songs between different players is improved.
另外,将音频文件转换成PCM格式后再对音频文件频谱进行高斯降噪,可以提高音频文件指纹特征匹配的准确性。In addition, by converting the audio file into the PCM format and then Gaussian noise reduction on the audio file spectrum, the accuracy of the fingerprint matching of the audio file can be improved.
在一种可能的情况下,当第一播放器对应的服务器接收到终端发送的音频文件的指纹特征后,检测到服务器中存在高于该音频文件的质量的版本时,为了能够给需要的用户提供高品质的音频文件,可以提示用户对该音频文件的质量进行升级,此时,终端可以根据服务器提示的升级通知选择是否升级,具体可以包括如下四个步骤:In a possible case, when the server corresponding to the first player receives the fingerprint feature of the audio file sent by the terminal, and detects that there is a version higher than the quality of the audio file in the server, in order to be able to provide the required user. A high-quality audio file is provided, and the user can be prompted to upgrade the quality of the audio file. In this case, the terminal can select whether to upgrade according to the upgrade notification prompted by the server, which may include the following four steps:
步骤一,接收与第一播放器对应的服务器发送的升级通知,升级通知是服务器在根据音频文件的指纹特征确定出服务器中存储高于音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知。Step 1: Receive an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is used by the server to prompt the user to select when the server stores a version higher than the quality of the audio file according to the fingerprint feature of the audio file. One of the versions is notified of the upgrade.
目前播放器中提供的音频文件质量的版本有标准、高品质(英文:high quality,HQ)、超品质(英文:super quality,SQ)等,当服务器检测到终端所上传音频文件的指纹特征所对应的音频文件在服务器中存储有更高质量的版本时,服务器可以向终端反馈一条升级通知,该升级通知用于提示用户选择其中一种版本进行升级,以满足对音乐质量要求较高的用户的需求。At present, the audio file quality version provided in the player has standard, high quality (English: high quality, HQ), super quality (English: super quality, SQ), etc., when the server detects the fingerprint feature of the audio file uploaded by the terminal. When the corresponding audio file stores a higher quality version in the server, the server may feed back an upgrade notification to the terminal, and the upgrade notification is used to prompt the user to select one of the versions to be upgraded to meet the user with higher music quality requirements. Demand.
步骤二,显示该升级通知。Step two, the upgrade notification is displayed.
请参见图2F,其是本发明一个实施例中提供的终端显示提示框提示用户是否下载音频文件更高音质版本的示意图,如图2F所示,终端18接收到服务器反馈升级通知后,在终端18的显示屏上显示服务器反馈的升级通知,该升级通知可以通过升级通知框19的形式进行显示,以提示用户升级音频文件的音质。Referring to FIG. 2F, it is a schematic diagram of the terminal display prompt box provided by the terminal in the embodiment of the present invention to prompt the user whether to download a higher sound quality version of the audio file. As shown in FIG. 2F, after receiving the server feedback upgrade notification, the terminal 18 is at the terminal. The upgrade notification of the server feedback is displayed on the display of 18, and the upgrade notification can be displayed in the form of the upgrade notification box 19 to prompt the user to upgrade the sound quality of the audio file.
步骤三,接收根据升级通知选择的选择指令,选择指令中携带用户选择的版本标识。Step 3: Receive a selection instruction selected according to the upgrade notification, and the selection instruction carries the version identifier selected by the user.
音频文件的版本标识用来标识音频文件质量的版本,请参见图2G,其是 本发明一个实施例中提供的终端显示升级通知来通知用户选择音频文件质量版本的示意图,如图2G所示,当用户选择想要升级音频文件质量的版本时,终端18会在显示屏显示显示升级通知20来通知用户对所要下载的音乐版本进行选择,选择指令中携带用户选择的版本标识。The version identifier of the audio file is used to identify the version of the audio file quality, see Figure 2G, which is A terminal provided by an embodiment of the present invention displays an upgrade notification to notify a user of a quality version of an audio file. As shown in FIG. 2G, when the user selects a version of the audio file quality to be upgraded, the terminal 18 displays on the display screen. The upgrade notification 20 notifies the user to select the version of the music to be downloaded, and the selection instruction carries the version identifier selected by the user.
步骤四,向服务器发送选择指令,选择指令用于触发服务器反馈查找到的音频文件中具有选择指令中携带的版本标识的音频文件。Step 4: Send a selection instruction to the server, and the selection instruction is used to trigger the server to feed back the audio file in the found audio file with the version identifier carried in the selection instruction.
仍参见图2G,当用户在终端18在屏幕中显示的升级通知20中选择“SQ超品质”21后,终端会向第一播放器所对应的服务器发送携带有用户选择的“SQ超品质”版本标识的选择指令,该服务器接收到该选择指令后,会向终端反馈与终端向服务器发送指纹特征相匹配的音频文件,该音频文件质量版本为被用户选择的音频文件质量版本。Still referring to FIG. 2G, when the user selects “SQ Super Quality” 21 in the upgrade notification 20 displayed by the terminal 18 on the screen, the terminal sends the “SQ Super Quality” carrying the user selection to the server corresponding to the first player. The selection instruction of the version identifier, after receiving the selection instruction, the server feeds back to the terminal an audio file that matches the fingerprint feature sent by the terminal to the server, and the audio file quality version is the audio file quality version selected by the user.
优选的,为了能够给对音质要求高的用户提供高音质的服务,第一播放器的提供商会可以将用户划分成不同的等级,且为不同等级的用户提供不同音质等级的音频文件版本。比如,第一播放器所对应的服务器将用户划分为普通用户、高等级用户,并为普通用户提供标准质量的音频文件版本,而为高等级用户提供更高质量的音频文件版本。Preferably, in order to be able to provide high quality service to users with high sound quality requirements, the provider of the first player may divide the user into different levels and provide audio file versions of different sound quality levels for different levels of users. For example, the server corresponding to the first player divides the user into ordinary users and high-level users, and provides a standard quality audio file version for ordinary users and a higher quality audio file version for high-level users.
请参见图2H,其是本发明一个实施例中提供的终端显示用户等级升级提示框提示用户是否提升用户等级的示意图,如图2H所示,当普通用户想要下载高质量版本的音频文件时,终端18会在显示屏显示用户等级升级提示框22提示用户进行等级提升。Referring to FIG. 2H, which is a schematic diagram of a terminal display user level upgrade prompt box provided by the terminal in the embodiment of the present invention to prompt the user to upgrade the user level, as shown in FIG. 2H, when an ordinary user wants to download a high-quality version of the audio file. The terminal 18 displays a user level upgrade prompt box 22 on the display screen to prompt the user to perform the level promotion.
需要说明的是,在实际实现时,终端并不局限于图2F、图2G、图2H所示的终端,还可以是手机,计算机,平板,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。It should be noted that, in actual implementation, the terminal is not limited to the terminal shown in FIG. 2F, FIG. 2G, and FIG. 2H, and may also be a mobile phone, a computer, a tablet, a digital broadcast terminal, a messaging device, a game console, and a tablet. Equipment, medical equipment, fitness equipment, personal digital assistants, etc.
下述为本发明装置实施例,对于装置实施例中未详尽描述的细节,可以参考上述一一对应的方法实施例。The following is an embodiment of the apparatus of the present invention. For details not specifically described in the apparatus embodiment, reference may be made to the one-to-one corresponding method embodiment.
图3是本发明一个实施例中提供的歌单生成装置的结构方框图,该歌单生成装置应用于安装有第一播放器和第二播放器的终端中,终端可以为智能手机、多媒体播放器、平板电脑等。如图3所示,该歌单生成装置包括:读取模块301、第一获取模块302、第二获取模块303、生成模块304。3 is a structural block diagram of a song list generating apparatus provided in an embodiment of the present invention. The song list generating apparatus is applied to a terminal in which a first player and a second player are installed, and the terminal may be a smart phone or a multimedia player. , tablet, etc. As shown in FIG. 3, the song list generating device includes a reading module 301, a first obtaining module 302, a second acquiring module 303, and a generating module 304.
读取模块301,用于利用第一播放器读取与第二播放器对应的第一音频文 件夹,第一音频文件夹用于存储第二播放器歌单中的音频文件;The reading module 301 is configured to read, by using the first player, the first audio text corresponding to the second player a folder, the first audio folder is used to store an audio file in the second player song list;
第一获取模块302,用于获取该读取模块301所读取的该第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;The first obtaining module 302 is configured to acquire a fingerprint feature of each audio file in the first audio folder read by the reading module 301, where the fingerprint feature is used to uniquely identify the audio file;
第二获取模块303,用于对于该第一获取模块302获取的每个音频文件的指纹特征,从与该第一播放器对应的服务器中,获取具备该指纹特征的音频文件的音频文件信息;The second obtaining module 303 is configured to obtain, from the server corresponding to the first player, the audio file information of the audio file having the fingerprint feature, for the fingerprint feature of each audio file acquired by the first acquiring module 302;
生成模块304,用于利用该第二获取模块303获取到的各个音频文件信息生成该第一播放器的歌单。The generating module 304 is configured to generate a song list of the first player by using the respective audio file information acquired by the second obtaining module 303.
在一种可能的实现方式中,请参见图4所示,其是本发明另一个实施例中提供的歌单生成装置的结构方框图,该第二获取模块303,包括:发送单元303a和接收单元303b。In a possible implementation, please refer to FIG. 4, which is a structural block diagram of a song list generating apparatus according to another embodiment of the present invention. The second acquiring module 303 includes: a sending unit 303a and a receiving unit. 303b.
发送单元303a,用于将该第一获取模块302获取的音频文件的指纹特征发送至与第一播放器对应的服务器中,由服务器查找出服务器中存储的与指纹特征匹配的音频文件,反馈与指纹特征匹配的音频文件;The sending unit 303a is configured to send the fingerprint feature of the audio file acquired by the first acquiring module 302 to a server corresponding to the first player, and the server searches for an audio file that is stored in the server and matches the fingerprint feature, and the feedback is An audio file whose fingerprint feature matches;
接收单元303b,用于接收服务器反馈的与指纹特征匹配的音频文件。The receiving unit 303b is configured to receive an audio file that is fed back by the server and matched with the fingerprint feature.
在一种可能的实现方式中,仍参见图4所示,该第一获取模块302,包括:转换单元302a、过滤单元302b、截取单元302c、组合单元302d。In a possible implementation manner, referring to FIG. 4, the first obtaining module 302 includes: a converting unit 302a, a filtering unit 302b, an intercepting unit 302c, and a combining unit 302d.
转换单元302a,用于对于第一音频文件夹中的每个音频文件,将音频文件的格式转换成PCM格式;The converting unit 302a is configured to convert the format of the audio file into a PCM format for each audio file in the first audio folder;
过滤单元302b,用于提取具有该转换单元302a转换成的PCM格式的音频文件的频谱,利用傅里叶变换过滤频谱中峰值点之间小于预定频率的峰值点;a filtering unit 302b, configured to extract a spectrum of an audio file having a PCM format converted by the converting unit 302a, and use a Fourier transform to filter a peak point between peak points in the spectrum that is less than a predetermined frequency;
截取单元302c,用于从该过滤单元302b过滤后的频谱中,截取至少两段不连续的具有预定时长的频谱;The intercepting unit 302c is configured to intercept, from the filtered spectrum of the filtering unit 302b, at least two pieces of discontinuous frequency spectrum having a predetermined duration;
组合单元302d,用于将该截取单元302c截取的各段频谱组合为音频文件的指纹特征。The combining unit 302d is configured to combine the segments of the spectrum intercepted by the intercepting unit 302c into fingerprint features of the audio file.
在一种可能的实现方式中,仍参见图4所示,该生成模块304还用于:为该第一播放器的歌单生成根目录,将获取到的各个音频文件信息中音频文件的名称作为该根目录的子目录,生成该第一播放器的歌单。In a possible implementation, as shown in FIG. 4, the generating module 304 is further configured to: generate a root directory for the song list of the first player, and obtain the name of the audio file in each audio file information that is obtained. As a subdirectory of the root directory, a song list of the first player is generated.
在一种可能的实现方式中,仍参见图4所示,该歌单生成装置包括:下载模块305、存储模块306和命名模块307。In a possible implementation manner, still referring to FIG. 4, the song list generating apparatus includes: a downloading module 305, a storage module 306, and a naming module 307.
下载模块305,用于利用该第二获取模块303获取的该音频文件信息,从 与该第一播放器对应的服务器中下载具备该音频文件信息的音频文件;The downloading module 305 is configured to use the audio file information acquired by the second obtaining module 303 to Downloading, by the server corresponding to the first player, an audio file having the audio file information;
存储模块306,用于将该下载模块305下载的搜索音频文件存储至与该第一播放器对应的第二音频文件夹中;The storage module 306 is configured to store the search audio file downloaded by the download module 305 into a second audio folder corresponding to the first player;
命名模块307,用于将该第二音频文件夹的名称命名为与该根目录对应的名称。The naming module 307 is configured to name the name of the second audio folder as a name corresponding to the root directory.
在一种可能的实现方式中,仍参见图4所示,该歌单生成装置包括:第一接收模块308、显示模块309、第二接收模块310、发送模块311。In a possible implementation, as shown in FIG. 4, the song list generating apparatus includes: a first receiving module 308, a display module 309, a second receiving module 310, and a sending module 311.
第一接收模块308,用于接收与第一播放器对应的服务器发送的升级通知,升级通知是服务器在根据音频文件的指纹特征确定出服务器中存储高于音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知:The first receiving module 308 is configured to receive an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is feedback when the server determines, according to the fingerprint feature of the audio file, that the server stores a version higher than the quality of the audio file. Notification to prompt the user to select one of the versions to upgrade:
显示模块309,用于显示该第一接收模块308接收到的升级通知;a display module 309, configured to display an upgrade notification received by the first receiving module 308;
第二接收模块310,用于接收根据该显示模块309显示的升级通知选择的选择指令,选择指令中携带用户选择的版本标识;The second receiving module 310 is configured to receive a selection instruction selected according to the upgrade notification displayed by the display module 309, where the selection instruction carries a version identifier selected by the user;
发送模块311,用于向服务器发送该第二接收模块310接收到的选择指令,选择指令用于触发服务器反馈查找到的音频文件中具有选择指令中携带的版本标识的音频文件。The sending module 311 is configured to send, to the server, a selection instruction received by the second receiving module 310, where the selection instruction is used to trigger the server to feed back the audio file of the found audio file with the version identifier carried in the selection instruction.
综上所述,本发明实施例中提供的歌单生成装置,通过利用第一播放器读取第二播放器存储在终端的第一音频文件夹,获取第一音频文件夹中各个音频文件的指纹特征,以便于从第一播放器对应的下载服务器中获取具备指纹特征的音频文件的音频文件信息,利用这些音频文件信息生成第一播放器的歌单;由于第一播放器可以根据第二播放器的音频文件夹,自动生成与该音频文件夹中各个音频文件对应的歌单,不再需要用户手动依次在第一播放器的搜索框中搜索位于第一音频文件夹中的音频文件,因此解决了相关技术中不同播放器之间进行歌单移植时步骤繁琐的问题;达到了可以较大程度上简化不同播放器之间移植歌单的步骤,提高不同播放器之间歌单的移植效率的效果。In summary, the song list generating apparatus provided in the embodiment of the present invention reads the first audio folder stored in the terminal by the second player by using the first player, and acquires each audio file in the first audio folder. a fingerprint feature, so as to obtain audio file information of the audio file having the fingerprint feature from the download server corresponding to the first player, and use the audio file information to generate a song list of the first player; since the first player can be according to the second The audio folder of the player automatically generates a song list corresponding to each audio file in the audio folder, and the user no longer needs to manually search for the audio file located in the first audio folder in the search box of the first player. Therefore, the problem of cumbersome steps in the process of transplanting songs between different players in the related art is solved; the steps of simplifying the transplantation of songs between different players are achieved, and the transplantation of songs between different players is improved. The effect of efficiency.
另外,将音频文件转换成PCM格式后再对音频文件频谱进行高斯降噪,可以提高音频文件指纹特征匹配的准确性。In addition, by converting the audio file into the PCM format and then Gaussian noise reduction on the audio file spectrum, the accuracy of the fingerprint matching of the audio file can be improved.
需要说明的是:上述实施例中提供的歌单生成装置在生成歌单时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能 分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的歌单生成装置与歌单生成方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the song list generating apparatus provided in the above embodiment is only illustrated by the division of the above functional modules when generating the song list. In actual applications, the above functions can be performed as needed. The allocation is done by different functional modules, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the song list generating apparatus and the song bill generating method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
图5是本发明一个实施例提供的终端的结构示意图。该终端500可以用于运行第一播放器和第二播放器。具体来讲:FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 500 can be used to run a first player and a second player. Specifically:
终端500可以包括RF(全称:radio frequency,中文:射频)电路510、包括有一个或一个以上计算机可读存储介质的存储器520、输入单元530、显示单元540、传感器550、音频电路560、短距离无线传输模块570、包括有一个或者一个以上处理核心的处理器580、以及电源590等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The terminal 500 may include an RF (full name: radio frequency) circuit 510, a memory 520 including one or more computer readable storage media, an input unit 530, a display unit 540, a sensor 550, an audio circuit 560, and a short distance. The wireless transmission module 570 includes a processor 580 having one or more processing cores, and a power supply 590 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器580处理;另外,将涉及上行的数据发送给基站。通常,RF电路510包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(英文:subscriber identity module,SIM)卡、收发信机、耦合器、低噪声放大器(英文:low noise amplifier,LNA)、双工器等。此外,RF电路510还可以通过无线通信与网络和其他设备通信。无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(英文:global system of mobile communication,GSM)、通用分组无线服务(英文:general packet radio service,GPRS)、码分多址(英文:code division multiple access,CDMA)、宽带码分多址(英文:wideband code division multiple access,WCDMA)、长期演进(英文:long term evolution,LTE)、电子邮件、短消息服务(英文:short messaging service,SMS)等。存储器520可用于存储软件程序以及模块,比如,存储器520可以用于存储预设时间列表,还可以用于存储采集语音信号的软件程序、实现关键词识别的软件程序、实现连续语音识别的软件程序以及实现设置提醒事项的软件程序,还可以用于存储无线接入点与用户账号的绑定关系等等。处理器580通过运行存储在存储器520的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应 用程序(比如视频播放功能、图像显示功能、触屏识别功能等)等;存储数据区可存储根据终端500的使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器520还可以包括存储器控制器,以提供处理器580和输入单元530对存储器520的访问。The RF circuit 510 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving downlink information of the base station, and processing it by one or more processors 580; in addition, transmitting data related to the uplink to the base station. . Generally, RF circuit 510 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier ( English: low noise amplifier, LNA), duplexer, etc. In addition, RF circuitry 510 can also communicate with the network and other devices via wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (English) (English: code division multiple access, CDMA), wideband code division multiple access (WCDMA), long term evolution (English): long term evolution (LTE), e-mail, short message service (English: short Messaging service, SMS), etc. The memory 520 can be used to store software programs and modules. For example, the memory 520 can be used to store a preset time list, and can also be used to store a software program for collecting voice signals, a software program for implementing keyword recognition, and a software program for implementing continuous voice recognition. And a software program for setting a reminder item, and can also be used for storing a binding relationship between the wireless access point and the user account, and the like. The processor 580 executes various functional applications and data processing by running software programs and modules stored in the memory 520. The memory 520 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, and at least one function is required The program (such as a video playing function, an image display function, a touch screen recognition function, etc.) or the like; the storage data area can store data created according to the use of the terminal 500, and the like. Moreover, memory 520 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 520 may also include a memory controller to provide access to memory 520 by processor 580 and input unit 530.
输入单元530可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元530可包括触敏表面531以及其他输入设备532。触敏表面531,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面531上或在触敏表面531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器580,并能接收处理器580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面531。除了触敏表面531,输入单元530还可以包括其他输入设备532。具体地,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input unit 530 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input unit 530 can include touch-sensitive surface 531 as well as other input devices 532. A touch-sensitive surface 531, also referred to as a touch display or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., any suitable object or accessory on the touch-sensitive surface 531 or The operation near the touch-sensitive surface 531) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 531 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 580 is provided and can receive commands from the processor 580 and execute them. In addition, the touch sensitive surface 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 531, the input unit 530 can also include other input devices 532. Specifically, other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元540可用于显示由用户输入的信息或提供给用户的信息以及终端500的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元540可包括显示面板541,可选的,可以采用液晶显示器(英文:liquid crystal display,LCD)、有机发光二极管(英文:organic light-emitting diode,OLED)等形式来配置显示面板541。进一步的,触敏表面531可覆盖在显示面板541之上,当触敏表面531检测到在其上或附近的触摸操作后,传送给处理器580以确定触摸事件的类型,随后处理器580根据触摸事件的类型在显示面板541上提供相应的视觉输出。虽然在图5中,触敏表面531与显示面板541是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面531与显示面板541集成而实现输入和输出功能。 Display unit 540 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 500, which can be composed of graphics, text, icons, video, and any combination thereof. The display unit 540 can include a display panel 541. Alternatively, the display panel 541 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch-sensitive surface 531 can be overlaid on the display panel 541. When the touch-sensitive surface 531 detects a touch operation on or near it, it is transmitted to the processor 580 to determine the type of touch event, and then the processor 580 is The type of touch event provides a corresponding visual output on display panel 541. Although in FIG. 5, touch-sensitive surface 531 and display panel 541 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 531 can be integrated with display panel 541 for input. And output function.
终端500还可包括至少一种传感器550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环 境光传感器可根据环境光线的明暗来调节显示面板541的亮度,接近传感器可在终端500移动到耳边时,关闭显示面板541和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端500还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 500 can also include at least one type of sensor 550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ring The ambient light sensor can adjust the brightness of the display panel 541 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 541 and/or the backlight when the terminal 500 moves to the ear. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 500 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
音频电路560、扬声器561、传声器562可提供用户与终端500之间的音频接口。音频电路560可将接收到的音频数据转换后的电信号,传输到扬声器561,由扬声器561转换为声音信号输出;另一方面,传声器562将收集的声音信号转换为电信号,由音频电路560接收后转换为音频数据,再将音频数据输出处理器580处理后,经RF电路510以发送给另一移动终端,或者将音频数据输出至存储器520以便进一步处理。音频电路560还可能包括耳塞插孔,以提供外设耳机与终端500的通信。The audio circuit 560, the speaker 561, and the microphone 562 can provide an audio interface between the user and the terminal 500. The audio circuit 560 can transmit the converted electrical data of the received audio data to the speaker 561, and convert it into a sound signal output by the speaker 561. On the other hand, the microphone 562 converts the collected sound signal into an electrical signal, and the audio circuit 560 is used by the audio circuit 560. After receiving, it is converted into audio data, and then processed by the audio data output processor 580, transmitted to another mobile terminal via the RF circuit 510, or outputted to the memory 520 for further processing. The audio circuit 560 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 500.
短距离无线传输模块570可以是无线保真(英文:wireless fidelity,WiFi)模块或者蓝牙模块等。终端500通过短距离无线传输模块570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了短距离无线传输模块570,但是可以理解的是,其并不属于终端500的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The short-range wireless transmission module 570 can be a wireless fidelity (WiFi) module or a Bluetooth module. The terminal 500 can help the user to send and receive emails, browse web pages, access streaming media, etc. through the short-range wireless transmission module 570, which provides wireless broadband Internet access for users. Although FIG. 5 shows the short-range wireless transmission module 570, it can be understood that it does not belong to the essential configuration of the terminal 500, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器580是终端500的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器520内的软件程序和/或模块,以及调用存储在存储器520内的数据,执行终端500的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器580可包括一个或多个处理核心;可选的,处理器580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器580中。 Processor 580 is the control center of terminal 500, which connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in memory 520, and recalling data stored in memory 520. The various functions and processing data of the terminal 500 are performed to perform overall monitoring of the mobile terminal. Optionally, the processor 580 may include one or more processing cores; optionally, the processor 580 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and an application. Etc. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 580.
终端500还包括给各个部件供电的电源590(比如电池),优选的,电源可以通过电源管理系统与处理器580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源590还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电 源状态指示器等任意组件。The terminal 500 also includes a power source 590 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 580 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 590 may also include one or more DC or AC power sources, a recharging system, a power failure detection circuit, a power converter or an inverter, and an electrical Any component such as a source status indicator.
尽管未示出,终端500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
终端500还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。上述一个或者一个以上程序包含用于进行以下操作的指令: Terminal 500 also includes a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be executed by one or more processors. One or more of the above programs include instructions for performing the following operations:
利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;获取所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;对于获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;利用获取到的各个音频文件信息生成所述第一播放器的歌单。Reading, by the first player, a first audio folder corresponding to the second player, the first audio folder is configured to store an audio file in the second player song list; acquiring the first audio file a fingerprint feature of each audio file in the folder, the fingerprint feature is used to uniquely identify the audio file; and for the fingerprint feature of each obtained audio file, the audio having the fingerprint feature is obtained from a server corresponding to the first player Audio file information of the file; generating a song list of the first player by using the obtained individual audio file information.
可选的,所述一个或多个程序还包含用于进行以下操作的指令:Optionally, the one or more programs further include instructions for:
将所述音频文件的指纹特征发送至与所述第一播放器对应的服务器中,由所述服务器查找出所述服务器中存储的与所述指纹特征匹配的音频文件,反馈与所述指纹特征匹配的所述音频文件;接收所述服务器反馈的与所述指纹特征匹配的所述音频文件。Sending a fingerprint feature of the audio file to a server corresponding to the first player, and searching, by the server, an audio file that is stored in the server and matching the fingerprint feature, and feedback and the fingerprint feature Matching the audio file; receiving the audio file that is fed back by the server and matching the fingerprint feature.
可选的,所述一个或多个程序还包含用于进行以下操作的指令:Optionally, the one or more programs further include instructions for:
对于所述第一音频文件夹中的每个音频文件,将所述音频文件的格式转换成PCM格式;提取具有所述PCM格式的所述音频文件的频谱,利用傅里叶变换过滤所述频谱中峰值点之间小于预定频率的峰值点;从过滤后的所述频谱中,截取至少两段不连续的具有预定时长的频谱;将截取的各段频谱组合为所述音频文件的指纹特征。Converting a format of the audio file to a PCM format for each audio file in the first audio folder; extracting a spectrum of the audio file having the PCM format, and filtering the spectrum by Fourier transform A peak point between the peak points that is less than the predetermined frequency; and from the filtered spectrum, intercepting at least two segments of the discontinuous spectrum having a predetermined duration; combining the intercepted segments into the fingerprint features of the audio file.
可选的,所述一个或多个程序还包含用于进行以下操作的指令:Optionally, the one or more programs further include instructions for:
为所述第一播放器的歌单生成根目录;将获取到的各个音频文件信息中音频文件的名称作为所述根目录的子目录,生成所述第一播放器的歌单。Generating a root directory for the song list of the first player; generating a song list of the first player by using the obtained name of the audio file in each audio file information as a subdirectory of the root directory.
可选的,所述一个或多个程序还包含用于进行以下操作的指令:Optionally, the one or more programs further include instructions for:
利用所述音频文件信息,从与所述第一播放器对应的服务器中下载具备所述音频文件信息的音频文件;将下载的搜索音频文件存储至与所述第一播放器对应的第二音频文件夹中;将所述第二音频文件夹的名称命名为与所述根目录对应的名称。Using the audio file information, downloading an audio file having the audio file information from a server corresponding to the first player; storing the downloaded search audio file to a second audio corresponding to the first player In the folder; the name of the second audio folder is named as the name corresponding to the root directory.
可选的,所述一个或多个程序还包含用于进行以下操作的指令: Optionally, the one or more programs further include instructions for:
接收与所述第一播放器对应的服务器发送的升级通知,所述升级通知是所述服务器在根据音频文件的指纹特征确定出所述服务器中存储高于所述音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知;显示所述升级通知;接收根据所述升级通知选择的选择指令,所述选择指令中携带用户选择的版本标识;向所述服务器发送所述选择指令,所述选择指令用于触发所述服务器反馈查找到的音频文件中具有所述选择指令中携带的版本标识的音频文件。Receiving an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is that the server determines, when the server stores a version higher than a quality of the audio file according to a fingerprint feature of the audio file, a notification for prompting the user to select one of the versions for upgrading; displaying the upgrade notification; receiving a selection instruction selected according to the upgrade notification, the selection instruction carrying a version identifier selected by the user; and sending the version identifier to the server The selection instruction is used to trigger the server to feed back the audio file of the found audio file with the version identifier carried in the selection instruction.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (18)

  1. 一种歌单生成方法,其特征在于,所述方法包括:A song list generation method, characterized in that the method comprises:
    利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;Reading, by the first player, a first audio folder corresponding to the second player, where the first audio folder is used to store an audio file in the second player song list;
    获取所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;Obtaining fingerprint features of each audio file in the first audio folder, and the fingerprint feature is used to uniquely identify the audio file;
    对于获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;Obtaining, from the server corresponding to the first player, the audio file information of the audio file having the fingerprint feature, for the obtained fingerprint feature of each audio file;
    利用获取到的各个音频文件信息生成所述第一播放器的歌单。The song list of the first player is generated by using the acquired individual audio file information.
  2. 根据权利要求1所述的方法,其特征在于,所述从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息,包括:The method of claim 1, wherein the obtaining the audio file information of the audio file having the fingerprint feature from the server corresponding to the first player comprises:
    将所述音频文件的指纹特征发送至与所述第一播放器对应的服务器中,由所述服务器查找出所述服务器中存储的与所述指纹特征匹配的音频文件,反馈与所述指纹特征匹配的所述音频文件;Sending a fingerprint feature of the audio file to a server corresponding to the first player, and searching, by the server, an audio file that is stored in the server and matching the fingerprint feature, and feedback and the fingerprint feature Matching the audio file;
    接收所述服务器反馈的与所述指纹特征匹配的所述音频文件。Receiving the audio file that is fed back by the server and matching the fingerprint feature.
  3. 根据权利要求1所述的方法,其特征在于,所述获取所述第一音频文件夹中各个音频文件的指纹特征,包括:The method according to claim 1, wherein the acquiring the fingerprint features of the respective audio files in the first audio folder comprises:
    对于所述第一音频文件夹中的每个音频文件,将所述音频文件的格式转换成脉冲编码调制PCM格式;Converting, for each audio file in the first audio folder, a format of the audio file into a pulse code modulation PCM format;
    提取具有所述PCM格式的所述音频文件的频谱,利用傅里叶变换过滤所述频谱中峰值点之间小于预定频率的峰值点;Extracting a spectrum of the audio file having the PCM format, and filtering a peak point between the peak points in the spectrum that is less than a predetermined frequency by using a Fourier transform;
    从过滤后的所述频谱中,截取至少两段不连续的具有预定时长的频谱;Extracting, from the filtered spectrum, at least two segments of discontinuous spectrum having a predetermined duration;
    将截取的各段频谱组合为所述音频文件的指纹特征。Combining the intercepted segments of the spectrum into fingerprint features of the audio file.
  4. 根据权利要求1所述的方法,其特征在于,所述利用获取到的各个音频文件信息生成所述第一播放器的歌单,包括:The method according to claim 1, wherein the generating the song list of the first player by using the acquired individual audio file information comprises:
    为所述第一播放器的歌单生成根目录;Generating a root directory for the song list of the first player;
    将获取到的各个音频文件信息中音频文件的名称作为所述根目录的子目 录,生成所述第一播放器的歌单。The name of the audio file in each obtained audio file information is taken as a subhead of the root directory Recording, generating a song list of the first player.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    利用所述音频文件信息,从与所述第一播放器对应的服务器中下载具备所述音频文件信息的音频文件;Using the audio file information, downloading an audio file having the audio file information from a server corresponding to the first player;
    将下载的搜索音频文件存储至与所述第一播放器对应的第二音频文件夹中;Storing the downloaded search audio file into a second audio folder corresponding to the first player;
    将所述第二音频文件夹的名称命名为与所述根目录对应的名称。Name the second audio folder a name corresponding to the root directory.
  6. 根据权利要求1至5中任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 5, wherein the method further comprises:
    接收与所述第一播放器对应的服务器发送的升级通知,所述升级通知是所述服务器在根据音频文件的指纹特征确定出所述服务器中存储高于所述音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知;Receiving an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is that the server determines, when the server stores a version higher than a quality of the audio file according to a fingerprint feature of the audio file, The feedback is used to prompt the user to select one of the versions to be upgraded;
    显示所述升级通知;Display the upgrade notification;
    接收根据所述升级通知选择的选择指令,所述选择指令中携带用户选择的版本标识;Receiving a selection instruction selected according to the upgrade notification, where the selection instruction carries a version identifier selected by a user;
    向所述服务器发送所述选择指令,所述选择指令用于触发所述服务器反馈查找到的音频文件中具有所述选择指令中携带的版本标识的音频文件。Sending the selection instruction to the server, the selection instruction is used to trigger the server to feed back an audio file having the version identifier carried in the selection instruction in the found audio file.
  7. 一种歌单生成装置,其特征在于,所述装置包括:A song list generating device, characterized in that the device comprises:
    读取模块,用于利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;a reading module, configured to read, by the first player, a first audio folder corresponding to the second player, where the first audio folder is used to store an audio file in the second player song list;
    第一获取模块,用于获取所述读取模块所读取的所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;a first acquiring module, configured to acquire a fingerprint feature of each audio file in the first audio folder read by the reading module, where the fingerprint feature is used to uniquely identify the audio file;
    第二获取模块,用于对于所述第一获取模块获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;a second acquiring module, configured to acquire, from the server corresponding to the first player, audio file information of an audio file having the fingerprint feature, for a fingerprint feature of each audio file acquired by the first acquiring module ;
    生成模块,用于利用所述第二获取模块获取到的各个音频文件信息生成所述第一播放器的歌单。And a generating module, configured to generate a song list of the first player by using each piece of audio file information acquired by the second acquiring module.
  8. 根据权利要求7所述的装置,其特征在于,所述第二获取模块,包括: The device according to claim 7, wherein the second obtaining module comprises:
    发送单元,用于将所述第一获取模块获取的所述音频文件的指纹特征发送至与所述第一播放器对应的服务器中,由所述服务器查找出所述服务器中存储的与所述指纹特征匹配的音频文件,反馈与所述指纹特征匹配的所述音频文件;a sending unit, configured to send a fingerprint feature of the audio file acquired by the first acquiring module to a server corresponding to the first player, where the server searches for the stored in the server and the An audio file matching the fingerprint feature, and feeding back the audio file matching the fingerprint feature;
    接收单元,用于接收所述服务器反馈的与所述指纹特征匹配的所述音频文件。And a receiving unit, configured to receive the audio file that is fed back by the server and matched with the fingerprint feature.
  9. 根据权利要求7所述的装置,其特征在于,所述第一获取模块,包括:The device according to claim 7, wherein the first obtaining module comprises:
    转换单元,用于对于所述第一音频文件夹中的每个音频文件,将所述音频文件的格式转换成脉冲编码调制PCM格式;a converting unit, configured to convert a format of the audio file into a pulse code modulation PCM format for each audio file in the first audio folder;
    过滤单元,用于提取具有所述转换子单元转换成的所述PCM格式的所述音频文件的频谱,利用傅里叶变换过滤所述频谱中峰值点之间小于预定频率的峰值点;a filtering unit, configured to extract a spectrum of the audio file having the PCM format converted by the conversion subunit, and filter a peak point between the peak points in the spectrum that is less than a predetermined frequency by using a Fourier transform;
    截取单元,用于从所述过滤子单元过滤后的所述频谱中,截取至少两段不连续的具有预定时长的频谱;An intercepting unit, configured to intercept, from the spectrum filtered by the filtering subunit, at least two pieces of discontinuous frequency spectrum having a predetermined duration;
    组合单元,用于将所述截取子单元截取的各段频谱组合为所述音频文件的指纹特征。And a combination unit, configured to combine the segments of the spectrum intercepted by the intercepting subunit into fingerprint features of the audio file.
  10. 根据权利要求7所述的装置,其特征在于,所述生成模块还用于:The device according to claim 7, wherein the generating module is further configured to:
    为所述第一播放器的歌单生成根目录,将获取到的各个音频文件信息中音频文件的名称作为所述根目录的子目录,生成所述第一播放器的歌单。Generating a root directory for the song list of the first player, and using the obtained name of the audio file in each audio file information as a subdirectory of the root directory to generate a song list of the first player.
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    下载模块,用于利用所述第二获取模块获取的所述音频文件信息,从与所述第一播放器对应的服务器中下载具备所述音频文件信息的音频文件;a downloading module, configured to download, by using the audio file information acquired by the second acquiring module, an audio file having the audio file information from a server corresponding to the first player;
    存储模块,用于将所述下载模块下载的搜索音频文件存储至与所述第一播放器对应的第二音频文件夹中;a storage module, configured to store the search audio file downloaded by the download module into a second audio folder corresponding to the first player;
    命名模块,用于将所述第二音频文件夹的名称命名为与所述根目录对应的名称。a naming module, configured to name the name of the second audio folder as a name corresponding to the root directory.
  12. 根据权利要求7至11中任一所述的装置,其特征在于,所述装置还包括: The device according to any one of claims 7 to 11, wherein the device further comprises:
    第一接收模块,用于接收与所述第一播放器对应的服务器发送的升级通知,所述升级通知是所述服务器在根据音频文件的指纹特征确定出所述服务器中存储高于所述音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知;a first receiving module, configured to receive an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is that the server determines that the storage in the server is higher than the audio according to a fingerprint feature of an audio file When the quality version of the file is used, the feedback is used to prompt the user to select one of the versions to be upgraded;
    显示模块,用于显示所述第一接收模块接收到的所述升级通知;a display module, configured to display the upgrade notification received by the first receiving module;
    第二接收模块,用于接收根据所述显示模块显示的所述升级通知选择的选择指令,所述选择指令中携带用户选择的版本标识;a second receiving module, configured to receive a selection instruction selected according to the upgrade notification displayed by the display module, where the selection instruction carries a version identifier selected by a user;
    发送模块,用于向所述服务器发送所述第二接收模块接收到的所述选择指令,所述选择指令用于触发所述服务器反馈查找到的音频文件中具有所述选择指令中携带的版本标识的音频文件。a sending module, configured to send, by the server, the selection instruction received by the second receiving module, where the selecting instruction is used to trigger the server to feed back the retrieved audio file with the version carried in the selection instruction The identified audio file.
  13. 一种歌单生成装置,其特征在于,所述装置包括:A song list generating device, characterized in that the device comprises:
    一个或多个处理器;和One or more processors; and
    存储器;Memory
    所述存储器存储有一个或多个程序,所述一个或多个程序被配置成由所述一个或多个处理器执行,所述一个或多个程序包含用于进行以下操作的指令:The memory stores one or more programs, the one or more programs being configured to be executed by the one or more processors, the one or more programs including instructions for:
    利用第一播放器读取与第二播放器对应的第一音频文件夹,所述第一音频文件夹用于存储所述第二播放器歌单中的音频文件;Reading, by the first player, a first audio folder corresponding to the second player, where the first audio folder is used to store an audio file in the second player song list;
    获取所述第一音频文件夹中各个音频文件的指纹特征,指纹特征用于唯一标识音频文件;Obtaining fingerprint features of each audio file in the first audio folder, and the fingerprint feature is used to uniquely identify the audio file;
    对于获取的每个音频文件的指纹特征,从与所述第一播放器对应的服务器中,获取具备所述指纹特征的音频文件的音频文件信息;Obtaining, from the server corresponding to the first player, the audio file information of the audio file having the fingerprint feature, for the obtained fingerprint feature of each audio file;
    利用获取到的各个音频文件信息生成所述第一播放器的歌单。The song list of the first player is generated by using the acquired individual audio file information.
  14. 根据权利要求13所述的装置,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:The apparatus of claim 13 wherein said one or more programs further comprise instructions for:
    将所述音频文件的指纹特征发送至与所述第一播放器对应的服务器中,由所述服务器查找出所述服务器中存储的与所述指纹特征匹配的音频文件,反馈与所述指纹特征匹配的所述音频文件;Sending a fingerprint feature of the audio file to a server corresponding to the first player, and searching, by the server, an audio file that is stored in the server and matching the fingerprint feature, and feedback and the fingerprint feature Matching the audio file;
    接收所述服务器反馈的与所述指纹特征匹配的所述音频文件。 Receiving the audio file that is fed back by the server and matching the fingerprint feature.
  15. 根据权利要求13所述的装置,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:The apparatus of claim 13 wherein said one or more programs further comprise instructions for:
    对于所述第一音频文件夹中的每个音频文件,将所述音频文件的格式转换成脉冲编码调制PCM格式;Converting, for each audio file in the first audio folder, a format of the audio file into a pulse code modulation PCM format;
    提取具有所述PCM格式的所述音频文件的频谱,利用傅里叶变换过滤所述频谱中峰值点之间小于预定频率的峰值点;Extracting a spectrum of the audio file having the PCM format, and filtering a peak point between the peak points in the spectrum that is less than a predetermined frequency by using a Fourier transform;
    从过滤后的所述频谱中,截取至少两段不连续的具有预定时长的频谱;Extracting, from the filtered spectrum, at least two segments of discontinuous spectrum having a predetermined duration;
    将截取的各段频谱组合为所述音频文件的指纹特征。Combining the intercepted segments of the spectrum into fingerprint features of the audio file.
  16. 根据权利要求13所述的装置,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:The apparatus of claim 13 wherein said one or more programs further comprise instructions for:
    为所述第一播放器的歌单生成根目录;Generating a root directory for the song list of the first player;
    将获取到的各个音频文件信息中音频文件的名称作为所述根目录的子目录,生成所述第一播放器的歌单。The name of the audio file in each of the obtained audio file information is used as a subdirectory of the root directory to generate a song list of the first player.
  17. 根据权利要求16所述的装置,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:The apparatus of claim 16 wherein said one or more programs further comprise instructions for:
    利用所述音频文件信息,从与所述第一播放器对应的服务器中下载具备所述音频文件信息的音频文件;Using the audio file information, downloading an audio file having the audio file information from a server corresponding to the first player;
    将下载的搜索音频文件存储至与所述第一播放器对应的第二音频文件夹中;Storing the downloaded search audio file into a second audio folder corresponding to the first player;
    将所述第二音频文件夹的名称命名为与所述根目录对应的名称。Name the second audio folder a name corresponding to the root directory.
  18. 根据权利要求13至17中任一所述的装置,其特征在于,所述一个或多个程序还包含用于进行以下操作的指令:Apparatus according to any one of claims 13 to 17, wherein said one or more programs further comprise instructions for:
    接收与所述第一播放器对应的服务器发送的升级通知,所述升级通知是所述服务器在根据音频文件的指纹特征确定出所述服务器中存储高于所述音频文件的质量的版本时,反馈的用于提示用户选择其中一种版本进行升级的通知;Receiving an upgrade notification sent by a server corresponding to the first player, where the upgrade notification is that the server determines, when the server stores a version higher than a quality of the audio file according to a fingerprint feature of the audio file, The feedback is used to prompt the user to select one of the versions to be upgraded;
    显示所述升级通知;Display the upgrade notification;
    接收根据所述升级通知选择的选择指令,所述选择指令中携带用户选择的版本标识; Receiving a selection instruction selected according to the upgrade notification, where the selection instruction carries a version identifier selected by a user;
    向所述服务器发送所述选择指令,所述选择指令用于触发所述服务器反馈查找到的音频文件中具有所述选择指令中携带的版本标识的音频文件。 Sending the selection instruction to the server, the selection instruction is used to trigger the server to feed back an audio file having the version identifier carried in the selection instruction in the found audio file.
PCT/CN2016/089428 2015-07-28 2016-07-08 Method and apparatus for generating song menu WO2017016382A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510451330.7 2015-07-28
CN201510451330.7A CN106411969B (en) 2015-07-28 2015-07-28 Sing single generation method and device

Publications (1)

Publication Number Publication Date
WO2017016382A1 true WO2017016382A1 (en) 2017-02-02

Family

ID=57884086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/089428 WO2017016382A1 (en) 2015-07-28 2016-07-08 Method and apparatus for generating song menu

Country Status (2)

Country Link
CN (1) CN106411969B (en)
WO (1) WO2017016382A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107978323A (en) * 2017-12-01 2018-05-01 腾讯科技(深圳)有限公司 Audio identification methods, device and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103475731A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Media information matching and processing method and device
WO2015031222A1 (en) * 2013-08-29 2015-03-05 Corning Optical Communications LLC System for terminating one or more optical fibers and fiber optic connector holder used in same
CN104486671A (en) * 2014-12-11 2015-04-01 北京国承万通信息科技有限公司 Data processing method, equipment, system and audio frequency sampling equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
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
WO2009101787A1 (en) * 2008-02-15 2009-08-20 Panasonic Corporation Player, recorder, playing method, and recording method
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
JP6475744B2 (en) * 2013-10-21 2019-02-27 アマゾン テクノロジーズ インコーポレイテッド Media content management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2015031222A1 (en) * 2013-08-29 2015-03-05 Corning Optical Communications LLC System for terminating one or more optical fibers and fiber optic connector holder used in same
CN103475731A (en) * 2013-09-23 2013-12-25 网易(杭州)网络有限公司 Media information matching and processing method and device
CN104486671A (en) * 2014-12-11 2015-04-01 北京国承万通信息科技有限公司 Data processing method, equipment, system and audio frequency sampling equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107978323A (en) * 2017-12-01 2018-05-01 腾讯科技(深圳)有限公司 Audio identification methods, device and storage medium

Also Published As

Publication number Publication date
CN106411969A (en) 2017-02-15
CN106411969B (en) 2019-10-08

Similar Documents

Publication Publication Date Title
CN104967900B (en) A kind of method and apparatus generating video
WO2017016382A1 (en) Method and apparatus for generating song menu
KR102207208B1 (en) Method and apparatus for visualizing music information
US11366854B2 (en) Multimedia poster generation method and terminal
CN104866505B (en) Application recommendation method and device
CN106210755B (en) A kind of methods, devices and systems playing live video
US10283168B2 (en) Audio file re-recording method, device and storage medium
CN105208056B (en) Information interaction method and terminal
TW201640888A (en) Method, device, and terminal for generating video
US20120124162A1 (en) Method and apparatus for selecting media content in a mobile communications device
US20190146749A1 (en) Sound effect processing method and mobile terminal
CN106328176B (en) A kind of method and apparatus generating song audio
CN107241511B (en) Music playing method, device, storage medium and terminal
CN106095456A (en) User is guided to download the method for application program, device and mobile terminal
CN108184143B (en) Method and device for acquiring resources
CN105959482B (en) A kind of control method and electronic equipment of scene audio
WO2015027689A1 (en) Method, apparatus, and electronic device for establishing virtual directory
US9734538B2 (en) Integrated operation method for social network service function and system supporting the same
CN103069374A (en) Composite attribute control method and portable device thereof
RU2676413C2 (en) Terminal and media file processing method
CN109862430A (en) Multi-medium play method and terminal device
CN105047185B (en) A kind of methods, devices and systems obtaining audio accompaniment
CN105976849B (en) A kind of method and apparatus of playing audio-fequency data
CN105550316A (en) Pushing method and device of audio list
US20120117197A1 (en) Content auto-discovery

Legal Events

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

Ref document number: 16829748

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16829748

Country of ref document: EP

Kind code of ref document: A1