CN105070306B - One kind adds multimedia method and device into multimedia play list - Google Patents

One kind adds multimedia method and device into multimedia play list Download PDF

Info

Publication number
CN105070306B
CN105070306B CN201510528327.0A CN201510528327A CN105070306B CN 105070306 B CN105070306 B CN 105070306B CN 201510528327 A CN201510528327 A CN 201510528327A CN 105070306 B CN105070306 B CN 105070306B
Authority
CN
China
Prior art keywords
multimedia
attribute type
playlist
property value
destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510528327.0A
Other languages
Chinese (zh)
Other versions
CN105070306A (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 CN201510528327.0A priority Critical patent/CN105070306B/en
Publication of CN105070306A publication Critical patent/CN105070306A/en
Application granted granted Critical
Publication of CN105070306B publication Critical patent/CN105070306B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

Multimedia method is added into multimedia play list the embodiment of the invention discloses one kind, including:The addition instruction for playlist input is received, obtains the destination multimedia that addition instruction carries;Default attribute type is obtained, the destination multimedia is corresponding with corresponding property value under default each attribute type;Obtain default priority parameters corresponding with each attribute type;Default attribute type is obtained according to the sequence of the priority parameters, the multimedia matched under the attribute type got with the property value of the destination multimedia is searched in the playlist;Position of the multimedia found described in acquisition in the playlist, by the destination multimedia be added in the playlist described in the position that finds.Multimedia device is added into multimedia play list the invention also discloses one kind.Using the present invention, the multimedia convenience of addition can be improved.

Description

One kind adds multimedia method and device into multimedia play list
Technical field
The present invention relates to computer realm, more particularly to it is a kind of added into multimedia play list multimedia method and Device.
Background technology
Portable multimedia apparatus comes tissue and control multimedia using playlist.User can be according to personal like couple Multimedia in playlist is operated, and is such as searched, adds, deletes, is imported.In the conventional technology, when user's addition is new Multimedia after, the multimedia is typically auto arrangement at the end of playlist.Will similar style or type if user wishes Multimedia file be adjusted to play successively, will part multimedia file shift to an earlier date, then need user manually according to multimedia Multiple type parameters go to the position of mobile multimedia in the play list.When multimedia quantity is more in list, Yong Huxu Longer time is spent to go to adjust the playing sequence of playlist, so as to cause the convenience of operation deficiency.
The content of the invention
Based on this, in order to solve the above-mentioned technical problem to multimedia play list operation ease deficiency, spy provides One kind adds multimedia method into multimedia play list.
One kind adds multimedia method into multimedia play list, including:
The addition instruction for playlist input is received, obtains the destination multimedia that addition instruction carries;
Default attribute type is obtained, the destination multimedia is corresponding with accordingly under default each attribute type Property value;
Obtain default priority parameters corresponding with each attribute type;
Default attribute type is obtained according to the sequence of the priority parameters, searched in the playlist The multimedia matched under the attribute type got with the property value of the destination multimedia;
Position of the multimedia found described in acquisition in the playlist, the destination multimedia is added to institute State the position found in playlist.
Further, it is described that default attribute type is obtained according to the sequence of the priority parameters, broadcast described Emplace the multimedia step that lookup matches under the attribute type got with the property value of the destination multimedia in table Suddenly also include:
The default attribute type is traveled through according to the sequence of the priority parameters, looked into the playlist The multimedia for looking for the property value with the destination multimedia under the attribute type traversed to match;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist The step of putting.
Further, it is described that the default attribute type is traveled through according to the sequence of the priority parameters, in institute State and the multimedia that the property value with the destination multimedia under the attribute type traversed matches is searched in playlist The step of after also include:
If finding, multimedia that cache lookup is arrived, and continue to travel through according to the sequence of the priority parameters Next attribute type, using the next attribute type traversed as objective attribute target attribute type;
Searched and property value of the destination multimedia under the objective attribute target attribute type in the multimedia of the caching The multimedia of matching;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, will be described slow Multimedia in depositing is as the multimedia found.
Further, the described the step of default attribute type is traveled through according to the sequence of the priority parameters Also include afterwards:
If the quantity of the attribute type with equal priority parameter traversed is more than 1, described to be broadcast described Emplace the multimedia step that lookup matches under the attribute type traversed with the property value of the destination multimedia in table Suddenly it is:
In the playlist search with the destination multimedia it is described traverse there is equal priority parameter Each attribute type under the multimedia that matches of property value.
Further, also include before described the step of terminating traversal:
Property value of all and destination multimedia found under the attribute type traversed is obtained to match Multimedia;
The step of position of the multimedia found described in the acquisition in the playlist, includes:
Obtain the position at all multimedia ends in the playlist found.
In addition, to solve the above-mentioned technical problem to multimedia play list operation ease deficiency, spy provides one kind Multimedia device is added into multimedia play list.
One kind adds multimedia device into multimedia play list, including:
Command reception module is added, for receiving the addition instruction for playlist input, addition instruction is obtained and carries Destination multimedia;
Attribute type acquisition module, for obtaining default attribute type, the destination multimedia is described default each Corresponding property value is corresponding with individual attribute type;
Priority parameters acquisition module, for obtaining default priority parameters corresponding with each attribute type;
Searching modul, for obtaining default attribute type according to the sequence of the priority parameters, broadcast described Emplace the multimedia that lookup matches under the attribute type got with the property value of the destination multimedia in table;
Multimedia add module, for obtaining position of the multimedia found in the playlist, by institute State the position found that destination multimedia is added in the playlist.
Further, the searching modul is additionally operable to described default according to the sequence of priority parameters traversal Attribute type, searched and property value of the destination multimedia under the attribute type traversed in the playlist The multimedia of matching;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist The step of putting.
Further, the searching modul is additionally operable to:
The default attribute type is traveled through according to the sequence of the priority parameters, looked into the playlist The multimedia for looking for the property value with the destination multimedia under the attribute type traversed to match;
If finding, multimedia that cache lookup is arrived, and continue to travel through according to the sequence of the priority parameters Next attribute type, using the next attribute type traversed as objective attribute target attribute type;
Searched and property value of the destination multimedia under the objective attribute target attribute type in the multimedia of the caching The multimedia of matching;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, will be described slow Multimedia in depositing is as the multimedia found.
Further, the searching modul is additionally operable to
The default attribute type is traveled through according to the sequence of the priority parameters, if it is described traverse have The quantity of the attribute type of equal priority parameter is more than 1, then searches in the playlist and exist with the destination multimedia The multimedia that property value under each attribute type with equal priority parameter traversed matches.
Further, the searching modul is additionally operable to obtain all and destination multimedia found in the traversal The multimedia of property value matching under the attribute type arrived;
The multimedia add module is additionally operable to:It is last in the playlist to obtain all multimedias found The position of tail.
Implement the embodiment of the present invention, will have the advantages that:
Employ it is above-mentioned multimedia method and device is added into multimedia play list after, when computer receives After the addition instruction of user's input, destination multimedia is obtained, then according to the attribute type and priority level of user preset, is passed through Each attribute type is traveled through, searches one by one under current attribute type the more matchmakers of highest are matched with destination multimedia in the play list Destination multimedia, is finally added at positioning by body, and the end position of the multimedia that arrives of positioning searching in the play list. That is after user chooses destination multimedia by external equipment and clicks on addition button, computer equipment can be according to user All kinds of parameters of setting are quickly searched and destination multimedia are added at the multimedia of the condition of satisfaction in the play list, and Manually gone to adjust the classification of playlist according to multimedia multiple type parameters without user, so as to improve operation just Profit.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Wherein:
Fig. 1 is a kind of flow chart that multimedia method is added into multimedia play list in one embodiment;
Fig. 2 is that one kind adds multimedia apparatus structure schematic diagram into multimedia play list in one embodiment;
Fig. 3 is a kind of above-mentioned calculating that multimedia method is added into multimedia play list of execution in one embodiment The Organization Chart of machine system.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
To solve the problems, such as the convenience deficiency of aforesaid operations, it is more that spy proposes one kind addition into multimedia play list The method of media, the execution of this method depend on computer program, can run on the computer system of von Neumann system. The computer program can integrate in the application, also can be as independent tool-class application operation.The computer system can be intelligence The mobile devices such as energy mobile phone, notebook computer, tablet personal computer, MP3.
Specifically, in the present embodiment, this method is as shown in figure 1, specifically comprise the following steps:
Step S102:The addition instruction for playlist input is received, obtains the destination multimedia that addition instruction carries.
Media are the intermediaries for realizing information interchange between men, are exactly the carrier of information, also referred to as matchmaker briefly It is situated between.And multimedia is multiple media, it can be understood as directly act on word, figure, image, animation, the sound of people's sense organ With the form of expression and transfer mode of the general designation of the various media such as video, i.e. much information carrier.Target in the present embodiment Multimedia refers to music, picture, e-book, video etc..
Multimedia player carries playlist, for showing multimedia attribute.User can be in playlist Multimedia carries out various operations, such as searches, adds, deletes, imports.
In the present embodiment, when user carries out outside addition operation, computer starting addition sensing to the multimedia of selection Device, proceed by the instruction of addition target and handled.For example, in the application scenarios of an Android system, in a sound In happy player, played out when certain head song that user needs to search is added to playlist, now, user can pass through mouse The external equipments such as mark choose the head to sing, and click on addition button, and for the corresponding computer of these operations, it is exactly one section executable Computer program, processor receives these programs, will be added processing to this song that user chooses.
Step S104:Default attribute type is obtained, destination multimedia is corresponding with phase under default each attribute type The property value answered.
Attribute is that the abstract of object is portrayed.For a specific things, always there are various property and pass System, this property and the relation of things are attribute.That is, a things can be described by attribute, and describe same The mode or characteristic of individual things have many kinds, then the attribute of things also just has the category of a variety of types, as things Property type.For example, one song of description, can angularly be described, these angles are exactly from singer, special edition, style, issuing date The attribute type of this song.
Corresponding property value is corresponding with each attribute type.Such as song " shoes extra large size ", attribute type is Corresponding property value is " Zhou Jielun " under singer, and attribute type is that corresponding property value is ", good " under special edition, and Attribute type is that corresponding property value is " hip-hop " under style, and attribute type is that corresponding property value is under issuing date " 2014 ".
In the present embodiment, user presets multiple attribute types to multimedia, and is corresponded to respectively under each attribute type There is property value.And destination multimedia has fixed value respectively under this multiple attribute type.
Step S106, obtain default priority parameters corresponding with each attribute type.
Priority parameters refer to computer time sharing system when handling multiple operation procedures, determine that each operation procedure connects By the parameter of the priority level of system resource.A priority parameters are matched to each attribute type, for representing these attributes The priority level of type.For example, for multiple attribute types, singer, special edition, style, issuing date etc. of a song, difference One priority parameters 1,2,3,4 of matching etc..Set that numerical value is smaller, and priority level is higher, then priority level is:Singer>Specially Volume>Style>Issuing date.Or setting numerical value is bigger, priority level is higher, then priority level is:Singer<Special edition<Style< Issuing date.
In the present embodiment, user matches a priority parameters to each attribute type in advance, and computer obtains these Parameter.
Step S108:Default attribute type is obtained according to the sequence of priority parameters, searched in the play list The multimedia matched under the attribute type got with the property value of destination multimedia.
Property value matching refers to that property value value is same or similar.For example, song " shoes extra large size " and song are " assorted Singer's property value of man " is all Zhou Jielun, it is believed that this two first song property value singer matching, song " shoes extra large size " when A length of " 4 points and 30 seconds ", and song " with the name of father " when a length of " 4 points and 35 seconds ", duration is close, between 4 minutes to 5 minutes, Think this two first song property value duration matching.
In the present embodiment, computer obtains the priority parameters of the attribute type of user's matching, excellent according to what is currently obtained First level parameter obtains current attribute type, searches and property value of the destination multimedia under current attribute type in the play list The multimedia to match.
For example, in the playlist of a music player, there are some songs a1, b1, c1 ..., existing target song Bent A1, it is singer to set the attribute type of music and priority level>Special edition>Style>Issuing date, according to the preferential of attribute type Grade searched successively in song a1, b1, c1 ... under same attribute type with song A1 property value identical songs.
For another example in the playlist of a video player, there are some videos a2, b2, c2 ..., an existing target Video A2, it is type to set the attribute type of video and priority level>Initial>The place of production>Time, according to the preferential of attribute type Grade searched successively in video a2, b2, c2 ... under same attribute type with video A2 property value identical videos.
For another example in the playlist of an e-book player, there is some an e-book a3, b3, c3 ..., existing one Target electronic book A3, it is author to set the attribute type of e-book and priority level>Type>Time>Form, according to attribute type Priority level searched successively in e-book a3, b3, c3 ... it is identical with e-book A3 property values under same attribute type E-book.
In the present embodiment, default attribute type is obtained according to the sequence of priority parameters, in the play list Searching the multimedia step matched under the attribute type got with the property value of destination multimedia also includes:
Default attribute type is traveled through according to the sequence of priority parameters, searched and the more matchmakers of target in the play list The multimedia of property value matching of the body under the attribute type traversed;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist The step of putting.
So-called traversal, refer to, along certain search pattern, each node in tree be done once and only done successively and is once visited Ask.
In the present embodiment, search pattern connects for a variety of attribute types corresponding to the sequence of priority parameters The line segment connect, wherein various attribute types are node.Default Attribute class is traveled through according to the sequence of priority parameters Type namely accesses each attribute type one by one according to certain order.
In the present embodiment, user is preset with 5 attribute types such as B, C, D, E, F to some multimedia, and to its attribute Type respectively sets a priority parameters 1,2,3,4,5, and numerical value is bigger, and priority is lower.So attribute type is traveled through since B, It is followed successively by C, D, E, F.Assuming that there are 100 multimedias in multimedia play list, the B Attribute class with destination multimedia is first looked for The multimedia that property value under type matches.
If finding, C, D, E, F attribute type are no longer traveled through.
If not finding the multimedia to match under B attribute types, now, continue the matchmaker more than 100 in playlist The multimedia to match under C attribute types with the property value of destination multimedia is searched in body.This matchmaker more than 100 is equally searched for Body, if finding, terminate to search, if not finding, continued to search in the manner described above in this 100 multimedias, until with same The mode of sample has traveled through all attribute types.
In another embodiment, it is described that the default Attribute class is traveled through according to the sequence of the priority parameters Type, search what the property value with the destination multimedia under the attribute type traversed matched in the playlist Also include after multimedia step:
If finding, multimedia that cache lookup is arrived, and continue to travel through according to the sequence of the priority parameters Next attribute type, using the next attribute type traversed as objective attribute target attribute type;
Searched and property value of the destination multimedia under the objective attribute target attribute type in the multimedia of the caching The multimedia of matching;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, will be described slow Multimedia in depositing is as the multimedia found.
Begun look for as previously described in 100 multimedias of playlist from B attribute types, searched for this 100 After multimedia, if finding the multimedia that 50 property values with destination multimedia under B attribute types match, by these multimedias It is buffered in internal memory.
It is further continued for accessing C attribute types, is searched in this 50 multimedias of caching with destination multimedia in C attribute types The multimedia of property value matching corresponding to lower, if finding 20, by cache before 50 removings, and cache this matchmaker more than 20 Body.
If not finding, it is further continued for accessing D attribute types, is searched in 50 multimedias of caching with destination multimedia in D The multimedia of corresponding property value matching under attribute type, if finding 30, by cache before 50 removings, and cache this 30 Individual multimedia.
If not finding, it is further continued for accessing E attribute types, according to same mode of operation, has traveled through all attribute types, Find out and highest multimedia is matched with destination multimedia.
In an application scenarios, there is 100 first songs in the playlist of a music player, attribute type per first song and Priority is singer>Special edition>Style>Duration.The song of existing one entitled " shoes extra large size ", corresponding four attribute types Its value is respectively:Singer=Zhou Jielun, special edition=, good, style=hip-hop, duration=4 minute were to 5 minutes. Searched in 100 songs of playlist and match highest song with " shoes extra large size " this song.
Dependence type first begins look for for singer, that is, searches singer=Zhou Jielun song, there is 50 head, by this 50 head Song caches.Searched again in this 50 first song special edition=, good song, do not find, continue to look into this 50 first song The song of style=hip-hop is looked for, there are 20 head, then by cache before 50 first removings, and caches this 20 head.Finally in this 20 head Search the song of duration=4 minute to 5 minutes, exist 5 first, then remove the first song information in 20 cached before, and cache this 5 It is first.I.e. this 5 song is to match highest song with " shoes extra large size ".
If being begun look in 100 multimedias of playlist from B attribute types, after having searched for this 100 multimedias, The multimedia that the property value with destination multimedia under B attribute types matches is not found, then continues to access C attribute types, still Do not find, just access D attribute types, be there are until finding under some attribute type with destination multimedia in the attribute type Under property value matching multimedia set, and cache the set.
Then in the set, next attribute type (such as E) is accessed, is searched with destination multimedia under the attribute type Property value matching multimedia set.
If in the presence of, the caching before removing, and current collection is cached, and all attributes are traveled through in the same way Type, find out and highest multimedia is matched with destination multimedia.If being not present, next attribute type of current attribute type is accessed F, the multimedia set that the property value with destination multimedia under the attribute type matches is searched in set.Search successively, Find out and highest multimedia is matched with destination multimedia.
In same application scenarios, dependence type first begins look for for singer, that is, searches singer=Zhou Jielun's Song, do not find, then search in this 100 first song special edition=, good song, do not find still, continue this 100 The song of style=hip-hop is searched in song, there are 10 head, and caches this 10 first song.Then duration=4 are searched in this 10 first song The song of minute to 5 minutes, 8 head be present, then remove the first song information in 10 cached before, and cache this 8 head.That is this 8 first song To match highest song with " shoes extra large size ".
Further, also wrapped after the step of traveling through the default attribute type according to the sequence of priority parameters Include:
If the quantity of the attribute type with equal priority parameter traversed is more than 1, search in the play list The multimedia step matched under the attribute type traversed with the property value of destination multimedia is:
Search in the play list with destination multimedia in each Attribute class with equal priority parameter traversed The multimedia that property value under type matches.
In the present embodiment, multimedia is provided with 5 attribute types such as B, C, D, E, F, corresponding priority parameters are 1,1, 1、2、3.Numerical value is bigger, and priority level is smaller, and numerical value is identical, and priority level is identical.That is attribute type B=C=D>E> F.All attribute types are first traveled through, priority identical attribute type are found out, according further to the sequence of priority parameters The default attribute type is traveled through, and corresponding priority identical attribute type is, it is necessary to find and this multiple priority phase The multimedia that property value corresponding to same attribute type all matches.
For example, in an application scenarios, there are 100 first songs in the playlist of a music player, per the attribute of first song Type and priority are singer=special edition>Style>Duration.The song of existing one entitled " shoes extra large size ", corresponding four Its value of attribute type is respectively:Singer=Zhou Jielun, special edition=, good, style=hip-hop, duration=4 minute to 5 Minute.It is all dependence type to be begun look for first for singer and special edition due to priority singer=special edition, that is, search song Hand=Zhou Jielun and special edition=, good song has 5 first, and this 5 song is cached.Again wind is searched in this 5 first song The song of lattice=hip-hop, there are 3 head, then by cache before 5 first removings, and cache this 3 head.Finally duration is searched in this 3 head The song of=4 minutes to 5 minutes, 1 head be present, then remove the first song information in 3 cached before, and cache this 1 head.That is this 1 head Sing to match highest song with " shoes extra large size ".
Step S110:The position of the multimedia found in the play list is obtained, destination multimedia is added to broadcasting The position found in list.
Further, also include before the step of terminating traversal:
Obtain the multimedia that property value of all and destination multimedia found under the attribute type traversed matches;
The step of obtaining the position of the multimedia found in the play list includes:
Obtain the position at all multimedias found end in the play list.
According to preceding method, find and all multimedias of highest are matched with destination multimedia, in these multimedias, obtain Last multimedia positional information is taken, and destination multimedia is added to next opening position of the position got.If Do not find and highest multimedia is matched with destination multimedia, obtain last multimedia positional information in playlist, and Destination multimedia is added to next opening position of the position got, i.e., playlist is last.
In addition, to solve the above-mentioned technical problem to multimedia play list operation ease deficiency, in one embodiment In, spy provides one kind and multimedia device is added into multimedia play list.
Specifically, this multimedia device is added into multimedia play list as shown in Fig. 2 including:
Add command reception module 102, attribute type acquisition module 104, priority parameters acquisition module 106, lookup mould Block 108, multimedia add module 110, wherein:
Command reception module 102 is added, for receiving the addition instruction for playlist input, addition instruction is obtained and takes The destination multimedia of band;
Attribute type acquisition module 104, for obtaining default attribute type, the destination multimedia is described default Corresponding property value is corresponding with each attribute type;
Priority parameters acquisition module 106, join for obtaining default priority corresponding with each attribute type Number;
Searching modul 108, for obtaining default attribute type according to the sequence of the priority parameters, described The multimedia matched under the attribute type got with the property value of the destination multimedia is searched in playlist;
Multimedia add module 110, will for obtaining position of the multimedia found in the playlist The destination multimedia is added to the position found in the playlist.
Optionally, the searching modul 108 is additionally operable to described default according to the sequence of priority parameters traversal Attribute type, in the playlist search with attribute of the destination multimedia under the attribute type traversed It is worth the multimedia of matching;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist The step of putting.
Optionally, the searching modul 108 is additionally operable to:
The default attribute type is traveled through according to the sequence of the priority parameters, looked into the playlist The multimedia for looking for the property value with the destination multimedia under the attribute type traversed to match;
If finding, multimedia that cache lookup is arrived, and continue to travel through according to the sequence of the priority parameters Next attribute type, using the next attribute type traversed as objective attribute target attribute type;
Searched and property value of the destination multimedia under the objective attribute target attribute type in the multimedia of the caching The multimedia of matching;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, will be described slow Multimedia in depositing is as the multimedia found.
Optionally, the searching modul 108 is additionally operable to
The default attribute type is traveled through according to the sequence of the priority parameters, if it is described traverse have The quantity of the attribute type of equal priority parameter is more than 1, then
In the playlist search with the destination multimedia it is described traverse there is equal priority parameter Each attribute type under the multimedia that matches of property value.
Optionally, the searching modul 108 is additionally operable to obtain all and destination multimedia found at described time The multimedia of property value matching under the attribute type gone through;
Optionally, the multimedia add module 110 is additionally operable to:All multimedias found are obtained to broadcast described Emplace the position at end in table.
In summary, implement the embodiment of the present invention, will have the advantages that:
Employ it is above-mentioned multimedia method and device is added into multimedia play list after, when computer receives After the addition instruction of user's input, destination multimedia is obtained, then according to the attribute type and priority level of user preset, is passed through Each attribute type is traveled through, searches one by one under current attribute type the more matchmakers of highest are matched with destination multimedia in the play list Destination multimedia, is finally added at positioning by body, and the end position of the multimedia that arrives of positioning searching in the play list. That is after user chooses destination multimedia by external equipment and clicks on addition button, computer equipment can be according to user All kinds of parameters of setting are quickly searched and destination multimedia are added at the multimedia of the condition of satisfaction in the play list, and Manually gone to adjust the classification of playlist according to multimedia multiple type parameters without user, so as to improve operation just Profit.
In one embodiment, as shown in figure 3, Fig. 3 is illustrated, a kind of operation is above-mentioned to be added into multimedia play list The computer system 10 based on von Neumann system of multimedia method.The computer system 10 can be smart mobile phone, put down The terminal devices such as plate computer, palm PC, notebook computer or PC.Specifically, it may include to connect by system bus Outer input interface 1001, processor 1002, memory 1003 and output interface 1004.Wherein, outer input interface 1001 Optionally it may include at least one in mouse 10012, keyboard 10014, touch pad 10016 or network interface 10018.Memory 1003 may include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034.Output interface 1004 can Including the equipment such as display screen 10042 and sound equipment/loudspeaker 10044.
In the present embodiment, the operation of this method is based on computer program, and the program file of the computer program is stored in In the external memory 10032 of the foregoing computer system 10 based on von Neumann system, built-in storage is operationally loaded into In 10034, then it is compiled as being transferred in processor 1002 after machine code performing, so that being based on von Neumann system Computer system 10 in form addition command reception module 102 in logic, attribute type acquisition module 104, priority ginseng Number acquisition module 106, searching modul 108, locating module 110.And in above-mentioned multiple user's pocket transmission news into user list Method implementation procedure in, the parameter of input is received by outer input interface 1001, and be transferred in memory 1003 delay Deposit, be then input in processor 1002 and handled, the result data of processing or be cached in memory 1003 carries out follow-up Ground processing, or be passed to output interface 1004 and exported.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (6)

1. one kind adds multimedia method into multimedia play list, it is characterised in that including:
The addition instruction for playlist input is received, obtains the destination multimedia that addition instruction carries;
Default attribute type is obtained, the destination multimedia is corresponding with corresponding category under default each attribute type Property value;
Obtain default priority parameters corresponding with each attribute type;
Default attribute type is obtained according to the sequence of the priority parameters, searched in the playlist described The multimedia matched under the attribute type got with the property value of the destination multimedia;
Position of the multimedia found described in acquisition in the playlist, the destination multimedia is added to described broadcast Emplace the position found in table;
Wherein, it is described that default attribute type is obtained according to the sequence of the priority parameters, in the playlist Searching the multimedia step matched under the attribute type got with the property value of the destination multimedia also includes:
The default attribute type is traveled through according to the sequence of the priority parameters, searched in the playlist with The multimedia of property value matching of the destination multimedia under the attribute type traversed;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist Step;
Wherein, it is described that the default attribute type is traveled through according to the sequence of the priority parameters, in the played column Searched in table multimedia step that property value with the destination multimedia under the attribute type traversed matches it Also include afterwards:
If finding, multimedia that cache lookup is arrived, and according to the sequence of the priority parameters continue to travel through next Individual attribute type, using the next attribute type traversed as objective attribute target attribute type;
The property value with the destination multimedia under the objective attribute target attribute type is searched in the multimedia of the caching to match Multimedia;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, by the caching Multimedia as the multimedia found.
2. according to the method for claim 1, it is characterised in that described to be traveled through according to the sequence of the priority parameters Also include after the step of default attribute type:
If the quantity of the attribute type with equal priority parameter traversed is more than 1, described in the played column The multimedia step matched under the attribute type traversed with the property value of the destination multimedia is searched in table is:
Searched in the playlist with the destination multimedia it is described traverse it is every with equal priority parameter The multimedia that property value under individual attribute type matches.
3. according to the method for claim 1, it is characterised in that also include before described the step of terminating traversal:
Property value of all and destination multimedia that acquisition is found under the attribute type traversed matches more Media;
The step of position of the multimedia found described in the acquisition in the playlist, includes:
Obtain the position at all multimedia ends in the playlist found.
4. one kind adds multimedia device into multimedia play list, it is characterised in that including:
Command reception module is added, for receiving the addition instruction for playlist input, obtains the mesh that addition instruction carries Mark multimedia;
Attribute type acquisition module, for obtaining default attribute type, the destination multimedia is in default each category Corresponding property value is corresponding with property type;
Priority parameters acquisition module, for obtaining default priority parameters corresponding with each attribute type;
Searching modul, for obtaining default attribute type according to the sequence of the priority parameters, in the played column The multimedia matched under the attribute type got with the property value of the destination multimedia is searched in table;
Multimedia add module, for obtaining position of the multimedia found in the playlist, by the mesh Mark multimedia is added to the position found in the playlist;
Wherein, the searching modul is additionally operable to travel through the default Attribute class according to the sequence of the priority parameters Type, search what the property value with the destination multimedia under the attribute type traversed matched in the playlist Multimedia;
If finding, terminate to travel through, and perform position of the multimedia found described in acquisition in the playlist Step;
Wherein, the searching modul is additionally operable to:
The default attribute type is traveled through according to the sequence of the priority parameters, searched in the playlist with The multimedia of property value matching of the destination multimedia under the attribute type traversed;
If finding, multimedia that cache lookup is arrived, and according to the sequence of the priority parameters continue to travel through next Individual attribute type, using the next attribute type traversed as objective attribute target attribute type;
The property value with the destination multimedia under the objective attribute target attribute type is searched in the multimedia of the caching to match Multimedia;
If finding, caching is removed, and perform the multimedia step that the cache lookup is arrived;Otherwise, by the caching Multimedia as the multimedia found.
5. device according to claim 4, it is characterised in that the searching modul is additionally operable to
The default attribute type is traveled through according to the sequence of the priority parameters, if it is described traverse have it is identical The quantity of the attribute type of priority parameters is more than 1, then
Searched in the playlist with the destination multimedia it is described traverse it is every with equal priority parameter The multimedia that property value under individual attribute type matches.
6. device according to claim 4, it is characterised in that the searching modul be additionally operable to obtain find it is all with The multimedia of property value matching of the destination multimedia under the attribute type traversed;
The multimedia add module is additionally operable to:Obtain all multimedia found ends in the playlist Position.
CN201510528327.0A 2015-08-25 2015-08-25 One kind adds multimedia method and device into multimedia play list Active CN105070306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510528327.0A CN105070306B (en) 2015-08-25 2015-08-25 One kind adds multimedia method and device into multimedia play list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510528327.0A CN105070306B (en) 2015-08-25 2015-08-25 One kind adds multimedia method and device into multimedia play list

Publications (2)

Publication Number Publication Date
CN105070306A CN105070306A (en) 2015-11-18
CN105070306B true CN105070306B (en) 2017-11-17

Family

ID=54499659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510528327.0A Active CN105070306B (en) 2015-08-25 2015-08-25 One kind adds multimedia method and device into multimedia play list

Country Status (1)

Country Link
CN (1) CN105070306B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582287A (en) * 2008-05-14 2009-11-18 三星电子株式会社 Method and device for providing content playlist
CN104750868A (en) * 2015-04-17 2015-07-01 魅族科技(中国)有限公司 Method and device for establishing multi-media file playlist

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080115173A1 (en) * 2006-11-10 2008-05-15 Guideworks Llc Systems and methods for using playlists

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582287A (en) * 2008-05-14 2009-11-18 三星电子株式会社 Method and device for providing content playlist
CN104750868A (en) * 2015-04-17 2015-07-01 魅族科技(中国)有限公司 Method and device for establishing multi-media file playlist

Also Published As

Publication number Publication date
CN105070306A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
US11579751B2 (en) Intelligent media queue
US7930329B2 (en) System, method and medium browsing media content using meta data
US20080288536A1 (en) Method and System for Integrating Browsing Histories with Media Playlists
US20150227622A1 (en) Systems and methods to facilitate media search
US20090063975A1 (en) Advanced playlist creation
US9158792B2 (en) Apparatus and method for automatically composing album and managing cover image of album
US20100318939A1 (en) Method for providing list of contents and multimedia apparatus applying the same
EP1855216A2 (en) System, device, method, and program for segmenting radio broadcast audio data
US20070180389A1 (en) Graphical user interface for accessing data files
CN108196760B (en) Method, device and storage medium for collecting processing by adopting suspension list
CN106095595B (en) Information sharing method and terminal between a kind of application program
CN101689388A (en) Method of setting an equalizer in an apparatus to reproduce a media file and apparatus thereof
CN104636448B (en) A kind of music recommends method and device
CN108668172B (en) Video playing method and device
CN105740393A (en) Song playing method and apparatus
CN109657236A (en) Guidance information acquisition methods, device, electronic device and storage medium
US20240070191A1 (en) Music pushing method, apparatus, electronic device and storage medium
US11934632B2 (en) Music playing method and apparatus
CN106203154A (en) A kind of file memory method and electronic equipment
CN106371706A (en) Method and device for site selection of application shortcuts
US20120117197A1 (en) Content auto-discovery
CN110598077A (en) Cloud resource content screening method and device
CN106599059A (en) Method and device for adding songs
CN104572981B (en) A kind of Webpage method for caching and processing and mobile terminal device
US11960536B2 (en) Methods and systems for organizing music tracks

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
CP01 Change in the name or title of a patent holder

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 523860 usha Beach Road No. 18

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

CP01 Change in the name or title of a patent holder