CN103871433B - A kind of control method and electronic equipment - Google Patents
A kind of control method and electronic equipment Download PDFInfo
- Publication number
- CN103871433B CN103871433B CN201210530392.3A CN201210530392A CN103871433B CN 103871433 B CN103871433 B CN 103871433B CN 201210530392 A CN201210530392 A CN 201210530392A CN 103871433 B CN103871433 B CN 103871433B
- Authority
- CN
- China
- Prior art keywords
- file
- data
- partial data
- playing list
- identification item
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
This application discloses a kind of control method and electronic equipments, and the method includes obtaining playing list, the playing list includes at least one identification item, and each identification item is corresponding with a file;Receive trigger command;If the trigger command meets preset first play mode, the partial data of file corresponding with each identification item in the playing list is exported according to first play mode.It is played by the partial data that the embodiment of the present application realizes file (including voice document, video file or text file etc.), avoids and realize multiple operations relatively complicated when partial data plays in existing scheme, improve user experience.
Description
Technical field
This application involves audio signal processing technique field, in particular to a kind of control method and electronic equipment.
Background technique
With human social development, demand of the people to music song is increasing, and more and more new song old songs are full of
People's lives.
User is often desirable to hear when listening new song or old song certain a part of song, the climax parts such as having higher rating or
Most wide-spread part, need to manually adjust at this time audio player or in advance first pass through audio clips equipment to audio file into
The broadcasting of the part tune of song is realized in row editing, but operation is relatively complicated, influences user experience.
Summary of the invention
In view of this, the purpose of the application is to provide a kind of control method and electronic equipment, to solve in the prior art
It realizes and operates relatively complicated, the technical issues of influencing user experience when Audio file portion plays.
This application provides a kind of control methods, comprising:
Playing list is obtained, the playing list includes at least one identification item, each identification item and a file
It is corresponding;
Receive trigger command;
If the trigger command meets preset first play mode, the broadcasting is exported according to first play mode
The partial data of file corresponding with each identification item in inventory.
The above method, it is preferred that if the trigger command meets preset second play mode, the method also includes:
According to second play mode, file corresponding with each identification item in the playing list is exported
Total data.
The above method, it is preferred that it is described according to first play mode export in the playing list with each institute
After the partial data for stating the corresponding file of identification item, the method also includes:
It receives and continues play instruction;
Continue play instruction according to described, exports in the playing list in file corresponding with each identification item
The follow-up data of the partial data.
The above method, it is preferred that described according in first play mode output playing list and each described
The partial data of the corresponding file of identification item includes:
According to first play mode, file corresponding with each identification item in the playing list is extracted
Partial data;
Wherein, each partial data number of repetition in its respectively affiliated file meets pre-set limit condition;
Export the partial data.
Present invention also provides a kind of electronic equipment, comprising:
File obtaining unit, for obtaining playing list, the playing list includes at least one identification item, each described
Identification item is corresponding with a file;
First order receiving unit, for receiving trigger command;
First data outputting unit, if meeting preset first play mode for the trigger command, according to described
One play mode exports the partial data of file corresponding with each identification item in the playing list.
Above-mentioned electronic equipment, it is preferred that further include:
Second data outputting unit, if meeting preset second play mode for the trigger command, according to described
Two play mode export the total data of file corresponding with each identification item in the playing list.
Above-mentioned electronic equipment, it is preferred that further include:
Second order receiving unit, for receiving lasting play instruction;
Data continue output unit, for according to it is described continue play instruction, export in the playing list with each institute
State the follow-up data of partial data described in the corresponding file of identification item.
Above-mentioned electronic equipment, it is preferred that first data outputting unit includes:
Data extract subelement, are used to extract in the playing list and each described according to first play mode
The partial data of the corresponding file of identification item;
Wherein, each partial data number of repetition in its respectively affiliated file meets pre-set limit condition;
Data export subelement, for exporting the partial data.
By above scheme it is found that a kind of control method provided by the present application and electronic equipment, pass through acquisition playing list, institute
Stating playing list includes at least one identification item, and each identification item is corresponding with a file, receives trigger command later,
If the trigger command meets preset first play mode, according to first play mode export in the playing list with
The partial data of the corresponding file of each identification item, and then realize file (including voice document, video file or text
File etc.) partial data play.The application avoid realized in existing scheme it is relatively complicated multiple when partial data plays
Operation, improves user experience.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow chart of control method embodiment one provided by the present application;
Fig. 2 is a kind of exemplary diagram of control method embodiment one provided by the present application;
Fig. 3 is a kind of flow chart of control method embodiment two provided by the present application;
Fig. 4 is a kind of flow chart of control method embodiment three provided by the present application;
Fig. 5 is a kind of partial process view of control method example IV provided by the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment embodiment five provided by the present application;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment embodiment six provided by the present application;
Fig. 8 is the structural schematic diagram of a kind of electronic equipment embodiment seven provided by the present application;
Fig. 9 is the partial structure diagram of a kind of electronic equipment embodiment eight provided by the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
With reference to Fig. 1, it illustrates a kind of flow chart of control method embodiment one provided by the present application, the method can be with
It includes the next steps:
Step 101: obtain playing list, the playing list includes at least one identification item, each identification item with
One file is corresponding.
Wherein, the file includes voice document, video file or text file etc..The file can store in service
Device etc. stores in equipment.The identification item includes name information or other identifier information of its respective file etc..
Step 102: receiving trigger command.
Wherein, the trigger command can be preset by user, or by user in the embodiment of the present application operational process
Input.
Step 103: if the trigger command meets preset first play mode, being exported according to first play mode
The partial data of file corresponding with each identification item in the playing list.
Wherein, first play mode include export the partial data of the file, stipulated that the partial data with
The relationship of its affiliated file, start-up portion data etc. of file as described in the partial data is it.And it is played clearly due to described
The quantity of identification item in list is at least one, the part of file corresponding with each identification item in the step 103
The quantity of data is similarly at least one, exported in the step 103 as a result, in the playing list with each identification item
The partial data of corresponding file can implement in the following manner:
The partial data of file corresponding with each identification item in the playing list is exported simultaneously;Or
It is sequentially output the partial data of file corresponding with each identification item in the playing list.
It should be noted that it is above-mentioned while when exporting each partial data, it can be accomplished by the following way:
It is corresponding with the partial data respectively that multiple output equipments are set, each partial data is respectively right at it
It is exported on the output equipment answered.
For example, a certain playing list is obtained in a certain pad player using the embodiment of the present application, in the playing list
Including multiple name identifications, each name identification is corresponding with a voice document, and institute's voice file is stored in the pad
In the memory of player.After getting the playing list, trigger command is received, which clicks institute for user
State the command information that the programmable button on pad player generates.After receiving the trigger command, the triggering life is judged
It enables and whether meets preset first play mode, that is, it is long to judge whether the time of user's click programmable button meets preset time
(programmable button as described in long-pressing) or judge user whether selected section broadcast button, if it is then being played by described first
The rule of the partial data of played file in mode exports language corresponding with each identification item in the playing list
The partial data of sound file.
It should be noted that the partial data can be the start-up portion data of its affiliated file, intermediate arbitrary portion
Data or ending data etc..And the partial data is continuous data.Such as, in above-mentioned example, voice document is song text
Part exports the partial data in song files when judging that the trigger command meets the first play mode, such as defeated
Refrain in song files (climax) part song or prelude part song out.
Preferably, previous exporting during being sequentially output each partial data in above-mentioned steps 103
After a partial data, before the partial data described in output the latter, the method also includes:
Export mark data corresponding with the latter partial data.
Such as: after the part song for exporting the first song files, export the name of the partial data of the second song files
Claim information or lyrics information, then exports the partial data of second song files.
Preferably, when exporting the end data of part song of the first song files, sound reduces output.Such as Fig. 2 institute
Show.
By above scheme it is found that a kind of control method embodiment one provided by the present application, described by obtaining playing list
Playing list includes at least one identification item, and each identification item is corresponding with a file, receives trigger command later, if
The trigger command meets preset first play mode, exports according to first play mode in the playing list and every
The partial data of the corresponding file of a identification item, and then realize file (including voice document, video file or text text
Part etc.) partial data play.The application, which avoids, realizes multiple behaviour relatively complicated when partial data plays in existing scheme
Make, improves user experience.
Preferably, in the output playing list file corresponding with each identification item partial data packet
It includes:
According to first play mode, determine in the playing list in file corresponding with each identification item
Partial data;
Obtain target starting point corresponding with its partial data and target end point in the file;
Each file is exported by its respective target starting point, and respective in each file
Target end point terminates to export.
Such as: the partial data of song files " seeing through " is its prelude part, determines the prelude part in the song text
The target starting point 00:00 of part " seeing through ", target end point 00:15, by the song files " seeing through " by its target starting point
00:00 starts to be exported, and terminates to export in target end point 00:15.
With reference to Fig. 3, it illustrates a kind of flow charts of control method embodiment two provided by the present application, wherein if described
The trigger command received in step 102 meets preset second play mode, and the method can also include walking
It is rapid:
Step S104: it according to second play mode, exports opposite with each identification item in the playing list
The total data for the file answered.
Wherein, second play mode includes exporting the total data of the file.The even described trigger command meets
Second play mode then illustrates to need to export at this time file corresponding with each identification item in the playing list
Total data, as export file corresponding with each identification item in the playing list.
Preferably, file corresponding with each identification item in the playing list is exported in the step 104
Total data includes:
The total data of file corresponding with each identification item in the playing list is exported simultaneously;Or
It is sequentially output the total data of file corresponding with each identification item in the playing list.
It should be noted that it is above-mentioned while when exporting each total data, it can be accomplished by the following way:
It is corresponding with each total data respectively that multiple output equipments are set, each total data is each at it
It is exported on self-corresponding output equipment.
Such as: using the embodiment of the present application in a certain pad player, a certain playing list is obtained, in the playing list
Including multiple name identifications, each name identification is corresponding with a video file, and the video file is stored in the pad
In the memory of player.After getting the playing list, trigger command is received, which clicks institute for user
The command information that the programmable button on pad player generates is stated, after receiving the trigger command, judges the triggering life
Enable whether meet preset first play mode, i.e., judge user click programmable button time whether meet preset time length or
Judge user whether selected section broadcast button, if so, whole numbers according to the played file in first play mode
According to rule, export the total data of video file corresponding with each identification item in the playing list;Alternatively, sentencing
Whether the trigger command that breaks meets preset second play mode, that is, judges whether the time of user's click programmable button is discontented with
Sufficient preset time long (programmable button as described in normal press) judges whether user selects whole broadcast buttons, if so, that
By the rule of the total data of the played file in second play mode, export in the playing list and each described
The total data of the corresponding video file of identification item.
Above-mentioned example is also understood that are as follows: after getting playing list, receives triggering that is preset or inputting in real time
Order, judges the property of the trigger command, i.e., judge that current play mode is exported the partial data of file or by file
Total data output, thus realize the output of some or all of file according to the trigger command.
Preferably, previous exporting during being sequentially output each total data in above-mentioned steps S104
After a total data, before the total data described in output the latter, the method also includes:
Export mark data corresponding with the latter total data.
Such as: after exporting the first video, the information such as the name information of the second video are exported, then export second view
Frequently.
Preferably, when exporting the end data of the first video, sound reduces output and output is desalinated or darkened to picture.
With reference to Fig. 4, it illustrates a kind of flow charts of control method embodiment three provided by the present application, wherein described
After step 103, the method can with the following steps are included:
Step S105: it receives and continues play instruction.
Wherein, the play instruction that continues can be inputted by user, or by user by presetting.
Step S106: continue play instruction according to described, export opposite with each identification item in the playing list
The follow-up data of partial data described in the file answered.
It should be noted that in the embodiment of the present application, presetting the trigger command and meeting first play mode.By
This, the effect that the embodiment of the present application is realized are as follows: the partial data of at least one file simultaneously or sequentially exports.And it is being sequentially output
When exporting the partial data of each file, wherein during the partial data output, reception is described persistently to be broadcast
Instruction is put, after by partial data output, by the subsequent number of partial data described in the affiliated file of the partial data
According to being exported.
Such as: a certain playing list is obtained, includes a name identification (such as " KC "), the name identification in the playing list
It is corresponding with a voice document (such as song " seeing through "), and the voice document can store in preset memory.It is obtaining
After getting the playing list, trigger command is received, which shows that user needs to play the portion of institute's voice file
Divided data or total data, if the trigger command meets first play mode, output and the name identification phase
The partial data (such as chorus section or prelude part) of corresponding voice document.And during exporting the partial data,
Lasting play command is received, as a result, when the partial data will be exported and be finished, does not stop playing the voice data, after
The further part data of partial data described in the voice data are put in continued broadcasting, as: the prelude part of output song " seeing through "
In the process, lasting play command (the song charges paid or authorization listen to whole songs) is received, it will be by the subsequent of prelude part
Part plays out after the prelude part plays.
With reference to Fig. 5, it illustrates a kind of partial process views of control method example IV provided by the present application, wherein institute
Stating step 103 can be implemented by following steps:
Step 501: according to first play mode, extracting corresponding with each identification item in the playing list
File partial data;
Wherein, each partial data number of repetition in its respectively affiliated file meets pre-set limit condition.
Preferably, the part of playing list file corresponding with each mark is extracted in the step 501
Data can implement in the following manner:
Self respective matching is carried out to file corresponding with each identification item, determines at least one repeat number
According to;
Wherein, the number that each repeated data occurs in its affiliated file be more than or equal to 2, it is each described
It include at least one repeated data in file;
Partial data of the repeated data as this document in determining file corresponding with each identification item.
It is illustrated by taking song files as an example:
Playing list is obtained, includes two identification items, each identification item and a song text in the playing list
Part is corresponding;
According to carried out in lyrics text or frequency spectrum data pair and each song files it is respective self match, determination is extremely
Few chorus section data;
The chorus section data in each song files are determined respectively;
Wherein, the number occurred in song files of the chorus section data belonging to it is greater than or equal to 2.
Step 502: exporting the partial data.
Preferably, the partial data of a song files corresponding with the identification item is exported also in above-mentioned steps 103
It can be implemented by following steps:
Obtain the lyrics text data (or frequency spectrum data) of the song files;
Determine the target data segment of preset number in the lyrics text data (or frequency spectrum data), the target data segment
Length value it is equal, and content is identical;
Choose a target data segment in the target data segment;
Mark starting point corresponding with selected target data segment and end point in the song files;
The song files are exported by the starting point, and stop exporting in the end point.
It should be noted that it is above-mentioned the song files are exported by the starting point after, in the end
Before point stops output, if receiving lasting play command, continues play instruction according to described, exporting the song files
After to the end point, the data after the end point of the song files are continued to output.
Preferably, a target data segment in the above-mentioned selection target data segment specifically includes:
Choose the first aim number section in the number of targets section on the song files time shaft.
Wherein, starting point corresponding with the target data segment of selection and end point packet in the above-mentioned label song files
It includes:
On the play time axis of the song files, the period corresponding with the target data segment chosen is determined;
Mark the starting point and end point of the period.
By above scheme it is found that a kind of control method example IV provided by the present application, described by obtaining playing list
Playing list includes at least one identification item, and each identification item is corresponding with a file, receives trigger command later, if
The trigger command meets preset first play mode, exports according to first play mode in the playing list and every
The partial data of the corresponding file of a identification item, wherein each partial data its respectively belonging to weight in file
Again number meets pre-set limit condition, and then realizes the repetition of file (including voice document, video file or text file etc.)
Data (the prelude part of such as song files or refrain (climax) partial data) output.The application is avoided in existing scheme and is realized
Partial data multiple operations relatively complicated when playing, improve user experience.
With reference to Fig. 6, it illustrates the structural schematic diagram of a kind of electronic equipment embodiment five provided by the present application, the electronics
Equipment includes:
File obtaining unit 601, for obtaining playing list, the playing list includes at least one identification item, each
The identification item is corresponding with a file.
Wherein, the file includes voice document, video file or text file etc..The file can store in service
Device etc. stores in equipment.The identification item includes name information or other identifier information of its respective file etc..
First order receiving unit 602, for receiving trigger command.
Wherein, the trigger command can be preset by user, or by user in the embodiment of the present application operational process
Input.
First data outputting unit 603, if meeting preset first play mode for the trigger command, according to described in
First play mode exports the partial data of file corresponding with each identification item in the playing list.
Wherein, first play mode include export the partial data of the file, stipulated that the partial data with
The relationship of its affiliated file, start-up portion data etc. of file as described in the partial data is it.And it is played clearly due to described
The quantity of identification item in list is at least one, corresponding with each identification item in first data outputting unit 603
The quantity of partial data of file be similarly at least one, broadcast described in output in first data outputting unit 603 as a result,
The partial data for putting file corresponding with each identification item in inventory can implement in the following manner:
The partial data of file corresponding with each identification item in the playing list is exported simultaneously;Or
It is sequentially output the partial data of file corresponding with each identification item in the playing list.
It should be noted that it is above-mentioned while when exporting each partial data, it can be accomplished by the following way:
It is corresponding with the partial data respectively that multiple output equipments are set, each partial data is respectively right at it
It is exported on the output equipment answered.
For example, a certain playing list is obtained in a certain pad player using the embodiment of the present application, in the playing list
Including multiple name identifications, each name identification is corresponding with a voice document, and institute's voice file is stored in the pad
In the memory of player.After getting the playing list, trigger command is received, which clicks institute for user
State the command information that the programmable button on pad player generates.After receiving the trigger command, the triggering life is judged
It enables and whether meets preset first play mode, that is, it is long to judge whether the time of user's click programmable button meets preset time
(programmable button as described in long-pressing) or judge user whether selected section broadcast button, if it is then being played by described first
The rule of the partial data of played file in mode exports language corresponding with each identification item in the playing list
The partial data of sound file.
It should be noted that the partial data can be the start-up portion data of its affiliated file, intermediate arbitrary portion
Data or ending data etc..And the partial data is continuous data.Such as, in above-mentioned example, voice document is song text
Part exports the partial data in song files when judging that the trigger command meets the first play mode, such as defeated
Refrain in song files (climax) part song or prelude part song out.
Preferably, above-mentioned during being sequentially output each partial data, exporting the previous part number
According to later, before the partial data described in output the latter, first data outputting unit 603 is also used to:
Export mark data corresponding with the latter partial data.
Such as: after the part song for exporting the first song files, export the name of the partial data of the second song files
Claim information or lyrics information, then exports the partial data of second song files.
Preferably, when exporting the end data of part song of the first song files, sound reduces output.Such as Fig. 2 institute
Show.
By above scheme it is found that a kind of electronic equipment embodiment one provided by the present application, described by obtaining playing list
Playing list includes at least one identification item, and each identification item is corresponding with a file, receives trigger command later, if
The trigger command meets preset first play mode, exports according to first play mode in the playing list and every
The partial data of the corresponding file of a identification item, and then realize file (including voice document, video file or text text
Part etc.) partial data output.The application, which avoids, realizes multiple behaviour relatively complicated when partial data plays in existing scheme
Make, improves user experience.
Preferably, first data outputting unit 603 in exporting the playing list with each identification item phase
The partial data of corresponding file includes:
According to first play mode, determine in the playing list in file corresponding with each identification item
Partial data;
Obtain target starting point corresponding with its partial data and target end point in the file;
Each file is exported by its respective target starting point, and respective in each file
Target end point terminates to export.
Such as: the partial data of song files " seeing through " is its prelude part, determines the prelude part in the song text
The target starting point 00:00 of part " seeing through ", target end point 00:15, by the song files " seeing through " by its target starting point
00:00 starts to be exported, and terminates to export in target end point 00:15.
With reference to Fig. 7, it illustrates the structural schematic diagrams of a kind of electronic equipment embodiment six provided by the present application, wherein institute
Stating electronic equipment can also include:
Second data outputting unit 604, if meeting preset second play mode for the trigger command, according to described in
Second play mode exports the total data of file corresponding with each identification item in the playing list.
Wherein, second play mode includes exporting the total data of the file.The even described trigger command meets
Second play mode then illustrates to need to export at this time file corresponding with each identification item in the playing list
Total data, as export file corresponding with each identification item in the playing list.
Preferably, second data outputting unit 604 in exporting the playing list with each identification item phase
When the total data of corresponding file, can specifically it be accomplished by the following way:
The total data of file corresponding with each identification item in the playing list is exported simultaneously;Or
It is sequentially output the total data of file corresponding with each identification item in the playing list.
It should be noted that it is above-mentioned while when exporting each total data, it can be accomplished by the following way:
It is corresponding with each total data respectively that multiple output equipments are set, each total data is each at it
It is exported on self-corresponding output equipment.
Such as: using the embodiment of the present application in a certain pad player, a certain playing list is obtained, in the playing list
Including multiple name identifications, each name identification is corresponding with a video file, and the video file is stored in the pad
In the memory of player.After getting the playing list, trigger command is received, which clicks institute for user
The command information that the programmable button on pad player generates is stated, after receiving the trigger command, judges the triggering life
Enable whether meet preset first play mode, i.e., judge user click programmable button time whether meet preset time length or
Judge user whether selected section broadcast button, if so, whole numbers according to the played file in first play mode
According to rule, export the total data of video file corresponding with each identification item in the playing list;Alternatively, sentencing
Whether the trigger command that breaks meets preset second play mode, that is, judges whether the time of user's click programmable button is discontented with
Sufficient preset time long (programmable button as described in normal press) judges whether user selects whole broadcast buttons, if so, that
By the rule of the total data of the played file in second play mode, export in the playing list and each described
The total data of the corresponding video file of identification item.
Above-mentioned example is also understood that are as follows: the embodiment of the present application receives preset or real after getting playing list
When the trigger command that inputs, judge the property of the trigger command, that is, judge that current play mode is that the partial data of file is defeated
It exports out or by the total data of file, thus realizes the output of some or all of file according to the trigger command.
Preferably, second data outputting unit 604 is during being sequentially output each total data, defeated
Out after the previous total data, before the total data described in output the latter, second data outputting unit 604
It is also used to:
Export mark data corresponding with the latter total data.
Such as: after exporting the first video, the information such as the name information of the second video are exported, then export second view
Frequently.
Preferably, when exporting the end data of the first video, sound reduces output and output is desalinated or darkened to picture.
With reference to Fig. 8, it illustrates the structural schematic diagrams of a kind of electronic equipment embodiment seven provided by the present application, wherein institute
Stating electronic equipment can also include:
Second order receiving unit 605, for receiving lasting play instruction.
Wherein, the play instruction that continues can be inputted by user, or by user by presetting.
Data continue output unit 606, for continuing play instruction according to described, export in the playing list and each
The follow-up data of partial data described in the corresponding file of the identification item.
It should be noted that in the embodiment of the present application, presetting the trigger command and meeting first play mode.By
This, the effect that the embodiment of the present application is realized are as follows: the partial data of at least one file simultaneously or sequentially exports.And it is being sequentially output
When exporting the partial data of each file, wherein during the partial data output, reception is described persistently to be broadcast
Instruction is put, after by partial data output, by the subsequent number of partial data described in the affiliated file of the partial data
According to being exported.
Such as: the electronic equipment obtains a certain playing list, include in the playing list name identification (such as
" KC "), the name identification is corresponding with a voice document (such as song " seeing through "), and the voice document can store default
Memory in.After getting the playing list, trigger command is received, which shows that user needs to play institute
The partial data or total data of voice file, if the trigger command meets first play mode, output with
The partial data (such as chorus section or prelude part) of the corresponding voice document of the name identification.And exporting the part
During data, lasting play command is received, as a result, when the partial data will be exported and be finished, does not stop playing
The voice data continues the further part data for playing partial data described in the voice data, such as: output song " seeing through "
Prelude part during, receive lasting play command (the song charges paid or authorization listen to whole songs), will before
The further part for playing part plays out after the prelude part plays.
With reference to Fig. 9, it illustrates the partial structure diagram of a kind of electronic equipment embodiment eight provided by the present application,
In, first data outputting unit 603 includes:
Data extract subelement 631, for according to first play mode, extract in the playing list with each institute
State the partial data of the corresponding file of identification item;
Wherein, each partial data number of repetition in its respectively affiliated file meets pre-set limit condition.
Preferably, it is corresponding with each mark in the extraction playing list to extract subelement 631 for the data
The partial data of file can implement in the following manner:
Self respective matching is carried out to file corresponding with each identification item, determines at least one repeat number
According to;
Wherein, the number that each repeated data occurs in its affiliated file be more than or equal to 2, it is each described
It include at least one repeated data in file;
Partial data of the repeated data as this document in determining file corresponding with each identification item.
It is illustrated by taking song files as an example:
Playing list is obtained, includes two identification items, each identification item and a song text in the playing list
Part is corresponding;
According to carried out in lyrics text or frequency spectrum data pair and each song files it is respective self match, determination is extremely
Few chorus section data;
The chorus section data in each song files are determined respectively;
Wherein, the number occurred in song files of the chorus section data belonging to it is greater than or equal to 2.
Data export subelement 632, for exporting the partial data.
Preferably, first data outputting unit 603 is exporting a song files corresponding with the identification item
Partial data can also be implemented by following steps:
Obtain the lyrics text data (or frequency spectrum data) of the song files;
Determine the target data segment of preset number in the lyrics text data (or frequency spectrum data), the target data segment
Length value it is equal, and content is identical;
Choose a target data segment in the target data segment;
Mark starting point corresponding with selected target data segment and end point in the song files;
The song files are exported by the starting point, and stop exporting in the end point.
It should be noted that it is above-mentioned the song files are exported by the starting point after, in the end
Before point stops output, if the embodiment of the present application receives lasting play command, continues play instruction according to described, exporting
After the song files to the end point, the data after the end point of the song files are continued to output.
Preferably, first data outputting unit 603 is choosing a target data segment in the target data segment
It specifically includes:
Choose the first aim number section in the number of targets section on the song files time shaft.
Wherein, starting point corresponding with the target data segment of selection and end point packet in the above-mentioned label song files
It includes:
On the play time axis of the song files, the period corresponding with the target data segment chosen is determined;
Mark the starting point and end point of the period.
By above scheme it is found that a kind of electronic equipment embodiment eight provided by the present application, described by obtaining playing list
Playing list includes at least one identification item, and each identification item is corresponding with a file, receives trigger command later, if
The trigger command meets preset first play mode, exports according to first play mode in the playing list and every
The partial data of the corresponding file of a identification item, wherein each partial data its respectively belonging to weight in file
Again number meets pre-set limit condition, and then realizes the repetition of file (including voice document, video file or text file etc.)
Data (the prelude part of such as song files or refrain (climax) partial data) output.The application is avoided in existing scheme and is realized
Partial data multiple operations relatively complicated when playing, improve user experience.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of control method provided by the present invention and electronic equipment are described in detail above, to disclosed reality
The above description for applying example, enables those skilled in the art to implement or use the present invention.The a variety of of these embodiments are repaired
Changing will be readily apparent to those skilled in the art, and the general principles defined herein can not depart from
In the case where the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to this paper institute
These embodiments shown, and it is to fit to the widest scope consistent with the principles and novel features disclosed herein.
Claims (4)
1. a kind of control method characterized by comprising
Playing list is obtained, the playing list includes at least one identification item, and each identification item is opposite with a file
It answers;
Receive trigger command;
If the trigger command meets preset first play mode, first play mode includes exporting the portion of the file
Divided data, stipulated that the relationship of the partial data and its affiliated file;The broadcasting is exported according to first play mode
The partial data of file corresponding with each identification item in inventory;The partial data includes climax parts or most widely
The part spread;
It receives and continues play instruction;
Continue play instruction according to described, exports in the playing list described in file corresponding with each identification item
The follow-up data of partial data;
Wherein, described to export text corresponding with each identification item in the playing list according to first play mode
The partial data of part includes:
According to first play mode, the part of file corresponding with each identification item in the playing list is extracted
Data;Wherein, each partial data number of repetition in its respectively affiliated file meets pre-set limit condition;
Export the partial data.
2. the method according to claim 1, wherein if the trigger command, which meets preset second, plays mould
Formula, the method also includes:
According to second play mode, the whole of file corresponding with each identification item in the playing list is exported
Data.
3. a kind of electronic equipment characterized by comprising
File obtaining unit, for obtaining playing list, the playing list includes at least one identification item, each mark
Xiang Yuyi file is corresponding;
First order receiving unit, for receiving trigger command;
First data outputting unit, if meeting preset first play mode for the trigger command, described first plays mould
Formula includes exporting the partial data of the file, stipulated that the relationship of the partial data and its affiliated file;According to described
One play mode exports the partial data of file corresponding with each identification item in the playing list;The part number
According to including climax parts or most wide-spread part;
Second order receiving unit, for receiving lasting play instruction;
Data continue output unit, for according to it is described continue play instruction, export in the playing list with each mark
Know the follow-up data of partial data described in the corresponding file of item;
Wherein, first data outputting unit includes:
Data extract subelement, for according to first play mode, extract in the playing list with each mark
The partial data of the corresponding file of item;Wherein, each partial data number of repetition in its respectively affiliated file meets
Pre-set limit condition;
Data export subelement, for exporting the partial data.
4. electronic equipment according to claim 3, which is characterized in that further include:
Second data outputting unit is broadcast if meeting preset second play mode for the trigger command according to described second
Mode playback exports the total data of file corresponding with each identification item in the playing list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530392.3A CN103871433B (en) | 2012-12-10 | 2012-12-10 | A kind of control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210530392.3A CN103871433B (en) | 2012-12-10 | 2012-12-10 | A kind of control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103871433A CN103871433A (en) | 2014-06-18 |
CN103871433B true CN103871433B (en) | 2019-11-26 |
Family
ID=50909891
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210530392.3A Active CN103871433B (en) | 2012-12-10 | 2012-12-10 | A kind of control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103871433B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301824B (en) * | 2014-09-29 | 2018-03-23 | 广州酷狗计算机科技有限公司 | Line traffic control equipment, controller, method and device |
CN107862065A (en) * | 2017-11-16 | 2018-03-30 | 联想(北京)有限公司 | Multimedia file broadcasting control method and multimedia equipment |
CN108090140A (en) * | 2017-12-04 | 2018-05-29 | 维沃移动通信有限公司 | A kind of playback of songs method and mobile terminal |
CN109005464A (en) * | 2018-08-28 | 2018-12-14 | 深圳市有钱科技有限公司 | Video broadcasting method, storage medium and computer equipment |
CN112804579B (en) * | 2019-11-14 | 2023-02-28 | 上海哔哩哔哩科技有限公司 | Video playing method and device, computer equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1726558A (en) * | 2002-12-17 | 2006-01-25 | 汤姆森许可公司 | Method for tagging and displaying songs in a digital audio player |
CN101377946A (en) * | 2008-09-23 | 2009-03-04 | 深圳华为通信技术有限公司 | Medium play method and terminal |
CN101399037A (en) * | 2007-09-28 | 2009-04-01 | 索尼株式会社 | Method and device for providing an overview of pieces of music |
CN101465146A (en) * | 2007-12-19 | 2009-06-24 | 联想(北京)有限公司 | Method and equipment for playing media file |
CN101650957A (en) * | 2009-07-13 | 2010-02-17 | 周湘峻 | Multimedia player and playing control method thereof |
CN101783160A (en) * | 2009-01-16 | 2010-07-21 | 鸿富锦精密工业(深圳)有限公司 | Audio-frequency playing device and playing method thereof |
CN101828184A (en) * | 2007-10-16 | 2010-09-08 | 诺基亚公司 | Apparatus, system, method and computer program product for previewing media files |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1746969A (en) * | 2004-09-09 | 2006-03-15 | 英保达股份有限公司 | Method for selecting song and audio-frequency player |
CN102541965B (en) * | 2010-12-30 | 2015-05-20 | 国际商业机器公司 | Method and system for automatically acquiring feature fragments from music file |
-
2012
- 2012-12-10 CN CN201210530392.3A patent/CN103871433B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1726558A (en) * | 2002-12-17 | 2006-01-25 | 汤姆森许可公司 | Method for tagging and displaying songs in a digital audio player |
CN101399037A (en) * | 2007-09-28 | 2009-04-01 | 索尼株式会社 | Method and device for providing an overview of pieces of music |
CN101828184A (en) * | 2007-10-16 | 2010-09-08 | 诺基亚公司 | Apparatus, system, method and computer program product for previewing media files |
CN101465146A (en) * | 2007-12-19 | 2009-06-24 | 联想(北京)有限公司 | Method and equipment for playing media file |
CN101377946A (en) * | 2008-09-23 | 2009-03-04 | 深圳华为通信技术有限公司 | Medium play method and terminal |
CN101783160A (en) * | 2009-01-16 | 2010-07-21 | 鸿富锦精密工业(深圳)有限公司 | Audio-frequency playing device and playing method thereof |
CN101650957A (en) * | 2009-07-13 | 2010-02-17 | 周湘峻 | Multimedia player and playing control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103871433A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103871433B (en) | A kind of control method and electronic equipment | |
CN104333783B (en) | The order method and system, relevant device of a kind of formulation task | |
US10981056B2 (en) | Methods and systems for determining a reaction time for a response and synchronizing user interface(s) with content being rendered | |
CN110087119A (en) | Homepage display methods, device and computer readable storage medium is broadcast live | |
CN109474562B (en) | Display method and device of identifier, and response method and device of request | |
CN104918061B (en) | A kind of recognition methods of television channel and system | |
CN105872786A (en) | Method and device for putting advertisement through bullet screens in program | |
JP2005210686A5 (en) | ||
CN106448713B (en) | Audio playing method and device | |
CN110097868A (en) | Play the methods, devices and systems of music | |
CN104462339B (en) | The method for pushing and device of multimedia file | |
KR20110075259A (en) | Online music service apparatus for generating music playlist considering user's preferences and ratings and method thereof | |
CN101196902B (en) | Method for built-in browser synchronously controlling video, audio and web page | |
CN106468987A (en) | A kind of information processing method and client | |
CN104750868B (en) | A kind of multimedia file play list method for building up and device | |
CN103763575B (en) | A kind of programme method of combination and device | |
CN104199864B (en) | The method and apparatus that keypad tone prompts in a kind of input process | |
JP5195137B2 (en) | Exercise music creation device, exercise music creation method, and exercise music creation program | |
CN107481739A (en) | Audio cutting method and device | |
CN105654971B (en) | Singing assisting method and equipment in song recording process | |
JP2014531952A (en) | Automatic media file-based quiz questioning system and method | |
CN109829075A (en) | Method and device for intelligently playing music | |
CN104183253B (en) | music playing system, device and method | |
CN104866477B (en) | Information processing method and electronic equipment | |
CN108710632A (en) | A kind of speech playing method and 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 |