CN104598612B - Synchronous method and device that playback of songs is shown with big envelope picture - Google Patents

Synchronous method and device that playback of songs is shown with big envelope picture Download PDF

Info

Publication number
CN104598612B
CN104598612B CN201510049771.4A CN201510049771A CN104598612B CN 104598612 B CN104598612 B CN 104598612B CN 201510049771 A CN201510049771 A CN 201510049771A CN 104598612 B CN104598612 B CN 104598612B
Authority
CN
China
Prior art keywords
big envelope
song
picture
type
title
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.)
Expired - Fee Related
Application number
CN201510049771.4A
Other languages
Chinese (zh)
Other versions
CN104598612A (en
Inventor
黄浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510049771.4A priority Critical patent/CN104598612B/en
Publication of CN104598612A publication Critical patent/CN104598612A/en
Application granted granted Critical
Publication of CN104598612B publication Critical patent/CN104598612B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

There is provided the synchronous method and device that a kind of playback of songs and big envelope picture are shown for big envelope picture display field of the invention suitable for player.Methods described includes:Receive after song selection instruction, set up structure, the structure is used for title, the place path for storing selected song, the type of big envelope picture to display;Search the big envelope picture of the selected song;The type of selected song big envelope picture to display is determined according to the priority of the mode for the big envelope picture for finding the selected song and the mode of the big envelope picture for finding the selected song, and the type of the selected song big envelope picture to display of determination is stored in the structure set up;The structure of foundation is sent to mobile device end, so that the mobile device end reads and shows corresponding big envelope picture.It is synchronous that the embodiment of the present invention enables to that playback of songs and big envelope picture show.

Description

Synchronous method and device that playback of songs is shown with big envelope picture
Technical field
The embodiment of the present invention belongs to the big envelope picture display field of player, more particularly to a kind of playback of songs and big envelope figure Synchronous method and device that piece is shown.
Background technology
At present, blue light player is generally configured with the application (APPlication, APP) of a mobile device end, the APP The institute that whole blue light player can be manipulated is functional.When blue light player plays song, APP ends have one to broadcast (nowplaying) interface is put, the big envelope picture for the song played can be shown.Wherein, blue light player can be shown The type of big envelope picture is divided into four kinds (being respectively A, B, C, D):
A, identical file is in song, and the picture of the same name with song can as song big envelope picture.
B, deposit song file in have one be named as folder (such as folder.jpg, folder.png, Folder.bmp etc.) picture, then the big envelope figure for being named as all songs during folder picture can be pressed from both sides as this document Piece.
C, by the picture corresponding with song of Network Capture can also as song big envelope picture, such as from The picture that gracenote databases are obtained.
D, by parsing song corresponding file in itself, obtains ID3 information (singer of such as song, title, the special edition of song The information such as title, age, style, picture), then from the pictures of the ID3 information extractions of the song of acquisition can as song big envelope Picture.
The priority orders of above-mentioned four kinds of big envelope pictures are A, B, C, D, i.e. if there is A class pictures, and A classes picture is made For the big envelope picture of song, if in the absence of A classes picture but there is B class pictures, using B classes picture as song big envelope picture, Other the like.Due to when playing song, it is necessary to obtain the big envelope picture of song, and by the big envelope picture of the song of acquisition Send to nowplaying interface displays, and the big envelope picture for obtaining the class of C, D two is required for the regular hour, therefore, if singing in antiphonal style Song was operated frequently, then the big envelope picture for causing display is asynchronous with the song played.
The content of the invention
The embodiments of the invention provide the synchronous method and device that a kind of playback of songs and big envelope picture are shown, it is intended to solves The big envelope picture that existing method is shown and the nonsynchronous problem of song played.
The embodiment of the present invention is achieved in that the synchronous method that a kind of playback of songs is shown with big envelope picture, the side Method includes:
Receive after song selection instruction, set up structure, the structure be used to storing the title of selected song, Place path, the type of big envelope picture to display;
Search the big envelope picture of the selected song;
According to the mode for the big envelope picture for finding the selected song and it is described find it is described selected The priority of the mode of the big envelope picture of song determines the type of selected song big envelope picture to display, and will The structure that the type deposit of the selected song big envelope picture to display determined is set up;
The structure of foundation is sent to mobile device end, so that the mobile device end is by the structure of reception The title of selected song, the title of place path and the song played, place path compared, and in the institute of reception State the title of selected song, the title of place path and the song played, place path it is identical when, according to the knot The type of selected song big envelope picture to display reads the big envelope picture of respective type from the player in structure body And show.
The another object of the embodiment of the present invention is to provide the synchronous method that a kind of playback of songs is shown with big envelope picture, institute The method of stating includes:
The structure that player is sent is received, the structure stores the title of selected song, place path, The type of the big envelope picture of display;
Judge the title of the selected song in structure, place path and the song played title, Whether place path is identical;
The title of the selected song in structure, the title in place path and the song played, institute When path is identical, according to the type of the big envelope picture to display of selected song in the structure, played from described It is machine-readable to take the big envelope picture of respective type and show.
The another object of the embodiment of the present invention is to provide the sychronisation that a kind of playback of songs is shown with big envelope picture, institute Stating device includes:
Structure sets up unit, for receiving after song selection instruction, sets up structure, and the structure is used to store The title of selected song, place path, the type of big envelope picture to display;
Big envelope picture searching unit, the big envelope picture for searching the selected song;
Big envelope picture/mb-type determining unit, for according to find the selected song big envelope picture mode with And the priority of the mode of the big envelope picture for finding the selected song determines that the selected song is wanted The type of the big envelope picture of display, and the type deposit of the selected song big envelope picture to display of determination is built Vertical structure;
Structure transmitting element, for the structure of foundation to be sent to mobile device end, so that the mobile device end By the title of the title of the selected song in the structure of reception, place path and the song played, place Path is compared, and the title of the selected song in reception, the title in place path and the song played, place When path is identical, play machine-readable from described according to the type of the big envelope picture to display of selected song in the structure Take the big envelope picture of respective type and show.
The another object of the embodiment of the present invention is to provide the sychronisation that a kind of playback of songs is shown with big envelope picture, institute Stating device includes:
Structure receiving unit, the structure for receiving player transmission, the structure stores selected song Title, place path, the type of big envelope picture to display;
Structure information judging unit, title, place path for judging the selected song in structure Whether the title, place path with the song played are identical;
Big envelope picture reading unit, title, place path for the selected song in structure with just When title, place path in the song of broadcasting are identical, according to selected song big envelope to display in the structure The type of picture, reads the big envelope picture of respective type from the player and shows.
In embodiments of the present invention, because player is by the title for the selected song that is stored with, place path, to be shown The structure of the type of the big envelope picture shown is sent to the APP of mobile device end, therefore so that the APP of mobile device end is aobvious , can be by the title of the selected song in structure, place path and the song played before showing big envelope picture Title, place path are compared, and the title of the selected song in structure, place path and the song played Title, place path just show the big envelope picture obtained when identical, so that when ensureing that player plays song, it is synchronous to be set in movement The big envelope picture for the song that the APP displays at standby end are played, reduces big envelope picture and the probability flashed occurs.
Brief description of the drawings
Fig. 1 is the flow for the synchronous method that a kind of playback of songs that first embodiment of the invention is provided is shown with big envelope picture Figure;
Fig. 2 is the stream for the synchronous method that another playback of songs that second embodiment of the invention is provided is shown with big envelope picture Cheng Tu;
Fig. 3 is the structure for the sychronisation that a kind of playback of songs that third embodiment of the invention is provided is shown with big envelope picture Figure;
Fig. 4 is the knot for the sychronisation that another playback of songs that fourth embodiment of the invention is provided is shown with big envelope picture Composition.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, receive after song selection instruction, set up for store selected song title, institute In path, the structure of the type of big envelope picture to display, and search the big envelope picture of the selected song, then root It is investigated that finding the mode and the big envelope for finding the selected song of the big envelope picture of the selected song The priority of the mode of picture determines the type of selected song big envelope picture to display, finally by the knot of foundation Structure body is sent to mobile device end, so that the mobile device end is by the name of the selected song in the structure of reception Claim, the title of place path and the song played, place path are compared, and the name of the selected song in reception Claim, when the title of place path and the song played, place path are identical, according to selected song in the structure The type of big envelope picture to display reads the big envelope picture of respective type from the player and shown.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows the synchronous method that a kind of playback of songs that first embodiment of the invention is provided is shown with big envelope picture Flow chart, details are as follows:
Step S11, is received after song selection instruction, sets up structure, and the structure is used to store selected song The title of song, place path, the type of big envelope picture to display.
In the step, user can send song selection instruction by player, can also pass through the movement supporting with player The APP of equipment end sends song selection instruction.After player receives song selection instruction, a structure is set up, and will Where the title of selected song, selected song in path deposit structure, selected song institute is subsequently being determined During the type for the big envelope picture to be shown, then the type of selected song big envelope picture to display is stored in structure It is interior.
Step S12, searches the big envelope picture of the selected song.
Because big envelope picture can be obtained by 4 kinds of modes, therefore, in this step, can respectively by 4 kinds of modes at least A kind of big envelope picture for searching selected song, but in order to improve the acquisition efficiency and hit rate of big envelope picture, can be simultaneously The big envelope picture of the selected song is searched in the following manner:1st kind of mode, searches the text of the selected song Part folder in whether there is the picture of the same name with the selected song, and using the picture found as the 1st type envelope Cover picture;2nd kind of mode, is searched with the presence or absence of the picture for being named as folder in the file of the selected song, and Using the picture found as the 2nd type big envelope picture;3rd kind of mode, Network Search whether there is to be chosen with described The corresponding picture of song, and using the picture found as the 3rd type big envelope picture;4th kind of mode, parses the quilt The song of selection corresponding file in itself, to judge that corresponding file whether there is and the quilt the selected song in itself The corresponding picture of song of selection, and using the picture found as the 4th type big envelope picture.
Step S13, according to the mode for the big envelope picture for finding the selected song and it is described find described in The priority of the mode of the big envelope picture of selected song determines selected song big envelope picture to display Type, and the type of the selected song big envelope picture to display of determination is stored in the structure set up.
In step S12 4 kinds of big envelope picture searching modes, the highest priority of the 1st kind of lookup mode, the 2nd kind of lookup The priority of mode is taken second place, and the priority of the 4th kind of lookup mode is minimum.Selected song is found when using multiple lookup modes During the big envelope picture of song, the type for the big envelope picture that the lookup mode of highest priority is found only is determined, for example, it is assumed that passing through 1st kind, the 2nd kind of lookup mode all find the big envelope picture of selected song, then only the 1st kind of lookup mode is found Big envelope picture is defined as selected song big envelope picture to display, and the type of the big envelope picture of determination is defined as into 1 type.Certainly, if not finding the 1st kind, the 2nd kind, the 3rd kind, the big envelope picture of the 4th type, selected song The type of big envelope picture to display is set to the type of acquiescence, when the APP of mobile device end judges selected song When the type of big envelope picture to display is set to the type of acquiescence, the picture of display acquiescence is used as big envelope picture.
Alternatively, the mode of the big envelope picture of the selected song is found in the basis and described is found The priority of the mode of the big envelope picture of the selected song determines selected song big envelope figure to display The type of piece, and the type of the selected song big envelope picture to display of determination is stored in the structure set up it Afterwards, including:
A1, when finding the big envelope picture of the 1st type, store the big envelope picture of the 1st type found.Specifically , can be with so as to the APP of mobile device end in ground, the internal memory that the big envelope picture of the 1st type found is stored in player When required big envelope picture is read from player.If for example, big envelope picture is stored in equipment sources (such as USB flash disk), working as equipment sources Pull out, and big envelope picture is not stored in the content of player, then the APP of mobile device end can not read required big envelope figure Piece.
A2, when not finding the big envelope picture of the 1st type but finding the big envelope picture of the 2nd type, storage The big envelope picture of the 2nd type found.
A3, the 1st kind, the big envelope picture of the 2nd type are not being found, but finding the big envelope picture of the 3rd type When, store the big envelope picture of the 3rd type found.Specifically, the big envelope picture deposit of the 3rd type found is broadcast Put in the internal memory of machine, required big envelope picture can be read from player at any time so as to the APP of mobile device end.Due to movement The APP of equipment end can not directly access network resource, therefore, and the big envelope picture in Internet resources is stored in internal memory by player, The APP of mobile device end is enabled to read the big envelope picture of Internet resources from player.
A4, the 1st kind, the 2nd kind, the big envelope picture of the 3rd type are not being found, but finding the envelope of the 4th type When covering picture, the big envelope picture of the 4th type found is stored.
In above-mentioned A1~A4, when in the absence of the 1st kind, the big envelope picture of the 2nd type, due to passing through the 3rd kind, the 4th kind Lookup mode obtained time of lookup result be uncertain, therefore, if first returning to the lookup that the 4th kind of lookup mode is obtained As a result, then the lookup result obtained by the 3rd kind of lookup mode is continued waiting for, for example, returning to what the 4th kind of lookup mode was obtained After lookup result, if in the presence of the big envelope picture of the 4th type, storing the big envelope picture of the 4th type, afterwards, the 3rd is returned to The lookup result that lookup mode is obtained is planted, if lookup result has the big envelope picture of the 3rd type, by the 4th species of storage The big envelope picture of type is revised as the big envelope picture of the type of ground 3 obtained by the 3rd kind of lookup mode, if lookup result is not deposited In the big envelope picture of the 3rd type, then the big envelope picture of the 4th type stored without modification.Further, according to determination The type of the selected song big envelope picture to display is to the big envelope picture of the selected song found Rename.For example, when the type of selected song big envelope picture to display is 1 type, will be selected The big envelope picture of song is named as 1_cover.XXX, wherein, " XXX " and the big envelope picture of selected song original suffix Name is identical, such as, during original suffix entitled " jpg " of the big envelope picture of selected song, and it is " jpg " to be somebody's turn to do " XXX ".Pass through To big envelope picture renaming, the specification naming rule of big envelope picture so that when the song of broadcasting is different, the name of big envelope picture Still may be identical, handled without the big envelope picture to different names, improve treatment effeciency.
During due to requesting songs, player will start to obtain big envelope picture, at this moment, if player receives and cuts song and refer to Order, plays an other song, then player will start to obtain the bent big envelope picture of this song played now, if broadcasting now The song put finds big envelope picture by the 1st kind or the 2nd kind of mode, then cuts song operation and do not interfere with playback of songs and big envelope The synchronization that picture is shown, if but the song played now need to be by the 3rd kind, or the 4th kind of mode searches big envelope picture, then due to net The reason for network reason and reading speed, player may obtain the big envelope picture of previous song simultaneously and the song played now Big envelope picture, and the sequencing of the acquisition of the big envelope picture for the song played now and the big envelope picture of previous song is not Determine, at this moment, it would be possible to have influence on the synchronization that playback of songs and big envelope picture are shown, such as, previous first song is being obtained first Big envelope picture when, using the big envelope picture of previous song as the song played now big envelope picture;Or, formerly obtain existing In the big envelope picture of the song of broadcasting, when obtaining the big envelope picture of previous first song afterwards, correct big envelope will may be at the beginning shown Picture replaces with the big envelope picture of previous first song.In order that the big envelope picture that must be stored matches with the song played, subtract Nonsynchronous phenomenon that few playback of songs is shown with big envelope picture, alternatively, the big envelope for storing the 3rd type found Picture is specifically included:
The title of song that B1, acquisition are being played, place path, and by the title for the song played, place road The title for the selected song that footpath is stored with structure, place path are compared.
The title for the selected song that B2, the title in the song played, place path and structure are stored, institute When path is identical, the big envelope picture of the 3rd type found is stored.
In above-mentioned B1 and B2, no matter first obtain the big envelope picture for the song played or first obtain previous song Big envelope picture, the title for the selected song for all storing the title for the song played, place path and structure, institute Compare in path, the name of the selected song of title, place path and structure storage only in the song played When title, place path are identical, just the big envelope picture for the 3rd type that storage is found, is otherwise abandoned.Certainly, searched in storage During the big envelope picture of the 4th type arrived, identical step can also be taken.
It is concurrent to notify letter after player has stored the big envelope picture of the 1st kind or the 2nd kind or the 3rd kind or the 4th type The APP to mobile device end is ceased, the APP of the mobile device end has also sent out the order for obtaining big envelope picture to player, but this When player receive cut song instruction, then the APP for causing mobile device end is obtained to the big envelope picture of a upper song, and It is shown on the bent nowplaying interfaces of this song of broadcasting, the big envelope picture for the song played after a while gets it Afterwards, the big envelope picture of a upper song is just replaced, so that nowplaying interfaces are occurred in that due to the switching of big envelope picture The problem of caused picture flashes, in order to avoid this problem, the 1st kind or the 2nd type or the 3rd species found in storage During the big envelope picture of type or the 4th type, comprise the steps:
The title of currently playing song and place path are stored in a file.When the APP of mobile device end obtains envelope This document (this document can be named as file.txt), and the big envelope picture obtained in display can be obtained when set picture simultaneously Before, by the song title in file, the song title and path of path and the file played compare, if consistent just display is obtained The big envelope picture taken, it is inconsistent just to abandon.
Step S14, the structure of foundation is sent to mobile device end, so that the mobile device end is by described in reception The title of selected song in structure, the title of place path and the song played, place path are compared, and When the title of the selected song that receives, the title of place path and the song played, place path are identical, root According to the type of selected song big envelope picture to display in the structure respective type is read from the player Big envelope picture is simultaneously shown.
In the first embodiment of the invention, receive after song selection instruction, set up for storing selected song Title, place path, the structure of the type of big envelope picture to display, and search the big envelope figure of the selected song Piece, mode further according to the big envelope picture for finding the selected song and described finds the selected song The priority of mode of big envelope picture determine the type of selected song big envelope picture to display, will finally build Vertical structure is sent to mobile device end, so that the mobile device end is by the selected song in the structure of reception Bent title, the title of place path and the song played, place path are compared, and in the selected song of reception When bent title, the title in place path and the song played, place path are identical, according to selected in the structure Song big envelope picture to display type from the player read respective type big envelope picture and show.Due to broadcasting Machine is put by the title for the selected song that is stored with, place path, the structure of the type of big envelope picture to display is sent To the APP of mobile device end, therefore so that the APP of mobile device end, can be by structure before display big envelope picture The title of selected song, the title of place path and the song played, place path are compared, and in structure The title of selected song, the title of place path and the song played, place path just show what is obtained when identical Big envelope picture, so that when ensureing that player plays song, the big envelope figure of the synchronous song played in the APP displays of mobile device end Piece, reduces big envelope picture and the probability flashed occurs.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention Limited into any.
Embodiment two:
Fig. 2 shows the synchronous method that another playback of songs that second embodiment of the invention is provided is shown with big envelope picture Flow chart, details are as follows:
Step S21, receives the structure that player is sent, and the structure stores the title of selected song, place Path, the type of big envelope picture to display.
Step S22, judges title, place path and the song played of the selected song in structure Title, place path it is whether identical.
Specifically, the APP of mobile device end is by the title of the selected song in structure and the song played Title compare, and, by the path where the path where the selected song in structure and the song played Compare.Wherein, the title for the song played, place path can be obtained by playlist.
Step S23, the title of the selected song in structure, place path and the song played When title, place path are identical, according to the type of the big envelope picture to display of selected song in the structure, from institute Player is stated to read the big envelope picture of respective type and show.
Certainly, if title, place path and the name for the song played of the selected song in structure Claim, place path is differed, then the APP of mobile device end is not dealt with.
Alternatively, the type according to the big envelope picture to display of selected song in the structure, from institute State the big envelope picture of player reading respective type and show and specifically include:
C1, the type according to the big envelope picture to display of selected song in the structure, from the player Read the big envelope picture of respective type and the title and the file in place path of the currently playing song of deposit.Such as, in quilt When the type of the song big envelope picture to display of selection is 1 type, the picture of the 1st type can be directly read. Specifically, it is assumed that selected song big envelope picture to display is the 1st type, and RNTO 1_cover.XXX, then The APP of mobile device end directly reads 1_cover.XXX picture from player.In the step, the APP of mobile device end is from broadcasting Put it is machine-readable also read corresponding file when taking big envelope picture, if this document is named as file.txt, read file.txt texts Part, to obtain title and the place path of the currently playing song that the file.txt files are stored.
C2, by the title of the currently playing song in the file of reading and place path and the name for the song played Whether title, place path are identical.
C3, the title of currently playing song in the file of reading and place path and the song played name When title, place path are identical, the big envelope picture read is shown.
In above-mentioned C1~C3, further compare the information of the corresponding song of big envelope picture, and working as in the file of reading When the title of the title of the song of preceding broadcasting and place path and the song played, place path are identical, what display was read Big envelope picture, otherwise, abandons the big envelope picture read, so that when improving playback of songs, the probability of simultaneous display big envelope picture.
In second embodiment of the invention, the structure that player is sent is received, judges described selected in structure The title of song, the title of place path and the song played, place path it is whether identical, described in structure When the title of selected song, the title of place path and the song played, place path are identical, according to the structure The type of selected song big envelope picture to display in body, the big envelope picture of respective type is read simultaneously from the player Display.Because the APP of mobile device end is before display big envelope picture, by the title of the selected song in structure, institute Title, place path in path and the song played are compared, and title, the institute of the selected song in structure Title, place path in path and the song played just show the big envelope picture obtained when identical, therefore, it is possible to ensure When player plays song, the big envelope picture of the synchronous song played in the APP displays of mobile device end reduces big envelope picture and gone out The probability now flashed.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention Limited into any.
Embodiment three:
Fig. 3 shows the sychronisation that a kind of playback of songs that third embodiment of the invention is provided is shown with big envelope picture Structure chart, the playback of songs and sychronisation that big envelope picture is shown be with the corresponding device of embodiment one, it can apply to In player, for convenience of description, the part related to the embodiment of the present invention illustrate only.
The sychronisation that the playback of songs is shown with big envelope picture includes:Structure is set up unit 31, big envelope picture and looked into Look for unit 32, big envelope picture/mb-type determining unit 33, structure transmitting element 34.Wherein:
Structure sets up unit 31, for receiving after song selection instruction, sets up structure, and the structure is used to deposit Store up title, the place path of selected song, the type of big envelope picture to display.
Wherein, user can send song selection instruction by player, can also pass through the mobile device supporting with player The APP at end sends song selection instruction.
Big envelope picture searching unit 32, the big envelope picture for searching the selected song.
Alternatively, the big envelope picture searching unit 32 includes:
In song ff module of the same name, the file for searching the selected song whether there is with it is described Selected song picture of the same name, and using the picture found as the 1st type big envelope picture.
Specify in the picture searching module of title, the file for searching the selected song with the presence or absence of name For folder picture, and using the picture found as the 2nd type big envelope picture.
Network picture searching module, picture corresponding with the selected song is whether there is for Network Search, and Using the picture found as the 3rd type big envelope picture.
Song files parsing module, for parsing the selected song corresponding file in itself, to judge the quilt Corresponding file whether there is picture corresponding with the selected song to the song of selection in itself, and by the picture found It is used as the big envelope picture of the 4th type.
, can be simultaneously by being chosen described in above-mentioned module searches in order to improve the acquisition efficiency and hit rate of big envelope picture Song big envelope picture.
Big envelope picture/mb-type determining unit 33, for the mode according to the big envelope picture for finding the selected song And the priority of the mode of the big envelope picture for finding the selected song determines the selected song institute The type for the big envelope picture to be shown, and the type of the selected song big envelope picture to display of determination is stored in The structure of foundation.
When finding the big envelope picture of selected song using multiple lookup modes, looking into for highest priority is only determined Look for the type for the big envelope picture that mode finds.Wherein, the highest priority of the big envelope picture of the 1st type, the 4th type The priority of big envelope picture is minimum.
Alternatively, the sychronisation that the playback of songs is shown with big envelope picture includes:
First memory cell, for when finding the big envelope picture of the 1st type, storing the 1st type found Big envelope picture.In the internal memory that the big envelope picture of the 1st type found is stored in player, so as to mobile device end APP can read required big envelope picture from player at any time.
Second memory cell, for not finding the big envelope picture of the 1st type but finding the envelope of the 2nd type When covering picture, the big envelope picture of the 2nd type found is stored.
3rd memory cell, for not finding the 1st kind, the big envelope picture of the 2nd type, but finds the 3rd kind During the big envelope picture of type, the big envelope picture of the 3rd type found is stored.Because the APP of mobile device end can not be direct Internet resources are accessed, therefore, the big envelope picture in Internet resources is stored in internal memory by player so that the APP of mobile device end The big envelope picture of Internet resources can be read from player.
4th memory cell, for not finding the 1st kind, the 2nd kind, the big envelope picture of the 3rd type, but finds During the big envelope picture of the 4th type, the big envelope picture of the 4th type found is stored.
Further, according to the type of the selected song big envelope picture to display of determination to finding The big envelope picture of the selected song is renamed.For example, in the class of selected song big envelope picture to display When type is 1 type, the big envelope picture of selected song is named as 1_cover.XXX, wherein, " XXX " is with being chosen Song big envelope picture original suffix name it is identical, such as, original suffix of the big envelope picture of selected song is entitled When " jpg ", it is " jpg " to be somebody's turn to do " XXX ".By to big envelope picture renaming, the specification naming rule of big envelope picture so that broadcast When the song put is different, the name of big envelope picture still may be identical, is handled without the big envelope picture to different names, Improve treatment effeciency.
Alternatively, the 3rd memory cell includes:
Structure information comparison module, for obtaining title, the place path of the song played, and will be played The title of song, the title of the selected song that is stored with structure of place path, place path compared.
Big envelope picture storage module, the quilt stored for the title in the song played, place path and structure When the title of the song of selection, place path are identical, the big envelope picture of the 3rd type found is stored.
Due to no matter first obtaining the big envelope picture for the song played or first obtaining the big envelope picture of previous song, The title for the selected song for all storing the title for the song played, place path and structure, place path ratio Compared with the title of the selected song of title, place path and structure storage only in the song played, place road When footpath is identical, otherwise the big envelope picture of the 3rd type that just storage is found abandons so that the big envelope picture of storage with The song of broadcasting matches, and reduces nonsynchronous phenomenon that playback of songs is shown with big envelope picture.
In order to further make the song and the big envelope picture of display of broadcasting match, alternatively, the playback of songs and envelope The sychronisation that set picture is shown includes:
File information storage unit, for the title of currently playing song and place path to be stored in into a file.When The APP of mobile device end can obtain this document (this document can be named as file.txt) simultaneously when obtaining big envelope picture, And before the big envelope picture that display is obtained, by the song title in file, the song title and road of path and the file played Footpath is compared, if the consistent big envelope picture for just showing acquisition, inconsistent just to abandon, so as to improve the song and the envelope of display of broadcasting Cover the matching degree of picture.
Structure transmitting element 34, for the structure of foundation to be sent to mobile device end, so that the mobile device Hold the title of the title of the selected song in the structure of reception, place path and the song played, institute Compare in path, and the title of the selected song in reception, the title in place path and the song played, institute When path is identical, according to the type of the big envelope picture to display of selected song in the structure from the player Read the big envelope picture of respective type and show.
In third embodiment of the invention, because player is by the title for the selected song that is stored with, place path, institute The structure of the type for the big envelope picture to be shown is sent to the APP of mobile device end, therefore so that the APP of mobile device end , can be by the title of the selected song in structure, place path and the song played before display big envelope picture The title of song, place path are compared, and title, place path and the song played of the selected song in structure The title of song, place path just show the big envelope picture obtained when identical, so that when ensureing that player plays song, it is synchronous to move The big envelope picture for the song that the APP displays of dynamic equipment end are played, reduces big envelope picture and the probability flashed occurs.
Example IV:
Fig. 4 shows the sychronisation that another playback of songs that fourth embodiment of the invention is provided is shown with big envelope picture Structure chart, the playback of songs and sychronisation that big envelope picture is shown be with the corresponding device of embodiment two, it can be applied In with the matching used mobile device end of player, for convenience of description, illustrate only the portion related to the embodiment of the present invention Point.
The sychronisation that the playback of songs is shown with big envelope picture includes:Structure receiving unit 41, structure information are sentenced Disconnected unit 42, big envelope picture reading unit 43.Wherein:
Structure receiving unit 41, the structure for receiving player transmission, the structure stores selected song The title of song, place path, the type of big envelope picture to display.
Structure information judging unit 42, title, place road for judging the selected song in structure Whether the title of footpath and the song played, place path are identical.
Wherein, the title for the song played, place path can be obtained by playlist.
Big envelope picture reading unit 43, title, place path for the selected song in structure with When the title for the song played, place path are identical, according to selected song envelope to display in the structure The type of picture is covered, the big envelope picture of respective type is read from the player and shows.
Certainly, if title, place path and the name for the song played of the selected song in structure Claim, place path is differed, then the APP of mobile device end is not dealt with.
Alternatively, the big envelope picture reading unit 43 includes:
Big envelope picture and file acquisition module, for according to selected song big envelope to display in the structure The type of picture, the big envelope picture of respective type and title and the institute of the currently playing song of deposit are read from the player File in path.
Song information comparison module, for the title of the currently playing song in the file by reading and place path with Whether the title for the song played, place path are identical.
Big envelope picture display module, for the title of the currently playing song in the file of reading and place path with When the title for the song played, place path are identical, the big envelope picture read is shown.
By further comparing the information of the corresponding song of big envelope picture, when improving playback of songs, simultaneous display big envelope The probability of picture.
In fourth embodiment of the invention, because the APP of mobile device end is before display big envelope picture, by structure The title of selected song, the title of place path and the song played, place path compared, and in structure The title of selected song, the title of place path and the song played, place path it is identical when just show acquisition Big envelope picture, during therefore, it is possible to ensure that player plays song, the synchronous song played in the APP displays of mobile device end Big envelope picture, reduces big envelope picture and the probability flashed occurs.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (12)

1. the synchronous method that a kind of playback of songs is shown with big envelope picture, it is characterised in that methods described includes:
Player is received after song selection instruction, sets up structure, and the structure is used for the name for storing selected song Title, place path, the type of big envelope picture to display;
The big envelope picture of the selected song is searched, is specifically included:Search in the following manner simultaneously described selected The big envelope picture of song:1st kind of mode, search whether there is in the file of the selected song with it is described selected Song picture of the same name, and using the picture found as the 1st type big envelope picture;2nd kind of mode, is searched described selected It whether there is the picture for being named as folder in the file for the song selected, and regard the picture found as the 2nd type Big envelope picture;3rd kind of mode, Network Search whether there is picture corresponding with the selected song, and will find Picture as the 3rd type big envelope picture;4th kind of mode, parses the selected song corresponding file in itself, to sentence Corresponding file whether there is picture corresponding with the selected song to the selected song of breaking in itself, and will search The picture arrived as the 4th type big envelope picture;
According to the mode for the big envelope picture for finding the selected song and described find the selected song The priority of mode of big envelope picture determine the type of selected song big envelope picture to display, and will determine The selected song big envelope picture to display type deposit set up structure, wherein, the 1st kind of mode Highest priority, the priority of the 2nd kind of mode takes second place, and the priority of the 4th kind of mode is minimum, when using multiple lookup sides When formula finds the big envelope picture of selected song, the big envelope picture that the lookup mode of highest priority is found only is determined Type;
The structure of foundation is sent to mobile device end, so that the mobile device end is by the quilt in the structure of reception The title of the song of selection, the title of place path and the song played, place path are compared, and in the quilt of reception When the title of the song of selection, the title of place path and the song played, place path are identical, according to the structure In selected song big envelope picture to display type from the player read respective type big envelope picture and show Show, the title of the selected song in structure, the title in place path and the song played, place path When differing, do not deal with.
2. according to the method described in claim 1, it is characterised in that find the envelope of the selected song in the basis The priority for covering the mode of picture and the mode of the big envelope picture for finding the selected song determines the quilt The type of the song big envelope picture to display of selection, and by the selected song big envelope figure to display of determination After the structure that the type deposit of piece is set up, including:
When finding the big envelope picture of the 1st type, the big envelope picture of the 1st type found is stored;
When not finding the big envelope picture of the 1st type but finding the big envelope picture of the 2nd type, what storage was found The big envelope picture of 2nd type;
The 1st kind, the big envelope picture of the 2nd type are not being found, but when finding the big envelope picture of the 3rd type, storage The big envelope picture of the 3rd type found;
The 1st kind, the 2nd kind, the big envelope picture of the 3rd type are not being found, but is finding the big envelope picture of the 4th type When, store the big envelope picture of the 4th type found.
3. method according to claim 2, it is characterised in that the big envelope picture for the 3rd type that the storage is found Specifically include:
Obtain the title of song played, place path, and by the title for the song played, place path and structure The title of the selected song of body storage, place path are compared;
The title of the selected song of title, place path and structure storage in the song played, place path When identical, the big envelope picture of the 3rd type found is stored.
4. method according to claim 3, it is characterised in that the 1st kind or the 2nd type or the 3rd found in storage During the big envelope picture of type or the 4th type, comprise the steps:
The title of currently playing song and place path are stored in a file.
5. the synchronous method that a kind of playback of songs is shown with big envelope picture, it is characterised in that methods described includes:
The structure that player is sent is received, the structure stores the title of selected song, place path, shown Big envelope picture type;
Judge the title, the title in place path and the song played, place of the selected song in structure Whether path is identical;
The title of the selected song in structure, the title in place path and the song played, place road When footpath is identical, according to the type of the big envelope picture to display of selected song in the structure, play machine-readable from described Take the big envelope picture of respective type and show, the title of the selected song in structure, place path with When the title of the song of broadcasting, place path are differed, do not deal with.
6. method according to claim 5, it is characterised in that described to be wanted according to selected song in the structure The type of the big envelope picture of display, reads the big envelope picture of respective type from the player and display is specifically included:
According to the type of the big envelope picture to display of selected song in the structure, read from the player corresponding The big envelope picture of type and the title and the file in place path of the currently playing song of deposit;
By the title of the title of the currently playing song in the file of reading and place path and the song played, place Whether path is identical;
The title of the title of currently playing song in the file of reading and place path and the song played, place When path is identical, the big envelope picture read is shown.
7. the sychronisation that a kind of playback of songs is shown with big envelope picture, it is characterised in that described device includes:
Structure sets up unit, is received for player after song selection instruction, sets up structure, and the structure is used to deposit Store up title, the place path of selected song, the type of big envelope picture to display;
Big envelope picture searching unit, the big envelope picture for searching the selected song, is specifically included:
It whether there is in song ff module of the same name, the file for searching the selected song and be chosen with described The song selected picture of the same name, and using the picture found as the 1st type big envelope picture;
Specify to whether there is in the picture searching module of title, the file for searching the selected song and be named as Folder picture, and using the picture found as the 2nd type big envelope picture;
Network picture searching module, whether there is picture corresponding with the selected song, and will look into for Network Search The picture found as the 3rd type big envelope picture;
Song files parsing module, for parsing the selected song corresponding file in itself, to judge described be chosen Song corresponding file whether there is picture corresponding with the selected song in itself, and using the picture found as The big envelope picture of 4th type;
Big envelope picture/mb-type determining unit, for the mode according to the big envelope picture for finding the selected song and institute The priority for stating the mode for the big envelope picture for finding the selected song determines that the selected song to be shown Big envelope picture type, and the type of the selected song big envelope picture to display of determination is stored in what is set up Structure, wherein, the highest priority of the 1st kind of mode, the priority of the 2nd kind of mode is taken second place, the 4th kind of mode it is excellent First level is minimum, when finding the big envelope picture of selected song using multiple lookup modes, only determines highest priority The type for the big envelope picture that lookup mode is found;
Structure transmitting element, for the structure of foundation to be sent to mobile device end, so that the mobile device end will connect The title of selected song in the structure received, the title in place path and the song played, place path Compare, and the title of the selected song in reception, the title in place path and the song played, place path When identical, phase is read from the player according to the type of the big envelope picture to display of selected song in the structure Answer the big envelope picture of type and show, the title of the selected song in structure, place path are with playing The title of song, place path is when differing, do not deal with.
8. device according to claim 7, it is characterised in that described device includes:
First memory cell, for when finding the big envelope picture of the 1st type, storing the envelope of the 1st type found Cover picture;
Second memory cell, for not finding the big envelope picture of the 1st type but finding the big envelope figure of the 2nd type During piece, the big envelope picture of the 2nd type found is stored;
3rd memory cell, for not finding the 1st kind, the big envelope picture of the 2nd type, but finds the 3rd type Big envelope picture when, store the big envelope picture of the 3rd type found;
4th memory cell, for not finding the 1st kind, the 2nd kind, the big envelope picture of the 3rd type, but finds the 4th During the big envelope picture of type, the big envelope picture of the 4th type found is stored.
9. device according to claim 8, it is characterised in that the 3rd memory cell includes:
Structure information comparison module, for obtaining the title of song played, place path, and by the song played The title for the selected song that the title of song, place path are stored with structure, place path are compared;
Big envelope picture storage module, for being chosen that the title in the song played, place path and structure are stored The title of song, place path it is identical when, store the big envelope picture of the 3rd type found.
10. device according to claim 9, it is characterised in that described device includes:
File information storage unit, for the title of currently playing song and place path to be stored in into a file.
11. the sychronisation that a kind of playback of songs is shown with big envelope picture, it is characterised in that described device includes:
Structure receiving unit, the structure for receiving player transmission, the structure stores the name of selected song Title, place path, the type of big envelope picture to display;
Structure information judging unit, for judge the title of the selected song in structure, place path with just Whether the title, place path in the song of broadcasting are identical;
Big envelope picture reading unit, the title, place path for the selected song in structure are with broadcasting When the title for the song put, place path are identical, according to the big envelope picture to display of selected song in the structure Type, from the player read respective type big envelope picture and show;
Described device is additionally operable to, title, place path and the song played of the selected song in structure When the title of song, place path are differed, do not deal with.
12. device according to claim 11, it is characterised in that the big envelope picture reading unit includes:
Big envelope picture and file acquisition module, for according to the big envelope picture to display of selected song in the structure Type, the big envelope picture of respective type and title and the place road of the currently playing song of deposit are read from the player The file in footpath;
Song information comparison module, for the title of the currently playing song in the file by reading and place path and Whether the title of the song of broadcasting, place path are identical;
Big envelope picture display module, for the title of the currently playing song in the file of reading and place path and When the title of the song of broadcasting, place path are identical, the big envelope picture read is shown.
CN201510049771.4A 2015-01-30 2015-01-30 Synchronous method and device that playback of songs is shown with big envelope picture Expired - Fee Related CN104598612B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510049771.4A CN104598612B (en) 2015-01-30 2015-01-30 Synchronous method and device that playback of songs is shown with big envelope picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510049771.4A CN104598612B (en) 2015-01-30 2015-01-30 Synchronous method and device that playback of songs is shown with big envelope picture

Publications (2)

Publication Number Publication Date
CN104598612A CN104598612A (en) 2015-05-06
CN104598612B true CN104598612B (en) 2017-11-07

Family

ID=53124397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510049771.4A Expired - Fee Related CN104598612B (en) 2015-01-30 2015-01-30 Synchronous method and device that playback of songs is shown with big envelope picture

Country Status (1)

Country Link
CN (1) CN104598612B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930377A (en) * 2016-04-12 2016-09-07 广东欧珀移动通信有限公司 Method, device and mobile terminal for obtaining envelope pictures
CN106294553B (en) * 2016-07-26 2019-07-19 Oppo广东移动通信有限公司 Data information is sent and big envelope information display method, device, speaker and terminal speaker

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916576A (en) * 2010-08-19 2010-12-15 惠州Tcl移动通信有限公司 Method for automatically playing background music
CN101930446A (en) * 2009-06-26 2010-12-29 鸿富锦精密工业(深圳)有限公司 Electronic device and method for playing music in embedded electronic device
CN103136211A (en) * 2011-11-23 2013-06-05 北汽福田汽车股份有限公司 Automatic generation method and device for A2L file
CN103699323A (en) * 2013-12-20 2014-04-02 上海卓悠网络科技有限公司 Method and device for realizing music desktop display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100790180B1 (en) * 2006-08-08 2008-01-02 삼성전자주식회사 System and method for managementing the supplement information of mp3 music files stored in media player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930446A (en) * 2009-06-26 2010-12-29 鸿富锦精密工业(深圳)有限公司 Electronic device and method for playing music in embedded electronic device
CN101916576A (en) * 2010-08-19 2010-12-15 惠州Tcl移动通信有限公司 Method for automatically playing background music
CN103136211A (en) * 2011-11-23 2013-06-05 北汽福田汽车股份有限公司 Automatic generation method and device for A2L file
CN103699323A (en) * 2013-12-20 2014-04-02 上海卓悠网络科技有限公司 Method and device for realizing music desktop display

Also Published As

Publication number Publication date
CN104598612A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN105120304B (en) Information display method, apparatus and system
US10643610B2 (en) Voice interaction based method and apparatus for generating multimedia playlist
US20050235015A1 (en) User-configurable device storage synchronization manager
CN106095595B (en) Information sharing method and terminal between a kind of application program
US20050015713A1 (en) Aggregating metadata for media content from multiple devices
US20090327288A1 (en) Content enumeration techniques for portable devices
CN102243660B (en) A kind of data access method and equipment
US20090094190A1 (en) Methods, systems, and computer program products for displaying tag words for selection by users engaged in social tagging of content
KR20060045659A (en) Method and system for renaming consecutive keys in a b-tree
CN110636345B (en) Multimedia information sharing method and system under same identity account
CN104572952A (en) Identification method and device for live multi-media files
CN105373611A (en) File display method and apparatus
US20090287649A1 (en) Method and apparatus for providing content playlist
CN106156164A (en) resource information processing method and device
US20150248218A1 (en) Generating a dynamic user interface representing an arbitrary content provider back-end
US20200218760A1 (en) Music search method and device, server and computer-readable storage medium
US7917083B2 (en) Method and apparatus for identifying a piece of content
CN105893548A (en) Naming method and terminal
CN105824895A (en) KTV song selection method and system
CN102811167B (en) Method and apparatus for the network based on hierarchical name structure
CN104598612B (en) Synchronous method and device that playback of songs is shown with big envelope picture
CN105760436B (en) The processing method and processing device of audio data
US20140032537A1 (en) Apparatus, system, and method for music identification
CN102486779A (en) Subtitle generating method and player
CN106454546B (en) Subtitle file processing method and processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171107