CN110427344A - A kind of media file quality upgrade method and equipment - Google Patents
A kind of media file quality upgrade method and equipment Download PDFInfo
- Publication number
- CN110427344A CN110427344A CN201910731135.8A CN201910731135A CN110427344A CN 110427344 A CN110427344 A CN 110427344A CN 201910731135 A CN201910731135 A CN 201910731135A CN 110427344 A CN110427344 A CN 110427344A
- Authority
- CN
- China
- Prior art keywords
- media file
- sound quality
- file
- information
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
Abstract
The present invention provides a kind of media file quality upgrade methods.This method comprises: obtaining the file identification of local media file, this document mark is for media file described in unique identification;When determining the sound quality of the sound quality of the local media file lower than the corresponding online Media file of server and receive user and be directed to the trigger action of the first prompt information, downloading request is sent to server;The media file for the update that server is sent is received to update the local media file;When the sound quality for determining local media file is higher than the sound quality of the corresponding online Media file of server, local media file is uploaded to server for the trigger action of the second prompt information in response to user.The media file quality upgrading of client-side not only may be implemented in method provided by the invention, also it is able to achieve the media file quality upgrading of server side, so as to promote the media file quality of more users, better media file usage experience is brought for wider user.
Description
The application be submit on January 17th, 2014 application No. is CN201410024003.9, patent name be a kind of " matchmaker
The division of body document quality upgrade method and equipment ".
Technical field
Embodiments of the present invention are related to multimedia technology field, more specifically, embodiments of the present invention are related to one kind
Media file quality upgrade method and equipment.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein
Description recognizes it is the prior art not because not being included in this section.
With the development of multimedia technology, audio class end product is widely used.Audio class end product is
User provides audio content, plays service to provide audio for user.It is whole that audio class end product can be divided into local audio class
Hold product and online two class of audio class end product.Wherein, in the prior art, local audio Terminal Type product has allowed for user
Local music file is added to carry out music.Since the channel that user obtains music file may be multiplicity, music text
The quality of part is also irregular.In order to obtain better result of broadcast, user needs the music file for voluntarily judging locally to save
Quality need to download the music text of high-quality one by one manually when the music file quality that locally saves of user's judgement is lower
Part.After user downloads to the music file of high-quality, need to delete the low-quality music file locally saved one by one manually.
Summary of the invention
But in the prior art, due to needing user voluntarily to judge the sound quality height of local music file, and by hand one by one
The music file of high-quality is downloaded to carry out the update of music file, when the music file for needing to update is more, needs user
The above process could be completed by executing cumbersome operation, and efficiency is very low.
It therefore in the prior art, is very bothersome by the music file that local music file is updated to high-quality
Process.
Thus, it is also very desirable to a kind of improved media file quality upgrade method and equipment, automatically to local media text
Part is updated, and is upgraded to the media file of high-quality, improves the efficiency of media file update, improves user experience.
In the present context, embodiments of the present invention are intended to provide a kind of media file quality upgrade method and equipment.
In the first aspect of embodiment of the present invention, provide a method, be applied to client, the client with
Server connection, comprising: obtain the file identification of local media file, the file identification is for the text of media described in unique identification
Part;When the sound quality for determining the local media file is lower than the sound quality of the corresponding online Media file of server, to server
Send downloading request;Wherein, the downloading request includes the file identification of the local media file obtained;Server is received to send
Update media file, local media file described in the media file update using the update;Wherein, the matchmaker of the update
The sound quality of body file is higher than the sound quality of the local media file.
In the second aspect of embodiment of the present invention, provide a method, be applied to server, the server with
Client connection, comprising: receive the downloading request for the file identification comprising local media file that client is sent;Wherein, institute
Stating downloading request is in the sound quality for determining the local media file in the client lower than the corresponding online Media of server
It is sent when the sound quality of file to server;Online Media file corresponding with the file identification is determined, by the online matchmaker
Body file is sent to client as the media file updated, so that the client's is receiving the update of server transmission
After media file, the local media file of the media file update client of the update is used;Wherein, the media of the update
The sound quality of file is higher than the sound quality of the local media file.
In the third aspect of embodiment of the present invention, a kind of client device is provided, comprising: file identification obtains single
Member is configured to obtain the file identification of local media file, and the file identification is for media file described in unique identification;Under
Request transmitting unit is carried, is configured to when the sound quality for determining local media file online Media text corresponding lower than server
When the sound quality of part, downloading request is sent to server;Wherein, the downloading request includes the file of the local media file obtained
Mark;Receiving unit is configured to receive the media file for the update that server is sent;Wherein, the media file of the update
Sound quality be higher than the local media file sound quality;Updating unit is configured to the media file update using the update
The local media file.
In the fourth aspect of embodiment of the present invention, a kind of server apparatus is provided, comprising: downloading request receives single
Member is configured to receive the downloading request for the file identification comprising local media file that client is sent;Wherein, the downloading
Request is in the sound quality for determining the local media file in the client lower than the corresponding online Media file of server
It is sent when sound quality to server;Media file transmission unit is configured to determine online matchmaker corresponding with the file identification
Body file is sent to client for the online Media file as the media file updated, so that the client's is connecing
After the media file for receiving the update that server is sent, the local media text of the media file update client of the update is used
Part;Wherein, the sound quality of the media file of the update is higher than the sound quality of the local media file.
The media file quality upgrade method and equipment of embodiment according to the present invention, can judge automatically local media
When the quality of file is lower than the sound quality of the corresponding online Media file of server, according to the files-designated of the local media file of acquisition
Know from trend server and send downloading request, to download the media file of higher quality, and automatically updates local media file, and
Voluntarily judge without user local media file sound quality height, downloaded manually without user the media file of higher quality with
Low-quality media file is replaced, to reduce the complexity and fussy degree of user's operation significantly, and improves upgrading
The efficiency of update brings better experience for user.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention
, feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention
Dry embodiment, in which:
What Fig. 1 schematically showed embodiment according to the present invention can be in the application scenarios wherein realized;
Fig. 2 schematically shows media file quality upgrade method flow charts according to an embodiment of the invention;
Fig. 3 schematically shows the media file quality upgrade method flow chart of another embodiment according to the present invention;
Fig. 4 schematically shows media file quality upgrade method flow charts according to yet another embodiment of the invention;
Fig. 5 schematically shows media file quality upgrade method flow chart according to another embodiment of the present invention;
Fig. 6 schematically shows the media file quality upgrade method flow chart of another embodiment according to the present invention;
Fig. 7 schematically shows client device block diagram according to an embodiment of the invention;
Fig. 8 schematically shows server apparatus block diagram according to an embodiment of the invention.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this
A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any
Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy
It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
Those skilled in the art will understand that embodiments of the present invention can be implemented as a kind of system, device, equipment,
Method or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete soft
The form that part (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of method and apparatus of media file quality upgrading.
Herein, it is to be understood that related term " client " include but is not limited to audio class terminal device,
The apparatus for media playing such as video class terminal device, the client can be applied in electronic equipment, and the electronic equipment can be with
Be it is existing, researching and developing or in the future research and development any electronic equipment, including but not limited to: it is existing, researching and developing or
Research and development in the future, desktop computer, laptop computer, mobile terminal (including smart phone, non-smart mobile phone, various plates
Computer) etc..
Wherein, related term media file includes but is not limited to that audio file, video file etc. can be broadcast in client
The file put.Wherein, related term " online Media file " can be used to indicate that the media file in server end storage.
Wherein, related term " 3 information of file song tag ID " indicates the sound of a kind of MP3 or similar MP3 format
Song additional information in happy archives, and can be described as file song label information.
Wherein, related term " code rate " is properly termed as bit rate again, and the unit time passes when for indicating data transmission
The data bits sent, unit are that (Kb Per Second, kilobit are every by bps (Bit Per Second, bits per second) or Kbps
Second).Wherein, the bit rate in sound refers to the sample rate that digital audio is converted to number format by analog format, sample rate
Higher, the sound quality after reduction is better.Bit rate (code rate) principle in video is identical as in sound, all refers to and is believed by simulation
Number be converted to the sample rate of digital signal.
Wherein, related term " sample rate " extracts from continuous signal for indicating per second and forms discrete signal
Number of samples is generally indicated with hertz (Hz).Generally, sample rate refers to that computer each second acquires how many a sound samples
This, is for describing the sound quality of audio files, tone and the quality standard for measuring sound card, audio files.
In addition, any number of elements in attached drawing is used to example rather than limitation and any name are only used for distinguishing,
Without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that in the prior art, due to needing user voluntarily to judge the sound quality height of local music file, and
Download the music file of high-quality one by one by hand to carry out the update of music file, when the music file for needing to update is more,
The above process could be completed by needing user to execute cumbersome operation, and efficiency is very low.
Existing low efficiency, cumbersome technical problem when for upgrading media file quality of the existing technology,
The present invention provides a kind of media file quality upgrade method and equipment, can be low in the quality for judging automatically local media file
When the sound quality of the corresponding online Media file of server, according to the file identification of the local media file of acquisition from trend service
Device sends downloading request, to download the media file of higher quality, and automatically updates local media file, voluntarily without user
The sound quality height for judging local media file, it is low-quality to replace that the media file of higher quality is downloaded without user manually
Media file to reduce the complexity and fussy degree of user's operation significantly, and improves the efficiency that upgrading updates, is
User brings better experience.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention
Formula.
Application scenarios overview
Referring initially to Fig. 1, the adaptable scene of embodiment of the present invention for example can be scene as shown in Figure 1.Its
In, client device 700 (hereinafter referred client) and server-side devices 800 (hereinafter referred server) can be with interaction datas
(for example, audio file, video file etc.).
Illustrative methods
Below with reference to the application scenarios of Fig. 1, it is described with reference to Figure 2 the media file of illustrative embodiments according to the present invention
Quality upgrade method.It should be noted that above-mentioned application scenarios are merely for convenience of understanding spirit and principles of the present invention and showing
Out, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can be applied to it is applicable
Any scene.
As shown in Fig. 2, for according to the flow chart of the media file quality upgrade method of an embodiment of the present invention, this method
Applied to client-side, specifically for example may include:
S201 obtains the file identification of local media file, and the file identification is for media file described in unique identification.
Wherein, in one possible implementation, the file identification for obtaining local media file may include: to extract institute
State the audio-frequency fingerprint information of local media file;Wherein, the audio-frequency fingerprint information is used to characterize the signal of the audio fragment
Feature;The audio-frequency fingerprint information is sent to server, so that the server is after receiving the audio-frequency fingerprint information,
Audio-frequency fingerprint in the audio-frequency fingerprint information and server is matched corresponding with the audio-frequency fingerprint information with determination
The file identification of media file;Receive file identification of the file identification of server transmission as the local media file.In
In this implementation, client extracts the audio-frequency fingerprint information of local media file, and the audio-frequency fingerprint information is for characterizing
The signal characteristic of the local media file.When specific implementation, client extracts the audio-frequency fingerprint information of local media file
Mode can be selection as needed, not limit herein.It such as may include that local media file is divided into multiple audio pieces
Section carries out signal analysis and processing to multiple audio fragments of acquisition respectively, and the signal extracted for characterizing the audio fragment is special
The audio-frequency fingerprint information of sign.Then, the audio-frequency fingerprint information of the local media file of extraction is sent to server by client, by
Server is after receiving the audio-frequency fingerprint information, audio-frequency fingerprint that the audio-frequency fingerprint information and server are pre-saved
Audio-frequency fingerprint information in library is matched, and matching result is obtained, and the matching result includes and the audio-frequency fingerprint information pair
The file identification for the media file answered.Server is by the files-designated of determining media file corresponding with the audio-frequency fingerprint information
Knowledge is sent to client, receives the file identification that server is sent by client, and as the file of local media file
Mark.Further, in one possible implementation, server can further include to the information that client is sent
The sound quality information of online Media file corresponding with the audio-frequency fingerprint information.The sound quality information of the online Media file can be with
It is the sample rate or code rate information of the online Media file.Certainly, it will be appreciated by persons skilled in the art that online Media
The sound quality information of file is also possible to the information of other forms, as long as the quality of media file can be indicated.Certainly, it services
Device can also receive client transmission comprising media file identification sound quality request when, then to client transmission with it is described
The sound quality information of the corresponding online Media file of file identification.
Wherein, in the implementation of another possibility, method provided in an embodiment of the present invention is extracting the local
Before the audio-frequency fingerprint information of media file, further includes: judge whether the local media file obtained there is preset label to believe
Breath;It wherein, include file identification in the preset mark information;When the local media file that judgement obtains has preset mark
When remembering information, extraction document is identified from the mark information.It can be the media file downloaded from server when specific implementation
Mark information is preset, includes the file identification of media file in the mark information.When client gets local media
When file, first determine whether the local media file obtained has preset mark information, if it is, believing from the label
File identification corresponding with the local media file is extracted in breath;If it is not, then extracting the audio-frequency fingerprint of local media file
Information, and audio-frequency fingerprint information is sent to server, receive the media corresponding with the audio-frequency fingerprint information that server determines
The file identification of file.
Wherein, in the implementation of another possibility, the file identification of local media file is obtained, comprising: when obtaining
The local media file obtained believes the file song tag ID 3 of acquisition there are when corresponding file song 3 information of tag ID
Breath is sent to server, so that the server 3 information of file song tag ID that sends client and the clothes
3 information of file song tag ID that business device saves is compared and obtains matching result;Receive the matching that the server is sent
As a result, obtaining the file identification of local media file according to the matching result;Wherein, when the local media file is corresponding
When file song 3 information matches of tag ID saved in 3 information of file song tag ID and the server, the matching result
Including the corresponding file identification of the media file.When specific implementation, when the corresponding text of local media file that client saves
When file song 3 information matches of tag ID saved in 3 information of part song tag ID and the server, then the matching result
Complete 3 information of file song tag ID corresponding with the media file that is saved including server and with media text
The corresponding media file identification of part, the media file identification is for media file described in unique identification.Client can basis
The matching result obtains the file identification of local media file.
S202, when sound quality of the sound quality lower than the corresponding online Media file of server for determining the local media file
When, downloading request is sent to server;Wherein, the downloading request includes the file identification of the local media file obtained.
When the invention is realized in detail, when client determines that the sound quality of local media file is corresponding lower than server online
When the sound quality of media file, the downloading request of the file identification comprising media file is sent to server.How client determines
The sound quality of local media file can use various ways to realize lower than the sound quality of the corresponding online Media file of server, below
Several possible implementations are introduced.
In one possible implementation, it is corresponding to determine whether the sound quality of local media file is lower than server for client
Media file sound quality, comprising: to server send comprising local media file file identification sound quality request so that
The server determines the online matchmaker corresponding with the file identification saved in server after receiving the sound quality request
The sound quality information of body file;Receive the sound quality information for the online Media file that server is sent;By the local media file of acquisition
Sound quality information be compared with the sound quality information of the online Media file of acquisition, with determine local media file sound quality whether
The sound quality of media file corresponding lower than server.Wherein, the sound quality information of online Media file can be the online Media
The code rate or sample rate of file.
In the implementation of another possibility, client determines whether the sound quality of local media file is lower than server
The sound quality of corresponding media file, comprising: send file identification and local media comprising local media file to server
The comparison of the sound quality information of file is requested, so that the server determines in server after receiving the relatively request
The sound quality information of the online Media file corresponding with the file identification saved, and the sound quality of the online Media file is believed
Breath is compared with the sound quality information of the local media file to obtain comparison result;Receive the comparison knot that server is sent
Fruit determines whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server according to the comparison result.
In the implementation of another possibility, client determines whether the sound quality of local media file is lower than server
The sound quality of corresponding media file, comprising: receive the file identification and online Media file of the media file that server is sent
Sound quality information, the sound quality information of the sound quality information of the local media file of acquisition and the online Media file of acquisition is compared
Compared with to determine whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server.Specifically, the service
Device is after receiving the audio-frequency fingerprint information that client is sent to it, by the audio in the audio-frequency fingerprint information and server
Fingerprint is matched the file identification to determine media file corresponding with the audio-frequency fingerprint information, and determining media are literary
The file identification of part and media file sound quality information corresponding with the file identification send jointly to client.Alternatively,
The server can also be in 3 information of file song tag ID corresponding with local media file for receiving client transmission
When, 3 information of file song tag ID of 3 information of file song tag ID that client is sent and server preservation
Be compared and obtain matching result, and by the matching result comprising the corresponding file identification of media file and with the file
It identifies corresponding media file sound quality information and is sent to client together.
It will be appreciated by persons skilled in the art that the sound quality information of local media file is saved with server online
The operation that the sound quality information of media file is compared can also both be executed in client executing in server end.Client
It end only need to be in the sound quality for determining the local media file according to comparison result lower than the corresponding online Media file of server
When sound quality, downloading request is sent to server.After server receives the downloading request of client transmission, i.e., to client
End sends the media file updated.Wherein, the sound quality of the media file of the update is higher than the sound quality of the local media file.
S203 receives the media file for the update that server is sent, sheet described in the media file update using the update
Ground media file;Wherein, the sound quality of the media file of the update is higher than the sound quality of the local media file.
Client receives the media file for the update that server is sent, sheet described in the media file update using the update
Ground media file.When specific implementation, client replaces local media file using the media file updated, and is automatically deleted sound quality
Low local media file.In this way, being manually operated without user, it has been automatically performed the upgrading and update of media file quality,
And it has been automatically deleted the low local media file of quality, the efficiency of update is improved, user's operation is simplified.
Further, method provided by the invention further include: when the sound quality for determining the local media file is not less than clothes
When the sound quality of the corresponding online Media file of business device, the request of ID3 information update is sent to server;Using server return with
The ID3 information of the matched ID3 information update local file of local media file.When specific implementation, since user is from different channels
The media file of acquisition, 3 information of corresponding file song tag ID are imperfect or more chaotic.In the prior art, Yong Huxu
Will either manually or by resource manager in file attribute the western information of ID3 or the contents such as filename modified one by one, it is very numerous
It is trivial.In embodiments of the present invention, when the sound quality for determining local media file online Media text corresponding not less than server
When the sound quality of part, client sends the request of ID3 information update from trend server, to request complete ID3 information to server.
Wherein, the ID3 information update request includes the file identification of media file, and server based on the received ask by ID3 information update
The ID3 information corresponding with the file identification of the media file saved in determining server is sought, and the ID3 information of update is sent out
Give client, by client using server return with the matched ID3 information update local file of local media file
ID3 information.It is sent unlike the implementation of ID3 information update request from client from trend server, client can also
To show third in sound quality of the sound quality for determining the local media file not less than the corresponding online Media file of server
Prompt information updates ID3 information for prompting the user whether;It is then possible to be directed to the touching of third prompt information in response to user
Hair operation sends the request of ID3 information update to server.Certainly, it will be appreciated by persons skilled in the art that client is to clothes
The ID3 information update request that business device is sent can also download request with media file and send together, i.e., construction is in a piece of news
Single is sent, and can also be sent respectively in message twice.
Further, method provided by the invention further include: when the sound quality for determining the local media file is not less than clothes
When the sound quality of the corresponding online Media file of business device, the second prompt information is shown;Second prompt information is for prompting user
Whether local media file is uploaded to server;The trigger action of the second prompt information is directed in response to user, by local matchmaker
Body file is uploaded to server.In this implementation, client can prompt user to upload the media file of high-quality
To server, when the input operation of user or trigger action show that user agrees to media file being uploaded to server, client
It then triggers execution and local media file is uploaded to server in end.
Referring to Fig. 3, it is schematically shown that the media file quality upgrade method process of another embodiment according to the present invention
Figure, this method are applied to server end side, specifically for example may include:
S301 receives the downloading request for the file identification comprising local media file that client is sent;Wherein, under described
Carrying request is in the sound quality for determining the local media file in the client lower than the corresponding online Media file of server
Sound quality when to server send.
How client obtains local media file mark and how to determine the sound quality of local media file lower than service
The specific implementation of the sound quality of the corresponding online Media file of device refers to the description of previous embodiment.
Wherein, when the mode that client obtains local media file mark is by sending audio-frequency fingerprint information to server
Mode obtain when, method provided in an embodiment of the present invention further comprises: server receive client send local matchmaker
The audio-frequency fingerprint information of body file;Wherein, the audio-frequency fingerprint information is used to characterize the signal characteristic of the audio fragment;By institute
The audio-frequency fingerprint in audio-frequency fingerprint information and server is stated to be matched to determine media corresponding with the audio-frequency fingerprint information
The file identification of file;The files-designated of the corresponding media file of the audio-frequency fingerprint information of the determination is sent to client
Know.
Wherein, when the mode that client obtains local media file mark is by sending file song label to server
The mode of ID3 information obtain when, method provided in an embodiment of the present invention further comprises: server receives client and sends
3 information of file song tag ID corresponding with local media file;3 information of file song tag ID that client is sent
It is compared with 3 information of file song tag ID that the server saves and obtains matching result;To described in client transmission
Matching result;Wherein, when saving in corresponding 3 information of file song tag ID of the local media file and the server
When file song 3 information matches of tag ID, the matching result includes the corresponding file identification of the media file.
Further, when user end to server sends the sound quality request of the file identification comprising local media file,
Method provided in an embodiment of the present invention, which may further comprise:, receives the file identification comprising local media file that client is sent
Sound quality request;It is requested to determine the online Media file corresponding with the file identification saved in server according to the sound quality
Sound quality information;The sound quality information of the online Media file is sent to client, so that the client is by the sheet of acquisition
The sound quality information of the online Media file of the sound quality information and acquisition of ground media file is compared, to determine local media file
Sound quality whether be lower than the sound quality of the corresponding media file of server.
Further, when the file identification and local media comprising local media file that user end to server is sent
When the comparison request of the sound quality information of file, method provided in an embodiment of the present invention may further comprise: that receiving client sends
The file identification comprising local media file and local media file sound quality information comparison request;According to the comparison
Request the sound quality information of the online Media file corresponding with the file identification saved in determining server;By the online matchmaker
The sound quality information of body file is compared with the sound quality information of the local media file to obtain comparison result;It is sent out to client
The comparison result is sent, so that client determines whether the sound quality of local media file is lower than service according to the comparison result
The sound quality of the corresponding media file of device.
S302 determines online Media file corresponding with the file identification, using the online Media file as update
Media file be sent to client so that the client receive server send update media file after, make
With the local media file of the media file update client of the update;Wherein, the sound quality of the media file of the update is high
In the sound quality of the local media file.
When server receives the downloading request comprising media file identification of client transmission, then according to the file
Mark determines online Media file corresponding with the file identification, using the online Media file as the media file updated
It is sent to client.Wherein, the sound quality of the media file of the update is higher than the sound quality of the local media file.
Further, method provided in an embodiment of the present invention further include: receive the ID3 information update that client is sent and ask
It asks;Wherein, ID3 information update request be the client in the sound quality for determining the local media file not less than service
It is sent when the sound quality of the corresponding online Media file of device to the server;The local media with client is sent to client
The matched ID3 information of file, so that client updates the ID3 information of local file.
Further, method provided in an embodiment of the present invention further include: the local media file that client is sent is received, when
When determining that the sound quality of the local media file is higher than the sound quality of online Media file, updated using received local media file
Online Media file.
Method of the invention is introduced below with reference to several concrete implementation modes, embodiment shown below is pair
The change or deformation of Fig. 2 or embodiment illustrated in fig. 3.
Fig. 4 schematically shows the media file quality upgrade method flow charts of another embodiment according to the present invention.
S401, client determines whether to receive the media file quality upgrade request of user, if so, entering step
S402。
Wherein, client determines whether that the media file quality upgrade request for receiving user may include: to work as to detect
When cursor stays predeterminable area, the first prompt information is shown;First prompt information carries out media for prompting the user whether
Document quality updating operation;After receiving clicking operation of the user for first prompt information, it is determined that receive use
The media file quality upgrade request at family.When specific implementation, upgrading sound quality button can be set in client end interface, when detecting
Cursor remain in it is described upgrading sound quality button where region when, then display for prompt the user whether carry out media file quality
First prompt information of updating operation.When detecting that user carries out clicking operation for the first information, then user is received surely
Media file quality upgrade request.It further, can be with when detecting that user carries out clicking operation for the first information
It further prompts the user whether to replace local media file using the media file of update, if user selects to determine, protect
After the media file for depositing update, the low local media file of old sound quality is also further deleted.
In another implementation, client determines whether that the media file quality upgrade request for receiving user can
To include: to show right-click menu when receiving right click operation;Wherein the right-click menu includes media file quality liter
Grade option;When receiving clicking operation of the user for the preset options of the right-click menu, it is determined that receive user's
Media file quality upgrade request.Further, when receiving the right click operation of user, right-click menu is shown, wherein
Right-click menu includes media file quality upgrade option.It is selected when receiving the media file quality upgrading for the right-click menu
When the clicking operation of item, it is determined that receive the media file quality upgrade request of user.It should be noted that user can be
When clicking single by right key, right-click menu is shown.It is also possible to when clicking other predeterminated positions of client end interface by right key, display is right
Key menu.Herein without limiting.
S402, client judge whether the local media file obtained has preset mark information, if not, entering step
Rapid S403, if so, entering step S406.
Wherein, include file identification in the preset mark information, be used for unique identification media file.Specific implementation
When, client can include media in the mark information to preset mark information from the media file that server is downloaded
The file identification of file.It such as may include that the audio file to download from cloud music servers adds cloud music mark, described
Cloud music mark includes the file identification of the audio file, for audio file described in unique identification.
S403, client extract the audio-frequency fingerprint information of local media file, send local media file to server
Audio-frequency fingerprint information.
S404, server receive audio-frequency fingerprint information, determine corresponding media file identification and online Media file sound
Matter information sends the sound quality information of media file identification and online Media file to client.
S405, client believe the sound quality information of the local media file of acquisition and the sound quality of the online Media file of acquisition
Breath is compared, to determine whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server.If so,
Enter step S409.
S406, client extract the file identification of media file from mark information, and user end to server transmission includes
The sound quality of the file identification of local media file is requested.
S407, server send the sound quality information of online Media file corresponding with the file identification to client.
S408, when client receives the sound quality information of the online Media file of server transmission, client will be obtained
The sound quality information of local media file be compared with the sound quality information of the online Media file of acquisition, to determine local media
Whether the sound quality of file is lower than the sound quality of the corresponding media file of server.If so, entering step S409.
S409, when client determines whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server
When, media file downloading request is sent to server, the downloading request includes the file identification of local media file.
S410, server obtain online Media file according to the file identification, send online media file to client.
S411, client update local media file using the online Media file updated.Wherein, local media text is updated
Part includes replacing local media file with the online Media file updated, and delete local media file.
It should be noted that step S403 is specifically as follows: S403 ', client in another implementation of the invention
End judges local media file with the presence or absence of corresponding 3 information of file song tag ID, if so, by the local media text of acquisition
3 information of file song tag ID of part is sent to server.Then S404 is specifically as follows: S404 ' server sends client
3 information of file song tag ID be compared and obtain with 3 information of file song tag ID that the server saves
Matching result, and the corresponding file identification of media file and the matching result of the sound quality information of online Media file hair will be included
Give client.
Certainly, it will be appreciated by persons skilled in the art that obtaining the file identification of media file by audio-frequency fingerprint, leading to
It crosses the file identification of 3 acquisition of information media file of file song tag ID and media file is obtained by preset mark information
The mode of file identification can be separately from can also be applied in combination, those skilled in the art, which can according to need, to be set
It sets, is not making the creative labor lower other implementations of acquisition, all belonging to the scope of protection of the present invention.
Referring to Fig. 5, it is schematically shown that media file quality upgrade method process according to yet another embodiment of the invention
Figure, the method may include:
S501 obtains the file identification of local media file.
When specific implementation, client can be in response to the operation of the starting client, in pre-set file scan
Scanning medium file in path;At least partly media file that scanning obtains is added to the client based on default rule
Local playlist in, to generate the local playlist of the client.Then, the local of the client is obtained to play
List;When there are corresponding file song tag IDs 3 to believe for the media file in the local playlist of the client of acquisition
When breath, 3 information of file song tag ID of acquisition is sent to server, so that the server sends client
3 information of file song tag ID be compared and obtain with 3 information of file song tag ID that the server saves
Matching result;Receive the matching result that the server is sent;When the matching result shows that the local of the client plays
The file song tag ID 3 saved in corresponding 3 information of file song tag ID of media file and the server in list
When information matches, the media file song information for including in the matching result of the server transmission is shown;Wherein, the matching
Result further includes the corresponding media file identification of the media file, and the media file identification is for media described in unique identification
File.
That is, client can be scanned preset scan path, local audio file is added to client
In the playlist at end, and by ID3 information matches, the file identification of the local media file in client is obtained.
S502, user end to server send the sound quality request comprising local media file mark.
When specific implementation, client can set regular time or fixed time interval and send sound quality to server
Request.For example, the time interval timing of setting one day or one week sends sound quality request to server.
S503, server send the sound quality information of online Media file corresponding with file identification to client.
S504, client believe the sound quality information of the local media file of acquisition and the sound quality of the online Media file of acquisition
Breath is compared, to determine whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server.
S505, when client determines the sound quality of the local media file lower than the corresponding online Media file of server
When sound quality, show that the first prompt information, first prompt information carry out media file quality upgrading for prompting the user whether
Operation.Receive the clicking operation that user is directed to first prompt information.
S506 is directed to the operation of client in response to user, then triggers the operation that downloading request is sent to server.It is described
Downloading request includes the file identification of local media file.
It should be noted that in another implementation, when client determines the sound quality of the local media file
When the sound quality of online Media file corresponding lower than server, judges whether user is arranged and carry out automatic media document quality liter
Grade, if it is, triggering the operation for sending downloading request to server.The downloading request includes the file of local media file
Mark.
S507, server obtain online Media file according to the file identification in downloading request, send to client online
Media file.
S508, client update local media file using the online Media file updated.Wherein, local media text is updated
Part includes replacing local media file with the online Media file updated, and delete local media file.
It should be noted that local media file can also be held compared with online Media file sound quality by server end
Row, then the realization of step S502-S504 can also use following implementation: S502 ', and user end to server is sent comprising this
The comparison of the sound quality information of the file identification and local media file of ground media file is requested.S503 ', server are receiving
After the relatively request, the sound quality information of the online Media file corresponding with the file identification saved in server is determined,
And compared with the sound quality information of the online Media file is compared with the sound quality information of the local media file to obtain
As a result, and sending comparison result to client.S504 ', client receives the comparison result that server is sent, according to the comparison
As a result determine whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server.
Other are obtained it will be appreciated by persons skilled in the art that can be modified and deform in a manner of to implementation above
Implementation all belongs to the scope of protection of the present invention.
Referring to Fig. 6, it is schematically shown that media file quality upgrade method process according to another embodiment of the present invention
Figure;
S601, client determines whether to receive the media file quality upgrade request of user, if so, entering step
S602。
Wherein, the specific implementation of step S601 can be identical as step S401.
S602, client obtain the file identification of local media file, send to server comprising local media file
The comparison of the sound quality information of file identification and local media file is requested.
Wherein, client obtains the mode of the file identification of local media file without limiting.
S603, server receive it is described relatively request after, determine being saved in server with the file identification pair
The sound quality information for the online Media file answered, and by the sound quality information of the online Media file and the local media file
Sound quality information is compared to obtain comparison result.
S 604, server send comparison result to client.
S605, client determine whether the sound quality of local media file is lower than the corresponding media of server according to comparison result
The sound quality of file.
S606, when the sound quality for determining local media file is lower than the sound quality of the corresponding media file of server, to service
Device sends the downloading comprising media file identification and requests.
S607, server obtain online Media file according to the file identification in downloading request, send to client online
Media file.
S608, client update local media file using the online Media file updated.Wherein, local media text is updated
Part includes replacing local media file with the online Media file updated, and delete local media file.
It in this embodiment, is that the local that client is sent is received by server unlike preceding several embodiments
The sound quality information of media file, and the online Media file that the sound quality information of the local media file of acquisition and server are saved
Sound quality information be compared to obtain comparison result.
It will be appreciated by persons skilled in the art that the mode that above-described embodiment can be changed, be deformed, combining obtains it
His implementation, all belongs to the scope of protection of the present invention.
Example devices
After describing the method for exemplary embodiment of the invention, next, with reference to Fig. 7 to the exemplary reality of the present invention
The client device for media file quality upgrading for applying mode is introduced.
Referring to Fig. 7, it is schematically shown that client device block diagram according to an embodiment of the invention, the client are set
Standby 700 for example may include: file identification obtaining unit 701, be configured to obtain the file identification of local media file, described
File identification is for media file described in unique identification;Request transmitting unit 702 is downloaded, is configured to as the determining local matchmaker
When the sound quality of body file is lower than the sound quality of the corresponding online Media file of server, downloading request is sent to server;Wherein, institute
It states downloading request and includes the file identification of the local media file obtained;Receiving unit 703 is configured to receive server transmission
Update media file;Wherein, the sound quality of the media file of the update is higher than the sound quality of the local media file;It updates
Unit 704 is configured to local media file described in the media file update using the update.
Further, file identification obtaining unit 701 is specially the first file identification obtaining unit, first files-designated
Knowing obtaining unit includes extraction unit, audio-frequency fingerprint information transmitting unit, file identification receiving unit, in which: audio-frequency fingerprint letter
Extraction unit is ceased, is configured to extract the audio-frequency fingerprint information of the local media file;Wherein, the audio-frequency fingerprint information is used
In the signal characteristic for characterizing the local media file;Audio-frequency fingerprint information transmitting unit is configured to send institute to server
Audio-frequency fingerprint information is stated, so that the server is after receiving the audio-frequency fingerprint information, by the audio-frequency fingerprint information
And the audio-frequency fingerprint in server is matched the file identification to determine media file corresponding with the audio-frequency fingerprint information;
File identification receiving unit is configured to receive files-designated of the file identification of server transmission as the local media file
Know.
Further, the client device further include: the first judging unit is configured to the local media that judgement obtains
Whether file has preset mark information;It wherein, include file identification in the preset mark information;It is obtained when judgement
When local media file has preset mark information, into the second file identification obtaining unit;As the local matchmaker that judgement obtains
When body file does not have preset mark information, into the first file identification obtaining unit.
Further, the file identification obtaining unit 701 is specially the second file identification obtaining unit, is configured to work as
When the local media file that judgement obtains has preset mark information, extraction document is identified from the mark information.
Further, the file identification obtaining unit 701 is specially third file identification obtaining unit, including ID3 letter
Cease transmission unit, matching result receiving unit, in which: the ID3 information transmitting unit is configured to when the local media obtained
3 information of file song tag ID of acquisition is sent to service there are when corresponding file song 3 information of tag ID by file
Device, so that the text that 3 information of file song tag ID and the server that the server sends client save
3 information of part song tag ID is compared and obtains matching result;The matching result receiving unit, is configured to described in reception
The matching result that server is sent obtains the file identification of local media file according to the matching result;Wherein, when described
3 information of file song tag ID saved in corresponding 3 information of file song tag ID of ground media file and the server
Timing, the matching result include the corresponding file identification of the media file.Further, the client device further includes
Determination unit is configured to determine the sound quality whether sound quality of local media file is lower than the corresponding media file of server.
Wherein, the determination unit is specially the first determination unit, first determination unit include sound quality request unit,
Sound quality information receiving unit, comparing unit, in which: the sound quality request unit is configured to send to server comprising local matchmaker
The sound quality of the file identification of body file is requested, so that the server determines server after receiving the sound quality request
The sound quality information of the online Media file corresponding with the file identification of middle preservation;The sound quality information receiving unit, configuration
For receiving the sound quality information of the online Media file of server transmission;The comparing unit is configured to the local matchmaker that will be obtained
The sound quality information of the online Media file of the sound quality information and acquisition of body file is compared, to determine the sound of local media file
Whether matter is lower than the sound quality of the corresponding media file of server.
Further, the determination unit is specially the second determination unit, and second determination unit includes comparing request
Transmission unit, comparison result receiving unit, in which: the relatively request transmitting unit is configured to send to server comprising this
The comparison of the sound quality information of the file identification and local media file of ground media file is requested, so that the server is connecing
After receiving the relatively request, the sound quality letter of the online Media file corresponding with the file identification saved in server is determined
Breath, and the sound quality information of the online Media file is compared with the sound quality information of the local media file to obtain ratio
Relatively result;The comparison result receiving unit is configured to receive the comparison result that server is sent, according to the comparison result
Determine whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server.
Further, the client device further include: upgrade request receiving unit is configured to determine whether to receive
The media file quality upgrade request of user;If it is, triggering executes the file identification for obtaining local media file
Operation.
Wherein, the upgrade request receiving unit is configured to when detecting that cursor stays predeterminable area, display first
Prompt information;First prompt information carries out media file quality updating operation for prompting the user whether;When receiving use
After family is for the clicking operation of first prompt information, it is determined that receive the media file quality upgrade request of user;Or
Person shows right-click menu when receiving right click operation;Wherein the right-click menu includes media file quality upgrading choosing
;When receiving clicking operation of the user for the preset options of the right-click menu, it is determined that receive the media of user
Document quality upgrade request.
Further, the client device further include: the first prompt unit is configured to when the determining local media
When the sound quality of file is lower than the sound quality of the corresponding online Media file of server, before sending downloading request to server, show
Show that the first prompt information, first prompt information carry out media file quality updating operation for prompting the user whether;When connecing
After user is received for the clicking operation of first prompt information, then the operation that downloading request is sent to server is triggered.
Further, the client device further include: triggering judging unit, be configured to judge user whether be arranged into
Row automatic media document quality upgrading, if it is, triggering the operation for sending downloading request to server.
Further, the client device further include: ID3 information update request unit is configured to work as described in determination
When the sound quality of local media file is not less than the sound quality of the corresponding online Media file of server, ID3 information is sent to server
Update request.
ID3 information updating unit, be configured to using server return with the matched ID3 information of local media file more
The ID3 information of new local file.
Further, the client device further include: the second prompt unit is configured to when the determining local media
When the sound quality of file is higher than the sound quality of the corresponding online Media file of server, the second prompt information is shown;Second prompt
Information is for prompting the user whether local media file being uploaded to server.
Uploading unit is configured to be directed to the trigger action of the second prompt information in response to user, by local media file
It is uploaded to server.
Referring to Fig. 8, it is schematically shown that server apparatus block diagram according to an embodiment of the invention, the server are set
Standby 800 for example may include: downloading request reception unit 801, and be configured to reception client transmission includes local media text
The downloading of the file identification of part is requested;Wherein, the downloading request is to determine the local media file in the client
Sound quality be lower than the corresponding online Media file of server sound quality when to server send;Media file transmission unit 802,
It is configured to determine online Media file corresponding with the file identification, using the online Media file as the media updated
File is sent to client, so that after the media file for the update of the client sent in reception server, using described
The local media file of the media file update client of update;Wherein, the sound quality of the media file of the update is higher than described
The sound quality of local media file.
Further, the server apparatus further include: audio-frequency fingerprint information receiving unit is configured to receive client
The audio-frequency fingerprint information of the local media file of transmission;Wherein, the audio-frequency fingerprint information is for characterizing the audio fragment
Signal characteristic.File identification matching unit is configured to carry out the audio-frequency fingerprint in the audio-frequency fingerprint information and server
Matching is with the file identification of determining media file corresponding with the audio-frequency fingerprint information.File identification transmission unit, configuration are used
In the file identification for the corresponding media file of the audio-frequency fingerprint information for sending the determination to client.
Further, the server apparatus further include: ID3 information receiving unit is configured to receive client transmission
3 information of file song tag ID corresponding with local media file.ID3 information matching unit is configured to send out client
3 information of file song tag ID sent is compared and obtains with 3 information of file song tag ID that the server saves
Obtain matching result.Matching result transmission unit is configured to send the matching result to client;Wherein, when the local
3 information matches of file song tag ID saved in corresponding 3 information of file song tag ID of media file and the server
When, the matching result includes the corresponding file identification of the media file.
Further, the server apparatus further include: sound quality request reception unit is configured to receive client transmission
The file identification comprising local media file sound quality request.First sound quality information determination unit, is configured to according to
Sound quality requests to determine the sound quality information of the online Media file corresponding with the file identification saved in server.Sound quality information
Transmission unit is configured to send the sound quality information of the online Media file to client, so that the client will obtain
The sound quality information of the local media file obtained is compared with the sound quality information of the online Media file of acquisition, to determine local matchmaker
Whether the sound quality of body file is lower than the sound quality of the corresponding media file of server.
Further, the server apparatus further include: compare request reception unit, be configured to receive client transmission
The file identification comprising local media file and local media file sound quality information comparison request;Second sound quality information
Determination unit is configured to relatively request to determine the online matchmaker corresponding with the file identification saved in server according to described
The sound quality information of body file;Sound quality comparing unit is configured to the sound quality information of the online Media file and the local
The sound quality information of media file is compared to obtain comparison result;Comparison result transmission unit is configured to send out to client
The comparison result is sent, so that client determines whether the sound quality of local media file is lower than service according to the comparison result
The sound quality of the corresponding media file of device.
Further, the server apparatus further include: ID3 information update request reception unit is configured to receive visitor
The ID3 information update request that family end is sent;Wherein, the ID3 information update request is that the client is determining the local
The sound quality of media file be not less than the corresponding online Media file of server sound quality when to the server send;ID3 letter
Breath updates transmission unit, is configured to send the matched ID3 information of local media file with client to client, so as to visitor
The ID3 information of family end update local file.
If it should be noted that although be referred in the above detailed description client device and server apparatus equipment for drying or
Sub-device, but this division is only not enforceable.In fact, embodiment according to the present invention, above-described two
The feature and function of a or more device can embody in one apparatus.Conversely, the feature of an above-described device
It can be to be embodied by multiple devices with further division with function.In addition, although describing this in the accompanying drawings with particular order
The operation of inventive method, still, this does not require that or implies must execute these operations in this particular order, or must
Operation shown in whole must be executed and be just able to achieve desired result.Additionally or alternatively, it is convenient to omit certain steps, it will be multiple
Step is merged into a step and is executed, and/or a step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this
It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects
Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and
Included various modifications and equivalent arrangements in range.
Claims (11)
1. a kind of method applied to client, the client are connect with server, comprising:
The file identification of local media file is obtained, the file identification is for media file described in unique identification;
The sound quality request that the file identification comprising local media file is sent to server, so that the server is receiving
After the sound quality request, the sound quality information of the online Media file corresponding with the file identification saved in server is determined;
Receive the sound quality information for the online Media file that server is sent;By the sound quality information of the local media file of acquisition and acquisition
The sound quality information of online Media file is compared, to determine whether the sound quality of local media file is lower than the corresponding matchmaker of server
The sound quality of body file;Alternatively, sending the sound of the file identification comprising local media file and local media file to server
The comparison of matter information is requested so that the server receive it is described relatively request after, determine saved in server with
The sound quality information of the corresponding online Media file of the file identification, and by the sound quality information of the online Media file with it is described
The sound quality information of local media file is compared to obtain comparison result;The comparison result that server is sent is received, according to institute
It states comparison result and determines whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server;
When the sound quality for determining the local media file is lower than the sound quality of the corresponding online Media file of server, display first
Prompt information, first prompt information carry out media file quality updating operation for prompting the user whether;
It receives user and sends downloading request to server for after the trigger action of first prompt information;Wherein, described
Downloading request includes the file identification of the local media file;
The media file for receiving the update that server is sent replaces the local media text using the media file of the update
Part, and it is automatically deleted the low local media file of sound quality;Wherein, the sound quality of the media file of the update is higher than the local matchmaker
The sound quality of body file;
When the sound quality for determining the local media file is higher than the sound quality of the corresponding online Media file of server, display second
Prompt information;Second prompt information is for prompting the user whether local media file being uploaded to server;
It is directed to the trigger action of the second prompt information in response to user, local media file is uploaded to server.
When the sound quality for determining the local media file is not less than the sound quality of the corresponding online Media file of the server, show
Show third prompt information;The third prompt information updates ID3 information for prompting the user whether;
It is directed to the trigger action of the third prompt information in response to user, sends the request of ID3 information update to server;
According to the server return with local media file described in the matched ID3 information update of the local media file
ID3 information.
2. according to the method described in claim 1, wherein, the file identification for obtaining local media file, comprising:
Extract the audio-frequency fingerprint information of the local media file;Wherein, the audio-frequency fingerprint information is for characterizing the media
The signal characteristic of file;
The audio-frequency fingerprint information is sent to server, so that the server is after receiving the audio-frequency fingerprint information,
Audio-frequency fingerprint in the audio-frequency fingerprint information and server is matched corresponding with the audio-frequency fingerprint information with determination
The file identification of media file;
Receive file identification of the file identification of server transmission as the local media file.
3. according to the method described in claim 2, also being wrapped before the audio-frequency fingerprint information for extracting the local media file
It includes:
Judge whether the local media file obtained has preset mark information;Wherein, it is wrapped in the preset mark information
Containing file identification;
Then the file identification for obtaining local media file includes:
When the local media file that judgement obtains has preset mark information, the extraction document mark from the mark information
Know.
4. according to the method described in claim 1, wherein, the file identification for obtaining local media file, comprising:
When the local media file of acquisition is there are when corresponding file song 3 information of tag ID, by the file song of acquisition
3 information of tag ID is sent to server, so that 3 information of file song tag ID that the server sends client
It is compared with 3 information of file song tag ID that the server saves and obtains matching result;
The matching result that the server is sent is received, the file identification of local media file is obtained according to the matching result;
Wherein, when the file song saved in corresponding 3 information of file song tag ID of the local media file and the server
When 3 information matches of tag ID, the matching result includes the corresponding file identification of the media file.
5. according to the method described in claim 1, before the file identification for obtaining local media file, further includes:
When receiving right click operation, right-click menu is shown;Wherein the right-click menu upgrades comprising media file quality
Option;
When receiving clicking operation of the user for the preset options of the right-click menu, it is determined that receive the media of user
Document quality upgrade request.
6. according to the method described in claim 1, when the sound quality for determining the local media file it is corresponding lower than server
When the sound quality of line media file, before sending downloading request to server, further includes:
Judge whether user is arranged and carry out the upgrading of automatic media document quality, is asked if it is, triggering and sending downloading to server
The operation asked.
7. a kind of method applied to server, the server are connect with client, comprising:
Receive the sound quality request for the file identification comprising local media file that client is sent, wherein the file identification is used
The media file described in unique identification;
In response to the sound quality request received, determine saved in the server it is corresponding with the file identification online
The sound quality information of media file is simultaneously sent to the client so that the client is by the sound quality of the local media file
Information is compared so that whether the sound quality of the determination local media file is lower than with the sound quality information of the online Media file
The sound quality of the corresponding media file of the server;Alternatively,
The file identification comprising the local media file and the local media file sent in response to the client
The comparison of sound quality information is requested, and determines the sound of the online Media file corresponding with the file identification saved in the server
Matter information, and the sound quality information of the online Media file is compared with the sound quality information of the local media file to obtain
Obtain comparison result;The comparison result is sent to the client so that the client is determined according to the comparison result
Whether the sound quality of the local media file is lower than the sound quality of the corresponding media file of the server;
When the sound quality for determining the local media file is lower than the sound quality of the corresponding online Media file of the server, receive
The client end response is in user for the downloading request sent after the first prompt information trigger action;Wherein, it described first mentions
Show that information is shown in the client to prompt the user whether to carry out media file quality updating operation, the downloading request includes
The file identification of the local media file;
The media file updated is sent to client according to the downloading request, so that the client uses the matchmaker of the update
Body file replaces the local media file, and is automatically deleted the low local media file of sound quality;Wherein, the media of the update
The sound quality of file is higher than the sound quality of the local media file;
When the sound quality for determining the local media file is higher than the sound quality of the corresponding online Media file of the server, receive
The local media file that the client end response is sent after the trigger action that user is directed to the second prompt information, wherein
Second prompt information is shown in the client to prompt the user whether the local media file being sent to the clothes
Business device;
When the sound quality for determining the local media file is not less than the sound quality of the corresponding online Media file of the server, connect
Receive the ID3 information update request that the client end response is sent after the trigger action that user is directed to third prompt information, wherein
The third prompt information is shown in the client to prompt the user whether to update ID3 information;According to the ID3 information update
Request will be sent to the client so that the client updates described with the matched ID3 information of the local media file
The ID3 information of ground media file.
8. method according to claim 7, further includes:
Receive the audio-frequency fingerprint information for the local media file that client is sent;Wherein, the audio-frequency fingerprint information is for characterizing
The signal characteristic of the audio fragment;
The audio-frequency fingerprint information is matched with the audio-frequency fingerprint in server with the determining and audio-frequency fingerprint information pair
The file identification for the media file answered;
The file identification of the corresponding media file of the audio-frequency fingerprint information of the determination is sent to client.
9. according to the method described in claim 7, further include:
Receive 3 information of file song tag ID corresponding with local media file that client is sent;
The file song tag ID 3 that 3 information of file song tag ID that client is sent is saved with the server is believed
Breath is compared and obtains matching result;
The matching result is sent to client;Wherein, when corresponding 3 information of file song tag ID of the local media file
With saved in the server file song 3 information matches of tag ID when, the matching result includes the media file pair
The file identification answered.
10. a kind of client device, comprising:
File identification obtaining unit is configured to obtain the file identification of local media file, and the file identification is for unique
Identify the media file;
Sound quality request unit is configured to send the sound quality request of the file identification comprising local media file to server, with
So that the server after receiving sound quality request, determine saved in server it is corresponding with the file identification
The sound quality information of line media file;Sound quality information receiving unit is configured to receive the online Media file of server transmission
Sound quality information;Comparing unit is configured to the sound quality information for the local media file that will be obtained and the online Media file of acquisition
Sound quality information be compared, to determine whether the sound quality of local media file is lower than the sound of the corresponding media file of server
Matter;Alternatively, comparing request transmitting unit, it is configured to send the file identification comprising local media file and sheet to server
The comparison of the sound quality information of ground media file is requested, so that the server determines clothes after receiving the relatively request
The sound quality information of online Media file corresponding with the file identification saved in business device, and by the online Media file
Sound quality information is compared with the sound quality information of the local media file to obtain comparison result;Comparison result receiving unit,
It is configured to receive the comparison result that server is sent, determines whether the sound quality of local media file is low according to the comparison result
In the sound quality of the corresponding media file of server;
First prompt unit is configured to the sound quality when the local media file lower than the corresponding online Media file of server
Sound quality when, show the first prompt information, first prompt information for prompt the user whether carry out media file quality liter
Grade operation;
Download request transmitting unit, be configured to when receive user for first prompt information trigger action after, to
Server sends downloading request;Wherein, the downloading request includes the file identification of the local media file obtained;
Receiving unit is configured to receive the media file for the update that server is sent;Wherein, the media file of the update
Sound quality is higher than the sound quality of the local media file;
Updating unit is configured to replace the local media file using the media file of the update, and is automatically deleted sound
The low local media file of matter;
Second prompt unit is configured to be higher than the corresponding online Media of server when the sound quality for determining the local media file
When the sound quality of file, the second prompt information is shown;Second prompt information is for prompting the user whether local media file
It is uploaded to server;
Uploading unit is configured to be directed to the trigger action of the second prompt information in response to user, local media file is uploaded
To server;
ID3 information update request unit is configured to be not less than the server when the sound quality for determining the local media file
When the sound quality of corresponding online Media file, third prompt information is shown;The third prompt information is for prompting the user whether
Update ID3 information;It is directed to the trigger action of the third prompt information in response to user, sends ID3 information update to server
Request;
ID3 information updating unit, be configured to be returned according to the server believes with the matched ID3 of the local media file
Breath updates the ID3 information of the local media file.
11. a kind of server apparatus, comprising:
Request reception unit is downloaded, is configured to receive the downloading for the file identification comprising local media file that client is sent
Request;Wherein, the downloading request is in the sound quality for determining the local media file in the client lower than server pair
It is sent when the sound quality for the online Media file answered to server;
Sound quality request reception unit is configured to receive the sound quality for the file identification comprising local media file that client is sent
Request, wherein the file identification is for media file described in unique identification;First sound quality information determination unit, is configured to
According to the sound quality information for the online Media file corresponding with the file identification that the sound quality requests to save in determining server;
Sound quality information transmitting unit is configured to send the sound quality information of the online Media file to client, so that the visitor
The sound quality information of the local media file of acquisition is compared with the sound quality information of the online Media file of acquisition with true by family end
Whether the sound quality for determining local media file is lower than the sound quality of the corresponding media file of server;Or include:
Compare request reception unit, is configured to receive the file identification comprising local media file and sheet that client is sent
The comparison of the sound quality information of ground media file is requested;Second sound quality information determination unit is configured to relatively be requested according to described
Determine the sound quality information of the online Media file corresponding with the file identification saved in server;Sound quality comparing unit, matches
It sets for being compared the sound quality information of the online Media file with the sound quality information of the local media file to obtain
Comparison result;Comparison result transmission unit is configured to send the comparison result to client, so that client is according to institute
It states comparison result and determines whether the sound quality of local media file is lower than the sound quality of the corresponding media file of server;
The server apparatus further include:
Media file transmission unit is configured to when the sound quality for determining the local media file is corresponding lower than the server
When the sound quality of online Media file, receive what the client end response was sent after user is directed to the first prompt information trigger action
Downloading request;Wherein, first prompt information is shown in the client to prompt the user whether to carry out media file quality
Updating operation, the downloading request include the file identification of the local media file;It is requested according to the downloading to client
The media file updated is sent, so that using after the media file for receiving the update that server is sent for the client is described
The local media file of the media file replacement client of update, and it is automatically deleted the low local media file of sound quality;Wherein, institute
The sound quality for stating the media file of update is higher than the sound quality of the local media file;
Media file receiving unit is configured to when the sound quality for determining the local media file is corresponding higher than the server
When the sound quality of online Media file, receives the client end response and sent after the trigger action that user is directed to the second prompt information
The local media file, wherein second prompt information is shown in the client so that prompt the user whether will be described
Local media file is sent to the server;
ID3 information update request reception unit is configured to be not less than the clothes when the sound quality for determining the local media file
When the sound quality of the corresponding online Media file of business device, the triggering that the client end response is directed to third prompt information in user is received
The ID3 information update request sent after operation, wherein the third prompt information is shown in the client to prompt the user to be
No update ID3 information;
ID3 information update transmission unit, being configured to will be with the local media file according to ID3 information update request
The ID3 information matched is sent to the client so that the client updates the ID3 information of the local media file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910731135.8A CN110427344A (en) | 2014-01-17 | 2014-01-17 | A kind of media file quality upgrade method and equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910731135.8A CN110427344A (en) | 2014-01-17 | 2014-01-17 | A kind of media file quality upgrade method and equipment |
CN201410024003.9A CN103699701A (en) | 2014-01-17 | 2014-01-17 | Media file quality upgrading method and equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410024003.9A Division CN103699701A (en) | 2014-01-17 | 2014-01-17 | Media file quality upgrading method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110427344A true CN110427344A (en) | 2019-11-08 |
Family
ID=50361229
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910731135.8A Pending CN110427344A (en) | 2014-01-17 | 2014-01-17 | A kind of media file quality upgrade method and equipment |
CN201410024003.9A Pending CN103699701A (en) | 2014-01-17 | 2014-01-17 | Media file quality upgrading method and equipment |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410024003.9A Pending CN103699701A (en) | 2014-01-17 | 2014-01-17 | Media file quality upgrading method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110427344A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114546522A (en) * | 2022-02-07 | 2022-05-27 | 北京百度网讯科技有限公司 | Picture configuration method and device of application, electronic equipment and storage medium |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104462210B (en) * | 2014-11-04 | 2018-08-24 | 杭州网易云音乐科技有限公司 | A kind of reminding method and equipment of audio file |
CN104361897B (en) * | 2014-11-21 | 2017-09-29 | 杭州网易云音乐科技有限公司 | A kind of method and device for making tone |
CN106257928B (en) * | 2015-06-19 | 2020-06-30 | 阿里巴巴集团控股有限公司 | Audio file acquisition method, update notification sending method, equipment and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120124172A1 (en) * | 2010-11-15 | 2012-05-17 | Google Inc. | Providing Different Versions of a Media File |
CN103455513A (en) * | 2012-06-01 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Updating method and updating device for audio file |
CN103455514A (en) * | 2012-06-01 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Updating method and updating device for audio file |
CN103475731A (en) * | 2013-09-23 | 2013-12-25 | 网易(杭州)网络有限公司 | Media information matching and processing method and device |
-
2014
- 2014-01-17 CN CN201910731135.8A patent/CN110427344A/en active Pending
- 2014-01-17 CN CN201410024003.9A patent/CN103699701A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120124172A1 (en) * | 2010-11-15 | 2012-05-17 | Google Inc. | Providing Different Versions of a Media File |
CN103455513A (en) * | 2012-06-01 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Updating method and updating device for audio file |
CN103455514A (en) * | 2012-06-01 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Updating method and updating device for audio file |
CN103475731A (en) * | 2013-09-23 | 2013-12-25 | 网易(杭州)网络有限公司 | Media information matching and processing method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114546522A (en) * | 2022-02-07 | 2022-05-27 | 北京百度网讯科技有限公司 | Picture configuration method and device of application, electronic equipment and storage medium |
CN114546522B (en) * | 2022-02-07 | 2023-12-12 | 北京百度网讯科技有限公司 | Picture configuration method and device for application, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103699701A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10311877B2 (en) | Performing tasks and returning audio and visual answers based on voice command | |
CN103460723B (en) | Push notifications for updating multiple dynamic icon panels | |
CN103475731A (en) | Media information matching and processing method and device | |
US20120260202A1 (en) | Customized launching of applications | |
US20120117599A1 (en) | Thumbnail publication | |
CN102497407B (en) | Terminal and server-based data updating method | |
CN108447509B (en) | Method and device for generating multimedia file | |
CN105183513A (en) | Application recommendation method and apparatus | |
JP6891933B2 (en) | Information processing system and information processing method | |
CN103533011A (en) | Intelligent terminal data configuration method and system based on cloud terminal | |
CN104091596B (en) | A kind of melody recognition methods, system and device | |
CN105915701A (en) | Information recommending method and apparatus | |
CN110708571B (en) | Video clip playing control method and related product | |
CN103974143A (en) | Method and device for generating media data | |
CN107408243A (en) | Enclosures control for the annex in management of dialogs is provided | |
CN110427344A (en) | A kind of media file quality upgrade method and equipment | |
CN110781408A (en) | Information display method and device | |
US20200126564A1 (en) | Review system for online communication, method, and computer program | |
CN111506551B (en) | Conference file extraction method, system and computer equipment | |
CN102932325A (en) | Registered users of an application | |
US20140114920A1 (en) | Method For Synchronizing Files | |
CN111090533A (en) | Notice information sending method and device, electronic equipment and storage medium | |
CN104063475A (en) | User-defined list processing method and device | |
CN112382372A (en) | System, method and equipment for viewing DICOM file based on network page | |
WO2016161922A1 (en) | Video file processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |